Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 402bee10dda5ca46600812a85f59fdfe6bf70583 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-ssh16686761228975108698.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-ssh12133818291639925224.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-ssh17280814161250615134.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-ssh13232800363249037265.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-ssh16978810758147299963.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-1129’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1130’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1284’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1286’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1282’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1288 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 402bee10dda5ca46600812a85f59fdfe6bf70583 (main) Commit message: "Merge pull request #381 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" > git config core.sparsecheckout # timeout=10 > git checkout -f 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 > git rev-list --no-walk 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:48:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:48:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:48:09 ========================================================= 00:48:09 EdgeX Global Pipelines Version Info 00:48:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:48:10 ------------------- 00:48:10 stable info: 00:48:10 ------------------- 00:48:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:48:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:48:10 Message: update stable to v1.0.258 00:48:10 ------------------- 00:48:10 experimental info: 00:48:10 ------------------- 00:48:10 Commited By: **** collab-it+edgex@linuxfoundation.org 00:48:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:48:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 402bee1 [Pipeline] echo 00:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:48:11 provisioning config files... 00:48:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18039379430054957434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:12 ---> ****-login.sh 00:48:12 nexus3.edgexfoundry.org:10001 00:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:12 Configure a credential helper to remove this warning. See 00:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:12 00:48:12 Login Succeeded 00:48:12 nexus3.edgexfoundry.org:10002 00:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:12 Configure a credential helper to remove this warning. See 00:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:12 00:48:12 Login Succeeded 00:48:12 nexus3.edgexfoundry.org:10003 00:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:12 Configure a credential helper to remove this warning. See 00:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:12 00:48:12 Login Succeeded 00:48:12 nexus3.edgexfoundry.org:10004 00:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:12 Configure a credential helper to remove this warning. See 00:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:12 00:48:12 Login Succeeded 00:48:12 ****.io 00:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:13 Configure a credential helper to remove this warning. See 00:48:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:13 00:48:13 Login Succeeded 00:48:13 ---> ****-login.sh ends [Pipeline] } 00:48:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:48:13 + git rev-list -1 --merges 402bee10dda5ca46600812a85f59fdfe6bf70583~1..402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] echo 00:48:13 -----------> git rev-list -1 --merges 402bee10dda5ca46600812a85f59fdfe6bf70583~1..402bee10dda5ca46600812a85f59fdfe6bf70583 402bee10dda5ca46600812a85f59fdfe6bf70583 00:48:13 402bee10dda5ca46600812a85f59fdfe6bf70583 [false] [Pipeline] sh 00:48:14 + git log --format=format:%s -1 402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] echo 00:48:14 ========================================================= 00:48:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:48:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:14 + git log --format=format:%s -1 402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] echo 00:48:14 [semverPrep] GIT_COMMIT: 402bee10dda5ca46600812a85f59fdfe6bf70583, Commit Message: Merge pull request #381 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9 [Pipeline] echo 00:48:14 [semverPrep] This is not a build commit. [Pipeline] sh 00:48:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:48:14 + grep -v github /etc/ssh/ssh_known_hosts 00:48:14 + [ -e /tmp/ssh_known_hosts ] 00:48:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:48:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:48:14 + sudo tee -a /etc/ssh/ssh_known_hosts 00:48:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:48:15 00:48:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:48:15 0.1.4: Pulling from edgex-devops/py-git-semver 00:48:15 b85a868b505f: Pulling fs layer 00:48:15 e2be974225ed: Pulling fs layer 00:48:15 339a4e72a1f5: Pulling fs layer 00:48:15 988bab9f4d93: Pulling fs layer 00:48:15 1469e6f7b9e6: Pulling fs layer 00:48:15 988bab9f4d93: Waiting 00:48:15 eaf3925da568: Pulling fs layer 00:48:15 bab4dde63d76: Pulling fs layer 00:48:15 1469e6f7b9e6: Waiting 00:48:15 eaf3925da568: Waiting 00:48:15 bab4dde63d76: Waiting 00:48:15 bde34c3a00c8: Pulling fs layer 00:48:15 b352a97aabf1: Pulling fs layer 00:48:15 4872d77fe225: Pulling fs layer 00:48:15 5851b861e8e6: Pulling fs layer 00:48:15 4872d77fe225: Waiting 00:48:15 e2be974225ed: Download complete 00:48:15 988bab9f4d93: Verifying Checksum 00:48:15 988bab9f4d93: Download complete 00:48:15 1469e6f7b9e6: Verifying Checksum 00:48:15 1469e6f7b9e6: Download complete 00:48:15 eaf3925da568: Download complete 00:48:15 339a4e72a1f5: Verifying Checksum 00:48:15 339a4e72a1f5: Download complete 00:48:15 bde34c3a00c8: Verifying Checksum 00:48:15 bde34c3a00c8: Download complete 00:48:15 b352a97aabf1: Verifying Checksum 00:48:15 b352a97aabf1: Download complete 00:48:15 4872d77fe225: Download complete 00:48:15 5851b861e8e6: Verifying Checksum 00:48:15 5851b861e8e6: Download complete 00:48:15 b85a868b505f: Verifying Checksum 00:48:15 b85a868b505f: Download complete 00:48:16 bab4dde63d76: Verifying Checksum 00:48:16 bab4dde63d76: Download complete 00:48:17 b85a868b505f: Pull complete 00:48:17 e2be974225ed: Pull complete 00:48:17 339a4e72a1f5: Pull complete 00:48:17 988bab9f4d93: Pull complete 00:48:17 1469e6f7b9e6: Pull complete 00:48:18 eaf3925da568: Pull complete 00:48:20 bab4dde63d76: Pull complete 00:48:20 bde34c3a00c8: Pull complete 00:48:20 b352a97aabf1: Pull complete 00:48:20 4872d77fe225: Pull complete 00:48:20 5851b861e8e6: Pull complete 00:48:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:48:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:48:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:20 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 00:48: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:48:23 $ docker top 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d -eo pid,comm 00:48:23 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). 00:48:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:48:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:48:23 [ssh-agent] Looking for ssh-agent implementation... 00:48:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:48:23 $ docker exec 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d ssh-agent 00:48:24 SSH_AUTH_SOCK=/tmp/ssh-xrwcmGvserCy/agent.32 00:48:24 SSH_AGENT_PID=38 00:48:24 Running ssh-add (command line suppressed) 00:48:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15550996759371290040.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15550996759371290040.key) 00:48:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:48:24 + git tag --points-at HEAD [Pipeline] } 00:48:24 $ docker exec --env ******** --env ******** 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d ssh-agent -k 00:48:24 unset SSH_AUTH_SOCK; 00:48:24 unset SSH_AGENT_PID; 00:48:24 echo Agent pid 38 killed; 00:48:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:48:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:48:24 [ssh-agent] Looking for ssh-agent implementation... 00:48:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:48:24 $ docker exec 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d ssh-agent 00:48:24 SSH_AUTH_SOCK=/tmp/ssh-P1DJJ0dx3Cs4/agent.70 00:48:24 SSH_AGENT_PID=76 00:48:24 Running ssh-add (command line suppressed) 00:48:25 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15944352153956123567.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15944352153956123567.key) 00:48:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:48:25 + git semver init 00:48:25 2024-02-20 00:48:25,542 [run_init] DEBUG init version:0.0.0 force:False 00:48:25 2024-02-20 00:48:25,543 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 00:48:25 2024-02-20 00:48:25,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 00:48:25 2024-02-20 00:48:25,543 [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) 00:48:27 2024-02-20 00:48:26,918 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 00:48:27 2024-02-20 00:48:26,919 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 00:48:27 2024-02-20 00:48:26,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:48:27 2024-02-20 00:48:26,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:48:27 3.2.0-dev.9 [Pipeline] } 00:48:27 $ docker exec --env ******** --env ******** 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d ssh-agent -k 00:48:27 unset SSH_AUTH_SOCK; 00:48:27 unset SSH_AGENT_PID; 00:48:27 echo Agent pid 76 killed; 00:48:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:48:27 + git semver [Pipeline] } 00:48:27 $ docker stop --time=1 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d 00:48:29 $ docker rm -f --volumes 93f77b53b77893e1e0118b81f864ae40b9258ccd36617bc7831dbf4df8c6496d [Pipeline] // withDockerContainer [Pipeline] sh 00:48:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:48:29 Stashed 1 file(s) [Pipeline] echo 00:48:29 [edgeXSemver]: initialized semver on version 3.2.0-dev.9 [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 00:48:30 provisioning config files... 00:48:30 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10524937550977153905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:30 ---> ****-login.sh 00:48:30 nexus3.edgexfoundry.org:10001 00:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:30 Configure a credential helper to remove this warning. See 00:48:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:30 00:48:30 Login Succeeded 00:48:30 nexus3.edgexfoundry.org:10002 00:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:30 Configure a credential helper to remove this warning. See 00:48:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:30 00:48:30 Login Succeeded 00:48:30 nexus3.edgexfoundry.org:10003 00:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:30 Configure a credential helper to remove this warning. See 00:48:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:30 00:48:30 Login Succeeded 00:48:30 nexus3.edgexfoundry.org:10004 00:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:30 Configure a credential helper to remove this warning. See 00:48:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:30 00:48:30 Login Succeeded 00:48:30 ****.io 00:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:31 Configure a credential helper to remove this warning. See 00:48:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:31 00:48:31 Login Succeeded 00:48:31 ---> ****-login.sh ends [Pipeline] } 00:48:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:48:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:48:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:48:31 ========================================================= 00:48:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:48:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:31 + 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 . 00:48:31 Sending build context to Docker daemon 16.32MB 00:48:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:48:31 Step 2/12 : FROM ${BASE} AS builder 00:48:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:48:31 7264a8db6415: Pulling fs layer 00:48:31 c4d48a809fc2: Pulling fs layer 00:48:31 4f1c88b9dad5: Pulling fs layer 00:48:31 ad3a456e5733: Pulling fs layer 00:48:31 69c7f0334f64: Pulling fs layer 00:48:31 1f1c1a5573a3: Pulling fs layer 00:48:31 ce7588e14bc9: Pulling fs layer 00:48:31 b5e4710f87ac: Pulling fs layer 00:48:31 69c7f0334f64: Waiting 00:48:31 1f1c1a5573a3: Waiting 00:48:31 ad3a456e5733: Waiting 00:48:31 b5e4710f87ac: Waiting 00:48:31 c4d48a809fc2: Verifying Checksum 00:48:31 c4d48a809fc2: Download complete 00:48:31 ad3a456e5733: Download complete 00:48:31 69c7f0334f64: Verifying Checksum 00:48:31 69c7f0334f64: Download complete 00:48:31 7264a8db6415: Verifying Checksum 00:48:31 7264a8db6415: Download complete 00:48:31 1f1c1a5573a3: Verifying Checksum 00:48:31 1f1c1a5573a3: Download complete 00:48:32 7264a8db6415: Pull complete 00:48:32 b5e4710f87ac: Verifying Checksum 00:48:32 b5e4710f87ac: Download complete 00:48:32 c4d48a809fc2: Pull complete 00:48:32 4f1c88b9dad5: Verifying Checksum 00:48:32 4f1c88b9dad5: Download complete 00:48:32 ce7588e14bc9: Verifying Checksum 00:48:32 ce7588e14bc9: Download complete 00:48:35 4f1c88b9dad5: Pull complete 00:48:35 ad3a456e5733: Pull complete 00:48:35 69c7f0334f64: Pull complete 00:48:35 1f1c1a5573a3: Pull complete 00:48:38 ce7588e14bc9: Pull complete 00:48:38 b5e4710f87ac: Pull complete 00:48:38 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 00:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:48:38 ---> 88b5674ff536 00:48:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:48:42 ---> Running in b59b2b409f6c 00:48:42 Removing intermediate container b59b2b409f6c 00:48:42 ---> 7a7f4a2c8ea7 00:48:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:42 ---> Running in ff25fac7ed11 00:48:42 Removing intermediate container ff25fac7ed11 00:48:42 ---> 0fc364390718 00:48:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:48:42 ---> Running in f44640b0f778 00:48:43 Removing intermediate container f44640b0f778 00:48:43 ---> 1d7137ac25a1 00:48:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:48:43 ---> Running in 5d62c6c25c28 00:48:43 Removing intermediate container 5d62c6c25c28 00:48:43 ---> 2e2cb8a8d2e0 00:48:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:43 ---> Running in 504c180d8cb3 00:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:48:44 (1/4) Installing openssh-keygen (9.3_p2-r1) 00:48:44 (2/4) Installing libedit (20221030.3.1-r1) 00:48:44 (3/4) Installing openssh-client-common (9.3_p2-r1) 00:48:44 (4/4) Installing openssh-client-default (9.3_p2-r1) 00:48:44 Executing busybox-1.36.1-r5.trigger 00:48:44 OK: 268 MiB in 56 packages 00:48:44 Removing intermediate container 504c180d8cb3 00:48:44 ---> b42948c7c59e 00:48:44 Step 8/12 : WORKDIR /device-rest-go 00:48:44 ---> Running in bd1f74bcb786 00:48:44 Removing intermediate container bd1f74bcb786 00:48:44 ---> 356101d4de19 00:48:44 Step 9/12 : COPY go.mod vendor* ./ 00:48:44 ---> 4a97fe3f2349 00:48:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:44 ---> Running in 13f54e6eb1f2 00:48:45 Still waiting to schedule task 00:48:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:11 Removing intermediate container 13f54e6eb1f2 00:49:11 ---> d68b1acb5c24 00:49:11 Step 11/12 : COPY . . 00:49:11 ---> da036041517d 00:49:11 Step 12/12 : RUN $MAKE 00:49:11 ---> Running in b0b4450100e0 00:49:12 noop 00:49:12 Removing intermediate container b0b4450100e0 00:49:12 ---> 8c56f5eba9c6 00:49:12 Successfully built 8c56f5eba9c6 00:49:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:12 + docker inspect -f . ci-base-image-x86_64 00:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:12 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 00:49:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:13 $ docker top 5ee996c1b79686421f4e6f37e08abaaaf5dc7eaaa9ce4243f03b2528fdc255e2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:13 + go version 00:49:13 go version go1.21.0 linux/amd64 [Pipeline] } 00:49:13 $ docker stop --time=1 5ee996c1b79686421f4e6f37e08abaaaf5dc7eaaa9ce4243f03b2528fdc255e2 00:49:15 $ docker rm -f --volumes 5ee996c1b79686421f4e6f37e08abaaaf5dc7eaaa9ce4243f03b2528fdc255e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:15 + docker inspect -f . ci-base-image-x86_64 00:49:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:15 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 00:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:49:16 $ docker top 33a663cfdad85c664ca22b778bed050061371d9f32e09cdca0797557e72f3026 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 00:49:16 + make test 00:49:16 go test ./... -coverprofile=coverage.out ./... 00:49:18 ? github.com/edgexfoundry/device-rest-go [no test files] 00:49:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:49:28 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 00:49:36 go vet ./... 00:49:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:39 ./bin/test-attribution-txt.sh 00:49:39 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 00:49:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:49:39 $ docker stop --time=1 33a663cfdad85c664ca22b778bed050061371d9f32e09cdca0797557e72f3026 00:49:43 $ docker rm -f --volumes 33a663cfdad85c664ca22b778bed050061371d9f32e09cdca0797557e72f3026 [Pipeline] // withDockerContainer [Pipeline] sh 00:49:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:49:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:49:44 + ls -al . 00:49:44 total 180 00:49:44 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 00:49 . 00:49:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 00:48 .. 00:49:44 -rw-rw-r-- 1 jenkins jenkins 151 Feb 20 00:48 .dockerignore 00:49:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 00:49 .git 00:49:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:48 .github 00:49:44 -rw-rw-r-- 1 jenkins jenkins 264 Feb 20 00:48 .gitignore 00:49:44 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 00:48 .golangci.yml 00:49:44 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 00:48 .semver 00:49:44 -rw-rw-r-- 1 jenkins jenkins 10300 Feb 20 00:48 Attribution.txt 00:49:44 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 20 00:48 CHANGELOG.md 00:49:44 -rw-rw-r-- 1 jenkins jenkins 1687 Feb 20 00:48 Dockerfile 00:49:44 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 00:48 GOVERNANCE.md 00:49:44 -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 00:48 Jenkinsfile 00:49:44 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 00:48 LICENSE 00:49:44 -rw-rw-r-- 1 jenkins jenkins 2016 Feb 20 00:48 Makefile 00:49:44 -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 00:48 OWNERS.md 00:49:44 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 20 00:48 README.md 00:49:44 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 00:48 VERSION 00:49:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 00:48 bin 00:49:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:48 cmd 00:49:44 -rw-r--r-- 1 jenkins jenkins 14499 Feb 20 00:49 coverage.out 00:49:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 00:48 driver 00:49:44 -rw-rw-r-- 1 jenkins jenkins 3935 Feb 20 00:48 go.mod 00:49:44 -rw-rw-r-- 1 jenkins jenkins 34601 Feb 20 00:48 go.sum 00:49:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:48 openapi 00:49:44 -rw-rw-r-- 1 jenkins jenkins 713 Feb 20 00:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:45 + 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=402bee10dda5ca46600812a85f59fdfe6bf70583 --label arch=amd64 --label version=3.2.0-dev.9 . 00:49:45 Sending build context to Docker daemon 16.33MB 00:49:45 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:49:45 Step 2/26 : FROM ${BASE} AS builder 00:49:45 ---> 8c56f5eba9c6 00:49:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:49:45 ---> Running in cf80d586d2c1 00:49:45 Removing intermediate container cf80d586d2c1 00:49:45 ---> 68f0785c387b 00:49:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:49:45 ---> Running in 5b906f1b2183 00:49:45 Removing intermediate container 5b906f1b2183 00:49:45 ---> 71c4d0df05e3 00:49:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:49:45 ---> Running in a6527392d2f2 00:49:45 Removing intermediate container a6527392d2f2 00:49:45 ---> 4a62eadbc399 00:49:45 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:49:45 ---> Running in fe423a6d62eb 00:49:45 Removing intermediate container fe423a6d62eb 00:49:45 ---> daecfc4fa258 00:49:45 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:45 ---> Running in 6c0a0e88f128 00:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:49:46 OK: 268 MiB in 56 packages 00:49:46 Removing intermediate container 6c0a0e88f128 00:49:46 ---> 428da0f04186 00:49:46 Step 8/26 : WORKDIR /device-rest-go 00:49:46 ---> Running in dae73e44a381 00:49:46 Removing intermediate container dae73e44a381 00:49:46 ---> 44d5052b0bcd 00:49:46 Step 9/26 : COPY go.mod vendor* ./ 00:49:46 ---> 3f83b2ec5a9e 00:49:46 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:46 ---> Running in 298ba8a3dce1 00:49:47 Removing intermediate container 298ba8a3dce1 00:49:47 ---> c2d18ad809c0 00:49:47 Step 11/26 : COPY . . 00:49:48 ---> 5ed8f22daf9c 00:49:48 Step 12/26 : RUN $MAKE 00:49:48 ---> Running in ff3a6539e489 00:49:48 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:50:10 Removing intermediate container ff3a6539e489 00:50:10 ---> 9279f6d200e8 00:50:10 Step 13/26 : FROM alpine:3.18 00:50:10 3.18: Pulling from library/alpine 00:50:10 619be1103602: Pulling fs layer 00:50:10 619be1103602: Verifying Checksum 00:50:10 619be1103602: Download complete 00:50:10 619be1103602: Pull complete 00:50:10 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 00:50:10 Status: Downloaded newer image for alpine:3.18 00:50:10 ---> d3782b16ccc9 00:50:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:50:10 ---> Running in cad2e06c8af1 00:50:10 Removing intermediate container cad2e06c8af1 00:50:10 ---> 8454c31781f7 00:50:10 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:50:10 ---> Running in 09474c798e9b 00:50:10 Removing intermediate container 09474c798e9b 00:50:10 ---> e675bd0de858 00:50:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:50:10 ---> Running in 7c895dfae32b 00:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:50:10 (1/1) Installing dumb-init (1.2.5-r2) 00:50:10 Executing busybox-1.36.1-r5.trigger 00:50:10 OK: 7 MiB in 16 packages 00:50:10 Removing intermediate container 7c895dfae32b 00:50:10 ---> 6e1ef292636e 00:50:10 Step 17/26 : RUN apk --no-cache upgrade 00:50:10 ---> Running in 88f22727bb36 00:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:50:10 OK: 7 MiB in 16 packages 00:50:10 Removing intermediate container 88f22727bb36 00:50:10 ---> 5f7a82c91885 00:50:10 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:50:10 ---> c6a217a8dec4 00:50:10 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:50:10 ---> 6a2c1101f784 00:50:10 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:50:10 ---> b49c3f9fc54f 00:50:10 Step 21/26 : EXPOSE 59986 00:50:10 ---> Running in 0849136b4f01 00:50:10 Removing intermediate container 0849136b4f01 00:50:10 ---> 414fe9542dd3 00:50:10 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:50:11 ---> Running in 9c17a8c9b8ad 00:50:11 Removing intermediate container 9c17a8c9b8ad 00:50:11 ---> a3b88665d333 00:50:11 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:50:11 ---> Running in da64d26c4a28 00:50:11 Removing intermediate container da64d26c4a28 00:50:11 ---> 206b5865386b 00:50:11 Step 24/26 : LABEL arch=amd64 00:50:11 ---> Running in 2f82f30a95e9 00:50:11 Removing intermediate container 2f82f30a95e9 00:50:11 ---> 090f2163ca35 00:50:11 Step 25/26 : LABEL git_sha=402bee10dda5ca46600812a85f59fdfe6bf70583 00:50:11 ---> Running in 9f015f37dec9 00:50:11 Removing intermediate container 9f015f37dec9 00:50:11 ---> 5185c048a9a5 00:50:11 Step 26/26 : LABEL version=3.2.0-dev.9 00:50:11 ---> Running in 5003646dc55f 00:50:11 Removing intermediate container 5003646dc55f 00:50:11 ---> df0d2e354fef 00:50:11 [Warning] One or more build-args [ARCH] were not consumed 00:50:11 Successfully built df0d2e354fef 00:50:11 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:11 provisioning config files... 00:50:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4534499167234699420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:12 ---> ****-login.sh 00:50:12 nexus3.edgexfoundry.org:10001 00:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:12 Configure a credential helper to remove this warning. See 00:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:12 00:50:12 Login Succeeded 00:50:12 nexus3.edgexfoundry.org:10002 00:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:12 Configure a credential helper to remove this warning. See 00:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:12 00:50:12 Login Succeeded 00:50:12 nexus3.edgexfoundry.org:10003 00:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:12 Configure a credential helper to remove this warning. See 00:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:12 00:50:12 Login Succeeded 00:50:12 nexus3.edgexfoundry.org:10004 00:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:12 Configure a credential helper to remove this warning. See 00:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:12 00:50:12 Login Succeeded 00:50:12 ****.io 00:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:12 Configure a credential helper to remove this warning. See 00:50:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:12 00:50:12 Login Succeeded 00:50:12 ---> ****-login.sh ends [Pipeline] } 00:50:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:50:12 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 00:50:12 402bee10dda5ca46600812a85f59fdfe6bf70583 00:50:12 latest 00:50:12 3.2.0-dev.9 00:50:12 402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 00:50:12 main 00:50:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:402bee10dda5ca46600812a85f59fdfe6bf70583 00:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:13 705d9b6d94fa: Preparing 00:50:13 064f3fc51f81: Preparing 00:50:13 f7af62a4d37c: Preparing 00:50:13 d441adfa3aea: Preparing 00:50:13 98f8860dd538: Preparing 00:50:13 aedc3bda2944: Preparing 00:50:13 aedc3bda2944: Waiting 00:50:13 705d9b6d94fa: Pushed 00:50:13 aedc3bda2944: Layer already exists 00:50:13 d441adfa3aea: Pushed 00:50:13 064f3fc51f81: Pushed 00:50:13 98f8860dd538: Pushed 00:50:16 f7af62a4d37c: Pushed 00:50:16 402bee10dda5ca46600812a85f59fdfe6bf70583: digest: sha256:d6904ecec666ef2c0abc6276aaaa2dfc52d988d2bb2327271643d1f2a98aff89 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 00:50:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:16 705d9b6d94fa: Preparing 00:50:16 064f3fc51f81: Preparing 00:50:16 f7af62a4d37c: Preparing 00:50:16 d441adfa3aea: Preparing 00:50:16 98f8860dd538: Preparing 00:50:16 aedc3bda2944: Preparing 00:50:16 aedc3bda2944: Waiting 00:50:16 064f3fc51f81: Layer already exists 00:50:16 98f8860dd538: Layer already exists 00:50:16 705d9b6d94fa: Layer already exists 00:50:16 f7af62a4d37c: Layer already exists 00:50:16 d441adfa3aea: Layer already exists 00:50:16 aedc3bda2944: Layer already exists 00:50:16 latest: digest: sha256:d6904ecec666ef2c0abc6276aaaa2dfc52d988d2bb2327271643d1f2a98aff89 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.9 00:50:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:17 705d9b6d94fa: Preparing 00:50:17 064f3fc51f81: Preparing 00:50:17 f7af62a4d37c: Preparing 00:50:17 d441adfa3aea: Preparing 00:50:17 98f8860dd538: Preparing 00:50:17 aedc3bda2944: Preparing 00:50:17 aedc3bda2944: Waiting 00:50:17 705d9b6d94fa: Layer already exists 00:50:17 98f8860dd538: Layer already exists 00:50:17 f7af62a4d37c: Layer already exists 00:50:17 d441adfa3aea: Layer already exists 00:50:17 064f3fc51f81: Layer already exists 00:50:17 aedc3bda2944: Layer already exists 00:50:17 3.2.0-dev.9: digest: sha256:d6904ecec666ef2c0abc6276aaaa2dfc52d988d2bb2327271643d1f2a98aff89 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 00:50:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:18 705d9b6d94fa: Preparing 00:50:18 064f3fc51f81: Preparing 00:50:18 f7af62a4d37c: Preparing 00:50:18 d441adfa3aea: Preparing 00:50:18 98f8860dd538: Preparing 00:50:18 aedc3bda2944: Preparing 00:50:18 aedc3bda2944: Waiting 00:50:18 98f8860dd538: Layer already exists 00:50:18 f7af62a4d37c: Layer already exists 00:50:18 064f3fc51f81: Layer already exists 00:50:18 d441adfa3aea: Layer already exists 00:50:18 705d9b6d94fa: Layer already exists 00:50:18 aedc3bda2944: Layer already exists 00:50:18 402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9: digest: sha256:d6904ecec666ef2c0abc6276aaaa2dfc52d988d2bb2327271643d1f2a98aff89 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 00:50:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:19 705d9b6d94fa: Preparing 00:50:19 064f3fc51f81: Preparing 00:50:19 f7af62a4d37c: Preparing 00:50:19 d441adfa3aea: Preparing 00:50:19 98f8860dd538: Preparing 00:50:19 aedc3bda2944: Preparing 00:50:19 aedc3bda2944: Waiting 00:50:19 064f3fc51f81: Layer already exists 00:50:19 705d9b6d94fa: Layer already exists 00:50:19 f7af62a4d37c: Layer already exists 00:50:19 d441adfa3aea: Layer already exists 00:50:19 98f8860dd538: Layer already exists 00:50:19 aedc3bda2944: Layer already exists 00:50:19 main: digest: sha256:d6904ecec666ef2c0abc6276aaaa2dfc52d988d2bb2327271643d1f2a98aff89 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:19 ===================================================== [Pipeline] echo 00:50:19 taggedImages: 00:50:19 - nexus3.edgexfoundry.org:10004/device-rest:402bee10dda5ca46600812a85f59fdfe6bf70583 00:50:19 - nexus3.edgexfoundry.org:10004/device-rest:latest 00:50:19 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.9 00:50:19 - nexus3.edgexfoundry.org:10004/device-rest:402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 00:50:19 - 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 00:50:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:20 00:50:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:20 latest: Pulling from edgex-lftools-log-publisher 00:50:20 5eb5b503b376: Pulling fs layer 00:50:20 5c69ac0246d0: Pulling fs layer 00:50:20 ec43610c2a17: Pulling fs layer 00:50:20 3a2ae6a8a46f: Pulling fs layer 00:50:20 33b1e0a273af: Pulling fs layer 00:50:20 5d3b04190fa2: Pulling fs layer 00:50:20 2f39f015ded8: Pulling fs layer 00:50:20 3a2ae6a8a46f: Waiting 00:50:20 2f39f015ded8: Waiting 00:50:20 33b1e0a273af: Waiting 00:50:20 5d3b04190fa2: Waiting 00:50:20 5c69ac0246d0: Download complete 00:50:20 3a2ae6a8a46f: Verifying Checksum 00:50:20 3a2ae6a8a46f: Download complete 00:50:20 33b1e0a273af: Verifying Checksum 00:50:20 33b1e0a273af: Download complete 00:50:20 5d3b04190fa2: Verifying Checksum 00:50:20 5d3b04190fa2: Download complete 00:50:20 ec43610c2a17: Verifying Checksum 00:50:20 ec43610c2a17: Download complete 00:50:20 5eb5b503b376: Download complete 00:50:21 2f39f015ded8: Download complete 00:50:22 5eb5b503b376: Pull complete 00:50:22 5c69ac0246d0: Pull complete 00:50:22 ec43610c2a17: Pull complete 00:50:22 3a2ae6a8a46f: Pull complete 00:50:23 33b1e0a273af: Pull complete 00:50:23 5d3b04190fa2: Pull complete 00:50:27 2f39f015ded8: Pull complete 00:50:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:50:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:27 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 00:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:32 $ docker top 7d36f20369e21ccfedced010a94841076c0e0ddb061fed80cc28fdd2e86ab018 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:32 ---> job-cost.sh 00:50:32 lf-activate-venv: SKIPPING 00:50:32 INFO: No Stack... 00:50:32 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:33 INFO: Archiving Costs [Pipeline] sh 00:50:33 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 00:50:33 + cut -d, -f6 [Pipeline] lock 00:50:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] 00:50:33 Resource [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] did not exist. Created. 00:50:33 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:34 + echo total: 0.2199999988079071 [Pipeline] stash 00:50:34 Stashed 1 file(s) [Pipeline] } 00:50:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:34 $ docker stop --time=1 7d36f20369e21ccfedced010a94841076c0e0ddb061fed80cc28fdd2e86ab018 00:50:35 $ docker rm -f --volumes 7d36f20369e21ccfedced010a94841076c0e0ddb061fed80cc28fdd2e86ab018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:51:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1292 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 00:51:48 Running in /w/workspace/device-rest-go/161 [Pipeline] { [Pipeline] checkout 00:51:51 The recommended git tool is: git 00:51:58 using credential edgex-jenkins-ssh 00:51:58 Cloning the remote Git repository 00:51:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:51:58 > git init /w/workspace/device-rest-go/161 # timeout=10 00:51:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:51:58 > git --version # timeout=10 00:51:58 > git --version # 'git version 2.25.1' 00:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:52:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:52:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:52:03 Avoid second fetch 00:52:03 Checking out Revision 402bee10dda5ca46600812a85f59fdfe6bf70583 (main) 00:52:03 Commit message: "Merge pull request #381 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.9" 00:52:03 > git config core.sparsecheckout # timeout=10 00:52:03 > git checkout -f 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:52:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:52:04 Dload Upload Total Spent Left Speed 00:52:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 00:52:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:52:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:52:05 + sudo tee /etc/docker/daemon.new 00:52:05 { 00:52:05 "registry-mirrors": [ 00:52:05 "https://nexus3.edgexfoundry.org:10001" 00:52:05 ], 00:52:05 "bip": "10.250.0.254/24", 00:52:05 "hosts": [ 00:52:05 "tcp://0.0.0.0:5555", 00:52:05 "unix:///var/run/docker.sock" 00:52:05 ], 00:52:05 "mtu": 1458, 00:52:05 "selinux-enabled": true, 00:52:05 "seccomp-profile": "/etc/docker/seccomp.json" 00:52:05 } [Pipeline] sh 00:52:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:52:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:24 provisioning config files... 00:52:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/161@tmp/config14367459036152900083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:25 ---> ****-login.sh 00:52:25 nexus3.edgexfoundry.org:10001 00:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:25 Configure a credential helper to remove this warning. See 00:52:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:25 00:52:25 Login Succeeded 00:52:25 nexus3.edgexfoundry.org:10002 00:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:26 Configure a credential helper to remove this warning. See 00:52:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:26 00:52:26 Login Succeeded 00:52:26 nexus3.edgexfoundry.org:10003 00:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:26 Configure a credential helper to remove this warning. See 00:52:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:26 00:52:26 Login Succeeded 00:52:26 nexus3.edgexfoundry.org:10004 00:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:27 Configure a credential helper to remove this warning. See 00:52:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:27 00:52:27 Login Succeeded 00:52:27 ****.io 00:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:27 Configure a credential helper to remove this warning. See 00:52:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:27 00:52:27 Login Succeeded 00:52:27 ---> ****-login.sh ends [Pipeline] } 00:52:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:52:28 ========================================================= 00:52:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:52:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:29 + 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 . 00:52:29 Sending build context to Docker daemon 127.5kB 00:52:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:52:29 Step 2/12 : FROM ${BASE} AS builder 00:52:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:52:29 9fda8d8052c6: Pulling fs layer 00:52:29 5d54e960e981: Pulling fs layer 00:52:29 c4a7e357bf2a: Pulling fs layer 00:52:29 f0e02332f6b5: Pulling fs layer 00:52:29 872ee5b61b7b: Pulling fs layer 00:52:29 0c6a40ed1a82: Pulling fs layer 00:52:29 94ae7d8d031c: Pulling fs layer 00:52:29 872ee5b61b7b: Waiting 00:52:29 f0e02332f6b5: Waiting 00:52:29 0c6a40ed1a82: Waiting 00:52:29 94ae7d8d031c: Waiting 00:52:29 5d54e960e981: Verifying Checksum 00:52:29 5d54e960e981: Download complete 00:52:29 f0e02332f6b5: Verifying Checksum 00:52:29 f0e02332f6b5: Download complete 00:52:29 872ee5b61b7b: Verifying Checksum 00:52:29 872ee5b61b7b: Download complete 00:52:29 9fda8d8052c6: Download complete 00:52:30 94ae7d8d031c: Verifying Checksum 00:52:30 94ae7d8d031c: Download complete 00:52:30 9fda8d8052c6: Pull complete 00:52:31 5d54e960e981: Pull complete 00:52:31 c4a7e357bf2a: Verifying Checksum 00:52:31 c4a7e357bf2a: Download complete 00:52:32 0c6a40ed1a82: Verifying Checksum 00:52:32 0c6a40ed1a82: Download complete 00:52:45 c4a7e357bf2a: Pull complete 00:52:45 f0e02332f6b5: Pull complete 00:52:45 872ee5b61b7b: Pull complete 00:52:57 0c6a40ed1a82: Pull complete 00:52:58 94ae7d8d031c: Pull complete 00:52:58 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 00:52:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:52:58 ---> 86de565de09d 00:52:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:52:59 ---> Running in 434b4d73e5ae 00:52:59 Removing intermediate container 434b4d73e5ae 00:52:59 ---> 36f5d467de80 00:52:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:59 ---> Running in e7345dece2f6 00:53:00 Removing intermediate container e7345dece2f6 00:53:00 ---> fb28b66af7f3 00:53:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:53:00 ---> Running in 6936dfb5a8b6 00:53:00 Removing intermediate container 6936dfb5a8b6 00:53:00 ---> 1d2e5f5ef717 00:53:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:53:01 ---> Running in fec5df72f3bb 00:53:01 Removing intermediate container fec5df72f3bb 00:53:01 ---> 74fb8385f219 00:53:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:53:01 ---> Running in aba95912c203 00:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:53:04 (1/4) Installing openssh-keygen (9.3_p2-r1) 00:53:04 (2/4) Installing libedit (20221030.3.1-r1) 00:53:04 (3/4) Installing openssh-client-common (9.3_p2-r1) 00:53:04 (4/4) Installing openssh-client-default (9.3_p2-r1) 00:53:04 Executing busybox-1.36.1-r5.trigger 00:53:05 OK: 271 MiB in 56 packages 00:53:06 Removing intermediate container aba95912c203 00:53:06 ---> 7c95dfd58342 00:53:06 Step 8/12 : WORKDIR /device-rest-go 00:53:06 ---> Running in 5a8770c507e9 00:53:06 Removing intermediate container 5a8770c507e9 00:53:06 ---> fadaf8b180a7 00:53:06 Step 9/12 : COPY go.mod vendor* ./ 00:53:07 ---> 370eb4a55668 00:53:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:07 ---> Running in 88b4eb041ab7 00:54:15 Removing intermediate container 88b4eb041ab7 00:54:15 ---> 7ae9ab00cc2a 00:54:15 Step 11/12 : COPY . . 00:54:15 ---> 14c109c273cd 00:54:15 Step 12/12 : RUN $MAKE 00:54:15 ---> Running in fdbdbf0f3999 00:54:15 noop 00:54:15 Removing intermediate container fdbdbf0f3999 00:54:15 ---> fd0ebb09ef7e 00:54:15 Successfully built fd0ebb09ef7e 00:54:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:15 + docker inspect -f . ci-base-image-arm64 00:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:16 prd-ubuntu20.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container 00:54:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/161 -v /w/workspace/device-rest-go/161:/w/workspace/device-rest-go/161:rw,z -v /w/workspace/device-rest-go/161@tmp:/w/workspace/device-rest-go/161@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 00:54:17 $ docker top d626a954c8484d4fca851b4560f3f2dca77d8e15e6dd68ed4066c6ad260d8b3b -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:18 + go version 00:54:18 go version go1.21.0 linux/arm64 [Pipeline] } 00:54:18 $ docker stop --time=1 d626a954c8484d4fca851b4560f3f2dca77d8e15e6dd68ed4066c6ad260d8b3b 00:54:20 $ docker rm -f --volumes d626a954c8484d4fca851b4560f3f2dca77d8e15e6dd68ed4066c6ad260d8b3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:21 + docker inspect -f . ci-base-image-arm64 00:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container 00:54:21 $ 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/161 -v /w/workspace/device-rest-go/161:/w/workspace/device-rest-go/161:rw,z -v /w/workspace/device-rest-go/161@tmp:/w/workspace/device-rest-go/161@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 00:54:24 $ docker top bdf0d62f93e6a2b6fcf2056fdc03a275b441c15ec0fcc4770f918a40d2436c64 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:25 + git config --global --add safe.directory /w/workspace/device-rest-go/161 [Pipeline] fileExists [Pipeline] sh 00:54:26 + make test 00:54:26 go test ./... -coverprofile=coverage.out ./... 00:54:30 ? github.com/edgexfoundry/device-rest-go [no test files] 00:56:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:56:37 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 33.2% of statements 00:56:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:56:37 go vet ./... 00:57:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:57:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:57:05 ./bin/test-attribution-txt.sh 00:57:05 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 00:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:57:05 $ docker stop --time=1 bdf0d62f93e6a2b6fcf2056fdc03a275b441c15ec0fcc4770f918a40d2436c64 00:57:08 $ docker rm -f --volumes bdf0d62f93e6a2b6fcf2056fdc03a275b441c15ec0fcc4770f918a40d2436c64 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:09 Warning: overwriting stash ‘coverage-report’ 00:57:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:11 + ls -al . 00:57:11 total 176 00:57:11 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 00:54 . 00:57:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 00:51 .. 00:57:11 -rw-rw-r-- 1 jenkins jenkins 151 Feb 20 00:52 .dockerignore 00:57:11 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 00:52 .git 00:57:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:52 .github 00:57:11 -rw-rw-r-- 1 jenkins jenkins 264 Feb 20 00:52 .gitignore 00:57:11 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 00:52 .golangci.yml 00:57:11 -rw-rw-r-- 1 jenkins jenkins 10300 Feb 20 00:52 Attribution.txt 00:57:11 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 20 00:52 CHANGELOG.md 00:57:11 -rw-rw-r-- 1 jenkins jenkins 1687 Feb 20 00:52 Dockerfile 00:57:11 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 00:52 GOVERNANCE.md 00:57:11 -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 00:52 Jenkinsfile 00:57:11 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 00:52 LICENSE 00:57:11 -rw-rw-r-- 1 jenkins jenkins 2016 Feb 20 00:52 Makefile 00:57:11 -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 00:52 OWNERS.md 00:57:11 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 20 00:52 README.md 00:57:11 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 00:48 VERSION 00:57:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 00:52 bin 00:57:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:52 cmd 00:57:11 -rw-r--r-- 1 jenkins jenkins 14499 Feb 20 00:56 coverage.out 00:57:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 00:52 driver 00:57:11 -rw-rw-r-- 1 jenkins jenkins 3935 Feb 20 00:52 go.mod 00:57:11 -rw-rw-r-- 1 jenkins jenkins 34601 Feb 20 00:52 go.sum 00:57:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 00:52 openapi 00:57:11 -rw-rw-r-- 1 jenkins jenkins 713 Feb 20 00:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:11 + 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=402bee10dda5ca46600812a85f59fdfe6bf70583 --label arch=arm64 --label version=3.2.0-dev.9 . 00:57:11 Sending build context to Docker daemon 142.8kB 00:57:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:57:12 Step 2/26 : FROM ${BASE} AS builder 00:57:12 ---> fd0ebb09ef7e 00:57:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:57:12 ---> Running in 32694356ac51 00:57:12 Removing intermediate container 32694356ac51 00:57:12 ---> 9a21dc9b91af 00:57:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:12 ---> Running in 0ea2374592e6 00:57:13 Removing intermediate container 0ea2374592e6 00:57:13 ---> a91a9291e4e8 00:57:13 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:57:13 ---> Running in ddcbe34811f5 00:57:15 Removing intermediate container ddcbe34811f5 00:57:15 ---> 2d47df7a072c 00:57:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:57:15 ---> Running in 6aa6a8e6b408 00:57:15 Removing intermediate container 6aa6a8e6b408 00:57:15 ---> dee6ca5ce59e 00:57:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:15 ---> Running in e7939fba823d 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:57:18 OK: 271 MiB in 56 packages 00:57:19 Removing intermediate container e7939fba823d 00:57:19 ---> c635a44f3ab5 00:57:19 Step 8/26 : WORKDIR /device-rest-go 00:57:19 ---> Running in 2742cec54308 00:57:20 Removing intermediate container 2742cec54308 00:57:20 ---> 019fabd096ad 00:57:20 Step 9/26 : COPY go.mod vendor* ./ 00:57:22 ---> a9950405025c 00:57:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:22 ---> Running in bc9c4d8887c4 00:57:26 Removing intermediate container bc9c4d8887c4 00:57:26 ---> 20af31a85fae 00:57:26 Step 11/26 : COPY . . 00:57:26 ---> 66b564f07739 00:57:26 Step 12/26 : RUN $MAKE 00:57:26 ---> Running in 1f4c12375c5c 00:57:27 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:59:35 Removing intermediate container 1f4c12375c5c 00:59:35 ---> 92fdf34778e7 00:59:35 Step 13/26 : FROM alpine:3.18 00:59:35 3.18: Pulling from library/alpine 00:59:35 c6b39de5b339: Pulling fs layer 00:59:35 c6b39de5b339: Download complete 00:59:35 c6b39de5b339: Pull complete 00:59:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 00:59:35 Status: Downloaded newer image for alpine:3.18 00:59:35 ---> 33abbf032149 00:59:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:59:35 ---> Running in c66e93c63065 00:59:35 Removing intermediate container c66e93c63065 00:59:35 ---> ed9852cb38ba 00:59:35 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:59:35 ---> Running in 463b9bfe2bca 00:59:35 Removing intermediate container 463b9bfe2bca 00:59:35 ---> e1724616ec84 00:59:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:59:35 ---> Running in 45fb5eadf65b 00:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:59:35 (1/1) Installing dumb-init (1.2.5-r2) 00:59:35 Executing busybox-1.36.1-r5.trigger 00:59:35 OK: 8 MiB in 16 packages 00:59:35 Removing intermediate container 45fb5eadf65b 00:59:35 ---> 86a67f47caea 00:59:35 Step 17/26 : RUN apk --no-cache upgrade 00:59:35 ---> Running in 39b188d24285 00:59:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:59:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:59:38 OK: 8 MiB in 16 packages 00:59:39 Removing intermediate container 39b188d24285 00:59:39 ---> 90388051d1dc 00:59:39 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:59:40 ---> 8a92a57f140a 00:59:40 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:59:41 ---> 6d913a8ce40a 00:59:41 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:59:41 ---> 86132c93099a 00:59:41 Step 21/26 : EXPOSE 59986 00:59:41 ---> Running in 710664b64054 00:59:42 Removing intermediate container 710664b64054 00:59:42 ---> 709e96658d1a 00:59:42 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:59:42 ---> Running in 2716d2bb29ab 00:59:42 Removing intermediate container 2716d2bb29ab 00:59:42 ---> 4a27952bb120 00:59:42 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:59:42 ---> Running in 4d8eb609bc45 00:59:43 Removing intermediate container 4d8eb609bc45 00:59:43 ---> 6bd4db5fae30 00:59:43 Step 24/26 : LABEL arch=arm64 00:59:43 ---> Running in ddf71e583b91 00:59:43 Removing intermediate container ddf71e583b91 00:59:43 ---> e2785dc06cbf 00:59:43 Step 25/26 : LABEL git_sha=402bee10dda5ca46600812a85f59fdfe6bf70583 00:59:43 ---> Running in e1ea2541bdb3 00:59:43 Removing intermediate container e1ea2541bdb3 00:59:43 ---> 889e6e587a9b 00:59:43 Step 26/26 : LABEL version=3.2.0-dev.9 00:59:43 ---> Running in 8e95aeb931ad 00:59:44 Removing intermediate container 8e95aeb931ad 00:59:44 ---> a82604626bd6 00:59:44 [Warning] One or more build-args [ARCH] were not consumed 00:59:44 Successfully built a82604626bd6 00:59:44 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 00:59:44 provisioning config files... 00:59:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/161@tmp/config155886953859760670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:45 ---> ****-login.sh 00:59:45 nexus3.edgexfoundry.org:10001 00:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:45 Configure a credential helper to remove this warning. See 00:59:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:45 00:59:45 Login Succeeded 00:59:45 nexus3.edgexfoundry.org:10002 00:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:45 Configure a credential helper to remove this warning. See 00:59:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:45 00:59:45 Login Succeeded 00:59:46 nexus3.edgexfoundry.org:10003 00:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:46 Configure a credential helper to remove this warning. See 00:59:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:46 00:59:46 Login Succeeded 00:59:46 nexus3.edgexfoundry.org:10004 00:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:46 Configure a credential helper to remove this warning. See 00:59:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:46 00:59:46 Login Succeeded 00:59:46 ****.io 00:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:47 Configure a credential helper to remove this warning. See 00:59:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:47 00:59:47 Login Succeeded 00:59:47 ---> ****-login.sh ends [Pipeline] } 00:59:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:47 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:59:47 402bee10dda5ca46600812a85f59fdfe6bf70583 00:59:47 latest 00:59:47 3.2.0-dev.9 00:59:47 402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 00:59:47 main 00:59:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:402bee10dda5ca46600812a85f59fdfe6bf70583 00:59:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:59:48 e25308c50c3f: Preparing 00:59:48 cc4120dc6643: Preparing 00:59:48 9c66b033815d: Preparing 00:59:48 3f7e10691e7d: Preparing 00:59:48 35f47a31c775: Preparing 00:59:48 7c504f21be85: Preparing 00:59:48 7c504f21be85: Waiting 00:59:49 e25308c50c3f: Pushed 00:59:49 3f7e10691e7d: Pushed 00:59:49 7c504f21be85: Layer already exists 00:59:49 cc4120dc6643: Pushed 00:59:49 35f47a31c775: Pushed 00:59:53 9c66b033815d: Pushed 00:59:53 402bee10dda5ca46600812a85f59fdfe6bf70583: digest: sha256:5e6b626cbd0a3081d51373ba266f87fecf8e54b29597ce19be1297037196360a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:59:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:59:54 e25308c50c3f: Preparing 00:59:54 cc4120dc6643: Preparing 00:59:54 9c66b033815d: Preparing 00:59:54 3f7e10691e7d: Preparing 00:59:54 35f47a31c775: Preparing 00:59:54 7c504f21be85: Preparing 00:59:54 7c504f21be85: Waiting 00:59:54 9c66b033815d: Layer already exists 00:59:54 cc4120dc6643: Layer already exists 00:59:54 3f7e10691e7d: Layer already exists 00:59:54 e25308c50c3f: Layer already exists 00:59:54 35f47a31c775: Layer already exists 00:59:54 7c504f21be85: Layer already exists 00:59:55 latest: digest: sha256:5e6b626cbd0a3081d51373ba266f87fecf8e54b29597ce19be1297037196360a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.9 00:59:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:59:55 e25308c50c3f: Preparing 00:59:55 cc4120dc6643: Preparing 00:59:55 9c66b033815d: Preparing 00:59:55 3f7e10691e7d: Preparing 00:59:55 35f47a31c775: Preparing 00:59:55 7c504f21be85: Preparing 00:59:55 e25308c50c3f: Layer already exists 00:59:55 cc4120dc6643: Layer already exists 00:59:55 3f7e10691e7d: Layer already exists 00:59:55 35f47a31c775: Layer already exists 00:59:55 9c66b033815d: Layer already exists 00:59:55 7c504f21be85: Layer already exists 00:59:56 3.2.0-dev.9: digest: sha256:5e6b626cbd0a3081d51373ba266f87fecf8e54b29597ce19be1297037196360a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 00:59:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:59:57 e25308c50c3f: Preparing 00:59:57 cc4120dc6643: Preparing 00:59:57 9c66b033815d: Preparing 00:59:57 3f7e10691e7d: Preparing 00:59:57 35f47a31c775: Preparing 00:59:57 7c504f21be85: Preparing 00:59:57 7c504f21be85: Waiting 00:59:57 9c66b033815d: Layer already exists 00:59:57 e25308c50c3f: Layer already exists 00:59:57 cc4120dc6643: Layer already exists 00:59:57 3f7e10691e7d: Layer already exists 00:59:57 35f47a31c775: Layer already exists 00:59:57 7c504f21be85: Layer already exists 00:59:57 402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9: digest: sha256:5e6b626cbd0a3081d51373ba266f87fecf8e54b29597ce19be1297037196360a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:59:58 e25308c50c3f: Preparing 00:59:58 cc4120dc6643: Preparing 00:59:58 9c66b033815d: Preparing 00:59:58 3f7e10691e7d: Preparing 00:59:58 35f47a31c775: Preparing 00:59:58 7c504f21be85: Preparing 00:59:58 7c504f21be85: Waiting 00:59:58 cc4120dc6643: Layer already exists 00:59:58 9c66b033815d: Layer already exists 00:59:58 35f47a31c775: Layer already exists 00:59:58 e25308c50c3f: Layer already exists 00:59:58 3f7e10691e7d: Layer already exists 00:59:58 7c504f21be85: Layer already exists 00:59:58 main: digest: sha256:5e6b626cbd0a3081d51373ba266f87fecf8e54b29597ce19be1297037196360a size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:59:59 ===================================================== [Pipeline] echo 00:59:59 taggedImages: 00:59:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:402bee10dda5ca46600812a85f59fdfe6bf70583 00:59:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:59:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.9 00:59:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:402bee10dda5ca46600812a85f59fdfe6bf70583-3.2.0-dev.9 00:59:59 - 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 00:59:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:59 00:59:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:02 arm64: Pulling from edgex-lftools-log-publisher 01:00:02 8998bd30e6a1: Pulling fs layer 01:00:02 04944245beec: Pulling fs layer 01:00:02 699f458cf7ca: Pulling fs layer 01:00:02 765212b225bb: Pulling fs layer 01:00:02 f23df028b6ca: Pulling fs layer 01:00:02 d65c8cfc05b1: Pulling fs layer 01:00:02 2437ff75d9bd: Pulling fs layer 01:00:02 765212b225bb: Waiting 01:00:02 f23df028b6ca: Waiting 01:00:02 d65c8cfc05b1: Waiting 01:00:02 2437ff75d9bd: Waiting 01:00:02 04944245beec: Verifying Checksum 01:00:02 04944245beec: Download complete 01:00:02 765212b225bb: Download complete 01:00:02 f23df028b6ca: Verifying Checksum 01:00:02 f23df028b6ca: Download complete 01:00:03 d65c8cfc05b1: Verifying Checksum 01:00:03 d65c8cfc05b1: Download complete 01:00:03 699f458cf7ca: Verifying Checksum 01:00:03 699f458cf7ca: Download complete 01:00:03 8998bd30e6a1: Verifying Checksum 01:00:03 8998bd30e6a1: Download complete 01:00:05 2437ff75d9bd: Verifying Checksum 01:00:05 2437ff75d9bd: Download complete 01:00:08 8998bd30e6a1: Pull complete 01:00:08 04944245beec: Pull complete 01:00:09 699f458cf7ca: Pull complete 01:00:10 765212b225bb: Pull complete 01:00:11 f23df028b6ca: Pull complete 01:00:11 d65c8cfc05b1: Pull complete 01:00:29 2437ff75d9bd: Pull complete 01:00:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:00:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:29 prd-ubuntu20.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container 01:00:30 $ 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/161 -v /w/workspace/device-rest-go/161:/w/workspace/device-rest-go/161:rw,z -v /w/workspace/device-rest-go/161@tmp:/w/workspace/device-rest-go/161@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 01:00:33 $ docker top 639bc0d07eb2f649ce3fb1b5fdac7e0a84fa6f07b13bb9f19b1fae3ad9d3c41f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:34 ---> job-cost.sh 01:00:34 lf-activate-venv: SKIPPING 01:00:34 INFO: No Stack... 01:00:34 INFO: Retrieving Pricing Info for: v3-standard-4 01:00:35 INFO: Archiving Costs [Pipeline] sh 01:00:35 + cat /w/workspace/device-rest-go/161/archives/cost.csv 01:00:35 + cut -d, -f6 [Pipeline] lock 01:00:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] 01:00:35 Resource [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] did not exist. Created. 01:00:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:36 /w/workspace/device-rest-go/161@tmp/durable-1d01757f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:00:37 + echo total: 0.10999999940395355 [Pipeline] stash 01:00:37 Warning: overwriting stash ‘stack-cost’ 01:00:37 Stashed 1 file(s) [Pipeline] } 01:00:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-161-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:37 $ docker stop --time=1 639bc0d07eb2f649ce3fb1b5fdac7e0a84fa6f07b13bb9f19b1fae3ad9d3c41f 01:00:39 $ docker rm -f --volumes 639bc0d07eb2f649ce3fb1b5fdac7e0a84fa6f07b13bb9f19b1fae3ad9d3c41f [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 01:00:40 provisioning config files... 01:00:40 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18054220626095581418tmp [Pipeline] { [Pipeline] sh 01:00:40 + set +x 01:00:40 + curl -s https://codecov.io/bash 01:00:40 + bash -s -- 01:00:40 01:00:40 _____ _ 01:00:40 / ____| | | 01:00:40 | | ___ __| | ___ ___ _____ __ 01:00:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:00:40 | |___| (_) | (_| | __/ (_| (_) \ V / 01:00:40 \_____\___/ \__,_|\___|\___\___/ \_/ 01:00:40 Bash-1.0.6 01:00:40 01:00:40 01:00:40 ==> git version 2.25.1 found 01:00:40 ==> 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 01:00:40 Release-Date: 2020-01-08 01:00:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:00:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:00:40 ==> Jenkins CI detected. 01:00:40 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:00:40 project root: . 01:00:40 --> token set from env 01:00:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:00:40 ==> Running gcov in . (disable via -X gcov) 01:00:40 ==> Python coveragepy not found 01:00:40 ==> Searching for coverage reports in: 01:00:40 + . 01:00:40 -> Found 1 reports 01:00:40 ==> Detecting git/mercurial file structure 01:00:40 ==> Reading reports 01:00:40 + ./coverage.out bytes=14499 01:00:41 ==> Appending adjustments 01:00:41 https://docs.codecov.io/docs/fixing-reports 01:00:41 + Found adjustments 01:00:41 ==> Gzipping contents 01:00:41 4.0K /tmp/codecov.AglilR.gz 01:00:41 ==> Uploading reports 01:00:41 url: https://codecov.io 01:00:41 query: branch=main&commit=402bee10dda5ca46600812a85f59fdfe6bf70583&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:00:41 -> Pinging Codecov 01:00:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=402bee10dda5ca46600812a85f59fdfe6bf70583&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:00:41 -> Uploading to 01:00:41 https://storage.googleapis.com/codecov/v4/raw/2024-02-20/4E5D53B4F1F92C436F7061BF334D961C/402bee10dda5ca46600812a85f59fdfe6bf70583/35ec950e-2cdd-4bb1-a966-f2b0e40c4ddd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240220T010041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2047b42050db3e7014c4d7bf43e1d36e82d1f5e98a4860527ac5712132c58625 01:00:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:00:41 Dload Upload Total Spent Left Speed 01:00:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8501 --:--:-- --:--:-- --:--:-- 8533 01:00:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] } 01:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:00:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:00:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:00:42 01:00:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:00:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:00:42 df9b9388f04a: Pulling fs layer 01:00:42 52dc419b0ee2: Pulling fs layer 01:00:42 25bc292e5bac: Pulling fs layer 01:00:42 114826534d7a: Pulling fs layer 01:00:42 4657fd5d0bcf: Pulling fs layer 01:00:42 114826534d7a: Waiting 01:00:42 6ad1cebc031e: Pulling fs layer 01:00:42 8a3aa393b2d8: Pulling fs layer 01:00:42 6ad1cebc031e: Waiting 01:00:42 4657fd5d0bcf: Waiting 01:00:42 8a3aa393b2d8: Waiting 01:00:42 25bc292e5bac: Verifying Checksum 01:00:42 25bc292e5bac: Download complete 01:00:42 52dc419b0ee2: Download complete 01:00:42 4657fd5d0bcf: Verifying Checksum 01:00:42 4657fd5d0bcf: Download complete 01:00:42 df9b9388f04a: Download complete 01:00:43 df9b9388f04a: Pull complete 01:00:43 6ad1cebc031e: Verifying Checksum 01:00:43 6ad1cebc031e: Download complete 01:00:43 52dc419b0ee2: Pull complete 01:00:43 25bc292e5bac: Pull complete 01:00:43 8a3aa393b2d8: Verifying Checksum 01:00:43 8a3aa393b2d8: Download complete 01:00:43 114826534d7a: Verifying Checksum 01:00:43 114826534d7a: Download complete 01:00:46 114826534d7a: Pull complete 01:00:46 4657fd5d0bcf: Pull complete 01:00:47 6ad1cebc031e: Pull complete 01:00:49 8a3aa393b2d8: Pull complete 01:00:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:00:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:00:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:49 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 01:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:00:53 $ docker top 4bd3c3b81a58cf5ab5463b175783c3ef24c46c652f95f638947c8840517162d4 -eo pid,comm [Pipeline] { [Pipeline] echo 01:00:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:00:53 + set -o pipefail 01:00:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:00:58 01:00:58 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:00:58 01:00:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/683b8510-b0c9-43db-8a7f-9b4d95a462ac 01:00:58 01:00:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:00:58 01:00:58 01:00:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:00:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:00:58 More details here: https://snyk.co/ue1NS [Pipeline] } 01:00:58 $ docker stop --time=1 4bd3c3b81a58cf5ab5463b175783c3ef24c46c652f95f638947c8840517162d4 01:01:01 $ docker rm -f --volumes 4bd3c3b81a58cf5ab5463b175783c3ef24c46c652f95f638947c8840517162d4 [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 01:01:03 + git log --format=format:%s -1 402bee10dda5ca46600812a85f59fdfe6bf70583 [Pipeline] sh 01:01:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:01:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:04 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 01:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:01:04 $ docker top 5b073f96f2c0511c8ec19a10afb6ad309b195e3df01c26ddb111954fc973bddd -eo pid,comm 01:01:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:01:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:04 [ssh-agent] Looking for ssh-agent implementation... 01:01:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:04 $ docker exec 5b073f96f2c0511c8ec19a10afb6ad309b195e3df01c26ddb111954fc973bddd ssh-agent 01:01:05 SSH_AUTH_SOCK=/tmp/ssh-D03lgN20jU55/agent.31 01:01:05 SSH_AGENT_PID=38 01:01:05 Running ssh-add (command line suppressed) 01:01:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13968177055468483245.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13968177055468483245.key) 01:01:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:05 + git semver tag 01:01:05 2024-02-20 01:01:05,666 [run_tag] DEBUG tag force:False 01:01:05 2024-02-20 01:01:05,666 [check_head_tag] DEBUG check head tag 01:01:05 2024-02-20 01:01:05,667 [execute] INFO git cat-file --batch-check 01:01:05 2024-02-20 01:01:05,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:01:05 2024-02-20 01:01:05,671 [execute] INFO git cat-file --batch 01:01:05 2024-02-20 01:01:05,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:01:05 2024-02-20 01:01:05,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:05 2024-02-20 01:01:05,691 [execute] INFO git tag -a v3.2.0-dev.9 -m v3.2.0-dev.9 01:01:05 2024-02-20 01:01:05,691 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.9', '-m', 'v3.2.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:01:05 2024-02-20 01:01:05,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:05 3.2.0-dev.9 [Pipeline] } 01:01:05 $ docker exec --env ******** --env ******** 5b073f96f2c0511c8ec19a10afb6ad309b195e3df01c26ddb111954fc973bddd ssh-agent -k 01:01:05 unset SSH_AUTH_SOCK; 01:01:05 unset SSH_AGENT_PID; 01:01:05 echo Agent pid 38 killed; 01:01:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:06 + git semver [Pipeline] } 01:01:06 $ docker stop --time=1 5b073f96f2c0511c8ec19a10afb6ad309b195e3df01c26ddb111954fc973bddd 01:01:07 $ docker rm -f --volumes 5b073f96f2c0511c8ec19a10afb6ad309b195e3df01c26ddb111954fc973bddd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:01:08 01:01:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:01:12 0.23.1-centos7: Pulling from edgex-lftools 01:01:12 ab5ef0e58194: Pulling fs layer 01:01:12 9712f1f96733: Pulling fs layer 01:01:12 63f879dbbcfc: Pulling fs layer 01:01:12 0d9ebad4ef96: Pulling fs layer 01:01:12 e9a5061849ea: Pulling fs layer 01:01:12 d747dcd14b5f: Pulling fs layer 01:01:12 2de7ff778b66: Pulling fs layer 01:01:12 e9a5061849ea: Waiting 01:01:12 d747dcd14b5f: Waiting 01:01:12 2de7ff778b66: Waiting 01:01:12 0d9ebad4ef96: Waiting 01:01:12 9712f1f96733: Verifying Checksum 01:01:12 9712f1f96733: Download complete 01:01:13 63f879dbbcfc: Verifying Checksum 01:01:13 63f879dbbcfc: Download complete 01:01:13 e9a5061849ea: Verifying Checksum 01:01:13 e9a5061849ea: Download complete 01:01:13 d747dcd14b5f: Verifying Checksum 01:01:13 d747dcd14b5f: Download complete 01:01:13 0d9ebad4ef96: Verifying Checksum 01:01:13 0d9ebad4ef96: Download complete 01:01:13 2de7ff778b66: Verifying Checksum 01:01:13 2de7ff778b66: Download complete 01:01:13 ab5ef0e58194: Verifying Checksum 01:01:13 ab5ef0e58194: Download complete 01:01:16 ab5ef0e58194: Pull complete 01:01:16 9712f1f96733: Pull complete 01:01:16 63f879dbbcfc: Pull complete 01:01:20 0d9ebad4ef96: Pull complete 01:01:20 e9a5061849ea: Pull complete 01:01:20 d747dcd14b5f: Pull complete 01:01:21 2de7ff778b66: Pull complete 01:01:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:01:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:01:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:21 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 01:01:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:01:26 $ docker top 2c25c29b0a93badb09de816be57e573bbe9fb0645c565106da6138b1f96e1336 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:01:26 provisioning config files... 01:01:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16008949797638632546tmp 01:01:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3290974855310851376tmp 01:01:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7726570259203358259tmp [Pipeline] { [Pipeline] echo 01:01:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:01:27 ---> sigul-configuration.sh 01:01:27 gpg: directory `/root/.gnupg' created 01:01:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:01:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:01:27 gpg: keyring `/root/.gnupg/secring.gpg' created 01:01:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:01:27 gpg: CAST5 encrypted data 01:01:27 gpg: encrypted with 1 passphrase 01:01:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:01:27 + mkdir /home/jenkins 01:01:27 + mkdir /home/jenkins/sigul [Pipeline] sh 01:01:27 + 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 01:01:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:01:28 ---> sigul-install.sh 01:01:28 Sigul already installed; skipping installation. [Pipeline] sh 01:01:28 + git tag --list 01:01:28 v1.0.0 01:01:28 v1.1.0 01:01:28 v1.1.1 01:01:28 v1.1.2 01:01:28 v1.2.0 01:01:28 v1.2.1 01:01:28 v2.0.0 01:01:28 v2.1.0 01:01:28 v2.1.1 01:01:28 v2.2.0 01:01:28 v2.3.0 01:01:28 v3.0 01:01:28 v3.0.0 01:01:28 v3.1 01:01:28 v3.1.0 01:01:28 v3.1.0-dev.1 01:01:28 v3.1.0-dev.10 01:01:28 v3.1.0-dev.11 01:01:28 v3.1.0-dev.12 01:01:28 v3.1.0-dev.13 01:01:28 v3.1.0-dev.14 01:01:28 v3.1.0-dev.15 01:01:28 v3.1.0-dev.16 01:01:28 v3.1.0-dev.17 01:01:28 v3.1.0-dev.18 01:01:28 v3.1.0-dev.19 01:01:28 v3.1.0-dev.2 01:01:28 v3.1.0-dev.20 01:01:28 v3.1.0-dev.21 01:01:28 v3.1.0-dev.22 01:01:28 v3.1.0-dev.23 01:01:28 v3.1.0-dev.24 01:01:28 v3.1.0-dev.25 01:01:28 v3.1.0-dev.26 01:01:28 v3.1.0-dev.27 01:01:28 v3.1.0-dev.28 01:01:28 v3.1.0-dev.29 01:01:28 v3.1.0-dev.3 01:01:28 v3.1.0-dev.30 01:01:28 v3.1.0-dev.31 01:01:28 v3.1.0-dev.32 01:01:28 v3.1.0-dev.4 01:01:28 v3.1.0-dev.5 01:01:28 v3.1.0-dev.6 01:01:28 v3.1.0-dev.7 01:01:28 v3.1.0-dev.8 01:01:28 v3.1.0-dev.9 01:01:28 v3.2.0-dev.1 01:01:28 v3.2.0-dev.2 01:01:28 v3.2.0-dev.3 01:01:28 v3.2.0-dev.4 01:01:28 v3.2.0-dev.5 01:01:28 v3.2.0-dev.6 01:01:28 v3.2.0-dev.7 01:01:28 v3.2.0-dev.8 01:01:28 v3.2.0-dev.9 [Pipeline] sh 01:01:28 + lftools sign git-tag v3.2.0-dev.9 01:01:29 Signing Git tag with Sigul... 01:01:29 Signing v3.2.0-dev.9 [Pipeline] echo 01:01:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:01:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:01:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:01:29 $ docker stop --time=1 2c25c29b0a93badb09de816be57e573bbe9fb0645c565106da6138b1f96e1336 01:01:31 $ docker rm -f --volumes 2c25c29b0a93badb09de816be57e573bbe9fb0645c565106da6138b1f96e1336 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:01:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:01:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:32 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 01:01:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:01:33 $ docker top 7f2bef8f4aa5512fa6d4fbb784d4f09666dba92c70c18a744626fb5293920471 -eo pid,comm 01:01:33 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). 01:01:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:33 [ssh-agent] Looking for ssh-agent implementation... 01:01:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:33 $ docker exec 7f2bef8f4aa5512fa6d4fbb784d4f09666dba92c70c18a744626fb5293920471 ssh-agent 01:01:33 SSH_AUTH_SOCK=/tmp/ssh-fvNmmC47l73s/agent.32 01:01:33 SSH_AGENT_PID=38 01:01:33 Running ssh-add (command line suppressed) 01:01:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13327507502735797089.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13327507502735797089.key) 01:01:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:34 + git semver bump pre 01:01:34 2024-02-20 01:01:34,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:34 2024-02-20 01:01:34,369 [bump_version] DEBUG bumping version:3.2.0-dev.9 on axis:pre with prefix:dev 01:01:34 2024-02-20 01:01:34,370 [bump_version] DEBUG bumped version:3.2.0-dev.10 01:01:34 2024-02-20 01:01:34,370 [write_version] DEBUG write version:3.2.0-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:01:34 2024-02-20 01:01:34,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:34 2024-02-20 01:01:34,370 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:34 2024-02-20 01:01:34,372 [execute] INFO git cat-file --batch-check 01:01:34 2024-02-20 01:01:34,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:01:34 2024-02-20 01:01:34,378 [execute] INFO git cat-file --batch 01:01:34 2024-02-20 01:01:34,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:01:34 2024-02-20 01:01:34,384 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:34 3.2.0-dev.10 [Pipeline] } 01:01:34 $ docker exec --env ******** --env ******** 7f2bef8f4aa5512fa6d4fbb784d4f09666dba92c70c18a744626fb5293920471 ssh-agent -k 01:01:34 unset SSH_AUTH_SOCK; 01:01:34 unset SSH_AGENT_PID; 01:01:34 echo Agent pid 38 killed; 01:01:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:35 + git semver [Pipeline] } 01:01:35 $ docker stop --time=1 7f2bef8f4aa5512fa6d4fbb784d4f09666dba92c70c18a744626fb5293920471 01:01:36 $ docker rm -f --volumes 7f2bef8f4aa5512fa6d4fbb784d4f09666dba92c70c18a744626fb5293920471 [Pipeline] // withDockerContainer [Pipeline] sh 01:01:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:01:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:37 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 01:01:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:01:38 $ docker top c2ff6a287aef1158747441bab05a6ed545521e6b4eeaf8608a95f99b10569696 -eo pid,comm 01:01:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:01:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:38 [ssh-agent] Looking for ssh-agent implementation... 01:01:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:38 $ docker exec c2ff6a287aef1158747441bab05a6ed545521e6b4eeaf8608a95f99b10569696 ssh-agent 01:01:38 SSH_AUTH_SOCK=/tmp/ssh-AmEbyDU1NLjv/agent.32 01:01:38 SSH_AGENT_PID=38 01:01:38 Running ssh-add (command line suppressed) 01:01:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11004334417043204508.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11004334417043204508.key) 01:01:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:39 + git semver push 01:01:39 2024-02-20 01:01:39,207 [run_push] DEBUG push 01:01:39 2024-02-20 01:01:39,208 [execute] INFO git cat-file --batch-check 01:01:39 2024-02-20 01:01:39,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:01:39 2024-02-20 01:01:39,211 [execute] INFO git rev-list 0c930506f96821c024f5796a90e4b39a0378b2fb -- 01:01:39 2024-02-20 01:01:39,211 [execute] DEBUG Popen(['git', 'rev-list', '0c930506f96821c024f5796a90e4b39a0378b2fb', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:01:39 2024-02-20 01:01:39,219 [execute] INFO git fetch -v origin 01:01:39 2024-02-20 01:01:39,220 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:01:39 2024-02-20 01:01:39,709 [run_push] DEBUG no remote changes detected 01:01:39 2024-02-20 01:01:39,710 [execute] INFO git push origin semver 01:01:39 2024-02-20 01:01:39,710 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:01:40 2024-02-20 01:01:40,384 [run_push] DEBUG push all version tags 01:01:40 2024-02-20 01:01:40,384 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:01:40 2024-02-20 01:01:40,385 [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) 01:01:41 2024-02-20 01:01:41,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:01:41 3.2.0-dev.10 [Pipeline] } 01:01:41 $ docker exec --env ******** --env ******** c2ff6a287aef1158747441bab05a6ed545521e6b4eeaf8608a95f99b10569696 ssh-agent -k 01:01:41 unset SSH_AUTH_SOCK; 01:01:41 unset SSH_AGENT_PID; 01:01:41 echo Agent pid 38 killed; 01:01:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:42 + git semver [Pipeline] } 01:01:42 $ docker stop --time=1 c2ff6a287aef1158747441bab05a6ed545521e6b4eeaf8608a95f99b10569696 01:01:43 $ docker rm -f --volumes c2ff6a287aef1158747441bab05a6ed545521e6b4eeaf8608a95f99b10569696 [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 01:01:45 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:01:45 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:01:45 total 16 01:01:45 drwxr-xr-x 3 root root 4096 Feb 20 00:50 . 01:01:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 01:01 .. 01:01:45 drwxr-xr-x 2 root root 4096 Feb 20 00:50 cost 01:01:45 -rw-r--r-- 1 root root 86 Feb 20 00:50 cost.csv 01:01:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:01:45 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:01:45 total 16 01:01:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 00:50 . 01:01:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 01:01 .. 01:01:45 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 00:50 cost 01:01:45 -rw-r--r-- 1 jenkins jenkins 86 Feb 20 00:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:01:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:01:46 ---> package-listing.sh 01:01:46 ++ facter osfamily 01:01:46 ++ tr '[:upper:]' '[:lower:]' 01:01:46 + OS_FAMILY=debian 01:01:46 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:01:46 + START_PACKAGES=/tmp/packages_start.txt 01:01:46 + END_PACKAGES=/tmp/packages_end.txt 01:01:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:01:46 + PACKAGES=/tmp/packages_start.txt 01:01:46 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:01:46 + PACKAGES=/tmp/packages_end.txt 01:01:46 + case "${OS_FAMILY}" in 01:01:46 + dpkg -l 01:01:46 + grep '^ii' 01:01:46 + '[' -f /tmp/packages_start.txt ']' 01:01:46 + '[' -f /tmp/packages_end.txt ']' 01:01:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:01:46 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:01:46 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:01:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:01:46 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 01:01:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:47 prd-ubuntu20.04-docker-8c-8g-1288 does not seem to be running inside a container 01:01:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:01:47 $ docker top 31f85ff4e54042d0cb7152414f228ece4faffbadd4229531c544a684c182d558 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:48 + touch /tmp/pre-build-complete [Pipeline] sh 01:01:48 + mkdir -p /var/log/sysstat [Pipeline] sh 01:01:48 + ls /var/log/sa-host 01:01:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:01:49 provisioning config files... 01:01:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17716374036440933108tmp [Pipeline] { [Pipeline] echo 01:01:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:01:49 ---> create-netrc.sh [Pipeline] } 01:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:01:50 ---> python-tools-install.sh [Pipeline] echo 01:01:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:01:50 ---> sudo-logs.sh 01:01:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:01:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:01:50 ---> job-cost.sh 01:01:50 lf-activate-venv: SKIPPING 01:01:50 DEBUG: total: 0.2199999988079071 01:01:50 INFO: Retrieving Stack Cost... 01:01:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:01:51 INFO: Archiving Costs [Pipeline] echo 01:01:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:01:51 ---> logs-deploy.sh 01:01:51 lf-activate-venv: SKIPPING 01:01:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/161 01:01:51 INFO: archiving workspace using pattern(s): 01:01:52 Archives upload complete. 01:01:52 INFO: archiving logs to Nexus