Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 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-ssh1536787951879969543.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-ssh573673194377740397.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-ssh8240190551798107609.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-ssh12054138962931039857.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-ssh16865132579412726282.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5325’ Running on prd-ubuntu20.04-docker-8c-8g-5329 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 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc (main) Commit message: "Merge pull request #384 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 > git rev-list --no-walk 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:13:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:13:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:13:29 ========================================================= 14:13:29 EdgeX Global Pipelines Version Info 14:13:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:13:29 ------------------- 14:13:29 stable info: 14:13:29 ------------------- 14:13:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:13:29 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 14:13:29 Message: update stable to v1.0.258 14:13:30 ------------------- 14:13:30 experimental info: 14:13:30 ------------------- 14:13:30 Commited By: **** collab-it+edgex@linuxfoundation.org 14:13:30 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 14:13:30 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:13:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b98d36f [Pipeline] echo 14:13:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:13:31 provisioning config files... 14:13:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10049896839307220475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:32 ---> ****-login.sh 14:13:32 nexus3.edgexfoundry.org:10001 14:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:32 Configure a credential helper to remove this warning. See 14:13:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:32 14:13:32 Login Succeeded 14:13:32 nexus3.edgexfoundry.org:10002 14:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:32 Configure a credential helper to remove this warning. See 14:13:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:32 14:13:32 Login Succeeded 14:13:32 nexus3.edgexfoundry.org:10003 14:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:32 Configure a credential helper to remove this warning. See 14:13:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:32 14:13:32 Login Succeeded 14:13:32 nexus3.edgexfoundry.org:10004 14:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:32 Configure a credential helper to remove this warning. See 14:13:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:32 14:13:32 Login Succeeded 14:13:32 ****.io 14:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:33 Configure a credential helper to remove this warning. See 14:13:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:33 14:13:33 Login Succeeded 14:13:33 ---> ****-login.sh ends [Pipeline] } 14:13:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:13:33 + git rev-list -1 --merges b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc~1..b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] echo 14:13:33 -----------> git rev-list -1 --merges b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc~1..b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:13:33 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [false] [Pipeline] sh 14:13:34 + git log --format=format:%s -1 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] echo 14:13:34 ========================================================= 14:13:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:13:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:13:34 + git log --format=format:%s -1 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] echo 14:13:34 [semverPrep] GIT_COMMIT: b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc, Commit Message: Merge pull request #384 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10 [Pipeline] echo 14:13:34 [semverPrep] This is not a build commit. [Pipeline] sh 14:13:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:13:35 + grep -v github /etc/ssh/ssh_known_hosts 14:13:35 + [ -e /tmp/ssh_known_hosts ] 14:13:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:13:35 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:13:35 sudo tee -a /etc/ssh/ssh_known_hosts 14:13:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:35 14:13:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:35 0.1.4: Pulling from edgex-devops/py-git-semver 14:13:35 b85a868b505f: Pulling fs layer 14:13:35 e2be974225ed: Pulling fs layer 14:13:35 339a4e72a1f5: Pulling fs layer 14:13:35 988bab9f4d93: Pulling fs layer 14:13:35 1469e6f7b9e6: Pulling fs layer 14:13:35 eaf3925da568: Pulling fs layer 14:13:35 bab4dde63d76: Pulling fs layer 14:13:35 bde34c3a00c8: Pulling fs layer 14:13:35 b352a97aabf1: Pulling fs layer 14:13:35 4872d77fe225: Pulling fs layer 14:13:35 5851b861e8e6: Pulling fs layer 14:13:35 bde34c3a00c8: Waiting 14:13:35 4872d77fe225: Waiting 14:13:35 eaf3925da568: Waiting 14:13:35 b352a97aabf1: Waiting 14:13:35 5851b861e8e6: Waiting 14:13:35 bab4dde63d76: Waiting 14:13:35 988bab9f4d93: Waiting 14:13:35 1469e6f7b9e6: Waiting 14:13:35 e2be974225ed: Verifying Checksum 14:13:35 e2be974225ed: Download complete 14:13:35 988bab9f4d93: Verifying Checksum 14:13:35 988bab9f4d93: Download complete 14:13:35 1469e6f7b9e6: Verifying Checksum 14:13:35 1469e6f7b9e6: Download complete 14:13:35 eaf3925da568: Verifying Checksum 14:13:35 eaf3925da568: Download complete 14:13:35 339a4e72a1f5: Verifying Checksum 14:13:35 339a4e72a1f5: Download complete 14:13:36 bde34c3a00c8: Download complete 14:13:36 b352a97aabf1: Download complete 14:13:36 4872d77fe225: Verifying Checksum 14:13:36 4872d77fe225: Download complete 14:13:36 5851b861e8e6: Verifying Checksum 14:13:36 5851b861e8e6: Download complete 14:13:36 b85a868b505f: Download complete 14:13:36 bab4dde63d76: Verifying Checksum 14:13:36 bab4dde63d76: Download complete 14:13:37 b85a868b505f: Pull complete 14:13:37 e2be974225ed: Pull complete 14:13:38 339a4e72a1f5: Pull complete 14:13:38 988bab9f4d93: Pull complete 14:13:38 1469e6f7b9e6: Pull complete 14:13:38 eaf3925da568: Pull complete 14:13:40 bab4dde63d76: Pull complete 14:13:40 bde34c3a00c8: Pull complete 14:13:40 b352a97aabf1: Pull complete 14:13:40 4872d77fe225: Pull complete 14:13:40 5851b861e8e6: Pull complete 14:13:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:40 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:13:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:13:43 $ docker top bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 -eo pid,comm 14:13:43 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). 14:13:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:13:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:43 [ssh-agent] Looking for ssh-agent implementation... 14:13:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:43 $ docker exec bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 ssh-agent 14:13:43 SSH_AUTH_SOCK=/tmp/ssh-Byd7MgTSWqK8/agent.33 14:13:43 SSH_AGENT_PID=39 14:13:43 Running ssh-add (command line suppressed) 14:13:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8253970003590278065.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8253970003590278065.key) 14:13:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:44 + git tag --points-at HEAD [Pipeline] } 14:13:44 $ docker exec --env ******** --env ******** bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 ssh-agent -k 14:13:44 unset SSH_AUTH_SOCK; 14:13:44 unset SSH_AGENT_PID; 14:13:44 echo Agent pid 39 killed; 14:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:44 [ssh-agent] Looking for ssh-agent implementation... 14:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:44 $ docker exec bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 ssh-agent 14:13:44 SSH_AUTH_SOCK=/tmp/ssh-nuI7qJ4xdq9k/agent.71 14:13:44 SSH_AGENT_PID=77 14:13:44 Running ssh-add (command line suppressed) 14:13:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5102160097219110161.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5102160097219110161.key) 14:13:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:44 + git semver init 14:13:45 2024-03-09 14:13:45,123 [run_init] DEBUG init version:0.0.0 force:False 14:13:45 2024-03-09 14:13:45,124 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 14:13:45 2024-03-09 14:13:45,125 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:13:45 2024-03-09 14:13:45,125 [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) 14:13:46 2024-03-09 14:13:46,485 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 14:13:46 2024-03-09 14:13:46,486 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 14:13:46 2024-03-09 14:13:46,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:46 2024-03-09 14:13:46,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:13:46 3.2.0-dev.10 [Pipeline] } 14:13:46 $ docker exec --env ******** --env ******** bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 ssh-agent -k 14:13:46 unset SSH_AUTH_SOCK; 14:13:46 unset SSH_AGENT_PID; 14:13:46 echo Agent pid 77 killed; 14:13:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:47 + git semver [Pipeline] } 14:13:47 $ docker stop --time=1 bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 14:13:48 $ docker rm -f --volumes bbc244f78abe187828222487f2fcf8ec12d75647bff38c758d547269f1aa74f7 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:13:49 Stashed 1 file(s) [Pipeline] echo 14:13:49 [edgeXSemver]: initialized semver on version 3.2.0-dev.10 [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 14:13:49 provisioning config files... 14:13:49 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9725068157995913568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:49 ---> ****-login.sh 14:13:49 nexus3.edgexfoundry.org:10001 14:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:49 Configure a credential helper to remove this warning. See 14:13:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:49 14:13:49 Login Succeeded 14:13:49 nexus3.edgexfoundry.org:10002 14:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:49 Configure a credential helper to remove this warning. See 14:13:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:49 14:13:49 Login Succeeded 14:13:49 nexus3.edgexfoundry.org:10003 14:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:50 Configure a credential helper to remove this warning. See 14:13:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:50 14:13:50 Login Succeeded 14:13:50 nexus3.edgexfoundry.org:10004 14:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:50 Configure a credential helper to remove this warning. See 14:13:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:50 14:13:50 Login Succeeded 14:13:50 ****.io 14:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:13:50 Configure a credential helper to remove this warning. See 14:13:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:13:50 14:13:50 Login Succeeded 14:13:50 ---> ****-login.sh ends [Pipeline] } 14:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:13:50 ========================================================= 14:13:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:13:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:51 + 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 . 14:13:51 Sending build context to Docker daemon 16.32MB 14:13:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:13:51 Step 2/12 : FROM ${BASE} AS builder 14:13:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:13:51 7264a8db6415: Pulling fs layer 14:13:51 c4d48a809fc2: Pulling fs layer 14:13:51 4f1c88b9dad5: Pulling fs layer 14:13:51 ad3a456e5733: Pulling fs layer 14:13:51 69c7f0334f64: Pulling fs layer 14:13:51 1f1c1a5573a3: Pulling fs layer 14:13:51 ce7588e14bc9: Pulling fs layer 14:13:51 b5e4710f87ac: Pulling fs layer 14:13:51 69c7f0334f64: Waiting 14:13:51 1f1c1a5573a3: Waiting 14:13:51 b5e4710f87ac: Waiting 14:13:51 ce7588e14bc9: Waiting 14:13:51 ad3a456e5733: Waiting 14:13:51 c4d48a809fc2: Download complete 14:13:51 ad3a456e5733: Download complete 14:13:51 69c7f0334f64: Verifying Checksum 14:13:51 69c7f0334f64: Download complete 14:13:51 7264a8db6415: Verifying Checksum 14:13:51 7264a8db6415: Download complete 14:13:51 1f1c1a5573a3: Verifying Checksum 14:13:51 1f1c1a5573a3: Download complete 14:13:51 7264a8db6415: Pull complete 14:13:51 b5e4710f87ac: Verifying Checksum 14:13:51 b5e4710f87ac: Download complete 14:13:51 c4d48a809fc2: Pull complete 14:13:51 4f1c88b9dad5: Verifying Checksum 14:13:51 4f1c88b9dad5: Download complete 14:13:52 ce7588e14bc9: Verifying Checksum 14:13:52 ce7588e14bc9: Download complete 14:13:54 4f1c88b9dad5: Pull complete 14:13:54 ad3a456e5733: Pull complete 14:13:54 69c7f0334f64: Pull complete 14:13:54 1f1c1a5573a3: Pull complete 14:13:56 ce7588e14bc9: Pull complete 14:13:57 b5e4710f87ac: Pull complete 14:13:57 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 14:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:13:57 ---> 88b5674ff536 14:13:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:14:02 ---> Running in 4a20603cbd80 14:14:02 Removing intermediate container 4a20603cbd80 14:14:02 ---> 1453b6331bd5 14:14:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:14:02 ---> Running in fbfc085f45d7 14:14:02 Removing intermediate container fbfc085f45d7 14:14:02 ---> 8a8b21975da0 14:14:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:14:02 ---> Running in 45f8900945e5 14:14:02 Removing intermediate container 45f8900945e5 14:14:02 ---> bb54fbe9875f 14:14:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:14:02 ---> Running in efdaacc2192e 14:14:02 Removing intermediate container efdaacc2192e 14:14:02 ---> 392b4ca9e17f 14:14:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:14:02 ---> Running in 7d05a6c495a6 14:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:14:02 (1/4) Installing openssh-keygen (9.3_p2-r1) 14:14:02 (2/4) Installing libedit (20221030.3.1-r1) 14:14:02 (3/4) Installing openssh-client-common (9.3_p2-r1) 14:14:02 (4/4) Installing openssh-client-default (9.3_p2-r1) 14:14:02 Executing busybox-1.36.1-r5.trigger 14:14:02 OK: 268 MiB in 56 packages 14:14:03 Removing intermediate container 7d05a6c495a6 14:14:03 ---> 66df164a3d67 14:14:03 Step 8/12 : WORKDIR /device-rest-go 14:14:03 ---> Running in 374a7a7c6082 14:14:03 Removing intermediate container 374a7a7c6082 14:14:03 ---> c268d0ba8bf4 14:14:03 Step 9/12 : COPY go.mod vendor* ./ 14:14:03 ---> 5efbad687723 14:14:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:14:03 ---> Running in f9d515344694 14:14:04 Still waiting to schedule task 14:14:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5328’ 14:14:29 Removing intermediate container f9d515344694 14:14:29 ---> cda7d9646b18 14:14:29 Step 11/12 : COPY . . 14:14:30 ---> 5da057abd062 14:14:30 Step 12/12 : RUN $MAKE 14:14:30 ---> Running in 8155d175ca91 14:14:30 noop 14:14:31 Removing intermediate container 8155d175ca91 14:14:31 ---> 4b79c1671422 14:14:31 Successfully built 4b79c1671422 14:14:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:31 + docker inspect -f . ci-base-image-x86_64 14:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:31 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:14:31 $ 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 ******** ci-base-image-x86_64 cat 14:14:31 $ docker top 717daacf86c073eea7ef376f49ec47088a6f05c4edc3017ad5c1581863489e48 -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:32 + go version 14:14:32 go version go1.21.0 linux/amd64 [Pipeline] } 14:14:32 $ docker stop --time=1 717daacf86c073eea7ef376f49ec47088a6f05c4edc3017ad5c1581863489e48 14:14:33 $ docker rm -f --volumes 717daacf86c073eea7ef376f49ec47088a6f05c4edc3017ad5c1581863489e48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:34 + docker inspect -f . ci-base-image-x86_64 14:14:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:34 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:14:34 $ 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 ******** ci-base-image-x86_64 cat 14:14:34 $ docker top bef78dc9600081956cf6f5c0821f82a5c2a91eb1dcd529c9c4cf5e21f90d8e58 -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 14:14:35 + make test 14:14:35 go test ./... -coverprofile=coverage.out ./... 14:14:36 ? github.com/edgexfoundry/device-rest-go [no test files] 14:14:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:14:46 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 14:14:52 go vet ./... 14:14:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:14:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:14:55 ./bin/test-attribution-txt.sh 14:14:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 14:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:14:55 $ docker stop --time=1 bef78dc9600081956cf6f5c0821f82a5c2a91eb1dcd529c9c4cf5e21f90d8e58 14:14:58 $ docker rm -f --volumes bef78dc9600081956cf6f5c0821f82a5c2a91eb1dcd529c9c4cf5e21f90d8e58 [Pipeline] // withDockerContainer [Pipeline] sh 14:14:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:14:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:14:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:15:00 + ls -al . 14:15:00 total 180 14:15:00 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 14:14 . 14:15:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 14:13 .. 14:15:00 -rw-rw-r-- 1 jenkins jenkins 151 Mar 9 14:13 .dockerignore 14:15:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 14:14 .git 14:15:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:13 .github 14:15:00 -rw-rw-r-- 1 jenkins jenkins 264 Mar 9 14:13 .gitignore 14:15:00 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 14:13 .golangci.yml 14:15:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 14:13 .semver 14:15:00 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 9 14:13 Attribution.txt 14:15:00 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 9 14:13 CHANGELOG.md 14:15:00 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 9 14:13 Dockerfile 14:15:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 14:13 GOVERNANCE.md 14:15:00 -rw-rw-r-- 1 jenkins jenkins 680 Mar 9 14:13 Jenkinsfile 14:15:00 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 14:13 LICENSE 14:15:00 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 9 14:13 Makefile 14:15:00 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 14:13 OWNERS.md 14:15:00 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 9 14:13 README.md 14:15:00 -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 14:13 VERSION 14:15:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 14:13 bin 14:15:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:13 cmd 14:15:00 -rw-r--r-- 1 jenkins jenkins 14499 Mar 9 14:14 coverage.out 14:15:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 14:13 driver 14:15:00 -rw-rw-r-- 1 jenkins jenkins 3936 Mar 9 14:13 go.mod 14:15:00 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 9 14:13 go.sum 14:15:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:13 openapi 14:15:00 -rw-rw-r-- 1 jenkins jenkins 713 Mar 9 14:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:00 + 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=b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc --label arch=amd64 --label version=3.2.0-dev.10 . 14:15:00 Sending build context to Docker daemon 16.34MB 14:15:00 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 14:15:00 Step 2/26 : FROM ${BASE} AS builder 14:15:00 ---> 4b79c1671422 14:15:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 14:15:01 ---> Running in c3cf09134a10 14:15:01 Removing intermediate container c3cf09134a10 14:15:01 ---> c091b7227dad 14:15:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:15:01 ---> Running in 8b31f11a93c9 14:15:01 Removing intermediate container 8b31f11a93c9 14:15:01 ---> 48e1fccc26fe 14:15:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:15:01 ---> Running in e66732f9dadc 14:15:01 Removing intermediate container e66732f9dadc 14:15:01 ---> b858d621668f 14:15:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 14:15:01 ---> Running in 941168fc8d45 14:15:01 Removing intermediate container 941168fc8d45 14:15:01 ---> 3aaf04cfe699 14:15:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:15:01 ---> Running in acc12d14e91b 14:15:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:15:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:15:02 OK: 268 MiB in 56 packages 14:15:02 Removing intermediate container acc12d14e91b 14:15:02 ---> c6deab0ab195 14:15:02 Step 8/26 : WORKDIR /device-rest-go 14:15:02 ---> Running in d79e83650f72 14:15:02 Removing intermediate container d79e83650f72 14:15:02 ---> 597dbda3898a 14:15:02 Step 9/26 : COPY go.mod vendor* ./ 14:15:02 ---> b5e70f4eb0bc 14:15:02 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:15:02 ---> Running in ca9c2331eb10 14:15:03 Removing intermediate container ca9c2331eb10 14:15:03 ---> ee15cec45288 14:15:03 Step 11/26 : COPY . . 14:15:03 ---> 049fd1bd5e3f 14:15:03 Step 12/26 : RUN $MAKE 14:15:03 ---> Running in e92c21b91724 14:15:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:15:26 Removing intermediate container e92c21b91724 14:15:26 ---> b6300b621cbd 14:15:26 Step 13/26 : FROM alpine:3.18 14:15:26 3.18: Pulling from library/alpine 14:15:26 619be1103602: Pulling fs layer 14:15:26 619be1103602: Download complete 14:15:26 619be1103602: Pull complete 14:15:26 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 14:15:26 Status: Downloaded newer image for alpine:3.18 14:15:26 ---> d3782b16ccc9 14:15:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:15:26 ---> Running in 9404cbd5e808 14:15:26 Removing intermediate container 9404cbd5e808 14:15:26 ---> ab73871e9265 14:15:26 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 14:15:26 ---> Running in 3c0f4f1a9d12 14:15:26 Removing intermediate container 3c0f4f1a9d12 14:15:26 ---> a34512ab15a0 14:15:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 14:15:26 ---> Running in d00401a87fd5 14:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:15:26 (1/1) Installing dumb-init (1.2.5-r2) 14:15:26 Executing busybox-1.36.1-r5.trigger 14:15:26 OK: 7 MiB in 16 packages 14:15:26 Removing intermediate container d00401a87fd5 14:15:26 ---> 2618b6ef453b 14:15:26 Step 17/26 : RUN apk --no-cache upgrade 14:15:26 ---> Running in 81702acaa103 14:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:15:26 OK: 7 MiB in 16 packages 14:15:26 Removing intermediate container 81702acaa103 14:15:26 ---> 605be816d237 14:15:26 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 14:15:27 ---> 95b89b7dd88a 14:15:27 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 14:15:27 ---> a12705cfd69a 14:15:27 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 14:15:27 ---> 9a709ebf0631 14:15:27 Step 21/26 : EXPOSE 59986 14:15:27 ---> Running in c8111af17ddb 14:15:27 Removing intermediate container c8111af17ddb 14:15:27 ---> 1017d394e0b1 14:15:27 Step 22/26 : ENTRYPOINT ["/device-rest"] 14:15:27 ---> Running in 33a12fcbd1c9 14:15:27 Removing intermediate container 33a12fcbd1c9 14:15:27 ---> f25a3148bd39 14:15:27 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:15:27 ---> Running in fbd06e70734c 14:15:27 Removing intermediate container fbd06e70734c 14:15:27 ---> d9770a9cba45 14:15:27 Step 24/26 : LABEL arch=amd64 14:15:27 ---> Running in 52943faf7b52 14:15:27 Removing intermediate container 52943faf7b52 14:15:27 ---> 0bbfdde35b1e 14:15:27 Step 25/26 : LABEL git_sha=b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:15:28 ---> Running in 0d33c151bc5e 14:15:28 Removing intermediate container 0d33c151bc5e 14:15:28 ---> b212c0b9049c 14:15:28 Step 26/26 : LABEL version=3.2.0-dev.10 14:15:28 ---> Running in 6e610849ef5c 14:15:28 Removing intermediate container 6e610849ef5c 14:15:28 ---> 836f6f5c1c18 14:15:28 [Warning] One or more build-args [ARCH] were not consumed 14:15:28 Successfully built 836f6f5c1c18 14:15:28 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:15:28 provisioning config files... 14:15:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16285931085736274788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:28 ---> ****-login.sh 14:15:28 nexus3.edgexfoundry.org:10001 14:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:15:28 Configure a credential helper to remove this warning. See 14:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:15:28 14:15:28 Login Succeeded 14:15:28 nexus3.edgexfoundry.org:10002 14:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:15:28 Configure a credential helper to remove this warning. See 14:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:15:28 14:15:28 Login Succeeded 14:15:28 nexus3.edgexfoundry.org:10003 14:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:15:29 Configure a credential helper to remove this warning. See 14:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:15:29 14:15:29 Login Succeeded 14:15:29 nexus3.edgexfoundry.org:10004 14:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:15:29 Configure a credential helper to remove this warning. See 14:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:15:29 14:15:29 Login Succeeded 14:15:29 ****.io 14:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:15:29 Configure a credential helper to remove this warning. See 14:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:15:29 14:15:29 Login Succeeded 14:15:29 ---> ****-login.sh ends [Pipeline] } 14:15:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:15:29 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:15:29 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:15:29 latest 14:15:29 3.2.0-dev.10 14:15:29 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 14:15:29 main 14:15:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:15:30 e01f21764433: Preparing 14:15:30 fb166f61d7d1: Preparing 14:15:30 4e7304801068: Preparing 14:15:30 07d0c4db8488: Preparing 14:15:30 5ed629b53fae: Preparing 14:15:30 aedc3bda2944: Preparing 14:15:30 aedc3bda2944: Waiting 14:15:30 fb166f61d7d1: Pushed 14:15:30 5ed629b53fae: Pushed 14:15:30 07d0c4db8488: Pushed 14:15:30 e01f21764433: Pushed 14:15:30 aedc3bda2944: Layer already exists 14:15:32 4e7304801068: Pushed 14:15:32 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc: digest: sha256:6d69cd2878690e7dc41af8693ddc9feb3e6ba3fafee223bb20d133e2db7f7c3f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:15:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:15:33 e01f21764433: Preparing 14:15:33 fb166f61d7d1: Preparing 14:15:33 4e7304801068: Preparing 14:15:33 07d0c4db8488: Preparing 14:15:33 5ed629b53fae: Preparing 14:15:33 aedc3bda2944: Preparing 14:15:33 aedc3bda2944: Waiting 14:15:33 5ed629b53fae: Layer already exists 14:15:33 07d0c4db8488: Layer already exists 14:15:33 fb166f61d7d1: Layer already exists 14:15:33 e01f21764433: Layer already exists 14:15:33 4e7304801068: Layer already exists 14:15:33 aedc3bda2944: Layer already exists 14:15:33 latest: digest: sha256:6d69cd2878690e7dc41af8693ddc9feb3e6ba3fafee223bb20d133e2db7f7c3f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.10 14:15:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:15:34 e01f21764433: Preparing 14:15:34 fb166f61d7d1: Preparing 14:15:34 4e7304801068: Preparing 14:15:34 07d0c4db8488: Preparing 14:15:34 5ed629b53fae: Preparing 14:15:34 aedc3bda2944: Preparing 14:15:34 aedc3bda2944: Waiting 14:15:34 4e7304801068: Layer already exists 14:15:34 5ed629b53fae: Layer already exists 14:15:34 fb166f61d7d1: Layer already exists 14:15:34 07d0c4db8488: Layer already exists 14:15:34 e01f21764433: Layer already exists 14:15:34 aedc3bda2944: Layer already exists 14:15:34 3.2.0-dev.10: digest: sha256:6d69cd2878690e7dc41af8693ddc9feb3e6ba3fafee223bb20d133e2db7f7c3f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 14:15:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:15:35 e01f21764433: Preparing 14:15:35 fb166f61d7d1: Preparing 14:15:35 4e7304801068: Preparing 14:15:35 07d0c4db8488: Preparing 14:15:35 5ed629b53fae: Preparing 14:15:35 aedc3bda2944: Preparing 14:15:35 aedc3bda2944: Waiting 14:15:35 5ed629b53fae: Layer already exists 14:15:35 07d0c4db8488: Layer already exists 14:15:35 e01f21764433: Layer already exists 14:15:35 fb166f61d7d1: Layer already exists 14:15:35 4e7304801068: Layer already exists 14:15:35 aedc3bda2944: Layer already exists 14:15:35 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10: digest: sha256:6d69cd2878690e7dc41af8693ddc9feb3e6ba3fafee223bb20d133e2db7f7c3f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:15:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:15:36 e01f21764433: Preparing 14:15:36 fb166f61d7d1: Preparing 14:15:36 4e7304801068: Preparing 14:15:36 07d0c4db8488: Preparing 14:15:36 5ed629b53fae: Preparing 14:15:36 aedc3bda2944: Preparing 14:15:36 aedc3bda2944: Waiting 14:15:36 fb166f61d7d1: Layer already exists 14:15:36 07d0c4db8488: Layer already exists 14:15:36 4e7304801068: Layer already exists 14:15:36 5ed629b53fae: Layer already exists 14:15:36 e01f21764433: Layer already exists 14:15:36 aedc3bda2944: Layer already exists 14:15:36 main: digest: sha256:6d69cd2878690e7dc41af8693ddc9feb3e6ba3fafee223bb20d133e2db7f7c3f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:15:36 ===================================================== [Pipeline] echo 14:15:36 taggedImages: 14:15:36 - nexus3.edgexfoundry.org:10004/device-rest:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:15:36 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:15:36 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.10 14:15:36 - nexus3.edgexfoundry.org:10004/device-rest:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 14:15:36 - 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 14:15:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:37 14:15:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:37 latest: Pulling from edgex-lftools-log-publisher 14:15:37 5eb5b503b376: Pulling fs layer 14:15:37 5c69ac0246d0: Pulling fs layer 14:15:37 ec43610c2a17: Pulling fs layer 14:15:37 3a2ae6a8a46f: Pulling fs layer 14:15:37 33b1e0a273af: Pulling fs layer 14:15:37 5d3b04190fa2: Pulling fs layer 14:15:37 2f39f015ded8: Pulling fs layer 14:15:37 3a2ae6a8a46f: Waiting 14:15:37 33b1e0a273af: Waiting 14:15:37 2f39f015ded8: Waiting 14:15:37 5d3b04190fa2: Waiting 14:15:37 5c69ac0246d0: Verifying Checksum 14:15:37 5c69ac0246d0: Download complete 14:15:37 3a2ae6a8a46f: Download complete 14:15:37 33b1e0a273af: Verifying Checksum 14:15:37 33b1e0a273af: Download complete 14:15:37 ec43610c2a17: Verifying Checksum 14:15:37 ec43610c2a17: Download complete 14:15:37 5d3b04190fa2: Verifying Checksum 14:15:37 5d3b04190fa2: Download complete 14:15:37 5eb5b503b376: Verifying Checksum 14:15:37 5eb5b503b376: Download complete 14:15:38 2f39f015ded8: Download complete 14:15:38 5eb5b503b376: Pull complete 14:15:39 5c69ac0246d0: Pull complete 14:15:39 ec43610c2a17: Pull complete 14:15:39 3a2ae6a8a46f: Pull complete 14:15:39 33b1e0a273af: Pull complete 14:15:39 5d3b04190fa2: Pull complete 14:15:43 2f39f015ded8: Pull complete 14:15:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:15:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:44 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:15:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:15:49 $ docker top 1e9878d4169d15bd8d7e9493b6010d804551fbb1be2bec30792d85c062152740 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:49 ---> job-cost.sh 14:15:49 lf-activate-venv: SKIPPING 14:15:49 INFO: No Stack... 14:15:49 INFO: Retrieving Pricing Info for: v3-standard-8 14:15:50 INFO: Archiving Costs [Pipeline] sh 14:15:50 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 14:15:50 + cut -d, -f6 [Pipeline] lock 14:15:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] 14:15:50 Resource [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] did not exist. Created. 14:15:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:15:50 + echo total: 0.2199999988079071 [Pipeline] stash 14:15:50 Stashed 1 file(s) [Pipeline] } 14:15:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 14:15:50 $ docker stop --time=1 1e9878d4169d15bd8d7e9493b6010d804551fbb1be2bec30792d85c062152740 14:15:52 $ docker rm -f --volumes 1e9878d4169d15bd8d7e9493b6010d804551fbb1be2bec30792d85c062152740 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:16:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5332 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:16:37 Running in /w/workspace/device-rest-go/162 [Pipeline] { [Pipeline] checkout 14:16:41 The recommended git tool is: git 14:16:50 using credential edgex-jenkins-ssh 14:16:50 Cloning the remote Git repository 14:16:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:16:50 > git init /w/workspace/device-rest-go/162 # timeout=10 14:16:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:16:50 > git --version # timeout=10 14:16:50 > git --version # 'git version 2.25.1' 14:16:50 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:16:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:55 Avoid second fetch 14:16:55 Checking out Revision b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc (main) 14:16:56 Commit message: "Merge pull request #384 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:16:55 > git config core.sparsecheckout # timeout=10 14:16:55 > git checkout -f b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 14:16:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:16:57 % Total % Received % Xferd Average Speed Time Time Time Current 14:16:57 Dload Upload Total Spent Left Speed 14:16:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 14:16:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:16:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:16:57 + sudo tee /etc/docker/daemon.new 14:16:57 { 14:16:57 "registry-mirrors": [ 14:16:57 "https://nexus3.edgexfoundry.org:10001" 14:16:57 ], 14:16:57 "bip": "10.250.0.254/24", 14:16:57 "hosts": [ 14:16:57 "tcp://0.0.0.0:5555", 14:16:57 "unix:///var/run/docker.sock" 14:16:57 ], 14:16:57 "mtu": 1458, 14:16:57 "selinux-enabled": true, 14:16:57 "seccomp-profile": "/etc/docker/seccomp.json" 14:16:57 } [Pipeline] sh 14:16:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:16:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:17:16 provisioning config files... 14:17:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/162@tmp/config4285663943042221778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:17 ---> ****-login.sh 14:17:17 nexus3.edgexfoundry.org:10001 14:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:17:18 Configure a credential helper to remove this warning. See 14:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:17:18 14:17:18 Login Succeeded 14:17:18 nexus3.edgexfoundry.org:10002 14:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:17:18 Configure a credential helper to remove this warning. See 14:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:17:18 14:17:18 Login Succeeded 14:17:18 nexus3.edgexfoundry.org:10003 14:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:17:19 Configure a credential helper to remove this warning. See 14:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:17:19 14:17:19 Login Succeeded 14:17:19 nexus3.edgexfoundry.org:10004 14:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:17:19 Configure a credential helper to remove this warning. See 14:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:17:19 14:17:19 Login Succeeded 14:17:19 ****.io 14:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:17:20 Configure a credential helper to remove this warning. See 14:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:17:20 14:17:20 Login Succeeded 14:17:20 ---> ****-login.sh ends [Pipeline] } 14:17:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:17:20 ========================================================= 14:17:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:17:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:21 + 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 . 14:17:21 Sending build context to Docker daemon 127.5kB 14:17:21 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:17:21 Step 2/12 : FROM ${BASE} AS builder 14:17:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:17:21 9fda8d8052c6: Pulling fs layer 14:17:21 5d54e960e981: Pulling fs layer 14:17:21 c4a7e357bf2a: Pulling fs layer 14:17:21 f0e02332f6b5: Pulling fs layer 14:17:21 872ee5b61b7b: Pulling fs layer 14:17:21 0c6a40ed1a82: Pulling fs layer 14:17:21 94ae7d8d031c: Pulling fs layer 14:17:21 f0e02332f6b5: Waiting 14:17:21 872ee5b61b7b: Waiting 14:17:21 94ae7d8d031c: Waiting 14:17:21 0c6a40ed1a82: Waiting 14:17:21 5d54e960e981: Verifying Checksum 14:17:21 5d54e960e981: Download complete 14:17:21 f0e02332f6b5: Download complete 14:17:21 872ee5b61b7b: Download complete 14:17:21 9fda8d8052c6: Verifying Checksum 14:17:21 9fda8d8052c6: Download complete 14:17:22 94ae7d8d031c: Verifying Checksum 14:17:22 94ae7d8d031c: Download complete 14:17:22 9fda8d8052c6: Pull complete 14:17:23 5d54e960e981: Pull complete 14:17:23 c4a7e357bf2a: Verifying Checksum 14:17:23 c4a7e357bf2a: Download complete 14:17:24 0c6a40ed1a82: Verifying Checksum 14:17:24 0c6a40ed1a82: Download complete 14:17:36 c4a7e357bf2a: Pull complete 14:17:37 f0e02332f6b5: Pull complete 14:17:37 872ee5b61b7b: Pull complete 14:17:47 0c6a40ed1a82: Pull complete 14:17:48 94ae7d8d031c: Pull complete 14:17:48 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 14:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:17:48 ---> 86de565de09d 14:17:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:17:49 ---> Running in 0bb704e98dc0 14:17:49 Removing intermediate container 0bb704e98dc0 14:17:49 ---> 51c42a3a70a6 14:17:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:17:49 ---> Running in 75638fa9ff24 14:17:50 Removing intermediate container 75638fa9ff24 14:17:50 ---> 07df8038ef1b 14:17:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:17:50 ---> Running in 99cd007d8e06 14:17:50 Removing intermediate container 99cd007d8e06 14:17:50 ---> 09fd93e839ec 14:17:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:17:50 ---> Running in 4e9c3cbc1487 14:17:50 Removing intermediate container 4e9c3cbc1487 14:17:50 ---> 9fd37ae51bb6 14:17:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:17:50 ---> Running in e8aef09e0718 14:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:17:53 (1/4) Installing openssh-keygen (9.3_p2-r1) 14:17:53 (2/4) Installing libedit (20221030.3.1-r1) 14:17:53 (3/4) Installing openssh-client-common (9.3_p2-r1) 14:17:53 (4/4) Installing openssh-client-default (9.3_p2-r1) 14:17:53 Executing busybox-1.36.1-r5.trigger 14:17:53 OK: 271 MiB in 56 packages 14:17:55 Removing intermediate container e8aef09e0718 14:17:55 ---> 2355ccfa3a23 14:17:55 Step 8/12 : WORKDIR /device-rest-go 14:17:55 ---> Running in 7bd7579fb38e 14:17:55 Removing intermediate container 7bd7579fb38e 14:17:55 ---> 7c9fba8de6af 14:17:55 Step 9/12 : COPY go.mod vendor* ./ 14:17:56 ---> 218abd6da667 14:17:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:17:56 ---> Running in 71df16d9084c 14:19:04 Removing intermediate container 71df16d9084c 14:19:04 ---> 1e7d9b959858 14:19:04 Step 11/12 : COPY . . 14:19:04 ---> 80375974a774 14:19:04 Step 12/12 : RUN $MAKE 14:19:04 ---> Running in 84a132fa5a74 14:19:04 noop 14:19:04 Removing intermediate container 84a132fa5a74 14:19:04 ---> e284ecc0e162 14:19:04 Successfully built e284ecc0e162 14:19:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:19:04 + docker inspect -f . ci-base-image-arm64 14:19:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:19:05 prd-ubuntu20.04-docker-arm64-4c-16g-5332 does not seem to be running inside a container 14:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/162 -v /w/workspace/device-rest-go/162:/w/workspace/device-rest-go/162:rw,z -v /w/workspace/device-rest-go/162@tmp:/w/workspace/device-rest-go/162@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 14:19:06 $ docker top ec60de063d0f1fb1808a1895c1f07dd96070482dd40d4635885e71babf8a879f -eo pid,comm [Pipeline] { [Pipeline] sh 14:19:07 + go version 14:19:07 go version go1.21.0 linux/arm64 [Pipeline] } 14:19:07 $ docker stop --time=1 ec60de063d0f1fb1808a1895c1f07dd96070482dd40d4635885e71babf8a879f 14:19:09 $ docker rm -f --volumes ec60de063d0f1fb1808a1895c1f07dd96070482dd40d4635885e71babf8a879f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:19:10 + docker inspect -f . ci-base-image-arm64 14:19:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:19:10 prd-ubuntu20.04-docker-arm64-4c-16g-5332 does not seem to be running inside a container 14:19:10 $ 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/162 -v /w/workspace/device-rest-go/162:/w/workspace/device-rest-go/162:rw,z -v /w/workspace/device-rest-go/162@tmp:/w/workspace/device-rest-go/162@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 14:19:11 $ docker top ec0bb9b9127ed13737ebf2d7af85c430e51f7a9110ef997e5589f1c01e62ee37 -eo pid,comm [Pipeline] { [Pipeline] sh 14:19:12 + git config --global --add safe.directory /w/workspace/device-rest-go/162 [Pipeline] fileExists [Pipeline] sh 14:19:13 + make test 14:19:13 go test ./... -coverprofile=coverage.out ./... 14:19:16 ? github.com/edgexfoundry/device-rest-go [no test files] 14:21:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:21:08 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.2% of statements 14:21:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:21:08 go vet ./... 14:21:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:21:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:21:30 ./bin/test-attribution-txt.sh 14:21:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 14:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:21:30 $ docker stop --time=1 ec0bb9b9127ed13737ebf2d7af85c430e51f7a9110ef997e5589f1c01e62ee37 14:21:32 $ docker rm -f --volumes ec0bb9b9127ed13737ebf2d7af85c430e51f7a9110ef997e5589f1c01e62ee37 [Pipeline] // withDockerContainer [Pipeline] sh 14:21:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:21:34 Warning: overwriting stash ‘coverage-report’ 14:21:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:21:35 + ls -al . 14:21:35 total 176 14:21:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 14:19 . 14:21:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 14:16 .. 14:21:35 -rw-rw-r-- 1 jenkins jenkins 151 Mar 9 14:16 .dockerignore 14:21:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 14:16 .git 14:21:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:16 .github 14:21:35 -rw-rw-r-- 1 jenkins jenkins 264 Mar 9 14:16 .gitignore 14:21:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 14:16 .golangci.yml 14:21:35 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 9 14:16 Attribution.txt 14:21:35 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 9 14:16 CHANGELOG.md 14:21:35 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 9 14:16 Dockerfile 14:21:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 14:16 GOVERNANCE.md 14:21:35 -rw-rw-r-- 1 jenkins jenkins 680 Mar 9 14:16 Jenkinsfile 14:21:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 14:16 LICENSE 14:21:35 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 9 14:16 Makefile 14:21:35 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 14:16 OWNERS.md 14:21:35 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 9 14:16 README.md 14:21:35 -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 14:13 VERSION 14:21:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 14:16 bin 14:21:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:16 cmd 14:21:35 -rw-r--r-- 1 jenkins jenkins 14499 Mar 9 14:21 coverage.out 14:21:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 14:16 driver 14:21:35 -rw-rw-r-- 1 jenkins jenkins 3936 Mar 9 14:16 go.mod 14:21:35 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 9 14:16 go.sum 14:21:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 14:16 openapi 14:21:35 -rw-rw-r-- 1 jenkins jenkins 713 Mar 9 14:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:36 + 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=b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc --label arch=arm64 --label version=3.2.0-dev.10 . 14:21:36 Sending build context to Docker daemon 142.8kB 14:21:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 14:21:36 Step 2/26 : FROM ${BASE} AS builder 14:21:36 ---> e284ecc0e162 14:21:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 14:21:36 ---> Running in 83907a304062 14:21:36 Removing intermediate container 83907a304062 14:21:36 ---> df857105f618 14:21:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:21:36 ---> Running in 702da3a67dc4 14:21:37 Removing intermediate container 702da3a67dc4 14:21:37 ---> 5d3e0ff1e5eb 14:21:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:21:37 ---> Running in ed65793af2f3 14:21:37 Removing intermediate container ed65793af2f3 14:21:37 ---> 2dec37ad0e06 14:21:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 14:21:37 ---> Running in a477498b6ead 14:21:38 Removing intermediate container a477498b6ead 14:21:38 ---> ebea6b8285b0 14:21:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:21:38 ---> Running in 68a6abcb8758 14:21:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:21:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:21:40 OK: 271 MiB in 56 packages 14:21:42 Removing intermediate container 68a6abcb8758 14:21:42 ---> 13810d3dbe66 14:21:42 Step 8/26 : WORKDIR /device-rest-go 14:21:42 ---> Running in d3947f2fd8a6 14:21:42 Removing intermediate container d3947f2fd8a6 14:21:42 ---> f74711475a70 14:21:42 Step 9/26 : COPY go.mod vendor* ./ 14:21:42 ---> 71cdb4146a58 14:21:42 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:21:43 ---> Running in 84e4eab80223 14:21:44 Removing intermediate container 84e4eab80223 14:21:44 ---> 629cdfb6a60e 14:21:44 Step 11/26 : COPY . . 14:21:45 ---> 9e510aab8e7d 14:21:45 Step 12/26 : RUN $MAKE 14:21:45 ---> Running in 41b1918bc1ff 14:21:46 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:23:54 Removing intermediate container 41b1918bc1ff 14:23:54 ---> 38e25d37c411 14:23:54 Step 13/26 : FROM alpine:3.18 14:23:54 3.18: Pulling from library/alpine 14:23:54 c6b39de5b339: Pulling fs layer 14:23:54 c6b39de5b339: Download complete 14:23:54 c6b39de5b339: Pull complete 14:23:54 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 14:23:54 Status: Downloaded newer image for alpine:3.18 14:23:54 ---> 33abbf032149 14:23:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:23:54 ---> Running in 87306aa39438 14:23:54 Removing intermediate container 87306aa39438 14:23:54 ---> acbceff6fe3a 14:23:54 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 14:23:54 ---> Running in f22f43cb67d3 14:23:54 Removing intermediate container f22f43cb67d3 14:23:54 ---> 2f0ecf7d6554 14:23:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 14:23:54 ---> Running in 0721151f0737 14:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:23:54 (1/1) Installing dumb-init (1.2.5-r2) 14:23:54 Executing busybox-1.36.1-r5.trigger 14:23:54 OK: 8 MiB in 16 packages 14:23:54 Removing intermediate container 0721151f0737 14:23:54 ---> 9d6e43d0ed9c 14:23:54 Step 17/26 : RUN apk --no-cache upgrade 14:23:54 ---> Running in b3b3197a4349 14:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:23:54 OK: 8 MiB in 16 packages 14:23:55 Removing intermediate container b3b3197a4349 14:23:55 ---> d8e1a3f3726a 14:23:55 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 14:23:57 ---> 87b3892d4edb 14:23:57 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 14:23:57 ---> 21c790782ebf 14:23:57 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 14:23:58 ---> c7f20c22e4f7 14:23:58 Step 21/26 : EXPOSE 59986 14:23:58 ---> Running in 0ec109be140c 14:23:58 Removing intermediate container 0ec109be140c 14:23:58 ---> 3759e0511170 14:23:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 14:23:58 ---> Running in c615293d6564 14:23:59 Removing intermediate container c615293d6564 14:23:59 ---> abb9cc073813 14:23:59 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:23:59 ---> Running in 67d4ded04d23 14:23:59 Removing intermediate container 67d4ded04d23 14:23:59 ---> d62a28f0dfd9 14:23:59 Step 24/26 : LABEL arch=arm64 14:23:59 ---> Running in 0f60c625aef6 14:23:59 Removing intermediate container 0f60c625aef6 14:23:59 ---> 013d30d0eefb 14:23:59 Step 25/26 : LABEL git_sha=b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:23:59 ---> Running in 8bf5d7ca28f8 14:24:00 Removing intermediate container 8bf5d7ca28f8 14:24:00 ---> ee11909bd005 14:24:00 Step 26/26 : LABEL version=3.2.0-dev.10 14:24:00 ---> Running in 41903ad75b4b 14:24:00 Removing intermediate container 41903ad75b4b 14:24:00 ---> dd4bcccedede 14:24:00 [Warning] One or more build-args [ARCH] were not consumed 14:24:00 Successfully built dd4bcccedede 14:24:00 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:24:01 provisioning config files... 14:24:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/162@tmp/config7134047070986335588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:24:01 ---> ****-login.sh 14:24:01 nexus3.edgexfoundry.org:10001 14:24:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:01 Configure a credential helper to remove this warning. See 14:24:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:01 14:24:01 Login Succeeded 14:24:01 nexus3.edgexfoundry.org:10002 14:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:02 Configure a credential helper to remove this warning. See 14:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:02 14:24:02 Login Succeeded 14:24:02 nexus3.edgexfoundry.org:10003 14:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:02 Configure a credential helper to remove this warning. See 14:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:02 14:24:02 Login Succeeded 14:24:02 nexus3.edgexfoundry.org:10004 14:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:02 Configure a credential helper to remove this warning. See 14:24:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:02 14:24:02 Login Succeeded 14:24:02 ****.io 14:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:03 Configure a credential helper to remove this warning. See 14:24:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:03 14:24:03 Login Succeeded 14:24:03 ---> ****-login.sh ends [Pipeline] } 14:24:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:24:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:24:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:24:03 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:24:03 latest 14:24:03 3.2.0-dev.10 14:24:03 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 14:24:03 main 14:24:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:24:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:24:04 723d29e08116: Preparing 14:24:04 97299ed85aeb: Preparing 14:24:04 f6067a35fbd4: Preparing 14:24:04 81b8f73d25af: Preparing 14:24:04 7b4e81fa49ac: Preparing 14:24:04 7c504f21be85: Preparing 14:24:04 7c504f21be85: Waiting 14:24:05 97299ed85aeb: Pushed 14:24:05 723d29e08116: Pushed 14:24:05 81b8f73d25af: Pushed 14:24:05 7b4e81fa49ac: Pushed 14:24:05 7c504f21be85: Layer already exists 14:24:09 f6067a35fbd4: Pushed 14:24:09 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc: digest: sha256:290d28b801013d7dd744eda92d345fc540ce69cb81ee0834a6082fd6d4eed6a9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:24:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:24:10 723d29e08116: Preparing 14:24:10 97299ed85aeb: Preparing 14:24:10 f6067a35fbd4: Preparing 14:24:10 81b8f73d25af: Preparing 14:24:10 7b4e81fa49ac: Preparing 14:24:10 7c504f21be85: Preparing 14:24:10 7c504f21be85: Waiting 14:24:10 f6067a35fbd4: Layer already exists 14:24:10 97299ed85aeb: Layer already exists 14:24:10 723d29e08116: Layer already exists 14:24:10 81b8f73d25af: Layer already exists 14:24:10 7b4e81fa49ac: Layer already exists 14:24:10 7c504f21be85: Layer already exists 14:24:10 latest: digest: sha256:290d28b801013d7dd744eda92d345fc540ce69cb81ee0834a6082fd6d4eed6a9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.10 14:24:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:24:11 723d29e08116: Preparing 14:24:11 97299ed85aeb: Preparing 14:24:11 f6067a35fbd4: Preparing 14:24:11 81b8f73d25af: Preparing 14:24:11 7b4e81fa49ac: Preparing 14:24:11 7c504f21be85: Preparing 14:24:11 7c504f21be85: Waiting 14:24:11 7b4e81fa49ac: Layer already exists 14:24:11 97299ed85aeb: Layer already exists 14:24:11 723d29e08116: Layer already exists 14:24:11 f6067a35fbd4: Layer already exists 14:24:11 81b8f73d25af: Layer already exists 14:24:11 7c504f21be85: Layer already exists 14:24:11 3.2.0-dev.10: digest: sha256:290d28b801013d7dd744eda92d345fc540ce69cb81ee0834a6082fd6d4eed6a9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 14:24:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:24:12 723d29e08116: Preparing 14:24:12 97299ed85aeb: Preparing 14:24:12 f6067a35fbd4: Preparing 14:24:12 81b8f73d25af: Preparing 14:24:12 7b4e81fa49ac: Preparing 14:24:12 7c504f21be85: Preparing 14:24:12 7c504f21be85: Waiting 14:24:12 723d29e08116: Layer already exists 14:24:12 7b4e81fa49ac: Layer already exists 14:24:12 97299ed85aeb: Layer already exists 14:24:12 81b8f73d25af: Layer already exists 14:24:12 f6067a35fbd4: Layer already exists 14:24:12 7c504f21be85: Layer already exists 14:24:12 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10: digest: sha256:290d28b801013d7dd744eda92d345fc540ce69cb81ee0834a6082fd6d4eed6a9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:24:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:24:13 723d29e08116: Preparing 14:24:13 97299ed85aeb: Preparing 14:24:13 f6067a35fbd4: Preparing 14:24:13 81b8f73d25af: Preparing 14:24:13 7b4e81fa49ac: Preparing 14:24:13 7c504f21be85: Preparing 14:24:13 7c504f21be85: Waiting 14:24:13 81b8f73d25af: Layer already exists 14:24:13 7b4e81fa49ac: Layer already exists 14:24:13 97299ed85aeb: Layer already exists 14:24:13 723d29e08116: Layer already exists 14:24:13 f6067a35fbd4: Layer already exists 14:24:13 7c504f21be85: Layer already exists 14:24:14 main: digest: sha256:290d28b801013d7dd744eda92d345fc540ce69cb81ee0834a6082fd6d4eed6a9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:24:14 ===================================================== [Pipeline] echo 14:24:14 taggedImages: 14:24:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc 14:24:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:24:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.10 14:24:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc-3.2.0-dev.10 14:24:14 - 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 14:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:24:15 14:24:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:24:15 arm64: Pulling from edgex-lftools-log-publisher 14:24:15 8998bd30e6a1: Pulling fs layer 14:24:15 04944245beec: Pulling fs layer 14:24:15 699f458cf7ca: Pulling fs layer 14:24:15 765212b225bb: Pulling fs layer 14:24:15 f23df028b6ca: Pulling fs layer 14:24:15 d65c8cfc05b1: Pulling fs layer 14:24:15 2437ff75d9bd: Pulling fs layer 14:24:15 d65c8cfc05b1: Waiting 14:24:15 765212b225bb: Waiting 14:24:15 f23df028b6ca: Waiting 14:24:15 2437ff75d9bd: Waiting 14:24:15 04944245beec: Verifying Checksum 14:24:15 04944245beec: Download complete 14:24:15 765212b225bb: Verifying Checksum 14:24:15 765212b225bb: Download complete 14:24:15 f23df028b6ca: Download complete 14:24:15 d65c8cfc05b1: Verifying Checksum 14:24:15 d65c8cfc05b1: Download complete 14:24:16 699f458cf7ca: Verifying Checksum 14:24:16 699f458cf7ca: Download complete 14:24:16 8998bd30e6a1: Verifying Checksum 14:24:16 8998bd30e6a1: Download complete 14:24:19 2437ff75d9bd: Verifying Checksum 14:24:19 2437ff75d9bd: Download complete 14:24:21 8998bd30e6a1: Pull complete 14:24:21 04944245beec: Pull complete 14:24:23 699f458cf7ca: Pull complete 14:24:23 765212b225bb: Pull complete 14:24:24 f23df028b6ca: Pull complete 14:24:24 d65c8cfc05b1: Pull complete 14:24:43 2437ff75d9bd: Pull complete 14:24:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:24:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:43 prd-ubuntu20.04-docker-arm64-4c-16g-5332 does not seem to be running inside a container 14:24:43 $ 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/162 -v /w/workspace/device-rest-go/162:/w/workspace/device-rest-go/162:rw,z -v /w/workspace/device-rest-go/162@tmp:/w/workspace/device-rest-go/162@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 14:24:46 $ docker top 0edad6fb1629c586c988cee7e13d3d431c8d4da08983c99eeef0dedb35ac0bb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:24:47 ---> job-cost.sh 14:24:47 lf-activate-venv: SKIPPING 14:24:47 INFO: No Stack... 14:24:47 INFO: Retrieving Pricing Info for: v3-standard-4 14:24:48 INFO: Archiving Costs [Pipeline] sh 14:24:49 + cat /w/workspace/device-rest-go/162/archives/cost.csv 14:24:49 + cut -d, -f6 [Pipeline] lock 14:24:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] 14:24:49 Resource [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] did not exist. Created. 14:24:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:24:50 /w/workspace/device-rest-go/162@tmp/durable-61957df0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:24:50 + echo total: 0.10999999940395355 [Pipeline] stash 14:24:50 Warning: overwriting stash ‘stack-cost’ 14:24:50 Stashed 1 file(s) [Pipeline] } 14:24:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 14:24:51 $ docker stop --time=1 0edad6fb1629c586c988cee7e13d3d431c8d4da08983c99eeef0dedb35ac0bb3 14:24:52 $ docker rm -f --volumes 0edad6fb1629c586c988cee7e13d3d431c8d4da08983c99eeef0dedb35ac0bb3 [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 14:24:53 provisioning config files... 14:24:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config812511642039434796tmp [Pipeline] { [Pipeline] sh 14:24:54 + set +x 14:24:54 + curl -s https://codecov.io/bash 14:24:54 + bash -s -- 14:24:54 14:24:54 _____ _ 14:24:54 / ____| | | 14:24:54 | | ___ __| | ___ ___ _____ __ 14:24:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:24:54 | |___| (_) | (_| | __/ (_| (_) \ V / 14:24:54 \_____\___/ \__,_|\___|\___\___/ \_/ 14:24:54 Bash-1.0.6 14:24:54 14:24:54 14:24:54 ==> git version 2.25.1 found 14:24:54 ==> 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 14:24:54 Release-Date: 2020-01-08 14:24:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:24:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:24:54 ==> Jenkins CI detected. 14:24:54 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:24:54 project root: . 14:24:54 --> token set from env 14:24:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:24:54 ==> Running gcov in . (disable via -X gcov) 14:24:54 ==> Python coveragepy not found 14:24:54 ==> Searching for coverage reports in: 14:24:54 + . 14:24:54 -> Found 1 reports 14:24:54 ==> Detecting git/mercurial file structure 14:24:54 ==> Reading reports 14:24:54 + ./coverage.out bytes=14499 14:24:54 ==> Appending adjustments 14:24:54 https://docs.codecov.io/docs/fixing-reports 14:24:54 + Found adjustments 14:24:54 ==> Gzipping contents 14:24:54 4.0K /tmp/codecov.e7iTZf.gz 14:24:54 ==> Uploading reports 14:24:54 url: https://codecov.io 14:24:54 query: branch=main&commit=b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:24:54 -> Pinging Codecov 14:24:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:24:54 -> Uploading to 14:24:54 https://storage.googleapis.com/codecov/v4/raw/2024-03-09/4E5D53B4F1F92C436F7061BF334D961C/b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc/e53eed34-413d-4493-b19c-c60e0f724dde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240309T142454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de77a03a600d58f82100ed0eeee6dcd435aca5620bcf9780f7dd11b007811db4 14:24:54 % Total % Received % Xferd Average Speed Time Time Time Current 14:24:54 Dload Upload Total Spent Left Speed 14:24:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8692 --:--:-- --:--:-- --:--:-- 8692 14:24:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] } 14:24:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:24:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:24:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:24:55 14:24:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:24:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:24:56 df9b9388f04a: Pulling fs layer 14:24:56 52dc419b0ee2: Pulling fs layer 14:24:56 25bc292e5bac: Pulling fs layer 14:24:56 114826534d7a: Pulling fs layer 14:24:56 4657fd5d0bcf: Pulling fs layer 14:24:56 6ad1cebc031e: Pulling fs layer 14:24:56 8a3aa393b2d8: Pulling fs layer 14:24:56 4657fd5d0bcf: Waiting 14:24:56 8a3aa393b2d8: Waiting 14:24:56 114826534d7a: Waiting 14:24:56 6ad1cebc031e: Waiting 14:24:56 25bc292e5bac: Download complete 14:24:56 52dc419b0ee2: Verifying Checksum 14:24:56 52dc419b0ee2: Download complete 14:24:56 4657fd5d0bcf: Verifying Checksum 14:24:56 4657fd5d0bcf: Download complete 14:24:56 df9b9388f04a: Download complete 14:24:56 6ad1cebc031e: Verifying Checksum 14:24:56 6ad1cebc031e: Download complete 14:24:56 df9b9388f04a: Pull complete 14:24:56 52dc419b0ee2: Pull complete 14:24:56 25bc292e5bac: Pull complete 14:24:57 114826534d7a: Verifying Checksum 14:24:57 114826534d7a: Download complete 14:24:57 8a3aa393b2d8: Verifying Checksum 14:24:57 8a3aa393b2d8: Download complete 14:25:00 114826534d7a: Pull complete 14:25:00 4657fd5d0bcf: Pull complete 14:25:00 6ad1cebc031e: Pull complete 14:25:03 8a3aa393b2d8: Pull complete 14:25:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:25:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:25:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:03 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:25:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:25:07 $ docker top d747083b8428f1d349ab6fe8b3e842f6ccea2b3ef7fa255b593d65d370da9db1 -eo pid,comm [Pipeline] { [Pipeline] echo 14:25:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 14:25:08 + set -o pipefail 14:25:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 14:25:15 14:25:15 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:25:15 14:25:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/c1669cd9-6e48-477e-94fc-8308814ecd22 14:25:15 14:25:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:25:15 14:25:15 14:25:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:25:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:25:15 More details here: https://snyk.co/ue1NS [Pipeline] } 14:25:15 $ docker stop --time=1 d747083b8428f1d349ab6fe8b3e842f6ccea2b3ef7fa255b593d65d370da9db1 14:25:18 $ docker rm -f --volumes d747083b8428f1d349ab6fe8b3e842f6ccea2b3ef7fa255b593d65d370da9db1 [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 14:25:20 + git log --format=format:%s -1 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc [Pipeline] sh 14:25:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:25:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:25:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:20 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:25:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:25:21 $ docker top 885c92a33d68541b89d8c6049779a189a0282e192f42783b9cff8005f8c06e30 -eo pid,comm 14:25:21 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). 14:25:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:25:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:21 [ssh-agent] Looking for ssh-agent implementation... 14:25:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:21 $ docker exec 885c92a33d68541b89d8c6049779a189a0282e192f42783b9cff8005f8c06e30 ssh-agent 14:25:22 SSH_AUTH_SOCK=/tmp/ssh-wr2BGp3Nohrq/agent.32 14:25:22 SSH_AGENT_PID=38 14:25:22 Running ssh-add (command line suppressed) 14:25:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7505877188083745990.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7505877188083745990.key) 14:25:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:22 + git semver tag 14:25:22 2024-03-09 14:25:22,646 [run_tag] DEBUG tag force:False 14:25:22 2024-03-09 14:25:22,646 [check_head_tag] DEBUG check head tag 14:25:22 2024-03-09 14:25:22,647 [execute] INFO git cat-file --batch-check 14:25:22 2024-03-09 14:25:22,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:25:22 2024-03-09 14:25:22,650 [execute] INFO git cat-file --batch 14:25:22 2024-03-09 14:25:22,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:25:22 2024-03-09 14:25:22,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:25:22 2024-03-09 14:25:22,668 [execute] INFO git tag -a v3.2.0-dev.10 -m v3.2.0-dev.10 14:25:22 2024-03-09 14:25:22,669 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.10', '-m', 'v3.2.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 14:25:22 2024-03-09 14:25:22,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:25:22 3.2.0-dev.10 [Pipeline] } 14:25:22 $ docker exec --env ******** --env ******** 885c92a33d68541b89d8c6049779a189a0282e192f42783b9cff8005f8c06e30 ssh-agent -k 14:25:22 unset SSH_AUTH_SOCK; 14:25:22 unset SSH_AGENT_PID; 14:25:22 echo Agent pid 38 killed; 14:25:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:25:23 + git semver [Pipeline] } 14:25:23 $ docker stop --time=1 885c92a33d68541b89d8c6049779a189a0282e192f42783b9cff8005f8c06e30 14:25:24 $ docker rm -f --volumes 885c92a33d68541b89d8c6049779a189a0282e192f42783b9cff8005f8c06e30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:25:25 14:25:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:25:25 0.23.1-centos7: Pulling from edgex-lftools 14:25:25 ab5ef0e58194: Pulling fs layer 14:25:25 9712f1f96733: Pulling fs layer 14:25:25 63f879dbbcfc: Pulling fs layer 14:25:25 0d9ebad4ef96: Pulling fs layer 14:25:25 e9a5061849ea: Pulling fs layer 14:25:25 d747dcd14b5f: Pulling fs layer 14:25:25 2de7ff778b66: Pulling fs layer 14:25:25 0d9ebad4ef96: Waiting 14:25:25 e9a5061849ea: Waiting 14:25:25 d747dcd14b5f: Waiting 14:25:25 2de7ff778b66: Waiting 14:25:25 9712f1f96733: Verifying Checksum 14:25:25 9712f1f96733: Download complete 14:25:26 63f879dbbcfc: Verifying Checksum 14:25:26 63f879dbbcfc: Download complete 14:25:26 e9a5061849ea: Verifying Checksum 14:25:26 e9a5061849ea: Download complete 14:25:26 d747dcd14b5f: Download complete 14:25:26 ab5ef0e58194: Verifying Checksum 14:25:26 ab5ef0e58194: Download complete 14:25:26 0d9ebad4ef96: Verifying Checksum 14:25:26 0d9ebad4ef96: Download complete 14:25:26 2de7ff778b66: Verifying Checksum 14:25:26 2de7ff778b66: Download complete 14:25:28 ab5ef0e58194: Pull complete 14:25:28 9712f1f96733: Pull complete 14:25:29 63f879dbbcfc: Pull complete 14:25:32 0d9ebad4ef96: Pull complete 14:25:33 e9a5061849ea: Pull complete 14:25:33 d747dcd14b5f: Pull complete 14:25:34 2de7ff778b66: Pull complete 14:25:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:25:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:34 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:25:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:25:39 $ docker top 0a4788d544b4602d2df1e09fc02e394fd523dc2db07f44615175449455d248a6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:25:40 provisioning config files... 14:25:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10795761862767291509tmp 14:25:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7040367625721855656tmp 14:25:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18303314665687234672tmp [Pipeline] { [Pipeline] echo 14:25:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:25:40 ---> sigul-configuration.sh 14:25:40 gpg: directory `/root/.gnupg' created 14:25:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:25:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:25:40 gpg: keyring `/root/.gnupg/secring.gpg' created 14:25:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:25:40 gpg: CAST5 encrypted data 14:25:40 gpg: encrypted with 1 passphrase 14:25:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:25:40 + mkdir /home/jenkins 14:25:40 + mkdir /home/jenkins/sigul [Pipeline] sh 14:25:41 + 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 14:25:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:25:41 ---> sigul-install.sh 14:25:41 Sigul already installed; skipping installation. [Pipeline] sh 14:25:41 + git tag --list 14:25:41 v1.0.0 14:25:41 v1.1.0 14:25:41 v1.1.1 14:25:41 v1.1.2 14:25:41 v1.2.0 14:25:41 v1.2.1 14:25:41 v2.0.0 14:25:41 v2.1.0 14:25:41 v2.1.1 14:25:41 v2.2.0 14:25:41 v2.3.0 14:25:41 v3.0 14:25:41 v3.0.0 14:25:41 v3.1 14:25:41 v3.1.0 14:25:41 v3.1.0-dev.1 14:25:41 v3.1.0-dev.10 14:25:41 v3.1.0-dev.11 14:25:41 v3.1.0-dev.12 14:25:41 v3.1.0-dev.13 14:25:41 v3.1.0-dev.14 14:25:41 v3.1.0-dev.15 14:25:41 v3.1.0-dev.16 14:25:41 v3.1.0-dev.17 14:25:41 v3.1.0-dev.18 14:25:41 v3.1.0-dev.19 14:25:41 v3.1.0-dev.2 14:25:41 v3.1.0-dev.20 14:25:41 v3.1.0-dev.21 14:25:41 v3.1.0-dev.22 14:25:41 v3.1.0-dev.23 14:25:41 v3.1.0-dev.24 14:25:41 v3.1.0-dev.25 14:25:41 v3.1.0-dev.26 14:25:41 v3.1.0-dev.27 14:25:41 v3.1.0-dev.28 14:25:41 v3.1.0-dev.29 14:25:41 v3.1.0-dev.3 14:25:41 v3.1.0-dev.30 14:25:41 v3.1.0-dev.31 14:25:41 v3.1.0-dev.32 14:25:41 v3.1.0-dev.4 14:25:41 v3.1.0-dev.5 14:25:41 v3.1.0-dev.6 14:25:41 v3.1.0-dev.7 14:25:41 v3.1.0-dev.8 14:25:41 v3.1.0-dev.9 14:25:41 v3.2.0-dev.1 14:25:41 v3.2.0-dev.10 14:25:41 v3.2.0-dev.2 14:25:41 v3.2.0-dev.3 14:25:41 v3.2.0-dev.4 14:25:41 v3.2.0-dev.5 14:25:41 v3.2.0-dev.6 14:25:41 v3.2.0-dev.7 14:25:41 v3.2.0-dev.8 14:25:41 v3.2.0-dev.9 [Pipeline] sh 14:25:42 + lftools sign git-tag v3.2.0-dev.10 14:25:42 Signing Git tag with Sigul... 14:25:42 Signing v3.2.0-dev.10 [Pipeline] echo 14:25:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:25:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:25:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:25:52 $ docker stop --time=1 0a4788d544b4602d2df1e09fc02e394fd523dc2db07f44615175449455d248a6 14:25:53 $ docker rm -f --volumes 0a4788d544b4602d2df1e09fc02e394fd523dc2db07f44615175449455d248a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:25:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:25:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:25:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:54 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:25:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:25:55 $ docker top 09c90645594be6fb67e5d4937128f65dcafdcb78cf2bcc15cadfab428202bef6 -eo pid,comm 14:25:55 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). 14:25:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:25:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:55 [ssh-agent] Looking for ssh-agent implementation... 14:25:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:55 $ docker exec 09c90645594be6fb67e5d4937128f65dcafdcb78cf2bcc15cadfab428202bef6 ssh-agent 14:25:55 SSH_AUTH_SOCK=/tmp/ssh-5BNFdwyMQO44/agent.32 14:25:55 SSH_AGENT_PID=38 14:25:55 Running ssh-add (command line suppressed) 14:25:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16028468414666898135.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16028468414666898135.key) 14:25:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:56 + git semver bump pre 14:25:56 2024-03-09 14:25:56,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:25:56 2024-03-09 14:25:56,474 [bump_version] DEBUG bumping version:3.2.0-dev.10 on axis:pre with prefix:dev 14:25:56 2024-03-09 14:25:56,474 [bump_version] DEBUG bumped version:3.2.0-dev.11 14:25:56 2024-03-09 14:25:56,474 [write_version] DEBUG write version:3.2.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 14:25:56 2024-03-09 14:25:56,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:25:56 2024-03-09 14:25:56,474 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:25:56 2024-03-09 14:25:56,476 [execute] INFO git cat-file --batch-check 14:25:56 2024-03-09 14:25:56,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:25:56 2024-03-09 14:25:56,482 [execute] INFO git cat-file --batch 14:25:56 2024-03-09 14:25:56,483 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:25:56 2024-03-09 14:25:56,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:25:56 3.2.0-dev.11 [Pipeline] } 14:25:56 $ docker exec --env ******** --env ******** 09c90645594be6fb67e5d4937128f65dcafdcb78cf2bcc15cadfab428202bef6 ssh-agent -k 14:25:56 unset SSH_AUTH_SOCK; 14:25:56 unset SSH_AGENT_PID; 14:25:56 echo Agent pid 38 killed; 14:25:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:25:57 + git semver [Pipeline] } 14:25:57 $ docker stop --time=1 09c90645594be6fb67e5d4937128f65dcafdcb78cf2bcc15cadfab428202bef6 14:25:58 $ docker rm -f --volumes 09c90645594be6fb67e5d4937128f65dcafdcb78cf2bcc15cadfab428202bef6 [Pipeline] // withDockerContainer [Pipeline] sh 14:25:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:25:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:25:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:59 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:25:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:26:00 $ docker top 65c70f14dab0720bd0374e8afaac0e32cce2347f03c028c3a1a3f2d9714fc192 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:00 [ssh-agent] Looking for ssh-agent implementation... 14:26:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:00 $ docker exec 65c70f14dab0720bd0374e8afaac0e32cce2347f03c028c3a1a3f2d9714fc192 ssh-agent 14:26:00 SSH_AUTH_SOCK=/tmp/ssh-8Blxm0IG4c32/agent.32 14:26:00 SSH_AGENT_PID=38 14:26:00 Running ssh-add (command line suppressed) 14:26:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6380002151942913697.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6380002151942913697.key) 14:26:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:01 + git semver push 14:26:01 2024-03-09 14:26:01,591 [run_push] DEBUG push 14:26:01 2024-03-09 14:26:01,592 [execute] INFO git cat-file --batch-check 14:26:01 2024-03-09 14:26:01,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:26:01 2024-03-09 14:26:01,595 [execute] INFO git rev-list 2ab4f2e62dea41a124eb62ca37d50de86937c0b8 -- 14:26:01 2024-03-09 14:26:01,596 [execute] DEBUG Popen(['git', 'rev-list', '2ab4f2e62dea41a124eb62ca37d50de86937c0b8', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:26:01 2024-03-09 14:26:01,605 [execute] INFO git fetch -v origin 14:26:01 2024-03-09 14:26:01,605 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:26:02 2024-03-09 14:26:02,135 [run_push] DEBUG no remote changes detected 14:26:02 2024-03-09 14:26:02,136 [execute] INFO git push origin semver 14:26:02 2024-03-09 14:26:02,136 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:26:03 2024-03-09 14:26:02,927 [run_push] DEBUG push all version tags 14:26:03 2024-03-09 14:26:02,928 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:26:03 2024-03-09 14:26:02,928 [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) 14:26:03 2024-03-09 14:26:03,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:26:03 3.2.0-dev.11 [Pipeline] } 14:26:03 $ docker exec --env ******** --env ******** 65c70f14dab0720bd0374e8afaac0e32cce2347f03c028c3a1a3f2d9714fc192 ssh-agent -k 14:26:03 unset SSH_AUTH_SOCK; 14:26:03 unset SSH_AGENT_PID; 14:26:03 echo Agent pid 38 killed; 14:26:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:04 + git semver [Pipeline] } 14:26:04 $ docker stop --time=1 65c70f14dab0720bd0374e8afaac0e32cce2347f03c028c3a1a3f2d9714fc192 14:26:05 $ docker rm -f --volumes 65c70f14dab0720bd0374e8afaac0e32cce2347f03c028c3a1a3f2d9714fc192 [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 14:26:07 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 14:26:07 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:26:07 total 16 14:26:07 drwxr-xr-x 3 root root 4096 Mar 9 14:15 . 14:26:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 14:25 .. 14:26:07 drwxr-xr-x 2 root root 4096 Mar 9 14:15 cost 14:26:07 -rw-r--r-- 1 root root 86 Mar 9 14:15 cost.csv 14:26:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 14:26:07 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:26:07 total 16 14:26:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 14:15 . 14:26:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 14:25 .. 14:26:07 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 14:15 cost 14:26:07 -rw-r--r-- 1 jenkins jenkins 86 Mar 9 14:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:26:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:26:08 ---> package-listing.sh 14:26:08 ++ facter osfamily 14:26:08 ++ tr '[:upper:]' '[:lower:]' 14:26:08 + OS_FAMILY=debian 14:26:08 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:26:08 + START_PACKAGES=/tmp/packages_start.txt 14:26:08 + END_PACKAGES=/tmp/packages_end.txt 14:26:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:26:08 + PACKAGES=/tmp/packages_start.txt 14:26:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:26:08 + PACKAGES=/tmp/packages_end.txt 14:26:08 + case "${OS_FAMILY}" in 14:26:08 + dpkg -l 14:26:08 + grep '^ii' 14:26:08 + '[' -f /tmp/packages_start.txt ']' 14:26:08 + '[' -f /tmp/packages_end.txt ']' 14:26:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:26:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:26:08 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:26:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:26:08 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 14:26:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:26:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:09 prd-ubuntu20.04-docker-8c-8g-5329 does not seem to be running inside a container 14:26:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:26:10 $ docker top 37448fcff2d071c70206b58c9c13f1ff89573ab2c57430c919ea6be688a74fdd -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:10 + touch /tmp/pre-build-complete [Pipeline] sh 14:26:10 + mkdir -p /var/log/sysstat [Pipeline] sh 14:26:11 + ls /var/log/sa-host 14:26:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:11 provisioning config files... 14:26:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4880424056697257676tmp [Pipeline] { [Pipeline] echo 14:26:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:26:11 ---> create-netrc.sh [Pipeline] } 14:26:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:26:12 ---> python-tools-install.sh [Pipeline] echo 14:26:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:26:12 ---> sudo-logs.sh 14:26:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:26:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:26:13 ---> job-cost.sh 14:26:13 lf-activate-venv: SKIPPING 14:26:13 DEBUG: total: 0.2199999988079071 14:26:13 INFO: Retrieving Stack Cost... 14:26:13 INFO: Retrieving Pricing Info for: v3-standard-8 14:26:13 INFO: Archiving Costs [Pipeline] echo 14:26:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:26:14 ---> logs-deploy.sh 14:26:14 lf-activate-venv: SKIPPING 14:26:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/162 14:26:14 INFO: archiving workspace using pattern(s): 14:26:15 Archives upload complete. 14:26:15 INFO: archiving logs to Nexus