Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 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-ssh4625793119943020064.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17828821655984353740.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4456824941175031267.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh68141101005033488.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-ssh12430373227630895621.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24104 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision aba5f4cc438774234c64a3e3d3941f8bbfaf4eba (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#371)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aba5f4cc438774234c64a3e3d3941f8bbfaf4eba # timeout=10 > git rev-list --no-walk 96614595ba73594199dee70385f2da41578defd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:23 ========================================================= 21:06:23 EdgeX Global Pipelines Version Info 21:06:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:24 ------------------- 21:06:24 stable info: 21:06:24 ------------------- 21:06:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 21:06:24 Message: update stable to v1.0.258 21:06:24 ------------------- 21:06:24 experimental info: 21:06:24 ------------------- 21:06:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 21:06:24 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo 21:06:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aba5f4c [Pipeline] echo 21:06:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:26 provisioning config files... 21:06:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11115394280566975790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:26 ---> ****-login.sh 21:06:26 nexus3.edgexfoundry.org:10001 21:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:27 Configure a credential helper to remove this warning. See 21:06:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:27 21:06:27 Login Succeeded 21:06:27 nexus3.edgexfoundry.org:10002 21:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:27 Configure a credential helper to remove this warning. See 21:06:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:27 21:06:27 Login Succeeded 21:06:27 nexus3.edgexfoundry.org:10003 21:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:27 Configure a credential helper to remove this warning. See 21:06:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:27 21:06:27 Login Succeeded 21:06:27 nexus3.edgexfoundry.org:10004 21:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:27 Configure a credential helper to remove this warning. See 21:06:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:27 21:06:27 Login Succeeded 21:06:27 ****.io 21:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:27 Configure a credential helper to remove this warning. See 21:06:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:27 21:06:27 Login Succeeded 21:06:27 ---> ****-login.sh ends [Pipeline] } 21:06:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:28 + git rev-list -1 --merges aba5f4cc438774234c64a3e3d3941f8bbfaf4eba~1..aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo 21:06:28 -----------> git rev-list -1 --merges aba5f4cc438774234c64a3e3d3941f8bbfaf4eba~1..aba5f4cc438774234c64a3e3d3941f8bbfaf4eba aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [false] [Pipeline] sh 21:06:28 + git log --format=format:%s -1 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo 21:06:28 ========================================================= 21:06:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:29 + git log --format=format:%s -1 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] echo 21:06:29 [semverPrep] GIT_COMMIT: aba5f4cc438774234c64a3e3d3941f8bbfaf4eba, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#371) [Pipeline] echo 21:06:29 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:29 + grep -v github /etc/ssh/ssh_known_hosts 21:06:29 + [ -e /tmp/ssh_known_hosts ] 21:06:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:29 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:29 21:06:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:30 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:30 b85a868b505f: Pulling fs layer 21:06:30 e2be974225ed: Pulling fs layer 21:06:30 339a4e72a1f5: Pulling fs layer 21:06:30 988bab9f4d93: Pulling fs layer 21:06:30 1469e6f7b9e6: Pulling fs layer 21:06:30 eaf3925da568: Pulling fs layer 21:06:30 bab4dde63d76: Pulling fs layer 21:06:30 bde34c3a00c8: Pulling fs layer 21:06:30 b352a97aabf1: Pulling fs layer 21:06:30 4872d77fe225: Pulling fs layer 21:06:30 988bab9f4d93: Waiting 21:06:30 bab4dde63d76: Waiting 21:06:30 eaf3925da568: Waiting 21:06:30 1469e6f7b9e6: Waiting 21:06:30 b352a97aabf1: Waiting 21:06:30 bde34c3a00c8: Waiting 21:06:30 5851b861e8e6: Pulling fs layer 21:06:30 4872d77fe225: Waiting 21:06:30 5851b861e8e6: Waiting 21:06:30 e2be974225ed: Download complete 21:06:30 988bab9f4d93: Verifying Checksum 21:06:30 988bab9f4d93: Download complete 21:06:30 1469e6f7b9e6: Verifying Checksum 21:06:30 1469e6f7b9e6: Download complete 21:06:30 eaf3925da568: Download complete 21:06:30 339a4e72a1f5: Verifying Checksum 21:06:30 339a4e72a1f5: Download complete 21:06:30 b352a97aabf1: Download complete 21:06:30 4872d77fe225: Download complete 21:06:30 5851b861e8e6: Download complete 21:06:30 b85a868b505f: Verifying Checksum 21:06:30 b85a868b505f: Download complete 21:06:30 bab4dde63d76: Verifying Checksum 21:06:30 bab4dde63d76: Download complete 21:06:31 b85a868b505f: Pull complete 21:06:31 e2be974225ed: Pull complete 21:06:32 339a4e72a1f5: Pull complete 21:06:32 988bab9f4d93: Pull complete 21:06:32 1469e6f7b9e6: Pull complete 21:06:32 eaf3925da568: Pull complete 21:06:34 bab4dde63d76: Pull complete 21:06:34 bde34c3a00c8: Pull complete 21:06:34 b352a97aabf1: Pull complete 21:06:34 4872d77fe225: Pull complete 21:06:34 5851b861e8e6: Pull complete 21:06:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:35 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:06:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:06:38 $ docker top 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 -eo pid,comm 21:06:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:06:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:39 [ssh-agent] Looking for ssh-agent implementation... 21:06:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:39 $ docker exec 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent 21:06:39 SSH_AUTH_SOCK=/tmp/ssh-YbjQpStjmeHP/agent.31 21:06:39 SSH_AGENT_PID=37 21:06:39 Running ssh-add (command line suppressed) 21:06:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8353666175872923531.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8353666175872923531.key) 21:06:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:39 + git tag --points-at HEAD [Pipeline] } 21:06:39 $ docker exec --env ******** --env ******** 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent -k 21:06:39 unset SSH_AUTH_SOCK; 21:06:39 unset SSH_AGENT_PID; 21:06:39 echo Agent pid 37 killed; 21:06:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:39 [ssh-agent] Looking for ssh-agent implementation... 21:06:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:40 $ docker exec 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent 21:06:40 SSH_AUTH_SOCK=/tmp/ssh-W4I6UTeKd12j/agent.69 21:06:40 SSH_AGENT_PID=75 21:06:40 Running ssh-add (command line suppressed) 21:06:40 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3980707080226777270.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3980707080226777270.key) 21:06:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:40 + git semver init 21:06:40 2023-12-05 21:06:40,719 [run_init] DEBUG init version:0.0.0 force:False 21:06:40 2023-12-05 21:06:40,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:06:40 2023-12-05 21:06:40,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:06:40 2023-12-05 21:06:40,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:06:42 2023-12-05 21:06:42,241 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:06:42 2023-12-05 21:06:42,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:06:42 2023-12-05 21:06:42,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:06:42 2023-12-05 21:06:42,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:06:42 3.2.0-dev.3 [Pipeline] } 21:06:42 $ docker exec --env ******** --env ******** 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 ssh-agent -k 21:06:42 unset SSH_AUTH_SOCK; 21:06:42 unset SSH_AGENT_PID; 21:06:42 echo Agent pid 75 killed; 21:06:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:43 + git semver [Pipeline] } 21:06:43 $ docker stop --time=1 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 21:06:44 $ docker rm -f --volumes 898cbaa128540125486714db036091b132915b340728b2734d0b72151804b593 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:45 Stashed 1 file(s) [Pipeline] echo 21:06:45 [edgeXSemver]: initialized semver on version 3.2.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:45 provisioning config files... 21:06:45 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13678913181040946983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:46 ---> ****-login.sh 21:06:46 nexus3.edgexfoundry.org:10001 21:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:46 Configure a credential helper to remove this warning. See 21:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:46 21:06:46 Login Succeeded 21:06:46 nexus3.edgexfoundry.org:10002 21:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:46 Configure a credential helper to remove this warning. See 21:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:46 21:06:46 Login Succeeded 21:06:46 nexus3.edgexfoundry.org:10003 21:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:46 Configure a credential helper to remove this warning. See 21:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:46 21:06:46 Login Succeeded 21:06:46 nexus3.edgexfoundry.org:10004 21:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:46 Configure a credential helper to remove this warning. See 21:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:46 21:06:46 Login Succeeded 21:06:46 ****.io 21:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:06:46 Configure a credential helper to remove this warning. See 21:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:06:46 21:06:46 Login Succeeded 21:06:46 ---> ****-login.sh ends [Pipeline] } 21:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:06:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:06:46 ========================================================= 21:06:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:06:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:06:47 Sending build context to Docker daemon 16.34MB 21:06:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:06:47 Step 2/12 : FROM ${BASE} AS builder 21:06:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:47 7264a8db6415: Pulling fs layer 21:06:47 c4d48a809fc2: Pulling fs layer 21:06:47 4f1c88b9dad5: Pulling fs layer 21:06:47 ad3a456e5733: Pulling fs layer 21:06:47 69c7f0334f64: Pulling fs layer 21:06:47 1f1c1a5573a3: Pulling fs layer 21:06:47 ce7588e14bc9: Pulling fs layer 21:06:47 b5e4710f87ac: Pulling fs layer 21:06:47 ad3a456e5733: Waiting 21:06:47 b5e4710f87ac: Waiting 21:06:47 69c7f0334f64: Waiting 21:06:47 1f1c1a5573a3: Waiting 21:06:47 ce7588e14bc9: Waiting 21:06:47 c4d48a809fc2: Verifying Checksum 21:06:47 c4d48a809fc2: Download complete 21:06:47 ad3a456e5733: Verifying Checksum 21:06:47 ad3a456e5733: Download complete 21:06:47 69c7f0334f64: Verifying Checksum 21:06:47 69c7f0334f64: Download complete 21:06:47 7264a8db6415: Verifying Checksum 21:06:47 7264a8db6415: Download complete 21:06:47 1f1c1a5573a3: Verifying Checksum 21:06:47 1f1c1a5573a3: Download complete 21:06:47 7264a8db6415: Pull complete 21:06:47 b5e4710f87ac: Verifying Checksum 21:06:47 b5e4710f87ac: Download complete 21:06:47 c4d48a809fc2: Pull complete 21:06:47 4f1c88b9dad5: Verifying Checksum 21:06:47 4f1c88b9dad5: Download complete 21:06:48 ce7588e14bc9: Verifying Checksum 21:06:48 ce7588e14bc9: Download complete 21:06:51 4f1c88b9dad5: Pull complete 21:06:51 ad3a456e5733: Pull complete 21:06:51 69c7f0334f64: Pull complete 21:06:51 1f1c1a5573a3: Pull complete 21:06:53 ce7588e14bc9: Pull complete 21:06:53 b5e4710f87ac: Pull complete 21:06:53 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:06:53 ---> 88b5674ff536 21:06:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:59 ---> Running in f74dfec8e57c 21:06:59 Removing intermediate container f74dfec8e57c 21:06:59 ---> 3662e6fa2dba 21:06:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:59 ---> Running in 9bb2b6a1e3b3 21:06:59 Removing intermediate container 9bb2b6a1e3b3 21:06:59 ---> 2d8e1d5fcab0 21:06:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:59 ---> Running in 9635963d4f7a 21:06:59 Removing intermediate container 9635963d4f7a 21:06:59 ---> d78d0dcd197f 21:06:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:59 ---> Running in 9c2ae5aa9c9f 21:06:59 Removing intermediate container 9c2ae5aa9c9f 21:06:59 ---> a749a37dbc0d 21:06:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:59 ---> Running in a7914c926eb2 21:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:06:59 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:06:59 (2/4) Installing libedit (20221030.3.1-r1) 21:06:59 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:06:59 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:06:59 Executing busybox-1.36.1-r5.trigger 21:06:59 OK: 268 MiB in 56 packages 21:07:00 Removing intermediate container a7914c926eb2 21:07:00 ---> 839cdf132663 21:07:00 Step 8/12 : WORKDIR /device-rest-go 21:07:00 ---> Running in b172a2ee1e36 21:07:00 Removing intermediate container b172a2ee1e36 21:07:00 ---> dc3d1424737a 21:07:00 Step 9/12 : COPY go.mod vendor* ./ 21:07:00 Still waiting to schedule task 21:07:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:00 ---> 6de748cda81e 21:07:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:00 ---> Running in afb4b360e576 21:07:47 Removing intermediate container afb4b360e576 21:07:47 ---> f51706760a0d 21:07:47 Step 11/12 : COPY . . 21:07:47 ---> b8f143b7b6c6 21:07:47 Step 12/12 : RUN $MAKE 21:07:47 ---> Running in cb5c9ef64368 21:07:47 noop 21:07:47 Removing intermediate container cb5c9ef64368 21:07:47 ---> adc79f46a8c6 21:07:47 Successfully built adc79f46a8c6 21:07:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:48 + docker inspect -f . ci-base-image-x86_64 21:07:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:48 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:07:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:07:48 $ docker top f5f30ac0c6eb6ac48159b2d090447e560fa890bc999cf65be2ef2b00e87b5247 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:48 + go version 21:07:48 go version go1.21.0 linux/amd64 [Pipeline] } 21:07:48 $ docker stop --time=1 f5f30ac0c6eb6ac48159b2d090447e560fa890bc999cf65be2ef2b00e87b5247 21:07:50 $ docker rm -f --volumes f5f30ac0c6eb6ac48159b2d090447e560fa890bc999cf65be2ef2b00e87b5247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:50 + docker inspect -f . ci-base-image-x86_64 21:07:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:50 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:07:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:07:51 $ docker top 8d977a133ec5879e73bf734444f927af0f742e0c026a6ed207b8ff12e17956ba -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:07:51 + make test 21:07:51 go test ./... -coverprofile=coverage.out ./... 21:07:53 ? github.com/edgexfoundry/device-rest-go [no test files] 21:08:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:08:03 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 33.2% of statements 21:08:09 go vet ./... 21:08:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:08:13 $ docker stop --time=1 8d977a133ec5879e73bf734444f927af0f742e0c026a6ed207b8ff12e17956ba 21:08:16 $ docker rm -f --volumes 8d977a133ec5879e73bf734444f927af0f742e0c026a6ed207b8ff12e17956ba [Pipeline] // withDockerContainer [Pipeline] sh 21:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:18 + ls -al . 21:08:18 total 180 21:08:18 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 21:07 . 21:08:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 21:06 .. 21:08:18 -rw-rw-r-- 1 jenkins jenkins 151 Dec 5 21:06 .dockerignore 21:08:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 21:08 .git 21:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:06 .github 21:08:18 -rw-rw-r-- 1 jenkins jenkins 264 Dec 5 21:06 .gitignore 21:08:18 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 21:06 .golangci.yml 21:08:18 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 21:06 .semver 21:08:18 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 5 21:06 Attribution.txt 21:08:18 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 5 21:06 CHANGELOG.md 21:08:18 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 5 21:06 Dockerfile 21:08:18 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 21:06 GOVERNANCE.md 21:08:18 -rw-rw-r-- 1 jenkins jenkins 680 Dec 5 21:06 Jenkinsfile 21:08:18 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 21:06 LICENSE 21:08:18 -rw-rw-r-- 1 jenkins jenkins 2010 Dec 5 21:06 Makefile 21:08:18 -rw-rw-r-- 1 jenkins jenkins 620 Dec 5 21:06 OWNERS.md 21:08:18 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 5 21:06 README.md 21:08:18 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 21:06 VERSION 21:08:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:06 bin 21:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:06 cmd 21:08:18 -rw-r--r-- 1 jenkins jenkins 14499 Dec 5 21:08 coverage.out 21:08:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:06 driver 21:08:18 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 5 21:06 go.mod 21:08:18 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 5 21:06 go.sum 21:08:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:06 openapi 21:08:18 -rw-rw-r-- 1 jenkins jenkins 713 Dec 5 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08: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=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba --label arch=amd64 --label version=3.2.0-dev.3 . 21:08:18 Sending build context to Docker daemon 16.36MB 21:08:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:08:18 Step 2/26 : FROM ${BASE} AS builder 21:08:18 ---> adc79f46a8c6 21:08:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:08:18 ---> Running in fddc90b12f71 21:08:18 Removing intermediate container fddc90b12f71 21:08:18 ---> 7688b7774141 21:08:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:18 ---> Running in 7adb5995cccc 21:08:19 Removing intermediate container 7adb5995cccc 21:08:19 ---> a5600074ae49 21:08:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:08:19 ---> Running in 93a9ba0a1229 21:08:19 Removing intermediate container 93a9ba0a1229 21:08:19 ---> 6009260fe874 21:08:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:08:19 ---> Running in 2df2615f568d 21:08:19 Removing intermediate container 2df2615f568d 21:08:19 ---> a61bf3fe1c2b 21:08:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:19 ---> Running in ca6efe507ba6 21:08:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:19 OK: 268 MiB in 56 packages 21:08:20 Removing intermediate container ca6efe507ba6 21:08:20 ---> 2d2bc2455fd3 21:08:20 Step 8/26 : WORKDIR /device-rest-go 21:08:20 ---> Running in 98c523364e4a 21:08:20 Removing intermediate container 98c523364e4a 21:08:20 ---> 79a0de63d5db 21:08:20 Step 9/26 : COPY go.mod vendor* ./ 21:08:20 ---> fee6ad4b6746 21:08:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:20 ---> Running in 47f909ac628c 21:08:20 Removing intermediate container 47f909ac628c 21:08:20 ---> d7fbcee8b24f 21:08:20 Step 11/26 : COPY . . 21:08:21 ---> 27398653af54 21:08:21 Step 12/26 : RUN $MAKE 21:08:21 ---> Running in 463a2c3c6019 21:08:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:08:43 Removing intermediate container 463a2c3c6019 21:08:43 ---> 2b9f2414dda0 21:08:43 Step 13/26 : FROM alpine:3.18 21:08:43 3.18: Pulling from library/alpine 21:08:43 c926b61bad3b: Pulling fs layer 21:08:43 c926b61bad3b: Download complete 21:08:43 c926b61bad3b: Pull complete 21:08:43 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 21:08:43 Status: Downloaded newer image for alpine:3.18 21:08:43 ---> b541f2080109 21:08:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:08:43 ---> Running in 9bbd9fbd99b3 21:08:43 Removing intermediate container 9bbd9fbd99b3 21:08:43 ---> a57d21eef45f 21:08:43 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:08:43 ---> Running in 950706fb0f4f 21:08:43 Removing intermediate container 950706fb0f4f 21:08:43 ---> 7d48980d33df 21:08:43 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:08:43 ---> Running in 89d5c24e1f37 21:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:44 (1/1) Installing dumb-init (1.2.5-r2) 21:08:44 Executing busybox-1.36.1-r5.trigger 21:08:44 OK: 7 MiB in 16 packages 21:08:44 Removing intermediate container 89d5c24e1f37 21:08:44 ---> 9e3de53d9e24 21:08:44 Step 17/26 : RUN apk --no-cache upgrade 21:08:44 ---> Running in 299e5d5ddbf1 21:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:45 OK: 7 MiB in 16 packages 21:08:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24106 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:08:45 Running in /w/workspace/device-rest-go/155 [Pipeline] { [Pipeline] checkout 21:08:45 Removing intermediate container 299e5d5ddbf1 21:08:45 ---> 0e3a2e8e7505 21:08:45 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:08:46 ---> 7bbd35f14846 21:08:46 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:08:46 ---> 08b58ef164ab 21:08:46 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:08:46 ---> ef01b44dac69 21:08:46 Step 21/26 : EXPOSE 59986 21:08:46 ---> Running in 65eaa7865ffa 21:08:46 Removing intermediate container 65eaa7865ffa 21:08:46 ---> 25784b6f9c3b 21:08:46 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:08:46 ---> Running in 3cf0f7bf9aa3 21:08:46 Removing intermediate container 3cf0f7bf9aa3 21:08:46 ---> b20d7305ac57 21:08:46 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:08:46 ---> Running in 12c3343e52eb 21:08:46 Removing intermediate container 12c3343e52eb 21:08:46 ---> d328c28df361 21:08:46 Step 24/26 : LABEL arch=amd64 21:08:46 ---> Running in 7330717f5f35 21:08:47 Removing intermediate container 7330717f5f35 21:08:47 ---> 72dfeda2432b 21:08:47 Step 25/26 : LABEL git_sha=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:08:47 ---> Running in f1986d3bf460 21:08:47 Removing intermediate container f1986d3bf460 21:08:47 ---> ebcd7cdef831 21:08:47 Step 26/26 : LABEL version=3.2.0-dev.3 21:08:47 ---> Running in 493c6ab905ed 21:08:47 Removing intermediate container 493c6ab905ed 21:08:47 ---> e0d5bfb48375 21:08:47 [Warning] One or more build-args [ARCH] were not consumed 21:08:47 Successfully built e0d5bfb48375 21:08:47 Successfully tagged device-rest:latest 21:08:48 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:48 provisioning config files... 21:08:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2502216061387681141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:48 ---> ****-login.sh 21:08:48 nexus3.edgexfoundry.org:10001 21:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:08:48 Configure a credential helper to remove this warning. See 21:08:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:08:48 21:08:48 Login Succeeded 21:08:48 nexus3.edgexfoundry.org:10002 21:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:08:48 Configure a credential helper to remove this warning. See 21:08:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:08:48 21:08:48 Login Succeeded 21:08:48 nexus3.edgexfoundry.org:10003 21:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:08:49 Configure a credential helper to remove this warning. See 21:08:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:08:49 21:08:49 Login Succeeded 21:08:49 nexus3.edgexfoundry.org:10004 21:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:08:49 Configure a credential helper to remove this warning. See 21:08:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:08:49 21:08:49 Login Succeeded 21:08:49 ****.io 21:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:08:49 Configure a credential helper to remove this warning. See 21:08:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:08:49 21:08:49 Login Succeeded 21:08:49 ---> ****-login.sh ends [Pipeline] } 21:08:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:08:49 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:08:49 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:08:49 latest 21:08:49 3.2.0-dev.3 21:08:49 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 21:08:49 main 21:08:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:08:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:08:50 71c0b7c3881d: Preparing 21:08:50 b876f536c02e: Preparing 21:08:50 a2ab01e69eb4: Preparing 21:08:50 52eb0786bca2: Preparing 21:08:50 f75f4e2b257a: Preparing 21:08:50 9fe9a137fd00: Preparing 21:08:50 9fe9a137fd00: Waiting 21:08:50 b876f536c02e: Pushed 21:08:50 9fe9a137fd00: Layer already exists 21:08:50 52eb0786bca2: Pushed 21:08:50 71c0b7c3881d: Pushed 21:08:50 f75f4e2b257a: Pushed 21:08:52 using credential edgex-jenkins-ssh 21:08:52 Cloning the remote Git repository 21:08:53 a2ab01e69eb4: Pushed 21:08:53 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:08:53 > git init /w/workspace/device-rest-go/155 # timeout=10 21:08:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:08:53 > git --version # timeout=10 21:08:53 > git --version # 'git version 2.25.1' 21:08:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:08:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:08:54 71c0b7c3881d: Preparing 21:08:54 b876f536c02e: Preparing 21:08:54 a2ab01e69eb4: Preparing 21:08:54 52eb0786bca2: Preparing 21:08:54 f75f4e2b257a: Preparing 21:08:54 9fe9a137fd00: Preparing 21:08:54 b876f536c02e: Layer already exists 21:08:54 52eb0786bca2: Layer already exists 21:08:54 71c0b7c3881d: Layer already exists 21:08:54 a2ab01e69eb4: Layer already exists 21:08:54 f75f4e2b257a: Layer already exists 21:08:54 9fe9a137fd00: Layer already exists 21:08:54 latest: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.3 21:08:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:08:55 71c0b7c3881d: Preparing 21:08:55 b876f536c02e: Preparing 21:08:55 a2ab01e69eb4: Preparing 21:08:55 52eb0786bca2: Preparing 21:08:55 f75f4e2b257a: Preparing 21:08:55 9fe9a137fd00: Preparing 21:08:55 9fe9a137fd00: Waiting 21:08:55 52eb0786bca2: Layer already exists 21:08:55 71c0b7c3881d: Layer already exists 21:08:55 a2ab01e69eb4: Layer already exists 21:08:55 b876f536c02e: Layer already exists 21:08:55 f75f4e2b257a: Layer already exists 21:08:55 9fe9a137fd00: Layer already exists 21:08:55 3.2.0-dev.3: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 21:08:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:08:55 71c0b7c3881d: Preparing 21:08:55 b876f536c02e: Preparing 21:08:55 a2ab01e69eb4: Preparing 21:08:55 52eb0786bca2: Preparing 21:08:55 f75f4e2b257a: Preparing 21:08:55 9fe9a137fd00: Preparing 21:08:55 9fe9a137fd00: Waiting 21:08:55 52eb0786bca2: Layer already exists 21:08:55 f75f4e2b257a: Layer already exists 21:08:55 b876f536c02e: Layer already exists 21:08:55 71c0b7c3881d: Layer already exists 21:08:55 a2ab01e69eb4: Layer already exists 21:08:55 9fe9a137fd00: Layer already exists 21:08:55 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:08:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:08:56 71c0b7c3881d: Preparing 21:08:56 b876f536c02e: Preparing 21:08:56 a2ab01e69eb4: Preparing 21:08:56 52eb0786bca2: Preparing 21:08:56 f75f4e2b257a: Preparing 21:08:56 9fe9a137fd00: Preparing 21:08:56 9fe9a137fd00: Waiting 21:08:56 52eb0786bca2: Layer already exists 21:08:56 b876f536c02e: Layer already exists 21:08:56 71c0b7c3881d: Layer already exists 21:08:56 f75f4e2b257a: Layer already exists 21:08:56 a2ab01e69eb4: Layer already exists 21:08:56 9fe9a137fd00: Layer already exists 21:08:56 main: digest: sha256:4c3d13df71a11bcb6c7af298abc028f5ad0466aac1e70404e1b0def6df288fde size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:56 ===================================================== [Pipeline] echo 21:08:56 taggedImages: 21:08:56 - nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:08:56 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:08:56 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.3 21:08:56 - nexus3.edgexfoundry.org:10004/device-rest:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 21:08:56 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:57 21:08:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:08:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:58 latest: Pulling from edgex-lftools-log-publisher 21:08:58 5eb5b503b376: Pulling fs layer 21:08:58 5c69ac0246d0: Pulling fs layer 21:08:58 ec43610c2a17: Pulling fs layer 21:08:58 3a2ae6a8a46f: Pulling fs layer 21:08:58 33b1e0a273af: Pulling fs layer 21:08:58 5d3b04190fa2: Pulling fs layer 21:08:58 2f39f015ded8: Pulling fs layer 21:08:58 5d3b04190fa2: Waiting 21:08:58 33b1e0a273af: Waiting 21:08:58 2f39f015ded8: Waiting 21:08:58 3a2ae6a8a46f: Waiting 21:08:58 5c69ac0246d0: Download complete 21:08:58 3a2ae6a8a46f: Download complete 21:08:58 33b1e0a273af: Verifying Checksum 21:08:58 33b1e0a273af: Download complete 21:08:58 5d3b04190fa2: Verifying Checksum 21:08:58 5d3b04190fa2: Download complete 21:08:58 ec43610c2a17: Download complete 21:08:58 5eb5b503b376: Verifying Checksum 21:08:58 5eb5b503b376: Download complete 21:08:59 Avoid second fetch 21:08:59 Checking out Revision aba5f4cc438774234c64a3e3d3941f8bbfaf4eba (main) 21:08:59 2f39f015ded8: Download complete 21:08:59 > git config core.sparsecheckout # timeout=10 21:08:59 > git checkout -f aba5f4cc438774234c64a3e3d3941f8bbfaf4eba # timeout=10 21:08:59 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#371)" 21:09:00 21:09:00 GitHub has been notified of this commit’s build result 21:09:00 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 21:09:00 5eb5b503b376: Pull complete 21:09:00 5c69ac0246d0: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:00 ec43610c2a17: Pull complete 21:09:00 3a2ae6a8a46f: Pull complete 21:09:01 33b1e0a273af: Pull complete 21:09:01 5d3b04190fa2: Pull complete 21:09:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:09:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:01 Dload Upload Total Spent Left Speed 21:09:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 85114 [Pipeline] sh 21:09:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:09:01 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 21:09:01 21:09:01 { 21:09:01 "registry-mirrors": [ 21:09:01 "https://nexus3.edgexfoundry.org:10001" 21:09:01 ], 21:09:01 "bip": "10.250.0.254/24", 21:09:01 "hosts": [ 21:09:01 "tcp://0.0.0.0:5555", 21:09:01 "unix:///var/run/docker.sock" 21:09:01 ], 21:09:01 "mtu": 1458, 21:09:01 "selinux-enabled": true, 21:09:01 "seccomp-profile": "/etc/docker/seccomp.json" 21:09:01 } [Pipeline] sh 21:09:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:09:02 + sudo service docker restart 21:09:05 2f39f015ded8: Pull complete 21:09:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:05 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:09:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:11 $ docker top 5d93dba13753b3177bf99df027067cc3dc23f28757733dee5f427ac2cdf59864 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:12 ---> job-cost.sh 21:09:12 lf-activate-venv: SKIPPING 21:09:12 INFO: No Stack... 21:09:12 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:12 INFO: Archiving Costs [Pipeline] sh 21:09:13 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:09:13 + cut -d, -f6 [Pipeline] lock 21:09:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] 21:09:13 Resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] did not exist. Created. 21:09:13 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:13 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:13 Stashed 1 file(s) [Pipeline] } 21:09:13 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:13 $ docker stop --time=1 5d93dba13753b3177bf99df027067cc3dc23f28757733dee5f427ac2cdf59864 21:09:14 $ docker rm -f --volumes 5d93dba13753b3177bf99df027067cc3dc23f28757733dee5f427ac2cdf59864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:20 provisioning config files... 21:09:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/155@tmp/config3265889372269421072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:21 ---> ****-login.sh 21:09:21 nexus3.edgexfoundry.org:10001 21:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:09:21 Configure a credential helper to remove this warning. See 21:09:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:09:21 21:09:21 Login Succeeded 21:09:21 nexus3.edgexfoundry.org:10002 21:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:09:22 Configure a credential helper to remove this warning. See 21:09:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:09:22 21:09:22 Login Succeeded 21:09:22 nexus3.edgexfoundry.org:10003 21:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:09:22 Configure a credential helper to remove this warning. See 21:09:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:09:22 21:09:24 Login Succeeded 21:09:24 nexus3.edgexfoundry.org:10004 21:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:09:25 Configure a credential helper to remove this warning. See 21:09:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:09:25 21:09:25 Login Succeeded 21:09:25 ****.io 21:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:09:25 Configure a credential helper to remove this warning. See 21:09:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:09:25 21:09:25 Login Succeeded 21:09:25 ---> ****-login.sh ends [Pipeline] } 21:09:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:09:26 ========================================================= 21:09:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:09:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:09:28 #0 building with "default" instance using docker driver 21:09:28 21:09:28 #1 [internal] load build definition from Dockerfile 21:09:28 #1 transferring dockerfile: 1.73kB 0.0s done 21:09:28 #1 DONE 0.1s 21:09:28 21:09:28 #2 [internal] load .dockerignore 21:09:28 #2 transferring context: 193B 0.0s done 21:09:28 #2 DONE 0.1s 21:09:28 21:09:28 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:09:28 #3 DONE 0.1s 21:09:28 21:09:28 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:09:28 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 21:09:28 #4 ... 21:09:28 21:09:28 #5 [internal] load build context 21:09:28 #5 transferring context: 95.80kB 0.0s done 21:09:28 #5 DONE 0.1s 21:09:28 21:09:28 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:09:28 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 21:09:28 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 21:09:28 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 21:09:28 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 21:09:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 21:09:28 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 21:09:28 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 21:09:28 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 21:09:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.18MB / 63.99MB 0.3s 21:09:28 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 21:09:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 21:09:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s 21:09:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 21:09:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.72MB / 11.40MB 0.4s 21:09:28 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 21:09:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s 21:09:28 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.5s 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.21MB / 63.99MB 0.7s 21:09:29 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.7s 21:09:29 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 0.8s 21:09:29 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.0s 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.51MB / 97.63MB 1.0s 21:09:29 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.38MB / 63.99MB 1.2s 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.2s 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.98MB / 63.99MB 1.3s 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.3s 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.4s 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s 21:09:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.6s 21:09:29 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 21:09:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.7s 21:09:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.8s 21:09:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.87MB / 97.63MB 1.9s 21:09:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.0s 21:09:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 21:09:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 21:09:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 21:09:41 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 21:09:46 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 21:09:48 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 21:09:48 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 21:09:48 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 21:09:54 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 21:09:57 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done 21:09:57 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 21:09:59 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 21:09:59 #4 DONE 31.2s 21:09:59 21:09:59 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 21:10:00 #6 0.712 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:10:00 #6 1.094 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:10:01 #6 2.025 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:10:01 #6 2.050 (2/4) Installing libedit (20221030.3.1-r1) 21:10:01 #6 2.063 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:10:01 #6 2.127 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:10:01 #6 2.153 Executing busybox-1.36.1-r5.trigger 21:10:01 #6 2.191 OK: 271 MiB in 56 packages 21:10:03 #6 DONE 3.9s 21:10:03 21:10:03 #7 [builder 3/7] WORKDIR /device-rest-go 21:10:03 #7 DONE 0.1s 21:10:03 21:10:03 #8 [builder 4/7] COPY go.mod vendor* ./ 21:10:03 #8 DONE 0.1s 21:10:03 21:10:03 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:25 #9 DONE 22.1s 21:10:25 21:10:25 #10 [builder 6/7] COPY . . 21:10:25 #10 DONE 0.1s 21:10:25 21:10:25 #11 [builder 7/7] RUN echo noop 21:10:26 #11 0.592 noop 21:10:26 #11 DONE 0.7s 21:10:26 21:10:26 #12 exporting to image 21:10:26 #12 exporting layers 21:10:53 #12 exporting layers 24.3s done 21:10:53 #12 writing image sha256:fc6c6af11f23a605823cc87bfaefed7d9807d5adb457e2358c348cefb2e3d9bf done 21:10:53 #12 naming to docker.io/library/ci-base-image-arm64 done 21:10:53 #12 DONE 24.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:53 + docker inspect -f . ci-base-image-arm64 21:10:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:53 prd-ubuntu20.04-docker-arm64-4c-16g-24106 does not seem to be running inside a container 21:10:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/155 -v /w/workspace/device-rest-go/155:/w/workspace/device-rest-go/155:rw,z -v /w/workspace/device-rest-go/155@tmp:/w/workspace/device-rest-go/155@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 21:10:55 $ docker top 25da31610fd0da489910dbb1e55e894ba5f76d99124ee7e9c6a810ec8ce4d098 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:55 + go version 21:10:55 go version go1.21.0 linux/arm64 [Pipeline] } 21:10:55 $ docker stop --time=1 25da31610fd0da489910dbb1e55e894ba5f76d99124ee7e9c6a810ec8ce4d098 21:10:57 $ docker rm -f --volumes 25da31610fd0da489910dbb1e55e894ba5f76d99124ee7e9c6a810ec8ce4d098 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:58 + docker inspect -f . ci-base-image-arm64 21:10:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:58 prd-ubuntu20.04-docker-arm64-4c-16g-24106 does not seem to be running inside a container 21:10:58 $ 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/155 -v /w/workspace/device-rest-go/155:/w/workspace/device-rest-go/155:rw,z -v /w/workspace/device-rest-go/155@tmp:/w/workspace/device-rest-go/155@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 21:10:59 $ docker top 722d66a4699dbe0c9c1c6556882bf45cc6237da159dbcc06f58ab5199aa11fd6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:00 + git config --global --add safe.directory /w/workspace/device-rest-go/155 [Pipeline] fileExists [Pipeline] sh 21:11:00 + make test 21:11:00 go test ./... -coverprofile=coverage.out ./... 21:11:05 ? github.com/edgexfoundry/device-rest-go [no test files] 21:12:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:12:02 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements 21:12:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:12:02 go vet ./... 21:12:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:08 ./bin/test-attribution-txt.sh [Pipeline] echo 21:12:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:12:09 $ docker stop --time=1 722d66a4699dbe0c9c1c6556882bf45cc6237da159dbcc06f58ab5199aa11fd6 21:12:10 $ docker rm -f --volumes 722d66a4699dbe0c9c1c6556882bf45cc6237da159dbcc06f58ab5199aa11fd6 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:12 Warning: overwriting stash ‘coverage-report’ 21:12:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:13 + ls -al . 21:12:13 total 176 21:12:13 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 21:11 . 21:12:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 21:08 .. 21:12:13 -rw-rw-r-- 1 jenkins jenkins 151 Dec 5 21:08 .dockerignore 21:12:13 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 21:08 .git 21:12:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:08 .github 21:12:13 -rw-rw-r-- 1 jenkins jenkins 264 Dec 5 21:08 .gitignore 21:12:13 -rw-rw-r-- 1 jenkins jenkins 41 Dec 5 21:08 .golangci.yml 21:12:13 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 5 21:08 Attribution.txt 21:12:13 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 5 21:08 CHANGELOG.md 21:12:13 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 5 21:08 Dockerfile 21:12:13 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 21:08 GOVERNANCE.md 21:12:13 -rw-rw-r-- 1 jenkins jenkins 680 Dec 5 21:08 Jenkinsfile 21:12:13 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 5 21:08 LICENSE 21:12:13 -rw-rw-r-- 1 jenkins jenkins 2010 Dec 5 21:08 Makefile 21:12:13 -rw-rw-r-- 1 jenkins jenkins 620 Dec 5 21:08 OWNERS.md 21:12:13 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 5 21:08 README.md 21:12:13 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 21:06 VERSION 21:12:13 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:08 bin 21:12:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:08 cmd 21:12:13 -rw-r--r-- 1 jenkins jenkins 14499 Dec 5 21:11 coverage.out 21:12:13 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 21:08 driver 21:12:13 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 5 21:08 go.mod 21:12:13 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 5 21:08 go.sum 21:12:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 21:08 openapi 21:12:13 -rw-rw-r-- 1 jenkins jenkins 713 Dec 5 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:13 + 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=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba --label arch=arm64 --label version=3.2.0-dev.3 . 21:12:14 #0 building with "default" instance using docker driver 21:12:14 21:12:14 #1 [internal] load build definition from Dockerfile 21:12:14 #1 transferring dockerfile: 1.73kB 0.0s done 21:12:14 #1 DONE 0.0s 21:12:14 21:12:14 #2 [internal] load .dockerignore 21:12:14 #2 transferring context: 193B 0.0s done 21:12:14 #2 DONE 0.0s 21:12:14 21:12:14 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 21:12:14 #3 DONE 0.0s 21:12:14 21:12:14 #4 [internal] load metadata for docker.io/library/alpine:3.18 21:12:14 #4 DONE 0.2s 21:12:15 21:12:15 #5 [internal] load build context 21:12:15 #5 transferring context: 16.04kB 0.0s done 21:12:15 #5 DONE 0.1s 21:12:15 21:12:15 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 21:12:15 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 21:12:15 #6 ... 21:12:15 21:12:15 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 21:12:15 #7 DONE 0.2s 21:12:15 21:12:15 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 21:12:15 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 21:12:15 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 21:12:15 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 21:12:15 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 21:12:15 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 21:12:15 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 21:12:15 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 21:12:16 #6 DONE 1.6s 21:12:16 21:12:16 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 21:12:16 #8 0.688 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:12:16 #8 1.070 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:12:17 #8 2.213 OK: 271 MiB in 56 packages 21:12:17 #8 DONE 2.5s 21:12:17 21:12:17 #9 [builder 3/7] WORKDIR /device-rest-go 21:12:17 #9 DONE 0.1s 21:12:17 21:12:17 #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 21:12:17 #10 0.650 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:12:17 #10 0.958 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:12:17 #10 ... 21:12:17 21:12:17 #11 [builder 4/7] COPY go.mod vendor* ./ 21:12:17 #11 DONE 0.1s 21:12:17 21:12:17 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:18 #12 ... 21:12:18 21:12:18 #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 21:12:18 #10 2.054 (1/1) Installing dumb-init (1.2.5-r2) 21:12:18 #10 2.065 Executing busybox-1.36.1-r5.trigger 21:12:18 #10 2.092 OK: 8 MiB in 16 packages 21:12:18 #10 DONE 2.4s 21:12:18 21:12:18 #13 [stage-1 3/6] RUN apk --no-cache upgrade 21:12:18 #13 ... 21:12:18 21:12:18 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:18 #12 DONE 1.2s 21:12:19 21:12:19 #14 [builder 6/7] COPY . . 21:12:19 #14 DONE 0.1s 21:12:19 21:12:19 #15 [builder 7/7] RUN make build 21:12:20 #15 0.764 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:12:21 #15 ... 21:12:21 21:12:21 #13 [stage-1 3/6] RUN apk --no-cache upgrade 21:12:21 #13 0.950 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:12:21 #13 1.280 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:12:21 #13 2.370 OK: 8 MiB in 16 packages 21:12:21 #13 DONE 2.7s 21:12:21 21:12:21 #15 [builder 7/7] RUN make build 21:13:29 #15 DONE 59.5s 21:13:29 21:13:29 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 21:13:29 #16 DONE 0.3s 21:13:29 21:13:29 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 21:13:29 #17 DONE 0.1s 21:13:29 21:13:29 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 21:13:29 #18 DONE 0.1s 21:13:29 21:13:29 #19 exporting to image 21:13:29 #19 exporting layers 21:13:29 #19 exporting layers 0.4s done 21:13:29 #19 writing image sha256:38386bcf9058c105d6a4a0025d4fab68a1065951bbbf785c94445a2baa55ad48 done 21:13:29 #19 naming to docker.io/library/device-rest-arm64 done 21:13:29 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:30 provisioning config files... 21:13:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/155@tmp/config7838669556729316297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:30 ---> ****-login.sh 21:13:30 nexus3.edgexfoundry.org:10001 21:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:13:30 Configure a credential helper to remove this warning. See 21:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:13:30 21:13:30 Login Succeeded 21:13:30 nexus3.edgexfoundry.org:10002 21:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:13:31 Configure a credential helper to remove this warning. See 21:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:13:31 21:13:31 Login Succeeded 21:13:31 nexus3.edgexfoundry.org:10003 21:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:13:31 Configure a credential helper to remove this warning. See 21:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:13:31 21:13:31 Login Succeeded 21:13:31 nexus3.edgexfoundry.org:10004 21:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:13:31 Configure a credential helper to remove this warning. See 21:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:13:31 21:13:31 Login Succeeded 21:13:31 ****.io 21:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:13:31 Configure a credential helper to remove this warning. See 21:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:13:31 21:13:31 Login Succeeded 21:13:31 ---> ****-login.sh ends [Pipeline] } 21:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:13:32 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:13:32 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:13:32 latest 21:13:32 3.2.0-dev.3 21:13:32 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 21:13:32 main 21:13:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:13:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:13:33 74eea95596a2: Preparing 21:13:33 688889418fe9: Preparing 21:13:33 0e53aee71f19: Preparing 21:13:33 d50c9557ea89: Preparing 21:13:33 5582a577b597: Preparing 21:13:33 0faf9b67be60: Preparing 21:13:33 0faf9b67be60: Waiting 21:13:33 d50c9557ea89: Pushed 21:13:33 5582a577b597: Pushed 21:13:33 688889418fe9: Pushed 21:13:33 74eea95596a2: Pushed 21:13:33 0faf9b67be60: Layer already exists 21:13:40 0e53aee71f19: Pushed 21:13:40 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:13:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:13:41 74eea95596a2: Preparing 21:13:41 688889418fe9: Preparing 21:13:41 0e53aee71f19: Preparing 21:13:41 d50c9557ea89: Preparing 21:13:41 5582a577b597: Preparing 21:13:41 0faf9b67be60: Preparing 21:13:41 0faf9b67be60: Waiting 21:13:41 0e53aee71f19: Layer already exists 21:13:41 d50c9557ea89: Layer already exists 21:13:41 74eea95596a2: Layer already exists 21:13:41 5582a577b597: Layer already exists 21:13:41 688889418fe9: Layer already exists 21:13:41 0faf9b67be60: Layer already exists 21:13:41 latest: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.3 21:13:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:13:42 74eea95596a2: Preparing 21:13:42 688889418fe9: Preparing 21:13:42 0e53aee71f19: Preparing 21:13:42 d50c9557ea89: Preparing 21:13:42 5582a577b597: Preparing 21:13:42 0faf9b67be60: Preparing 21:13:42 0faf9b67be60: Waiting 21:13:42 74eea95596a2: Layer already exists 21:13:42 5582a577b597: Layer already exists 21:13:42 d50c9557ea89: Layer already exists 21:13:42 688889418fe9: Layer already exists 21:13:42 0e53aee71f19: Layer already exists 21:13:42 0faf9b67be60: Layer already exists 21:13:42 3.2.0-dev.3: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 21:13:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:13:43 74eea95596a2: Preparing 21:13:43 688889418fe9: Preparing 21:13:43 0e53aee71f19: Preparing 21:13:43 d50c9557ea89: Preparing 21:13:43 5582a577b597: Preparing 21:13:43 0faf9b67be60: Preparing 21:13:43 0faf9b67be60: Waiting 21:13:43 688889418fe9: Layer already exists 21:13:43 0e53aee71f19: Layer already exists 21:13:43 5582a577b597: Layer already exists 21:13:43 74eea95596a2: Layer already exists 21:13:43 d50c9557ea89: Layer already exists 21:13:43 0faf9b67be60: Layer already exists 21:13:43 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:13:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:13:44 74eea95596a2: Preparing 21:13:44 688889418fe9: Preparing 21:13:44 0e53aee71f19: Preparing 21:13:44 d50c9557ea89: Preparing 21:13:44 5582a577b597: Preparing 21:13:44 0faf9b67be60: Preparing 21:13:44 0faf9b67be60: Waiting 21:13:44 688889418fe9: Layer already exists 21:13:44 5582a577b597: Layer already exists 21:13:44 0e53aee71f19: Layer already exists 21:13:44 d50c9557ea89: Layer already exists 21:13:44 74eea95596a2: Layer already exists 21:13:44 0faf9b67be60: Layer already exists 21:13:44 main: digest: sha256:b4fa3db864da6b085e20f74ea0630ce5b928b34a8829ea4cfc42c9b608fca0db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:13:45 ===================================================== [Pipeline] echo 21:13:45 taggedImages: 21:13:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba 21:13:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:13:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.3 21:13:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:aba5f4cc438774234c64a3e3d3941f8bbfaf4eba-3.2.0-dev.3 21:13:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:46 21:13:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:46 arm64: Pulling from edgex-lftools-log-publisher 21:13:46 8998bd30e6a1: Pulling fs layer 21:13:46 04944245beec: Pulling fs layer 21:13:46 699f458cf7ca: Pulling fs layer 21:13:46 765212b225bb: Pulling fs layer 21:13:46 f23df028b6ca: Pulling fs layer 21:13:46 d65c8cfc05b1: Pulling fs layer 21:13:46 2437ff75d9bd: Pulling fs layer 21:13:46 765212b225bb: Waiting 21:13:46 f23df028b6ca: Waiting 21:13:46 2437ff75d9bd: Waiting 21:13:46 04944245beec: Verifying Checksum 21:13:46 04944245beec: Download complete 21:13:46 765212b225bb: Verifying Checksum 21:13:46 765212b225bb: Download complete 21:13:46 f23df028b6ca: Verifying Checksum 21:13:46 f23df028b6ca: Download complete 21:13:46 d65c8cfc05b1: Download complete 21:13:46 699f458cf7ca: Verifying Checksum 21:13:46 699f458cf7ca: Download complete 21:13:47 8998bd30e6a1: Verifying Checksum 21:13:47 8998bd30e6a1: Download complete 21:13:49 2437ff75d9bd: Verifying Checksum 21:13:49 2437ff75d9bd: Download complete 21:13:53 8998bd30e6a1: Pull complete 21:13:56 04944245beec: Pull complete 21:13:58 699f458cf7ca: Pull complete 21:13:58 765212b225bb: Pull complete 21:13:59 f23df028b6ca: Pull complete 21:13:59 d65c8cfc05b1: Pull complete 21:14:21 2437ff75d9bd: Pull complete 21:14:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:21 prd-ubuntu20.04-docker-arm64-4c-16g-24106 does not seem to be running inside a container 21:14:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/155 -v /w/workspace/device-rest-go/155:/w/workspace/device-rest-go/155:rw,z -v /w/workspace/device-rest-go/155@tmp:/w/workspace/device-rest-go/155@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 21:14:25 $ docker top 9c76d0e32d053a27de32de9693ba230cf6595accce2f77f553365a06679d93fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:25 ---> job-cost.sh 21:14:26 lf-activate-venv: SKIPPING 21:14:26 INFO: No Stack... 21:14:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:27 INFO: Archiving Costs [Pipeline] sh 21:14:27 + + cutcat -d, /w/workspace/device-rest-go/155/archives/cost.csv -f6 21:14:27 [Pipeline] lock 21:14:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] 21:14:27 Resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] did not exist. Created. 21:14:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:28 /w/workspace/device-rest-go/155@tmp/durable-8173b770/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:28 + echo total: 0.2199999988079071 [Pipeline] stash 21:14:28 Warning: overwriting stash ‘stack-cost’ 21:14:28 Stashed 1 file(s) [Pipeline] } 21:14:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:28 $ docker stop --time=1 9c76d0e32d053a27de32de9693ba230cf6595accce2f77f553365a06679d93fc 21:14:30 $ docker rm -f --volumes 9c76d0e32d053a27de32de9693ba230cf6595accce2f77f553365a06679d93fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:14:31 provisioning config files... 21:14:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10424364186302200560tmp [Pipeline] { [Pipeline] sh 21:14:31 + set +x 21:14:31 + curl -s https://codecov.io/bash 21:14:31 + bash -s -- 21:14:31 21:14:31 _____ _ 21:14:31 / ____| | | 21:14:31 | | ___ __| | ___ ___ _____ __ 21:14:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:31 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:31 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:31 Bash-1.0.6 21:14:31 21:14:31 21:14:31 ==> git version 2.25.1 found 21:14:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:14:31 Release-Date: 2020-01-08 21:14:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:31 ==> Jenkins CI detected. 21:14:31 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:14:31 project root: . 21:14:31 --> token set from env 21:14:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:31 ==> Running gcov in . (disable via -X gcov) 21:14:31 ==> Python coveragepy not found 21:14:31 ==> Searching for coverage reports in: 21:14:31 + . 21:14:31 -> Found 1 reports 21:14:31 ==> Detecting git/mercurial file structure 21:14:31 ==> Reading reports 21:14:32 + ./coverage.out bytes=14499 21:14:32 ==> Appending adjustments 21:14:32 https://docs.codecov.io/docs/fixing-reports 21:14:32 + Found adjustments 21:14:32 ==> Gzipping contents 21:14:32 4.0K /tmp/codecov.Tqck99.gz 21:14:32 ==> Uploading reports 21:14:32 url: https://codecov.io 21:14:32 query: branch=main&commit=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:32 -> Pinging Codecov 21:14:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=aba5f4cc438774234c64a3e3d3941f8bbfaf4eba&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:32 -> Uploading to 21:14:32 https://storage.googleapis.com/codecov/v4/raw/2023-12-05/4E5D53B4F1F92C436F7061BF334D961C/aba5f4cc438774234c64a3e3d3941f8bbfaf4eba/24d5fe79-521c-4b31-af5b-9582efc65d17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T211432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f47ae24d78e81ddc17e45f0fa37fa494f7a90ed03208e1186cc4528e86d0eba4 21:14:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:32 Dload Upload Total Spent Left Speed 21:14:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10135 --:--:-- --:--:-- --:--:-- 10135 21:14:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] } 21:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:14:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:14:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:33 21:14:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:14:33 df9b9388f04a: Pulling fs layer 21:14:33 52dc419b0ee2: Pulling fs layer 21:14:33 25bc292e5bac: Pulling fs layer 21:14:33 114826534d7a: Pulling fs layer 21:14:33 4657fd5d0bcf: Pulling fs layer 21:14:33 6ad1cebc031e: Pulling fs layer 21:14:33 8a3aa393b2d8: Pulling fs layer 21:14:33 4657fd5d0bcf: Waiting 21:14:33 114826534d7a: Waiting 21:14:33 6ad1cebc031e: Waiting 21:14:33 25bc292e5bac: Verifying Checksum 21:14:33 25bc292e5bac: Download complete 21:14:33 52dc419b0ee2: Verifying Checksum 21:14:33 52dc419b0ee2: Download complete 21:14:33 4657fd5d0bcf: Download complete 21:14:33 df9b9388f04a: Download complete 21:14:33 df9b9388f04a: Pull complete 21:14:33 6ad1cebc031e: Verifying Checksum 21:14:33 6ad1cebc031e: Download complete 21:14:33 52dc419b0ee2: Pull complete 21:14:33 25bc292e5bac: Pull complete 21:14:34 8a3aa393b2d8: Verifying Checksum 21:14:34 8a3aa393b2d8: Download complete 21:14:34 114826534d7a: Verifying Checksum 21:14:34 114826534d7a: Download complete 21:14:37 114826534d7a: Pull complete 21:14:37 4657fd5d0bcf: Pull complete 21:14:38 6ad1cebc031e: Pull complete 21:14:41 8a3aa393b2d8: Pull complete 21:14:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:41 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:14:50 $ docker top fbac6dba7a5acc51f4dc11bdc04d930c54b99a66b8c207058286527852d56ab6 -eo pid,comm [Pipeline] { [Pipeline] echo 21:14:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:14:50 + set -o pipefail 21:14:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:14:55 21:14:55 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:14:55 21:14:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0fab4b6a-137b-4d89-94b5-c80d73ea8bed 21:14:55 21:14:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:14:55 21:14:56 21:14:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:14:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:14:56 More details here: https://snyk.co/ue1NS 21:14:56 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:14:56 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:14:56 $ docker stop --time=1 fbac6dba7a5acc51f4dc11bdc04d930c54b99a66b8c207058286527852d56ab6 21:15:01 $ docker rm -f --volumes fbac6dba7a5acc51f4dc11bdc04d930c54b99a66b8c207058286527852d56ab6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:02 + git log --format=format:%s -1 aba5f4cc438774234c64a3e3d3941f8bbfaf4eba [Pipeline] sh 21:15:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:03 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:15:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:04 $ docker top fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab -eo pid,comm 21:15:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:15:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:04 [ssh-agent] Looking for ssh-agent implementation... 21:15:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:04 $ docker exec fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab ssh-agent 21:15:04 SSH_AUTH_SOCK=/tmp/ssh-wQiYFq83nqtj/agent.32 21:15:04 SSH_AGENT_PID=38 21:15:04 Running ssh-add (command line suppressed) 21:15:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5682477562044011513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5682477562044011513.key) 21:15:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:05 + git semver tag 21:15:05 2023-12-05 21:15:05,422 [run_tag] DEBUG tag force:False 21:15:05 2023-12-05 21:15:05,422 [check_head_tag] DEBUG check head tag 21:15:05 2023-12-05 21:15:05,423 [execute] INFO git cat-file --batch-check 21:15:05 2023-12-05 21:15:05,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:15:05 2023-12-05 21:15:05,428 [execute] INFO git cat-file --batch 21:15:05 2023-12-05 21:15:05,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:15:05 2023-12-05 21:15:05,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:05 2023-12-05 21:15:05,441 [execute] INFO git tag -a v3.2.0-dev.3 -m v3.2.0-dev.3 21:15:05 2023-12-05 21:15:05,441 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.3', '-m', 'v3.2.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:15:05 2023-12-05 21:15:05,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:05 3.2.0-dev.3 [Pipeline] } 21:15:05 $ docker exec --env ******** --env ******** fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab ssh-agent -k 21:15:05 unset SSH_AUTH_SOCK; 21:15:05 unset SSH_AGENT_PID; 21:15:05 echo Agent pid 38 killed; 21:15:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:06 + git semver [Pipeline] } 21:15:06 $ docker stop --time=1 fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab 21:15:07 $ docker rm -f --volumes fa1346350a3a0626e65361d4da330a3714b50e6ef52e2090a95209b44d816bab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:08 21:15:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:08 0.23.1-centos7: Pulling from edgex-lftools 21:15:08 ab5ef0e58194: Pulling fs layer 21:15:08 9712f1f96733: Pulling fs layer 21:15:08 63f879dbbcfc: Pulling fs layer 21:15:08 0d9ebad4ef96: Pulling fs layer 21:15:08 e9a5061849ea: Pulling fs layer 21:15:08 d747dcd14b5f: Pulling fs layer 21:15:08 2de7ff778b66: Pulling fs layer 21:15:08 0d9ebad4ef96: Waiting 21:15:08 d747dcd14b5f: Waiting 21:15:08 2de7ff778b66: Waiting 21:15:08 e9a5061849ea: Waiting 21:15:08 9712f1f96733: Verifying Checksum 21:15:08 9712f1f96733: Download complete 21:15:08 63f879dbbcfc: Verifying Checksum 21:15:08 63f879dbbcfc: Download complete 21:15:09 e9a5061849ea: Verifying Checksum 21:15:09 e9a5061849ea: Download complete 21:15:09 d747dcd14b5f: Verifying Checksum 21:15:09 d747dcd14b5f: Download complete 21:15:09 0d9ebad4ef96: Verifying Checksum 21:15:09 0d9ebad4ef96: Download complete 21:15:09 ab5ef0e58194: Verifying Checksum 21:15:09 ab5ef0e58194: Download complete 21:15:09 2de7ff778b66: Verifying Checksum 21:15:09 2de7ff778b66: Download complete 21:15:12 ab5ef0e58194: Pull complete 21:15:12 9712f1f96733: Pull complete 21:15:12 63f879dbbcfc: Pull complete 21:15:15 0d9ebad4ef96: Pull complete 21:15:16 e9a5061849ea: Pull complete 21:15:16 d747dcd14b5f: Pull complete 21:15:17 2de7ff778b66: Pull complete 21:15:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:17 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:15:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:15:23 $ docker top 59bd127a90ac228d81ba3684c6db1f9de78e4ee9c4ce34e6042d725e300187f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:15:23 provisioning config files... 21:15:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6484901728415978743tmp 21:15:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6026956130471993095tmp 21:15:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9227184591806314237tmp [Pipeline] { [Pipeline] echo 21:15:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:15:24 ---> sigul-configuration.sh 21:15:24 gpg: directory `/root/.gnupg' created 21:15:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:15:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:15:24 gpg: keyring `/root/.gnupg/secring.gpg' created 21:15:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:15:24 gpg: CAST5 encrypted data 21:15:24 gpg: encrypted with 1 passphrase 21:15:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:15:24 + mkdir /home/jenkins 21:15:24 + mkdir /home/jenkins/sigul [Pipeline] sh 21:15:24 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:15:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:15:25 ---> sigul-install.sh 21:15:25 Sigul already installed; skipping installation. [Pipeline] sh 21:15:25 + git tag --list 21:15:25 v1.0.0 21:15:25 v1.1.0 21:15:25 v1.1.1 21:15:25 v1.1.2 21:15:25 v1.2.0 21:15:25 v1.2.1 21:15:25 v2.0.0 21:15:25 v2.1.0 21:15:25 v2.1.1 21:15:25 v2.2.0 21:15:25 v2.3.0 21:15:25 v3.0 21:15:25 v3.0.0 21:15:25 v3.1 21:15:25 v3.1.0 21:15:25 v3.1.0-dev.1 21:15:25 v3.1.0-dev.10 21:15:25 v3.1.0-dev.11 21:15:25 v3.1.0-dev.12 21:15:25 v3.1.0-dev.13 21:15:25 v3.1.0-dev.14 21:15:25 v3.1.0-dev.15 21:15:25 v3.1.0-dev.16 21:15:25 v3.1.0-dev.17 21:15:25 v3.1.0-dev.18 21:15:25 v3.1.0-dev.19 21:15:25 v3.1.0-dev.2 21:15:25 v3.1.0-dev.20 21:15:25 v3.1.0-dev.21 21:15:25 v3.1.0-dev.22 21:15:25 v3.1.0-dev.23 21:15:25 v3.1.0-dev.24 21:15:25 v3.1.0-dev.25 21:15:25 v3.1.0-dev.26 21:15:25 v3.1.0-dev.27 21:15:25 v3.1.0-dev.28 21:15:25 v3.1.0-dev.29 21:15:25 v3.1.0-dev.3 21:15:25 v3.1.0-dev.30 21:15:25 v3.1.0-dev.31 21:15:25 v3.1.0-dev.32 21:15:25 v3.1.0-dev.4 21:15:25 v3.1.0-dev.5 21:15:25 v3.1.0-dev.6 21:15:25 v3.1.0-dev.7 21:15:25 v3.1.0-dev.8 21:15:25 v3.1.0-dev.9 21:15:25 v3.2.0-dev.1 21:15:25 v3.2.0-dev.2 21:15:25 v3.2.0-dev.3 [Pipeline] sh 21:15:25 + lftools sign git-tag v3.2.0-dev.3 21:15:26 Signing Git tag with Sigul... 21:15:26 Signing v3.2.0-dev.3 [Pipeline] echo 21:15:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:15:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:15:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:15:27 $ docker stop --time=1 59bd127a90ac228d81ba3684c6db1f9de78e4ee9c4ce34e6042d725e300187f3 21:15:28 $ docker rm -f --volumes 59bd127a90ac228d81ba3684c6db1f9de78e4ee9c4ce34e6042d725e300187f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:15:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:29 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:30 $ docker top 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 -eo pid,comm 21:15:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:15:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:30 [ssh-agent] Looking for ssh-agent implementation... 21:15:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:30 $ docker exec 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 ssh-agent 21:15:30 SSH_AUTH_SOCK=/tmp/ssh-i7W99n698NPU/agent.32 21:15:30 SSH_AGENT_PID=38 21:15:30 Running ssh-add (command line suppressed) 21:15:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3110051410362687426.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3110051410362687426.key) 21:15:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:31 + git semver bump pre 21:15:31 2023-12-05 21:15:31,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:31 2023-12-05 21:15:31,233 [bump_version] DEBUG bumping version:3.2.0-dev.3 on axis:pre with prefix:dev 21:15:31 2023-12-05 21:15:31,233 [bump_version] DEBUG bumped version:3.2.0-dev.4 21:15:31 2023-12-05 21:15:31,233 [write_version] DEBUG write version:3.2.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:15:31 2023-12-05 21:15:31,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:31 2023-12-05 21:15:31,234 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:31 2023-12-05 21:15:31,235 [execute] INFO git cat-file --batch-check 21:15:31 2023-12-05 21:15:31,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:31 2023-12-05 21:15:31,241 [execute] INFO git cat-file --batch 21:15:31 2023-12-05 21:15:31,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:31 2023-12-05 21:15:31,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:31 3.2.0-dev.4 [Pipeline] } 21:15:31 $ docker exec --env ******** --env ******** 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 ssh-agent -k 21:15:31 unset SSH_AUTH_SOCK; 21:15:31 unset SSH_AGENT_PID; 21:15:31 echo Agent pid 38 killed; 21:15:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:31 + git semver [Pipeline] } 21:15:32 $ docker stop --time=1 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 21:15:33 $ docker rm -f --volumes 1bf4cf20d4f1a6e175b75de08aa0fd203ee1292a70105f62fd3af168435fbe24 [Pipeline] // withDockerContainer [Pipeline] sh 21:15:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:34 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:34 $ docker top 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:35 [ssh-agent] Looking for ssh-agent implementation... 21:15:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:35 $ docker exec 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 ssh-agent 21:15:35 SSH_AUTH_SOCK=/tmp/ssh-jwWM3MCwaYKP/agent.32 21:15:35 SSH_AGENT_PID=38 21:15:35 Running ssh-add (command line suppressed) 21:15:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14986305040172322466.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14986305040172322466.key) 21:15:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:35 + git semver push 21:15:36 2023-12-05 21:15:36,045 [run_push] DEBUG push 21:15:36 2023-12-05 21:15:36,046 [execute] INFO git cat-file --batch-check 21:15:36 2023-12-05 21:15:36,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:36 2023-12-05 21:15:36,050 [execute] INFO git rev-list a8646b35195ff256c582fcf4c4b9c58e5e6a0b2d -- 21:15:36 2023-12-05 21:15:36,050 [execute] DEBUG Popen(['git', 'rev-list', 'a8646b35195ff256c582fcf4c4b9c58e5e6a0b2d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:36 2023-12-05 21:15:36,059 [execute] INFO git fetch -v origin 21:15:36 2023-12-05 21:15:36,059 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:15:36 2023-12-05 21:15:36,614 [run_push] DEBUG no remote changes detected 21:15:36 2023-12-05 21:15:36,614 [execute] INFO git push origin semver 21:15:36 2023-12-05 21:15:36,615 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:37 2023-12-05 21:15:37,398 [run_push] DEBUG push all version tags 21:15:37 2023-12-05 21:15:37,399 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:15:37 2023-12-05 21:15:37,400 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:15:38 2023-12-05 21:15:38,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:15:38 3.2.0-dev.4 [Pipeline] } 21:15:38 $ docker exec --env ******** --env ******** 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 ssh-agent -k 21:15:38 unset SSH_AUTH_SOCK; 21:15:38 unset SSH_AGENT_PID; 21:15:38 echo Agent pid 38 killed; 21:15:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:39 + git semver [Pipeline] } 21:15:39 $ docker stop --time=1 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 21:15:40 $ docker rm -f --volumes 77e24b2aed1c4160f8b4aa7ba94563d47f99bc82a3b1d74e543b830ef8fe5a07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:15:42 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:15:42 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:15:42 total 16 21:15:42 drwxr-xr-x 3 root root 4096 Dec 5 21:09 . 21:15:42 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 21:15 .. 21:15:42 drwxr-xr-x 2 root root 4096 Dec 5 21:09 cost 21:15:42 -rw-r--r-- 1 root root 86 Dec 5 21:09 cost.csv 21:15:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:15:42 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:15:42 total 16 21:15:42 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 21:09 . 21:15:42 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 21:15 .. 21:15:42 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 21:09 cost 21:15:42 -rw-r--r-- 1 jenkins jenkins 86 Dec 5 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:15:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:15:43 ---> package-listing.sh 21:15:43 ++ facter osfamily 21:15:43 ++ tr '[:upper:]' '[:lower:]' 21:15:43 + OS_FAMILY=debian 21:15:43 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:15:43 + START_PACKAGES=/tmp/packages_start.txt 21:15:43 + END_PACKAGES=/tmp/packages_end.txt 21:15:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:15:43 + PACKAGES=/tmp/packages_start.txt 21:15:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:15:43 + PACKAGES=/tmp/packages_end.txt 21:15:43 + case "${OS_FAMILY}" in 21:15:43 + dpkg -l 21:15:43 + grep '^ii' 21:15:43 + '[' -f /tmp/packages_start.txt ']' 21:15:43 + '[' -f /tmp/packages_end.txt ']' 21:15:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:15:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:15:43 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:15:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:15:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:15:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:44 prd-ubuntu20.04-docker-8c-8g-24104 does not seem to be running inside a container 21:15:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:15:45 $ docker top 1ab5d834033a273681083f134be15e058f72fb40ae92d6ec65c9b9efd46c0b0d -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:45 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:46 + ls /var/log/sa-host 21:15:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:46 provisioning config files... 21:15:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3093240716619703442tmp [Pipeline] { [Pipeline] echo 21:15:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:46 ---> create-netrc.sh [Pipeline] } 21:15:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:47 ---> python-tools-install.sh [Pipeline] echo 21:15:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:47 ---> sudo-logs.sh 21:15:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:47 ---> job-cost.sh 21:15:47 lf-activate-venv: SKIPPING 21:15:47 DEBUG: total: 0.2199999988079071 21:15:47 INFO: Retrieving Stack Cost... 21:15:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:48 INFO: Archiving Costs [Pipeline] echo 21:15:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:48 ---> logs-deploy.sh 21:15:48 lf-activate-venv: SKIPPING 21:15:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/155 21:15:48 INFO: archiving workspace using pattern(s): 21:15:49 Archives upload complete. 21:15:49 INFO: archiving logs to Nexus 21:15:50 ---> uname -a: 21:15:50 Linux prd-ubuntu20-04-docker-8c-8g-24104 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:15:50 21:15:50