Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 546a8bddbc250e09a9704dd77d22d2ef885b0504 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-ssh6426785912040420363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15082260563140638692.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12549554954063104253.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5169402808600534843.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-ssh16394563605373275990.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-485’ Running on prd-ubuntu20.04-docker-8c-8g-487 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 546a8bddbc250e09a9704dd77d22d2ef885b0504 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#387)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 > git rev-list --no-walk 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:01:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:01:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:01:40 ========================================================= 21:01:40 EdgeX Global Pipelines Version Info 21:01:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:01:41 ------------------- 21:01:41 stable info: 21:01:41 ------------------- 21:01:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:01:41 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 21:01:41 Message: update stable to v1.0.258 21:01:41 ------------------- 21:01:41 experimental info: 21:01:41 ------------------- 21:01:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:01:41 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 21:01:41 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 546a8bd [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:42 provisioning config files... 21:01:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10346475697203595227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:43 ---> ****-login.sh 21:01:43 nexus3.edgexfoundry.org:10001 21:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:43 Configure a credential helper to remove this warning. See 21:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:43 21:01:43 Login Succeeded 21:01:43 nexus3.edgexfoundry.org:10002 21:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:43 Configure a credential helper to remove this warning. See 21:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:43 21:01:43 Login Succeeded 21:01:43 nexus3.edgexfoundry.org:10003 21:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:43 Configure a credential helper to remove this warning. See 21:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:43 21:01:43 Login Succeeded 21:01:43 nexus3.edgexfoundry.org:10004 21:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:43 Configure a credential helper to remove this warning. See 21:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:43 21:01:43 Login Succeeded 21:01:43 ****.io 21:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:44 Configure a credential helper to remove this warning. See 21:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:44 21:01:44 Login Succeeded 21:01:44 ---> ****-login.sh ends [Pipeline] } 21:01:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:01:44 + git rev-list -1 --merges 546a8bddbc250e09a9704dd77d22d2ef885b0504~1..546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo 21:01:44 -----------> git rev-list -1 --merges 546a8bddbc250e09a9704dd77d22d2ef885b0504~1..546a8bddbc250e09a9704dd77d22d2ef885b0504 546a8bddbc250e09a9704dd77d22d2ef885b0504 [false] [Pipeline] sh 21:01:44 + git log --format=format:%s -1 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo 21:01:44 ========================================================= 21:01:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:01:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:45 + git log --format=format:%s -1 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo 21:01:45 [semverPrep] GIT_COMMIT: 546a8bddbc250e09a9704dd77d22d2ef885b0504, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#387) [Pipeline] echo 21:01:45 [semverPrep] This is not a build commit. [Pipeline] sh 21:01:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:01:45 + grep -v github /etc/ssh/ssh_known_hosts 21:01:45 + [ -e /tmp/ssh_known_hosts ] 21:01:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:01:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:01:45 + sudo tee -a /etc/ssh/ssh_known_hosts 21:01:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:01:46 21:01:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:01:46 0.1.4: Pulling from edgex-devops/py-git-semver 21:01:46 b85a868b505f: Pulling fs layer 21:01:46 e2be974225ed: Pulling fs layer 21:01:46 339a4e72a1f5: Pulling fs layer 21:01:46 988bab9f4d93: Pulling fs layer 21:01:46 1469e6f7b9e6: Pulling fs layer 21:01:46 eaf3925da568: Pulling fs layer 21:01:46 bab4dde63d76: Pulling fs layer 21:01:46 bde34c3a00c8: Pulling fs layer 21:01:46 b352a97aabf1: Pulling fs layer 21:01:46 4872d77fe225: Pulling fs layer 21:01:46 988bab9f4d93: Waiting 21:01:46 5851b861e8e6: Pulling fs layer 21:01:46 1469e6f7b9e6: Waiting 21:01:46 bab4dde63d76: Waiting 21:01:46 eaf3925da568: Waiting 21:01:46 bde34c3a00c8: Waiting 21:01:46 b352a97aabf1: Waiting 21:01:46 4872d77fe225: Waiting 21:01:46 e2be974225ed: Download complete 21:01:46 988bab9f4d93: Verifying Checksum 21:01:46 988bab9f4d93: Download complete 21:01:46 1469e6f7b9e6: Verifying Checksum 21:01:46 1469e6f7b9e6: Download complete 21:01:46 eaf3925da568: Verifying Checksum 21:01:46 eaf3925da568: Download complete 21:01:46 339a4e72a1f5: Verifying Checksum 21:01:46 339a4e72a1f5: Download complete 21:01:46 bde34c3a00c8: Verifying Checksum 21:01:46 bde34c3a00c8: Download complete 21:01:46 b352a97aabf1: Download complete 21:01:46 4872d77fe225: Verifying Checksum 21:01:46 4872d77fe225: Download complete 21:01:46 5851b861e8e6: Verifying Checksum 21:01:46 5851b861e8e6: Download complete 21:01:46 b85a868b505f: Verifying Checksum 21:01:46 b85a868b505f: Download complete 21:01:46 bab4dde63d76: Verifying Checksum 21:01:46 bab4dde63d76: Download complete 21:01:47 b85a868b505f: Pull complete 21:01:48 e2be974225ed: Pull complete 21:01:48 339a4e72a1f5: Pull complete 21:01:48 988bab9f4d93: Pull complete 21:01:48 1469e6f7b9e6: Pull complete 21:01:48 eaf3925da568: Pull complete 21:01:50 bab4dde63d76: Pull complete 21:01:50 bde34c3a00c8: Pull complete 21:01:50 b352a97aabf1: Pull complete 21:01:50 4872d77fe225: Pull complete 21:01:50 5851b861e8e6: Pull complete 21:01:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:01:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:01:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:50 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:01:50 $ 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 21:01:54 $ docker top 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf -eo pid,comm 21:01:54 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). 21:01:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:54 [ssh-agent] Looking for ssh-agent implementation... 21:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:55 $ docker exec 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent 21:01:55 SSH_AUTH_SOCK=/tmp/ssh-rYkDTsbcpWfP/agent.33 21:01:55 SSH_AGENT_PID=39 21:01:55 Running ssh-add (command line suppressed) 21:01:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12674928138347676680.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12674928138347676680.key) 21:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:55 + git tag --points-at HEAD [Pipeline] } 21:01:55 $ docker exec --env ******** --env ******** 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent -k 21:01:55 unset SSH_AUTH_SOCK; 21:01:55 unset SSH_AGENT_PID; 21:01:55 echo Agent pid 39 killed; 21:01:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:55 [ssh-agent] Looking for ssh-agent implementation... 21:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:55 $ docker exec 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent 21:01:55 SSH_AUTH_SOCK=/tmp/ssh-OTZPcQTGJMNC/agent.73 21:01:55 SSH_AGENT_PID=79 21:01:56 Running ssh-add (command line suppressed) 21:01:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2136766052707454464.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2136766052707454464.key) 21:01:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:56 + git semver init 21:01:56 2024-03-20 21:01:56,569 [run_init] DEBUG init version:0.0.0 force:False 21:01:56 2024-03-20 21:01:56,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:01:56 2024-03-20 21:01:56,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:01:56 2024-03-20 21:01:56,571 [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) 21:01:58 2024-03-20 21:01:58,019 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:01:58 2024-03-20 21:01:58,019 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:01:58 2024-03-20 21:01:58,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:01:58 2024-03-20 21:01:58,020 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:01:58 3.2.0-dev.12 [Pipeline] } 21:01:58 $ docker exec --env ******** --env ******** 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent -k 21:01:58 unset SSH_AUTH_SOCK; 21:01:58 unset SSH_AGENT_PID; 21:01:58 echo Agent pid 79 killed; 21:01:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:01:58 + git semver [Pipeline] } 21:01:58 $ docker stop --time=1 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf 21:02:00 $ docker rm -f --volumes 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf [Pipeline] // withDockerContainer [Pipeline] sh 21:02:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:02:00 Stashed 1 file(s) [Pipeline] echo 21:02:00 [edgeXSemver]: initialized semver on version 3.2.0-dev.12 [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 21:02:01 provisioning config files... 21:02:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10012352236923815677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:01 ---> ****-login.sh 21:02:01 nexus3.edgexfoundry.org:10001 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 nexus3.edgexfoundry.org:10002 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 nexus3.edgexfoundry.org:10003 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 nexus3.edgexfoundry.org:10004 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 ****.io 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 ---> ****-login.sh ends [Pipeline] } 21:02:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:02:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:02:01 ========================================================= 21:02:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:02:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:02 + 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 . 21:02:02 Sending build context to Docker daemon 16.36MB 21:02:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:02:02 Step 2/12 : FROM ${BASE} AS builder 21:02:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:02:02 7264a8db6415: Pulling fs layer 21:02:02 c4d48a809fc2: Pulling fs layer 21:02:02 4f1c88b9dad5: Pulling fs layer 21:02:02 ad3a456e5733: Pulling fs layer 21:02:02 69c7f0334f64: Pulling fs layer 21:02:02 1f1c1a5573a3: Pulling fs layer 21:02:02 ce7588e14bc9: Pulling fs layer 21:02:02 b5e4710f87ac: Pulling fs layer 21:02:02 ad3a456e5733: Waiting 21:02:02 69c7f0334f64: Waiting 21:02:02 ce7588e14bc9: Waiting 21:02:02 1f1c1a5573a3: Waiting 21:02:02 b5e4710f87ac: Waiting 21:02:02 c4d48a809fc2: Download complete 21:02:02 ad3a456e5733: Verifying Checksum 21:02:02 ad3a456e5733: Download complete 21:02:02 69c7f0334f64: Verifying Checksum 21:02:02 69c7f0334f64: Download complete 21:02:02 7264a8db6415: Verifying Checksum 21:02:02 7264a8db6415: Download complete 21:02:02 1f1c1a5573a3: Verifying Checksum 21:02:02 1f1c1a5573a3: Download complete 21:02:02 7264a8db6415: Pull complete 21:02:02 b5e4710f87ac: Verifying Checksum 21:02:02 b5e4710f87ac: Download complete 21:02:02 c4d48a809fc2: Pull complete 21:02:02 4f1c88b9dad5: Verifying Checksum 21:02:02 4f1c88b9dad5: Download complete 21:02:03 ce7588e14bc9: Verifying Checksum 21:02:03 ce7588e14bc9: Download complete 21:02:05 4f1c88b9dad5: Pull complete 21:02:05 ad3a456e5733: Pull complete 21:02:05 69c7f0334f64: Pull complete 21:02:05 1f1c1a5573a3: Pull complete 21:02:08 ce7588e14bc9: Pull complete 21:02:09 b5e4710f87ac: Pull complete 21:02:09 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:02:09 ---> 88b5674ff536 21:02:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:15 Still waiting to schedule task 21:02:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-486’ 21:02:16 ---> Running in 78ad4b0f79a4 21:02:16 Removing intermediate container 78ad4b0f79a4 21:02:16 ---> b92fcc9c920d 21:02:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:16 ---> Running in 5273f069a700 21:02:16 Removing intermediate container 5273f069a700 21:02:16 ---> a48735a97f59 21:02:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:16 ---> Running in 6dd7e3a7baae 21:02:16 Removing intermediate container 6dd7e3a7baae 21:02:16 ---> c527d482e0a3 21:02:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:16 ---> Running in 6afb20413648 21:02:16 Removing intermediate container 6afb20413648 21:02:16 ---> a8bc9d00c86f 21:02:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:16 ---> Running in f3b984b4ab33 21:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:02:17 (1/4) Installing openssh-keygen (9.3_p2-r1) 21:02:17 (2/4) Installing libedit (20221030.3.1-r1) 21:02:17 (3/4) Installing openssh-client-common (9.3_p2-r1) 21:02:17 (4/4) Installing openssh-client-default (9.3_p2-r1) 21:02:17 Executing busybox-1.36.1-r5.trigger 21:02:17 OK: 268 MiB in 56 packages 21:02:17 Removing intermediate container f3b984b4ab33 21:02:17 ---> 0d9837a48edb 21:02:17 Step 8/12 : WORKDIR /device-rest-go 21:02:17 ---> Running in 3ecde21c5eac 21:02:17 Removing intermediate container 3ecde21c5eac 21:02:17 ---> bee72806a8db 21:02:17 Step 9/12 : COPY go.mod vendor* ./ 21:02:18 ---> cbe40b5c30f1 21:02:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:18 ---> Running in a850c9f1c2a0 21:03:39 Removing intermediate container a850c9f1c2a0 21:03:39 ---> 325051b855cb 21:03:39 Step 11/12 : COPY . . 21:03:39 ---> 6cb21e2f3eaf 21:03:39 Step 12/12 : RUN $MAKE 21:03:39 ---> Running in 82954e0b3d00 21:03:39 noop 21:03:39 Removing intermediate container 82954e0b3d00 21:03:39 ---> ac78daf6f7ed 21:03:39 Successfully built ac78daf6f7ed 21:03:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:39 + docker inspect -f . ci-base-image-x86_64 21:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:39 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:03:39 $ 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 21:03:40 $ docker top 14ab65b5cbd436e9c51495771e24a45829b1a5bf8bbe2fe46d38673cb8639fac -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:40 + go version 21:03:40 go version go1.21.0 linux/amd64 [Pipeline] } 21:03:40 $ docker stop --time=1 14ab65b5cbd436e9c51495771e24a45829b1a5bf8bbe2fe46d38673cb8639fac 21:03:41 $ docker rm -f --volumes 14ab65b5cbd436e9c51495771e24a45829b1a5bf8bbe2fe46d38673cb8639fac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:42 + docker inspect -f . ci-base-image-x86_64 21:03:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:42 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:03:42 $ 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 21:03:42 $ docker top b28bc6f7840ec70032079390a7e5e809c30ec1ddc7915b9533886c8264eb991f -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:03:43 + make test 21:03:43 go test ./... -coverprofile=coverage.out ./... 21:03:45 ? github.com/edgexfoundry/device-rest-go [no test files] 21:04:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:04:00 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 21:04:08 go vet ./... 21:04:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:13 ./bin/test-attribution-txt.sh 21:04:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 21:04:13 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 21:04:13 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 21:04:13 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 21:04:13 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 21:04:13 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 21:04:13 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 21:04:13 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 21:04:13 An attribution for golang.org/x/term is missing from Attribution.txt, please add 21:04:13 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 21:04:13 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 21:04:13 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 21:04:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:04:13 $ docker stop --time=1 b28bc6f7840ec70032079390a7e5e809c30ec1ddc7915b9533886c8264eb991f 21:04:19 $ docker rm -f --volumes b28bc6f7840ec70032079390a7e5e809c30ec1ddc7915b9533886c8264eb991f [Pipeline] // withDockerContainer [Pipeline] sh 21:04:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:04:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:21 + ls -al . 21:04:21 total 248 21:04:21 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 21:03 . 21:04:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 21:01 .. 21:04:21 -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 21:01 .dockerignore 21:04:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 21:04 .git 21:04:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:01 .github 21:04:21 -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 21:01 .gitignore 21:04:21 -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 21:01 .golangci.yml 21:04:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 21:01 .semver 21:04:21 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 21:01 Attribution.txt 21:04:21 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 21:01 CHANGELOG.md 21:04:21 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 21:01 Dockerfile 21:04:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 21:01 GOVERNANCE.md 21:04:21 -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 21:01 Jenkinsfile 21:04:21 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 21:01 LICENSE 21:04:21 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 21:01 Makefile 21:04:21 -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 21:01 OWNERS.md 21:04:21 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 21:01 README.md 21:04:21 -rw-rw-r-- 1 jenkins jenkins 12 Mar 20 21:02 VERSION 21:04:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:01 bin 21:04:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:01 cmd 21:04:21 -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 21:03 coverage.out 21:04:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:01 driver 21:04:21 -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 21:01 go.mod 21:04:21 -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 21:01 go.sum 21:04:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:01 openapi 21:04:21 -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:21 + 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=546a8bddbc250e09a9704dd77d22d2ef885b0504 --label arch=amd64 --label version=3.2.0-dev.12 . 21:04:21 Sending build context to Docker daemon 16.37MB 21:04:21 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:04:21 Step 2/26 : FROM ${BASE} AS builder 21:04:21 ---> ac78daf6f7ed 21:04:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:04:23 ---> Running in 4e34847f205d 21:04:23 Removing intermediate container 4e34847f205d 21:04:23 ---> 8b41a63f0b2b 21:04:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:23 ---> Running in 4bef7e85274a 21:04:23 Removing intermediate container 4bef7e85274a 21:04:23 ---> fbbb9b000790 21:04:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:23 ---> Running in 0ddeeac26082 21:04:23 Removing intermediate container 0ddeeac26082 21:04:23 ---> 38640da74fa9 21:04:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:04:23 ---> Running in 108281530af0 21:04:23 Removing intermediate container 108281530af0 21:04:23 ---> 020300f9c4ed 21:04:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:23 ---> Running in b30a82066dad 21:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:04:24 OK: 268 MiB in 56 packages 21:04:24 Removing intermediate container b30a82066dad 21:04:24 ---> f7368766298f 21:04:24 Step 8/26 : WORKDIR /device-rest-go 21:04:24 ---> Running in dce2e63b20ec 21:04:24 Removing intermediate container dce2e63b20ec 21:04:24 ---> d6b06498de7d 21:04:24 Step 9/26 : COPY go.mod vendor* ./ 21:04:24 ---> 29beb63a1939 21:04:24 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:24 ---> Running in 3e678083bac2 21:04:25 Removing intermediate container 3e678083bac2 21:04:25 ---> 3eb107e86e33 21:04:25 Step 11/26 : COPY . . 21:04:26 ---> 06976aa54c0e 21:04:26 Step 12/26 : RUN $MAKE 21:04:26 ---> Running in c4bb3ac9914d 21:04:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:04:58 Removing intermediate container c4bb3ac9914d 21:04:58 ---> 442fb01fa471 21:04:58 Step 13/26 : FROM alpine:3.18 21:04:58 3.18: Pulling from library/alpine 21:04:58 619be1103602: Pulling fs layer 21:04:58 619be1103602: Verifying Checksum 21:04:58 619be1103602: Download complete 21:04:58 619be1103602: Pull complete 21:04:58 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 21:04:58 Status: Downloaded newer image for alpine:3.18 21:04:58 ---> d3782b16ccc9 21:04:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:04:58 ---> Running in 3b831dea663f 21:04:58 Removing intermediate container 3b831dea663f 21:04:58 ---> 983cea6056c4 21:04:58 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:04:58 ---> Running in 27f99aa3c84b 21:04:58 Removing intermediate container 27f99aa3c84b 21:04:58 ---> 52b86514466c 21:04:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:04:58 ---> Running in fa708542912d 21:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:04:58 (1/1) Installing dumb-init (1.2.5-r2) 21:04:58 Executing busybox-1.36.1-r5.trigger 21:04:58 OK: 7 MiB in 16 packages 21:04:58 Removing intermediate container fa708542912d 21:04:58 ---> e4a5828535d8 21:04:58 Step 17/26 : RUN apk --no-cache upgrade 21:04:58 ---> Running in 705b4c397a9d 21:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:04:58 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 21:04:58 OK: 7 MiB in 16 packages 21:04:58 Removing intermediate container 705b4c397a9d 21:04:58 ---> 0228f70d1470 21:04:58 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:04:59 ---> 964cc6e6ae22 21:04:59 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:04:59 ---> 987c84f2bb29 21:04:59 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:04:59 ---> 23236a17a1ff 21:04:59 Step 21/26 : EXPOSE 59986 21:04:59 ---> Running in 9dbca76ef5d8 21:04:59 Removing intermediate container 9dbca76ef5d8 21:04:59 ---> f206f478e14e 21:04:59 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:04:59 ---> Running in f2249e1ffb10 21:04:59 Removing intermediate container f2249e1ffb10 21:04:59 ---> 03b1986d080f 21:04:59 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:04:59 ---> Running in 973fee80f8f0 21:04:59 Removing intermediate container 973fee80f8f0 21:04:59 ---> 4bfee84c28ac 21:04:59 Step 24/26 : LABEL arch=amd64 21:04:59 ---> Running in 3b87fc5650ad 21:05:00 Removing intermediate container 3b87fc5650ad 21:05:00 ---> be54160edd0a 21:05:00 Step 25/26 : LABEL git_sha=546a8bddbc250e09a9704dd77d22d2ef885b0504 21:05:00 ---> Running in afaad45fe1bd 21:05:00 Removing intermediate container afaad45fe1bd 21:05:00 ---> bb4436e3f965 21:05:00 Step 26/26 : LABEL version=3.2.0-dev.12 21:05:00 ---> Running in 402543f17a03 21:05:00 Removing intermediate container 402543f17a03 21:05:00 ---> f1540fb72135 21:05:00 [Warning] One or more build-args [ARCH] were not consumed 21:05:00 Successfully built f1540fb72135 21:05:00 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:00 provisioning config files... 21:05:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11661705666669523452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:00 ---> ****-login.sh 21:05:00 nexus3.edgexfoundry.org:10001 21:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:05:00 Configure a credential helper to remove this warning. See 21:05:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:05:00 21:05:00 Login Succeeded 21:05:00 nexus3.edgexfoundry.org:10002 21:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:05:00 Configure a credential helper to remove this warning. See 21:05:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:05:00 21:05:00 Login Succeeded 21:05:00 nexus3.edgexfoundry.org:10003 21:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:05:00 Configure a credential helper to remove this warning. See 21:05:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:05:00 21:05:00 Login Succeeded 21:05:00 nexus3.edgexfoundry.org:10004 21:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:05:00 Configure a credential helper to remove this warning. See 21:05:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:05:00 21:05:00 Login Succeeded 21:05:00 ****.io 21:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:05:01 Configure a credential helper to remove this warning. See 21:05:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:05:01 21:05:01 Login Succeeded 21:05:01 ---> ****-login.sh ends [Pipeline] } 21:05:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:05:01 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:05:01 546a8bddbc250e09a9704dd77d22d2ef885b0504 21:05:01 latest 21:05:01 3.2.0-dev.12 21:05:01 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 21:05:01 main 21:05:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504 21:05:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:05:01 7009d2fe1deb: Preparing 21:05:01 eedb3eb173dc: Preparing 21:05:01 4d2377f362da: Preparing 21:05:01 20821ed0065b: Preparing 21:05:01 980d5397f388: Preparing 21:05:01 aedc3bda2944: Preparing 21:05:01 aedc3bda2944: Waiting 21:05:01 20821ed0065b: Pushed 21:05:01 980d5397f388: Pushed 21:05:01 aedc3bda2944: Layer already exists 21:05:01 7009d2fe1deb: Pushed 21:05:01 eedb3eb173dc: Pushed 21:05:05 4d2377f362da: Pushed 21:05:05 546a8bddbc250e09a9704dd77d22d2ef885b0504: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:05:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:05:05 7009d2fe1deb: Preparing 21:05:05 eedb3eb173dc: Preparing 21:05:05 4d2377f362da: Preparing 21:05:05 20821ed0065b: Preparing 21:05:05 980d5397f388: Preparing 21:05:05 aedc3bda2944: Preparing 21:05:05 aedc3bda2944: Waiting 21:05:05 4d2377f362da: Layer already exists 21:05:05 20821ed0065b: Layer already exists 21:05:05 7009d2fe1deb: Layer already exists 21:05:05 980d5397f388: Layer already exists 21:05:05 eedb3eb173dc: Layer already exists 21:05:05 aedc3bda2944: Layer already exists 21:05:05 latest: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.12 21:05:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:05:06 7009d2fe1deb: Preparing 21:05:06 eedb3eb173dc: Preparing 21:05:06 4d2377f362da: Preparing 21:05:06 20821ed0065b: Preparing 21:05:06 980d5397f388: Preparing 21:05:06 aedc3bda2944: Preparing 21:05:06 aedc3bda2944: Waiting 21:05:06 eedb3eb173dc: Layer already exists 21:05:06 980d5397f388: Layer already exists 21:05:06 4d2377f362da: Layer already exists 21:05:06 20821ed0065b: Layer already exists 21:05:06 7009d2fe1deb: Layer already exists 21:05:06 aedc3bda2944: Layer already exists 21:05:06 3.2.0-dev.12: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 21:05:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:05:07 7009d2fe1deb: Preparing 21:05:07 eedb3eb173dc: Preparing 21:05:07 4d2377f362da: Preparing 21:05:07 20821ed0065b: Preparing 21:05:07 980d5397f388: Preparing 21:05:07 aedc3bda2944: Preparing 21:05:07 4d2377f362da: Layer already exists 21:05:07 7009d2fe1deb: Layer already exists 21:05:07 20821ed0065b: Layer already exists 21:05:07 980d5397f388: Layer already exists 21:05:07 eedb3eb173dc: Layer already exists 21:05:07 aedc3bda2944: Layer already exists 21:05:07 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:05:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:05:07 7009d2fe1deb: Preparing 21:05:07 eedb3eb173dc: Preparing 21:05:07 4d2377f362da: Preparing 21:05:07 20821ed0065b: Preparing 21:05:07 980d5397f388: Preparing 21:05:07 aedc3bda2944: Preparing 21:05:07 aedc3bda2944: Waiting 21:05:07 980d5397f388: Layer already exists 21:05:07 eedb3eb173dc: Layer already exists 21:05:07 7009d2fe1deb: Layer already exists 21:05:07 4d2377f362da: Layer already exists 21:05:07 20821ed0065b: Layer already exists 21:05:07 aedc3bda2944: Layer already exists 21:05:07 main: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:07 ===================================================== [Pipeline] echo 21:05:07 taggedImages: 21:05:07 - nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504 21:05:07 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:05:07 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.12 21:05:07 - nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 21:05:07 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:08 21:05:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:08 latest: Pulling from edgex-lftools-log-publisher 21:05:08 5eb5b503b376: Pulling fs layer 21:05:08 5c69ac0246d0: Pulling fs layer 21:05:08 ec43610c2a17: Pulling fs layer 21:05:08 3a2ae6a8a46f: Pulling fs layer 21:05:08 33b1e0a273af: Pulling fs layer 21:05:08 5d3b04190fa2: Pulling fs layer 21:05:08 2f39f015ded8: Pulling fs layer 21:05:08 3a2ae6a8a46f: Waiting 21:05:08 33b1e0a273af: Waiting 21:05:08 2f39f015ded8: Waiting 21:05:08 5d3b04190fa2: Waiting 21:05:08 5c69ac0246d0: Download complete 21:05:08 3a2ae6a8a46f: Download complete 21:05:08 33b1e0a273af: Verifying Checksum 21:05:08 33b1e0a273af: Download complete 21:05:08 ec43610c2a17: Verifying Checksum 21:05:08 ec43610c2a17: Download complete 21:05:08 5d3b04190fa2: Verifying Checksum 21:05:08 5d3b04190fa2: Download complete 21:05:08 5eb5b503b376: Verifying Checksum 21:05:08 5eb5b503b376: Download complete 21:05:09 2f39f015ded8: Download complete 21:05:09 5eb5b503b376: Pull complete 21:05:10 5c69ac0246d0: Pull complete 21:05:10 ec43610c2a17: Pull complete 21:05:10 3a2ae6a8a46f: Pull complete 21:05:10 33b1e0a273af: Pull complete 21:05:10 5d3b04190fa2: Pull complete 21:05:15 2f39f015ded8: Pull complete 21:05:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:15 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:05:15 $ 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 21:05:20 $ docker top 46cc3c79e3d27682b48e8c30c9dd3fc93ec9c8a370e3a9fb92da47c9961d9318 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:21 ---> job-cost.sh 21:05:21 lf-activate-venv: SKIPPING 21:05:21 INFO: No Stack... 21:05:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:22 INFO: Archiving Costs [Pipeline] sh 21:05:22 + cut -d, -f6 21:05:22 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 21:05:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] 21:05:22 Resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] did not exist. Created. 21:05:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:22 + echo total: 0.2199999988079071 [Pipeline] stash 21:05:22 Stashed 1 file(s) [Pipeline] } 21:05:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:22 $ docker stop --time=1 46cc3c79e3d27682b48e8c30c9dd3fc93ec9c8a370e3a9fb92da47c9961d9318 21:05:23 $ docker rm -f --volumes 46cc3c79e3d27682b48e8c30c9dd3fc93ec9c8a370e3a9fb92da47c9961d9318 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:05:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-489 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:05:43 Running in /w/workspace/device-rest-go/164 [Pipeline] { [Pipeline] checkout 21:05:43 The recommended git tool is: git 21:05:48 using credential edgex-jenkins-ssh 21:05:48 Cloning the remote Git repository 21:05:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:05:48 > git init /w/workspace/device-rest-go/164 # timeout=10 21:05:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:05:48 > git --version # timeout=10 21:05:49 > git --version # 'git version 2.25.1' 21:05:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:52 Avoid second fetch 21:05:52 Checking out Revision 546a8bddbc250e09a9704dd77d22d2ef885b0504 (main) 21:05:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:05:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:52 > git config core.sparsecheckout # timeout=10 21:05:52 > git checkout -f 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 21:05:53 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#387)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:05:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:57 Dload Upload Total Spent Left Speed 21:05:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh 21:05:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:05:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:05:58 sudo tee /etc/docker/daemon.new 21:05:58 { 21:05:58 "registry-mirrors": [ 21:05:58 "https://nexus3.edgexfoundry.org:10001" 21:05:58 ], 21:05:58 "bip": "10.250.0.254/24", 21:05:58 "hosts": [ 21:05:58 "tcp://0.0.0.0:5555", 21:05:58 "unix:///var/run/docker.sock" 21:05:58 ], 21:05:58 "mtu": 1458, 21:05:58 "selinux-enabled": true, 21:05:58 "seccomp-profile": "/etc/docker/seccomp.json" 21:05:58 } [Pipeline] sh 21:05:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:05:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:17 provisioning config files... 21:06:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/164@tmp/config12305647794669630568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:17 ---> ****-login.sh 21:06:17 nexus3.edgexfoundry.org:10001 21:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:18 Configure a credential helper to remove this warning. See 21:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:18 21:06:18 Login Succeeded 21:06:18 nexus3.edgexfoundry.org:10002 21:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:18 Configure a credential helper to remove this warning. See 21:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:18 21:06:18 Login Succeeded 21:06:18 nexus3.edgexfoundry.org:10003 21:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:19 Configure a credential helper to remove this warning. See 21:06:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:19 21:06:19 Login Succeeded 21:06:19 nexus3.edgexfoundry.org:10004 21:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:19 Configure a credential helper to remove this warning. See 21:06:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:19 21:06:19 Login Succeeded 21:06:19 ****.io 21:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:20 Configure a credential helper to remove this warning. See 21:06:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:20 21:06:20 Login Succeeded 21:06:20 ---> ****-login.sh ends [Pipeline] } 21:06:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:06:20 ========================================================= 21:06:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:06:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:20 + 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 . 21:06:20 Sending build context to Docker daemon 131.1kB 21:06:21 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:06:21 Step 2/12 : FROM ${BASE} AS builder 21:06:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:21 9fda8d8052c6: Pulling fs layer 21:06:21 5d54e960e981: Pulling fs layer 21:06:21 c4a7e357bf2a: Pulling fs layer 21:06:21 f0e02332f6b5: Pulling fs layer 21:06:21 872ee5b61b7b: Pulling fs layer 21:06:21 0c6a40ed1a82: Pulling fs layer 21:06:21 94ae7d8d031c: Pulling fs layer 21:06:21 f0e02332f6b5: Waiting 21:06:21 94ae7d8d031c: Waiting 21:06:21 5d54e960e981: Verifying Checksum 21:06:21 5d54e960e981: Download complete 21:06:21 f0e02332f6b5: Verifying Checksum 21:06:21 f0e02332f6b5: Download complete 21:06:21 872ee5b61b7b: Verifying Checksum 21:06:21 872ee5b61b7b: Download complete 21:06:21 9fda8d8052c6: Verifying Checksum 21:06:21 9fda8d8052c6: Download complete 21:06:21 94ae7d8d031c: Verifying Checksum 21:06:21 94ae7d8d031c: Download complete 21:06:22 9fda8d8052c6: Pull complete 21:06:22 5d54e960e981: Pull complete 21:06:23 c4a7e357bf2a: Download complete 21:06:23 0c6a40ed1a82: Verifying Checksum 21:06:23 0c6a40ed1a82: Download complete 21:06:36 c4a7e357bf2a: Pull complete 21:06:36 f0e02332f6b5: Pull complete 21:06:36 872ee5b61b7b: Pull complete 21:06:44 0c6a40ed1a82: Pull complete 21:06:46 94ae7d8d031c: Pull complete 21:06:46 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:06:46 ---> 86de565de09d 21:06:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:47 ---> Running in 6eae2d5221dc 21:06:48 Removing intermediate container 6eae2d5221dc 21:06:48 ---> b226b05e664b 21:06:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:48 ---> Running in 3f2f12f2e438 21:06:48 Removing intermediate container 3f2f12f2e438 21:06:48 ---> de7455564996 21:06:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:48 ---> Running in 95ddbb71ad39 21:06:48 Removing intermediate container 95ddbb71ad39 21:06:48 ---> 3c864592f984 21:06:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:48 ---> Running in 9adf0d9b5d9a 21:06:49 Removing intermediate container 9adf0d9b5d9a 21:06:49 ---> 94668a6295fe 21:06:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:49 ---> Running in 8366e244148e 21:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:06:51 (1/4) Installing openssh-keygen (9.3_p2-r1) 21:06:51 (2/4) Installing libedit (20221030.3.1-r1) 21:06:51 (3/4) Installing openssh-client-common (9.3_p2-r1) 21:06:51 (4/4) Installing openssh-client-default (9.3_p2-r1) 21:06:51 Executing busybox-1.36.1-r5.trigger 21:06:51 OK: 271 MiB in 56 packages 21:06:52 Removing intermediate container 8366e244148e 21:06:52 ---> b6df4e7214fc 21:06:52 Step 8/12 : WORKDIR /device-rest-go 21:06:52 ---> Running in dedf2badd142 21:06:53 Removing intermediate container dedf2badd142 21:06:53 ---> fe5757942500 21:06:53 Step 9/12 : COPY go.mod vendor* ./ 21:06:53 ---> e9ecd44ef7b7 21:06:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:53 ---> Running in ede39a9ed417 21:09:00 Removing intermediate container ede39a9ed417 21:09:00 ---> 5b79a7c79c71 21:09:00 Step 11/12 : COPY . . 21:09:00 ---> 38895449803f 21:09:00 Step 12/12 : RUN $MAKE 21:09:00 ---> Running in 88e678c34492 21:09:00 noop 21:09:00 Removing intermediate container 88e678c34492 21:09:00 ---> b5b0f65243e4 21:09:00 Successfully built b5b0f65243e4 21:09:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:00 + docker inspect -f . ci-base-image-arm64 21:09:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:00 prd-ubuntu20.04-docker-arm64-4c-16g-489 does not seem to be running inside a container 21:09:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/164 -v /w/workspace/device-rest-go/164:/w/workspace/device-rest-go/164:rw,z -v /w/workspace/device-rest-go/164@tmp:/w/workspace/device-rest-go/164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:09:02 $ docker top 47b9b7542874d5dd45876c5b7ba86f9d27af18d08e64fe8759c2b558295950df -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:03 + go version 21:09:03 go version go1.21.0 linux/arm64 [Pipeline] } 21:09:03 $ docker stop --time=1 47b9b7542874d5dd45876c5b7ba86f9d27af18d08e64fe8759c2b558295950df 21:09:04 $ docker rm -f --volumes 47b9b7542874d5dd45876c5b7ba86f9d27af18d08e64fe8759c2b558295950df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:05 + docker inspect -f . ci-base-image-arm64 21:09:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:05 prd-ubuntu20.04-docker-arm64-4c-16g-489 does not seem to be running inside a container 21:09:05 $ 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/164 -v /w/workspace/device-rest-go/164:/w/workspace/device-rest-go/164:rw,z -v /w/workspace/device-rest-go/164@tmp:/w/workspace/device-rest-go/164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:09:06 $ docker top 8cb6c85d71e62796720e82d258857221d64426f68063f14d82d30fce816a11a4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:07 + git config --global --add safe.directory /w/workspace/device-rest-go/164 [Pipeline] fileExists [Pipeline] sh 21:09:08 + make test 21:09:08 go test ./... -coverprofile=coverage.out ./... 21:09:13 ? github.com/edgexfoundry/device-rest-go [no test files] 21:11:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:11:36 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.2% of statements 21:11:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:11:37 go vet ./... 21:12:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:16 ./bin/test-attribution-txt.sh 21:12:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 21:12:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 21:12:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 21:12:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 21:12:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 21:12:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 21:12:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 21:12:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 21:12:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 21:12:16 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 21:12:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 21:12:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 21:12:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:12:16 $ docker stop --time=1 8cb6c85d71e62796720e82d258857221d64426f68063f14d82d30fce816a11a4 21:12:18 $ docker rm -f --volumes 8cb6c85d71e62796720e82d258857221d64426f68063f14d82d30fce816a11a4 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:20 Warning: overwriting stash ‘coverage-report’ 21:12:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:21 + ls -al . 21:12:21 total 244 21:12:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 21:09 . 21:12:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 21:05 .. 21:12:21 -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 21:05 .dockerignore 21:12:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 21:05 .git 21:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:05 .github 21:12:21 -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 21:05 .gitignore 21:12:21 -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 21:05 .golangci.yml 21:12:21 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 21:05 Attribution.txt 21:12:21 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 21:05 CHANGELOG.md 21:12:21 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 21:05 Dockerfile 21:12:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 21:05 GOVERNANCE.md 21:12:21 -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 21:05 Jenkinsfile 21:12:21 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 21:05 LICENSE 21:12:21 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 21:05 Makefile 21:12:21 -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 21:05 OWNERS.md 21:12:21 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 21:05 README.md 21:12:21 -rw-rw-r-- 1 jenkins jenkins 12 Mar 20 21:02 VERSION 21:12:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:05 bin 21:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:05 cmd 21:12:21 -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 21:11 coverage.out 21:12:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:05 driver 21:12:21 -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 21:05 go.mod 21:12:21 -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 21:05 go.sum 21:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:05 openapi 21:12:21 -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:21 + 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=546a8bddbc250e09a9704dd77d22d2ef885b0504 --label arch=arm64 --label version=3.2.0-dev.12 . 21:12:21 Sending build context to Docker daemon 146.4kB 21:12:21 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:12:21 Step 2/26 : FROM ${BASE} AS builder 21:12:21 ---> b5b0f65243e4 21:12:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:12:21 ---> Running in c921884ad5dc 21:12:22 Removing intermediate container c921884ad5dc 21:12:22 ---> d3b2744c5185 21:12:22 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:22 ---> Running in a464257df9d9 21:12:22 Removing intermediate container a464257df9d9 21:12:22 ---> ff8f32246438 21:12:22 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:12:22 ---> Running in 099e56a2c96d 21:12:23 Removing intermediate container 099e56a2c96d 21:12:23 ---> b5db396209ba 21:12:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:12:23 ---> Running in 9719309fb7b8 21:12:23 Removing intermediate container 9719309fb7b8 21:12:23 ---> aafcdad06bb3 21:12:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:23 ---> Running in 267b0952d9af 21:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:12:26 OK: 271 MiB in 56 packages 21:12:26 Removing intermediate container 267b0952d9af 21:12:26 ---> 7c2da156d4d3 21:12:26 Step 8/26 : WORKDIR /device-rest-go 21:12:27 ---> Running in d40557783b37 21:12:27 Removing intermediate container d40557783b37 21:12:27 ---> 1d347659729f 21:12:27 Step 9/26 : COPY go.mod vendor* ./ 21:12:27 ---> ecd11e5d7bb2 21:12:27 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:27 ---> Running in f875c6b3d45d 21:12:30 Removing intermediate container f875c6b3d45d 21:12:30 ---> f6b26b0f9f72 21:12:30 Step 11/26 : COPY . . 21:12:30 ---> 904d7a84b0bc 21:12:30 Step 12/26 : RUN $MAKE 21:12:30 ---> Running in 73771e0563d1 21:12:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:15:23 Removing intermediate container 73771e0563d1 21:15:23 ---> 8bde71de4116 21:15:23 Step 13/26 : FROM alpine:3.18 21:15:23 3.18: Pulling from library/alpine 21:15:23 c6b39de5b339: Pulling fs layer 21:15:23 c6b39de5b339: Verifying Checksum 21:15:23 c6b39de5b339: Download complete 21:15:23 c6b39de5b339: Pull complete 21:15:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 21:15:23 Status: Downloaded newer image for alpine:3.18 21:15:23 ---> 33abbf032149 21:15:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:15:23 ---> Running in 74ef17b8f436 21:15:23 Removing intermediate container 74ef17b8f436 21:15:23 ---> 4c30defdadc5 21:15:23 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:15:23 ---> Running in 2a491b9cdad0 21:15:23 Removing intermediate container 2a491b9cdad0 21:15:23 ---> aa1d3696e10a 21:15:23 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:15:23 ---> Running in 323f00795585 21:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:23 (1/1) Installing dumb-init (1.2.5-r2) 21:15:23 Executing busybox-1.36.1-r5.trigger 21:15:23 OK: 8 MiB in 16 packages 21:15:23 Removing intermediate container 323f00795585 21:15:23 ---> b0d72ae1d4e4 21:15:23 Step 17/26 : RUN apk --no-cache upgrade 21:15:23 ---> Running in 1030dad2b810 21:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:23 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 21:15:23 OK: 8 MiB in 16 packages 21:15:23 Removing intermediate container 1030dad2b810 21:15:23 ---> a35ac3b611bb 21:15:23 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:15:23 ---> 492955374330 21:15:23 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:15:23 ---> ebea66afb0ff 21:15:23 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:15:23 ---> e2c2ca877c0a 21:15:23 Step 21/26 : EXPOSE 59986 21:15:23 ---> Running in 8a76308f1c6f 21:15:23 Removing intermediate container 8a76308f1c6f 21:15:23 ---> a4a09e23796e 21:15:23 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:15:23 ---> Running in db472f7f938e 21:15:23 Removing intermediate container db472f7f938e 21:15:23 ---> fc85960d9cdf 21:15:23 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:15:23 ---> Running in 45c51260febc 21:15:23 Removing intermediate container 45c51260febc 21:15:23 ---> 8bde5693b4cc 21:15:23 Step 24/26 : LABEL arch=arm64 21:15:23 ---> Running in e086604fa471 21:15:23 Removing intermediate container e086604fa471 21:15:23 ---> 843afb8a4c52 21:15:23 Step 25/26 : LABEL git_sha=546a8bddbc250e09a9704dd77d22d2ef885b0504 21:15:23 ---> Running in 962014d920e1 21:15:23 Removing intermediate container 962014d920e1 21:15:23 ---> 0d5426771bf7 21:15:23 Step 26/26 : LABEL version=3.2.0-dev.12 21:15:23 ---> Running in 66eca588f3fe 21:15:23 Removing intermediate container 66eca588f3fe 21:15:23 ---> 0cd4e63e3c0d 21:15:23 [Warning] One or more build-args [ARCH] were not consumed 21:15:23 Successfully built 0cd4e63e3c0d 21:15:23 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 21:15:23 provisioning config files... 21:15:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/164@tmp/config11251329577895310188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:23 ---> ****-login.sh 21:15:23 nexus3.edgexfoundry.org:10001 21:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:15:24 Configure a credential helper to remove this warning. See 21:15:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:15:24 21:15:24 Login Succeeded 21:15:24 nexus3.edgexfoundry.org:10002 21:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:15:24 Configure a credential helper to remove this warning. See 21:15:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:15:24 21:15:24 Login Succeeded 21:15:24 nexus3.edgexfoundry.org:10003 21:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:15:24 Configure a credential helper to remove this warning. See 21:15:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:15:24 21:15:24 Login Succeeded 21:15:24 nexus3.edgexfoundry.org:10004 21:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:15:25 Configure a credential helper to remove this warning. See 21:15:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:15:25 21:15:25 Login Succeeded 21:15:25 ****.io 21:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:15:25 Configure a credential helper to remove this warning. See 21:15:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:15:25 21:15:25 Login Succeeded 21:15:25 ---> ****-login.sh ends [Pipeline] } 21:15:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:15:25 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:15:25 546a8bddbc250e09a9704dd77d22d2ef885b0504 21:15:25 latest 21:15:25 3.2.0-dev.12 21:15:25 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 21:15:25 main 21:15:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504 21:15:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:26 4c2d9dfdc3ab: Preparing 21:15:26 24f08c979578: Preparing 21:15:26 ee2d23dde85b: Preparing 21:15:26 1606ff8ca824: Preparing 21:15:26 19d8e9da7b92: Preparing 21:15:26 7c504f21be85: Preparing 21:15:26 7c504f21be85: Waiting 21:15:26 24f08c979578: Pushed 21:15:26 4c2d9dfdc3ab: Pushed 21:15:26 19d8e9da7b92: Pushed 21:15:26 1606ff8ca824: Pushed 21:15:26 7c504f21be85: Layer already exists 21:15:33 ee2d23dde85b: Pushed 21:15:33 546a8bddbc250e09a9704dd77d22d2ef885b0504: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:15:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:34 4c2d9dfdc3ab: Preparing 21:15:34 24f08c979578: Preparing 21:15:34 ee2d23dde85b: Preparing 21:15:34 1606ff8ca824: Preparing 21:15:34 19d8e9da7b92: Preparing 21:15:34 7c504f21be85: Preparing 21:15:34 7c504f21be85: Waiting 21:15:34 4c2d9dfdc3ab: Layer already exists 21:15:34 19d8e9da7b92: Layer already exists 21:15:34 24f08c979578: Layer already exists 21:15:34 ee2d23dde85b: Layer already exists 21:15:34 1606ff8ca824: Layer already exists 21:15:34 7c504f21be85: Layer already exists 21:15:34 latest: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.12 21:15:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:35 4c2d9dfdc3ab: Preparing 21:15:35 24f08c979578: Preparing 21:15:35 ee2d23dde85b: Preparing 21:15:35 1606ff8ca824: Preparing 21:15:35 19d8e9da7b92: Preparing 21:15:35 7c504f21be85: Preparing 21:15:35 7c504f21be85: Waiting 21:15:35 24f08c979578: Layer already exists 21:15:35 ee2d23dde85b: Layer already exists 21:15:35 4c2d9dfdc3ab: Layer already exists 21:15:35 19d8e9da7b92: Layer already exists 21:15:35 1606ff8ca824: Layer already exists 21:15:35 7c504f21be85: Layer already exists 21:15:35 3.2.0-dev.12: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 21:15:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:36 4c2d9dfdc3ab: Preparing 21:15:36 24f08c979578: Preparing 21:15:36 ee2d23dde85b: Preparing 21:15:36 1606ff8ca824: Preparing 21:15:36 19d8e9da7b92: Preparing 21:15:36 7c504f21be85: Preparing 21:15:36 7c504f21be85: Waiting 21:15:36 19d8e9da7b92: Layer already exists 21:15:36 ee2d23dde85b: Layer already exists 21:15:36 1606ff8ca824: Layer already exists 21:15:36 24f08c979578: Layer already exists 21:15:36 4c2d9dfdc3ab: Layer already exists 21:15:36 7c504f21be85: Layer already exists 21:15:36 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:15:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:15:36 4c2d9dfdc3ab: Preparing 21:15:36 24f08c979578: Preparing 21:15:36 ee2d23dde85b: Preparing 21:15:36 1606ff8ca824: Preparing 21:15:36 19d8e9da7b92: Preparing 21:15:36 7c504f21be85: Preparing 21:15:36 7c504f21be85: Waiting 21:15:36 24f08c979578: Layer already exists 21:15:36 19d8e9da7b92: Layer already exists 21:15:36 4c2d9dfdc3ab: Layer already exists 21:15:36 ee2d23dde85b: Layer already exists 21:15:36 1606ff8ca824: Layer already exists 21:15:36 7c504f21be85: Layer already exists 21:15:37 main: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:37 ===================================================== [Pipeline] echo 21:15:37 taggedImages: 21:15:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504 21:15:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:15:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.12 21:15:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 21:15:37 - 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 21:15:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:37 21:15:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:37 arm64: Pulling from edgex-lftools-log-publisher 21:15:37 8998bd30e6a1: Pulling fs layer 21:15:37 04944245beec: Pulling fs layer 21:15:37 699f458cf7ca: Pulling fs layer 21:15:37 765212b225bb: Pulling fs layer 21:15:37 f23df028b6ca: Pulling fs layer 21:15:37 d65c8cfc05b1: Pulling fs layer 21:15:37 2437ff75d9bd: Pulling fs layer 21:15:37 d65c8cfc05b1: Waiting 21:15:37 765212b225bb: Waiting 21:15:37 2437ff75d9bd: Waiting 21:15:37 f23df028b6ca: Waiting 21:15:38 04944245beec: Verifying Checksum 21:15:38 04944245beec: Download complete 21:15:38 765212b225bb: Verifying Checksum 21:15:38 765212b225bb: Download complete 21:15:38 f23df028b6ca: Verifying Checksum 21:15:38 f23df028b6ca: Download complete 21:15:38 d65c8cfc05b1: Download complete 21:15:38 699f458cf7ca: Verifying Checksum 21:15:38 699f458cf7ca: Download complete 21:15:38 8998bd30e6a1: Verifying Checksum 21:15:38 8998bd30e6a1: Download complete 21:15:41 2437ff75d9bd: Verifying Checksum 21:15:41 2437ff75d9bd: Download complete 21:15:43 8998bd30e6a1: Pull complete 21:15:43 04944245beec: Pull complete 21:15:45 699f458cf7ca: Pull complete 21:15:45 765212b225bb: Pull complete 21:15:46 f23df028b6ca: Pull complete 21:15:46 d65c8cfc05b1: Pull complete 21:16:04 2437ff75d9bd: Pull complete 21:16:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:05 prd-ubuntu20.04-docker-arm64-4c-16g-489 does not seem to be running inside a container 21:16:05 $ 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/164 -v /w/workspace/device-rest-go/164:/w/workspace/device-rest-go/164:rw,z -v /w/workspace/device-rest-go/164@tmp:/w/workspace/device-rest-go/164@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:arm64 cat 21:16:07 $ docker top 7b52fea5ab6575ccb6b17bfef6b1ccf71d778cd71ac9039a09415b61f62c5505 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:08 ---> job-cost.sh 21:16:08 lf-activate-venv: SKIPPING 21:16:08 INFO: No Stack... 21:16:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:10 INFO: Archiving Costs [Pipeline] sh 21:16:10 + cat /w/workspace/device-rest-go/164/archives/cost.csv 21:16:10 + cut -d, -f6 [Pipeline] lock 21:16:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] 21:16:10 Resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] did not exist. Created. 21:16:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:11 /w/workspace/device-rest-go/164@tmp/durable-ea4b69c5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:12 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:12 Warning: overwriting stash ‘stack-cost’ 21:16:12 Stashed 1 file(s) [Pipeline] } 21:16:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:12 $ docker stop --time=1 7b52fea5ab6575ccb6b17bfef6b1ccf71d778cd71ac9039a09415b61f62c5505 21:16:13 $ docker rm -f --volumes 7b52fea5ab6575ccb6b17bfef6b1ccf71d778cd71ac9039a09415b61f62c5505 [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 21:16:14 provisioning config files... 21:16:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5017311275886848598tmp [Pipeline] { [Pipeline] sh 21:16:14 + set +x 21:16:14 + + curl -s https://codecov.io/bash 21:16:14 bash -s -- 21:16:14 21:16:14 _____ _ 21:16:14 / ____| | | 21:16:14 | | ___ __| | ___ ___ _____ __ 21:16:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:14 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:14 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:14 Bash-1.0.6 21:16:14 21:16:14 21:16:14 ==> git version 2.25.1 found 21:16:14 ==> 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 21:16:14 Release-Date: 2020-01-08 21:16:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:16:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:14 ==> Jenkins CI detected. 21:16:14 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:16:14 project root: . 21:16:14 --> token set from env 21:16:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:14 ==> Running gcov in . (disable via -X gcov) 21:16:14 ==> Python coveragepy not found 21:16:14 ==> Searching for coverage reports in: 21:16:14 + . 21:16:14 -> Found 1 reports 21:16:14 ==> Detecting git/mercurial file structure 21:16:14 ==> Reading reports 21:16:14 + ./coverage.out bytes=14499 21:16:14 ==> Appending adjustments 21:16:14 https://docs.codecov.io/docs/fixing-reports 21:16:14 + Found adjustments 21:16:14 ==> Gzipping contents 21:16:14 4.0K /tmp/codecov.9GuuGO.gz 21:16:14 ==> Uploading reports 21:16:14 url: https://codecov.io 21:16:14 query: branch=main&commit=546a8bddbc250e09a9704dd77d22d2ef885b0504&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:14 -> Pinging Codecov 21:16:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=546a8bddbc250e09a9704dd77d22d2ef885b0504&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:15 -> Uploading to 21:16:15 https://storage.googleapis.com/codecov/v4/raw/2024-03-20/4E5D53B4F1F92C436F7061BF334D961C/546a8bddbc250e09a9704dd77d22d2ef885b0504/f9bbba57-1df0-46ac-9808-3ed907c24fcc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240320T211615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=514f3a715f78961792908d18071ecf37b281fccbd24abf02b8938cbce68ecc88 21:16:15 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:15 Dload Upload Total Spent Left Speed 21:16:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 9210 --:--:-- --:--:-- --:--:-- 9173 21:16:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] } 21:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:16:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:16:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:16 21:16:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:16:16 df9b9388f04a: Pulling fs layer 21:16:16 52dc419b0ee2: Pulling fs layer 21:16:16 25bc292e5bac: Pulling fs layer 21:16:16 114826534d7a: Pulling fs layer 21:16:16 4657fd5d0bcf: Pulling fs layer 21:16:16 6ad1cebc031e: Pulling fs layer 21:16:16 8a3aa393b2d8: Pulling fs layer 21:16:16 6ad1cebc031e: Waiting 21:16:16 8a3aa393b2d8: Waiting 21:16:16 25bc292e5bac: Verifying Checksum 21:16:16 25bc292e5bac: Download complete 21:16:16 52dc419b0ee2: Download complete 21:16:16 4657fd5d0bcf: Verifying Checksum 21:16:16 4657fd5d0bcf: Download complete 21:16:16 df9b9388f04a: Download complete 21:16:16 6ad1cebc031e: Verifying Checksum 21:16:16 df9b9388f04a: Pull complete 21:16:16 52dc419b0ee2: Pull complete 21:16:16 25bc292e5bac: Pull complete 21:16:17 114826534d7a: Verifying Checksum 21:16:17 114826534d7a: Download complete 21:16:17 8a3aa393b2d8: Verifying Checksum 21:16:17 8a3aa393b2d8: Download complete 21:16:20 114826534d7a: Pull complete 21:16:20 4657fd5d0bcf: Pull complete 21:16:20 6ad1cebc031e: Pull complete 21:16:23 8a3aa393b2d8: Pull complete 21:16:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:16:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:23 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:16:23 $ 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:1.410.4 cat 21:16:31 $ docker top 05b6f9ed240f22335c331e3489c9582ee5fc953b65a3d3002052a21e14077b7b -eo pid,comm [Pipeline] { [Pipeline] echo 21:16:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:16:31 + set -o pipefail 21:16:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:16:38 21:16:38 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:16:38 21:16:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/2450d7ce-bd5e-4220-a769-284911fe22ca 21:16:38 21:16:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:16:38 21:16:38 21:16:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:16:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:16:38 More details here: https://snyk.co/ue1NS [Pipeline] } 21:16:38 $ docker stop --time=1 05b6f9ed240f22335c331e3489c9582ee5fc953b65a3d3002052a21e14077b7b 21:16:43 $ docker rm -f --volumes 05b6f9ed240f22335c331e3489c9582ee5fc953b65a3d3002052a21e14077b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:44 + git log --format=format:%s -1 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] sh 21:16:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:45 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:16:45 $ 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 21:16:45 $ docker top 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 -eo pid,comm 21:16:46 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). 21:16:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:46 [ssh-agent] Looking for ssh-agent implementation... 21:16:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:46 $ docker exec 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 ssh-agent 21:16:46 SSH_AUTH_SOCK=/tmp/ssh-eyZ1VE9lIUYI/agent.31 21:16:46 SSH_AGENT_PID=37 21:16:46 Running ssh-add (command line suppressed) 21:16:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7827828511455907416.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7827828511455907416.key) 21:16:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:46 + git semver tag 21:16:46 2024-03-20 21:16:46,830 [run_tag] DEBUG tag force:False 21:16:46 2024-03-20 21:16:46,830 [check_head_tag] DEBUG check head tag 21:16:46 2024-03-20 21:16:46,831 [execute] INFO git cat-file --batch-check 21:16:46 2024-03-20 21:16:46,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:16:46 2024-03-20 21:16:46,835 [execute] INFO git cat-file --batch 21:16:46 2024-03-20 21:16:46,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:16:46 2024-03-20 21:16:46,855 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:46 2024-03-20 21:16:46,855 [execute] INFO git tag -a v3.2.0-dev.12 -m v3.2.0-dev.12 21:16:46 2024-03-20 21:16:46,855 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.12', '-m', 'v3.2.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:16:46 2024-03-20 21:16:46,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:16:46 3.2.0-dev.12 [Pipeline] } 21:16:46 $ docker exec --env ******** --env ******** 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 ssh-agent -k 21:16:47 unset SSH_AUTH_SOCK; 21:16:47 unset SSH_AGENT_PID; 21:16:47 echo Agent pid 37 killed; 21:16:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:47 + git semver [Pipeline] } 21:16:47 $ docker stop --time=1 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 21:16:48 $ docker rm -f --volumes 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:49 21:16:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:49 0.23.1-centos7: Pulling from edgex-lftools 21:16:49 ab5ef0e58194: Pulling fs layer 21:16:49 9712f1f96733: Pulling fs layer 21:16:49 63f879dbbcfc: Pulling fs layer 21:16:49 0d9ebad4ef96: Pulling fs layer 21:16:49 e9a5061849ea: Pulling fs layer 21:16:49 d747dcd14b5f: Pulling fs layer 21:16:49 2de7ff778b66: Pulling fs layer 21:16:49 e9a5061849ea: Waiting 21:16:49 d747dcd14b5f: Waiting 21:16:49 2de7ff778b66: Waiting 21:16:49 0d9ebad4ef96: Waiting 21:16:49 9712f1f96733: Download complete 21:16:49 63f879dbbcfc: Verifying Checksum 21:16:49 63f879dbbcfc: Download complete 21:16:50 e9a5061849ea: Verifying Checksum 21:16:50 e9a5061849ea: Download complete 21:16:50 d747dcd14b5f: Download complete 21:16:50 ab5ef0e58194: Verifying Checksum 21:16:50 ab5ef0e58194: Download complete 21:16:50 0d9ebad4ef96: Verifying Checksum 21:16:50 2de7ff778b66: Verifying Checksum 21:16:50 2de7ff778b66: Download complete 21:16:52 ab5ef0e58194: Pull complete 21:16:52 9712f1f96733: Pull complete 21:16:53 63f879dbbcfc: Pull complete 21:16:57 0d9ebad4ef96: Pull complete 21:16:57 e9a5061849ea: Pull complete 21:16:57 d747dcd14b5f: Pull complete 21:16:58 2de7ff778b66: Pull complete 21:16:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:16:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:58 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:16:58 $ 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 21:17:07 $ docker top 7e1f03cb2bd58407fc36e52ab9e2242fec50b04137c2c2a0a8f196b0f096c48a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:17:07 provisioning config files... 21:17:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5543148062306706040tmp 21:17:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6770432980687559834tmp 21:17:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11035645560662944122tmp [Pipeline] { [Pipeline] echo 21:17:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:17:07 ---> sigul-configuration.sh 21:17:07 gpg: directory `/root/.gnupg' created 21:17:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:17:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:17:07 gpg: keyring `/root/.gnupg/secring.gpg' created 21:17:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:17:07 gpg: CAST5 encrypted data 21:17:07 gpg: encrypted with 1 passphrase 21:17:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:17:08 + mkdir /home/jenkins 21:17:08 + mkdir /home/jenkins/sigul [Pipeline] sh 21:17:08 + 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 21:17:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:17:08 ---> sigul-install.sh 21:17:08 Sigul already installed; skipping installation. [Pipeline] sh 21:17:09 + git tag --list 21:17:09 v1.0.0 21:17:09 v1.1.0 21:17:09 v1.1.1 21:17:09 v1.1.2 21:17:09 v1.2.0 21:17:09 v1.2.1 21:17:09 v2.0.0 21:17:09 v2.1.0 21:17:09 v2.1.1 21:17:09 v2.2.0 21:17:09 v2.3.0 21:17:09 v3.0 21:17:09 v3.0.0 21:17:09 v3.1 21:17:09 v3.1.0 21:17:09 v3.1.0-dev.1 21:17:09 v3.1.0-dev.10 21:17:09 v3.1.0-dev.11 21:17:09 v3.1.0-dev.12 21:17:09 v3.1.0-dev.13 21:17:09 v3.1.0-dev.14 21:17:09 v3.1.0-dev.15 21:17:09 v3.1.0-dev.16 21:17:09 v3.1.0-dev.17 21:17:09 v3.1.0-dev.18 21:17:09 v3.1.0-dev.19 21:17:09 v3.1.0-dev.2 21:17:09 v3.1.0-dev.20 21:17:09 v3.1.0-dev.21 21:17:09 v3.1.0-dev.22 21:17:09 v3.1.0-dev.23 21:17:09 v3.1.0-dev.24 21:17:09 v3.1.0-dev.25 21:17:09 v3.1.0-dev.26 21:17:09 v3.1.0-dev.27 21:17:09 v3.1.0-dev.28 21:17:09 v3.1.0-dev.29 21:17:09 v3.1.0-dev.3 21:17:09 v3.1.0-dev.30 21:17:09 v3.1.0-dev.31 21:17:09 v3.1.0-dev.32 21:17:09 v3.1.0-dev.4 21:17:09 v3.1.0-dev.5 21:17:09 v3.1.0-dev.6 21:17:09 v3.1.0-dev.7 21:17:09 v3.1.0-dev.8 21:17:09 v3.1.0-dev.9 21:17:09 v3.2.0-dev.1 21:17:09 v3.2.0-dev.10 21:17:09 v3.2.0-dev.11 21:17:09 v3.2.0-dev.12 21:17:09 v3.2.0-dev.2 21:17:09 v3.2.0-dev.3 21:17:09 v3.2.0-dev.4 21:17:09 v3.2.0-dev.5 21:17:09 v3.2.0-dev.6 21:17:09 v3.2.0-dev.7 21:17:09 v3.2.0-dev.8 21:17:09 v3.2.0-dev.9 [Pipeline] sh 21:17:09 + lftools sign git-tag v3.2.0-dev.12 21:17:10 Signing Git tag with Sigul... 21:17:10 Signing v3.2.0-dev.12 [Pipeline] echo 21:17:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:17:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:17:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:17:10 $ docker stop --time=1 7e1f03cb2bd58407fc36e52ab9e2242fec50b04137c2c2a0a8f196b0f096c48a 21:17:11 $ docker rm -f --volumes 7e1f03cb2bd58407fc36e52ab9e2242fec50b04137c2c2a0a8f196b0f096c48a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:17:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:12 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:17:12 $ 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 21:17:13 $ docker top 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 -eo pid,comm 21:17:13 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). 21:17:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:13 [ssh-agent] Looking for ssh-agent implementation... 21:17:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:13 $ docker exec 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 ssh-agent 21:17:13 SSH_AUTH_SOCK=/tmp/ssh-g3C01tPlV0z8/agent.33 21:17:13 SSH_AGENT_PID=39 21:17:13 Running ssh-add (command line suppressed) 21:17:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11669562542874564147.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11669562542874564147.key) 21:17:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:13 + git semver bump pre 21:17:14 2024-03-20 21:17:14,011 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:17:14 2024-03-20 21:17:14,011 [bump_version] DEBUG bumping version:3.2.0-dev.12 on axis:pre with prefix:dev 21:17:14 2024-03-20 21:17:14,011 [bump_version] DEBUG bumped version:3.2.0-dev.13 21:17:14 2024-03-20 21:17:14,011 [write_version] DEBUG write version:3.2.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:17:14 2024-03-20 21:17:14,011 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:17:14 2024-03-20 21:17:14,011 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:17:14 2024-03-20 21:17:14,013 [execute] INFO git cat-file --batch-check 21:17:14 2024-03-20 21:17:14,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:17:14 2024-03-20 21:17:14,018 [execute] INFO git cat-file --batch 21:17:14 2024-03-20 21:17:14,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:17:14 2024-03-20 21:17:14,023 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:17:14 3.2.0-dev.13 [Pipeline] } 21:17:14 $ docker exec --env ******** --env ******** 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 ssh-agent -k 21:17:14 unset SSH_AUTH_SOCK; 21:17:14 unset SSH_AGENT_PID; 21:17:14 echo Agent pid 39 killed; 21:17:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:14 + git semver [Pipeline] } 21:17:14 $ docker stop --time=1 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 21:17:16 $ docker rm -f --volumes 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:16 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:17:16 $ 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 21:17:17 $ docker top 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a -eo pid,comm 21:17:17 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). 21:17:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:17 [ssh-agent] Looking for ssh-agent implementation... 21:17:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:17 $ docker exec 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a ssh-agent 21:17:17 SSH_AUTH_SOCK=/tmp/ssh-ERubKVHrknG9/agent.33 21:17:17 SSH_AGENT_PID=39 21:17:17 Running ssh-add (command line suppressed) 21:17:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9121517917573966729.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9121517917573966729.key) 21:17:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:17 + git semver push 21:17:18 2024-03-20 21:17:18,083 [run_push] DEBUG push 21:17:18 2024-03-20 21:17:18,084 [execute] INFO git cat-file --batch-check 21:17:18 2024-03-20 21:17:18,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:17:18 2024-03-20 21:17:18,088 [execute] INFO git rev-list 23ed6c0e1ce61043a4b8bc7937fda120eb7b9a75 -- 21:17:18 2024-03-20 21:17:18,088 [execute] DEBUG Popen(['git', 'rev-list', '23ed6c0e1ce61043a4b8bc7937fda120eb7b9a75', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:17:18 2024-03-20 21:17:18,097 [execute] INFO git fetch -v origin 21:17:18 2024-03-20 21:17:18,098 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:17:18 2024-03-20 21:17:18,594 [run_push] DEBUG no remote changes detected 21:17:18 2024-03-20 21:17:18,594 [execute] INFO git push origin semver 21:17:18 2024-03-20 21:17:18,594 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:17:19 2024-03-20 21:17:19,470 [run_push] DEBUG push all version tags 21:17:19 2024-03-20 21:17:19,470 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:17:19 2024-03-20 21:17:19,471 [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) 21:17:20 2024-03-20 21:17:20,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:17:20 3.2.0-dev.13 [Pipeline] } 21:17:20 $ docker exec --env ******** --env ******** 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a ssh-agent -k 21:17:20 unset SSH_AUTH_SOCK; 21:17:20 unset SSH_AGENT_PID; 21:17:20 echo Agent pid 39 killed; 21:17:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:20 + git semver [Pipeline] } 21:17:21 $ docker stop --time=1 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a 21:17:22 $ docker rm -f --volumes 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:17:22 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:17:22 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:17:22 total 16 21:17:22 drwxr-xr-x 3 root root 4096 Mar 20 21:05 . 21:17:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 21:17 .. 21:17:22 drwxr-xr-x 2 root root 4096 Mar 20 21:05 cost 21:17:22 -rw-r--r-- 1 root root 86 Mar 20 21:05 cost.csv 21:17:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:17:22 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:17:22 total 16 21:17:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 21:05 . 21:17:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 21:17 .. 21:17:22 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 21:05 cost 21:17:22 -rw-r--r-- 1 jenkins jenkins 86 Mar 20 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:24 ---> package-listing.sh 21:17:24 ++ facter osfamily 21:17:24 ++ tr '[:upper:]' '[:lower:]' 21:17:24 + OS_FAMILY=debian 21:17:24 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:17:24 + START_PACKAGES=/tmp/packages_start.txt 21:17:24 + END_PACKAGES=/tmp/packages_end.txt 21:17:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:24 + PACKAGES=/tmp/packages_start.txt 21:17:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:17:24 + PACKAGES=/tmp/packages_end.txt 21:17:24 + case "${OS_FAMILY}" in 21:17:24 + grep '^ii' 21:17:24 + dpkg -l 21:17:24 + '[' -f /tmp/packages_start.txt ']' 21:17:24 + '[' -f /tmp/packages_end.txt ']' 21:17:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:17:24 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:17:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:17:24 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 21:17:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:25 prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container 21:17:25 $ 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 21:17:25 $ docker top c9271f904da8f3c622e6d0b7784b5baaef3eb71b05d98a5c56de79dc50009605 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:25 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:26 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:26 + ls /var/log/sa-host 21:17:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:26 provisioning config files... 21:17:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7619763170920819705tmp [Pipeline] { [Pipeline] echo 21:17:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:26 ---> create-netrc.sh [Pipeline] } 21:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:27 ---> python-tools-install.sh [Pipeline] echo 21:17:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:27 ---> sudo-logs.sh 21:17:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:27 ---> job-cost.sh 21:17:27 lf-activate-venv: SKIPPING 21:17:27 DEBUG: total: 0.2199999988079071 21:17:27 INFO: Retrieving Stack Cost... 21:17:27 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:28 INFO: Archiving Costs [Pipeline] echo 21:17:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:28 ---> logs-deploy.sh 21:17:28 lf-activate-venv: SKIPPING 21:17:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/164 21:17:28 INFO: archiving workspace using pattern(s): 21:17:29 Archives upload complete. 21:17:29 INFO: archiving logs to Nexus