Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f16f1098eb92bf801dde80d57265cdf1f99e8d64 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-ssh1964873550721555253.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-ssh3222797788157994259.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-ssh11243580297350979650.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-ssh8661347237562589839.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-ssh11016641207393686547.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 ‘prd-centos7-blackbox-4c-2g-5991’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5992’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6008’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6010 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 f16f1098eb92bf801dde80d57265cdf1f99e8d64 (main) Commit message: "Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" > git config core.sparsecheckout # timeout=10 > git checkout -f f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 > git rev-list --no-walk ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:14:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:14:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:14:46 ========================================================= 15:14:46 EdgeX Global Pipelines Version Info 15:14:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:14:46 ------------------- 15:14:46 stable info: 15:14:46 ------------------- 15:14:46 Commited By: Ginny Guan ginny@iotechsys.com 15:14:46 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 15:14:46 Message: update stable to v1.0.260 15:14:47 ------------------- 15:14:47 experimental info: 15:14:47 ------------------- 15:14:47 Commited By: Ginny Guan ginny@iotechsys.com 15:14:47 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 15:14:47 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:14:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f16f109 [Pipeline] echo 15:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:14:48 provisioning config files... 15:14:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10270421685453760011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:14:48 ---> ****-login.sh 15:14:48 nexus3.edgexfoundry.org:10001 15:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:14:48 Configure a credential helper to remove this warning. See 15:14:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:14:48 15:14:48 Login Succeeded 15:14:48 nexus3.edgexfoundry.org:10002 15:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:14:48 Configure a credential helper to remove this warning. See 15:14:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:14:48 15:14:48 Login Succeeded 15:14:48 nexus3.edgexfoundry.org:10003 15:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:14:49 Configure a credential helper to remove this warning. See 15:14:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:14:49 15:14:49 Login Succeeded 15:14:49 nexus3.edgexfoundry.org:10004 15:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:14:49 Configure a credential helper to remove this warning. See 15:14:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:14:49 15:14:49 Login Succeeded 15:14:49 ****.io 15:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:14:49 Configure a credential helper to remove this warning. See 15:14:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:14:49 15:14:49 Login Succeeded 15:14:49 ---> ****-login.sh ends [Pipeline] } 15:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:14:49 + git rev-list -1 --merges f16f1098eb92bf801dde80d57265cdf1f99e8d64~1..f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo 15:14:49 -----------> git rev-list -1 --merges f16f1098eb92bf801dde80d57265cdf1f99e8d64~1..f16f1098eb92bf801dde80d57265cdf1f99e8d64 f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:14:49 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [false] [Pipeline] sh 15:14:50 + git log --format=format:%s -1 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo 15:14:50 ========================================================= 15:14:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:14:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:50 + git log --format=format:%s -1 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo 15:14:50 [semverPrep] GIT_COMMIT: f16f1098eb92bf801dde80d57265cdf1f99e8d64, Commit Message: Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25 [Pipeline] echo 15:14:50 [semverPrep] This is not a build commit. [Pipeline] sh 15:14:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:14:50 + grep -v github /etc/ssh/ssh_known_hosts 15:14:50 + [ -e /tmp/ssh_known_hosts ] 15:14:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:14:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:14:50 + sudo tee -a /etc/ssh/ssh_known_hosts 15:14:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:51 15:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:51 0.1.4: Pulling from edgex-devops/py-git-semver 15:14:51 b85a868b505f: Pulling fs layer 15:14:51 e2be974225ed: Pulling fs layer 15:14:51 339a4e72a1f5: Pulling fs layer 15:14:51 988bab9f4d93: Pulling fs layer 15:14:51 1469e6f7b9e6: Pulling fs layer 15:14:51 eaf3925da568: Pulling fs layer 15:14:51 bab4dde63d76: Pulling fs layer 15:14:51 bde34c3a00c8: Pulling fs layer 15:14:51 b352a97aabf1: Pulling fs layer 15:14:51 4872d77fe225: Pulling fs layer 15:14:51 5851b861e8e6: Pulling fs layer 15:14:51 988bab9f4d93: Waiting 15:14:51 1469e6f7b9e6: Waiting 15:14:51 eaf3925da568: Waiting 15:14:51 bab4dde63d76: Waiting 15:14:51 bde34c3a00c8: Waiting 15:14:51 b352a97aabf1: Waiting 15:14:51 4872d77fe225: Waiting 15:14:51 5851b861e8e6: Waiting 15:14:51 e2be974225ed: Verifying Checksum 15:14:51 e2be974225ed: Download complete 15:14:51 988bab9f4d93: Verifying Checksum 15:14:51 988bab9f4d93: Download complete 15:14:51 339a4e72a1f5: Download complete 15:14:51 1469e6f7b9e6: Verifying Checksum 15:14:51 1469e6f7b9e6: Download complete 15:14:51 eaf3925da568: Verifying Checksum 15:14:51 eaf3925da568: Download complete 15:14:51 bde34c3a00c8: Verifying Checksum 15:14:51 bde34c3a00c8: Download complete 15:14:51 b352a97aabf1: Download complete 15:14:51 4872d77fe225: Download complete 15:14:51 5851b861e8e6: Verifying Checksum 15:14:51 5851b861e8e6: Download complete 15:14:51 b85a868b505f: Verifying Checksum 15:14:51 b85a868b505f: Download complete 15:14:52 bab4dde63d76: Verifying Checksum 15:14:52 bab4dde63d76: Download complete 15:14:53 b85a868b505f: Pull complete 15:14:53 e2be974225ed: Pull complete 15:14:53 339a4e72a1f5: Pull complete 15:14:53 988bab9f4d93: Pull complete 15:14:54 1469e6f7b9e6: Pull complete 15:14:54 eaf3925da568: Pull complete 15:14:56 bab4dde63d76: Pull complete 15:14:56 bde34c3a00c8: Pull complete 15:14:56 b352a97aabf1: Pull complete 15:14:56 4872d77fe225: Pull complete 15:14:56 5851b861e8e6: Pull complete 15:14:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:14:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:14:56 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:14:56 $ 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 15:15:00 $ docker top 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af -eo pid,comm 15:15:00 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). 15:15:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:15:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:05 [ssh-agent] Looking for ssh-agent implementation... 15:15:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:05 $ docker exec 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent 15:15:05 SSH_AUTH_SOCK=/tmp/ssh-rtOkIOoichBx/agent.34 15:15:05 SSH_AGENT_PID=40 15:15:05 Running ssh-add (command line suppressed) 15:15:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9402034278876701857.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9402034278876701857.key) 15:15:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:06 + git tag --points-at HEAD [Pipeline] } 15:15:06 $ docker exec --env ******** --env ******** 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent -k 15:15:06 unset SSH_AUTH_SOCK; 15:15:06 unset SSH_AGENT_PID; 15:15:06 echo Agent pid 40 killed; 15:15:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:15:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:06 [ssh-agent] Looking for ssh-agent implementation... 15:15:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:06 $ docker exec 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent 15:15:06 SSH_AUTH_SOCK=/tmp/ssh-7YsnhwmJlX59/agent.73 15:15:06 SSH_AGENT_PID=79 15:15:06 Running ssh-add (command line suppressed) 15:15:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5625048681408212263.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5625048681408212263.key) 15:15:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:07 + git semver init 15:15:07 2024-07-20 15:15:07,313 [run_init] DEBUG init version:0.0.0 force:False 15:15:07 2024-07-20 15:15:07,314 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 15:15:07 2024-07-20 15:15:07,315 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:15:07 2024-07-20 15:15:07,315 [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) 15:15:09 2024-07-20 15:15:08,895 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 15:15:09 2024-07-20 15:15:08,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 15:15:09 2024-07-20 15:15:08,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:15:09 2024-07-20 15:15:08,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:15:09 3.2.0-dev.17 [Pipeline] } 15:15:09 $ docker exec --env ******** --env ******** 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent -k 15:15:09 unset SSH_AUTH_SOCK; 15:15:09 unset SSH_AGENT_PID; 15:15:09 echo Agent pid 79 killed; 15:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:15:09 + git semver [Pipeline] } 15:15:10 $ docker stop --time=1 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af 15:15:11 $ docker rm -f --volumes 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af [Pipeline] // withDockerContainer [Pipeline] sh 15:15:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:15:11 Stashed 1 file(s) [Pipeline] echo 15:15:11 [edgeXSemver]: initialized semver on version 3.2.0-dev.17 [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 15:15:12 provisioning config files... 15:15:12 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9140160553294044649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:12 ---> ****-login.sh 15:15:12 nexus3.edgexfoundry.org:10001 15:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:15:12 Configure a credential helper to remove this warning. See 15:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:15:12 15:15:12 Login Succeeded 15:15:12 nexus3.edgexfoundry.org:10002 15:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:15:12 Configure a credential helper to remove this warning. See 15:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:15:12 15:15:12 Login Succeeded 15:15:12 nexus3.edgexfoundry.org:10003 15:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:15:12 Configure a credential helper to remove this warning. See 15:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:15:12 15:15:12 Login Succeeded 15:15:12 nexus3.edgexfoundry.org:10004 15:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:15:12 Configure a credential helper to remove this warning. See 15:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:15:12 15:15:12 Login Succeeded 15:15:12 ****.io 15:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:15:12 Configure a credential helper to remove this warning. See 15:15:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:15:12 15:15:12 Login Succeeded 15:15:12 ---> ****-login.sh ends [Pipeline] } 15:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:15:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:15:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:15:13 ========================================================= 15:15:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:15:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:13 + 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 . 15:15:13 Sending build context to Docker daemon 16.54MB 15:15:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:15:13 Step 2/12 : FROM ${BASE} AS builder 15:15:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:15:13 619be1103602: Pulling fs layer 15:15:13 7862e08f4a3e: Pulling fs layer 15:15:13 5df492c9dc93: Pulling fs layer 15:15:13 7629e6793208: Pulling fs layer 15:15:13 4f4fb700ef54: Pulling fs layer 15:15:13 fb5054dd5b73: Pulling fs layer 15:15:13 eeca6798cff9: Pulling fs layer 15:15:13 aa269ceb94a6: Pulling fs layer 15:15:13 ada007ff1a6a: Pulling fs layer 15:15:13 7629e6793208: Waiting 15:15:13 4f4fb700ef54: Waiting 15:15:13 fb5054dd5b73: Waiting 15:15:13 eeca6798cff9: Waiting 15:15:13 7862e08f4a3e: Verifying Checksum 15:15:13 7862e08f4a3e: Download complete 15:15:13 7629e6793208: Verifying Checksum 15:15:13 7629e6793208: Download complete 15:15:13 4f4fb700ef54: Download complete 15:15:13 fb5054dd5b73: Download complete 15:15:13 619be1103602: Verifying Checksum 15:15:13 619be1103602: Download complete 15:15:13 eeca6798cff9: Verifying Checksum 15:15:13 eeca6798cff9: Download complete 15:15:13 619be1103602: Pull complete 15:15:13 ada007ff1a6a: Download complete 15:15:13 7862e08f4a3e: Pull complete 15:15:14 5df492c9dc93: Verifying Checksum 15:15:14 5df492c9dc93: Download complete 15:15:14 aa269ceb94a6: Verifying Checksum 15:15:14 aa269ceb94a6: Download complete 15:15:17 5df492c9dc93: Pull complete 15:15:17 7629e6793208: Pull complete 15:15:17 4f4fb700ef54: Pull complete 15:15:17 fb5054dd5b73: Pull complete 15:15:17 eeca6798cff9: Pull complete 15:15:20 aa269ceb94a6: Pull complete 15:15:21 ada007ff1a6a: Pull complete 15:15:21 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 15:15:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:15:21 ---> f489d0715acc 15:15:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:15:27 Still waiting to schedule task 15:15:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6007’ 15:15:27 ---> Running in dfdb21bf42a0 15:15:27 Removing intermediate container dfdb21bf42a0 15:15:27 ---> 9b0e5cd6a2fc 15:15:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:15:27 ---> Running in 6f9464933aad 15:15:27 Removing intermediate container 6f9464933aad 15:15:27 ---> 876b83e59744 15:15:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:15:27 ---> Running in 28b6d7f10f6d 15:15:27 Removing intermediate container 28b6d7f10f6d 15:15:27 ---> 9f3084ccf68f 15:15:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:15:27 ---> Running in d82179c27247 15:15:27 Removing intermediate container d82179c27247 15:15:27 ---> 22d8cd747bd5 15:15:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:15:27 ---> Running in f23efb6edbea 15:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:15:27 (1/4) Installing openssh-keygen (9.3_p2-r2) 15:15:27 (2/4) Installing libedit (20221030.3.1-r1) 15:15:27 (3/4) Installing openssh-client-common (9.3_p2-r2) 15:15:27 (4/4) Installing openssh-client-default (9.3_p2-r2) 15:15:27 Executing busybox-1.36.1-r5.trigger 15:15:27 OK: 268 MiB in 56 packages 15:15:28 Removing intermediate container f23efb6edbea 15:15:28 ---> 5b3db57c83e3 15:15:28 Step 8/12 : WORKDIR /device-rest-go 15:15:28 ---> Running in 8898a7dd269f 15:15:28 Removing intermediate container 8898a7dd269f 15:15:28 ---> e198d4400ab0 15:15:28 Step 9/12 : COPY go.mod vendor* ./ 15:15:28 ---> ccb664c56dbb 15:15:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:15:28 ---> Running in 330142f6feea 15:16:25 Removing intermediate container 330142f6feea 15:16:25 ---> fd978cc3c3f1 15:16:25 Step 11/12 : COPY . . 15:16:25 ---> ec17100d589f 15:16:25 Step 12/12 : RUN $MAKE 15:16:25 ---> Running in 7675e88d0329 15:16:25 noop 15:16:25 Removing intermediate container 7675e88d0329 15:16:25 ---> 7bff6323d100 15:16:25 Successfully built 7bff6323d100 15:16:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:25 + docker inspect -f . ci-base-image-x86_64 15:16:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:25 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:16:25 $ 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 15:16:26 $ docker top 97aed2f82ad7dbc1ecb6e843c13b17f08ca3b553166db484820ab7743e3680ea -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:26 + go version 15:16:26 go version go1.21.9 linux/amd64 [Pipeline] } 15:16:26 $ docker stop --time=1 97aed2f82ad7dbc1ecb6e843c13b17f08ca3b553166db484820ab7743e3680ea 15:16:27 $ docker rm -f --volumes 97aed2f82ad7dbc1ecb6e843c13b17f08ca3b553166db484820ab7743e3680ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:28 + docker inspect -f . ci-base-image-x86_64 15:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:28 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:16:28 $ 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 15:16:28 $ docker top 788bd47a482e0529815cd51c0ed774d46f9fd2f509e7b23e57999d0e0e211240 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 15:16:29 + make test 15:16:29 go test ./... -coverprofile=coverage.out ./... 15:16:31 ? github.com/edgexfoundry/device-rest-go [no test files] 15:16:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:16:49 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 15:16:59 go vet ./... 15:17:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:17:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:17:03 ./bin/test-attribution-txt.sh 15:17:03 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 15:17:03 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 15:17:03 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 15:17:03 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 15:17:03 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 15:17:03 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 15:17:03 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 15:17:03 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 15:17:03 An attribution for golang.org/x/term is missing from Attribution.txt, please add 15:17:03 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 15:17:03 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 15:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:17:03 $ docker stop --time=1 788bd47a482e0529815cd51c0ed774d46f9fd2f509e7b23e57999d0e0e211240 15:17:08 $ docker rm -f --volumes 788bd47a482e0529815cd51c0ed774d46f9fd2f509e7b23e57999d0e0e211240 [Pipeline] // withDockerContainer [Pipeline] sh 15:17:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:17:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:17:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:10 + ls -al . 15:17:10 total 248 15:17:10 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 15:16 . 15:17:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 15:14 .. 15:17:10 -rw-rw-r-- 1 jenkins jenkins 151 Jul 20 15:14 .dockerignore 15:17:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 15:16 .git 15:17:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:14 .github 15:17:10 -rw-rw-r-- 1 jenkins jenkins 264 Jul 20 15:14 .gitignore 15:17:10 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 15:14 .golangci.yml 15:17:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 15:15 .semver 15:17:10 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 20 15:14 Attribution.txt 15:17:10 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 20 15:14 CHANGELOG.md 15:17:10 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 20 15:14 Dockerfile 15:17:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 15:14 GOVERNANCE.md 15:17:10 -rw-rw-r-- 1 jenkins jenkins 680 Jul 20 15:14 Jenkinsfile 15:17:10 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 15:14 LICENSE 15:17:10 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 20 15:14 Makefile 15:17:10 -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 15:14 OWNERS.md 15:17:10 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 20 15:14 README.md 15:17:10 -rw-rw-r-- 1 jenkins jenkins 12 Jul 20 15:15 VERSION 15:17:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:14 bin 15:17:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:14 cmd 15:17:10 -rw-r--r-- 1 jenkins jenkins 14499 Jul 20 15:16 coverage.out 15:17:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:14 driver 15:17:10 -rw-rw-r-- 1 jenkins jenkins 7133 Jul 20 15:14 go.mod 15:17:10 -rw-rw-r-- 1 jenkins jenkins 101671 Jul 20 15:14 go.sum 15:17:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:14 openapi 15:17:10 -rw-rw-r-- 1 jenkins jenkins 713 Jul 20 15:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:10 + 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=f16f1098eb92bf801dde80d57265cdf1f99e8d64 --label arch=amd64 --label version=3.2.0-dev.17 . 15:17:10 Sending build context to Docker daemon 16.56MB 15:17:10 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:17:10 Step 2/26 : FROM ${BASE} AS builder 15:17:10 ---> 7bff6323d100 15:17:10 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:17:10 ---> Running in 6a92522d556e 15:17:10 Removing intermediate container 6a92522d556e 15:17:10 ---> 4fe7b9c39e33 15:17:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:17:10 ---> Running in f27d125ac67d 15:17:10 Removing intermediate container f27d125ac67d 15:17:10 ---> c8cbf79d0b61 15:17:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:17:10 ---> Running in d05bdf7db818 15:17:10 Removing intermediate container d05bdf7db818 15:17:10 ---> cedec28ee608 15:17:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:17:10 ---> Running in 74b1e10e7d0a 15:17:10 Removing intermediate container 74b1e10e7d0a 15:17:10 ---> 52b94f064097 15:17:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:10 ---> Running in 4024f5f0b0a9 15:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:17:11 OK: 268 MiB in 56 packages 15:17:11 Removing intermediate container 4024f5f0b0a9 15:17:11 ---> d4b83e6f60a0 15:17:11 Step 8/26 : WORKDIR /device-rest-go 15:17:11 ---> Running in 730617f751ca 15:17:11 Removing intermediate container 730617f751ca 15:17:11 ---> 5e35d08e3827 15:17:11 Step 9/26 : COPY go.mod vendor* ./ 15:17:11 ---> 09fdf5f9f680 15:17:11 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:17:12 ---> Running in cf7ef9842854 15:17:12 Removing intermediate container cf7ef9842854 15:17:12 ---> 0bf0453a4f42 15:17:12 Step 11/26 : COPY . . 15:17:13 ---> 76d65f933354 15:17:13 Step 12/26 : RUN $MAKE 15:17:13 ---> Running in d7386ebdef82 15:17:13 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:17:45 Removing intermediate container d7386ebdef82 15:17:45 ---> e590c861d467 15:17:45 Step 13/26 : FROM alpine:3.18 15:17:45 3.18: Pulling from library/alpine 15:17:45 73baa7ef167e: Pulling fs layer 15:17:45 73baa7ef167e: Download complete 15:17:45 73baa7ef167e: Pull complete 15:17:45 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 15:17:45 Status: Downloaded newer image for alpine:3.18 15:17:45 ---> 8fd7cac70a4a 15:17:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:17:45 ---> Running in aee47fc2f64d 15:17:45 Removing intermediate container aee47fc2f64d 15:17:45 ---> d91b6e65a129 15:17:45 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 15:17:45 ---> Running in 5d60f223d79d 15:17:45 Removing intermediate container 5d60f223d79d 15:17:45 ---> 67ce0d0f5dc0 15:17:45 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:17:45 ---> Running in 3ad1e15a2217 15:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:17:45 (1/1) Installing dumb-init (1.2.5-r2) 15:17:45 Executing busybox-1.36.1-r7.trigger 15:17:45 OK: 7 MiB in 16 packages 15:17:46 Removing intermediate container 3ad1e15a2217 15:17:46 ---> 5d327712d8f3 15:17:46 Step 17/26 : RUN apk --no-cache upgrade 15:17:46 ---> Running in f28cecc9dab0 15:17:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:17:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:17:46 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 15:17:46 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 15:17:46 OK: 7 MiB in 16 packages 15:17:47 Removing intermediate container f28cecc9dab0 15:17:47 ---> 1a9013e1e162 15:17:47 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 15:17:48 ---> 28e0a9053627 15:17:48 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 15:17:48 ---> 47319cace5a3 15:17:48 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 15:17:48 ---> 94bea786b8b5 15:17:48 Step 21/26 : EXPOSE 59986 15:17:48 ---> Running in 8346df08a210 15:17:48 Removing intermediate container 8346df08a210 15:17:48 ---> 6c2ae96f9cb2 15:17:48 Step 22/26 : ENTRYPOINT ["/device-rest"] 15:17:48 ---> Running in ba6dc9005b33 15:17:48 Removing intermediate container ba6dc9005b33 15:17:48 ---> 1ef3ba95942e 15:17:48 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:17:48 ---> Running in cf6d253d4460 15:17:48 Removing intermediate container cf6d253d4460 15:17:48 ---> e7cceede321b 15:17:48 Step 24/26 : LABEL arch=amd64 15:17:48 ---> Running in 85b2a26d698c 15:17:49 Removing intermediate container 85b2a26d698c 15:17:49 ---> 19616ac6172d 15:17:49 Step 25/26 : LABEL git_sha=f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:17:49 ---> Running in 6a139a579dca 15:17:49 Removing intermediate container 6a139a579dca 15:17:49 ---> f634d838032d 15:17:49 Step 26/26 : LABEL version=3.2.0-dev.17 15:17:49 ---> Running in 90f010c067e4 15:17:49 Removing intermediate container 90f010c067e4 15:17:49 ---> fc7268494f44 15:17:49 [Warning] One or more build-args [ARCH] were not consumed 15:17:49 Successfully built fc7268494f44 15:17:49 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:49 provisioning config files... 15:17:49 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9111136307324349027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:49 ---> ****-login.sh 15:17:49 nexus3.edgexfoundry.org:10001 15:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:17:49 Configure a credential helper to remove this warning. See 15:17:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:17:49 15:17:49 Login Succeeded 15:17:49 nexus3.edgexfoundry.org:10002 15:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:17:49 Configure a credential helper to remove this warning. See 15:17:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:17:49 15:17:49 Login Succeeded 15:17:49 nexus3.edgexfoundry.org:10003 15:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:17:49 Configure a credential helper to remove this warning. See 15:17:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:17:49 15:17:49 Login Succeeded 15:17:49 nexus3.edgexfoundry.org:10004 15:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:17:49 Configure a credential helper to remove this warning. See 15:17:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:17:49 15:17:49 Login Succeeded 15:17:49 ****.io 15:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:17:50 Configure a credential helper to remove this warning. See 15:17:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:17:50 15:17:50 Login Succeeded 15:17:50 ---> ****-login.sh ends [Pipeline] } 15:17:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:17:50 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:17:50 f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:17:50 latest 15:17:50 3.2.0-dev.17 15:17:50 f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 15:17:50 main 15:17:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:17:50 1ad4fd4e8d61: Preparing 15:17:50 d572f4f39a66: Preparing 15:17:50 18d7e2cd31c4: Preparing 15:17:50 d5e317fb2e04: Preparing 15:17:50 c7c761bf8c5c: Preparing 15:17:50 63ec0bd56cf3: Preparing 15:17:50 63ec0bd56cf3: Waiting 15:17:50 c7c761bf8c5c: Pushed 15:17:50 63ec0bd56cf3: Layer already exists 15:17:50 1ad4fd4e8d61: Pushed 15:17:50 d572f4f39a66: Pushed 15:17:51 d5e317fb2e04: Pushed 15:17:53 18d7e2cd31c4: Pushed 15:17:53 f16f1098eb92bf801dde80d57265cdf1f99e8d64: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 15:17:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:17:54 1ad4fd4e8d61: Preparing 15:17:54 d572f4f39a66: Preparing 15:17:54 18d7e2cd31c4: Preparing 15:17:54 d5e317fb2e04: Preparing 15:17:54 c7c761bf8c5c: Preparing 15:17:54 63ec0bd56cf3: Preparing 15:17:54 63ec0bd56cf3: Waiting 15:17:54 18d7e2cd31c4: Layer already exists 15:17:54 d572f4f39a66: Layer already exists 15:17:54 c7c761bf8c5c: Layer already exists 15:17:54 1ad4fd4e8d61: Layer already exists 15:17:54 d5e317fb2e04: Layer already exists 15:17:54 63ec0bd56cf3: Layer already exists 15:17:54 latest: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.17 15:17:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:17:55 1ad4fd4e8d61: Preparing 15:17:55 d572f4f39a66: Preparing 15:17:55 18d7e2cd31c4: Preparing 15:17:55 d5e317fb2e04: Preparing 15:17:55 c7c761bf8c5c: Preparing 15:17:55 63ec0bd56cf3: Preparing 15:17:55 63ec0bd56cf3: Waiting 15:17:55 d5e317fb2e04: Layer already exists 15:17:55 c7c761bf8c5c: Layer already exists 15:17:55 d572f4f39a66: Layer already exists 15:17:55 1ad4fd4e8d61: Layer already exists 15:17:55 18d7e2cd31c4: Layer already exists 15:17:55 63ec0bd56cf3: Layer already exists 15:17:55 3.2.0-dev.17: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 15:17:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:17:55 1ad4fd4e8d61: Preparing 15:17:55 d572f4f39a66: Preparing 15:17:55 18d7e2cd31c4: Preparing 15:17:55 d5e317fb2e04: Preparing 15:17:55 c7c761bf8c5c: Preparing 15:17:55 63ec0bd56cf3: Preparing 15:17:55 63ec0bd56cf3: Waiting 15:17:55 d572f4f39a66: Layer already exists 15:17:55 1ad4fd4e8d61: Layer already exists 15:17:55 c7c761bf8c5c: Layer already exists 15:17:55 18d7e2cd31c4: Layer already exists 15:17:55 d5e317fb2e04: Layer already exists 15:17:55 63ec0bd56cf3: Layer already exists 15:17:55 f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 15:17:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:17:56 1ad4fd4e8d61: Preparing 15:17:56 d572f4f39a66: Preparing 15:17:56 18d7e2cd31c4: Preparing 15:17:56 d5e317fb2e04: Preparing 15:17:56 c7c761bf8c5c: Preparing 15:17:56 63ec0bd56cf3: Preparing 15:17:56 63ec0bd56cf3: Waiting 15:17:56 c7c761bf8c5c: Layer already exists 15:17:56 18d7e2cd31c4: Layer already exists 15:17:56 d572f4f39a66: Layer already exists 15:17:56 1ad4fd4e8d61: Layer already exists 15:17:56 d5e317fb2e04: Layer already exists 15:17:56 63ec0bd56cf3: Layer already exists 15:17:56 main: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:56 ===================================================== [Pipeline] echo 15:17:56 taggedImages: 15:17:56 - nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:17:56 - nexus3.edgexfoundry.org:10004/device-rest:latest 15:17:56 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.17 15:17:56 - nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 15:17:56 - 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 15:17:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:56 15:17:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:57 latest: Pulling from edgex-lftools-log-publisher 15:17:57 5eb5b503b376: Pulling fs layer 15:17:57 5c69ac0246d0: Pulling fs layer 15:17:57 ec43610c2a17: Pulling fs layer 15:17:57 3a2ae6a8a46f: Pulling fs layer 15:17:57 33b1e0a273af: Pulling fs layer 15:17:57 5d3b04190fa2: Pulling fs layer 15:17:57 2f39f015ded8: Pulling fs layer 15:17:57 33b1e0a273af: Waiting 15:17:57 5d3b04190fa2: Waiting 15:17:57 2f39f015ded8: Waiting 15:17:57 3a2ae6a8a46f: Waiting 15:17:57 5c69ac0246d0: Download complete 15:17:57 3a2ae6a8a46f: Download complete 15:17:57 33b1e0a273af: Verifying Checksum 15:17:57 33b1e0a273af: Download complete 15:17:57 5d3b04190fa2: Verifying Checksum 15:17:57 5d3b04190fa2: Download complete 15:17:57 ec43610c2a17: Verifying Checksum 15:17:57 ec43610c2a17: Download complete 15:17:57 5eb5b503b376: Verifying Checksum 15:17:57 5eb5b503b376: Download complete 15:17:58 2f39f015ded8: Verifying Checksum 15:17:58 2f39f015ded8: Download complete 15:17:58 5eb5b503b376: Pull complete 15:17:58 5c69ac0246d0: Pull complete 15:17:59 ec43610c2a17: Pull complete 15:17:59 3a2ae6a8a46f: Pull complete 15:17:59 33b1e0a273af: Pull complete 15:17:59 5d3b04190fa2: Pull complete 15:18:03 2f39f015ded8: Pull complete 15:18:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:04 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:18:04 $ 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 15:18:08 $ docker top eaca8510a5f385046f0a11dde108f52f2775c70128e8dcf9633b387cc383f455 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:09 ---> job-cost.sh 15:18:09 lf-activate-venv: SKIPPING 15:18:09 INFO: No Stack... 15:18:09 INFO: Retrieving Pricing Info for: v3-standard-8 15:18:09 INFO: Archiving Costs [Pipeline] sh 15:18:09 + + cut -d, -f6 15:18:09 cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 15:18:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] 15:18:10 Resource [jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] did not exist. Created. 15:18:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:18:10 + echo total: 0.2199999988079071 [Pipeline] stash 15:18:10 Stashed 1 file(s) [Pipeline] } 15:18:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } 15:18:10 $ docker stop --time=1 eaca8510a5f385046f0a11dde108f52f2775c70128e8dcf9633b387cc383f455 15:18:11 $ docker rm -f --volumes eaca8510a5f385046f0a11dde108f52f2775c70128e8dcf9633b387cc383f455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:19:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6016 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 15:19:04 Running in /w/workspace/device-rest-go/169 [Pipeline] { [Pipeline] checkout 15:19:05 The recommended git tool is: git 15:19:11 using credential edgex-jenkins-ssh 15:19:11 Cloning the remote Git repository 15:19:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:19:11 > git init /w/workspace/device-rest-go/169 # timeout=10 15:19:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:19:11 > git --version # timeout=10 15:19:11 > git --version # 'git version 2.25.1' 15:19:11 using GIT_SSH to set credentials SSH Credentials for GitHub 15:19:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:19:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:15 Avoid second fetch 15:19:15 Checking out Revision f16f1098eb92bf801dde80d57265cdf1f99e8d64 (main) 15:19:16 Commit message: "Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" 15:19:15 > git config core.sparsecheckout # timeout=10 15:19:16 > git checkout -f f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:19:21 % Total % Received % Xferd Average Speed Time Time Time Current 15:19:21 Dload Upload Total Spent Left Speed 15:19:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh 15:19:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:19:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:19:22 + sudo tee /etc/docker/daemon.new 15:19:22 { 15:19:22 "registry-mirrors": [ 15:19:22 "https://nexus3.edgexfoundry.org:10001" 15:19:22 ], 15:19:22 "bip": "10.250.0.254/24", 15:19:22 "hosts": [ 15:19:22 "tcp://0.0.0.0:5555", 15:19:22 "unix:///var/run/docker.sock" 15:19:22 ], 15:19:22 "mtu": 1458, 15:19:22 "selinux-enabled": true, 15:19:22 "seccomp-profile": "/etc/docker/seccomp.json" 15:19:22 } [Pipeline] sh 15:19:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:19:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:41 provisioning config files... 15:19:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/169@tmp/config17079071033289454831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:41 ---> ****-login.sh 15:19:41 nexus3.edgexfoundry.org:10001 15:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:19:42 Configure a credential helper to remove this warning. See 15:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:19:42 15:19:42 Login Succeeded 15:19:42 nexus3.edgexfoundry.org:10002 15:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:19:43 Configure a credential helper to remove this warning. See 15:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:19:43 15:19:43 Login Succeeded 15:19:43 nexus3.edgexfoundry.org:10003 15:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:19:43 Configure a credential helper to remove this warning. See 15:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:19:43 15:19:43 Login Succeeded 15:19:43 nexus3.edgexfoundry.org:10004 15:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:19:43 Configure a credential helper to remove this warning. See 15:19:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:19:43 15:19:43 Login Succeeded 15:19:43 ****.io 15:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:19:44 Configure a credential helper to remove this warning. See 15:19:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:19:44 15:19:44 Login Succeeded 15:19:44 ---> ****-login.sh ends [Pipeline] } 15:19:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:19:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:19:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:19:44 ========================================================= 15:19:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:19:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:45 + 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 . 15:19:45 Sending build context to Docker daemon 130.6kB 15:19:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:19:45 Step 2/12 : FROM ${BASE} AS builder 15:19:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:19:45 c6b39de5b339: Pulling fs layer 15:19:45 a69c41024577: Pulling fs layer 15:19:45 d6de4b400683: Pulling fs layer 15:19:45 35cb2a7552d0: Pulling fs layer 15:19:45 4f4fb700ef54: Pulling fs layer 15:19:45 464afbd9ba4c: Pulling fs layer 15:19:45 00f215d4a9da: Pulling fs layer 15:19:45 d496ad576159: Pulling fs layer 15:19:45 464afbd9ba4c: Waiting 15:19:45 00f215d4a9da: Waiting 15:19:45 35cb2a7552d0: Waiting 15:19:45 4f4fb700ef54: Waiting 15:19:45 d496ad576159: Waiting 15:19:45 a69c41024577: Verifying Checksum 15:19:45 a69c41024577: Download complete 15:19:45 35cb2a7552d0: Verifying Checksum 15:19:45 35cb2a7552d0: Download complete 15:19:45 4f4fb700ef54: Verifying Checksum 15:19:45 4f4fb700ef54: Download complete 15:19:45 c6b39de5b339: Verifying Checksum 15:19:45 c6b39de5b339: Download complete 15:19:45 464afbd9ba4c: Verifying Checksum 15:19:45 464afbd9ba4c: Download complete 15:19:46 d496ad576159: Verifying Checksum 15:19:46 d496ad576159: Download complete 15:19:46 c6b39de5b339: Pull complete 15:19:47 a69c41024577: Pull complete 15:19:47 d6de4b400683: Verifying Checksum 15:19:47 d6de4b400683: Download complete 15:19:49 00f215d4a9da: Verifying Checksum 15:19:49 00f215d4a9da: Download complete 15:20:01 d6de4b400683: Pull complete 15:20:01 35cb2a7552d0: Pull complete 15:20:02 4f4fb700ef54: Pull complete 15:20:02 464afbd9ba4c: Pull complete 15:20:12 00f215d4a9da: Pull complete 15:20:14 d496ad576159: Pull complete 15:20:14 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 15:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:20:14 ---> f246e2811388 15:20:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:20:14 ---> Running in d2742eac51bb 15:20:15 Removing intermediate container d2742eac51bb 15:20:15 ---> f4e707935941 15:20:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:20:15 ---> Running in 1c22f9880329 15:20:15 Removing intermediate container 1c22f9880329 15:20:15 ---> 949a64dbe2e1 15:20:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:20:15 ---> Running in a8ffee207640 15:20:16 Removing intermediate container a8ffee207640 15:20:16 ---> 0e5924fdd7fe 15:20:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:20:16 ---> Running in dc1d6eaf8e23 15:20:16 Removing intermediate container dc1d6eaf8e23 15:20:16 ---> 31627597a242 15:20:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:20:16 ---> Running in 432ceba0d641 15:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:20:19 (1/4) Installing openssh-keygen (9.3_p2-r2) 15:20:19 (2/4) Installing libedit (20221030.3.1-r1) 15:20:19 (3/4) Installing openssh-client-common (9.3_p2-r2) 15:20:19 (4/4) Installing openssh-client-default (9.3_p2-r2) 15:20:19 Executing busybox-1.36.1-r5.trigger 15:20:19 OK: 271 MiB in 56 packages 15:20:21 Removing intermediate container 432ceba0d641 15:20:21 ---> 04a6e838d9f6 15:20:21 Step 8/12 : WORKDIR /device-rest-go 15:20:21 ---> Running in 65519808cdc2 15:20:21 Removing intermediate container 65519808cdc2 15:20:21 ---> 1ef1c2c05915 15:20:21 Step 9/12 : COPY go.mod vendor* ./ 15:20:22 ---> 8e659bda653d 15:20:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:20:22 ---> Running in 9c961804898b 15:22:28 Removing intermediate container 9c961804898b 15:22:28 ---> f67c9736bca1 15:22:28 Step 11/12 : COPY . . 15:22:28 ---> a89abf5314c7 15:22:28 Step 12/12 : RUN $MAKE 15:22:28 ---> Running in 80f49591b341 15:22:28 noop 15:22:28 Removing intermediate container 80f49591b341 15:22:28 ---> e3116e27a42f 15:22:28 Successfully built e3116e27a42f 15:22:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:29 + docker inspect -f . ci-base-image-arm64 15:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:29 prd-ubuntu20.04-docker-arm64-4c-16g-6016 does not seem to be running inside a container 15:22:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/169 -v /w/workspace/device-rest-go/169:/w/workspace/device-rest-go/169:rw,z -v /w/workspace/device-rest-go/169@tmp:/w/workspace/device-rest-go/169@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 15:22:31 $ docker top ce59ad8aeb07d6e328998f681d5c2c49da0258fb3e7afb80882f1a0ee9d90968 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:31 + go version 15:22:31 go version go1.21.9 linux/arm64 [Pipeline] } 15:22:32 $ docker stop --time=1 ce59ad8aeb07d6e328998f681d5c2c49da0258fb3e7afb80882f1a0ee9d90968 15:22:33 $ docker rm -f --volumes ce59ad8aeb07d6e328998f681d5c2c49da0258fb3e7afb80882f1a0ee9d90968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:34 + docker inspect -f . ci-base-image-arm64 15:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:34 prd-ubuntu20.04-docker-arm64-4c-16g-6016 does not seem to be running inside a container 15:22:34 $ 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/169 -v /w/workspace/device-rest-go/169:/w/workspace/device-rest-go/169:rw,z -v /w/workspace/device-rest-go/169@tmp:/w/workspace/device-rest-go/169@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 15:22:36 $ docker top 7eb434a36e0459103872a9f76cb5672ac99cd8d4a8ec74c8099ded466b8a4fdd -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:36 + git config --global --add safe.directory /w/workspace/device-rest-go/169 [Pipeline] fileExists [Pipeline] sh 15:22:37 + make test 15:22:37 go test ./... -coverprofile=coverage.out ./... 15:22:44 ? github.com/edgexfoundry/device-rest-go [no test files] 15:27:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:27:10 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 33.2% of statements 15:27:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:27:11 go vet ./... 15:28:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:28:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:28:08 ./bin/test-attribution-txt.sh 15:28:08 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 15:28:08 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 15:28:08 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 15:28:08 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 15:28:08 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 15:28:08 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 15:28:08 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 15:28:08 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 15:28:08 An attribution for golang.org/x/term is missing from Attribution.txt, please add 15:28:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 15:28:08 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 15:28:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:28:08 $ docker stop --time=1 7eb434a36e0459103872a9f76cb5672ac99cd8d4a8ec74c8099ded466b8a4fdd 15:28:10 $ docker rm -f --volumes 7eb434a36e0459103872a9f76cb5672ac99cd8d4a8ec74c8099ded466b8a4fdd [Pipeline] // withDockerContainer [Pipeline] sh 15:28:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:28:12 Warning: overwriting stash ‘coverage-report’ 15:28:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:28:13 + ls -al . 15:28:13 total 244 15:28:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 15:22 . 15:28:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 15:19 .. 15:28:13 -rw-rw-r-- 1 jenkins jenkins 151 Jul 20 15:19 .dockerignore 15:28:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 15:19 .git 15:28:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:19 .github 15:28:13 -rw-rw-r-- 1 jenkins jenkins 264 Jul 20 15:19 .gitignore 15:28:13 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 15:19 .golangci.yml 15:28:13 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 20 15:19 Attribution.txt 15:28:13 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 20 15:19 CHANGELOG.md 15:28:13 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 20 15:19 Dockerfile 15:28:13 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 15:19 GOVERNANCE.md 15:28:13 -rw-rw-r-- 1 jenkins jenkins 680 Jul 20 15:19 Jenkinsfile 15:28:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 15:19 LICENSE 15:28:13 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 20 15:19 Makefile 15:28:13 -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 15:19 OWNERS.md 15:28:13 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 20 15:19 README.md 15:28:13 -rw-rw-r-- 1 jenkins jenkins 12 Jul 20 15:15 VERSION 15:28:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:19 bin 15:28:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:19 cmd 15:28:13 -rw-r--r-- 1 jenkins jenkins 14499 Jul 20 15:27 coverage.out 15:28:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:19 driver 15:28:13 -rw-rw-r-- 1 jenkins jenkins 7133 Jul 20 15:19 go.mod 15:28:13 -rw-rw-r-- 1 jenkins jenkins 101671 Jul 20 15:19 go.sum 15:28:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:19 openapi 15:28:13 -rw-rw-r-- 1 jenkins jenkins 713 Jul 20 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:14 + 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=f16f1098eb92bf801dde80d57265cdf1f99e8d64 --label arch=arm64 --label version=3.2.0-dev.17 . 15:28:14 Sending build context to Docker daemon 145.9kB 15:28:14 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:28:14 Step 2/26 : FROM ${BASE} AS builder 15:28:14 ---> e3116e27a42f 15:28:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:28:14 ---> Running in 61bb17998f9c 15:28:14 Removing intermediate container 61bb17998f9c 15:28:14 ---> 7ad21b2d44d4 15:28:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:28:14 ---> Running in 93de3a86542a 15:28:15 Removing intermediate container 93de3a86542a 15:28:15 ---> ab318d324662 15:28:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:28:15 ---> Running in 77a7d159b6ee 15:28:15 Removing intermediate container 77a7d159b6ee 15:28:15 ---> 4a3a0ae45be4 15:28:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:28:15 ---> Running in 918e41380779 15:28:16 Removing intermediate container 918e41380779 15:28:16 ---> 7598c8a93faf 15:28:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:16 ---> Running in c352abb5319d 15:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:28:19 OK: 271 MiB in 56 packages 15:28:20 Removing intermediate container c352abb5319d 15:28:20 ---> a302a9932a9e 15:28:20 Step 8/26 : WORKDIR /device-rest-go 15:28:20 ---> Running in e3140ab2a403 15:28:20 Removing intermediate container e3140ab2a403 15:28:20 ---> a009d4fc3bf6 15:28:20 Step 9/26 : COPY go.mod vendor* ./ 15:28:21 ---> 1fc9db7edd93 15:28:21 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:21 ---> Running in a9da68a8bc38 15:28:23 Removing intermediate container a9da68a8bc38 15:28:23 ---> b3a3c43b15f2 15:28:23 Step 11/26 : COPY . . 15:28:24 ---> 715489ec499e 15:28:24 Step 12/26 : RUN $MAKE 15:28:24 ---> Running in f6cd1107c5db 15:28:25 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:32:02 Removing intermediate container f6cd1107c5db 15:32:02 ---> 109c6dc74bd1 15:32:02 Step 13/26 : FROM alpine:3.18 15:32:02 3.18: Pulling from library/alpine 15:32:02 5c905c7ebe2f: Pulling fs layer 15:32:02 5c905c7ebe2f: Verifying Checksum 15:32:02 5c905c7ebe2f: Download complete 15:32:02 5c905c7ebe2f: Pull complete 15:32:02 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 15:32:02 Status: Downloaded newer image for alpine:3.18 15:32:02 ---> dec292d02e07 15:32:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:32:02 ---> Running in c45f55f450c8 15:32:02 Removing intermediate container c45f55f450c8 15:32:02 ---> 14897b67f911 15:32:02 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 15:32:02 ---> Running in ec1a5de5850e 15:32:02 Removing intermediate container ec1a5de5850e 15:32:02 ---> a3c034cb15b5 15:32:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:32:02 ---> Running in debec6a27038 15:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:04 (1/1) Installing dumb-init (1.2.5-r2) 15:32:04 Executing busybox-1.36.1-r7.trigger 15:32:04 OK: 8 MiB in 16 packages 15:32:05 Removing intermediate container debec6a27038 15:32:05 ---> 3552f614feb4 15:32:05 Step 17/26 : RUN apk --no-cache upgrade 15:32:05 ---> Running in 3e6fcaac5e8e 15:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:07 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 15:32:07 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 15:32:07 OK: 8 MiB in 16 packages 15:32:08 Removing intermediate container 3e6fcaac5e8e 15:32:08 ---> 38d9af9c695d 15:32:08 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 15:32:10 ---> 5c1b9440147a 15:32:10 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 15:32:10 ---> 293f1707eece 15:32:10 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 15:32:11 ---> fe0c73b0a824 15:32:11 Step 21/26 : EXPOSE 59986 15:32:11 ---> Running in 9645e01d9b50 15:32:11 Removing intermediate container 9645e01d9b50 15:32:11 ---> 293f7460864c 15:32:11 Step 22/26 : ENTRYPOINT ["/device-rest"] 15:32:11 ---> Running in 46bbe3653226 15:32:12 Removing intermediate container 46bbe3653226 15:32:12 ---> 6491bcec6358 15:32:12 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:32:12 ---> Running in 12ca55c72976 15:32:12 Removing intermediate container 12ca55c72976 15:32:12 ---> a4c4e487daa2 15:32:12 Step 24/26 : LABEL arch=arm64 15:32:12 ---> Running in bcab970e14ac 15:32:12 Removing intermediate container bcab970e14ac 15:32:12 ---> 65161001ff01 15:32:12 Step 25/26 : LABEL git_sha=f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:32:12 ---> Running in e8ca40d7d932 15:32:13 Removing intermediate container e8ca40d7d932 15:32:13 ---> a42acbca4d14 15:32:13 Step 26/26 : LABEL version=3.2.0-dev.17 15:32:13 ---> Running in 1ea178b22eb1 15:32:13 Removing intermediate container 1ea178b22eb1 15:32:13 ---> 03ccf9ac6974 15:32:13 [Warning] One or more build-args [ARCH] were not consumed 15:32:13 Successfully built 03ccf9ac6974 15:32:13 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:32:13 provisioning config files... 15:32:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/169@tmp/config8144113892260938616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:14 ---> ****-login.sh 15:32:14 nexus3.edgexfoundry.org:10001 15:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:32:14 Configure a credential helper to remove this warning. See 15:32:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:32:14 15:32:14 Login Succeeded 15:32:14 nexus3.edgexfoundry.org:10002 15:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:32:14 Configure a credential helper to remove this warning. See 15:32:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:32:14 15:32:14 Login Succeeded 15:32:14 nexus3.edgexfoundry.org:10003 15:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:32:15 Configure a credential helper to remove this warning. See 15:32:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:32:15 15:32:15 Login Succeeded 15:32:15 nexus3.edgexfoundry.org:10004 15:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:32:15 Configure a credential helper to remove this warning. See 15:32:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:32:15 15:32:15 Login Succeeded 15:32:15 ****.io 15:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:32:15 Configure a credential helper to remove this warning. See 15:32:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:32:15 15:32:15 Login Succeeded 15:32:15 ---> ****-login.sh ends [Pipeline] } 15:32:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:32:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:32:16 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 15:32:16 f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:32:16 latest 15:32:16 3.2.0-dev.17 15:32:16 f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 15:32:16 main 15:32:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:32:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:32:16 bc19969b1925: Preparing 15:32:16 89d2d646b5d4: Preparing 15:32:16 573b7fa98983: Preparing 15:32:16 af6b270d8575: Preparing 15:32:16 73bc89d6c11a: Preparing 15:32:16 da707bb00cb8: Preparing 15:32:16 da707bb00cb8: Waiting 15:32:17 73bc89d6c11a: Pushed 15:32:17 89d2d646b5d4: Pushed 15:32:17 bc19969b1925: Pushed 15:32:17 da707bb00cb8: Layer already exists 15:32:18 af6b270d8575: Pushed 15:32:23 573b7fa98983: Pushed 15:32:23 f16f1098eb92bf801dde80d57265cdf1f99e8d64: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:32:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:32:24 bc19969b1925: Preparing 15:32:24 89d2d646b5d4: Preparing 15:32:24 573b7fa98983: Preparing 15:32:24 af6b270d8575: Preparing 15:32:24 73bc89d6c11a: Preparing 15:32:24 da707bb00cb8: Preparing 15:32:24 da707bb00cb8: Waiting 15:32:24 bc19969b1925: Layer already exists 15:32:24 af6b270d8575: Layer already exists 15:32:24 573b7fa98983: Layer already exists 15:32:24 73bc89d6c11a: Layer already exists 15:32:24 89d2d646b5d4: Layer already exists 15:32:24 da707bb00cb8: Layer already exists 15:32:24 latest: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.17 15:32:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:32:25 bc19969b1925: Preparing 15:32:25 89d2d646b5d4: Preparing 15:32:25 573b7fa98983: Preparing 15:32:25 af6b270d8575: Preparing 15:32:25 73bc89d6c11a: Preparing 15:32:25 da707bb00cb8: Preparing 15:32:25 da707bb00cb8: Waiting 15:32:25 af6b270d8575: Layer already exists 15:32:25 bc19969b1925: Layer already exists 15:32:25 73bc89d6c11a: Layer already exists 15:32:25 573b7fa98983: Layer already exists 15:32:25 89d2d646b5d4: Layer already exists 15:32:25 da707bb00cb8: Layer already exists 15:32:25 3.2.0-dev.17: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 15:32:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:32:26 bc19969b1925: Preparing 15:32:26 89d2d646b5d4: Preparing 15:32:26 573b7fa98983: Preparing 15:32:26 af6b270d8575: Preparing 15:32:26 73bc89d6c11a: Preparing 15:32:26 da707bb00cb8: Preparing 15:32:26 da707bb00cb8: Waiting 15:32:26 af6b270d8575: Layer already exists 15:32:26 73bc89d6c11a: Layer already exists 15:32:26 bc19969b1925: Layer already exists 15:32:26 573b7fa98983: Layer already exists 15:32:26 89d2d646b5d4: Layer already exists 15:32:26 da707bb00cb8: Layer already exists 15:32:26 f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 15:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:32:27 bc19969b1925: Preparing 15:32:27 89d2d646b5d4: Preparing 15:32:27 573b7fa98983: Preparing 15:32:27 af6b270d8575: Preparing 15:32:27 73bc89d6c11a: Preparing 15:32:27 da707bb00cb8: Preparing 15:32:27 da707bb00cb8: Waiting 15:32:27 af6b270d8575: Layer already exists 15:32:27 573b7fa98983: Layer already exists 15:32:27 bc19969b1925: Layer already exists 15:32:27 73bc89d6c11a: Layer already exists 15:32:27 89d2d646b5d4: Layer already exists 15:32:27 da707bb00cb8: Layer already exists 15:32:27 main: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:32:27 ===================================================== [Pipeline] echo 15:32:27 taggedImages: 15:32:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64 15:32:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:32:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.17 15:32:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 15:32:27 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:27 15:32:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:28 arm64: Pulling from edgex-lftools-log-publisher 15:32:28 8998bd30e6a1: Pulling fs layer 15:32:28 04944245beec: Pulling fs layer 15:32:28 699f458cf7ca: Pulling fs layer 15:32:28 765212b225bb: Pulling fs layer 15:32:28 f23df028b6ca: Pulling fs layer 15:32:28 d65c8cfc05b1: Pulling fs layer 15:32:28 2437ff75d9bd: Pulling fs layer 15:32:28 f23df028b6ca: Waiting 15:32:28 d65c8cfc05b1: Waiting 15:32:28 2437ff75d9bd: Waiting 15:32:28 765212b225bb: Waiting 15:32:28 04944245beec: Verifying Checksum 15:32:28 04944245beec: Download complete 15:32:28 765212b225bb: Download complete 15:32:28 f23df028b6ca: Verifying Checksum 15:32:28 f23df028b6ca: Download complete 15:32:28 d65c8cfc05b1: Verifying Checksum 15:32:28 d65c8cfc05b1: Download complete 15:32:28 699f458cf7ca: Verifying Checksum 15:32:28 699f458cf7ca: Download complete 15:32:29 8998bd30e6a1: Verifying Checksum 15:32:29 8998bd30e6a1: Download complete 15:32:31 2437ff75d9bd: Verifying Checksum 15:32:31 2437ff75d9bd: Download complete 15:32:34 8998bd30e6a1: Pull complete 15:32:34 04944245beec: Pull complete 15:32:35 699f458cf7ca: Pull complete 15:32:36 765212b225bb: Pull complete 15:32:37 f23df028b6ca: Pull complete 15:32:37 d65c8cfc05b1: Pull complete 15:32:55 2437ff75d9bd: Pull complete 15:32:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:32:55 prd-ubuntu20.04-docker-arm64-4c-16g-6016 does not seem to be running inside a container 15:32:56 $ 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/169 -v /w/workspace/device-rest-go/169:/w/workspace/device-rest-go/169:rw,z -v /w/workspace/device-rest-go/169@tmp:/w/workspace/device-rest-go/169@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 15:32:58 $ docker top f8d78ccd8b637d1bbfa7cb8a5b28a596105208fbd44d7ea1d25a470fab23005e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:59 ---> job-cost.sh 15:32:59 lf-activate-venv: SKIPPING 15:32:59 INFO: No Stack... 15:33:00 INFO: Retrieving Pricing Info for: v3-standard-4 15:33:00 INFO: Archiving Costs [Pipeline] sh 15:33:01 + cat /w/workspace/device-rest-go/169/archives/cost.csv 15:33:01 + cut -d, -f6 [Pipeline] lock 15:33:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] 15:33:01 Resource [jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] did not exist. Created. 15:33:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:33:02 /w/workspace/device-rest-go/169@tmp/durable-e648fca5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:33:02 + echo total: 0.10999999940395355 [Pipeline] stash 15:33:02 Warning: overwriting stash ‘stack-cost’ 15:33:02 Stashed 1 file(s) [Pipeline] } 15:33:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } 15:33:02 $ docker stop --time=1 f8d78ccd8b637d1bbfa7cb8a5b28a596105208fbd44d7ea1d25a470fab23005e 15:33:04 $ docker rm -f --volumes f8d78ccd8b637d1bbfa7cb8a5b28a596105208fbd44d7ea1d25a470fab23005e [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 15:33:04 provisioning config files... 15:33:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7242935079614822917tmp [Pipeline] { [Pipeline] sh 15:33:05 + set +x 15:33:05 + curl -s https://codecov.io/bash 15:33:05 + bash -s -- 15:33:05 15:33:05 _____ _ 15:33:05 / ____| | | 15:33:05 | | ___ __| | ___ ___ _____ __ 15:33:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:33:05 | |___| (_) | (_| | __/ (_| (_) \ V / 15:33:05 \_____\___/ \__,_|\___|\___\___/ \_/ 15:33:05 Bash-1.0.6 15:33:05 15:33:05 15:33:05 ==> git version 2.25.1 found 15:33:05 ==> 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 15:33:05 Release-Date: 2020-01-08 15:33:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:33:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:33:05 ==> Jenkins CI detected. 15:33:05 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 15:33:05 project root: . 15:33:05 --> token set from env 15:33:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:33:05 ==> Running gcov in . (disable via -X gcov) 15:33:05 ==> Python coveragepy not found 15:33:05 ==> Searching for coverage reports in: 15:33:05 + . 15:33:05 -> Found 1 reports 15:33:05 ==> Detecting git/mercurial file structure 15:33:05 ==> Reading reports 15:33:05 + ./coverage.out bytes=14499 15:33:05 ==> Appending adjustments 15:33:05 https://docs.codecov.io/docs/fixing-reports 15:33:05 + Found adjustments 15:33:05 ==> Gzipping contents 15:33:05 4.0K /tmp/codecov.cCfSFc.gz 15:33:05 ==> Uploading reports 15:33:05 url: https://codecov.io 15:33:05 query: branch=main&commit=f16f1098eb92bf801dde80d57265cdf1f99e8d64&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:33:05 -> Pinging Codecov 15:33:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f16f1098eb92bf801dde80d57265cdf1f99e8d64&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:33:05 -> Uploading to 15:33:05 https://storage.googleapis.com/codecov/v4/raw/2024-07-20/4E5D53B4F1F92C436F7061BF334D961C/f16f1098eb92bf801dde80d57265cdf1f99e8d64/e6d13dde-3c31-4d49-a6d8-98ca6b91267f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240720%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240720T153305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3e8f3818d2c481217d9642baaaa657fa23a5dc895988c37b758274a59a30d1e 15:33:05 % Total % Received % Xferd Average Speed Time Time Time Current 15:33:05 Dload Upload Total Spent Left Speed 15:33:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8725 --:--:-- --:--:-- --:--:-- 8692 15:33:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] } 15:33:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:33:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:33:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:33:06 15:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:33:06 latest: Pulling from edgex-devops/edgex-snyk-go 15:33:06 619be1103602: Already exists 15:33:06 f8ea3408117e: Pulling fs layer 15:33:06 91320369b822: Pulling fs layer 15:33:06 0406650e8295: Pulling fs layer 15:33:06 4f4fb700ef54: Pulling fs layer 15:33:06 96d80e3f36e1: Pulling fs layer 15:33:06 bcf3aedb951c: Pulling fs layer 15:33:06 4f4fb700ef54: Waiting 15:33:06 96d80e3f36e1: Waiting 15:33:06 bcf3aedb951c: Waiting 15:33:06 0406650e8295: Download complete 15:33:06 f8ea3408117e: Download complete 15:33:06 4f4fb700ef54: Download complete 15:33:06 f8ea3408117e: Pull complete 15:33:07 96d80e3f36e1: Verifying Checksum 15:33:07 96d80e3f36e1: Download complete 15:33:07 91320369b822: Verifying Checksum 15:33:07 91320369b822: Download complete 15:33:07 bcf3aedb951c: Verifying Checksum 15:33:07 bcf3aedb951c: Download complete 15:33:11 91320369b822: Pull complete 15:33:11 0406650e8295: Pull complete 15:33:11 4f4fb700ef54: Pull complete 15:33:11 96d80e3f36e1: Pull complete 15:33:13 bcf3aedb951c: Pull complete 15:33:13 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 15:33:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:33:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:13 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:33:13 $ 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 15:33:18 $ docker top 869f3bb421fa3d2bbf463065cdaf0bbeebc1c33a6eb20febd1d07177d828196a -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:18 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 15:33:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 15:33:18 + set -o pipefail 15:33:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 15:33:25 15:33:25 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 15:33:25 15:33:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/f1125867-50ad-4a7c-bc6e-cb58ac97cb2e 15:33:25 15:33:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:33:25 [Pipeline] } 15:33:25 $ docker stop --time=1 869f3bb421fa3d2bbf463065cdaf0bbeebc1c33a6eb20febd1d07177d828196a 15:33:31 $ docker rm -f --volumes 869f3bb421fa3d2bbf463065cdaf0bbeebc1c33a6eb20febd1d07177d828196a [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 15:33:31 + git log --format=format:%s -1 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] sh 15:33:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:33:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:33:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:32 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:33: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 15:33:33 $ docker top c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:33:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:33:33 [ssh-agent] Looking for ssh-agent implementation... 15:33:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:33:33 $ docker exec c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb ssh-agent 15:33:33 SSH_AUTH_SOCK=/tmp/ssh-Bf9BnDjsVPBK/agent.31 15:33:33 SSH_AGENT_PID=37 15:33:33 Running ssh-add (command line suppressed) 15:33:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1850260567905569170.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1850260567905569170.key) 15:33:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:33:33 + git semver tag 15:33:34 2024-07-20 15:33:34,097 [run_tag] DEBUG tag force:False 15:33:34 2024-07-20 15:33:34,097 [check_head_tag] DEBUG check head tag 15:33:34 2024-07-20 15:33:34,098 [execute] INFO git cat-file --batch-check 15:33:34 2024-07-20 15:33:34,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 15:33:34 2024-07-20 15:33:34,102 [execute] INFO git cat-file --batch 15:33:34 2024-07-20 15:33:34,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 15:33:34 2024-07-20 15:33:34,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:33:34 2024-07-20 15:33:34,122 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 15:33:34 2024-07-20 15:33:34,122 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.17', '-m', 'v3.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 15:33:34 2024-07-20 15:33:34,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:33:34 3.2.0-dev.17 [Pipeline] } 15:33:34 $ docker exec --env ******** --env ******** c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb ssh-agent -k 15:33:34 unset SSH_AUTH_SOCK; 15:33:34 unset SSH_AGENT_PID; 15:33:34 echo Agent pid 37 killed; 15:33:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:33:34 + git semver [Pipeline] } 15:33:34 $ docker stop --time=1 c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb 15:33:36 $ docker rm -f --volumes c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:33:36 15:33:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:33:36 0.23.1-centos7: Pulling from edgex-lftools 15:33:36 ab5ef0e58194: Pulling fs layer 15:33:36 9712f1f96733: Pulling fs layer 15:33:36 63f879dbbcfc: Pulling fs layer 15:33:36 0d9ebad4ef96: Pulling fs layer 15:33:36 e9a5061849ea: Pulling fs layer 15:33:36 d747dcd14b5f: Pulling fs layer 15:33:36 2de7ff778b66: Pulling fs layer 15:33:36 e9a5061849ea: Waiting 15:33:36 0d9ebad4ef96: Waiting 15:33:36 2de7ff778b66: Waiting 15:33:36 d747dcd14b5f: Waiting 15:33:36 9712f1f96733: Verifying Checksum 15:33:36 9712f1f96733: Download complete 15:33:37 63f879dbbcfc: Verifying Checksum 15:33:37 63f879dbbcfc: Download complete 15:33:37 e9a5061849ea: Verifying Checksum 15:33:37 e9a5061849ea: Download complete 15:33:37 d747dcd14b5f: Verifying Checksum 15:33:37 d747dcd14b5f: Download complete 15:33:37 0d9ebad4ef96: Verifying Checksum 15:33:37 0d9ebad4ef96: Download complete 15:33:37 ab5ef0e58194: Verifying Checksum 15:33:37 ab5ef0e58194: Download complete 15:33:37 2de7ff778b66: Verifying Checksum 15:33:37 2de7ff778b66: Download complete 15:33:40 ab5ef0e58194: Pull complete 15:33:40 9712f1f96733: Pull complete 15:33:41 63f879dbbcfc: Pull complete 15:33:45 0d9ebad4ef96: Pull complete 15:33:45 e9a5061849ea: Pull complete 15:33:45 d747dcd14b5f: Pull complete 15:33:46 2de7ff778b66: Pull complete 15:33:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:33:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:33:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:46 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:33:46 $ 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 15:33:53 $ docker top 1b35fb634d6def0a52ca2cf9c8de7efc6151953bc49c47a6527b56dfb2050728 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:33:53 provisioning config files... 15:33:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11679376296997440929tmp 15:33:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10888852251828070463tmp 15:33:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11307425498151285840tmp [Pipeline] { [Pipeline] echo 15:33:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:33:54 ---> sigul-configuration.sh 15:33:54 gpg: directory `/root/.gnupg' created 15:33:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:33:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:33:54 gpg: keyring `/root/.gnupg/secring.gpg' created 15:33:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:33:54 gpg: CAST5 encrypted data 15:33:54 gpg: encrypted with 1 passphrase 15:33:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:33:54 + mkdir /home/jenkins 15:33:54 + mkdir /home/jenkins/sigul [Pipeline] sh 15:33:54 + 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 15:33:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:33:55 ---> sigul-install.sh 15:33:55 Sigul already installed; skipping installation. [Pipeline] sh 15:33:55 + git tag --list 15:33:55 v1.0.0 15:33:55 v1.1.0 15:33:55 v1.1.1 15:33:55 v1.1.2 15:33:55 v1.2.0 15:33:55 v1.2.1 15:33:55 v2.0.0 15:33:55 v2.1.0 15:33:55 v2.1.1 15:33:55 v2.2.0 15:33:55 v2.3.0 15:33:55 v3.0 15:33:55 v3.0.0 15:33:55 v3.1 15:33:55 v3.1.0 15:33:55 v3.1.0-dev.1 15:33:55 v3.1.0-dev.10 15:33:55 v3.1.0-dev.11 15:33:55 v3.1.0-dev.12 15:33:55 v3.1.0-dev.13 15:33:55 v3.1.0-dev.14 15:33:55 v3.1.0-dev.15 15:33:55 v3.1.0-dev.16 15:33:55 v3.1.0-dev.17 15:33:55 v3.1.0-dev.18 15:33:55 v3.1.0-dev.19 15:33:55 v3.1.0-dev.2 15:33:55 v3.1.0-dev.20 15:33:55 v3.1.0-dev.21 15:33:55 v3.1.0-dev.22 15:33:55 v3.1.0-dev.23 15:33:55 v3.1.0-dev.24 15:33:55 v3.1.0-dev.25 15:33:55 v3.1.0-dev.26 15:33:55 v3.1.0-dev.27 15:33:55 v3.1.0-dev.28 15:33:55 v3.1.0-dev.29 15:33:55 v3.1.0-dev.3 15:33:55 v3.1.0-dev.30 15:33:55 v3.1.0-dev.31 15:33:55 v3.1.0-dev.32 15:33:55 v3.1.0-dev.4 15:33:55 v3.1.0-dev.5 15:33:55 v3.1.0-dev.6 15:33:55 v3.1.0-dev.7 15:33:55 v3.1.0-dev.8 15:33:55 v3.1.0-dev.9 15:33:55 v3.1.1 15:33:55 v3.2.0-dev.1 15:33:55 v3.2.0-dev.10 15:33:55 v3.2.0-dev.11 15:33:55 v3.2.0-dev.12 15:33:55 v3.2.0-dev.13 15:33:55 v3.2.0-dev.14 15:33:55 v3.2.0-dev.15 15:33:55 v3.2.0-dev.16 15:33:55 v3.2.0-dev.17 15:33:55 v3.2.0-dev.2 15:33:55 v3.2.0-dev.3 15:33:55 v3.2.0-dev.4 15:33:55 v3.2.0-dev.5 15:33:55 v3.2.0-dev.6 15:33:55 v3.2.0-dev.7 15:33:55 v3.2.0-dev.8 15:33:55 v3.2.0-dev.9 [Pipeline] sh 15:33:55 + lftools sign git-tag v3.2.0-dev.17 15:33:56 Signing Git tag with Sigul... 15:33:56 Signing v3.2.0-dev.17 [Pipeline] echo 15:33:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:33:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:33:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:33:57 $ docker stop --time=1 1b35fb634d6def0a52ca2cf9c8de7efc6151953bc49c47a6527b56dfb2050728 15:33:58 $ docker rm -f --volumes 1b35fb634d6def0a52ca2cf9c8de7efc6151953bc49c47a6527b56dfb2050728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:33:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:33:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:59 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:33:59 $ 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 15:33:59 $ docker top 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 -eo pid,comm 15:33:59 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). 15:33:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:00 [ssh-agent] Looking for ssh-agent implementation... 15:34:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:00 $ docker exec 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 ssh-agent 15:34:00 SSH_AUTH_SOCK=/tmp/ssh-nlaFZ7FsI3pY/agent.33 15:34:00 SSH_AGENT_PID=39 15:34:00 Running ssh-add (command line suppressed) 15:34:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7262388760395318163.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7262388760395318163.key) 15:34:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:00 + git semver bump pre 15:34:00 2024-07-20 15:34:00,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:34:00 2024-07-20 15:34:00,889 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev 15:34:00 2024-07-20 15:34:00,890 [bump_version] DEBUG bumped version:3.2.0-dev.18 15:34:00 2024-07-20 15:34:00,890 [write_version] DEBUG write version:3.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 15:34:00 2024-07-20 15:34:00,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:34:00 2024-07-20 15:34:00,890 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:34:00 2024-07-20 15:34:00,891 [execute] INFO git cat-file --batch-check 15:34:00 2024-07-20 15:34:00,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:00 2024-07-20 15:34:00,898 [execute] INFO git cat-file --batch 15:34:00 2024-07-20 15:34:00,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:00 2024-07-20 15:34:00,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:34:00 3.2.0-dev.18 [Pipeline] } 15:34:00 $ docker exec --env ******** --env ******** 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 ssh-agent -k 15:34:01 unset SSH_AUTH_SOCK; 15:34:01 unset SSH_AGENT_PID; 15:34:01 echo Agent pid 39 killed; 15:34:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:01 + git semver [Pipeline] } 15:34:01 $ docker stop --time=1 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 15:34:03 $ docker rm -f --volumes 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 [Pipeline] // withDockerContainer [Pipeline] sh 15:34:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:03 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:34:03 $ 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 15:34:04 $ docker top a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 -eo pid,comm 15:34:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:34:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:04 [ssh-agent] Looking for ssh-agent implementation... 15:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:04 $ docker exec a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 ssh-agent 15:34:04 SSH_AUTH_SOCK=/tmp/ssh-RtvbOesjepI4/agent.32 15:34:04 SSH_AGENT_PID=38 15:34:04 Running ssh-add (command line suppressed) 15:34:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18445314755669414830.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18445314755669414830.key) 15:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:05 + git semver push 15:34:05 2024-07-20 15:34:05,312 [run_push] DEBUG push 15:34:05 2024-07-20 15:34:05,313 [execute] INFO git cat-file --batch-check 15:34:05 2024-07-20 15:34:05,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:05 2024-07-20 15:34:05,318 [execute] INFO git rev-list 5c82f9d423f6ccb4b68527d142e88e32c16427dc -- 15:34:05 2024-07-20 15:34:05,318 [execute] DEBUG Popen(['git', 'rev-list', '5c82f9d423f6ccb4b68527d142e88e32c16427dc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:34:05 2024-07-20 15:34:05,328 [execute] INFO git fetch -v origin 15:34:05 2024-07-20 15:34:05,328 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:34:06 2024-07-20 15:34:06,089 [run_push] DEBUG no remote changes detected 15:34:06 2024-07-20 15:34:06,089 [execute] INFO git push origin semver 15:34:06 2024-07-20 15:34:06,090 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:34:07 2024-07-20 15:34:07,100 [run_push] DEBUG push all version tags 15:34:07 2024-07-20 15:34:07,101 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:34:07 2024-07-20 15:34:07,101 [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) 15:34:07 2024-07-20 15:34:07,836 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:34:07 3.2.0-dev.18 [Pipeline] } 15:34:07 $ docker exec --env ******** --env ******** a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 ssh-agent -k 15:34:07 unset SSH_AUTH_SOCK; 15:34:07 unset SSH_AGENT_PID; 15:34:07 echo Agent pid 38 killed; 15:34:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:08 + git semver [Pipeline] } 15:34:08 $ docker stop --time=1 a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 15:34:09 $ docker rm -f --volumes a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 [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 15:34:10 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 15:34:10 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:34:10 total 16 15:34:10 drwxr-xr-x 3 root root 4096 Jul 20 15:18 . 15:34:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 15:33 .. 15:34:10 drwxr-xr-x 2 root root 4096 Jul 20 15:18 cost 15:34:10 -rw-r--r-- 1 root root 86 Jul 20 15:18 cost.csv 15:34:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 15:34:10 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:34:10 total 16 15:34:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 15:18 . 15:34:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 15:33 .. 15:34:10 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 15:18 cost 15:34:10 -rw-r--r-- 1 jenkins jenkins 86 Jul 20 15:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:34:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:34:11 ---> package-listing.sh 15:34:11 ++ facter osfamily 15:34:11 ++ tr '[:upper:]' '[:lower:]' 15:34:12 + OS_FAMILY=debian 15:34:12 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 15:34:12 + START_PACKAGES=/tmp/packages_start.txt 15:34:12 + END_PACKAGES=/tmp/packages_end.txt 15:34:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:34:12 + PACKAGES=/tmp/packages_start.txt 15:34:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:34:12 + PACKAGES=/tmp/packages_end.txt 15:34:12 + case "${OS_FAMILY}" in 15:34:12 + dpkg -l 15:34:12 + grep '^ii' 15:34:12 + '[' -f /tmp/packages_start.txt ']' 15:34:12 + '[' -f /tmp/packages_end.txt ']' 15:34:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:34:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:34:12 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 15:34:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 15:34:12 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 15:34:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:13 prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container 15:34:13 $ 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 15:34:13 $ docker top 5be6053da785aed94d677ede2643c4b3e132998d355dfaa64e1d281baffa1fd4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:34:13 + touch /tmp/pre-build-complete [Pipeline] sh 15:34:13 + mkdir -p /var/log/sysstat [Pipeline] sh 15:34:14 + ls /var/log/sa-host 15:34:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:14 provisioning config files... 15:34:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6551415609354507490tmp [Pipeline] { [Pipeline] echo 15:34:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:34:15 ---> create-netrc.sh [Pipeline] } 15:34:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:34:15 ---> python-tools-install.sh [Pipeline] echo 15:34:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:34:15 ---> sudo-logs.sh 15:34:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:34:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:34:16 ---> job-cost.sh 15:34:16 lf-activate-venv: SKIPPING 15:34:16 DEBUG: total: 0.2199999988079071 15:34:16 INFO: Retrieving Stack Cost... 15:34:16 INFO: Retrieving Pricing Info for: v3-standard-8 15:34:16 INFO: Archiving Costs [Pipeline] echo 15:34:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:34:17 ---> logs-deploy.sh 15:34:17 lf-activate-venv: SKIPPING 15:34:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/169 15:34:17 INFO: archiving workspace using pattern(s): 15:34:18 Archives upload complete. 15:34:18 INFO: archiving logs to Nexus 15:34:18 ---> uname -a: 15:34:18 Linux prd-ubuntu20-04-docker-8c-8g-6010 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:34:18 15:34:18