Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d0ab58f28452a8136c6dc245895717e20b3b293 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-ssh299003770475071529.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-ssh2006432178298287616.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-ssh7546578664199869502.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-ssh15542038504732619382.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-ssh10021643566153668805.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6810 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6d0ab58f28452a8136c6dc245895717e20b3b293 (main) Commit message: "Merge pull request #403 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > git config core.sparsecheckout # timeout=10 > git checkout -f 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 > git rev-list --no-walk e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:13 ========================================================= 02:31:13 EdgeX Global Pipelines Version Info 02:31:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:14 ------------------- 02:31:14 stable info: 02:31:14 ------------------- 02:31:14 Commited By: Ginny Guan ginny@iotechsys.com 02:31:14 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 02:31:14 Message: update stable to v1.0.260 02:31:14 ------------------- 02:31:14 experimental info: 02:31:14 ------------------- 02:31:14 Commited By: Ginny Guan ginny@iotechsys.com 02:31:14 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 02:31:14 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d0ab58 [Pipeline] echo 02:31:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:15 provisioning config files... 02:31:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3782753505746653829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:16 ---> ****-login.sh 02:31:16 nexus3.edgexfoundry.org:10001 02:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:16 Configure a credential helper to remove this warning. See 02:31:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:16 02:31:16 Login Succeeded 02:31:16 nexus3.edgexfoundry.org:10002 02:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:16 Configure a credential helper to remove this warning. See 02:31:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:16 02:31:16 Login Succeeded 02:31:16 nexus3.edgexfoundry.org:10003 02:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:16 Configure a credential helper to remove this warning. See 02:31:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:16 02:31:16 Login Succeeded 02:31:16 nexus3.edgexfoundry.org:10004 02:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:16 Configure a credential helper to remove this warning. See 02:31:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:16 02:31:16 Login Succeeded 02:31:16 ****.io 02:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:16 Configure a credential helper to remove this warning. See 02:31:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:16 02:31:16 Login Succeeded 02:31:16 ---> ****-login.sh ends [Pipeline] } 02:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:31:17 + git rev-list -1 --merges 6d0ab58f28452a8136c6dc245895717e20b3b293~1..6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo 02:31:17 -----------> git rev-list -1 --merges 6d0ab58f28452a8136c6dc245895717e20b3b293~1..6d0ab58f28452a8136c6dc245895717e20b3b293 6d0ab58f28452a8136c6dc245895717e20b3b293 02:31:17 6d0ab58f28452a8136c6dc245895717e20b3b293 [false] [Pipeline] sh 02:31:17 + git log --format=format:%s -1 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo 02:31:17 ========================================================= 02:31:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:31:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:17 + git log --format=format:%s -1 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo 02:31:17 [semverPrep] GIT_COMMIT: 6d0ab58f28452a8136c6dc245895717e20b3b293, Commit Message: Merge pull request #403 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo 02:31:17 [semverPrep] This is not a build commit. [Pipeline] sh 02:31:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:31:18 + grep -v github /etc/ssh/ssh_known_hosts 02:31:18 + [ -e /tmp/ssh_known_hosts ] 02:31:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:31:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:31:18 + sudo tee -a /etc/ssh/ssh_known_hosts 02:31:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:18 02:31:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:18 0.1.4: Pulling from edgex-devops/py-git-semver 02:31:18 b85a868b505f: Pulling fs layer 02:31:18 e2be974225ed: Pulling fs layer 02:31:18 339a4e72a1f5: Pulling fs layer 02:31:18 988bab9f4d93: Pulling fs layer 02:31:18 1469e6f7b9e6: Pulling fs layer 02:31:18 eaf3925da568: Pulling fs layer 02:31:18 bab4dde63d76: Pulling fs layer 02:31:18 bde34c3a00c8: Pulling fs layer 02:31:18 b352a97aabf1: Pulling fs layer 02:31:18 4872d77fe225: Pulling fs layer 02:31:18 988bab9f4d93: Waiting 02:31:18 bab4dde63d76: Waiting 02:31:18 1469e6f7b9e6: Waiting 02:31:18 bde34c3a00c8: Waiting 02:31:18 eaf3925da568: Waiting 02:31:18 b352a97aabf1: Waiting 02:31:18 4872d77fe225: Waiting 02:31:18 5851b861e8e6: Pulling fs layer 02:31:18 5851b861e8e6: Waiting 02:31:18 e2be974225ed: Download complete 02:31:18 988bab9f4d93: Verifying Checksum 02:31:18 988bab9f4d93: Download complete 02:31:18 1469e6f7b9e6: Verifying Checksum 02:31:18 1469e6f7b9e6: Download complete 02:31:19 eaf3925da568: Verifying Checksum 02:31:19 eaf3925da568: Download complete 02:31:19 339a4e72a1f5: Verifying Checksum 02:31:19 339a4e72a1f5: Download complete 02:31:19 bde34c3a00c8: Download complete 02:31:19 b352a97aabf1: Verifying Checksum 02:31:19 b352a97aabf1: Download complete 02:31:19 4872d77fe225: Verifying Checksum 02:31:19 4872d77fe225: Download complete 02:31:19 5851b861e8e6: Download complete 02:31:19 b85a868b505f: Verifying Checksum 02:31:19 b85a868b505f: Download complete 02:31:19 bab4dde63d76: Verifying Checksum 02:31:19 bab4dde63d76: Download complete 02:31:20 b85a868b505f: Pull complete 02:31:20 e2be974225ed: Pull complete 02:31:21 339a4e72a1f5: Pull complete 02:31:21 988bab9f4d93: Pull complete 02:31:21 1469e6f7b9e6: Pull complete 02:31:21 eaf3925da568: Pull complete 02:31:23 bab4dde63d76: Pull complete 02:31:23 bde34c3a00c8: Pull complete 02:31:23 b352a97aabf1: Pull complete 02:31:24 4872d77fe225: Pull complete 02:31:24 5851b861e8e6: Pull complete 02:31:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:24 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:31:24 $ 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 02:31:27 $ docker top fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 -eo pid,comm 02:31:27 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). 02:31:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:31:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:27 [ssh-agent] Looking for ssh-agent implementation... 02:31:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:27 $ docker exec fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent 02:31:28 SSH_AUTH_SOCK=/tmp/ssh-cqGwmCtzbcKX/agent.32 02:31:28 SSH_AGENT_PID=38 02:31:28 Running ssh-add (command line suppressed) 02:31:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17160885377761107638.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17160885377761107638.key) 02:31:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:28 + git tag --points-at HEAD [Pipeline] } 02:31:28 $ docker exec --env ******** --env ******** fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent -k 02:31:28 unset SSH_AUTH_SOCK; 02:31:28 unset SSH_AGENT_PID; 02:31:28 echo Agent pid 38 killed; 02:31:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:31:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:28 [ssh-agent] Looking for ssh-agent implementation... 02:31:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:28 $ docker exec fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent 02:31:28 SSH_AUTH_SOCK=/tmp/ssh-MbgcV28D44kI/agent.71 02:31:28 SSH_AGENT_PID=77 02:31:28 Running ssh-add (command line suppressed) 02:31:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8214670639696819550.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8214670639696819550.key) 02:31:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:29 + git semver init 02:31:29 2024-07-31 02:31:29,503 [run_init] DEBUG init version:0.0.0 force:False 02:31:29 2024-07-31 02:31:29,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:31:29 2024-07-31 02:31:29,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:31:29 2024-07-31 02:31:29,504 [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) 02:31:30 2024-07-31 02:31:30,814 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:31:30 2024-07-31 02:31:30,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:31:30 2024-07-31 02:31:30,814 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:31:30 2024-07-31 02:31:30,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:31:30 3.2.0-dev.19 [Pipeline] } 02:31:30 $ docker exec --env ******** --env ******** fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent -k 02:31:31 unset SSH_AUTH_SOCK; 02:31:31 unset SSH_AGENT_PID; 02:31:31 echo Agent pid 77 killed; 02:31:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:31 + git semver [Pipeline] } 02:31:31 $ docker stop --time=1 fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 02:31:33 $ docker rm -f --volumes fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:31:33 Stashed 1 file(s) [Pipeline] echo 02:31:33 [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [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 02:31:33 provisioning config files... 02:31:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9665758804648281525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:34 ---> ****-login.sh 02:31:34 nexus3.edgexfoundry.org:10001 02:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:34 Configure a credential helper to remove this warning. See 02:31:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:34 02:31:34 Login Succeeded 02:31:34 nexus3.edgexfoundry.org:10002 02:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:34 Configure a credential helper to remove this warning. See 02:31:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:34 02:31:34 Login Succeeded 02:31:34 nexus3.edgexfoundry.org:10003 02:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:34 Configure a credential helper to remove this warning. See 02:31:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:34 02:31:34 Login Succeeded 02:31:34 nexus3.edgexfoundry.org:10004 02:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:34 Configure a credential helper to remove this warning. See 02:31:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:34 02:31:34 Login Succeeded 02:31:34 ****.io 02:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:34 Configure a credential helper to remove this warning. See 02:31:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:34 02:31:34 Login Succeeded 02:31:34 ---> ****-login.sh ends [Pipeline] } 02:31:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:34 ========================================================= 02:31:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:31:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:35 + 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 . 02:31:35 Sending build context to Docker daemon 16.55MB 02:31:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:31:35 Step 2/12 : FROM ${BASE} AS builder 02:31:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:31:35 619be1103602: Pulling fs layer 02:31:35 7862e08f4a3e: Pulling fs layer 02:31:35 5df492c9dc93: Pulling fs layer 02:31:35 7629e6793208: Pulling fs layer 02:31:35 4f4fb700ef54: Pulling fs layer 02:31:35 fb5054dd5b73: Pulling fs layer 02:31:35 eeca6798cff9: Pulling fs layer 02:31:35 aa269ceb94a6: Pulling fs layer 02:31:35 ada007ff1a6a: Pulling fs layer 02:31:35 4f4fb700ef54: Waiting 02:31:35 aa269ceb94a6: Waiting 02:31:35 ada007ff1a6a: Waiting 02:31:35 fb5054dd5b73: Waiting 02:31:35 eeca6798cff9: Waiting 02:31:35 7629e6793208: Waiting 02:31:35 7862e08f4a3e: Download complete 02:31:35 7629e6793208: Verifying Checksum 02:31:35 7629e6793208: Download complete 02:31:35 4f4fb700ef54: Verifying Checksum 02:31:35 4f4fb700ef54: Download complete 02:31:35 fb5054dd5b73: Download complete 02:31:35 619be1103602: Verifying Checksum 02:31:35 619be1103602: Download complete 02:31:35 eeca6798cff9: Verifying Checksum 02:31:35 eeca6798cff9: Download complete 02:31:35 619be1103602: Pull complete 02:31:35 ada007ff1a6a: Verifying Checksum 02:31:35 ada007ff1a6a: Download complete 02:31:35 7862e08f4a3e: Pull complete 02:31:35 5df492c9dc93: Verifying Checksum 02:31:35 5df492c9dc93: Download complete 02:31:36 aa269ceb94a6: Verifying Checksum 02:31:36 aa269ceb94a6: Download complete 02:31:39 5df492c9dc93: Pull complete 02:31:39 7629e6793208: Pull complete 02:31:39 4f4fb700ef54: Pull complete 02:31:39 fb5054dd5b73: Pull complete 02:31:39 eeca6798cff9: Pull complete 02:31:42 aa269ceb94a6: Pull complete 02:31:42 ada007ff1a6a: Pull complete 02:31:42 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:31:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:31:42 ---> f489d0715acc 02:31:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:31:47 ---> Running in 998766d6d58a 02:31:47 Removing intermediate container 998766d6d58a 02:31:47 ---> e362fc2aef5a 02:31:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:31:47 ---> Running in d9b2a051268f 02:31:47 Removing intermediate container d9b2a051268f 02:31:47 ---> 2ce67febfae0 02:31:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:31:47 ---> Running in 067ef0404a2d 02:31:47 Removing intermediate container 067ef0404a2d 02:31:47 ---> 50435c653a33 02:31:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:31:47 ---> Running in 369d51767c02 02:31:47 Removing intermediate container 369d51767c02 02:31:47 ---> 012fab9dd3fa 02:31:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:47 ---> Running in 607b31635200 02:31:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:48 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:31:48 (2/4) Installing libedit (20221030.3.1-r1) 02:31:48 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:31:48 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:31:48 Executing busybox-1.36.1-r5.trigger 02:31:48 OK: 268 MiB in 56 packages 02:31:48 Removing intermediate container 607b31635200 02:31:48 ---> 2b742158ceb7 02:31:48 Step 8/12 : WORKDIR /device-rest-go 02:31:48 ---> Running in 16d794917a6e 02:31:48 Still waiting to schedule task 02:31:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:31:49 Removing intermediate container 16d794917a6e 02:31:49 ---> 130f7979370e 02:31:49 Step 9/12 : COPY go.mod vendor* ./ 02:31:49 ---> dd85a5c8dbca 02:31:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:49 ---> Running in cfac0313ad53 02:32:35 Removing intermediate container cfac0313ad53 02:32:35 ---> f55274a02172 02:32:35 Step 11/12 : COPY . . 02:32:36 ---> 077c080365a3 02:32:36 Step 12/12 : RUN $MAKE 02:32:36 ---> Running in 37ffa9e2350d 02:32:36 noop 02:32:37 Removing intermediate container 37ffa9e2350d 02:32:37 ---> 8ad781cf604d 02:32:37 Successfully built 8ad781cf604d 02:32:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:37 + docker inspect -f . ci-base-image-x86_64 02:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:37 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:32:37 $ 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 02:32:37 $ docker top 33e4cde1b269784d372b98746c84c6a7b15f5af9520526e811e46c2397faafd4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:38 + go version 02:32:38 go version go1.21.9 linux/amd64 [Pipeline] } 02:32:38 $ docker stop --time=1 33e4cde1b269784d372b98746c84c6a7b15f5af9520526e811e46c2397faafd4 02:32:39 $ docker rm -f --volumes 33e4cde1b269784d372b98746c84c6a7b15f5af9520526e811e46c2397faafd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:40 + docker inspect -f . ci-base-image-x86_64 02:32:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:40 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:32:40 $ 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 02:32:40 $ docker top 73ba6fdf5ab0b31972030481898c5f37ca02b74109f187df4e7633ce016b37ea -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:32:41 + make test 02:32:41 go test ./... -coverprofile=coverage.out ./... 02:32:43 ? github.com/edgexfoundry/device-rest-go [no test files] 02:33:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:33:01 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 02:33:11 go vet ./... 02:33:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:33:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:33:16 ./bin/test-attribution-txt.sh 02:33:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:33:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:33:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:33:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:33:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:33:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:33:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:33:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:33:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:33:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:33:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:33:16 $ docker stop --time=1 73ba6fdf5ab0b31972030481898c5f37ca02b74109f187df4e7633ce016b37ea 02:33:23 $ docker rm -f --volumes 73ba6fdf5ab0b31972030481898c5f37ca02b74109f187df4e7633ce016b37ea [Pipeline] // withDockerContainer [Pipeline] sh 02:33:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:25 + ls -al . 02:33:25 total 248 02:33:25 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:32 . 02:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:31 .. 02:33:25 -rw-rw-r-- 1 jenkins jenkins 151 Jul 31 02:31 .dockerignore 02:33:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:33 .git 02:33:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:31 .github 02:33:25 -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:31 .gitignore 02:33:25 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:31 .golangci.yml 02:33:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:31 .semver 02:33:25 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 31 02:31 Attribution.txt 02:33:25 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 31 02:31 CHANGELOG.md 02:33:25 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 31 02:31 Dockerfile 02:33:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:31 GOVERNANCE.md 02:33:25 -rw-rw-r-- 1 jenkins jenkins 680 Jul 31 02:31 Jenkinsfile 02:33:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:31 LICENSE 02:33:25 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 31 02:31 Makefile 02:33:25 -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:31 OWNERS.md 02:33:25 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 31 02:31 README.md 02:33:25 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:31 VERSION 02:33:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:31 bin 02:33:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:31 cmd 02:33:25 -rw-r--r-- 1 jenkins jenkins 14499 Jul 31 02:33 coverage.out 02:33:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:31 driver 02:33:25 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 31 02:31 go.mod 02:33:25 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:31 go.sum 02:33:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:31 openapi 02:33:25 -rw-rw-r-- 1 jenkins jenkins 713 Jul 31 02:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:25 + 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=6d0ab58f28452a8136c6dc245895717e20b3b293 --label arch=amd64 --label version=3.2.0-dev.19 . 02:33:25 Sending build context to Docker daemon 16.57MB 02:33:25 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:33:25 Step 2/26 : FROM ${BASE} AS builder 02:33:25 ---> 8ad781cf604d 02:33:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:33:25 ---> Running in 14409feaf77b 02:33:26 Removing intermediate container 14409feaf77b 02:33:26 ---> 3165270d609f 02:33:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:26 ---> Running in 6f15c7d26f73 02:33:26 Removing intermediate container 6f15c7d26f73 02:33:26 ---> 372735c4ed4f 02:33:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:33:26 ---> Running in 28c5569db51d 02:33:26 Removing intermediate container 28c5569db51d 02:33:26 ---> bc210357e581 02:33:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:33:26 ---> Running in 448ef6f14fb9 02:33:26 Removing intermediate container 448ef6f14fb9 02:33:26 ---> d3b45dea7362 02:33:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:26 ---> Running in 2a23556a446d 02:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:33:26 OK: 268 MiB in 56 packages 02:33:27 Removing intermediate container 2a23556a446d 02:33:27 ---> c9b97edc3857 02:33:27 Step 8/26 : WORKDIR /device-rest-go 02:33:27 ---> Running in 75b327921168 02:33:27 Removing intermediate container 75b327921168 02:33:27 ---> 90936f87a17e 02:33:27 Step 9/26 : COPY go.mod vendor* ./ 02:33:27 ---> 86f2a4292a26 02:33:27 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:27 ---> Running in dd848725859f 02:33:28 Removing intermediate container dd848725859f 02:33:28 ---> 80622c2b3e20 02:33:28 Step 11/26 : COPY . . 02:33:28 ---> d308dda043c7 02:33:28 Step 12/26 : RUN $MAKE 02:33:28 ---> Running in 4ea77b82cff0 02:33:28 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:34:00 Removing intermediate container 4ea77b82cff0 02:34:00 ---> 087b0a4431db 02:34:00 Step 13/26 : FROM alpine:3.18 02:34:00 3.18: Pulling from library/alpine 02:34:00 930bdd4d222e: Pulling fs layer 02:34:00 930bdd4d222e: Verifying Checksum 02:34:00 930bdd4d222e: Download complete 02:34:00 930bdd4d222e: Pull complete 02:34:00 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:34:00 Status: Downloaded newer image for alpine:3.18 02:34:00 ---> 18f865063206 02:34:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:34:00 ---> Running in 171d7586e985 02:34:01 Removing intermediate container 171d7586e985 02:34:01 ---> 8c555769afba 02:34:01 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:34:01 ---> Running in c6ea42e4bf8d 02:34:01 Removing intermediate container c6ea42e4bf8d 02:34:01 ---> 01eb38b89aac 02:34:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:34:01 ---> Running in 46f2527945bd 02:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:34:02 (1/1) Installing dumb-init (1.2.5-r2) 02:34:02 Executing busybox-1.36.1-r7.trigger 02:34:02 OK: 7 MiB in 16 packages 02:34:02 Removing intermediate container 46f2527945bd 02:34:02 ---> 47faacdc99b8 02:34:02 Step 17/26 : RUN apk --no-cache upgrade 02:34:02 ---> Running in 9ff2e661a1a7 02:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:34:03 OK: 7 MiB in 16 packages 02:34:03 Removing intermediate container 9ff2e661a1a7 02:34:03 ---> 40718daa5800 02:34:03 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:34:04 ---> 0c0a0cb28cb8 02:34:04 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:34:04 ---> d1bf27929959 02:34:04 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:34:04 ---> ac2a8c2440f2 02:34:04 Step 21/26 : EXPOSE 59986 02:34:04 ---> Running in d61e017eb14a 02:34:04 Removing intermediate container d61e017eb14a 02:34:04 ---> 6f658070757f 02:34:04 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:34:04 ---> Running in e38fe059c627 02:34:04 Removing intermediate container e38fe059c627 02:34:04 ---> 4e3e28234da6 02:34:04 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:34:04 ---> Running in f7755ccb06d1 02:34:04 Removing intermediate container f7755ccb06d1 02:34:04 ---> 83b8fe48791a 02:34:04 Step 24/26 : LABEL arch=amd64 02:34:04 ---> Running in 9c0498e5d75d 02:34:04 Removing intermediate container 9c0498e5d75d 02:34:04 ---> ef13814fb916 02:34:04 Step 25/26 : LABEL git_sha=6d0ab58f28452a8136c6dc245895717e20b3b293 02:34:04 ---> Running in aebf4510a5a5 02:34:05 Removing intermediate container aebf4510a5a5 02:34:05 ---> 79b07ed5c701 02:34:05 Step 26/26 : LABEL version=3.2.0-dev.19 02:34:05 ---> Running in c9e2c8393413 02:34:05 Removing intermediate container c9e2c8393413 02:34:05 ---> c57f66e474b4 02:34:05 [Warning] One or more build-args [ARCH] were not consumed 02:34:05 Successfully built c57f66e474b4 02:34:05 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:05 provisioning config files... 02:34:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3648018789404471132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:05 ---> ****-login.sh 02:34:05 nexus3.edgexfoundry.org:10001 02:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:05 Configure a credential helper to remove this warning. See 02:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:05 02:34:05 Login Succeeded 02:34:05 nexus3.edgexfoundry.org:10002 02:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:05 Configure a credential helper to remove this warning. See 02:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:05 02:34:05 Login Succeeded 02:34:05 nexus3.edgexfoundry.org:10003 02:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:05 Configure a credential helper to remove this warning. See 02:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:05 02:34:05 Login Succeeded 02:34:05 nexus3.edgexfoundry.org:10004 02:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:05 Configure a credential helper to remove this warning. See 02:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:05 02:34:05 Login Succeeded 02:34:05 ****.io 02:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:06 Configure a credential helper to remove this warning. See 02:34:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:06 02:34:06 Login Succeeded 02:34:06 ---> ****-login.sh ends [Pipeline] } 02:34:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:34:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:06 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:34:06 6d0ab58f28452a8136c6dc245895717e20b3b293 02:34:06 latest 02:34:06 3.2.0-dev.19 02:34:06 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 02:34:06 main 02:34:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293 02:34:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:06 b838b2324ef4: Preparing 02:34:06 5c4cf6ed8f96: Preparing 02:34:06 d5e16891bb33: Preparing 02:34:06 436129d5595b: Preparing 02:34:06 57c0bb2fd6c2: Preparing 02:34:06 ce7f800efff9: Preparing 02:34:06 ce7f800efff9: Waiting 02:34:06 b838b2324ef4: Pushed 02:34:06 57c0bb2fd6c2: Pushed 02:34:06 436129d5595b: Pushed 02:34:06 5c4cf6ed8f96: Pushed 02:34:06 ce7f800efff9: Layer already exists 02:34:10 d5e16891bb33: Pushed 02:34:10 6d0ab58f28452a8136c6dc245895717e20b3b293: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:10 b838b2324ef4: Preparing 02:34:10 5c4cf6ed8f96: Preparing 02:34:10 d5e16891bb33: Preparing 02:34:10 436129d5595b: Preparing 02:34:10 57c0bb2fd6c2: Preparing 02:34:10 ce7f800efff9: Preparing 02:34:10 ce7f800efff9: Waiting 02:34:10 b838b2324ef4: Layer already exists 02:34:10 57c0bb2fd6c2: Layer already exists 02:34:10 d5e16891bb33: Layer already exists 02:34:10 436129d5595b: Layer already exists 02:34:10 5c4cf6ed8f96: Layer already exists 02:34:10 ce7f800efff9: Layer already exists 02:34:10 latest: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.19 02:34:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:11 b838b2324ef4: Preparing 02:34:11 5c4cf6ed8f96: Preparing 02:34:11 d5e16891bb33: Preparing 02:34:11 436129d5595b: Preparing 02:34:11 57c0bb2fd6c2: Preparing 02:34:11 ce7f800efff9: Preparing 02:34:11 ce7f800efff9: Waiting 02:34:11 d5e16891bb33: Layer already exists 02:34:11 436129d5595b: Layer already exists 02:34:11 b838b2324ef4: Layer already exists 02:34:11 57c0bb2fd6c2: Layer already exists 02:34:11 5c4cf6ed8f96: Layer already exists 02:34:11 ce7f800efff9: Layer already exists 02:34:11 3.2.0-dev.19: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 02:34:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:12 b838b2324ef4: Preparing 02:34:12 5c4cf6ed8f96: Preparing 02:34:12 d5e16891bb33: Preparing 02:34:12 436129d5595b: Preparing 02:34:12 57c0bb2fd6c2: Preparing 02:34:12 ce7f800efff9: Preparing 02:34:12 ce7f800efff9: Waiting 02:34:12 b838b2324ef4: Layer already exists 02:34:12 436129d5595b: Layer already exists 02:34:12 57c0bb2fd6c2: Layer already exists 02:34:12 5c4cf6ed8f96: Layer already exists 02:34:12 d5e16891bb33: Layer already exists 02:34:12 ce7f800efff9: Layer already exists 02:34:13 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:34:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:13 b838b2324ef4: Preparing 02:34:13 5c4cf6ed8f96: Preparing 02:34:13 d5e16891bb33: Preparing 02:34:13 436129d5595b: Preparing 02:34:13 57c0bb2fd6c2: Preparing 02:34:13 ce7f800efff9: Preparing 02:34:13 ce7f800efff9: Waiting 02:34:13 b838b2324ef4: Layer already exists 02:34:13 436129d5595b: Layer already exists 02:34:13 d5e16891bb33: Layer already exists 02:34:13 57c0bb2fd6c2: Layer already exists 02:34:13 5c4cf6ed8f96: Layer already exists 02:34:13 ce7f800efff9: Layer already exists 02:34:13 main: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:34:13 ===================================================== [Pipeline] echo 02:34:13 taggedImages: 02:34:13 - nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293 02:34:13 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:13 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.19 02:34:13 - nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 02:34:13 - 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 02:34:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:14 02:34:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:14 latest: Pulling from edgex-lftools-log-publisher 02:34:14 5eb5b503b376: Pulling fs layer 02:34:14 5c69ac0246d0: Pulling fs layer 02:34:14 ec43610c2a17: Pulling fs layer 02:34:14 3a2ae6a8a46f: Pulling fs layer 02:34:14 33b1e0a273af: Pulling fs layer 02:34:14 5d3b04190fa2: Pulling fs layer 02:34:14 2f39f015ded8: Pulling fs layer 02:34:14 33b1e0a273af: Waiting 02:34:14 5d3b04190fa2: Waiting 02:34:14 2f39f015ded8: Waiting 02:34:14 3a2ae6a8a46f: Waiting 02:34:14 5c69ac0246d0: Verifying Checksum 02:34:14 3a2ae6a8a46f: Verifying Checksum 02:34:14 3a2ae6a8a46f: Download complete 02:34:14 33b1e0a273af: Verifying Checksum 02:34:14 33b1e0a273af: Download complete 02:34:14 5d3b04190fa2: Download complete 02:34:14 ec43610c2a17: Verifying Checksum 02:34:14 ec43610c2a17: Download complete 02:34:14 5eb5b503b376: Download complete 02:34:15 2f39f015ded8: Download complete 02:34:16 5eb5b503b376: Pull complete 02:34:16 5c69ac0246d0: Pull complete 02:34:17 ec43610c2a17: Pull complete 02:34:17 3a2ae6a8a46f: Pull complete 02:34:17 33b1e0a273af: Pull complete 02:34:17 5d3b04190fa2: Pull complete 02:34:21 2f39f015ded8: Pull complete 02:34:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:34:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:21 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:34:21 $ 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 02:34:26 $ docker top 0311707fb1e9aa0b0092d1a185bccc7333db0d84ea7c5c9c9edccbdac20304e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:27 ---> job-cost.sh 02:34:27 lf-activate-venv: SKIPPING 02:34:27 INFO: No Stack... 02:34:27 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:27 INFO: Archiving Costs [Pipeline] sh 02:34:28 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 02:34:28 + cut -d, -f6 [Pipeline] lock 02:34:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] 02:34:28 Resource [jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] did not exist. Created. 02:34:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:34:28 + echo total: 0.2199999988079071 [Pipeline] stash 02:34:28 Stashed 1 file(s) [Pipeline] } 02:34:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:28 $ docker stop --time=1 0311707fb1e9aa0b0092d1a185bccc7333db0d84ea7c5c9c9edccbdac20304e8 02:34:29 $ docker rm -f --volumes 0311707fb1e9aa0b0092d1a185bccc7333db0d84ea7c5c9c9edccbdac20304e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:34:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6830 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:34:47 Running in /w/workspace/device-rest-go/171 [Pipeline] { [Pipeline] checkout 02:34:50 The recommended git tool is: git 02:34:56 using credential edgex-jenkins-ssh 02:34:56 Cloning the remote Git repository 02:34:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:34:56 > git init /w/workspace/device-rest-go/171 # timeout=10 02:34:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:34:56 > git --version # timeout=10 02:34:56 > git --version # 'git version 2.25.1' 02:34:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:34:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:00 Avoid second fetch 02:35:00 Checking out Revision 6d0ab58f28452a8136c6dc245895717e20b3b293 (main) 02:35:01 Commit message: "Merge pull request #403 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" 02:35:00 > git config core.sparsecheckout # timeout=10 02:35:01 > git checkout -f 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:35:06 % Total % Received % Xferd Average Speed Time Time Time Current 02:35:06 Dload Upload Total Spent Left Speed 02:35:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 02:35:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:35:07 + + sudo teesudo /etc/docker/daemon.new jq 02:35:07 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:35:07 { 02:35:07 "registry-mirrors": [ 02:35:07 "https://nexus3.edgexfoundry.org:10001" 02:35:07 ], 02:35:07 "bip": "10.250.0.254/24", 02:35:07 "hosts": [ 02:35:07 "tcp://0.0.0.0:5555", 02:35:07 "unix:///var/run/docker.sock" 02:35:07 ], 02:35:07 "mtu": 1458, 02:35:07 "selinux-enabled": true, 02:35:07 "seccomp-profile": "/etc/docker/seccomp.json" 02:35:07 } [Pipeline] sh 02:35:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:35:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:26 provisioning config files... 02:35:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/171@tmp/config2091500277934566542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:26 ---> ****-login.sh 02:35:26 nexus3.edgexfoundry.org:10001 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 nexus3.edgexfoundry.org:10002 02:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:27 Configure a credential helper to remove this warning. See 02:35:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:27 02:35:27 Login Succeeded 02:35:27 nexus3.edgexfoundry.org:10003 02:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:28 Configure a credential helper to remove this warning. See 02:35:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:28 02:35:28 Login Succeeded 02:35:28 nexus3.edgexfoundry.org:10004 02:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:28 Configure a credential helper to remove this warning. See 02:35:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:28 02:35:28 Login Succeeded 02:35:28 ****.io 02:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:29 Configure a credential helper to remove this warning. See 02:35:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:29 02:35:29 Login Succeeded 02:35:29 ---> ****-login.sh ends [Pipeline] } 02:35:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:35:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:35:29 ========================================================= 02:35:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:35:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:30 + 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 . 02:35:30 Sending build context to Docker daemon 130.6kB 02:35:30 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:35:30 Step 2/12 : FROM ${BASE} AS builder 02:35:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:30 c6b39de5b339: Pulling fs layer 02:35:30 a69c41024577: Pulling fs layer 02:35:30 d6de4b400683: Pulling fs layer 02:35:30 35cb2a7552d0: Pulling fs layer 02:35:30 4f4fb700ef54: Pulling fs layer 02:35:30 464afbd9ba4c: Pulling fs layer 02:35:30 00f215d4a9da: Pulling fs layer 02:35:30 d496ad576159: Pulling fs layer 02:35:30 35cb2a7552d0: Waiting 02:35:30 4f4fb700ef54: Waiting 02:35:30 464afbd9ba4c: Waiting 02:35:30 00f215d4a9da: Waiting 02:35:30 d496ad576159: Waiting 02:35:30 a69c41024577: Verifying Checksum 02:35:30 a69c41024577: Download complete 02:35:30 35cb2a7552d0: Verifying Checksum 02:35:30 35cb2a7552d0: Download complete 02:35:30 4f4fb700ef54: Verifying Checksum 02:35:30 4f4fb700ef54: Download complete 02:35:30 464afbd9ba4c: Verifying Checksum 02:35:30 464afbd9ba4c: Download complete 02:35:30 c6b39de5b339: Download complete 02:35:31 d496ad576159: Verifying Checksum 02:35:31 d496ad576159: Download complete 02:35:31 c6b39de5b339: Pull complete 02:35:32 a69c41024577: Pull complete 02:35:32 d6de4b400683: Verifying Checksum 02:35:32 d6de4b400683: Download complete 02:35:34 00f215d4a9da: Verifying Checksum 02:35:34 00f215d4a9da: Download complete 02:35:46 d6de4b400683: Pull complete 02:35:46 35cb2a7552d0: Pull complete 02:35:46 4f4fb700ef54: Pull complete 02:35:46 464afbd9ba4c: Pull complete 02:35:56 00f215d4a9da: Pull complete 02:35:57 d496ad576159: Pull complete 02:35:57 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:35:57 ---> f246e2811388 02:35:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:36:00 ---> Running in 720eadbdd58c 02:36:00 Removing intermediate container 720eadbdd58c 02:36:00 ---> 02d028e9dcd6 02:36:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:00 ---> Running in 0801e4101373 02:36:00 Removing intermediate container 0801e4101373 02:36:00 ---> 4c1434bdec1e 02:36:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:36:00 ---> Running in 3995ab6c88d3 02:36:01 Removing intermediate container 3995ab6c88d3 02:36:01 ---> 307da36004d7 02:36:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:36:01 ---> Running in 2a7cb38f0d36 02:36:01 Removing intermediate container 2a7cb38f0d36 02:36:01 ---> 119f65c9f8b9 02:36:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:01 ---> Running in f2f49e71de0c 02:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:36:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:36:04 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:36:04 (2/4) Installing libedit (20221030.3.1-r1) 02:36:04 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:36:04 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:36:04 Executing busybox-1.36.1-r5.trigger 02:36:04 OK: 271 MiB in 56 packages 02:36:06 Removing intermediate container f2f49e71de0c 02:36:06 ---> 4877aaad4726 02:36:06 Step 8/12 : WORKDIR /device-rest-go 02:36:06 ---> Running in 10ee6215df7f 02:36:06 Removing intermediate container 10ee6215df7f 02:36:06 ---> edbce418c54a 02:36:06 Step 9/12 : COPY go.mod vendor* ./ 02:36:07 ---> 2a3bc4b6bd14 02:36:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:07 ---> Running in 983cc8736f29 02:38:14 Removing intermediate container 983cc8736f29 02:38:14 ---> 71f53663f162 02:38:14 Step 11/12 : COPY . . 02:38:14 ---> 79f66500e564 02:38:14 Step 12/12 : RUN $MAKE 02:38:14 ---> Running in 5226b9ec68fc 02:38:14 noop 02:38:14 Removing intermediate container 5226b9ec68fc 02:38:14 ---> 297a2b72d437 02:38:14 Successfully built 297a2b72d437 02:38:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:14 + docker inspect -f . ci-base-image-arm64 02:38:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:14 prd-ubuntu20.04-docker-arm64-4c-16g-6830 does not seem to be running inside a container 02:38:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/171 -v /w/workspace/device-rest-go/171:/w/workspace/device-rest-go/171:rw,z -v /w/workspace/device-rest-go/171@tmp:/w/workspace/device-rest-go/171@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 02:38:16 $ docker top 43ea65da600a900a0c8daaa5c5493f4db5b33b8c85cc4aac3c1786ffdd973725 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:17 + go version 02:38:17 go version go1.21.9 linux/arm64 [Pipeline] } 02:38:17 $ docker stop --time=1 43ea65da600a900a0c8daaa5c5493f4db5b33b8c85cc4aac3c1786ffdd973725 02:38:19 $ docker rm -f --volumes 43ea65da600a900a0c8daaa5c5493f4db5b33b8c85cc4aac3c1786ffdd973725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:19 + docker inspect -f . ci-base-image-arm64 02:38:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:20 prd-ubuntu20.04-docker-arm64-4c-16g-6830 does not seem to be running inside a container 02:38:20 $ 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/171 -v /w/workspace/device-rest-go/171:/w/workspace/device-rest-go/171:rw,z -v /w/workspace/device-rest-go/171@tmp:/w/workspace/device-rest-go/171@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 02:38:21 $ docker top 76acde9f1d4f847e82c214245c88164507508ad36a79b7f1965cab370b5c8a47 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:22 + git config --global --add safe.directory /w/workspace/device-rest-go/171 [Pipeline] fileExists [Pipeline] sh 02:38:23 + make test 02:38:23 go test ./... -coverprofile=coverage.out ./... 02:38:29 ? github.com/edgexfoundry/device-rest-go [no test files] 02:43:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:43:06 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements 02:43:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:43:07 go vet ./... 02:44:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:44:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:44:03 ./bin/test-attribution-txt.sh 02:44:03 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:44:03 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:44:03 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:44:03 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:44:03 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:44:03 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:44:03 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:44:03 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:44:03 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:44:03 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:44:03 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:44:03 $ docker stop --time=1 76acde9f1d4f847e82c214245c88164507508ad36a79b7f1965cab370b5c8a47 02:44:05 $ docker rm -f --volumes 76acde9f1d4f847e82c214245c88164507508ad36a79b7f1965cab370b5c8a47 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:44:07 Warning: overwriting stash ‘coverage-report’ 02:44:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:44:09 + ls -al . 02:44:09 total 244 02:44:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:38 . 02:44:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:34 .. 02:44:09 -rw-rw-r-- 1 jenkins jenkins 151 Jul 31 02:35 .dockerignore 02:44:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:35 .git 02:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:35 .github 02:44:09 -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:35 .gitignore 02:44:09 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:35 .golangci.yml 02:44:09 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 31 02:35 Attribution.txt 02:44:09 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 31 02:35 CHANGELOG.md 02:44:09 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 31 02:35 Dockerfile 02:44:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:35 GOVERNANCE.md 02:44:09 -rw-rw-r-- 1 jenkins jenkins 680 Jul 31 02:35 Jenkinsfile 02:44:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:35 LICENSE 02:44:09 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 31 02:35 Makefile 02:44:09 -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:35 OWNERS.md 02:44:09 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 31 02:35 README.md 02:44:09 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:31 VERSION 02:44:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:35 bin 02:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:35 cmd 02:44:09 -rw-r--r-- 1 jenkins jenkins 14499 Jul 31 02:43 coverage.out 02:44:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:35 driver 02:44:09 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 31 02:35 go.mod 02:44:09 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:35 go.sum 02:44:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:35 openapi 02:44:09 -rw-rw-r-- 1 jenkins jenkins 713 Jul 31 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:09 + 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=6d0ab58f28452a8136c6dc245895717e20b3b293 --label arch=arm64 --label version=3.2.0-dev.19 . 02:44:09 Sending build context to Docker daemon 145.9kB 02:44:09 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:44:09 Step 2/26 : FROM ${BASE} AS builder 02:44:09 ---> 297a2b72d437 02:44:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:44:10 ---> Running in 57b9cb507e23 02:44:10 Removing intermediate container 57b9cb507e23 02:44:10 ---> 61ccad02534d 02:44:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:10 ---> Running in 6a9115f5d95d 02:44:10 Removing intermediate container 6a9115f5d95d 02:44:10 ---> 578103c9b4de 02:44:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:10 ---> Running in dd9e8126fdfa 02:44:11 Removing intermediate container dd9e8126fdfa 02:44:11 ---> b4f47517cf1a 02:44:11 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:44:11 ---> Running in e21b660614ad 02:44:11 Removing intermediate container e21b660614ad 02:44:11 ---> 31219cbbf070 02:44:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:11 ---> Running in f749103414c4 02:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:44:14 OK: 271 MiB in 56 packages 02:44:15 Removing intermediate container f749103414c4 02:44:15 ---> d24bcd582b59 02:44:15 Step 8/26 : WORKDIR /device-rest-go 02:44:15 ---> Running in b5bbf661740f 02:44:15 Removing intermediate container b5bbf661740f 02:44:15 ---> 04ca617ad953 02:44:15 Step 9/26 : COPY go.mod vendor* ./ 02:44:16 ---> 7b10916c3a1e 02:44:16 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:16 ---> Running in bdb78b8ac316 02:44:19 Removing intermediate container bdb78b8ac316 02:44:19 ---> a3ecfcf3b226 02:44:19 Step 11/26 : COPY . . 02:44:19 ---> ae984ef627df 02:44:19 Step 12/26 : RUN $MAKE 02:44:19 ---> Running in e73671b6b741 02:44:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:48:27 Removing intermediate container e73671b6b741 02:48:27 ---> 38693ac00812 02:48:27 Step 13/26 : FROM alpine:3.18 02:48:27 3.18: Pulling from library/alpine 02:48:27 4983c3fe2029: Pulling fs layer 02:48:27 4983c3fe2029: Verifying Checksum 02:48:27 4983c3fe2029: Download complete 02:48:27 4983c3fe2029: Pull complete 02:48:27 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:48:27 Status: Downloaded newer image for alpine:3.18 02:48:27 ---> a0237000ae83 02:48:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:48:27 ---> Running in 6e3cc575db22 02:48:27 Removing intermediate container 6e3cc575db22 02:48:27 ---> 8e678cb30b61 02:48:27 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:48:27 ---> Running in 2e38e5743738 02:48:27 Removing intermediate container 2e38e5743738 02:48:27 ---> b31925db092f 02:48:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:48:27 ---> Running in 94b5b62040ab 02:48:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:48:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:48:29 (1/1) Installing dumb-init (1.2.5-r2) 02:48:29 Executing busybox-1.36.1-r7.trigger 02:48:29 OK: 8 MiB in 16 packages 02:48:30 Removing intermediate container 94b5b62040ab 02:48:30 ---> ff511acffcc5 02:48:30 Step 17/26 : RUN apk --no-cache upgrade 02:48:30 ---> Running in f4eb77297d41 02:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:48:32 OK: 8 MiB in 16 packages 02:48:33 Removing intermediate container f4eb77297d41 02:48:33 ---> 0261113de9f0 02:48:33 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:48:35 ---> 6ee2a7213c18 02:48:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:48:36 ---> a2e3aa95bcab 02:48:36 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:48:37 ---> 1ca98297ffbe 02:48:37 Step 21/26 : EXPOSE 59986 02:48:37 ---> Running in 7127a5cce552 02:48:37 Removing intermediate container 7127a5cce552 02:48:37 ---> 35daf31cedfc 02:48:37 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:48:37 ---> Running in 6f88890680d4 02:48:37 Removing intermediate container 6f88890680d4 02:48:37 ---> 96c34b8d37fd 02:48:37 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:48:37 ---> Running in 4180532754c9 02:48:38 Removing intermediate container 4180532754c9 02:48:38 ---> b3f1afc72102 02:48:38 Step 24/26 : LABEL arch=arm64 02:48:38 ---> Running in 5c814b1feaaf 02:48:38 Removing intermediate container 5c814b1feaaf 02:48:38 ---> aff3986bcada 02:48:38 Step 25/26 : LABEL git_sha=6d0ab58f28452a8136c6dc245895717e20b3b293 02:48:38 ---> Running in 7a940c2ccb53 02:48:39 Removing intermediate container 7a940c2ccb53 02:48:39 ---> b5e027d94d8a 02:48:39 Step 26/26 : LABEL version=3.2.0-dev.19 02:48:39 ---> Running in 0b181da0bd31 02:48:39 Removing intermediate container 0b181da0bd31 02:48:39 ---> 3b8cadc9701a 02:48:39 [Warning] One or more build-args [ARCH] were not consumed 02:48:39 Successfully built 3b8cadc9701a 02:48:39 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 02:48:39 provisioning config files... 02:48:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/171@tmp/config11228747751317722684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:39 ---> ****-login.sh 02:48:39 nexus3.edgexfoundry.org:10001 02:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:40 Configure a credential helper to remove this warning. See 02:48:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:40 02:48:40 Login Succeeded 02:48:40 nexus3.edgexfoundry.org:10002 02:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:40 Configure a credential helper to remove this warning. See 02:48:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:40 02:48:40 Login Succeeded 02:48:40 nexus3.edgexfoundry.org:10003 02:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:40 Configure a credential helper to remove this warning. See 02:48:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:40 02:48:40 Login Succeeded 02:48:40 nexus3.edgexfoundry.org:10004 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 ****.io 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:48:42 Configure a credential helper to remove this warning. See 02:48:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:48:42 02:48:42 Login Succeeded 02:48:42 ---> ****-login.sh ends [Pipeline] } 02:48:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:48:42 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:48:42 6d0ab58f28452a8136c6dc245895717e20b3b293 02:48:42 latest 02:48:42 3.2.0-dev.19 02:48:42 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 02:48:42 main 02:48:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293 02:48:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:42 0a832e5f595f: Preparing 02:48:42 c12068551894: Preparing 02:48:42 02e76b0bfd91: Preparing 02:48:42 406e1a841531: Preparing 02:48:42 a4d83702afcd: Preparing 02:48:42 3c20671a5817: Preparing 02:48:42 3c20671a5817: Waiting 02:48:43 c12068551894: Pushed 02:48:43 0a832e5f595f: Pushed 02:48:43 3c20671a5817: Layer already exists 02:48:43 406e1a841531: Pushed 02:48:43 a4d83702afcd: Pushed 02:48:49 02e76b0bfd91: Pushed 02:48:49 6d0ab58f28452a8136c6dc245895717e20b3b293: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:48:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:50 0a832e5f595f: Preparing 02:48:50 c12068551894: Preparing 02:48:50 02e76b0bfd91: Preparing 02:48:50 406e1a841531: Preparing 02:48:50 a4d83702afcd: Preparing 02:48:50 3c20671a5817: Preparing 02:48:50 3c20671a5817: Waiting 02:48:50 c12068551894: Layer already exists 02:48:50 406e1a841531: Layer already exists 02:48:50 0a832e5f595f: Layer already exists 02:48:50 02e76b0bfd91: Layer already exists 02:48:50 a4d83702afcd: Layer already exists 02:48:50 3c20671a5817: Layer already exists 02:48:50 latest: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.19 02:48:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:51 0a832e5f595f: Preparing 02:48:51 c12068551894: Preparing 02:48:51 02e76b0bfd91: Preparing 02:48:51 406e1a841531: Preparing 02:48:51 a4d83702afcd: Preparing 02:48:51 3c20671a5817: Preparing 02:48:51 3c20671a5817: Waiting 02:48:51 0a832e5f595f: Layer already exists 02:48:51 a4d83702afcd: Layer already exists 02:48:51 c12068551894: Layer already exists 02:48:51 02e76b0bfd91: Layer already exists 02:48:51 406e1a841531: Layer already exists 02:48:51 3c20671a5817: Layer already exists 02:48:51 3.2.0-dev.19: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 02:48:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:52 0a832e5f595f: Preparing 02:48:52 c12068551894: Preparing 02:48:52 02e76b0bfd91: Preparing 02:48:52 406e1a841531: Preparing 02:48:52 a4d83702afcd: Preparing 02:48:52 3c20671a5817: Preparing 02:48:52 3c20671a5817: Waiting 02:48:52 02e76b0bfd91: Layer already exists 02:48:52 a4d83702afcd: Layer already exists 02:48:52 c12068551894: Layer already exists 02:48:52 406e1a841531: Layer already exists 02:48:52 0a832e5f595f: Layer already exists 02:48:52 3c20671a5817: Layer already exists 02:48:53 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:48:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:48:53 0a832e5f595f: Preparing 02:48:53 c12068551894: Preparing 02:48:53 02e76b0bfd91: Preparing 02:48:53 406e1a841531: Preparing 02:48:53 a4d83702afcd: Preparing 02:48:53 3c20671a5817: Preparing 02:48:53 3c20671a5817: Waiting 02:48:53 c12068551894: Layer already exists 02:48:53 0a832e5f595f: Layer already exists 02:48:53 406e1a841531: Layer already exists 02:48:53 02e76b0bfd91: Layer already exists 02:48:53 a4d83702afcd: Layer already exists 02:48:54 3c20671a5817: Layer already exists 02:48:54 main: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:48:54 ===================================================== [Pipeline] echo 02:48:54 taggedImages: 02:48:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293 02:48:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:48:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.19 02:48:54 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 02:48:54 - 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 02:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:54 02:48:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:55 arm64: Pulling from edgex-lftools-log-publisher 02:48:55 8998bd30e6a1: Pulling fs layer 02:48:55 04944245beec: Pulling fs layer 02:48:55 699f458cf7ca: Pulling fs layer 02:48:55 765212b225bb: Pulling fs layer 02:48:55 f23df028b6ca: Pulling fs layer 02:48:55 d65c8cfc05b1: Pulling fs layer 02:48:55 765212b225bb: Waiting 02:48:55 f23df028b6ca: Waiting 02:48:55 2437ff75d9bd: Pulling fs layer 02:48:55 d65c8cfc05b1: Waiting 02:48:55 2437ff75d9bd: Waiting 02:48:55 04944245beec: Verifying Checksum 02:48:55 04944245beec: Download complete 02:48:55 765212b225bb: Verifying Checksum 02:48:55 765212b225bb: Download complete 02:48:55 f23df028b6ca: Verifying Checksum 02:48:55 f23df028b6ca: Download complete 02:48:55 d65c8cfc05b1: Verifying Checksum 02:48:55 d65c8cfc05b1: Download complete 02:48:55 699f458cf7ca: Verifying Checksum 02:48:55 699f458cf7ca: Download complete 02:48:55 8998bd30e6a1: Verifying Checksum 02:48:55 8998bd30e6a1: Download complete 02:48:58 2437ff75d9bd: Verifying Checksum 02:48:58 2437ff75d9bd: Download complete 02:49:00 8998bd30e6a1: Pull complete 02:49:01 04944245beec: Pull complete 02:49:02 699f458cf7ca: Pull complete 02:49:02 765212b225bb: Pull complete 02:49:03 f23df028b6ca: Pull complete 02:49:04 d65c8cfc05b1: Pull complete 02:49:22 2437ff75d9bd: Pull complete 02:49:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:49:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:22 prd-ubuntu20.04-docker-arm64-4c-16g-6830 does not seem to be running inside a container 02:49:22 $ 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/171 -v /w/workspace/device-rest-go/171:/w/workspace/device-rest-go/171:rw,z -v /w/workspace/device-rest-go/171@tmp:/w/workspace/device-rest-go/171@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 02:49:25 $ docker top 6d11683125ed2698e453e54727cfe7c3817785abfd1fa774ca6a2ffbad86dc0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:26 ---> job-cost.sh 02:49:26 lf-activate-venv: SKIPPING 02:49:26 INFO: No Stack... 02:49:26 INFO: Retrieving Pricing Info for: v3-standard-4 02:49:27 INFO: Archiving Costs [Pipeline] sh 02:49:28 + cat /w/workspace/device-rest-go/171/archives/cost.csv 02:49:28 + cut -d, -f6 [Pipeline] lock 02:49:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] 02:49:28 Resource [jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] did not exist. Created. 02:49:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:29 /w/workspace/device-rest-go/171@tmp/durable-8bf52315/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:49:29 + echo total: 0.10999999940395355 [Pipeline] stash 02:49:29 Warning: overwriting stash ‘stack-cost’ 02:49:29 Stashed 1 file(s) [Pipeline] } 02:49:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:29 $ docker stop --time=1 6d11683125ed2698e453e54727cfe7c3817785abfd1fa774ca6a2ffbad86dc0c 02:49:31 $ docker rm -f --volumes 6d11683125ed2698e453e54727cfe7c3817785abfd1fa774ca6a2ffbad86dc0c [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 02:49:31 provisioning config files... 02:49:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7355686583983265718tmp [Pipeline] { [Pipeline] sh 02:49:32 + set +x 02:49:32 + curl -s https://codecov.io/bash 02:49:32 + bash -s -- 02:49:32 02:49:32 _____ _ 02:49:32 / ____| | | 02:49:32 | | ___ __| | ___ ___ _____ __ 02:49:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:32 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:32 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:32 Bash-1.0.6 02:49:32 02:49:32 02:49:32 ==> git version 2.25.1 found 02:49:32 ==> 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 02:49:32 Release-Date: 2020-01-08 02:49:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:49:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:49:32 ==> Jenkins CI detected. 02:49:32 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:49:32 project root: . 02:49:32 --> token set from env 02:49:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:32 ==> Running gcov in . (disable via -X gcov) 02:49:32 ==> Python coveragepy not found 02:49:32 ==> Searching for coverage reports in: 02:49:32 + . 02:49:32 -> Found 1 reports 02:49:32 ==> Detecting git/mercurial file structure 02:49:32 ==> Reading reports 02:49:32 + ./coverage.out bytes=14499 02:49:32 ==> Appending adjustments 02:49:32 https://docs.codecov.io/docs/fixing-reports 02:49:32 + Found adjustments 02:49:32 ==> Gzipping contents 02:49:32 4.0K /tmp/codecov.1vU7Yi.gz 02:49:32 ==> Uploading reports 02:49:32 url: https://codecov.io 02:49:32 query: branch=main&commit=6d0ab58f28452a8136c6dc245895717e20b3b293&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:32 -> Pinging Codecov 02:49:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6d0ab58f28452a8136c6dc245895717e20b3b293&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:49:32 -> Uploading to 02:49:32 https://storage.googleapis.com/codecov/v4/raw/2024-07-31/4E5D53B4F1F92C436F7061BF334D961C/6d0ab58f28452a8136c6dc245895717e20b3b293/8bd92fe8-a74f-4d65-86ba-28ea23042f85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T024932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8086c2e7ccfef329a616f3b47bd96f62fbbb7d651e7767df7003222527646aeb 02:49:32 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:32 Dload Upload Total Spent Left Speed 02:49:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11321 --:--:-- --:--:-- --:--:-- 11266 100 2321 0 0 100 2321 0 9173 --:--:-- --:--:-- --:--:-- 9137 02:49:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] } 02:49:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:49:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:49:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:33 02:49:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:33 latest: Pulling from edgex-devops/edgex-snyk-go 02:49:33 619be1103602: Already exists 02:49:33 f8ea3408117e: Pulling fs layer 02:49:33 91320369b822: Pulling fs layer 02:49:33 0406650e8295: Pulling fs layer 02:49:33 4f4fb700ef54: Pulling fs layer 02:49:33 96d80e3f36e1: Pulling fs layer 02:49:33 bcf3aedb951c: Pulling fs layer 02:49:33 96d80e3f36e1: Waiting 02:49:33 bcf3aedb951c: Waiting 02:49:33 4f4fb700ef54: Waiting 02:49:33 0406650e8295: Verifying Checksum 02:49:33 0406650e8295: Download complete 02:49:33 f8ea3408117e: Verifying Checksum 02:49:33 f8ea3408117e: Download complete 02:49:33 4f4fb700ef54: Verifying Checksum 02:49:33 4f4fb700ef54: Download complete 02:49:33 f8ea3408117e: Pull complete 02:49:33 96d80e3f36e1: Verifying Checksum 02:49:33 96d80e3f36e1: Download complete 02:49:34 91320369b822: Verifying Checksum 02:49:34 91320369b822: Download complete 02:49:34 bcf3aedb951c: Verifying Checksum 02:49:34 bcf3aedb951c: Download complete 02:49:38 91320369b822: Pull complete 02:49:38 0406650e8295: Pull complete 02:49:38 4f4fb700ef54: Pull complete 02:49:38 96d80e3f36e1: Pull complete 02:49:41 bcf3aedb951c: Pull complete 02:49:41 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:49:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:41 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:49:41 $ 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 02:49:51 $ docker top 99022ade1e85918971d9b93c5d45be2c3bc116cc03d41fd16f27ff2257a41045 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:52 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 02:49:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:49:52 + set -o pipefail 02:49:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:49:58 02:49:58 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:49:58 02:49:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/69c6a5e9-411c-47eb-a2d5-abc69e1e6737 02:49:58 02:49:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:49:58 02:49:58 02:49:58 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:49:58 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:49:58 $ docker stop --time=1 99022ade1e85918971d9b93c5d45be2c3bc116cc03d41fd16f27ff2257a41045 02:50:04 $ docker rm -f --volumes 99022ade1e85918971d9b93c5d45be2c3bc116cc03d41fd16f27ff2257a41045 [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 02:50:05 + git log --format=format:%s -1 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] sh 02:50:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:05 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:50: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 02:50:06 $ docker top cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 -eo pid,comm 02:50:06 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). 02:50:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:06 [ssh-agent] Looking for ssh-agent implementation... 02:50:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:06 $ docker exec cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 ssh-agent 02:50:06 SSH_AUTH_SOCK=/tmp/ssh-LHvaL0sinyUj/agent.32 02:50:06 SSH_AGENT_PID=38 02:50:06 Running ssh-add (command line suppressed) 02:50:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_935848825544441271.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_935848825544441271.key) 02:50:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:07 + git semver tag 02:50:07 2024-07-31 02:50:07,392 [run_tag] DEBUG tag force:False 02:50:07 2024-07-31 02:50:07,392 [check_head_tag] DEBUG check head tag 02:50:07 2024-07-31 02:50:07,393 [execute] INFO git cat-file --batch-check 02:50:07 2024-07-31 02:50:07,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:50:07 2024-07-31 02:50:07,397 [execute] INFO git cat-file --batch 02:50:07 2024-07-31 02:50:07,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:50:07 2024-07-31 02:50:07,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:07 2024-07-31 02:50:07,422 [execute] INFO git tag -a v3.2.0-dev.19 -m v3.2.0-dev.19 02:50:07 2024-07-31 02:50:07,423 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.19', '-m', 'v3.2.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 02:50:07 2024-07-31 02:50:07,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:07 3.2.0-dev.19 [Pipeline] } 02:50:07 $ docker exec --env ******** --env ******** cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 ssh-agent -k 02:50:07 unset SSH_AUTH_SOCK; 02:50:07 unset SSH_AGENT_PID; 02:50:07 echo Agent pid 38 killed; 02:50:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:08 + git semver [Pipeline] } 02:50:08 $ docker stop --time=1 cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 02:50:09 $ docker rm -f --volumes cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:10 02:50:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:10 0.23.1-centos7: Pulling from edgex-lftools 02:50:10 ab5ef0e58194: Pulling fs layer 02:50:10 9712f1f96733: Pulling fs layer 02:50:10 63f879dbbcfc: Pulling fs layer 02:50:10 0d9ebad4ef96: Pulling fs layer 02:50:10 e9a5061849ea: Pulling fs layer 02:50:10 d747dcd14b5f: Pulling fs layer 02:50:10 2de7ff778b66: Pulling fs layer 02:50:10 d747dcd14b5f: Waiting 02:50:10 e9a5061849ea: Waiting 02:50:10 2de7ff778b66: Waiting 02:50:10 0d9ebad4ef96: Waiting 02:50:10 9712f1f96733: Verifying Checksum 02:50:10 9712f1f96733: Download complete 02:50:10 63f879dbbcfc: Verifying Checksum 02:50:10 63f879dbbcfc: Download complete 02:50:10 e9a5061849ea: Verifying Checksum 02:50:10 e9a5061849ea: Download complete 02:50:10 d747dcd14b5f: Verifying Checksum 02:50:10 d747dcd14b5f: Download complete 02:50:10 0d9ebad4ef96: Verifying Checksum 02:50:10 0d9ebad4ef96: Download complete 02:50:10 ab5ef0e58194: Verifying Checksum 02:50:10 ab5ef0e58194: Download complete 02:50:10 2de7ff778b66: Verifying Checksum 02:50:10 2de7ff778b66: Download complete 02:50:13 ab5ef0e58194: Pull complete 02:50:13 9712f1f96733: Pull complete 02:50:14 63f879dbbcfc: Pull complete 02:50:18 0d9ebad4ef96: Pull complete 02:50:18 e9a5061849ea: Pull complete 02:50:18 d747dcd14b5f: Pull complete 02:50:19 2de7ff778b66: Pull complete 02:50:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:50:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:19 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:50:19 $ 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 02:50:26 $ docker top e468a98f9ce1b5614f3b43cf3d823f17ff433ff5a5001899103c7646114636b7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:50:26 provisioning config files... 02:50:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17198843592928411227tmp 02:50:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12932747915127982252tmp 02:50:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config715252693760822540tmp [Pipeline] { [Pipeline] echo 02:50:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:50:27 ---> sigul-configuration.sh 02:50:27 gpg: directory `/root/.gnupg' created 02:50:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:50:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:50:27 gpg: keyring `/root/.gnupg/secring.gpg' created 02:50:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:50:27 gpg: CAST5 encrypted data 02:50:27 gpg: encrypted with 1 passphrase 02:50:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:50:27 + mkdir /home/jenkins 02:50:27 + mkdir /home/jenkins/sigul [Pipeline] sh 02:50:27 + 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 02:50:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:28 ---> sigul-install.sh 02:50:28 Sigul already installed; skipping installation. [Pipeline] sh 02:50:28 + git tag --list 02:50:28 v1.0.0 02:50:28 v1.1.0 02:50:28 v1.1.1 02:50:28 v1.1.2 02:50:28 v1.2.0 02:50:28 v1.2.1 02:50:28 v2.0.0 02:50:28 v2.1.0 02:50:28 v2.1.1 02:50:28 v2.2.0 02:50:28 v2.3.0 02:50:28 v3.0 02:50:28 v3.0.0 02:50:28 v3.1 02:50:28 v3.1.0 02:50:28 v3.1.0-dev.1 02:50:28 v3.1.0-dev.10 02:50:28 v3.1.0-dev.11 02:50:28 v3.1.0-dev.12 02:50:28 v3.1.0-dev.13 02:50:28 v3.1.0-dev.14 02:50:28 v3.1.0-dev.15 02:50:28 v3.1.0-dev.16 02:50:28 v3.1.0-dev.17 02:50:28 v3.1.0-dev.18 02:50:28 v3.1.0-dev.19 02:50:28 v3.1.0-dev.2 02:50:28 v3.1.0-dev.20 02:50:28 v3.1.0-dev.21 02:50:28 v3.1.0-dev.22 02:50:28 v3.1.0-dev.23 02:50:28 v3.1.0-dev.24 02:50:28 v3.1.0-dev.25 02:50:28 v3.1.0-dev.26 02:50:28 v3.1.0-dev.27 02:50:28 v3.1.0-dev.28 02:50:28 v3.1.0-dev.29 02:50:28 v3.1.0-dev.3 02:50:28 v3.1.0-dev.30 02:50:28 v3.1.0-dev.31 02:50:28 v3.1.0-dev.32 02:50:28 v3.1.0-dev.4 02:50:28 v3.1.0-dev.5 02:50:28 v3.1.0-dev.6 02:50:28 v3.1.0-dev.7 02:50:28 v3.1.0-dev.8 02:50:28 v3.1.0-dev.9 02:50:28 v3.1.1 02:50:28 v3.2.0-dev.1 02:50:28 v3.2.0-dev.10 02:50:28 v3.2.0-dev.11 02:50:28 v3.2.0-dev.12 02:50:28 v3.2.0-dev.13 02:50:28 v3.2.0-dev.14 02:50:28 v3.2.0-dev.15 02:50:28 v3.2.0-dev.16 02:50:28 v3.2.0-dev.17 02:50:28 v3.2.0-dev.18 02:50:28 v3.2.0-dev.19 02:50:28 v3.2.0-dev.2 02:50:28 v3.2.0-dev.3 02:50:28 v3.2.0-dev.4 02:50:28 v3.2.0-dev.5 02:50:28 v3.2.0-dev.6 02:50:28 v3.2.0-dev.7 02:50:28 v3.2.0-dev.8 02:50:28 v3.2.0-dev.9 [Pipeline] sh 02:50:28 + lftools sign git-tag v3.2.0-dev.19 02:50:29 Signing Git tag with Sigul... 02:50:29 Signing v3.2.0-dev.19 [Pipeline] echo 02:50:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:50:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:50:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:50:29 $ docker stop --time=1 e468a98f9ce1b5614f3b43cf3d823f17ff433ff5a5001899103c7646114636b7 02:50:31 $ docker rm -f --volumes e468a98f9ce1b5614f3b43cf3d823f17ff433ff5a5001899103c7646114636b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:50:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:32 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:32 $ docker top 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:32 [ssh-agent] Looking for ssh-agent implementation... 02:50:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:32 $ docker exec 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 ssh-agent 02:50:32 SSH_AUTH_SOCK=/tmp/ssh-hGJsSLDWcE61/agent.31 02:50:32 SSH_AGENT_PID=37 02:50:32 Running ssh-add (command line suppressed) 02:50:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9159092183565447143.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9159092183565447143.key) 02:50:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:33 + git semver bump pre 02:50:33 2024-07-31 02:50:33,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:33 2024-07-31 02:50:33,467 [bump_version] DEBUG bumping version:3.2.0-dev.19 on axis:pre with prefix:dev 02:50:33 2024-07-31 02:50:33,467 [bump_version] DEBUG bumped version:3.2.0-dev.20 02:50:33 2024-07-31 02:50:33,467 [write_version] DEBUG write version:3.2.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 02:50:33 2024-07-31 02:50:33,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:33 2024-07-31 02:50:33,468 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:33 2024-07-31 02:50:33,469 [execute] INFO git cat-file --batch-check 02:50:33 2024-07-31 02:50:33,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:33 2024-07-31 02:50:33,475 [execute] INFO git cat-file --batch 02:50:33 2024-07-31 02:50:33,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:33 2024-07-31 02:50:33,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:33 3.2.0-dev.20 [Pipeline] } 02:50:33 $ docker exec --env ******** --env ******** 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 ssh-agent -k 02:50:33 unset SSH_AUTH_SOCK; 02:50:33 unset SSH_AGENT_PID; 02:50:33 echo Agent pid 37 killed; 02:50:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:33 + git semver [Pipeline] } 02:50:34 $ docker stop --time=1 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 02:50:35 $ docker rm -f --volumes 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:36 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:50:36 $ 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 02:50:36 $ docker top 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 -eo pid,comm 02:50:36 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). 02:50:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:36 [ssh-agent] Looking for ssh-agent implementation... 02:50:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:36 $ docker exec 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 ssh-agent 02:50:36 SSH_AUTH_SOCK=/tmp/ssh-4TMkXOytTaxW/agent.31 02:50:36 SSH_AGENT_PID=37 02:50:36 Running ssh-add (command line suppressed) 02:50:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6343945065040836315.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6343945065040836315.key) 02:50:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:37 + git semver push 02:50:37 2024-07-31 02:50:37,514 [run_push] DEBUG push 02:50:37 2024-07-31 02:50:37,515 [execute] INFO git cat-file --batch-check 02:50:37 2024-07-31 02:50:37,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:50:37 2024-07-31 02:50:37,517 [execute] INFO git rev-list 35970c2a0bbba75fec223ee24a7d0b4ca605e1d0 -- 02:50:37 2024-07-31 02:50:37,518 [execute] DEBUG Popen(['git', 'rev-list', '35970c2a0bbba75fec223ee24a7d0b4ca605e1d0', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:37 2024-07-31 02:50:37,525 [execute] INFO git fetch -v origin 02:50:37 2024-07-31 02:50:37,525 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:50:38 2024-07-31 02:50:37,973 [run_push] DEBUG no remote changes detected 02:50:38 2024-07-31 02:50:37,974 [execute] INFO git push origin semver 02:50:38 2024-07-31 02:50:37,974 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:50:38 2024-07-31 02:50:38,690 [run_push] DEBUG push all version tags 02:50:38 2024-07-31 02:50:38,691 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:50:38 2024-07-31 02:50:38,691 [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) 02:50:39 2024-07-31 02:50:39,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:50:39 3.2.0-dev.20 [Pipeline] } 02:50:39 $ docker exec --env ******** --env ******** 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 ssh-agent -k 02:50:39 unset SSH_AUTH_SOCK; 02:50:39 unset SSH_AGENT_PID; 02:50:39 echo Agent pid 37 killed; 02:50:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:40 + git semver [Pipeline] } 02:50:40 $ docker stop --time=1 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 02:50:41 $ docker rm -f --volumes 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 [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 02:50:42 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:50:42 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:50:42 total 16 02:50:42 drwxr-xr-x 3 root root 4096 Jul 31 02:34 . 02:50:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:50 .. 02:50:42 drwxr-xr-x 2 root root 4096 Jul 31 02:34 cost 02:50:42 -rw-r--r-- 1 root root 86 Jul 31 02:34 cost.csv 02:50:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:50:42 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:50:42 total 16 02:50:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:34 . 02:50:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:50 .. 02:50:42 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:34 cost 02:50:42 -rw-r--r-- 1 jenkins jenkins 86 Jul 31 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:50:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:43 ---> package-listing.sh 02:50:43 ++ facter osfamily 02:50:43 ++ tr '[:upper:]' '[:lower:]' 02:50:43 + OS_FAMILY=debian 02:50:43 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:50:43 + START_PACKAGES=/tmp/packages_start.txt 02:50:43 + END_PACKAGES=/tmp/packages_end.txt 02:50:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:43 + PACKAGES=/tmp/packages_start.txt 02:50:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:50:43 + PACKAGES=/tmp/packages_end.txt 02:50:43 + case "${OS_FAMILY}" in 02:50:43 + grep '^ii' 02:50:43 + dpkg -l 02:50:43 + '[' -f /tmp/packages_start.txt ']' 02:50:43 + '[' -f /tmp/packages_end.txt ']' 02:50:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:50:43 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:50:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:50:43 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 02:50:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:46 prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container 02:50:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:50:46 $ docker top eebd45e4686db545209efc239b04146def153ef894fe4a937417b9d90cf6850e -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:46 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:47 + mkdir -p /var/log/sysstat [Pipeline] sh 02:50:47 + ls /var/log/sa-host 02:50:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:47 provisioning config files... 02:50:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5027315441562518230tmp [Pipeline] { [Pipeline] echo 02:50:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:47 ---> create-netrc.sh [Pipeline] } 02:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> python-tools-install.sh [Pipeline] echo 02:50:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> sudo-logs.sh 02:50:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:50:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> job-cost.sh 02:50:48 lf-activate-venv: SKIPPING 02:50:48 DEBUG: total: 0.2199999988079071 02:50:48 INFO: Retrieving Stack Cost... 02:50:49 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:49 INFO: Archiving Costs [Pipeline] echo 02:50:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> logs-deploy.sh 02:50:49 lf-activate-venv: SKIPPING 02:50:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/171 02:50:49 INFO: archiving workspace using pattern(s): 02:50:50 Archives upload complete. 02:50:50 INFO: archiving logs to Nexus