Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e4c43928dd74877e01497a451c4b89b2b600e8c 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-ssh13845557731861396183.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-ssh12000758311980149327.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-ssh10435605124559448002.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-ssh9671920647162439456.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-ssh16869617857176462208.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-951’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2460’ is offline ‘prd-ubuntu20.04-docker-8c-8g-2488’ is offline ‘prd-ubuntu20.04-docker-8c-8g-2632’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5106’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5115’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5118’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5120’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5045’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-5047’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-5048’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5128 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0e4c43928dd74877e01497a451c4b89b2b600e8c (main) Commit message: "build: Update to latest 3.2.0 dev go-mods (#369)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 > git rev-list --no-walk 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:29:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:29:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:29:22 ========================================================= 20:29:22 EdgeX Global Pipelines Version Info 20:29:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:29:23 ------------------- 20:29:23 stable info: 20:29:23 ------------------- 20:29:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:29:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:29:23 Message: update stable to v1.0.258 20:29:23 ------------------- 20:29:23 experimental info: 20:29:23 ------------------- 20:29:23 Commited By: **** collab-it+edgex@linuxfoundation.org 20:29:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:29:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:29:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:29:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:29:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e4c439 [Pipeline] echo 20:29:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:25 provisioning config files... 20:29:25 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3411848502008843137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:25 ---> ****-login.sh 20:29:25 nexus3.edgexfoundry.org:10001 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 nexus3.edgexfoundry.org:10002 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 nexus3.edgexfoundry.org:10003 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 nexus3.edgexfoundry.org:10004 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 ****.io 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:26 Configure a credential helper to remove this warning. See 20:29:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:26 20:29:26 Login Succeeded 20:29:26 ---> ****-login.sh ends [Pipeline] } 20:29:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:29:27 + git rev-list -1 --merges 0e4c43928dd74877e01497a451c4b89b2b600e8c~1..0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo 20:29:27 -----------> git rev-list -1 --merges 0e4c43928dd74877e01497a451c4b89b2b600e8c~1..0e4c43928dd74877e01497a451c4b89b2b600e8c 0e4c43928dd74877e01497a451c4b89b2b600e8c [false] [Pipeline] sh 20:29:27 + git log --format=format:%s -1 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo 20:29:27 ========================================================= 20:29:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:29:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:28 + git log --format=format:%s -1 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] echo 20:29:28 [semverPrep] GIT_COMMIT: 0e4c43928dd74877e01497a451c4b89b2b600e8c, Commit Message: build: Update to latest 3.2.0 dev go-mods (#369) [Pipeline] echo 20:29:28 [semverPrep] This is not a build commit. [Pipeline] sh 20:29:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:29:28 + grep -v github /etc/ssh/ssh_known_hosts 20:29:28 + [ -e /tmp/ssh_known_hosts ] 20:29:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:29:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:29:28 + sudo tee -a /etc/ssh/ssh_known_hosts 20:29:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:28 20:29:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:29 0.1.4: Pulling from edgex-devops/py-git-semver 20:29:29 b85a868b505f: Pulling fs layer 20:29:29 e2be974225ed: Pulling fs layer 20:29:29 339a4e72a1f5: Pulling fs layer 20:29:29 988bab9f4d93: Pulling fs layer 20:29:29 1469e6f7b9e6: Pulling fs layer 20:29:29 eaf3925da568: Pulling fs layer 20:29:29 bab4dde63d76: Pulling fs layer 20:29:29 bde34c3a00c8: Pulling fs layer 20:29:29 b352a97aabf1: Pulling fs layer 20:29:29 4872d77fe225: Pulling fs layer 20:29:29 5851b861e8e6: Pulling fs layer 20:29:29 bab4dde63d76: Waiting 20:29:29 bde34c3a00c8: Waiting 20:29:29 b352a97aabf1: Waiting 20:29:29 4872d77fe225: Waiting 20:29:29 5851b861e8e6: Waiting 20:29:29 988bab9f4d93: Waiting 20:29:29 1469e6f7b9e6: Waiting 20:29:29 eaf3925da568: Waiting 20:29:29 e2be974225ed: Verifying Checksum 20:29:29 e2be974225ed: Download complete 20:29:29 988bab9f4d93: Verifying Checksum 20:29:29 988bab9f4d93: Download complete 20:29:29 1469e6f7b9e6: Verifying Checksum 20:29:29 1469e6f7b9e6: Download complete 20:29:29 eaf3925da568: Verifying Checksum 20:29:29 eaf3925da568: Download complete 20:29:29 339a4e72a1f5: Download complete 20:29:29 b352a97aabf1: Verifying Checksum 20:29:29 b352a97aabf1: Download complete 20:29:29 4872d77fe225: Verifying Checksum 20:29:29 4872d77fe225: Download complete 20:29:29 5851b861e8e6: Download complete 20:29:29 b85a868b505f: Verifying Checksum 20:29:29 b85a868b505f: Download complete 20:29:29 bab4dde63d76: Verifying Checksum 20:29:29 bab4dde63d76: Download complete 20:29:31 b85a868b505f: Pull complete 20:29:31 e2be974225ed: Pull complete 20:29:31 339a4e72a1f5: Pull complete 20:29:31 988bab9f4d93: Pull complete 20:29:31 1469e6f7b9e6: Pull complete 20:29:31 eaf3925da568: Pull complete 20:29:33 bab4dde63d76: Pull complete 20:29:33 bde34c3a00c8: Pull complete 20:29:34 b352a97aabf1: Pull complete 20:29:34 4872d77fe225: Pull complete 20:29:34 5851b861e8e6: Pull complete 20:29:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:29:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:34 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 20:29:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:29:37 $ docker top 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 -eo pid,comm 20:29:37 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). 20:29:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:37 [ssh-agent] Looking for ssh-agent implementation... 20:29:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:37 $ docker exec 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent 20:29:37 SSH_AUTH_SOCK=/tmp/ssh-OOQW0KVtmH2k/agent.32 20:29:37 SSH_AGENT_PID=38 20:29:37 Running ssh-add (command line suppressed) 20:29:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12614981914698775692.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12614981914698775692.key) 20:29:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:37 + git tag --points-at HEAD [Pipeline] } 20:29:37 $ docker exec --env ******** --env ******** 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent -k 20:29:38 unset SSH_AUTH_SOCK; 20:29:38 unset SSH_AGENT_PID; 20:29:38 echo Agent pid 38 killed; 20:29:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:38 [ssh-agent] Looking for ssh-agent implementation... 20:29:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:38 $ docker exec 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent 20:29:38 SSH_AUTH_SOCK=/tmp/ssh-d74AmxnDBM86/agent.70 20:29:38 SSH_AGENT_PID=76 20:29:38 Running ssh-add (command line suppressed) 20:29:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10510878912144713280.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10510878912144713280.key) 20:29:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:38 + git semver init 20:29:39 2023-11-28 20:29:38,922 [run_init] DEBUG init version:0.0.0 force:False 20:29:39 2023-11-28 20:29:38,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:29:39 2023-11-28 20:29:38,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:29:39 2023-11-28 20:29:38,923 [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) 20:29:40 2023-11-28 20:29:40,533 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:29:40 2023-11-28 20:29:40,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:29:40 2023-11-28 20:29:40,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:29:40 2023-11-28 20:29:40,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:29:40 3.2.0-dev.1 [Pipeline] } 20:29:40 $ docker exec --env ******** --env ******** 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 ssh-agent -k 20:29:41 unset SSH_AUTH_SOCK; 20:29:41 unset SSH_AGENT_PID; 20:29:41 echo Agent pid 76 killed; 20:29:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:41 + git semver [Pipeline] } 20:29:41 $ docker stop --time=1 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 20:29:43 $ docker rm -f --volumes 0de78432945bde47f55e8b669b2b9a0e93d4405ce4215a902ab97f6a9c3e79a9 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:44 Stashed 1 file(s) [Pipeline] echo 20:29:44 [edgeXSemver]: initialized semver on version 3.2.0-dev.1 [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 20:29:44 provisioning config files... 20:29:44 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18064849214838827860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:44 ---> ****-login.sh 20:29:44 nexus3.edgexfoundry.org:10001 20:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:44 Configure a credential helper to remove this warning. See 20:29:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:44 20:29:44 Login Succeeded 20:29:44 nexus3.edgexfoundry.org:10002 20:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:44 Configure a credential helper to remove this warning. See 20:29:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:44 20:29:44 Login Succeeded 20:29:44 nexus3.edgexfoundry.org:10003 20:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:45 Configure a credential helper to remove this warning. See 20:29:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:45 20:29:45 Login Succeeded 20:29:45 nexus3.edgexfoundry.org:10004 20:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:45 Configure a credential helper to remove this warning. See 20:29:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:45 20:29:45 Login Succeeded 20:29:45 ****.io 20:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:45 Configure a credential helper to remove this warning. See 20:29:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:45 20:29:45 Login Succeeded 20:29:45 ---> ****-login.sh ends [Pipeline] } 20:29:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:45 ========================================================= 20:29:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:29:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:46 + 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 . 20:29:46 Sending build context to Docker daemon 16.34MB 20:29:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:29:46 Step 2/12 : FROM ${BASE} AS builder 20:29:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:46 7264a8db6415: Pulling fs layer 20:29:46 c4d48a809fc2: Pulling fs layer 20:29:46 4f1c88b9dad5: Pulling fs layer 20:29:46 ad3a456e5733: Pulling fs layer 20:29:46 69c7f0334f64: Pulling fs layer 20:29:46 1f1c1a5573a3: Pulling fs layer 20:29:46 ce7588e14bc9: Pulling fs layer 20:29:46 69c7f0334f64: Waiting 20:29:46 ad3a456e5733: Waiting 20:29:46 1f1c1a5573a3: Waiting 20:29:46 b5e4710f87ac: Pulling fs layer 20:29:46 ce7588e14bc9: Waiting 20:29:46 c4d48a809fc2: Verifying Checksum 20:29:46 c4d48a809fc2: Download complete 20:29:46 ad3a456e5733: Verifying Checksum 20:29:46 ad3a456e5733: Download complete 20:29:46 69c7f0334f64: Verifying Checksum 20:29:46 69c7f0334f64: Download complete 20:29:46 7264a8db6415: Download complete 20:29:46 1f1c1a5573a3: Verifying Checksum 20:29:46 1f1c1a5573a3: Download complete 20:29:46 7264a8db6415: Pull complete 20:29:46 b5e4710f87ac: Verifying Checksum 20:29:46 c4d48a809fc2: Pull complete 20:29:46 4f1c88b9dad5: Verifying Checksum 20:29:46 4f1c88b9dad5: Download complete 20:29:47 ce7588e14bc9: Verifying Checksum 20:29:47 ce7588e14bc9: Download complete 20:29:50 4f1c88b9dad5: Pull complete 20:29:50 ad3a456e5733: Pull complete 20:29:50 69c7f0334f64: Pull complete 20:29:50 1f1c1a5573a3: Pull complete 20:29:52 ce7588e14bc9: Pull complete 20:29:53 b5e4710f87ac: Pull complete 20:29:53 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:29:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:29:53 ---> 88b5674ff536 20:29:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:29:56 ---> Running in 395f4de96f1b 20:29:56 Removing intermediate container 395f4de96f1b 20:29:56 ---> 6afdb4a3eef1 20:29:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:56 ---> Running in 8f3d8305f977 20:29:56 Removing intermediate container 8f3d8305f977 20:29:56 ---> 3a9632ac4b28 20:29:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:29:56 ---> Running in d5c0ec4d353c 20:29:57 Removing intermediate container d5c0ec4d353c 20:29:57 ---> 7a13ba2145ac 20:29:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:29:57 ---> Running in 960b69c2b96c 20:29:57 Removing intermediate container 960b69c2b96c 20:29:57 ---> 1fb1bde3dcf2 20:29:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:57 ---> Running in 5190742d9904 20:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:57 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:29:57 (2/4) Installing libedit (20221030.3.1-r1) 20:29:57 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:29:57 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:29:57 Executing busybox-1.36.1-r5.trigger 20:29:57 OK: 268 MiB in 56 packages 20:29:58 Removing intermediate container 5190742d9904 20:29:58 ---> 78d797afd20a 20:29:58 Step 8/12 : WORKDIR /device-rest-go 20:29:58 ---> Running in 0722dbd7a66a 20:29:58 Removing intermediate container 0722dbd7a66a 20:29:58 ---> 8e21b850bd15 20:29:58 Step 9/12 : COPY go.mod vendor* ./ 20:29:58 ---> 401a4aa8e32f 20:29:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:58 ---> Running in 80afcd97c469 20:29:59 Still waiting to schedule task 20:29:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:30:37 Removing intermediate container 80afcd97c469 20:30:37 ---> 73da7a85c00f 20:30:37 Step 11/12 : COPY . . 20:30:37 ---> 558ef6d3ff5b 20:30:37 Step 12/12 : RUN $MAKE 20:30:37 ---> Running in 84129a13a8e8 20:30:37 noop 20:30:37 Removing intermediate container 84129a13a8e8 20:30:37 ---> f9851f8799ae 20:30:37 Successfully built f9851f8799ae 20:30:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:37 + docker inspect -f . ci-base-image-x86_64 20:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:38 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 20:30:38 $ 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 20:30:38 $ docker top 15fcbecf0482cd48457909a5cd59b592cab406a0cd5f949be58fd26d9e49184e -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:38 + go version 20:30:38 go version go1.21.0 linux/amd64 [Pipeline] } 20:30:38 $ docker stop --time=1 15fcbecf0482cd48457909a5cd59b592cab406a0cd5f949be58fd26d9e49184e 20:30:40 $ docker rm -f --volumes 15fcbecf0482cd48457909a5cd59b592cab406a0cd5f949be58fd26d9e49184e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:40 + docker inspect -f . ci-base-image-x86_64 20:30:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:40 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 20:30:40 $ 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 20:30:41 $ docker top a154129e83c2f4e8425b025555ee99429d0561812101b489a35998b4ed7756d6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:30:41 + make test 20:30:41 go test ./... -coverprofile=coverage.out ./... 20:30:43 ? github.com/edgexfoundry/device-rest-go [no test files] 20:30:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:30:52 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:30:58 go vet ./... 20:31:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:31:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:31:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:31:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:31:01 $ docker stop --time=1 a154129e83c2f4e8425b025555ee99429d0561812101b489a35998b4ed7756d6 20:31:03 $ docker rm -f --volumes a154129e83c2f4e8425b025555ee99429d0561812101b489a35998b4ed7756d6 [Pipeline] // withDockerContainer [Pipeline] sh 20:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:31:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:31:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:31:05 + ls -al . 20:31:05 total 180 20:31:05 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:30 . 20:31:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:29 .. 20:31:05 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 20:29 .dockerignore 20:31:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:30 .git 20:31:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:29 .github 20:31:05 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:29 .gitignore 20:31:05 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:29 .golangci.yml 20:31:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:29 .semver 20:31:05 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 20:29 Attribution.txt 20:31:05 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 20:29 CHANGELOG.md 20:31:05 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 20:29 Dockerfile 20:31:05 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:29 GOVERNANCE.md 20:31:05 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 20:29 Jenkinsfile 20:31:05 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:29 LICENSE 20:31:05 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 20:29 Makefile 20:31:05 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:29 OWNERS.md 20:31:05 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 20:29 README.md 20:31:05 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:29 VERSION 20:31:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:29 bin 20:31:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:29 cmd 20:31:05 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:30 coverage.out 20:31:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:29 driver 20:31:05 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 20:29 go.mod 20:31:05 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 20:29 go.sum 20:31:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:29 openapi 20:31:05 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:05 + 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=0e4c43928dd74877e01497a451c4b89b2b600e8c --label arch=amd64 --label version=3.2.0-dev.1 . 20:31:05 Sending build context to Docker daemon 16.36MB 20:31:05 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:31:05 Step 2/26 : FROM ${BASE} AS builder 20:31:05 ---> f9851f8799ae 20:31:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:31:05 ---> Running in 867ef00f7d1e 20:31:05 Removing intermediate container 867ef00f7d1e 20:31:05 ---> d5ffe247e17b 20:31:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:31:05 ---> Running in cc3bac0deed5 20:31:05 Removing intermediate container cc3bac0deed5 20:31:05 ---> f06bdc49bd10 20:31:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:31:05 ---> Running in 934e2f58a96a 20:31:06 Removing intermediate container 934e2f58a96a 20:31:06 ---> 2f3610557304 20:31:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:31:06 ---> Running in da84c4ee9797 20:31:06 Removing intermediate container da84c4ee9797 20:31:06 ---> 3554fd315f06 20:31:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:31:06 ---> Running in 6ebf8ccc9f14 20:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:07 OK: 268 MiB in 56 packages 20:31:07 Removing intermediate container 6ebf8ccc9f14 20:31:07 ---> 5ca7d693d9d0 20:31:07 Step 8/26 : WORKDIR /device-rest-go 20:31:07 ---> Running in f43d36aed4ad 20:31:07 Removing intermediate container f43d36aed4ad 20:31:07 ---> df799be00b02 20:31:07 Step 9/26 : COPY go.mod vendor* ./ 20:31:07 ---> d05ee488d7d9 20:31:07 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:07 ---> Running in 0bc98bcd4fb9 20:31:08 Removing intermediate container 0bc98bcd4fb9 20:31:08 ---> 328eb8444bfb 20:31:08 Step 11/26 : COPY . . 20:31:09 ---> 1e063ca56ff3 20:31:09 Step 12/26 : RUN $MAKE 20:31:09 ---> Running in 462824a84d35 20:31:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:31:27 Removing intermediate container 462824a84d35 20:31:27 ---> f04c87d328e3 20:31:27 Step 13/26 : FROM alpine:3.18 20:31:28 3.18: Pulling from library/alpine 20:31:28 96526aa774ef: Pulling fs layer 20:31:28 96526aa774ef: Verifying Checksum 20:31:28 96526aa774ef: Download complete 20:31:28 96526aa774ef: Pull complete 20:31:28 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:31:28 Status: Downloaded newer image for alpine:3.18 20:31:28 ---> 8ca4688f4f35 20:31:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:31:28 ---> Running in 946c33af2132 20:31:28 Removing intermediate container 946c33af2132 20:31:28 ---> a7cb23bcdb18 20:31:28 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:31:28 ---> Running in ca2aaa4274a0 20:31:28 Removing intermediate container ca2aaa4274a0 20:31:28 ---> 7b8a0b28bdef 20:31:28 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:31:29 ---> Running in 30397850dcf3 20:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:29 (1/1) Installing dumb-init (1.2.5-r2) 20:31:29 Executing busybox-1.36.1-r2.trigger 20:31:29 OK: 7 MiB in 16 packages 20:31:29 Removing intermediate container 30397850dcf3 20:31:29 ---> 9f6516fcef8c 20:31:29 Step 17/26 : RUN apk --no-cache upgrade 20:31:29 ---> Running in 57d43a225841 20:31:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:30 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:31:30 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:31:30 Executing busybox-1.36.1-r5.post-upgrade 20:31:30 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:31:30 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:31:30 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:31:30 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:31:30 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:31:30 Executing busybox-1.36.1-r5.trigger 20:31:30 OK: 7 MiB in 16 packages 20:31:30 Removing intermediate container 57d43a225841 20:31:30 ---> 952660981271 20:31:30 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:31:31 ---> 8fb94d17985f 20:31:31 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:31:31 ---> 46d514133b2a 20:31:31 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:31:31 ---> 91137b52fa1c 20:31:31 Step 21/26 : EXPOSE 59986 20:31:32 ---> Running in 4c0f80d6d67e 20:31:32 Removing intermediate container 4c0f80d6d67e 20:31:32 ---> 80e6e8ca1283 20:31:32 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:31:32 ---> Running in 936a61eecc45 20:31:32 Removing intermediate container 936a61eecc45 20:31:32 ---> 966ec330b4d3 20:31:32 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:31:32 ---> Running in 79cf1ae04e94 20:31:32 Removing intermediate container 79cf1ae04e94 20:31:32 ---> 2c4073d67ff8 20:31:32 Step 24/26 : LABEL arch=amd64 20:31:32 ---> Running in 44d3529f222d 20:31:32 Removing intermediate container 44d3529f222d 20:31:32 ---> 836776259567 20:31:32 Step 25/26 : LABEL git_sha=0e4c43928dd74877e01497a451c4b89b2b600e8c 20:31:32 ---> Running in 5f72b4f554b1 20:31:32 Removing intermediate container 5f72b4f554b1 20:31:32 ---> abed22dbc627 20:31:32 Step 26/26 : LABEL version=3.2.0-dev.1 20:31:32 ---> Running in 773ccd507b7b 20:31:32 Removing intermediate container 773ccd507b7b 20:31:32 ---> bfbdd6820560 20:31:32 [Warning] One or more build-args [ARCH] were not consumed 20:31:32 Successfully built bfbdd6820560 20:31:32 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:32 provisioning config files... 20:31:32 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14423356092966740345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:33 ---> ****-login.sh 20:31:33 nexus3.edgexfoundry.org:10001 20:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:33 Configure a credential helper to remove this warning. See 20:31:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:33 20:31:33 Login Succeeded 20:31:33 nexus3.edgexfoundry.org:10002 20:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:33 Configure a credential helper to remove this warning. See 20:31:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:33 20:31:33 Login Succeeded 20:31:33 nexus3.edgexfoundry.org:10003 20:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:33 Configure a credential helper to remove this warning. See 20:31:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:33 20:31:33 Login Succeeded 20:31:33 nexus3.edgexfoundry.org:10004 20:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:33 Configure a credential helper to remove this warning. See 20:31:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:33 20:31:33 Login Succeeded 20:31:33 ****.io 20:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:33 Configure a credential helper to remove this warning. See 20:31:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:33 20:31:33 Login Succeeded 20:31:33 ---> ****-login.sh ends [Pipeline] } 20:31:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:31:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:31:33 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:31:33 0e4c43928dd74877e01497a451c4b89b2b600e8c 20:31:33 latest 20:31:33 3.2.0-dev.1 20:31:33 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 20:31:33 main 20:31:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c 20:31:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:31:34 306a707ef0a6: Preparing 20:31:34 f55ae9a0da19: Preparing 20:31:34 08bea6532aa8: Preparing 20:31:34 69b91300a0b2: Preparing 20:31:34 e69eb5d59f01: Preparing 20:31:34 cc2447e1835a: Preparing 20:31:34 cc2447e1835a: Waiting 20:31:34 f55ae9a0da19: Pushed 20:31:34 306a707ef0a6: Pushed 20:31:34 e69eb5d59f01: Pushed 20:31:34 cc2447e1835a: Layer already exists 20:31:35 69b91300a0b2: Pushed 20:31:37 08bea6532aa8: Pushed 20:31:37 0e4c43928dd74877e01497a451c4b89b2b600e8c: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:31:38 306a707ef0a6: Preparing 20:31:38 f55ae9a0da19: Preparing 20:31:38 08bea6532aa8: Preparing 20:31:38 69b91300a0b2: Preparing 20:31:38 e69eb5d59f01: Preparing 20:31:38 cc2447e1835a: Preparing 20:31:38 cc2447e1835a: Waiting 20:31:38 f55ae9a0da19: Layer already exists 20:31:38 e69eb5d59f01: Layer already exists 20:31:38 69b91300a0b2: Layer already exists 20:31:38 306a707ef0a6: Layer already exists 20:31:38 08bea6532aa8: Layer already exists 20:31:38 cc2447e1835a: Layer already exists 20:31:38 latest: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.1 20:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:31:38 306a707ef0a6: Preparing 20:31:38 f55ae9a0da19: Preparing 20:31:38 08bea6532aa8: Preparing 20:31:38 69b91300a0b2: Preparing 20:31:38 e69eb5d59f01: Preparing 20:31:38 cc2447e1835a: Preparing 20:31:38 cc2447e1835a: Waiting 20:31:38 69b91300a0b2: Layer already exists 20:31:38 f55ae9a0da19: Layer already exists 20:31:38 306a707ef0a6: Layer already exists 20:31:38 e69eb5d59f01: Layer already exists 20:31:38 08bea6532aa8: Layer already exists 20:31:38 cc2447e1835a: Layer already exists 20:31:38 3.2.0-dev.1: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 20:31:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:31:39 306a707ef0a6: Preparing 20:31:39 f55ae9a0da19: Preparing 20:31:39 08bea6532aa8: Preparing 20:31:39 69b91300a0b2: Preparing 20:31:39 e69eb5d59f01: Preparing 20:31:39 cc2447e1835a: Preparing 20:31:39 cc2447e1835a: Waiting 20:31:39 69b91300a0b2: Layer already exists 20:31:39 08bea6532aa8: Layer already exists 20:31:39 f55ae9a0da19: Layer already exists 20:31:39 306a707ef0a6: Layer already exists 20:31:39 e69eb5d59f01: Layer already exists 20:31:39 cc2447e1835a: Layer already exists 20:31:39 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:31:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:31:40 306a707ef0a6: Preparing 20:31:40 f55ae9a0da19: Preparing 20:31:40 08bea6532aa8: Preparing 20:31:40 69b91300a0b2: Preparing 20:31:40 e69eb5d59f01: Preparing 20:31:40 cc2447e1835a: Preparing 20:31:40 cc2447e1835a: Waiting 20:31:40 69b91300a0b2: Layer already exists 20:31:40 306a707ef0a6: Layer already exists 20:31:40 08bea6532aa8: Layer already exists 20:31:40 f55ae9a0da19: Layer already exists 20:31:40 e69eb5d59f01: Layer already exists 20:31:40 cc2447e1835a: Layer already exists 20:31:40 main: digest: sha256:277685ad5875281f6a41cfc410bf5a97a8238dfc396a12de337a3abd48f751e5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:31:40 ===================================================== [Pipeline] echo 20:31:40 taggedImages: 20:31:40 - nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c 20:31:40 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:31:40 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.1 20:31:40 - nexus3.edgexfoundry.org:10004/device-rest:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 20:31:40 - 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 20:31:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:41 20:31:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:42 latest: Pulling from edgex-lftools-log-publisher 20:31:42 5eb5b503b376: Pulling fs layer 20:31:42 5c69ac0246d0: Pulling fs layer 20:31:42 ec43610c2a17: Pulling fs layer 20:31:42 3a2ae6a8a46f: Pulling fs layer 20:31:42 33b1e0a273af: Pulling fs layer 20:31:42 5d3b04190fa2: Pulling fs layer 20:31:42 2f39f015ded8: Pulling fs layer 20:31:42 3a2ae6a8a46f: Waiting 20:31:42 33b1e0a273af: Waiting 20:31:42 5d3b04190fa2: Waiting 20:31:42 2f39f015ded8: Waiting 20:31:42 5c69ac0246d0: Verifying Checksum 20:31:42 5c69ac0246d0: Download complete 20:31:42 3a2ae6a8a46f: Verifying Checksum 20:31:42 3a2ae6a8a46f: Download complete 20:31:42 33b1e0a273af: Verifying Checksum 20:31:42 33b1e0a273af: Download complete 20:31:42 5d3b04190fa2: Verifying Checksum 20:31:42 5d3b04190fa2: Download complete 20:31:42 ec43610c2a17: Verifying Checksum 20:31:42 ec43610c2a17: Download complete 20:31:42 5eb5b503b376: Verifying Checksum 20:31:42 5eb5b503b376: Download complete 20:31:43 2f39f015ded8: Download complete 20:31:43 5eb5b503b376: Pull complete 20:31:43 5c69ac0246d0: Pull complete 20:31:44 ec43610c2a17: Pull complete 20:31:44 3a2ae6a8a46f: Pull complete 20:31:44 33b1e0a273af: Pull complete 20:31:44 5d3b04190fa2: Pull complete 20:31:48 2f39f015ded8: Pull complete 20:31:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:31:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:49 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 20:31:49 $ 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 20:31:53 $ docker top 8670f9bb0e1c5eb2d654e9f0701ea65c0711e1beb2b3882c3ca2cd32e47fe32b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:53 ---> job-cost.sh 20:31:53 lf-activate-venv: SKIPPING 20:31:53 INFO: No Stack... 20:31:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:31:54 INFO: Archiving Costs [Pipeline] sh 20:31:54 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:31:54 + cut -d, -f6 [Pipeline] lock 20:31:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] 20:31:54 Resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] did not exist. Created. 20:31:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:31:54 Stashed 1 file(s) [Pipeline] } 20:31:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:54 $ docker stop --time=1 8670f9bb0e1c5eb2d654e9f0701ea65c0711e1beb2b3882c3ca2cd32e47fe32b 20:31:56 $ docker rm -f --volumes 8670f9bb0e1c5eb2d654e9f0701ea65c0711e1beb2b3882c3ca2cd32e47fe32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:16:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7682 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:16:56 Running in /w/workspace/device-rest-go/153 [Pipeline] { [Pipeline] checkout 21:16:56 The recommended git tool is: git 21:17:01 using credential edgex-jenkins-ssh 21:17:01 Cloning the remote Git repository 21:17:01 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:17:01 > git init /w/workspace/device-rest-go/153 # timeout=10 21:17:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:17:02 > git --version # timeout=10 21:17:02 > git --version # 'git version 2.25.1' 21:17:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:17:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:05 Avoid second fetch 21:17:05 Checking out Revision 0e4c43928dd74877e01497a451c4b89b2b600e8c (main) 21:17:06 Commit message: "build: Update to latest 3.2.0 dev go-mods (#369)" [Pipeline] withEnv [Pipeline] { 21:17:05 > git config core.sparsecheckout # timeout=10 21:17:05 > git checkout -f 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:17:07 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:07 Dload Upload Total Spent Left Speed 21:17:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 229k [Pipeline] sh 21:17:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:17:07 + sudo tee /etc/docker/daemon.new 21:17:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:17:07 { 21:17:07 "registry-mirrors": [ 21:17:07 "https://nexus3.edgexfoundry.org:10001" 21:17:07 ], 21:17:07 "bip": "10.250.0.254/24", 21:17:07 "hosts": [ 21:17:07 "tcp://0.0.0.0:5555", 21:17:07 "unix:///var/run/docker.sock" 21:17:07 ], 21:17:07 "mtu": 1458, 21:17:07 "selinux-enabled": true, 21:17:07 "seccomp-profile": "/etc/docker/seccomp.json" 21:17:07 } [Pipeline] sh 21:17:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:17:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:26 provisioning config files... 21:17:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/153@tmp/config7568833461293631383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:27 ---> ****-login.sh 21:17:27 nexus3.edgexfoundry.org:10001 21:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:17:28 Configure a credential helper to remove this warning. See 21:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:17:28 21:17:28 Login Succeeded 21:17:28 nexus3.edgexfoundry.org:10002 21:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:17:28 Configure a credential helper to remove this warning. See 21:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:17:28 21:17:28 Login Succeeded 21:17:28 nexus3.edgexfoundry.org:10003 21:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:17:28 Configure a credential helper to remove this warning. See 21:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:17:28 21:17:28 Login Succeeded 21:17:28 nexus3.edgexfoundry.org:10004 21:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:17:29 Configure a credential helper to remove this warning. See 21:17:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:17:29 21:17:29 Login Succeeded 21:17:29 ****.io 21:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:17:30 Configure a credential helper to remove this warning. See 21:17:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:17:30 21:17:30 Login Succeeded 21:17:30 ---> ****-login.sh ends [Pipeline] } 21:17:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:17:30 ========================================================= 21:17:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:17:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:17:31 Sending build context to Docker daemon 127.5kB 21:17:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:17:31 Step 2/12 : FROM ${BASE} AS builder 21:17:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:17:31 9fda8d8052c6: Pulling fs layer 21:17:31 5d54e960e981: Pulling fs layer 21:17:31 c4a7e357bf2a: Pulling fs layer 21:17:31 f0e02332f6b5: Pulling fs layer 21:17:31 872ee5b61b7b: Pulling fs layer 21:17:31 0c6a40ed1a82: Pulling fs layer 21:17:31 94ae7d8d031c: Pulling fs layer 21:17:31 f0e02332f6b5: Waiting 21:17:31 872ee5b61b7b: Waiting 21:17:31 0c6a40ed1a82: Waiting 21:17:31 94ae7d8d031c: Waiting 21:17:31 5d54e960e981: Verifying Checksum 21:17:31 5d54e960e981: Download complete 21:17:31 f0e02332f6b5: Verifying Checksum 21:17:31 f0e02332f6b5: Download complete 21:17:31 872ee5b61b7b: Verifying Checksum 21:17:31 872ee5b61b7b: Download complete 21:17:31 9fda8d8052c6: Download complete 21:17:32 94ae7d8d031c: Verifying Checksum 21:17:32 94ae7d8d031c: Download complete 21:17:32 9fda8d8052c6: Pull complete 21:17:33 5d54e960e981: Pull complete 21:17:33 c4a7e357bf2a: Verifying Checksum 21:17:33 c4a7e357bf2a: Download complete 21:17:34 0c6a40ed1a82: Verifying Checksum 21:17:34 0c6a40ed1a82: Download complete 21:17:47 c4a7e357bf2a: Pull complete 21:17:47 f0e02332f6b5: Pull complete 21:17:47 872ee5b61b7b: Pull complete 21:17:55 0c6a40ed1a82: Pull complete 21:17:57 94ae7d8d031c: Pull complete 21:17:57 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:17:57 ---> 86de565de09d 21:17:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:17:57 ---> Running in 53737fb9eb72 21:17:58 Removing intermediate container 53737fb9eb72 21:17:58 ---> b66d45d3cd40 21:17:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:58 ---> Running in abd8a4c37666 21:17:58 Removing intermediate container abd8a4c37666 21:17:58 ---> 30ca94e3b36c 21:17:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:17:58 ---> Running in 315a18bfdce8 21:17:59 Removing intermediate container 315a18bfdce8 21:17:59 ---> 9150239431db 21:17:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:17:59 ---> Running in ff42f519a592 21:17:59 Removing intermediate container ff42f519a592 21:17:59 ---> 8a20cb32d54d 21:17:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:59 ---> Running in 4434f560022b 21:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:18:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:18:02 (2/4) Installing libedit (20221030.3.1-r1) 21:18:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:18:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:18:02 Executing busybox-1.36.1-r5.trigger 21:18:02 OK: 271 MiB in 56 packages 21:18:06 Removing intermediate container 4434f560022b 21:18:06 ---> daa2ce5e0f25 21:18:06 Step 8/12 : WORKDIR /device-rest-go 21:18:06 ---> Running in b1a98f47ced8 21:18:06 Removing intermediate container b1a98f47ced8 21:18:06 ---> 5b9bc1199ab6 21:18:06 Step 9/12 : COPY go.mod vendor* ./ 21:18:07 ---> 8bb04db753ec 21:18:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:07 ---> Running in b6227430e767 21:19:29 Removing intermediate container b6227430e767 21:19:29 ---> 3a57f61d79c9 21:19:29 Step 11/12 : COPY . . 21:19:29 ---> b3758ad7e274 21:19:29 Step 12/12 : RUN $MAKE 21:19:29 ---> Running in f6a0a9927263 21:19:29 noop 21:19:29 Removing intermediate container f6a0a9927263 21:19:29 ---> 977263def456 21:19:29 Successfully built 977263def456 21:19:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:30 + docker inspect -f . ci-base-image-arm64 21:19:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:30 prd-ubuntu20.04-docker-arm64-4c-16g-7682 does not seem to be running inside a container 21:19:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/153 -v /w/workspace/device-rest-go/153:/w/workspace/device-rest-go/153:rw,z -v /w/workspace/device-rest-go/153@tmp:/w/workspace/device-rest-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:19:35 $ docker top 9c384710fc74e9a2c6853aca90f6681782f1cb0c3955f542ffd9aeeaf38841de -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:36 + go version 21:19:36 go version go1.21.0 linux/arm64 [Pipeline] } 21:19:36 $ docker stop --time=1 9c384710fc74e9a2c6853aca90f6681782f1cb0c3955f542ffd9aeeaf38841de 21:19:38 $ docker rm -f --volumes 9c384710fc74e9a2c6853aca90f6681782f1cb0c3955f542ffd9aeeaf38841de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:39 + docker inspect -f . ci-base-image-arm64 21:19:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:39 prd-ubuntu20.04-docker-arm64-4c-16g-7682 does not seem to be running inside a container 21:19:39 $ 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/153 -v /w/workspace/device-rest-go/153:/w/workspace/device-rest-go/153:rw,z -v /w/workspace/device-rest-go/153@tmp:/w/workspace/device-rest-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:19:40 $ docker top 95b71f1dc8a144a3c9a9ef3f619159d0ddca78688329ad3042e837befc51d462 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:41 + git config --global --add safe.directory /w/workspace/device-rest-go/153 [Pipeline] fileExists [Pipeline] sh 21:19:41 + make test 21:19:41 go test ./... -coverprofile=coverage.out ./... 21:19:46 ? github.com/edgexfoundry/device-rest-go [no test files] 21:21:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:21:22 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements 21:21:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:21:22 go vet ./... 21:21:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:21:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:21:49 ./bin/test-attribution-txt.sh [Pipeline] echo 21:21:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:21:49 $ docker stop --time=1 95b71f1dc8a144a3c9a9ef3f619159d0ddca78688329ad3042e837befc51d462 21:21:51 $ docker rm -f --volumes 95b71f1dc8a144a3c9a9ef3f619159d0ddca78688329ad3042e837befc51d462 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:21:52 Warning: overwriting stash ‘coverage-report’ 21:21:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:21:54 + ls -al . 21:21:54 total 176 21:21:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 21:19 . 21:21:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 21:17 .. 21:21:54 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 21:17 .dockerignore 21:21:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 21:17 .git 21:21:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 21:17 .github 21:21:54 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 21:17 .gitignore 21:21:54 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 21:17 .golangci.yml 21:21:54 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 21:17 Attribution.txt 21:21:54 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 21:17 CHANGELOG.md 21:21:54 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 21:17 Dockerfile 21:21:54 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 21:17 GOVERNANCE.md 21:21:54 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 21:17 Jenkinsfile 21:21:54 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 21:17 LICENSE 21:21:54 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 21:17 Makefile 21:21:54 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 21:17 OWNERS.md 21:21:54 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 21:17 README.md 21:21:54 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:29 VERSION 21:21:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 21:17 bin 21:21:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 21:17 cmd 21:21:54 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 21:21 coverage.out 21:21:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 21:17 driver 21:21:54 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 21:17 go.mod 21:21:54 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 21:17 go.sum 21:21:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 21:17 openapi 21:21:54 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 21:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:54 + 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=0e4c43928dd74877e01497a451c4b89b2b600e8c --label arch=arm64 --label version=3.2.0-dev.1 . 21:21:54 Sending build context to Docker daemon 142.8kB 21:21:55 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:21:55 Step 2/26 : FROM ${BASE} AS builder 21:21:55 ---> 977263def456 21:21:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:21:55 ---> Running in 440b87daab05 21:21:55 Removing intermediate container 440b87daab05 21:21:55 ---> 996fea8c32af 21:21:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:55 ---> Running in 30136025b4a9 21:21:55 Removing intermediate container 30136025b4a9 21:21:55 ---> 93bae94b42b7 21:21:55 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:21:55 ---> Running in d44175860558 21:21:56 Removing intermediate container d44175860558 21:21:56 ---> c8027aa26dc8 21:21:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:21:56 ---> Running in c520ddc1ca0b 21:21:56 Removing intermediate container c520ddc1ca0b 21:21:56 ---> 207d8486b458 21:21:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:56 ---> Running in 6a7eddb9118c 21:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:21:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:21:59 OK: 271 MiB in 56 packages 21:22:04 Removing intermediate container 6a7eddb9118c 21:22:04 ---> 588bd5d7551c 21:22:04 Step 8/26 : WORKDIR /device-rest-go 21:22:04 ---> Running in fbc4c1531132 21:22:04 Removing intermediate container fbc4c1531132 21:22:04 ---> ae8a78560f85 21:22:04 Step 9/26 : COPY go.mod vendor* ./ 21:22:05 ---> e50a8be0f9dd 21:22:05 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:05 ---> Running in fdc949f62891 21:22:07 Removing intermediate container fdc949f62891 21:22:07 ---> 9ea76ab31348 21:22:07 Step 11/26 : COPY . . 21:22:08 ---> ada20c322f60 21:22:08 Step 12/26 : RUN $MAKE 21:22:08 ---> Running in 9396d88b808a 21:22:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:24:00 Removing intermediate container 9396d88b808a 21:24:00 ---> 7cf7dd987e5b 21:24:00 Step 13/26 : FROM alpine:3.18 21:24:00 3.18: Pulling from library/alpine 21:24:01 579b34f0a95b: Pulling fs layer 21:24:02 579b34f0a95b: Verifying Checksum 21:24:02 579b34f0a95b: Download complete 21:24:02 579b34f0a95b: Pull complete 21:24:02 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:24:02 Status: Downloaded newer image for alpine:3.18 21:24:02 ---> 3cc203321400 21:24:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:24:02 ---> Running in 4dd91c63d1b3 21:24:03 Removing intermediate container 4dd91c63d1b3 21:24:03 ---> 592a80e4a895 21:24:03 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:24:03 ---> Running in 7c1748542479 21:24:03 Removing intermediate container 7c1748542479 21:24:03 ---> 1d829a915125 21:24:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:24:03 ---> Running in 737a0e58af97 21:24:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:24:06 (1/1) Installing dumb-init (1.2.5-r2) 21:24:06 Executing busybox-1.36.1-r2.trigger 21:24:06 OK: 8 MiB in 16 packages 21:24:07 Removing intermediate container 737a0e58af97 21:24:07 ---> 6f150b1b8ecb 21:24:07 Step 17/26 : RUN apk --no-cache upgrade 21:24:07 ---> Running in e92b9b859cda 21:24:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:24:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:24:09 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:24:09 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:24:09 Executing busybox-1.36.1-r5.post-upgrade 21:24:09 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:24:09 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:24:09 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:24:09 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:24:09 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:24:09 Executing busybox-1.36.1-r5.trigger 21:24:09 OK: 8 MiB in 16 packages 21:24:10 Removing intermediate container e92b9b859cda 21:24:10 ---> e06e7a72d28a 21:24:10 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:24:12 ---> 6c91a296bef5 21:24:12 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:24:15 ---> 2b8da55b443f 21:24:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:24:16 ---> 3d1c3e7686c7 21:24:16 Step 21/26 : EXPOSE 59986 21:24:16 ---> Running in 8f66fe982e6a 21:24:16 Removing intermediate container 8f66fe982e6a 21:24:16 ---> 742f51fedcf1 21:24:16 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:24:16 ---> Running in 11705f48eeed 21:24:16 Removing intermediate container 11705f48eeed 21:24:16 ---> c10221d99199 21:24:16 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:24:17 ---> Running in 2a710e0a2b5f 21:24:17 Removing intermediate container 2a710e0a2b5f 21:24:17 ---> d82f506ba73e 21:24:17 Step 24/26 : LABEL arch=arm64 21:24:17 ---> Running in 5407be00260f 21:24:17 Removing intermediate container 5407be00260f 21:24:17 ---> 269db97d957f 21:24:17 Step 25/26 : LABEL git_sha=0e4c43928dd74877e01497a451c4b89b2b600e8c 21:24:17 ---> Running in af7999e36f1e 21:24:17 Removing intermediate container af7999e36f1e 21:24:17 ---> 148bd4ebcc03 21:24:17 Step 26/26 : LABEL version=3.2.0-dev.1 21:24:18 ---> Running in 1893dbf0beec 21:24:18 Removing intermediate container 1893dbf0beec 21:24:18 ---> ee66d4739c2b 21:24:18 [Warning] One or more build-args [ARCH] were not consumed 21:24:18 Successfully built ee66d4739c2b 21:24:18 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:18 provisioning config files... 21:24:18 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/153@tmp/config765254441398312898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:19 ---> ****-login.sh 21:24:19 nexus3.edgexfoundry.org:10001 21:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:24:19 Configure a credential helper to remove this warning. See 21:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:24:19 21:24:19 Login Succeeded 21:24:19 nexus3.edgexfoundry.org:10002 21:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:24:19 Configure a credential helper to remove this warning. See 21:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:24:19 21:24:19 Login Succeeded 21:24:19 nexus3.edgexfoundry.org:10003 21:24:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:24:20 Configure a credential helper to remove this warning. See 21:24:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:24:20 21:24:20 Login Succeeded 21:24:20 nexus3.edgexfoundry.org:10004 21:24:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:24:20 Configure a credential helper to remove this warning. See 21:24:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:24:20 21:24:20 Login Succeeded 21:24:20 ****.io 21:24:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:24:21 Configure a credential helper to remove this warning. See 21:24:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:24:21 21:24:21 Login Succeeded 21:24:21 ---> ****-login.sh ends [Pipeline] } 21:24:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:24:21 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:24:21 0e4c43928dd74877e01497a451c4b89b2b600e8c 21:24:21 latest 21:24:21 3.2.0-dev.1 21:24:21 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 21:24:21 main 21:24:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c 21:24:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:24:22 dc640ed0db0f: Preparing 21:24:22 de129ebcb86a: Preparing 21:24:22 1c5c10e77b47: Preparing 21:24:22 4954a7f68489: Preparing 21:24:22 3756e8e242d8: Preparing 21:24:22 5f4d9fc4d98d: Preparing 21:24:22 5f4d9fc4d98d: Waiting 21:24:22 de129ebcb86a: Pushed 21:24:22 3756e8e242d8: Pushed 21:24:22 dc640ed0db0f: Pushed 21:24:22 5f4d9fc4d98d: Layer already exists 21:24:24 4954a7f68489: Pushed 21:24:28 1c5c10e77b47: Pushed 21:24:28 0e4c43928dd74877e01497a451c4b89b2b600e8c: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:24:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:24:31 dc640ed0db0f: Preparing 21:24:31 de129ebcb86a: Preparing 21:24:31 1c5c10e77b47: Preparing 21:24:31 4954a7f68489: Preparing 21:24:31 3756e8e242d8: Preparing 21:24:31 5f4d9fc4d98d: Preparing 21:24:31 5f4d9fc4d98d: Waiting 21:24:31 1c5c10e77b47: Layer already exists 21:24:31 4954a7f68489: Layer already exists 21:24:31 dc640ed0db0f: Layer already exists 21:24:31 de129ebcb86a: Layer already exists 21:24:31 3756e8e242d8: Layer already exists 21:24:31 5f4d9fc4d98d: Layer already exists 21:24:31 latest: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.1 21:24:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:24:32 dc640ed0db0f: Preparing 21:24:32 de129ebcb86a: Preparing 21:24:32 1c5c10e77b47: Preparing 21:24:32 4954a7f68489: Preparing 21:24:32 3756e8e242d8: Preparing 21:24:32 5f4d9fc4d98d: Preparing 21:24:32 5f4d9fc4d98d: Waiting 21:24:32 3756e8e242d8: Layer already exists 21:24:32 1c5c10e77b47: Layer already exists 21:24:32 de129ebcb86a: Layer already exists 21:24:32 4954a7f68489: Layer already exists 21:24:32 dc640ed0db0f: Layer already exists 21:24:32 5f4d9fc4d98d: Layer already exists 21:24:32 3.2.0-dev.1: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 21:24:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:24:33 dc640ed0db0f: Preparing 21:24:33 de129ebcb86a: Preparing 21:24:33 1c5c10e77b47: Preparing 21:24:33 4954a7f68489: Preparing 21:24:33 3756e8e242d8: Preparing 21:24:33 5f4d9fc4d98d: Preparing 21:24:33 5f4d9fc4d98d: Waiting 21:24:33 de129ebcb86a: Layer already exists 21:24:33 1c5c10e77b47: Layer already exists 21:24:33 4954a7f68489: Layer already exists 21:24:33 3756e8e242d8: Layer already exists 21:24:33 dc640ed0db0f: Layer already exists 21:24:33 5f4d9fc4d98d: Layer already exists 21:24:33 0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:24:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:24:34 dc640ed0db0f: Preparing 21:24:34 de129ebcb86a: Preparing 21:24:34 1c5c10e77b47: Preparing 21:24:34 4954a7f68489: Preparing 21:24:34 3756e8e242d8: Preparing 21:24:34 5f4d9fc4d98d: Preparing 21:24:34 5f4d9fc4d98d: Waiting 21:24:34 dc640ed0db0f: Layer already exists 21:24:34 de129ebcb86a: Layer already exists 21:24:34 3756e8e242d8: Layer already exists 21:24:34 1c5c10e77b47: Layer already exists 21:24:34 4954a7f68489: Layer already exists 21:24:34 5f4d9fc4d98d: Layer already exists 21:24:34 main: digest: sha256:ab6168d07f7f150b3370af18a261637b985cef68266cd2ef3334a584663e008d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:24:35 ===================================================== [Pipeline] echo 21:24:35 taggedImages: 21:24:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c 21:24:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:24:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.1 21:24:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0e4c43928dd74877e01497a451c4b89b2b600e8c-3.2.0-dev.1 21:24:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:35 21:24:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:36 arm64: Pulling from edgex-lftools-log-publisher 21:24:36 8998bd30e6a1: Pulling fs layer 21:24:36 04944245beec: Pulling fs layer 21:24:36 699f458cf7ca: Pulling fs layer 21:24:36 765212b225bb: Pulling fs layer 21:24:36 f23df028b6ca: Pulling fs layer 21:24:36 d65c8cfc05b1: Pulling fs layer 21:24:36 2437ff75d9bd: Pulling fs layer 21:24:36 f23df028b6ca: Waiting 21:24:36 d65c8cfc05b1: Waiting 21:24:36 2437ff75d9bd: Waiting 21:24:36 765212b225bb: Waiting 21:24:36 04944245beec: Verifying Checksum 21:24:36 04944245beec: Download complete 21:24:36 765212b225bb: Verifying Checksum 21:24:36 765212b225bb: Download complete 21:24:36 f23df028b6ca: Download complete 21:24:36 d65c8cfc05b1: Verifying Checksum 21:24:36 d65c8cfc05b1: Download complete 21:24:36 699f458cf7ca: Verifying Checksum 21:24:36 699f458cf7ca: Download complete 21:24:36 8998bd30e6a1: Verifying Checksum 21:24:36 8998bd30e6a1: Download complete 21:24:39 2437ff75d9bd: Verifying Checksum 21:24:39 2437ff75d9bd: Download complete 21:24:44 8998bd30e6a1: Pull complete 21:24:44 04944245beec: Pull complete 21:24:46 699f458cf7ca: Pull complete 21:24:46 765212b225bb: Pull complete 21:24:47 f23df028b6ca: Pull complete 21:24:47 d65c8cfc05b1: Pull complete 21:25:05 2437ff75d9bd: Pull complete 21:25:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:25:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:06 prd-ubuntu20.04-docker-arm64-4c-16g-7682 does not seem to be running inside a container 21:25:06 $ 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/153 -v /w/workspace/device-rest-go/153:/w/workspace/device-rest-go/153:rw,z -v /w/workspace/device-rest-go/153@tmp:/w/workspace/device-rest-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:25:13 $ docker top 697abc3ca89f813eeba26ed70ec865aa0455229297eecb67bb265cdbbb3ac56e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:13 ---> job-cost.sh 21:25:13 lf-activate-venv: SKIPPING 21:25:13 INFO: No Stack... 21:25:14 INFO: Retrieving Pricing Info for: v3-standard-4 21:25:15 INFO: Archiving Costs [Pipeline] sh 21:25:15 + cat /w/workspace/device-rest-go/153/archives/cost.csv 21:25:15 + cut -d, -f6 [Pipeline] lock 21:25:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] 21:25:15 Resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] did not exist. Created. 21:25:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:16 /w/workspace/device-rest-go/153@tmp/durable-a2857d52/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:25:16 + echo total: 0.10999999940395355 [Pipeline] stash 21:25:16 Warning: overwriting stash ‘stack-cost’ 21:25:16 Stashed 1 file(s) [Pipeline] } 21:25:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:17 $ docker stop --time=1 697abc3ca89f813eeba26ed70ec865aa0455229297eecb67bb265cdbbb3ac56e 21:25:18 $ docker rm -f --volumes 697abc3ca89f813eeba26ed70ec865aa0455229297eecb67bb265cdbbb3ac56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:25:20 provisioning config files... 21:25:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15387809518132778928tmp [Pipeline] { [Pipeline] sh 21:25:20 + set +x 21:25:20 + bash -s -- 21:25:20 + curl -s https://codecov.io/bash 21:25:20 21:25:20 _____ _ 21:25:20 / ____| | | 21:25:20 | | ___ __| | ___ ___ _____ __ 21:25:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:25:20 | |___| (_) | (_| | __/ (_| (_) \ V / 21:25:20 \_____\___/ \__,_|\___|\___\___/ \_/ 21:25:20 Bash-1.0.6 21:25:20 21:25:20 21:25:20 ==> git version 2.25.1 found 21:25:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:25:20 Release-Date: 2020-01-08 21:25:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:25:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:25:20 ==> Jenkins CI detected. 21:25:20 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:25:20 project root: . 21:25:20 --> token set from env 21:25:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:25:20 ==> Running gcov in . (disable via -X gcov) 21:25:20 ==> Python coveragepy not found 21:25:20 ==> Searching for coverage reports in: 21:25:20 + . 21:25:20 -> Found 1 reports 21:25:20 ==> Detecting git/mercurial file structure 21:25:20 ==> Reading reports 21:25:20 + ./coverage.out bytes=14499 21:25:20 ==> Appending adjustments 21:25:20 https://docs.codecov.io/docs/fixing-reports 21:25:20 + Found adjustments 21:25:20 ==> Gzipping contents 21:25:20 4.0K /tmp/codecov.yauCiJ.gz 21:25:20 ==> Uploading reports 21:25:20 url: https://codecov.io 21:25:20 query: branch=main&commit=0e4c43928dd74877e01497a451c4b89b2b600e8c&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:25:20 -> Pinging Codecov 21:25:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0e4c43928dd74877e01497a451c4b89b2b600e8c&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:25:20 -> Uploading to 21:25:20 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/4E5D53B4F1F92C436F7061BF334D961C/0e4c43928dd74877e01497a451c4b89b2b600e8c/1bd93ed4-633c-4895-b916-ae8d4be39b95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T212520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79e38da3494dd44c38305e479cd4c0a10283196f9d8a5df26092a5f8120c9c75 21:25:20 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:20 Dload Upload Total Spent Left Speed 21:25:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9961 --:--:-- --:--:-- --:--:-- 9961 21:25:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] } 21:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:25:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:25:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:25:22 21:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:25:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:25:22 df9b9388f04a: Pulling fs layer 21:25:22 52dc419b0ee2: Pulling fs layer 21:25:22 25bc292e5bac: Pulling fs layer 21:25:22 114826534d7a: Pulling fs layer 21:25:22 4657fd5d0bcf: Pulling fs layer 21:25:22 6ad1cebc031e: Pulling fs layer 21:25:22 8a3aa393b2d8: Pulling fs layer 21:25:22 114826534d7a: Waiting 21:25:22 4657fd5d0bcf: Waiting 21:25:22 6ad1cebc031e: Waiting 21:25:22 8a3aa393b2d8: Waiting 21:25:22 25bc292e5bac: Download complete 21:25:22 52dc419b0ee2: Verifying Checksum 21:25:22 52dc419b0ee2: Download complete 21:25:22 4657fd5d0bcf: Verifying Checksum 21:25:22 4657fd5d0bcf: Download complete 21:25:22 df9b9388f04a: Download complete 21:25:22 df9b9388f04a: Pull complete 21:25:22 6ad1cebc031e: Verifying Checksum 21:25:22 6ad1cebc031e: Download complete 21:25:22 52dc419b0ee2: Pull complete 21:25:22 25bc292e5bac: Pull complete 21:25:23 114826534d7a: Verifying Checksum 21:25:23 114826534d7a: Download complete 21:25:23 8a3aa393b2d8: Verifying Checksum 21:25:23 8a3aa393b2d8: Download complete 21:25:26 114826534d7a: Pull complete 21:25:26 4657fd5d0bcf: Pull complete 21:25:26 6ad1cebc031e: Pull complete 21:25:29 8a3aa393b2d8: Pull complete 21:25:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:25:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:29 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 21:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:25:33 $ docker top 0f736f3f8d0edb0120237b3e35af52798482fe7563a1ee8fc609222525682451 -eo pid,comm [Pipeline] { [Pipeline] echo 21:25:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:25:34 + set -o pipefail 21:25:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:25:39 21:25:39 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:25:39 21:25:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/db7323d8-3f76-458d-80f7-95cbc8be6c51 21:25:39 21:25:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:25:39 21:25:39 21:25:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:25:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:25:39 More details here: https://snyk.co/ue1NS 21:25:39 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:25:39 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:25:39 $ docker stop --time=1 0f736f3f8d0edb0120237b3e35af52798482fe7563a1ee8fc609222525682451 21:25:43 $ docker rm -f --volumes 0f736f3f8d0edb0120237b3e35af52798482fe7563a1ee8fc609222525682451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:44 + git log --format=format:%s -1 0e4c43928dd74877e01497a451c4b89b2b600e8c [Pipeline] sh 21:25:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:45 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 21:25:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:25:46 $ docker top a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:25:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:46 [ssh-agent] Looking for ssh-agent implementation... 21:25:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:46 $ docker exec a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f ssh-agent 21:25:46 SSH_AUTH_SOCK=/tmp/ssh-sUGeloPMiLI6/agent.32 21:25:46 SSH_AGENT_PID=38 21:25:46 Running ssh-add (command line suppressed) 21:25:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7320840886268311694.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7320840886268311694.key) 21:25:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:47 + git semver tag 21:25:47 2023-11-28 21:25:47,179 [run_tag] DEBUG tag force:False 21:25:47 2023-11-28 21:25:47,179 [check_head_tag] DEBUG check head tag 21:25:47 2023-11-28 21:25:47,180 [execute] INFO git cat-file --batch-check 21:25:47 2023-11-28 21:25:47,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:25:47 2023-11-28 21:25:47,184 [execute] INFO git cat-file --batch 21:25:47 2023-11-28 21:25:47,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:25:47 2023-11-28 21:25:47,201 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:25:47 2023-11-28 21:25:47,201 [execute] INFO git tag -a v3.2.0-dev.1 -m v3.2.0-dev.1 21:25:47 2023-11-28 21:25:47,201 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.1', '-m', 'v3.2.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:25:47 2023-11-28 21:25:47,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:25:47 3.2.0-dev.1 [Pipeline] } 21:25:47 $ docker exec --env ******** --env ******** a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f ssh-agent -k 21:25:47 unset SSH_AUTH_SOCK; 21:25:47 unset SSH_AGENT_PID; 21:25:47 echo Agent pid 38 killed; 21:25:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:25:47 + git semver [Pipeline] } 21:25:48 $ docker stop --time=1 a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f 21:25:49 $ docker rm -f --volumes a71d9ab7116ef037188b8b799f47e1da19eb0a30d8e407b7f9de5111b589370f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:25:50 21:25:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:25:50 0.23.1-centos7: Pulling from edgex-lftools 21:25:50 ab5ef0e58194: Pulling fs layer 21:25:50 9712f1f96733: Pulling fs layer 21:25:50 63f879dbbcfc: Pulling fs layer 21:25:50 0d9ebad4ef96: Pulling fs layer 21:25:50 e9a5061849ea: Pulling fs layer 21:25:50 d747dcd14b5f: Pulling fs layer 21:25:50 2de7ff778b66: Pulling fs layer 21:25:50 e9a5061849ea: Waiting 21:25:50 0d9ebad4ef96: Waiting 21:25:50 2de7ff778b66: Waiting 21:25:50 d747dcd14b5f: Waiting 21:25:50 9712f1f96733: Verifying Checksum 21:25:50 9712f1f96733: Download complete 21:25:50 63f879dbbcfc: Verifying Checksum 21:25:50 63f879dbbcfc: Download complete 21:25:50 e9a5061849ea: Verifying Checksum 21:25:50 e9a5061849ea: Download complete 21:25:50 ab5ef0e58194: Verifying Checksum 21:25:50 ab5ef0e58194: Download complete 21:25:50 d747dcd14b5f: Verifying Checksum 21:25:50 d747dcd14b5f: Download complete 21:25:50 0d9ebad4ef96: Verifying Checksum 21:25:50 0d9ebad4ef96: Download complete 21:25:50 2de7ff778b66: Verifying Checksum 21:25:50 2de7ff778b66: Download complete 21:25:53 ab5ef0e58194: Pull complete 21:25:53 9712f1f96733: Pull complete 21:25:54 63f879dbbcfc: Pull complete 21:25:57 0d9ebad4ef96: Pull complete 21:25:57 e9a5061849ea: Pull complete 21:25:57 d747dcd14b5f: Pull complete 21:25:58 2de7ff778b66: Pull complete 21:25:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:25:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:58 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 21:25:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:26:03 $ docker top 2a519b2fd875d630f6ea06c3a5cdae4ccad2799895ebde80e3edfb2924898117 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:26:04 provisioning config files... 21:26:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10085537531374173645tmp 21:26:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13863287722511364227tmp 21:26:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5694088754048425367tmp [Pipeline] { [Pipeline] echo 21:26:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:26:04 ---> sigul-configuration.sh 21:26:04 gpg: directory `/root/.gnupg' created 21:26:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:26:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:26:04 gpg: keyring `/root/.gnupg/secring.gpg' created 21:26:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:26:04 gpg: CAST5 encrypted data 21:26:04 gpg: encrypted with 1 passphrase 21:26:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:26:04 + mkdir /home/jenkins 21:26:04 + mkdir /home/jenkins/sigul [Pipeline] sh 21:26:05 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:26:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:26:05 ---> sigul-install.sh 21:26:05 Sigul already installed; skipping installation. [Pipeline] sh 21:26:05 + git tag --list 21:26:05 v1.0.0 21:26:05 v1.1.0 21:26:05 v1.1.1 21:26:05 v1.1.2 21:26:05 v1.2.0 21:26:05 v1.2.1 21:26:05 v2.0.0 21:26:05 v2.1.0 21:26:05 v2.1.1 21:26:05 v2.2.0 21:26:05 v2.3.0 21:26:05 v3.0 21:26:05 v3.0.0 21:26:05 v3.1 21:26:05 v3.1.0 21:26:05 v3.1.0-dev.1 21:26:05 v3.1.0-dev.10 21:26:05 v3.1.0-dev.11 21:26:05 v3.1.0-dev.12 21:26:05 v3.1.0-dev.13 21:26:05 v3.1.0-dev.14 21:26:05 v3.1.0-dev.15 21:26:05 v3.1.0-dev.16 21:26:05 v3.1.0-dev.17 21:26:05 v3.1.0-dev.18 21:26:05 v3.1.0-dev.19 21:26:05 v3.1.0-dev.2 21:26:05 v3.1.0-dev.20 21:26:05 v3.1.0-dev.21 21:26:05 v3.1.0-dev.22 21:26:05 v3.1.0-dev.23 21:26:05 v3.1.0-dev.24 21:26:05 v3.1.0-dev.25 21:26:05 v3.1.0-dev.26 21:26:05 v3.1.0-dev.27 21:26:05 v3.1.0-dev.28 21:26:05 v3.1.0-dev.29 21:26:05 v3.1.0-dev.3 21:26:05 v3.1.0-dev.30 21:26:05 v3.1.0-dev.31 21:26:05 v3.1.0-dev.32 21:26:05 v3.1.0-dev.4 21:26:05 v3.1.0-dev.5 21:26:05 v3.1.0-dev.6 21:26:05 v3.1.0-dev.7 21:26:05 v3.1.0-dev.8 21:26:05 v3.1.0-dev.9 21:26:05 v3.2.0-dev.1 [Pipeline] sh 21:26:05 + lftools sign git-tag v3.2.0-dev.1 21:26:06 Signing Git tag with Sigul... 21:26:06 Signing v3.2.0-dev.1 [Pipeline] echo 21:26:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:26:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:26:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:26:07 $ docker stop --time=1 2a519b2fd875d630f6ea06c3a5cdae4ccad2799895ebde80e3edfb2924898117 21:26:08 $ docker rm -f --volumes 2a519b2fd875d630f6ea06c3a5cdae4ccad2799895ebde80e3edfb2924898117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:26:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:09 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 21:26:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:26:10 $ docker top 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:10 [ssh-agent] Looking for ssh-agent implementation... 21:26:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:10 $ docker exec 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 ssh-agent 21:26:10 SSH_AUTH_SOCK=/tmp/ssh-QwD3iHHz9Rhj/agent.32 21:26:10 SSH_AGENT_PID=38 21:26:10 Running ssh-add (command line suppressed) 21:26:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13646185173459107299.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13646185173459107299.key) 21:26:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:11 + git semver bump pre 21:26:11 2023-11-28 21:26:11,425 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:26:11 2023-11-28 21:26:11,426 [bump_version] DEBUG bumping version:3.2.0-dev.1 on axis:pre with prefix:dev 21:26:11 2023-11-28 21:26:11,426 [bump_version] DEBUG bumped version:3.2.0-dev.2 21:26:11 2023-11-28 21:26:11,426 [write_version] DEBUG write version:3.2.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:26:11 2023-11-28 21:26:11,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:26:11 2023-11-28 21:26:11,426 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:26:11 2023-11-28 21:26:11,428 [execute] INFO git cat-file --batch-check 21:26:11 2023-11-28 21:26:11,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:26:11 2023-11-28 21:26:11,433 [execute] INFO git cat-file --batch 21:26:11 2023-11-28 21:26:11,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:26:11 2023-11-28 21:26:11,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:26:11 3.2.0-dev.2 [Pipeline] } 21:26:11 $ docker exec --env ******** --env ******** 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 ssh-agent -k 21:26:11 unset SSH_AUTH_SOCK; 21:26:11 unset SSH_AGENT_PID; 21:26:11 echo Agent pid 38 killed; 21:26:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:12 + git semver [Pipeline] } 21:26:12 $ docker stop --time=1 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 21:26:13 $ docker rm -f --volumes 0a0775573a8166e0f6bcf5bff4da039722957649d41b78a6fa3784c0e2928984 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:26:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:14 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 21:26:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:26:15 $ docker top 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:15 [ssh-agent] Looking for ssh-agent implementation... 21:26:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:15 $ docker exec 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a ssh-agent 21:26:15 SSH_AUTH_SOCK=/tmp/ssh-9UFdI6VX08Xy/agent.32 21:26:15 SSH_AGENT_PID=38 21:26:15 Running ssh-add (command line suppressed) 21:26:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9967754537436968870.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9967754537436968870.key) 21:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:16 + git semver push 21:26:16 2023-11-28 21:26:16,204 [run_push] DEBUG push 21:26:16 2023-11-28 21:26:16,204 [execute] INFO git cat-file --batch-check 21:26:16 2023-11-28 21:26:16,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:26:16 2023-11-28 21:26:16,208 [execute] INFO git rev-list 11264532ffbc65f85f945026c6f13f2a68bfdb88 -- 21:26:16 2023-11-28 21:26:16,208 [execute] DEBUG Popen(['git', 'rev-list', '11264532ffbc65f85f945026c6f13f2a68bfdb88', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:26:16 2023-11-28 21:26:16,215 [execute] INFO git fetch -v origin 21:26:16 2023-11-28 21:26:16,216 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:26:16 2023-11-28 21:26:16,764 [run_push] DEBUG no remote changes detected 21:26:16 2023-11-28 21:26:16,765 [execute] INFO git push origin semver 21:26:16 2023-11-28 21:26:16,765 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:26:17 2023-11-28 21:26:17,556 [run_push] DEBUG push all version tags 21:26:17 2023-11-28 21:26:17,556 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:26:17 2023-11-28 21:26:17,556 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:26:18 2023-11-28 21:26:18,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:26:18 3.2.0-dev.2 [Pipeline] } 21:26:18 $ docker exec --env ******** --env ******** 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a ssh-agent -k 21:26:18 unset SSH_AUTH_SOCK; 21:26:18 unset SSH_AGENT_PID; 21:26:18 echo Agent pid 38 killed; 21:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:19 + git semver [Pipeline] } 21:26:19 $ docker stop --time=1 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a 21:26:20 $ docker rm -f --volumes 1540b9b66f37e2ede6b3c55adf5ab9d55b9f4e6741a249d532b390585f14627a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:26:22 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:26:22 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:26:22 total 16 21:26:22 drwxr-xr-x 3 root root 4096 Nov 28 20:31 . 21:26:22 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 21:26 .. 21:26:22 drwxr-xr-x 2 root root 4096 Nov 28 20:31 cost 21:26:22 -rw-r--r-- 1 root root 86 Nov 28 20:31 cost.csv 21:26:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:26:22 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:26:22 total 16 21:26:22 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:31 . 21:26:22 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 21:26 .. 21:26:22 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:31 cost 21:26:22 -rw-r--r-- 1 jenkins jenkins 86 Nov 28 20:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:26:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:26:23 ---> package-listing.sh 21:26:23 ++ facter osfamily 21:26:23 ++ tr '[:upper:]' '[:lower:]' 21:26:23 + OS_FAMILY=debian 21:26:23 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:26:23 + START_PACKAGES=/tmp/packages_start.txt 21:26:23 + END_PACKAGES=/tmp/packages_end.txt 21:26:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:26:23 + PACKAGES=/tmp/packages_start.txt 21:26:23 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:26:23 + PACKAGES=/tmp/packages_end.txt 21:26:23 + case "${OS_FAMILY}" in 21:26:23 + dpkg -l 21:26:23 + grep '^ii' 21:26:23 + '[' -f /tmp/packages_start.txt ']' 21:26:23 + '[' -f /tmp/packages_end.txt ']' 21:26:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:26:23 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:26:23 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:26:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:26:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:26:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:24 prd-ubuntu20.04-docker-8c-8g-5128 does not seem to be running inside a container 21:26:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:26:25 $ docker top 8d63c5b130f632b419a9634af0e1c657863eb3104e27abeacbc4f97f94db7235 -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:25 + touch /tmp/pre-build-complete [Pipeline] sh 21:26:25 + mkdir -p /var/log/sysstat [Pipeline] sh 21:26:26 + ls /var/log/sa-host 21:26:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:26 provisioning config files... 21:26:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8317256955143839576tmp [Pipeline] { [Pipeline] echo 21:26:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:26:26 ---> create-netrc.sh [Pipeline] } 21:26:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:26:27 ---> python-tools-install.sh [Pipeline] echo 21:26:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:26:27 ---> sudo-logs.sh 21:26:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:26:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:26:27 ---> job-cost.sh 21:26:27 lf-activate-venv: SKIPPING 21:26:27 DEBUG: total: 0.2199999988079071 21:26:27 INFO: Retrieving Stack Cost... 21:26:28 INFO: Retrieving Pricing Info for: v3-standard-8 21:26:28 INFO: Archiving Costs [Pipeline] echo 21:26:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:26:29 ---> logs-deploy.sh 21:26:29 lf-activate-venv: SKIPPING 21:26:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/153 21:26:29 INFO: archiving workspace using pattern(s): 21:26:30 Archives upload complete. 21:26:30 INFO: archiving logs to Nexus