Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 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-ssh11544198389788994389.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh2448655145150849346.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh449778550116449804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh10926725801718444766.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-ssh7643873084017759312.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9939 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (main) Commit message: "Merge pull request #410 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > git config core.sparsecheckout # timeout=10 > git checkout -f 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-list --no-walk 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:00:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:00:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:00:57 ========================================================= 03:00:57 EdgeX Global Pipelines Version Info 03:00:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:00:58 ------------------- 03:00:58 stable info: 03:00:58 ------------------- 03:00:58 Commited By: Cherry Wang cherry@iotechsys.com 03:00:58 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:00:58 Message: update stable to v1.0.263 03:00:59 ------------------- 03:00:59 experimental info: 03:00:59 ------------------- 03:00:59 Commited By: Cherry Wang cherry@iotechsys.com 03:00:59 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:00:59 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 735057a [Pipeline] echo 03:00:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:59 provisioning config files... 03:00:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3556322033745557476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:00 ---> ****-login.sh 03:01:00 nexus3.edgexfoundry.org:10001 03:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:00 Configure a credential helper to remove this warning. See 03:01:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:00 03:01:00 Login Succeeded 03:01:00 nexus3.edgexfoundry.org:10002 03:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:00 Configure a credential helper to remove this warning. See 03:01:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:00 03:01:00 Login Succeeded 03:01:00 nexus3.edgexfoundry.org:10003 03:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:00 Configure a credential helper to remove this warning. See 03:01:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:00 03:01:00 Login Succeeded 03:01:00 nexus3.edgexfoundry.org:10004 03:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:00 Configure a credential helper to remove this warning. See 03:01:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:00 03:01:00 Login Succeeded 03:01:00 ****.io 03:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:01 Configure a credential helper to remove this warning. See 03:01:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:01 03:01:01 Login Succeeded 03:01:01 ---> ****-login.sh ends [Pipeline] } 03:01:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:01:01 + git rev-list -1 --merges 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869~1..735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo 03:01:01 -----------> git rev-list -1 --merges 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869~1..735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:01:01 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [false] [Pipeline] sh 03:01:01 + git log --format=format:%s -1 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo 03:01:01 ========================================================= 03:01:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:01:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:01:02 + git log --format=format:%s -1 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo 03:01:02 [semverPrep] GIT_COMMIT: 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869, Commit Message: Merge pull request #410 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo 03:01:02 [semverPrep] This is not a build commit. [Pipeline] sh 03:01:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:01:02 + grep -v github /etc/ssh/ssh_known_hosts 03:01:02 + [ -e /tmp/ssh_known_hosts ] 03:01:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:01:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:01:02 + sudo tee -a /etc/ssh/ssh_known_hosts 03:01:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:01:02 03:01:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:01:03 0.1.4: Pulling from edgex-devops/py-git-semver 03:01:03 b85a868b505f: Pulling fs layer 03:01:03 e2be974225ed: Pulling fs layer 03:01:03 339a4e72a1f5: Pulling fs layer 03:01:03 988bab9f4d93: Pulling fs layer 03:01:03 1469e6f7b9e6: Pulling fs layer 03:01:03 eaf3925da568: Pulling fs layer 03:01:03 bab4dde63d76: Pulling fs layer 03:01:03 bde34c3a00c8: Pulling fs layer 03:01:03 b352a97aabf1: Pulling fs layer 03:01:03 4872d77fe225: Pulling fs layer 03:01:03 5851b861e8e6: Pulling fs layer 03:01:03 988bab9f4d93: Waiting 03:01:03 1469e6f7b9e6: Waiting 03:01:03 eaf3925da568: Waiting 03:01:03 bde34c3a00c8: Waiting 03:01:03 bab4dde63d76: Waiting 03:01:03 b352a97aabf1: Waiting 03:01:03 5851b861e8e6: Waiting 03:01:03 e2be974225ed: Verifying Checksum 03:01:03 e2be974225ed: Download complete 03:01:03 988bab9f4d93: Download complete 03:01:03 1469e6f7b9e6: Verifying Checksum 03:01:03 1469e6f7b9e6: Download complete 03:01:03 eaf3925da568: Download complete 03:01:03 339a4e72a1f5: Verifying Checksum 03:01:03 339a4e72a1f5: Download complete 03:01:03 bde34c3a00c8: Download complete 03:01:03 b352a97aabf1: Verifying Checksum 03:01:03 b352a97aabf1: Download complete 03:01:03 4872d77fe225: Verifying Checksum 03:01:03 4872d77fe225: Download complete 03:01:03 5851b861e8e6: Verifying Checksum 03:01:03 5851b861e8e6: Download complete 03:01:03 b85a868b505f: Verifying Checksum 03:01:03 b85a868b505f: Download complete 03:01:04 bab4dde63d76: Verifying Checksum 03:01:04 bab4dde63d76: Download complete 03:01:05 b85a868b505f: Pull complete 03:01:05 e2be974225ed: Pull complete 03:01:06 339a4e72a1f5: Pull complete 03:01:06 988bab9f4d93: Pull complete 03:01:06 1469e6f7b9e6: Pull complete 03:01:06 eaf3925da568: Pull complete 03:01:12 bab4dde63d76: Pull complete 03:01:12 bde34c3a00c8: Pull complete 03:01:12 b352a97aabf1: Pull complete 03:01:12 4872d77fe225: Pull complete 03:01:12 5851b861e8e6: Pull complete 03:01:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:01:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:14 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:01:14 $ 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 03:01:17 $ docker top f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c -eo pid,comm 03:01: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). 03:01:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:01:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:01:17 [ssh-agent] Looking for ssh-agent implementation... 03:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:01:17 $ docker exec f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent 03:01:17 SSH_AUTH_SOCK=/tmp/ssh-FQODAZ8LvJSU/agent.33 03:01:17 SSH_AGENT_PID=40 03:01:17 Running ssh-add (command line suppressed) 03:01:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13406031861780737538.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13406031861780737538.key) 03:01:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:01:18 + git tag --points-at HEAD [Pipeline] } 03:01:18 $ docker exec --env ******** --env ******** f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent -k 03:01:18 unset SSH_AUTH_SOCK; 03:01:18 unset SSH_AGENT_PID; 03:01:18 echo Agent pid 40 killed; 03:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:01:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:01:19 [ssh-agent] Looking for ssh-agent implementation... 03:01:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:01:19 $ docker exec f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent 03:01:20 SSH_AUTH_SOCK=/tmp/ssh-mHLTxBZF5ffV/agent.73 03:01:20 SSH_AGENT_PID=78 03:01:20 Running ssh-add (command line suppressed) 03:01:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12026205199548529827.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12026205199548529827.key) 03:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:01:21 + git semver init 03:01:21 2024-09-10 03:01:21,372 [run_init] DEBUG init version:0.0.0 force:False 03:01:21 2024-09-10 03:01:21,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:01:21 2024-09-10 03:01:21,373 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:01:21 2024-09-10 03:01:21,373 [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) 03:01:23 2024-09-10 03:01:22,666 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:01:23 2024-09-10 03:01:22,667 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:01:23 2024-09-10 03:01:22,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:01:23 2024-09-10 03:01:22,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:01:23 3.2.0-dev.21 [Pipeline] } 03:01:23 $ docker exec --env ******** --env ******** f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent -k 03:01:23 unset SSH_AUTH_SOCK; 03:01:23 unset SSH_AGENT_PID; 03:01:23 echo Agent pid 78 killed; 03:01:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:01:31 + git semver [Pipeline] } 03:01:31 $ docker stop --time=1 f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c 03:01:33 $ docker rm -f --volumes f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c [Pipeline] // withDockerContainer [Pipeline] sh 03:01:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:01:33 Stashed 1 file(s) [Pipeline] echo 03:01:33 [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [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 03:01:33 provisioning config files... 03:01:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16109262100961768588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:34 ---> ****-login.sh 03:01:34 nexus3.edgexfoundry.org:10001 03:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:34 Configure a credential helper to remove this warning. See 03:01:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:34 03:01:34 Login Succeeded 03:01:34 nexus3.edgexfoundry.org:10002 03:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:34 Configure a credential helper to remove this warning. See 03:01:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:34 03:01:34 Login Succeeded 03:01:34 nexus3.edgexfoundry.org:10003 03:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:34 Configure a credential helper to remove this warning. See 03:01:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:34 03:01:34 Login Succeeded 03:01:34 nexus3.edgexfoundry.org:10004 03:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:34 Configure a credential helper to remove this warning. See 03:01:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:34 03:01:34 Login Succeeded 03:01:34 ****.io 03:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:34 Configure a credential helper to remove this warning. See 03:01:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:34 03:01:34 Login Succeeded 03:01:34 ---> ****-login.sh ends [Pipeline] } 03:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:01:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:01:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:01:34 ========================================================= 03:01:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:01:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:01:35 Sending build context to Docker daemon 16.59MB 03:01:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:01:35 Step 2/12 : FROM ${BASE} AS builder 03:01:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:01:35 619be1103602: Pulling fs layer 03:01:35 7862e08f4a3e: Pulling fs layer 03:01:35 5df492c9dc93: Pulling fs layer 03:01:35 7629e6793208: Pulling fs layer 03:01:35 4f4fb700ef54: Pulling fs layer 03:01:35 fb5054dd5b73: Pulling fs layer 03:01:35 eeca6798cff9: Pulling fs layer 03:01:35 aa269ceb94a6: Pulling fs layer 03:01:35 ada007ff1a6a: Pulling fs layer 03:01:35 7629e6793208: Waiting 03:01:35 4f4fb700ef54: Waiting 03:01:35 fb5054dd5b73: Waiting 03:01:35 eeca6798cff9: Waiting 03:01:35 aa269ceb94a6: Waiting 03:01:35 ada007ff1a6a: Waiting 03:01:35 7862e08f4a3e: Download complete 03:01:35 7629e6793208: Download complete 03:01:35 4f4fb700ef54: Download complete 03:01:35 fb5054dd5b73: Verifying Checksum 03:01:35 fb5054dd5b73: Download complete 03:01:35 619be1103602: Verifying Checksum 03:01:35 619be1103602: Download complete 03:01:35 eeca6798cff9: Verifying Checksum 03:01:35 eeca6798cff9: Download complete 03:01:35 619be1103602: Pull complete 03:01:35 ada007ff1a6a: Download complete 03:01:35 7862e08f4a3e: Pull complete 03:01:35 5df492c9dc93: Verifying Checksum 03:01:35 5df492c9dc93: Download complete 03:01:36 aa269ceb94a6: Verifying Checksum 03:01:36 aa269ceb94a6: Download complete 03:01:39 5df492c9dc93: Pull complete 03:01:39 7629e6793208: Pull complete 03:01:39 4f4fb700ef54: Pull complete 03:01:39 fb5054dd5b73: Pull complete 03:01:39 eeca6798cff9: Pull complete 03:01:42 aa269ceb94a6: Pull complete 03:01:43 ada007ff1a6a: Pull complete 03:01:43 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:01:43 ---> f489d0715acc 03:01:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:01:48 ---> Running in 1dcaf0c6bfee 03:01:48 Removing intermediate container 1dcaf0c6bfee 03:01:48 ---> f83c1d92a086 03:01:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:01:48 ---> Running in 3a9466f43f1e 03:01:48 Removing intermediate container 3a9466f43f1e 03:01:48 ---> e5c40a1016f2 03:01:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:01:48 ---> Running in 845bdf2e74d6 03:01:48 Removing intermediate container 845bdf2e74d6 03:01:48 ---> 738cf04bf4c4 03:01:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:01:48 ---> Running in 14b48c9c477b 03:01:48 Removing intermediate container 14b48c9c477b 03:01:48 ---> 26ea0fac3116 03:01:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:01:48 ---> Running in d8d3b2201d8d 03:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:01:48 (1/4) Installing openssh-keygen (9.3_p2-r2) 03:01:48 (2/4) Installing libedit (20221030.3.1-r1) 03:01:48 (3/4) Installing openssh-client-common (9.3_p2-r2) 03:01:48 (4/4) Installing openssh-client-default (9.3_p2-r2) 03:01:48 Executing busybox-1.36.1-r5.trigger 03:01:48 OK: 268 MiB in 56 packages 03:01:48 Still waiting to schedule task 03:01:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9930’ 03:01:49 Removing intermediate container d8d3b2201d8d 03:01:49 ---> 79eafae8b9ef 03:01:49 Step 8/12 : WORKDIR /device-rest-go 03:01:49 ---> Running in 86892561c94b 03:01:49 Removing intermediate container 86892561c94b 03:01:49 ---> 80a2ec5954ed 03:01:49 Step 9/12 : COPY go.mod vendor* ./ 03:01:49 ---> 0b49a0e6dc1e 03:01:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:01:49 ---> Running in c8bdbf2120d2 03:02:33 Removing intermediate container c8bdbf2120d2 03:02:33 ---> 833f7942e439 03:02:33 Step 11/12 : COPY . . 03:02:33 ---> fd039d4b9910 03:02:33 Step 12/12 : RUN $MAKE 03:02:33 ---> Running in f34af3802058 03:02:33 noop 03:02:33 Removing intermediate container f34af3802058 03:02:33 ---> d3c41370f5e9 03:02:33 Successfully built d3c41370f5e9 03:02:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:34 + docker inspect -f . ci-base-image-x86_64 03:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:34 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:02:34 $ 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 03:02:34 $ docker top fad11ed13f166cb09611d9c7d98ff66338cec64322f12d149c72e8614d1d8fcd -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:34 + go version 03:02:34 go version go1.21.9 linux/amd64 [Pipeline] } 03:02:34 $ docker stop --time=1 fad11ed13f166cb09611d9c7d98ff66338cec64322f12d149c72e8614d1d8fcd 03:02:36 $ docker rm -f --volumes fad11ed13f166cb09611d9c7d98ff66338cec64322f12d149c72e8614d1d8fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:36 + docker inspect -f . ci-base-image-x86_64 03:02:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:36 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:02:36 $ 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 03:02:36 $ docker top 2c870cf5cc11e5e49c8af132371deff31e07881c7d507395ef906547227c9301 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 03:02:37 + make test 03:02:37 go test ./... -coverprofile=coverage.out ./... 03:02:39 ? github.com/edgexfoundry/device-rest-go [no test files] 03:02:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:02:57 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 03:03:06 go vet ./... 03:03:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:03:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:03:11 ./bin/test-attribution-txt.sh 03:03:11 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:03:11 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:03:11 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:03:11 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:03:11 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:03:11 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:03:11 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:03:11 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:03:11 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:03:11 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:03:11 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:03:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:03:11 $ docker stop --time=1 2c870cf5cc11e5e49c8af132371deff31e07881c7d507395ef906547227c9301 03:03:16 $ docker rm -f --volumes 2c870cf5cc11e5e49c8af132371deff31e07881c7d507395ef906547227c9301 [Pipeline] // withDockerContainer [Pipeline] sh 03:03:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:03:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:03:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:03:17 + ls -al . 03:03:17 total 248 03:03:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 10 03:02 . 03:03:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 03:00 .. 03:03:17 -rw-rw-r-- 1 jenkins jenkins 151 Sep 10 03:00 .dockerignore 03:03:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:02 .git 03:03:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:00 .github 03:03:17 -rw-rw-r-- 1 jenkins jenkins 264 Sep 10 03:00 .gitignore 03:03:17 -rw-rw-r-- 1 jenkins jenkins 41 Sep 10 03:00 .golangci.yml 03:03:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 03:01 .semver 03:03:17 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 10 03:00 Attribution.txt 03:03:17 -rw-rw-r-- 1 jenkins jenkins 17685 Sep 10 03:00 CHANGELOG.md 03:03:17 -rw-rw-r-- 1 jenkins jenkins 1687 Sep 10 03:00 Dockerfile 03:03:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 03:00 GOVERNANCE.md 03:03:17 -rw-rw-r-- 1 jenkins jenkins 680 Sep 10 03:00 Jenkinsfile 03:03:17 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 10 03:00 LICENSE 03:03:17 -rw-rw-r-- 1 jenkins jenkins 2016 Sep 10 03:00 Makefile 03:03:17 -rw-rw-r-- 1 jenkins jenkins 620 Sep 10 03:00 OWNERS.md 03:03:17 -rw-rw-r-- 1 jenkins jenkins 3989 Sep 10 03:00 README.md 03:03:17 -rw-rw-r-- 1 jenkins jenkins 12 Sep 10 03:01 VERSION 03:03:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:00 bin 03:03:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:00 cmd 03:03:17 -rw-r--r-- 1 jenkins jenkins 14499 Sep 10 03:02 coverage.out 03:03:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:00 driver 03:03:17 -rw-rw-r-- 1 jenkins jenkins 7135 Sep 10 03:00 go.mod 03:03:17 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 10 03:00 go.sum 03:03:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:00 openapi 03:03:17 -rw-rw-r-- 1 jenkins jenkins 713 Sep 10 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:18 + 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=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 --label arch=amd64 --label version=3.2.0-dev.21 . 03:03:18 Sending build context to Docker daemon 16.6MB 03:03:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:03:18 Step 2/26 : FROM ${BASE} AS builder 03:03:18 ---> d3c41370f5e9 03:03:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:03:18 ---> Running in eb18406139a6 03:03:18 Removing intermediate container eb18406139a6 03:03:18 ---> 880cdb9db74b 03:03:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:03:18 ---> Running in 5ad99bef76e8 03:03:18 Removing intermediate container 5ad99bef76e8 03:03:18 ---> 6788780fdc13 03:03:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:03:18 ---> Running in c5c96b074128 03:03:18 Removing intermediate container c5c96b074128 03:03:18 ---> fce0de99f1fe 03:03:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:03:18 ---> Running in d55572120222 03:03:18 Removing intermediate container d55572120222 03:03:18 ---> 973e2eb38eb0 03:03:18 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:03:18 ---> Running in 1fc9a5e999a2 03:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:03:19 OK: 268 MiB in 56 packages 03:03:19 Removing intermediate container 1fc9a5e999a2 03:03:19 ---> 7942615262ba 03:03:19 Step 8/26 : WORKDIR /device-rest-go 03:03:19 ---> Running in 1978f99d7212 03:03:19 Removing intermediate container 1978f99d7212 03:03:19 ---> 589ba39e4638 03:03:19 Step 9/26 : COPY go.mod vendor* ./ 03:03:19 ---> 4dac3a55270d 03:03:19 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:03:19 ---> Running in 2b2f32b7e8a7 03:03:20 Removing intermediate container 2b2f32b7e8a7 03:03:20 ---> d52a3c16a4cb 03:03:20 Step 11/26 : COPY . . 03:03:20 ---> 35ece25ce9d6 03:03:20 Step 12/26 : RUN $MAKE 03:03:20 ---> Running in d53e0700560e 03:03:21 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:03:53 Removing intermediate container d53e0700560e 03:03:53 ---> b4db1d879cae 03:03:53 Step 13/26 : FROM alpine:3.18 03:03:53 3.18: Pulling from library/alpine 03:03:53 1cc3d825d8b2: Pulling fs layer 03:03:53 1cc3d825d8b2: Download complete 03:03:53 1cc3d825d8b2: Pull complete 03:03:53 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 03:03:53 Status: Downloaded newer image for alpine:3.18 03:03:53 ---> 2c64cf60f6f0 03:03:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:03:53 ---> Running in 58e4033d7779 03:03:53 Removing intermediate container 58e4033d7779 03:03:53 ---> 27df143d11a9 03:03:53 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:03:53 ---> Running in ef2647ab54fa 03:03:53 Removing intermediate container ef2647ab54fa 03:03:53 ---> 20b1844f3e4b 03:03:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:03:53 ---> Running in 1605367241db 03:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:03:53 (1/1) Installing dumb-init (1.2.5-r2) 03:03:53 Executing busybox-1.36.1-r7.trigger 03:03:53 OK: 7 MiB in 16 packages 03:03:53 Removing intermediate container 1605367241db 03:03:53 ---> 164b157161d2 03:03:53 Step 17/26 : RUN apk --no-cache upgrade 03:03:53 ---> Running in 6143444209cd 03:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:03:53 OK: 7 MiB in 16 packages 03:03:53 Removing intermediate container 6143444209cd 03:03:53 ---> e1ffb2ace7a9 03:03:53 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:03:53 ---> 56606d501171 03:03:53 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:03:53 ---> aa87929c4543 03:03:53 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:03:53 ---> 0e82d3e395af 03:03:53 Step 21/26 : EXPOSE 59986 03:03:53 ---> Running in a468beb5c80e 03:03:53 Removing intermediate container a468beb5c80e 03:03:53 ---> 549de5d54d9e 03:03:53 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:03:53 ---> Running in 8290e7c93a90 03:03:53 Removing intermediate container 8290e7c93a90 03:03:53 ---> b16e3662fc81 03:03:53 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:03:53 ---> Running in a6ea7cdb7be6 03:03:53 Removing intermediate container a6ea7cdb7be6 03:03:53 ---> 7245712781e4 03:03:53 Step 24/26 : LABEL arch=amd64 03:03:53 ---> Running in 292ab9293515 03:03:54 Removing intermediate container 292ab9293515 03:03:54 ---> 0f2eadc32b11 03:03:54 Step 25/26 : LABEL git_sha=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:03:54 ---> Running in 7725c25e3db1 03:03:54 Removing intermediate container 7725c25e3db1 03:03:54 ---> 302ec2aa2334 03:03:54 Step 26/26 : LABEL version=3.2.0-dev.21 03:03:54 ---> Running in b806fc6a7cdf 03:03:54 Removing intermediate container b806fc6a7cdf 03:03:54 ---> b11df71939ce 03:03:54 [Warning] One or more build-args [ARCH] were not consumed 03:03:54 Successfully built b11df71939ce 03:03:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:54 provisioning config files... 03:03:54 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config196089691047525889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:54 ---> ****-login.sh 03:03:54 nexus3.edgexfoundry.org:10001 03:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:54 Configure a credential helper to remove this warning. See 03:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:54 03:03:54 Login Succeeded 03:03:54 nexus3.edgexfoundry.org:10002 03:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:54 Configure a credential helper to remove this warning. See 03:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:54 03:03:54 Login Succeeded 03:03:54 nexus3.edgexfoundry.org:10003 03:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:54 Configure a credential helper to remove this warning. See 03:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:54 03:03:54 Login Succeeded 03:03:54 nexus3.edgexfoundry.org:10004 03:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:54 Configure a credential helper to remove this warning. See 03:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:54 03:03:54 Login Succeeded 03:03:54 ****.io 03:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:55 Configure a credential helper to remove this warning. See 03:03:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:55 03:03:55 Login Succeeded 03:03:55 ---> ****-login.sh ends [Pipeline] } 03:03:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:03:55 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:03:55 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:03:55 latest 03:03:55 3.2.0-dev.21 03:03:55 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 03:03:55 main 03:03:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:03:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:03:56 deb4c780c2b6: Preparing 03:03:56 c382e68ba132: Preparing 03:03:56 b97aa7a6d4d0: Preparing 03:03:56 0ad1ddea1cf0: Preparing 03:03:56 67c6c1ef6100: Preparing 03:03:56 d62a02444d39: Preparing 03:03:56 d62a02444d39: Waiting 03:03:56 0ad1ddea1cf0: Pushed 03:03:56 deb4c780c2b6: Pushed 03:03:56 c382e68ba132: Pushed 03:03:56 67c6c1ef6100: Pushed 03:03:56 d62a02444d39: Layer already exists 03:04:02 b97aa7a6d4d0: Pushed 03:04:02 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:04:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:04:02 deb4c780c2b6: Preparing 03:04:02 c382e68ba132: Preparing 03:04:02 b97aa7a6d4d0: Preparing 03:04:02 0ad1ddea1cf0: Preparing 03:04:02 67c6c1ef6100: Preparing 03:04:02 d62a02444d39: Preparing 03:04:02 d62a02444d39: Waiting 03:04:02 0ad1ddea1cf0: Layer already exists 03:04:02 deb4c780c2b6: Layer already exists 03:04:02 b97aa7a6d4d0: Layer already exists 03:04:02 c382e68ba132: Layer already exists 03:04:02 67c6c1ef6100: Layer already exists 03:04:02 d62a02444d39: Layer already exists 03:04:02 latest: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.21 03:04:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:04:03 deb4c780c2b6: Preparing 03:04:03 c382e68ba132: Preparing 03:04:03 b97aa7a6d4d0: Preparing 03:04:03 0ad1ddea1cf0: Preparing 03:04:03 67c6c1ef6100: Preparing 03:04:03 d62a02444d39: Preparing 03:04:03 d62a02444d39: Waiting 03:04:03 67c6c1ef6100: Layer already exists 03:04:03 c382e68ba132: Layer already exists 03:04:03 deb4c780c2b6: Layer already exists 03:04:03 0ad1ddea1cf0: Layer already exists 03:04:03 b97aa7a6d4d0: Layer already exists 03:04:03 d62a02444d39: Layer already exists 03:04:03 3.2.0-dev.21: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 03:04:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:04:04 deb4c780c2b6: Preparing 03:04:04 c382e68ba132: Preparing 03:04:04 b97aa7a6d4d0: Preparing 03:04:04 0ad1ddea1cf0: Preparing 03:04:04 67c6c1ef6100: Preparing 03:04:04 d62a02444d39: Preparing 03:04:04 d62a02444d39: Waiting 03:04:04 b97aa7a6d4d0: Layer already exists 03:04:04 67c6c1ef6100: Layer already exists 03:04:04 c382e68ba132: Layer already exists 03:04:04 0ad1ddea1cf0: Layer already exists 03:04:04 deb4c780c2b6: Layer already exists 03:04:04 d62a02444d39: Layer already exists 03:04:04 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:04:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:04:04 deb4c780c2b6: Preparing 03:04:04 c382e68ba132: Preparing 03:04:04 b97aa7a6d4d0: Preparing 03:04:04 0ad1ddea1cf0: Preparing 03:04:04 67c6c1ef6100: Preparing 03:04:04 d62a02444d39: Preparing 03:04:04 d62a02444d39: Waiting 03:04:04 0ad1ddea1cf0: Layer already exists 03:04:04 c382e68ba132: Layer already exists 03:04:04 b97aa7a6d4d0: Layer already exists 03:04:04 67c6c1ef6100: Layer already exists 03:04:04 deb4c780c2b6: Layer already exists 03:04:04 d62a02444d39: Layer already exists 03:04:04 main: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:04:04 ===================================================== [Pipeline] echo 03:04:04 taggedImages: 03:04:04 - nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:04:04 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:04:04 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.21 03:04:04 - nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 03:04:04 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:05 03:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:05 latest: Pulling from edgex-lftools-log-publisher 03:04:05 5eb5b503b376: Pulling fs layer 03:04:05 5c69ac0246d0: Pulling fs layer 03:04:05 ec43610c2a17: Pulling fs layer 03:04:05 3a2ae6a8a46f: Pulling fs layer 03:04:05 33b1e0a273af: Pulling fs layer 03:04:05 5d3b04190fa2: Pulling fs layer 03:04:05 2f39f015ded8: Pulling fs layer 03:04:05 5d3b04190fa2: Waiting 03:04:05 5c69ac0246d0: Verifying Checksum 03:04:05 5c69ac0246d0: Download complete 03:04:05 3a2ae6a8a46f: Verifying Checksum 03:04:05 3a2ae6a8a46f: Download complete 03:04:05 33b1e0a273af: Verifying Checksum 03:04:05 33b1e0a273af: Download complete 03:04:05 5d3b04190fa2: Verifying Checksum 03:04:05 5d3b04190fa2: Download complete 03:04:05 ec43610c2a17: Verifying Checksum 03:04:05 ec43610c2a17: Download complete 03:04:05 5eb5b503b376: Verifying Checksum 03:04:05 5eb5b503b376: Download complete 03:04:06 2f39f015ded8: Download complete 03:04:07 5eb5b503b376: Pull complete 03:04:07 5c69ac0246d0: Pull complete 03:04:07 ec43610c2a17: Pull complete 03:04:07 3a2ae6a8a46f: Pull complete 03:04:07 33b1e0a273af: Pull complete 03:04:08 5d3b04190fa2: Pull complete 03:04:13 2f39f015ded8: Pull complete 03:04:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:13 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:04:13 $ 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 03:04:17 $ docker top b80b8a24bf2be91f834ea9d01970586aafba290608aecc48c346344547822d72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:17 ---> job-cost.sh 03:04:17 lf-activate-venv: SKIPPING 03:04:17 INFO: No Stack... 03:04:17 INFO: Retrieving Pricing Info for: v3-standard-8 03:04:17 INFO: Archiving Costs [Pipeline] sh 03:04:18 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 03:04:18 + cut -d, -f6 [Pipeline] lock 03:04:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] 03:04:18 Resource [jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] did not exist. Created. 03:04:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:04:18 + echo total: 0.2199999988079071 [Pipeline] stash 03:04:18 Stashed 1 file(s) [Pipeline] } 03:04:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 03:04:18 $ docker stop --time=1 b80b8a24bf2be91f834ea9d01970586aafba290608aecc48c346344547822d72 03:04:19 $ docker rm -f --volumes b80b8a24bf2be91f834ea9d01970586aafba290608aecc48c346344547822d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:04:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9945 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 03:04:30 Running in /w/workspace/device-rest-go/173 [Pipeline] { [Pipeline] checkout 03:04:33 The recommended git tool is: git 03:04:41 using credential edgex-jenkins-ssh 03:04:41 Cloning the remote Git repository 03:04:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:04:41 > git init /w/workspace/device-rest-go/173 # timeout=10 03:04:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:04:42 > git --version # timeout=10 03:04:42 > git --version # 'git version 2.25.1' 03:04:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:04:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:04:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:04:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:04:46 Avoid second fetch 03:04:46 Checking out Revision 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (main) 03:04:47 Commit message: "Merge pull request #410 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" 03:04:46 > git config core.sparsecheckout # timeout=10 03:04:46 > git checkout -f 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:04:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:04:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:04:52 Dload Upload Total Spent Left Speed 03:04:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 03:04:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:04:52 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 03:04:52 /etc/docker/daemon.json 03:04:52 { 03:04:52 "registry-mirrors": [ 03:04:52 "https://nexus3.edgexfoundry.org:10001" 03:04:52 ], 03:04:52 "bip": "10.250.0.254/24", 03:04:52 "hosts": [ 03:04:52 "tcp://0.0.0.0:5555", 03:04:52 "unix:///var/run/docker.sock" 03:04:52 ], 03:04:52 "mtu": 1458, 03:04:52 "selinux-enabled": true, 03:04:52 "seccomp-profile": "/etc/docker/seccomp.json" 03:04:52 } [Pipeline] sh 03:04:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:04:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:11 provisioning config files... 03:05:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/173@tmp/config8383781538515116871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:05:12 ---> ****-login.sh 03:05:12 nexus3.edgexfoundry.org:10001 03:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:12 Configure a credential helper to remove this warning. See 03:05:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:12 03:05:12 Login Succeeded 03:05:13 nexus3.edgexfoundry.org:10002 03:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:13 Configure a credential helper to remove this warning. See 03:05:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:13 03:05:13 Login Succeeded 03:05:13 nexus3.edgexfoundry.org:10003 03:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:13 Configure a credential helper to remove this warning. See 03:05:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:13 03:05:13 Login Succeeded 03:05:13 nexus3.edgexfoundry.org:10004 03:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:14 Configure a credential helper to remove this warning. See 03:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:14 03:05:14 Login Succeeded 03:05:14 ****.io 03:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:14 Configure a credential helper to remove this warning. See 03:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:14 03:05:14 Login Succeeded 03:05:14 ---> ****-login.sh ends [Pipeline] } 03:05:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:05:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:05:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:05:15 ========================================================= 03:05:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:05:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:15 + 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 . 03:05:15 Sending build context to Docker daemon 130.6kB 03:05:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:05:15 Step 2/12 : FROM ${BASE} AS builder 03:05:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:05:15 c6b39de5b339: Pulling fs layer 03:05:15 a69c41024577: Pulling fs layer 03:05:15 d6de4b400683: Pulling fs layer 03:05:15 35cb2a7552d0: Pulling fs layer 03:05:15 4f4fb700ef54: Pulling fs layer 03:05:15 464afbd9ba4c: Pulling fs layer 03:05:15 00f215d4a9da: Pulling fs layer 03:05:15 d496ad576159: Pulling fs layer 03:05:15 35cb2a7552d0: Waiting 03:05:15 4f4fb700ef54: Waiting 03:05:15 464afbd9ba4c: Waiting 03:05:15 00f215d4a9da: Waiting 03:05:15 a69c41024577: Verifying Checksum 03:05:15 a69c41024577: Download complete 03:05:15 35cb2a7552d0: Download complete 03:05:15 4f4fb700ef54: Verifying Checksum 03:05:15 4f4fb700ef54: Download complete 03:05:15 c6b39de5b339: Verifying Checksum 03:05:15 c6b39de5b339: Download complete 03:05:15 464afbd9ba4c: Verifying Checksum 03:05:15 464afbd9ba4c: Download complete 03:05:16 d496ad576159: Verifying Checksum 03:05:16 d496ad576159: Download complete 03:05:16 c6b39de5b339: Pull complete 03:05:17 a69c41024577: Pull complete 03:05:18 d6de4b400683: Verifying Checksum 03:05:18 d6de4b400683: Download complete 03:05:19 00f215d4a9da: Verifying Checksum 03:05:19 00f215d4a9da: Download complete 03:05:31 d6de4b400683: Pull complete 03:05:31 35cb2a7552d0: Pull complete 03:05:31 4f4fb700ef54: Pull complete 03:05:31 464afbd9ba4c: Pull complete 03:05:40 00f215d4a9da: Pull complete 03:05:42 d496ad576159: Pull complete 03:05:42 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:05:42 ---> f246e2811388 03:05:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:05:44 ---> Running in 8cf4312d3dca 03:05:44 Removing intermediate container 8cf4312d3dca 03:05:44 ---> 185bb6a6d0de 03:05:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:05:44 ---> Running in 95feafd9ec85 03:05:44 Removing intermediate container 95feafd9ec85 03:05:44 ---> b95642e43ec0 03:05:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:05:44 ---> Running in b80f8b895a94 03:05:45 Removing intermediate container b80f8b895a94 03:05:45 ---> f58e505e60a9 03:05:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:05:45 ---> Running in abb79162bf5a 03:05:46 Removing intermediate container abb79162bf5a 03:05:46 ---> a84bb8ac1e95 03:05:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:05:46 ---> Running in 41a904686b77 03:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:05:49 (1/4) Installing openssh-keygen (9.3_p2-r2) 03:05:49 (2/4) Installing libedit (20221030.3.1-r1) 03:05:49 (3/4) Installing openssh-client-common (9.3_p2-r2) 03:05:49 (4/4) Installing openssh-client-default (9.3_p2-r2) 03:05:49 Executing busybox-1.36.1-r5.trigger 03:05:49 OK: 271 MiB in 56 packages 03:05:50 Removing intermediate container 41a904686b77 03:05:50 ---> 26029f6bc38e 03:05:50 Step 8/12 : WORKDIR /device-rest-go 03:05:51 ---> Running in 6232c7ae9658 03:05:51 Removing intermediate container 6232c7ae9658 03:05:51 ---> a56cff164260 03:05:51 Step 9/12 : COPY go.mod vendor* ./ 03:05:52 ---> f704b35c1418 03:05:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:05:52 ---> Running in 2f069e99f93f 03:07:58 Removing intermediate container 2f069e99f93f 03:07:58 ---> 641b4dfe6d06 03:07:58 Step 11/12 : COPY . . 03:07:58 ---> c43aaa776ba0 03:07:58 Step 12/12 : RUN $MAKE 03:07:58 ---> Running in 7f5cdb3ef812 03:07:58 noop 03:07:58 Removing intermediate container 7f5cdb3ef812 03:07:58 ---> 950dc5b564d9 03:07:58 Successfully built 950dc5b564d9 03:07:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:59 + docker inspect -f . ci-base-image-arm64 03:07:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:07:59 prd-ubuntu20.04-docker-arm64-4c-16g-9945 does not seem to be running inside a container 03:07:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/173 -v /w/workspace/device-rest-go/173:/w/workspace/device-rest-go/173:rw,z -v /w/workspace/device-rest-go/173@tmp:/w/workspace/device-rest-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:08:00 $ docker top 5cb6f648d64be9b92f66b3ec2318d622e6079f6fc78fc7376a9c61931aa66f78 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:01 + go version 03:08:01 go version go1.21.9 linux/arm64 [Pipeline] } 03:08:01 $ docker stop --time=1 5cb6f648d64be9b92f66b3ec2318d622e6079f6fc78fc7376a9c61931aa66f78 03:08:03 $ docker rm -f --volumes 5cb6f648d64be9b92f66b3ec2318d622e6079f6fc78fc7376a9c61931aa66f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:04 + docker inspect -f . ci-base-image-arm64 03:08:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:04 prd-ubuntu20.04-docker-arm64-4c-16g-9945 does not seem to be running inside a container 03:08:04 $ 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/173 -v /w/workspace/device-rest-go/173:/w/workspace/device-rest-go/173:rw,z -v /w/workspace/device-rest-go/173@tmp:/w/workspace/device-rest-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:08:05 $ docker top bcb07a49418f63e1b1b3d0e0e922adbb4d96ff7a37f5498a43a155e0b8931bb2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:06 + git config --global --add safe.directory /w/workspace/device-rest-go/173 [Pipeline] fileExists [Pipeline] sh 03:08:07 + make test 03:08:07 go test ./... -coverprofile=coverage.out ./... 03:08:14 ? github.com/edgexfoundry/device-rest-go [no test files] 03:12:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:12:21 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements 03:12:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:12:21 go vet ./... 03:13:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:13:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:13:17 ./bin/test-attribution-txt.sh 03:13:17 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:13:17 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:13:17 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:13:17 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:13:17 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:13:17 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:13:17 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:13:17 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:13:17 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:13:17 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:13:17 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:13:17 $ docker stop --time=1 bcb07a49418f63e1b1b3d0e0e922adbb4d96ff7a37f5498a43a155e0b8931bb2 03:13:19 $ docker rm -f --volumes bcb07a49418f63e1b1b3d0e0e922adbb4d96ff7a37f5498a43a155e0b8931bb2 [Pipeline] // withDockerContainer [Pipeline] sh 03:13:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:13:21 Warning: overwriting stash ‘coverage-report’ 03:13:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:22 + ls -al . 03:13:22 total 244 03:13:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:08 . 03:13:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 03:04 .. 03:13:22 -rw-rw-r-- 1 jenkins jenkins 151 Sep 10 03:04 .dockerignore 03:13:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:04 .git 03:13:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 .github 03:13:22 -rw-rw-r-- 1 jenkins jenkins 264 Sep 10 03:04 .gitignore 03:13:22 -rw-rw-r-- 1 jenkins jenkins 41 Sep 10 03:04 .golangci.yml 03:13:22 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 10 03:04 Attribution.txt 03:13:22 -rw-rw-r-- 1 jenkins jenkins 17685 Sep 10 03:04 CHANGELOG.md 03:13:22 -rw-rw-r-- 1 jenkins jenkins 1687 Sep 10 03:04 Dockerfile 03:13:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 03:04 GOVERNANCE.md 03:13:22 -rw-rw-r-- 1 jenkins jenkins 680 Sep 10 03:04 Jenkinsfile 03:13:22 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 10 03:04 LICENSE 03:13:22 -rw-rw-r-- 1 jenkins jenkins 2016 Sep 10 03:04 Makefile 03:13:22 -rw-rw-r-- 1 jenkins jenkins 620 Sep 10 03:04 OWNERS.md 03:13:22 -rw-rw-r-- 1 jenkins jenkins 3989 Sep 10 03:04 README.md 03:13:22 -rw-rw-r-- 1 jenkins jenkins 12 Sep 10 03:01 VERSION 03:13:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:04 bin 03:13:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 cmd 03:13:22 -rw-r--r-- 1 jenkins jenkins 14499 Sep 10 03:12 coverage.out 03:13:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:04 driver 03:13:22 -rw-rw-r-- 1 jenkins jenkins 7135 Sep 10 03:04 go.mod 03:13:22 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 10 03:04 go.sum 03:13:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 openapi 03:13:22 -rw-rw-r-- 1 jenkins jenkins 713 Sep 10 03:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:23 + 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=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 --label arch=arm64 --label version=3.2.0-dev.21 . 03:13:23 Sending build context to Docker daemon 145.9kB 03:13:23 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:13:23 Step 2/26 : FROM ${BASE} AS builder 03:13:23 ---> 950dc5b564d9 03:13:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:13:23 ---> Running in 5068613329b1 03:13:24 Removing intermediate container 5068613329b1 03:13:24 ---> b683b020400f 03:13:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:24 ---> Running in 712350d60109 03:13:24 Removing intermediate container 712350d60109 03:13:24 ---> ab4acc53b131 03:13:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:13:24 ---> Running in f065d1dfc958 03:13:25 Removing intermediate container f065d1dfc958 03:13:25 ---> a0ccd3c4dfbd 03:13:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:13:25 ---> Running in a51846c605cc 03:13:25 Removing intermediate container a51846c605cc 03:13:25 ---> 27131a07f8fd 03:13:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:25 ---> Running in 217d63ec9d83 03:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:13:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:13:28 OK: 271 MiB in 56 packages 03:13:29 Removing intermediate container 217d63ec9d83 03:13:29 ---> b864926b62ee 03:13:29 Step 8/26 : WORKDIR /device-rest-go 03:13:29 ---> Running in 50ab66f31b72 03:13:29 Removing intermediate container 50ab66f31b72 03:13:29 ---> 728a09af69b1 03:13:29 Step 9/26 : COPY go.mod vendor* ./ 03:13:30 ---> 5834816437b6 03:13:30 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:30 ---> Running in 5b76a5307deb 03:13:32 Removing intermediate container 5b76a5307deb 03:13:32 ---> d1ddd3ea60db 03:13:32 Step 11/26 : COPY . . 03:13:33 ---> 1028fb2eeab2 03:13:33 Step 12/26 : RUN $MAKE 03:13:33 ---> Running in e9dbb272a5b4 03:13:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:17:26 Removing intermediate container e9dbb272a5b4 03:17:26 ---> 5d86e9a0780e 03:17:26 Step 13/26 : FROM alpine:3.18 03:17:26 3.18: Pulling from library/alpine 03:17:26 720f3032cd11: Pulling fs layer 03:17:26 720f3032cd11: Verifying Checksum 03:17:26 720f3032cd11: Download complete 03:17:26 720f3032cd11: Pull complete 03:17:26 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 03:17:26 Status: Downloaded newer image for alpine:3.18 03:17:26 ---> 3e834921e367 03:17:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:17:26 ---> Running in 33c6362e1bd4 03:17:26 Removing intermediate container 33c6362e1bd4 03:17:26 ---> 80c25c7af8fa 03:17:26 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:17:26 ---> Running in 73580e0ae712 03:17:26 Removing intermediate container 73580e0ae712 03:17:26 ---> 3a9835eddf4a 03:17:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:17:26 ---> Running in 605018489b85 03:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:17:26 (1/1) Installing dumb-init (1.2.5-r2) 03:17:26 Executing busybox-1.36.1-r7.trigger 03:17:26 OK: 8 MiB in 16 packages 03:17:26 Removing intermediate container 605018489b85 03:17:26 ---> adb33b2bd725 03:17:26 Step 17/26 : RUN apk --no-cache upgrade 03:17:26 ---> Running in 42bf944b875a 03:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:17:26 OK: 8 MiB in 16 packages 03:17:26 Removing intermediate container 42bf944b875a 03:17:26 ---> 4d85709ef335 03:17:26 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:17:27 ---> 0885a9d0ada8 03:17:27 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:17:27 ---> 568d95b4e321 03:17:27 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:17:28 ---> b8bcaf4012a4 03:17:28 Step 21/26 : EXPOSE 59986 03:17:28 ---> Running in b3469855da99 03:17:28 Removing intermediate container b3469855da99 03:17:28 ---> 7da1c895e485 03:17:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:17:28 ---> Running in c0f4d4496851 03:17:28 Removing intermediate container c0f4d4496851 03:17:28 ---> 88ace78b80b9 03:17:28 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:17:28 ---> Running in 20ebd40350a3 03:17:29 Removing intermediate container 20ebd40350a3 03:17:29 ---> 73b3b8f24032 03:17:29 Step 24/26 : LABEL arch=arm64 03:17:29 ---> Running in 098b5f94f510 03:17:29 Removing intermediate container 098b5f94f510 03:17:29 ---> 9448584cfd6e 03:17:29 Step 25/26 : LABEL git_sha=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:17:29 ---> Running in 29d87c98e688 03:17:29 Removing intermediate container 29d87c98e688 03:17:29 ---> bd12599cd602 03:17:29 Step 26/26 : LABEL version=3.2.0-dev.21 03:17:29 ---> Running in 19bd3eb59c45 03:17:30 Removing intermediate container 19bd3eb59c45 03:17:30 ---> 2e7e4428bb2d 03:17:30 [Warning] One or more build-args [ARCH] were not consumed 03:17:30 Successfully built 2e7e4428bb2d 03:17:30 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 03:17:30 provisioning config files... 03:17:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/173@tmp/config894678472558882554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:30 ---> ****-login.sh 03:17:30 nexus3.edgexfoundry.org:10001 03:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:30 Configure a credential helper to remove this warning. See 03:17:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:30 03:17:30 Login Succeeded 03:17:30 nexus3.edgexfoundry.org:10002 03:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:31 Configure a credential helper to remove this warning. See 03:17:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:31 03:17:31 Login Succeeded 03:17:31 nexus3.edgexfoundry.org:10003 03:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:31 Configure a credential helper to remove this warning. See 03:17:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:31 03:17:31 Login Succeeded 03:17:31 nexus3.edgexfoundry.org:10004 03:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:32 Configure a credential helper to remove this warning. See 03:17:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:32 03:17:32 Login Succeeded 03:17:32 ****.io 03:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:17:32 Configure a credential helper to remove this warning. See 03:17:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:17:32 03:17:32 Login Succeeded 03:17:32 ---> ****-login.sh ends [Pipeline] } 03:17:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:17:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:17:32 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:17:32 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:17:32 latest 03:17:32 3.2.0-dev.21 03:17:32 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 03:17:32 main 03:17:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:17:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:17:33 778f6310f943: Preparing 03:17:33 6532d85278a8: Preparing 03:17:33 fa77a5920b13: Preparing 03:17:33 013c97d551a9: Preparing 03:17:33 8bf372666fa9: Preparing 03:17:33 4aeaa0e7d41f: Preparing 03:17:33 4aeaa0e7d41f: Waiting 03:17:33 778f6310f943: Pushed 03:17:33 8bf372666fa9: Pushed 03:17:33 6532d85278a8: Pushed 03:17:33 013c97d551a9: Pushed 03:17:33 4aeaa0e7d41f: Layer already exists 03:17:40 fa77a5920b13: Pushed 03:17:40 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:17:41 778f6310f943: Preparing 03:17:41 6532d85278a8: Preparing 03:17:41 fa77a5920b13: Preparing 03:17:41 013c97d551a9: Preparing 03:17:41 8bf372666fa9: Preparing 03:17:41 4aeaa0e7d41f: Preparing 03:17:41 4aeaa0e7d41f: Waiting 03:17:41 6532d85278a8: Layer already exists 03:17:41 8bf372666fa9: Layer already exists 03:17:41 013c97d551a9: Layer already exists 03:17:41 fa77a5920b13: Layer already exists 03:17:41 778f6310f943: Layer already exists 03:17:41 4aeaa0e7d41f: Layer already exists 03:17:41 latest: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.21 03:17:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:17:42 778f6310f943: Preparing 03:17:42 6532d85278a8: Preparing 03:17:42 fa77a5920b13: Preparing 03:17:42 013c97d551a9: Preparing 03:17:42 8bf372666fa9: Preparing 03:17:42 4aeaa0e7d41f: Preparing 03:17:42 4aeaa0e7d41f: Waiting 03:17:42 013c97d551a9: Layer already exists 03:17:42 fa77a5920b13: Layer already exists 03:17:42 778f6310f943: Layer already exists 03:17:42 6532d85278a8: Layer already exists 03:17:42 8bf372666fa9: Layer already exists 03:17:42 4aeaa0e7d41f: Layer already exists 03:17:42 3.2.0-dev.21: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 03:17:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:17:43 778f6310f943: Preparing 03:17:43 6532d85278a8: Preparing 03:17:43 fa77a5920b13: Preparing 03:17:43 013c97d551a9: Preparing 03:17:43 8bf372666fa9: Preparing 03:17:43 4aeaa0e7d41f: Preparing 03:17:43 4aeaa0e7d41f: Waiting 03:17:43 fa77a5920b13: Layer already exists 03:17:43 013c97d551a9: Layer already exists 03:17:43 6532d85278a8: Layer already exists 03:17:43 778f6310f943: Layer already exists 03:17:43 8bf372666fa9: Layer already exists 03:17:43 4aeaa0e7d41f: Layer already exists 03:17:43 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:17:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:17:44 778f6310f943: Preparing 03:17:44 6532d85278a8: Preparing 03:17:44 fa77a5920b13: Preparing 03:17:44 013c97d551a9: Preparing 03:17:44 8bf372666fa9: Preparing 03:17:44 4aeaa0e7d41f: Preparing 03:17:44 4aeaa0e7d41f: Waiting 03:17:44 fa77a5920b13: Layer already exists 03:17:44 013c97d551a9: Layer already exists 03:17:44 8bf372666fa9: Layer already exists 03:17:44 6532d85278a8: Layer already exists 03:17:44 778f6310f943: Layer already exists 03:17:44 4aeaa0e7d41f: Layer already exists 03:17:44 main: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:17:44 ===================================================== [Pipeline] echo 03:17:44 taggedImages: 03:17:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 03:17:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:17:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.21 03:17:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 03:17:44 - 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 03:17:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:17:44 03:17:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:17:45 arm64: Pulling from edgex-lftools-log-publisher 03:17:45 8998bd30e6a1: Pulling fs layer 03:17:45 04944245beec: Pulling fs layer 03:17:45 699f458cf7ca: Pulling fs layer 03:17:45 765212b225bb: Pulling fs layer 03:17:45 f23df028b6ca: Pulling fs layer 03:17:45 d65c8cfc05b1: Pulling fs layer 03:17:45 2437ff75d9bd: Pulling fs layer 03:17:45 f23df028b6ca: Waiting 03:17:45 d65c8cfc05b1: Waiting 03:17:45 2437ff75d9bd: Waiting 03:17:45 765212b225bb: Waiting 03:17:45 04944245beec: Verifying Checksum 03:17:45 04944245beec: Download complete 03:17:45 765212b225bb: Verifying Checksum 03:17:45 765212b225bb: Download complete 03:17:45 f23df028b6ca: Verifying Checksum 03:17:45 f23df028b6ca: Download complete 03:17:45 d65c8cfc05b1: Verifying Checksum 03:17:45 d65c8cfc05b1: Download complete 03:17:45 699f458cf7ca: Verifying Checksum 03:17:45 699f458cf7ca: Download complete 03:17:46 8998bd30e6a1: Verifying Checksum 03:17:46 8998bd30e6a1: Download complete 03:17:49 2437ff75d9bd: Verifying Checksum 03:17:49 2437ff75d9bd: Download complete 03:17:51 8998bd30e6a1: Pull complete 03:17:51 04944245beec: Pull complete 03:17:53 699f458cf7ca: Pull complete 03:17:53 765212b225bb: Pull complete 03:17:54 f23df028b6ca: Pull complete 03:17:55 d65c8cfc05b1: Pull complete 03:18:13 2437ff75d9bd: Pull complete 03:18:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:18:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:13 prd-ubuntu20.04-docker-arm64-4c-16g-9945 does not seem to be running inside a container 03:18:13 $ 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/173 -v /w/workspace/device-rest-go/173:/w/workspace/device-rest-go/173:rw,z -v /w/workspace/device-rest-go/173@tmp:/w/workspace/device-rest-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:18:16 $ docker top cd31f1315ae29b5d6e3b008d1774b12ed81db667f37f5b4067acd0f26e519fb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:16 ---> job-cost.sh 03:18:17 lf-activate-venv: SKIPPING 03:18:17 INFO: No Stack... 03:18:17 INFO: Retrieving Pricing Info for: v3-standard-4 03:18:18 INFO: Archiving Costs [Pipeline] sh 03:18:19 + cat /w/workspace/device-rest-go/173/archives/cost.csv 03:18:19 + cut -d, -f6 [Pipeline] lock 03:18:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] 03:18:19 Resource [jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] did not exist. Created. 03:18:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:18:19 /w/workspace/device-rest-go/173@tmp/durable-0e2e2865/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:18:20 + echo total: 0.10999999940395355 [Pipeline] stash 03:18:20 Warning: overwriting stash ‘stack-cost’ 03:18:20 Stashed 1 file(s) [Pipeline] } 03:18:20 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 03:18:20 $ docker stop --time=1 cd31f1315ae29b5d6e3b008d1774b12ed81db667f37f5b4067acd0f26e519fb6 03:18:21 $ docker rm -f --volumes cd31f1315ae29b5d6e3b008d1774b12ed81db667f37f5b4067acd0f26e519fb6 [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 03:18:22 provisioning config files... 03:18:22 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3254770221096216633tmp [Pipeline] { [Pipeline] sh 03:18:22 + set +x 03:18:22 + + bash -s -- 03:18:22 curl -s https://codecov.io/bash 03:18:22 03:18:22 _____ _ 03:18:22 / ____| | | 03:18:22 | | ___ __| | ___ ___ _____ __ 03:18:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:18:22 | |___| (_) | (_| | __/ (_| (_) \ V / 03:18:22 \_____\___/ \__,_|\___|\___\___/ \_/ 03:18:22 Bash-1.0.6 03:18:22 03:18:22 03:18:22 ==> git version 2.25.1 found 03:18:22 ==> 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 03:18:22 Release-Date: 2020-01-08 03:18:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:18:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:18:22 ==> Jenkins CI detected. 03:18:22 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 03:18:22 project root: . 03:18:22 --> token set from env 03:18:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:18:22 ==> Running gcov in . (disable via -X gcov) 03:18:22 ==> Python coveragepy not found 03:18:22 ==> Searching for coverage reports in: 03:18:22 + . 03:18:22 -> Found 1 reports 03:18:22 ==> Detecting git/mercurial file structure 03:18:22 ==> Reading reports 03:18:22 + ./coverage.out bytes=14499 03:18:22 ==> Appending adjustments 03:18:22 https://docs.codecov.io/docs/fixing-reports 03:18:22 + Found adjustments 03:18:22 ==> Gzipping contents 03:18:22 4.0K /tmp/codecov.PbEQSM.gz 03:18:22 ==> Uploading reports 03:18:22 url: https://codecov.io 03:18:22 query: branch=main&commit=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:18:22 -> Pinging Codecov 03:18:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:18:22 -> Uploading to 03:18:22 https://storage.googleapis.com/codecov/v4/raw/2024-09-10/4E5D53B4F1F92C436F7061BF334D961C/735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869/d8e339fc-9ae7-4a4d-abd4-76de3d6f0768.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240910%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240910T031822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef0c66e749c53d4a39eac173db3fdf64caac949101a41103ba274e7401fcab07 03:18:22 % Total % Received % Xferd Average Speed Time Time Time Current 03:18:22 Dload Upload Total Spent Left Speed 03:18:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9284 --:--:-- --:--:-- --:--:-- 9284 03:18:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] } 03:18:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:18:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:18:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:18:23 03:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:18:23 latest: Pulling from edgex-devops/edgex-snyk-go 03:18:23 619be1103602: Already exists 03:18:23 f8ea3408117e: Pulling fs layer 03:18:23 91320369b822: Pulling fs layer 03:18:23 0406650e8295: Pulling fs layer 03:18:23 4f4fb700ef54: Pulling fs layer 03:18:23 96d80e3f36e1: Pulling fs layer 03:18:23 bcf3aedb951c: Pulling fs layer 03:18:23 4f4fb700ef54: Waiting 03:18:23 96d80e3f36e1: Waiting 03:18:23 bcf3aedb951c: Waiting 03:18:23 f8ea3408117e: Verifying Checksum 03:18:23 f8ea3408117e: Download complete 03:18:23 0406650e8295: Verifying Checksum 03:18:23 0406650e8295: Download complete 03:18:23 4f4fb700ef54: Verifying Checksum 03:18:23 4f4fb700ef54: Download complete 03:18:23 f8ea3408117e: Pull complete 03:18:24 96d80e3f36e1: Verifying Checksum 03:18:24 96d80e3f36e1: Download complete 03:18:24 91320369b822: Verifying Checksum 03:18:24 91320369b822: Download complete 03:18:24 bcf3aedb951c: Verifying Checksum 03:18:24 bcf3aedb951c: Download complete 03:18:27 91320369b822: Pull complete 03:18:27 0406650e8295: Pull complete 03:18:27 4f4fb700ef54: Pull complete 03:18:27 96d80e3f36e1: Pull complete 03:18:31 bcf3aedb951c: Pull complete 03:18:31 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 03:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:18:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:31 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 03:18:34 $ docker top 609132a5606c820eb235c7cb0e77e07fafd632233a688d2ca375fdb955b5c091 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 03:18:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 03:18:35 + set -o pipefail 03:18:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 03:18:41 03:18:41 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 03:18:41 03:18:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/c787b185-2d0b-428f-ba23-6b057fce03fc 03:18:41 03:18:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:18:41 03:18:41 03:18:41 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:18:41 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:18:41 $ docker stop --time=1 609132a5606c820eb235c7cb0e77e07fafd632233a688d2ca375fdb955b5c091 03:18:45 $ docker rm -f --volumes 609132a5606c820eb235c7cb0e77e07fafd632233a688d2ca375fdb955b5c091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:18:46 + git log --format=format:%s -1 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] sh 03:18:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:18:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:47 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:18:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:18:47 $ docker top 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:18:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:47 [ssh-agent] Looking for ssh-agent implementation... 03:18:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:48 $ docker exec 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 ssh-agent 03:18:48 SSH_AUTH_SOCK=/tmp/ssh-lNahu1d6aRjH/agent.31 03:18:48 SSH_AGENT_PID=37 03:18:48 Running ssh-add (command line suppressed) 03:18:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2778722312899173331.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2778722312899173331.key) 03:18:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:48 + git semver tag 03:18:48 2024-09-10 03:18:48,793 [run_tag] DEBUG tag force:False 03:18:48 2024-09-10 03:18:48,793 [check_head_tag] DEBUG check head tag 03:18:48 2024-09-10 03:18:48,794 [execute] INFO git cat-file --batch-check 03:18:48 2024-09-10 03:18:48,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:18:48 2024-09-10 03:18:48,798 [execute] INFO git cat-file --batch 03:18:48 2024-09-10 03:18:48,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:18:48 2024-09-10 03:18:48,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:18:48 2024-09-10 03:18:48,816 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 03:18:48 2024-09-10 03:18:48,816 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:18:48 2024-09-10 03:18:48,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:18:48 3.2.0-dev.21 [Pipeline] } 03:18:48 $ docker exec --env ******** --env ******** 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 ssh-agent -k 03:18:48 unset SSH_AUTH_SOCK; 03:18:48 unset SSH_AGENT_PID; 03:18:48 echo Agent pid 37 killed; 03:18:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:18:49 + git semver [Pipeline] } 03:18:49 $ docker stop --time=1 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 03:18:50 $ docker rm -f --volumes 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:18:51 03:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:18:51 0.23.1-centos7: Pulling from edgex-lftools 03:18:51 ab5ef0e58194: Pulling fs layer 03:18:51 9712f1f96733: Pulling fs layer 03:18:51 63f879dbbcfc: Pulling fs layer 03:18:51 0d9ebad4ef96: Pulling fs layer 03:18:51 e9a5061849ea: Pulling fs layer 03:18:51 d747dcd14b5f: Pulling fs layer 03:18:51 2de7ff778b66: Pulling fs layer 03:18:51 0d9ebad4ef96: Waiting 03:18:51 e9a5061849ea: Waiting 03:18:51 d747dcd14b5f: Waiting 03:18:51 2de7ff778b66: Waiting 03:18:51 9712f1f96733: Verifying Checksum 03:18:51 9712f1f96733: Download complete 03:18:51 63f879dbbcfc: Verifying Checksum 03:18:51 63f879dbbcfc: Download complete 03:18:52 e9a5061849ea: Verifying Checksum 03:18:52 e9a5061849ea: Download complete 03:18:52 d747dcd14b5f: Verifying Checksum 03:18:52 d747dcd14b5f: Download complete 03:18:52 0d9ebad4ef96: Verifying Checksum 03:18:52 0d9ebad4ef96: Download complete 03:18:52 ab5ef0e58194: Verifying Checksum 03:18:52 ab5ef0e58194: Download complete 03:18:52 2de7ff778b66: Verifying Checksum 03:18:52 2de7ff778b66: Download complete 03:18:54 ab5ef0e58194: Pull complete 03:18:54 9712f1f96733: Pull complete 03:18:55 63f879dbbcfc: Pull complete 03:18:58 0d9ebad4ef96: Pull complete 03:18:59 e9a5061849ea: Pull complete 03:18:59 d747dcd14b5f: Pull complete 03:19:00 2de7ff778b66: Pull complete 03:19:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:19:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:19:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:01 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:19:01 $ 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 03:19:07 $ docker top 056cab08c9408149a55a17e388d70123a704a192ce4764ad0e0286fc3f31dacd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:19:07 provisioning config files... 03:19:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15041134956402153408tmp 03:19:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11136693259218013825tmp 03:19:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7592466314310143712tmp [Pipeline] { [Pipeline] echo 03:19:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:19:07 ---> sigul-configuration.sh 03:19:07 gpg: directory `/root/.gnupg' created 03:19:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:19:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:19:07 gpg: keyring `/root/.gnupg/secring.gpg' created 03:19:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:19:07 gpg: CAST5 encrypted data 03:19:07 gpg: encrypted with 1 passphrase 03:19:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:19:08 + mkdir /home/jenkins 03:19:08 + mkdir /home/jenkins/sigul [Pipeline] sh 03:19: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 03:19:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:19:08 ---> sigul-install.sh 03:19:08 Sigul already installed; skipping installation. [Pipeline] sh 03:19:09 + git tag --list 03:19:09 v1.0.0 03:19:09 v1.1.0 03:19:09 v1.1.1 03:19:09 v1.1.2 03:19:09 v1.2.0 03:19:09 v1.2.1 03:19:09 v2.0.0 03:19:09 v2.1.0 03:19:09 v2.1.1 03:19:09 v2.2.0 03:19:09 v2.3.0 03:19:09 v3.0 03:19:09 v3.0.0 03:19:09 v3.1 03:19:09 v3.1.0 03:19:09 v3.1.0-dev.1 03:19:09 v3.1.0-dev.10 03:19:09 v3.1.0-dev.11 03:19:09 v3.1.0-dev.12 03:19:09 v3.1.0-dev.13 03:19:09 v3.1.0-dev.14 03:19:09 v3.1.0-dev.15 03:19:09 v3.1.0-dev.16 03:19:09 v3.1.0-dev.17 03:19:09 v3.1.0-dev.18 03:19:09 v3.1.0-dev.19 03:19:09 v3.1.0-dev.2 03:19:09 v3.1.0-dev.20 03:19:09 v3.1.0-dev.21 03:19:09 v3.1.0-dev.22 03:19:09 v3.1.0-dev.23 03:19:09 v3.1.0-dev.24 03:19:09 v3.1.0-dev.25 03:19:09 v3.1.0-dev.26 03:19:09 v3.1.0-dev.27 03:19:09 v3.1.0-dev.28 03:19:09 v3.1.0-dev.29 03:19:09 v3.1.0-dev.3 03:19:09 v3.1.0-dev.30 03:19:09 v3.1.0-dev.31 03:19:09 v3.1.0-dev.32 03:19:09 v3.1.0-dev.4 03:19:09 v3.1.0-dev.5 03:19:09 v3.1.0-dev.6 03:19:09 v3.1.0-dev.7 03:19:09 v3.1.0-dev.8 03:19:09 v3.1.0-dev.9 03:19:09 v3.1.1 03:19:09 v3.2.0-dev.1 03:19:09 v3.2.0-dev.10 03:19:09 v3.2.0-dev.11 03:19:09 v3.2.0-dev.12 03:19:09 v3.2.0-dev.13 03:19:09 v3.2.0-dev.14 03:19:09 v3.2.0-dev.15 03:19:09 v3.2.0-dev.16 03:19:09 v3.2.0-dev.17 03:19:09 v3.2.0-dev.18 03:19:09 v3.2.0-dev.19 03:19:09 v3.2.0-dev.2 03:19:09 v3.2.0-dev.20 03:19:09 v3.2.0-dev.21 03:19:09 v3.2.0-dev.3 03:19:09 v3.2.0-dev.4 03:19:09 v3.2.0-dev.5 03:19:09 v3.2.0-dev.6 03:19:09 v3.2.0-dev.7 03:19:09 v3.2.0-dev.8 03:19:09 v3.2.0-dev.9 [Pipeline] sh 03:19:09 + lftools sign git-tag v3.2.0-dev.21 03:19:09 Signing Git tag with Sigul... 03:19:09 Signing v3.2.0-dev.21 [Pipeline] echo 03:19:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:19:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:19:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:19:10 $ docker stop --time=1 056cab08c9408149a55a17e388d70123a704a192ce4764ad0e0286fc3f31dacd 03:19:12 $ docker rm -f --volumes 056cab08c9408149a55a17e388d70123a704a192ce4764ad0e0286fc3f31dacd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:19:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:19:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:13 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:19:13 $ 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 03:19:13 $ docker top a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 -eo pid,comm 03:19: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). 03:19:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:13 [ssh-agent] Looking for ssh-agent implementation... 03:19:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:13 $ docker exec a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 ssh-agent 03:19:13 SSH_AUTH_SOCK=/tmp/ssh-vuJ2Q2bLjbVJ/agent.26 03:19:13 SSH_AGENT_PID=37 03:19:13 Running ssh-add (command line suppressed) 03:19:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6168077131833196946.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6168077131833196946.key) 03:19:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:14 + git semver bump pre 03:19:14 2024-09-10 03:19:14,598 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:19:14 2024-09-10 03:19:14,599 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev 03:19:14 2024-09-10 03:19:14,599 [bump_version] DEBUG bumped version:3.2.0-dev.22 03:19:14 2024-09-10 03:19:14,599 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 03:19:14 2024-09-10 03:19:14,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:19:14 2024-09-10 03:19:14,599 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:19:14 2024-09-10 03:19:14,602 [execute] INFO git cat-file --batch-check 03:19:14 2024-09-10 03:19:14,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:19:14 2024-09-10 03:19:14,609 [execute] INFO git cat-file --batch 03:19:14 2024-09-10 03:19:14,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:19:14 2024-09-10 03:19:14,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:19:14 3.2.0-dev.22 [Pipeline] } 03:19:14 $ docker exec --env ******** --env ******** a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 ssh-agent -k 03:19:15 unset SSH_AUTH_SOCK; 03:19:15 unset SSH_AGENT_PID; 03:19:15 echo Agent pid 37 killed; 03:19:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:15 + git semver [Pipeline] } 03:19:15 $ docker stop --time=1 a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 03:19:17 $ docker rm -f --volumes a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 [Pipeline] // withDockerContainer [Pipeline] sh 03:19:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:19:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:17 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:19:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:19:18 $ docker top e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 -eo pid,comm 03:19:18 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). 03:19:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:18 [ssh-agent] Looking for ssh-agent implementation... 03:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:18 $ docker exec e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 ssh-agent 03:19:18 SSH_AUTH_SOCK=/tmp/ssh-sRWJNdavGXqL/agent.32 03:19:18 SSH_AGENT_PID=38 03:19:18 Running ssh-add (command line suppressed) 03:19:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7899925064770539334.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7899925064770539334.key) 03:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:19 + git semver push 03:19:19 2024-09-10 03:19:19,390 [run_push] DEBUG push 03:19:19 2024-09-10 03:19:19,391 [execute] INFO git cat-file --batch-check 03:19:19 2024-09-10 03:19:19,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:19:19 2024-09-10 03:19:19,395 [execute] INFO git rev-list e5055281eb516ca4839fd8f49a6d84fe697e5612 -- 03:19:19 2024-09-10 03:19:19,395 [execute] DEBUG Popen(['git', 'rev-list', 'e5055281eb516ca4839fd8f49a6d84fe697e5612', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:19:19 2024-09-10 03:19:19,405 [execute] INFO git fetch -v origin 03:19:19 2024-09-10 03:19:19,406 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:19:20 2024-09-10 03:19:19,854 [run_push] DEBUG no remote changes detected 03:19:20 2024-09-10 03:19:19,854 [execute] INFO git push origin semver 03:19:20 2024-09-10 03:19:19,854 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:19:20 2024-09-10 03:19:20,481 [run_push] DEBUG push all version tags 03:19:20 2024-09-10 03:19:20,482 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:19:20 2024-09-10 03:19:20,482 [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) 03:19:21 2024-09-10 03:19:21,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:19:21 3.2.0-dev.22 [Pipeline] } 03:19:21 $ docker exec --env ******** --env ******** e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 ssh-agent -k 03:19:21 unset SSH_AUTH_SOCK; 03:19:21 unset SSH_AGENT_PID; 03:19:21 echo Agent pid 38 killed; 03:19:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:21 + git semver [Pipeline] } 03:19:21 $ docker stop --time=1 e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 03:19:23 $ docker rm -f --volumes e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:19:24 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 03:19:24 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:19:24 total 16 03:19:24 drwxr-xr-x 3 root root 4096 Sep 10 03:04 . 03:19:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 10 03:19 .. 03:19:24 drwxr-xr-x 2 root root 4096 Sep 10 03:04 cost 03:19:24 -rw-r--r-- 1 root root 86 Sep 10 03:04 cost.csv 03:19:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 03:19:24 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:19:24 total 16 03:19:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 03:04 . 03:19:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 10 03:19 .. 03:19:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 10 03:04 cost 03:19:24 -rw-r--r-- 1 jenkins jenkins 86 Sep 10 03:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:19:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:19:25 ---> package-listing.sh 03:19:25 ++ facter osfamily 03:19:25 ++ tr '[:upper:]' '[:lower:]' 03:19:25 + OS_FAMILY=debian 03:19:25 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 03:19:25 + START_PACKAGES=/tmp/packages_start.txt 03:19:25 + END_PACKAGES=/tmp/packages_end.txt 03:19:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:19:25 + PACKAGES=/tmp/packages_start.txt 03:19:25 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:19:25 + PACKAGES=/tmp/packages_end.txt 03:19:25 + case "${OS_FAMILY}" in 03:19:25 + dpkg -l 03:19:25 + grep '^ii' 03:19:25 + '[' -f /tmp/packages_start.txt ']' 03:19:25 + '[' -f /tmp/packages_end.txt ']' 03:19:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:19:25 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:19:25 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 03:19:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 03:19:25 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 03:19:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:26 prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container 03:19:26 $ 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 03:19:26 $ docker top 7b18c1cb892c07f9637901db079d714e4dd36b12fbcd7060a900301ae31f6870 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:27 + touch /tmp/pre-build-complete [Pipeline] sh 03:19:27 + mkdir -p /var/log/sysstat [Pipeline] sh 03:19:27 + ls /var/log/sa-host 03:19:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:27 provisioning config files... 03:19:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17505409266462314035tmp [Pipeline] { [Pipeline] echo 03:19:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:19:28 ---> create-netrc.sh [Pipeline] } 03:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:19:28 ---> python-tools-install.sh [Pipeline] echo 03:19:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:19:28 ---> sudo-logs.sh 03:19:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:19:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:19:29 ---> job-cost.sh 03:19:29 lf-activate-venv: SKIPPING 03:19:29 DEBUG: total: 0.2199999988079071 03:19:29 INFO: Retrieving Stack Cost... 03:19:29 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:29 INFO: Archiving Costs [Pipeline] echo 03:19:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:19:30 ---> logs-deploy.sh 03:19:30 lf-activate-venv: SKIPPING 03:19:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/173 03:19:30 INFO: archiving workspace using pattern(s): 03:19:30 Archives upload complete. 03:19:30 INFO: archiving logs to Nexus