Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75bc767cd91fa94e23213f88954145bb20b6ca5d 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-ssh13039201549509143359.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-ssh5195768369235254278.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-ssh2986721793104515443.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-ssh4097797981246494158.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-ssh1034916320990997254.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-167’ Running on prd-ubuntu20.04-docker-8c-8g-176 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 75bc767cd91fa94e23213f88954145bb20b6ca5d (main) Commit message: "Merge pull request #386 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" > 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 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 > git rev-list --no-walk b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:23:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:23:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:23:21 ========================================================= 03:23:21 EdgeX Global Pipelines Version Info 03:23:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:23:22 ------------------- 03:23:22 stable info: 03:23:22 ------------------- 03:23:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:23:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:23:22 Message: update stable to v1.0.258 03:23:23 ------------------- 03:23:23 experimental info: 03:23:23 ------------------- 03:23:23 Commited By: **** collab-it+edgex@linuxfoundation.org 03:23:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:23:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:23:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:23:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:23:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:23:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:23:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] echo 03:23:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75bc767 [Pipeline] echo 03:23:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:24 provisioning config files... 03:23:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13536350850356402251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:24 ---> ****-login.sh 03:23:24 nexus3.edgexfoundry.org:10001 03:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:24 Configure a credential helper to remove this warning. See 03:23:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:24 03:23:24 Login Succeeded 03:23:24 nexus3.edgexfoundry.org:10002 03:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:25 Configure a credential helper to remove this warning. See 03:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:25 03:23:25 Login Succeeded 03:23:25 nexus3.edgexfoundry.org:10003 03:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:25 Configure a credential helper to remove this warning. See 03:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:25 03:23:25 Login Succeeded 03:23:25 nexus3.edgexfoundry.org:10004 03:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:25 Configure a credential helper to remove this warning. See 03:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:25 03:23:25 Login Succeeded 03:23:25 ****.io 03:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:25 Configure a credential helper to remove this warning. See 03:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:25 03:23:25 Login Succeeded 03:23:25 ---> ****-login.sh ends [Pipeline] } 03:23:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:23:25 + git rev-list -1 --merges 75bc767cd91fa94e23213f88954145bb20b6ca5d~1..75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] echo 03:23:26 -----------> git rev-list -1 --merges 75bc767cd91fa94e23213f88954145bb20b6ca5d~1..75bc767cd91fa94e23213f88954145bb20b6ca5d 75bc767cd91fa94e23213f88954145bb20b6ca5d 03:23:26 75bc767cd91fa94e23213f88954145bb20b6ca5d [false] [Pipeline] sh 03:23:26 + git log --format=format:%s -1 75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] echo 03:23:26 ========================================================= 03:23:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:23:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:26 + git log --format=format:%s -1 75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] echo 03:23:26 [semverPrep] GIT_COMMIT: 75bc767cd91fa94e23213f88954145bb20b6ca5d, Commit Message: Merge pull request #386 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11 [Pipeline] echo 03:23:26 [semverPrep] This is not a build commit. [Pipeline] sh 03:23:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:23:27 + grep -v github /etc/ssh/ssh_known_hosts 03:23:27 + [ -e /tmp/ssh_known_hosts ] 03:23:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:23:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:23:27 + sudo tee -a /etc/ssh/ssh_known_hosts 03:23:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:27 03:23:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:27 0.1.4: Pulling from edgex-devops/py-git-semver 03:23:27 b85a868b505f: Pulling fs layer 03:23:27 e2be974225ed: Pulling fs layer 03:23:27 339a4e72a1f5: Pulling fs layer 03:23:27 988bab9f4d93: Pulling fs layer 03:23:27 1469e6f7b9e6: Pulling fs layer 03:23:27 eaf3925da568: Pulling fs layer 03:23:27 bab4dde63d76: Pulling fs layer 03:23:27 1469e6f7b9e6: Waiting 03:23:27 bde34c3a00c8: Pulling fs layer 03:23:27 b352a97aabf1: Pulling fs layer 03:23:27 988bab9f4d93: Waiting 03:23:27 b352a97aabf1: Waiting 03:23:27 4872d77fe225: Pulling fs layer 03:23:27 bde34c3a00c8: Waiting 03:23:27 5851b861e8e6: Pulling fs layer 03:23:27 4872d77fe225: Waiting 03:23:27 e2be974225ed: Verifying Checksum 03:23:27 e2be974225ed: Download complete 03:23:27 988bab9f4d93: Verifying Checksum 03:23:27 988bab9f4d93: Download complete 03:23:27 1469e6f7b9e6: Verifying Checksum 03:23:27 1469e6f7b9e6: Download complete 03:23:27 eaf3925da568: Verifying Checksum 03:23:27 eaf3925da568: Download complete 03:23:27 339a4e72a1f5: Verifying Checksum 03:23:27 339a4e72a1f5: Download complete 03:23:27 bde34c3a00c8: Verifying Checksum 03:23:27 bde34c3a00c8: Download complete 03:23:27 b352a97aabf1: Verifying Checksum 03:23:27 b352a97aabf1: Download complete 03:23:27 4872d77fe225: Verifying Checksum 03:23:27 4872d77fe225: Download complete 03:23:27 5851b861e8e6: Download complete 03:23:27 b85a868b505f: Verifying Checksum 03:23:27 b85a868b505f: Download complete 03:23:28 bab4dde63d76: Verifying Checksum 03:23:28 bab4dde63d76: Download complete 03:23:29 b85a868b505f: Pull complete 03:23:29 e2be974225ed: Pull complete 03:23:29 339a4e72a1f5: Pull complete 03:23:29 988bab9f4d93: Pull complete 03:23:30 1469e6f7b9e6: Pull complete 03:23:30 eaf3925da568: Pull complete 03:23:32 bab4dde63d76: Pull complete 03:23:32 bde34c3a00c8: Pull complete 03:23:32 b352a97aabf1: Pull complete 03:23:32 4872d77fe225: Pull complete 03:23:32 5851b861e8e6: Pull complete 03:23:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:23:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:32 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:23:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:23:41 $ docker top 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 -eo pid,comm 03:23:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:23:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:23:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:41 [ssh-agent] Looking for ssh-agent implementation... 03:23:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:41 $ docker exec 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 ssh-agent 03:23:41 SSH_AUTH_SOCK=/tmp/ssh-Y7ZdhkeCOv57/agent.32 03:23:41 SSH_AGENT_PID=38 03:23:41 Running ssh-add (command line suppressed) 03:23:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16444735309331469121.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16444735309331469121.key) 03:23:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:42 + git tag --points-at HEAD [Pipeline] } 03:23:42 $ docker exec --env ******** --env ******** 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 ssh-agent -k 03:23:42 unset SSH_AUTH_SOCK; 03:23:42 unset SSH_AGENT_PID; 03:23:42 echo Agent pid 38 killed; 03:23:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:23:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:42 [ssh-agent] Looking for ssh-agent implementation... 03:23:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:42 $ docker exec 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 ssh-agent 03:23:42 SSH_AUTH_SOCK=/tmp/ssh-rwhvlB0z1uuL/agent.71 03:23:42 SSH_AGENT_PID=77 03:23:42 Running ssh-add (command line suppressed) 03:23:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13560007746343795796.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13560007746343795796.key) 03:23:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:43 + git semver init 03:23:43 2024-03-17 03:23:43,301 [run_init] DEBUG init version:0.0.0 force:False 03:23:43 2024-03-17 03:23:43,302 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:23:43 2024-03-17 03:23:43,303 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:23:43 2024-03-17 03:23:43,303 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:23:45 2024-03-17 03:23:44,901 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:23:45 2024-03-17 03:23:44,901 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:23:45 2024-03-17 03:23:44,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:23:45 2024-03-17 03:23:44,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:23:45 3.2.0-dev.11 [Pipeline] } 03:23:45 $ docker exec --env ******** --env ******** 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 ssh-agent -k 03:23:45 unset SSH_AUTH_SOCK; 03:23:45 unset SSH_AGENT_PID; 03:23:45 echo Agent pid 77 killed; 03:23:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:23:45 + git semver [Pipeline] } 03:23:46 $ docker stop --time=1 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 03:23:47 $ docker rm -f --volumes 6ceca2c52c53927115e934ef7637ade10c8089fe0a9c26389a83037239f0ecd1 [Pipeline] // withDockerContainer [Pipeline] sh 03:23:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:23:48 Stashed 1 file(s) [Pipeline] echo 03:23:48 [edgeXSemver]: initialized semver on version 3.2.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:48 provisioning config files... 03:23:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config688389040501418743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:48 ---> ****-login.sh 03:23:48 nexus3.edgexfoundry.org:10001 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 nexus3.edgexfoundry.org:10002 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 nexus3.edgexfoundry.org:10003 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 nexus3.edgexfoundry.org:10004 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 ****.io 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:49 Configure a credential helper to remove this warning. See 03:23:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:49 03:23:49 Login Succeeded 03:23:49 ---> ****-login.sh ends [Pipeline] } 03:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:23:49 ========================================================= 03:23:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:23:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:23:49 Sending build context to Docker daemon 16.33MB 03:23:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:23:49 Step 2/12 : FROM ${BASE} AS builder 03:23:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:23:49 7264a8db6415: Pulling fs layer 03:23:49 c4d48a809fc2: Pulling fs layer 03:23:49 4f1c88b9dad5: Pulling fs layer 03:23:49 ad3a456e5733: Pulling fs layer 03:23:49 69c7f0334f64: Pulling fs layer 03:23:49 1f1c1a5573a3: Pulling fs layer 03:23:49 ad3a456e5733: Waiting 03:23:49 ce7588e14bc9: Pulling fs layer 03:23:49 b5e4710f87ac: Pulling fs layer 03:23:49 1f1c1a5573a3: Waiting 03:23:49 b5e4710f87ac: Waiting 03:23:49 ce7588e14bc9: Waiting 03:23:49 c4d48a809fc2: Download complete 03:23:49 ad3a456e5733: Verifying Checksum 03:23:49 ad3a456e5733: Download complete 03:23:49 69c7f0334f64: Download complete 03:23:49 7264a8db6415: Verifying Checksum 03:23:49 7264a8db6415: Download complete 03:23:49 1f1c1a5573a3: Verifying Checksum 03:23:49 1f1c1a5573a3: Download complete 03:23:50 7264a8db6415: Pull complete 03:23:50 b5e4710f87ac: Verifying Checksum 03:23:50 b5e4710f87ac: Download complete 03:23:50 c4d48a809fc2: Pull complete 03:23:50 4f1c88b9dad5: Verifying Checksum 03:23:50 4f1c88b9dad5: Download complete 03:23:50 ce7588e14bc9: Verifying Checksum 03:23:50 ce7588e14bc9: Download complete 03:23:53 4f1c88b9dad5: Pull complete 03:23:53 ad3a456e5733: Pull complete 03:23:53 69c7f0334f64: Pull complete 03:23:53 1f1c1a5573a3: Pull complete 03:23:56 ce7588e14bc9: Pull complete 03:23:57 b5e4710f87ac: Pull complete 03:23:57 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:23:57 ---> 88b5674ff536 03:23:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:24:03 Still waiting to schedule task 03:24:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-172’ 03:24:12 ---> Running in 3b38c8b5566d 03:24:12 Removing intermediate container 3b38c8b5566d 03:24:12 ---> 8c5c73f98ed4 03:24:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:24:12 ---> Running in f8d1864ed1a1 03:24:12 Removing intermediate container f8d1864ed1a1 03:24:12 ---> 042e3009f322 03:24:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:24:12 ---> Running in 933fd841b8da 03:24:13 Removing intermediate container 933fd841b8da 03:24:13 ---> 904ac66e0197 03:24:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:24:13 ---> Running in f2607165a508 03:24:13 Removing intermediate container f2607165a508 03:24:13 ---> d404ed40f32d 03:24:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:14 ---> Running in 31f2a5d00b2b 03:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:15 (1/4) Installing openssh-keygen (9.3_p2-r1) 03:24:15 (2/4) Installing libedit (20221030.3.1-r1) 03:24:15 (3/4) Installing openssh-client-common (9.3_p2-r1) 03:24:15 (4/4) Installing openssh-client-default (9.3_p2-r1) 03:24:15 Executing busybox-1.36.1-r5.trigger 03:24:15 OK: 268 MiB in 56 packages 03:24:16 Removing intermediate container 31f2a5d00b2b 03:24:16 ---> 522b469905d3 03:24:16 Step 8/12 : WORKDIR /device-rest-go 03:24:16 ---> Running in e95861bb8df5 03:24:16 Removing intermediate container e95861bb8df5 03:24:16 ---> bb6030810842 03:24:16 Step 9/12 : COPY go.mod vendor* ./ 03:24:16 ---> 688ee4bad486 03:24:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:16 ---> Running in 198f628d10b2 03:25:02 Removing intermediate container 198f628d10b2 03:25:02 ---> 089ff21e20b8 03:25:02 Step 11/12 : COPY . . 03:25:02 ---> 2a871e3cd0aa 03:25:02 Step 12/12 : RUN $MAKE 03:25:02 ---> Running in b1b922de37cb 03:25:02 noop 03:25:02 Removing intermediate container b1b922de37cb 03:25:02 ---> 7c55b7c6eb67 03:25:02 Successfully built 7c55b7c6eb67 03:25:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:03 + docker inspect -f . ci-base-image-x86_64 03:25:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:03 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:25:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:03 $ docker top 2862451ee82b0f567edcc676b5f4ab645cf6d6b4a9ed886aad2962c898ae1f8d -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:04 + go version 03:25:04 go version go1.21.0 linux/amd64 [Pipeline] } 03:25:04 $ docker stop --time=1 2862451ee82b0f567edcc676b5f4ab645cf6d6b4a9ed886aad2962c898ae1f8d 03:25:05 $ docker rm -f --volumes 2862451ee82b0f567edcc676b5f4ab645cf6d6b4a9ed886aad2962c898ae1f8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:05 + docker inspect -f . ci-base-image-x86_64 03:25:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:06 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:25:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:06 $ docker top 5a471cf978f14490256dbb8b2e705282173e21158a7a56f5507b4756e6a5b3de -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 03:25:07 + make test 03:25:07 go test ./... -coverprofile=coverage.out ./... 03:25:08 ? github.com/edgexfoundry/device-rest-go [no test files] 03:25:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:25:18 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 03:25:24 go vet ./... 03:25:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:25:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:25:28 ./bin/test-attribution-txt.sh 03:25:28 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:25:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:25:28 $ docker stop --time=1 5a471cf978f14490256dbb8b2e705282173e21158a7a56f5507b4756e6a5b3de 03:25:33 $ docker rm -f --volumes 5a471cf978f14490256dbb8b2e705282173e21158a7a56f5507b4756e6a5b3de [Pipeline] // withDockerContainer [Pipeline] sh 03:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:25:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:25:35 + ls -al . 03:25:35 total 180 03:25:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 03:25 . 03:25:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:23 .. 03:25:35 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 03:23 .dockerignore 03:25:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:25 .git 03:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:23 .github 03:25:35 -rw-rw-r-- 1 jenkins jenkins 264 Mar 17 03:23 .gitignore 03:25:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:23 .golangci.yml 03:25:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:23 .semver 03:25:35 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 17 03:23 Attribution.txt 03:25:35 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 17 03:23 CHANGELOG.md 03:25:35 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 17 03:23 Dockerfile 03:25:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:23 GOVERNANCE.md 03:25:35 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 03:23 Jenkinsfile 03:25:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 03:23 LICENSE 03:25:35 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 17 03:23 Makefile 03:25:35 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 03:23 OWNERS.md 03:25:35 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 17 03:23 README.md 03:25:35 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 03:23 VERSION 03:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:23 bin 03:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:23 cmd 03:25:35 -rw-r--r-- 1 jenkins jenkins 14499 Mar 17 03:25 coverage.out 03:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:23 driver 03:25:35 -rw-rw-r-- 1 jenkins jenkins 3936 Mar 17 03:23 go.mod 03:25:35 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 17 03:23 go.sum 03:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:23 openapi 03:25:35 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:35 + 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=75bc767cd91fa94e23213f88954145bb20b6ca5d --label arch=amd64 --label version=3.2.0-dev.11 . 03:25:35 Sending build context to Docker daemon 16.35MB 03:25:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:25:35 Step 2/26 : FROM ${BASE} AS builder 03:25:35 ---> 7c55b7c6eb67 03:25:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:25:36 ---> Running in 8a72d2bad89b 03:25:36 Removing intermediate container 8a72d2bad89b 03:25:36 ---> 66aebe9d286e 03:25:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:25:36 ---> Running in 8aea1fa5d9bf 03:25:36 Removing intermediate container 8aea1fa5d9bf 03:25:36 ---> f7a76f525e17 03:25:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:25:37 ---> Running in 9144e638ccf4 03:25:37 Removing intermediate container 9144e638ccf4 03:25:37 ---> 457cafadd196 03:25:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:25:37 ---> Running in 2f3ea8071204 03:25:38 Removing intermediate container 2f3ea8071204 03:25:38 ---> dfe7357a8031 03:25:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:38 ---> Running in 60e994a9cffa 03:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:25:38 OK: 268 MiB in 56 packages 03:25:39 Removing intermediate container 60e994a9cffa 03:25:39 ---> a608ff384889 03:25:39 Step 8/26 : WORKDIR /device-rest-go 03:25:39 ---> Running in 3e4d40f16955 03:25:39 Removing intermediate container 3e4d40f16955 03:25:39 ---> 44b4f4353e6f 03:25:39 Step 9/26 : COPY go.mod vendor* ./ 03:25:39 ---> 853ca625cd7d 03:25:39 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:39 ---> Running in 5ff4e37bda64 03:25:40 Removing intermediate container 5ff4e37bda64 03:25:40 ---> 1957a2846c54 03:25:40 Step 11/26 : COPY . . 03:25:40 ---> 94ba4ff044d2 03:25:40 Step 12/26 : RUN $MAKE 03:25:40 ---> Running in 4c75ab470b30 03:25:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:26:07 Removing intermediate container 4c75ab470b30 03:26:07 ---> ca1e155a5611 03:26:07 Step 13/26 : FROM alpine:3.18 03:26:08 3.18: Pulling from library/alpine 03:26:08 619be1103602: Pulling fs layer 03:26:08 619be1103602: Verifying Checksum 03:26:08 619be1103602: Download complete 03:26:08 619be1103602: Pull complete 03:26:08 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:26:08 Status: Downloaded newer image for alpine:3.18 03:26:08 ---> d3782b16ccc9 03:26:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:26:09 ---> Running in 19512b0d3c98 03:26:09 Removing intermediate container 19512b0d3c98 03:26:09 ---> cb105634ba87 03:26:09 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:26:09 ---> Running in 72ea1de28a31 03:26:09 Removing intermediate container 72ea1de28a31 03:26:09 ---> 57dd00e49a28 03:26:09 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:26:09 ---> Running in 9c151dc3e6fa 03:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:26:10 (1/1) Installing dumb-init (1.2.5-r2) 03:26:10 Executing busybox-1.36.1-r5.trigger 03:26:10 OK: 7 MiB in 16 packages 03:26:10 Removing intermediate container 9c151dc3e6fa 03:26:10 ---> d7155b8659e3 03:26:10 Step 17/26 : RUN apk --no-cache upgrade 03:26:10 ---> Running in 3a9a8d17ae1f 03:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:26:11 OK: 7 MiB in 16 packages 03:26:11 Removing intermediate container 3a9a8d17ae1f 03:26:11 ---> f71a5f0d0ebf 03:26:11 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:26:12 ---> 9afa718bfa2b 03:26:12 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:26:13 ---> eb8856715b6f 03:26:13 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:26:13 ---> 1aa94025f789 03:26:13 Step 21/26 : EXPOSE 59986 03:26:13 ---> Running in ecdc92d81d22 03:26:13 Removing intermediate container ecdc92d81d22 03:26:13 ---> c7c5e8673942 03:26:13 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:26:13 ---> Running in 3aa1efb3594e 03:26:13 Removing intermediate container 3aa1efb3594e 03:26:13 ---> f3eccd61c52b 03:26:13 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:26:13 ---> Running in eb56f9d38455 03:26:13 Removing intermediate container eb56f9d38455 03:26:13 ---> daf98a72b441 03:26:13 Step 24/26 : LABEL arch=amd64 03:26:13 ---> Running in 2ab8f25cebc1 03:26:13 Removing intermediate container 2ab8f25cebc1 03:26:13 ---> 17a5b9d034d2 03:26:13 Step 25/26 : LABEL git_sha=75bc767cd91fa94e23213f88954145bb20b6ca5d 03:26:13 ---> Running in 771ec188e518 03:26:13 Removing intermediate container 771ec188e518 03:26:13 ---> 82016423c4bb 03:26:13 Step 26/26 : LABEL version=3.2.0-dev.11 03:26:13 ---> Running in 84e95ab63b1c 03:26:13 Removing intermediate container 84e95ab63b1c 03:26:13 ---> e3f9fc5831e9 03:26:13 [Warning] One or more build-args [ARCH] were not consumed 03:26:13 Successfully built e3f9fc5831e9 03:26:13 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:13 provisioning config files... 03:26:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6310046704113698734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:14 ---> ****-login.sh 03:26:14 nexus3.edgexfoundry.org:10001 03:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:14 Configure a credential helper to remove this warning. See 03:26:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:14 03:26:14 Login Succeeded 03:26:14 nexus3.edgexfoundry.org:10002 03:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:14 Configure a credential helper to remove this warning. See 03:26:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:14 03:26:14 Login Succeeded 03:26:14 nexus3.edgexfoundry.org:10003 03:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:14 Configure a credential helper to remove this warning. See 03:26:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:14 03:26:14 Login Succeeded 03:26:14 nexus3.edgexfoundry.org:10004 03:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:14 Configure a credential helper to remove this warning. See 03:26:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:14 03:26:14 Login Succeeded 03:26:14 ****.io 03:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:14 Configure a credential helper to remove this warning. See 03:26:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:14 03:26:14 Login Succeeded 03:26:14 ---> ****-login.sh ends [Pipeline] } 03:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:26:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:26:14 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:26:14 75bc767cd91fa94e23213f88954145bb20b6ca5d 03:26:14 latest 03:26:14 3.2.0-dev.11 03:26:14 75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 03:26:14 main 03:26:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:75bc767cd91fa94e23213f88954145bb20b6ca5d 03:26:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:26:15 3df44f63c796: Preparing 03:26:15 08e268ef8b6c: Preparing 03:26:15 e2199c63d1f4: Preparing 03:26:15 9017556220b1: Preparing 03:26:15 07d39c3bb2ae: Preparing 03:26:15 aedc3bda2944: Preparing 03:26:15 aedc3bda2944: Waiting 03:26:47 3df44f63c796: Pushed 03:26:47 08e268ef8b6c: Pushed 03:26:47 aedc3bda2944: Layer already exists 03:26:47 9017556220b1: Pushed 03:26:47 e2199c63d1f4: Pushed 03:26:47 07d39c3bb2ae: Pushed 03:26:47 75bc767cd91fa94e23213f88954145bb20b6ca5d: digest: sha256:4d697c168717bf177960fc3501150a845977d2406fbf62c43fe5f4742d078ed0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:26:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:26:48 3df44f63c796: Preparing 03:26:48 08e268ef8b6c: Preparing 03:26:48 e2199c63d1f4: Preparing 03:26:48 9017556220b1: Preparing 03:26:48 07d39c3bb2ae: Preparing 03:26:48 aedc3bda2944: Preparing 03:26:48 aedc3bda2944: Waiting 03:26:48 e2199c63d1f4: Layer already exists 03:26:48 07d39c3bb2ae: Layer already exists 03:26:48 9017556220b1: Layer already exists 03:26:48 08e268ef8b6c: Layer already exists 03:26:48 3df44f63c796: Layer already exists 03:26:48 aedc3bda2944: Layer already exists 03:26:48 latest: digest: sha256:4d697c168717bf177960fc3501150a845977d2406fbf62c43fe5f4742d078ed0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.11 03:26:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:26:48 3df44f63c796: Preparing 03:26:48 08e268ef8b6c: Preparing 03:26:48 e2199c63d1f4: Preparing 03:26:48 9017556220b1: Preparing 03:26:48 07d39c3bb2ae: Preparing 03:26:48 aedc3bda2944: Preparing 03:26:48 aedc3bda2944: Waiting 03:26:48 08e268ef8b6c: Layer already exists 03:26:48 e2199c63d1f4: Layer already exists 03:26:48 3df44f63c796: Layer already exists 03:26:48 9017556220b1: Layer already exists 03:26:48 07d39c3bb2ae: Layer already exists 03:26:48 aedc3bda2944: Layer already exists 03:26:48 3.2.0-dev.11: digest: sha256:4d697c168717bf177960fc3501150a845977d2406fbf62c43fe5f4742d078ed0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-181 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 03:26:48 Running in /w/workspace/device-rest-go/163 [Pipeline] { [Pipeline] checkout 03:26:49 The recommended git tool is: git 03:26:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 03:26:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:26:49 3df44f63c796: Preparing 03:26:49 08e268ef8b6c: Preparing 03:26:49 e2199c63d1f4: Preparing 03:26:49 9017556220b1: Preparing 03:26:49 07d39c3bb2ae: Preparing 03:26:49 aedc3bda2944: Preparing 03:26:49 aedc3bda2944: Waiting 03:26:49 3df44f63c796: Layer already exists 03:26:49 9017556220b1: Layer already exists 03:26:49 07d39c3bb2ae: Layer already exists 03:26:49 e2199c63d1f4: Layer already exists 03:26:49 08e268ef8b6c: Layer already exists 03:26:49 aedc3bda2944: Layer already exists 03:26:49 75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11: digest: sha256:4d697c168717bf177960fc3501150a845977d2406fbf62c43fe5f4742d078ed0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:26:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:26:50 3df44f63c796: Preparing 03:26:50 08e268ef8b6c: Preparing 03:26:50 e2199c63d1f4: Preparing 03:26:50 9017556220b1: Preparing 03:26:50 07d39c3bb2ae: Preparing 03:26:50 aedc3bda2944: Preparing 03:26:50 aedc3bda2944: Waiting 03:26:50 e2199c63d1f4: Layer already exists 03:26:50 07d39c3bb2ae: Layer already exists 03:26:50 3df44f63c796: Layer already exists 03:26:50 9017556220b1: Layer already exists 03:26:50 08e268ef8b6c: Layer already exists 03:26:50 aedc3bda2944: Layer already exists 03:26:50 main: digest: sha256:4d697c168717bf177960fc3501150a845977d2406fbf62c43fe5f4742d078ed0 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:26:50 ===================================================== [Pipeline] echo 03:26:50 taggedImages: 03:26:50 - nexus3.edgexfoundry.org:10004/device-rest:75bc767cd91fa94e23213f88954145bb20b6ca5d 03:26:50 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:26:50 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.11 03:26:50 - nexus3.edgexfoundry.org:10004/device-rest:75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 03:26:50 - 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 03:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:50 03:26:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:50 latest: Pulling from edgex-lftools-log-publisher 03:26:50 5eb5b503b376: Pulling fs layer 03:26:50 5c69ac0246d0: Pulling fs layer 03:26:50 ec43610c2a17: Pulling fs layer 03:26:50 3a2ae6a8a46f: Pulling fs layer 03:26:50 33b1e0a273af: Pulling fs layer 03:26:50 5d3b04190fa2: Pulling fs layer 03:26:50 2f39f015ded8: Pulling fs layer 03:26:50 3a2ae6a8a46f: Waiting 03:26:50 33b1e0a273af: Waiting 03:26:50 5d3b04190fa2: Waiting 03:26:50 2f39f015ded8: Waiting 03:26:50 5c69ac0246d0: Download complete 03:26:50 3a2ae6a8a46f: Verifying Checksum 03:26:50 3a2ae6a8a46f: Download complete 03:26:50 33b1e0a273af: Verifying Checksum 03:26:50 33b1e0a273af: Download complete 03:26:50 5d3b04190fa2: Verifying Checksum 03:26:50 5d3b04190fa2: Download complete 03:26:51 ec43610c2a17: Verifying Checksum 03:26:51 ec43610c2a17: Download complete 03:26:51 5eb5b503b376: Verifying Checksum 03:26:51 5eb5b503b376: Download complete 03:26:52 2f39f015ded8: Download complete 03:26:52 5eb5b503b376: Pull complete 03:26:52 5c69ac0246d0: Pull complete 03:26:52 ec43610c2a17: Pull complete 03:26:53 3a2ae6a8a46f: Pull complete 03:26:53 33b1e0a273af: Pull complete 03:26:53 5d3b04190fa2: Pull complete 03:26:55 using credential edgex-jenkins-ssh 03:26:55 Cloning the remote Git repository 03:26:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:26:55 > git init /w/workspace/device-rest-go/163 # timeout=10 03:26:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:26:56 > git --version # timeout=10 03:26:56 > git --version # 'git version 2.25.1' 03:26:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:57 2f39f015ded8: Pull complete 03:26:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:57 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:26:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:26:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:00 Avoid second fetch 03:27:00 Checking out Revision 75bc767cd91fa94e23213f88954145bb20b6ca5d (main) 03:27:00 > git config core.sparsecheckout # timeout=10 03:27:00 > git checkout -f 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 03:27:00 Commit message: "Merge pull request #386 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" 03:27:04 03:27:04 GitHub has been notified of this commit’s build result 03:27:04 03:27:08 $ docker top 0950d1975c714ab43910db9672d937e7e92d213b946661ce910f6ad429e22cb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:09 ---> job-cost.sh 03:27:09 lf-activate-venv: SKIPPING 03:27:09 INFO: No Stack... 03:27:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:27:09 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:09 Dload Upload Total Spent Left Speed 03:27:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 03:27:09 INFO: Retrieving Pricing Info for: v3-standard-8 03:27:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:27:09 INFO: Archiving Costs [Pipeline] sh 03:27:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:27:10 + sudo tee /etc/docker/daemon.new 03:27:10 { 03:27:10 "registry-mirrors": [ 03:27:10 "https://nexus3.edgexfoundry.org:10001" 03:27:10 ], 03:27:10 "bip": "10.250.0.254/24", 03:27:10 "hosts": [ 03:27:10 "tcp://0.0.0.0:5555", 03:27:10 "unix:///var/run/docker.sock" 03:27:10 ], 03:27:10 "mtu": 1458, 03:27:10 "selinux-enabled": true, 03:27:10 "seccomp-profile": "/etc/docker/seccomp.json" 03:27:10 } [Pipeline] sh 03:27:10 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 03:27:10 + cut -d, -f6 [Pipeline] lock 03:27:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] 03:27:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 03:27:12 Resource [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] did not exist. Created. 03:27:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 03:27:12 + sudo service docker restart 03:27:12 + echo total: 0.2199999988079071 [Pipeline] stash 03:27:12 Stashed 1 file(s) [Pipeline] } 03:27:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 03:27:12 $ docker stop --time=1 0950d1975c714ab43910db9672d937e7e92d213b946661ce910f6ad429e22cb1 03:27:13 $ docker rm -f --volumes 0950d1975c714ab43910db9672d937e7e92d213b946661ce910f6ad429e22cb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:30 provisioning config files... 03:27:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/163@tmp/config14288442462429494522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:31 ---> ****-login.sh 03:27:31 nexus3.edgexfoundry.org:10001 03:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:31 Configure a credential helper to remove this warning. See 03:27:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:31 03:27:31 Login Succeeded 03:27:31 nexus3.edgexfoundry.org:10002 03:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:32 Configure a credential helper to remove this warning. See 03:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:32 03:27:32 Login Succeeded 03:27:32 nexus3.edgexfoundry.org:10003 03:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:32 Configure a credential helper to remove this warning. See 03:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:32 03:27:32 Login Succeeded 03:27:32 nexus3.edgexfoundry.org:10004 03:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:32 Configure a credential helper to remove this warning. See 03:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:32 03:27:32 Login Succeeded 03:27:32 ****.io 03:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:33 Configure a credential helper to remove this warning. See 03:27:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:33 03:27:33 Login Succeeded 03:27:33 ---> ****-login.sh ends [Pipeline] } 03:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:27:33 ========================================================= 03:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:27:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:27:34 Sending build context to Docker daemon 127.5kB 03:27:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:27:34 Step 2/12 : FROM ${BASE} AS builder 03:27:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:27:34 9fda8d8052c6: Pulling fs layer 03:27:34 5d54e960e981: Pulling fs layer 03:27:34 c4a7e357bf2a: Pulling fs layer 03:27:34 f0e02332f6b5: Pulling fs layer 03:27:34 872ee5b61b7b: Pulling fs layer 03:27:34 0c6a40ed1a82: Pulling fs layer 03:27:34 94ae7d8d031c: Pulling fs layer 03:27:34 f0e02332f6b5: Waiting 03:27:34 872ee5b61b7b: Waiting 03:27:34 0c6a40ed1a82: Waiting 03:27:34 5d54e960e981: Verifying Checksum 03:27:34 5d54e960e981: Download complete 03:27:34 f0e02332f6b5: Verifying Checksum 03:27:34 f0e02332f6b5: Download complete 03:27:34 872ee5b61b7b: Verifying Checksum 03:27:34 872ee5b61b7b: Download complete 03:27:34 9fda8d8052c6: Verifying Checksum 03:27:34 9fda8d8052c6: Download complete 03:27:35 94ae7d8d031c: Verifying Checksum 03:27:35 94ae7d8d031c: Download complete 03:27:35 9fda8d8052c6: Pull complete 03:27:36 5d54e960e981: Pull complete 03:27:36 c4a7e357bf2a: Download complete 03:27:37 0c6a40ed1a82: Verifying Checksum 03:27:37 0c6a40ed1a82: Download complete 03:27:49 c4a7e357bf2a: Pull complete 03:27:49 f0e02332f6b5: Pull complete 03:27:49 872ee5b61b7b: Pull complete 03:27:57 0c6a40ed1a82: Pull complete 03:27:58 94ae7d8d031c: Pull complete 03:27:58 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:27:59 ---> 86de565de09d 03:27:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:28:00 ---> Running in 0405090d0310 03:28:00 Removing intermediate container 0405090d0310 03:28:00 ---> d959470b6363 03:28:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:28:00 ---> Running in 78359f5f2ab2 03:28:00 Removing intermediate container 78359f5f2ab2 03:28:00 ---> ae3fda8f53c2 03:28:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:28:01 ---> Running in e0ecdab34c67 03:28:01 Removing intermediate container e0ecdab34c67 03:28:01 ---> 4d88e2a4202b 03:28:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:28:01 ---> Running in 41944b7759a8 03:28:01 Removing intermediate container 41944b7759a8 03:28:01 ---> 526f890681ce 03:28:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:01 ---> Running in 5576f2627abf 03:28:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:28:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:28:04 (1/4) Installing openssh-keygen (9.3_p2-r1) 03:28:04 (2/4) Installing libedit (20221030.3.1-r1) 03:28:04 (3/4) Installing openssh-client-common (9.3_p2-r1) 03:28:04 (4/4) Installing openssh-client-default (9.3_p2-r1) 03:28:04 Executing busybox-1.36.1-r5.trigger 03:28:04 OK: 271 MiB in 56 packages 03:28:05 Removing intermediate container 5576f2627abf 03:28:05 ---> e67ca479509a 03:28:05 Step 8/12 : WORKDIR /device-rest-go 03:28:06 ---> Running in 2327059dd23e 03:28:06 Removing intermediate container 2327059dd23e 03:28:06 ---> 5c0e5d89641e 03:28:06 Step 9/12 : COPY go.mod vendor* ./ 03:28:06 ---> 0e1e5630a157 03:28:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:06 ---> Running in b4ea94ee9487 03:29:14 Removing intermediate container b4ea94ee9487 03:29:14 ---> 7ed7f5d1c9a5 03:29:14 Step 11/12 : COPY . . 03:29:14 ---> e8650659f020 03:29:14 Step 12/12 : RUN $MAKE 03:29:14 ---> Running in 9bb8b26920ef 03:29:14 noop 03:29:14 Removing intermediate container 9bb8b26920ef 03:29:14 ---> c705b987186f 03:29:14 Successfully built c705b987186f 03:29:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:15 + docker inspect -f . ci-base-image-arm64 03:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:15 prd-ubuntu20.04-docker-arm64-4c-16g-181 does not seem to be running inside a container 03:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/163 -v /w/workspace/device-rest-go/163:/w/workspace/device-rest-go/163:rw,z -v /w/workspace/device-rest-go/163@tmp:/w/workspace/device-rest-go/163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:16 $ docker top d1ff49689586a3a84684392f57d1072c5506fb5f0f0ca198393338b276baf369 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:17 + go version 03:29:17 go version go1.21.0 linux/arm64 [Pipeline] } 03:29:17 $ docker stop --time=1 d1ff49689586a3a84684392f57d1072c5506fb5f0f0ca198393338b276baf369 03:29:19 $ docker rm -f --volumes d1ff49689586a3a84684392f57d1072c5506fb5f0f0ca198393338b276baf369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:19 + docker inspect -f . ci-base-image-arm64 03:29:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:20 prd-ubuntu20.04-docker-arm64-4c-16g-181 does not seem to be running inside a container 03:29:20 $ 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/163 -v /w/workspace/device-rest-go/163:/w/workspace/device-rest-go/163:rw,z -v /w/workspace/device-rest-go/163@tmp:/w/workspace/device-rest-go/163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:21 $ docker top 97f6b04e751c47d6cb95c8befa8f32c7e7e12accb9254c4017d67b4ee08e2fc4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:22 + git config --global --add safe.directory /w/workspace/device-rest-go/163 [Pipeline] fileExists [Pipeline] sh 03:29:23 + make test 03:29:23 go test ./... -coverprofile=coverage.out ./... 03:29:27 ? github.com/edgexfoundry/device-rest-go [no test files] 03:31:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:31:34 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.2% of statements 03:31:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:31:34 go vet ./... 03:31:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:31:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:31:52 ./bin/test-attribution-txt.sh 03:31:52 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:31:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:31:52 $ docker stop --time=1 97f6b04e751c47d6cb95c8befa8f32c7e7e12accb9254c4017d67b4ee08e2fc4 03:31:54 $ docker rm -f --volumes 97f6b04e751c47d6cb95c8befa8f32c7e7e12accb9254c4017d67b4ee08e2fc4 [Pipeline] // withDockerContainer [Pipeline] sh 03:31:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:31:56 Warning: overwriting stash ‘coverage-report’ 03:31:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:31:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:31:57 + ls -al . 03:31:57 total 176 03:31:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:29 . 03:31:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:26 .. 03:31:57 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 03:27 .dockerignore 03:31:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:27 .git 03:31:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:27 .github 03:31:57 -rw-rw-r-- 1 jenkins jenkins 264 Mar 17 03:27 .gitignore 03:31:57 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:27 .golangci.yml 03:31:57 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 17 03:27 Attribution.txt 03:31:57 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 17 03:27 CHANGELOG.md 03:31:57 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 17 03:27 Dockerfile 03:31:57 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:27 GOVERNANCE.md 03:31:57 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 03:27 Jenkinsfile 03:31:57 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 03:27 LICENSE 03:31:57 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 17 03:27 Makefile 03:31:57 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 03:27 OWNERS.md 03:31:57 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 17 03:27 README.md 03:31:57 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 03:23 VERSION 03:31:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:27 bin 03:31:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:27 cmd 03:31:57 -rw-r--r-- 1 jenkins jenkins 14499 Mar 17 03:31 coverage.out 03:31:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:27 driver 03:31:57 -rw-rw-r-- 1 jenkins jenkins 3936 Mar 17 03:27 go.mod 03:31:57 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 17 03:27 go.sum 03:31:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:27 openapi 03:31:57 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:57 + 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=75bc767cd91fa94e23213f88954145bb20b6ca5d --label arch=arm64 --label version=3.2.0-dev.11 . 03:31:57 Sending build context to Docker daemon 142.8kB 03:31:57 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:31:57 Step 2/26 : FROM ${BASE} AS builder 03:31:57 ---> c705b987186f 03:31:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:31:57 ---> Running in a6df5f97252e 03:31:58 Removing intermediate container a6df5f97252e 03:31:58 ---> a9ac913fc6f1 03:31:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:58 ---> Running in ad6ffb54a3a4 03:31:58 Removing intermediate container ad6ffb54a3a4 03:31:58 ---> f8d8e3263280 03:31:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:31:59 ---> Running in fac15ec6e021 03:31:59 Removing intermediate container fac15ec6e021 03:31:59 ---> 14e7b482a84b 03:31:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:31:59 ---> Running in 2b2903c0629c 03:31:59 Removing intermediate container 2b2903c0629c 03:31:59 ---> b8424a1b1997 03:31:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:59 ---> Running in 2f555e034d98 03:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:32:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:32:02 OK: 271 MiB in 56 packages 03:32:03 Removing intermediate container 2f555e034d98 03:32:03 ---> 23ac85a6be2b 03:32:03 Step 8/26 : WORKDIR /device-rest-go 03:32:03 ---> Running in 60ce26a12e93 03:32:04 Removing intermediate container 60ce26a12e93 03:32:04 ---> e7581c5b4200 03:32:04 Step 9/26 : COPY go.mod vendor* ./ 03:32:04 ---> 918c73792610 03:32:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:32:04 ---> Running in ec94471383e5 03:32:06 Removing intermediate container ec94471383e5 03:32:06 ---> 03bfa0986d8d 03:32:06 Step 11/26 : COPY . . 03:32:07 ---> fd93439be788 03:32:07 Step 12/26 : RUN $MAKE 03:32:07 ---> Running in 49f2047f6941 03:32:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:34:30 Removing intermediate container 49f2047f6941 03:34:30 ---> 12f8759b11ad 03:34:30 Step 13/26 : FROM alpine:3.18 03:34:30 3.18: Pulling from library/alpine 03:34:30 c6b39de5b339: Pulling fs layer 03:34:30 c6b39de5b339: Verifying Checksum 03:34:30 c6b39de5b339: Download complete 03:34:30 c6b39de5b339: Pull complete 03:34:30 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:34:30 Status: Downloaded newer image for alpine:3.18 03:34:30 ---> 33abbf032149 03:34:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:34:30 ---> Running in 730ac42978e6 03:34:30 Removing intermediate container 730ac42978e6 03:34:30 ---> 29b30229183d 03:34:30 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:34:30 ---> Running in 61c1a698ad9a 03:34:30 Removing intermediate container 61c1a698ad9a 03:34:30 ---> 74b3dfff66b8 03:34:30 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:34:30 ---> Running in 91447ecba99f 03:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:34:30 (1/1) Installing dumb-init (1.2.5-r2) 03:34:30 Executing busybox-1.36.1-r5.trigger 03:34:30 OK: 8 MiB in 16 packages 03:34:30 Removing intermediate container 91447ecba99f 03:34:30 ---> 34ea0a795c0b 03:34:30 Step 17/26 : RUN apk --no-cache upgrade 03:34:30 ---> Running in d85c4887558a 03:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:34:30 OK: 8 MiB in 16 packages 03:34:30 Removing intermediate container d85c4887558a 03:34:30 ---> 884238aa42f7 03:34:30 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:34:30 ---> 4f18083ad38d 03:34:30 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:34:30 ---> bfdb7e12f3bb 03:34:30 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:34:30 ---> 60e75ea05be7 03:34:30 Step 21/26 : EXPOSE 59986 03:34:30 ---> Running in fe1abbb84b29 03:34:30 Removing intermediate container fe1abbb84b29 03:34:30 ---> 2d5032101d5f 03:34:30 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:34:31 ---> Running in 63adf30df7c0 03:34:31 Removing intermediate container 63adf30df7c0 03:34:31 ---> b7838a383413 03:34:31 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:34:31 ---> Running in 5517554900d9 03:34:31 Removing intermediate container 5517554900d9 03:34:31 ---> 27a7345e3a19 03:34:31 Step 24/26 : LABEL arch=arm64 03:34:31 ---> Running in d5888a0ebda6 03:34:32 Removing intermediate container d5888a0ebda6 03:34:32 ---> 7c117535558d 03:34:32 Step 25/26 : LABEL git_sha=75bc767cd91fa94e23213f88954145bb20b6ca5d 03:34:32 ---> Running in 724a105862bf 03:34:32 Removing intermediate container 724a105862bf 03:34:32 ---> 8e869293295e 03:34:32 Step 26/26 : LABEL version=3.2.0-dev.11 03:34:32 ---> Running in 643ee428c76a 03:34:32 Removing intermediate container 643ee428c76a 03:34:32 ---> 0f88e28314f0 03:34:32 [Warning] One or more build-args [ARCH] were not consumed 03:34:32 Successfully built 0f88e28314f0 03:34:32 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:33 provisioning config files... 03:34:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/163@tmp/config11617940399803235775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:33 ---> ****-login.sh 03:34:33 nexus3.edgexfoundry.org:10001 03:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:33 Configure a credential helper to remove this warning. See 03:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:33 03:34:33 Login Succeeded 03:34:33 nexus3.edgexfoundry.org:10002 03:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:34 Configure a credential helper to remove this warning. See 03:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:34 03:34:34 Login Succeeded 03:34:34 nexus3.edgexfoundry.org:10003 03:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:34 Configure a credential helper to remove this warning. See 03:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:34 03:34:34 Login Succeeded 03:34:34 nexus3.edgexfoundry.org:10004 03:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:34 Configure a credential helper to remove this warning. See 03:34:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:34 03:34:34 Login Succeeded 03:34:34 ****.io 03:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:34:35 Configure a credential helper to remove this warning. See 03:34:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:34:35 03:34:35 Login Succeeded 03:34:35 ---> ****-login.sh ends [Pipeline] } 03:34:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:34:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:34:35 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:34:35 75bc767cd91fa94e23213f88954145bb20b6ca5d 03:34:35 latest 03:34:35 3.2.0-dev.11 03:34:35 75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 03:34:35 main 03:34:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:75bc767cd91fa94e23213f88954145bb20b6ca5d 03:34:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:34:36 4f06e890ef80: Preparing 03:34:36 cbeb077522e3: Preparing 03:34:36 e3ddd9c261d1: Preparing 03:34:36 a2743df35ea5: Preparing 03:34:36 b3e2d6f1dc50: Preparing 03:34:36 7c504f21be85: Preparing 03:34:36 7c504f21be85: Waiting 03:34:36 cbeb077522e3: Pushed 03:34:36 b3e2d6f1dc50: Pushed 03:34:36 a2743df35ea5: Pushed 03:34:36 4f06e890ef80: Pushed 03:34:36 7c504f21be85: Layer already exists 03:34:41 e3ddd9c261d1: Pushed 03:34:41 75bc767cd91fa94e23213f88954145bb20b6ca5d: digest: sha256:fc175332788214ecb3a4691418e6ecac07ef313e03c659e3e0f0ba4e4118f7d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:34:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:34:42 4f06e890ef80: Preparing 03:34:42 cbeb077522e3: Preparing 03:34:42 e3ddd9c261d1: Preparing 03:34:42 a2743df35ea5: Preparing 03:34:42 b3e2d6f1dc50: Preparing 03:34:42 7c504f21be85: Preparing 03:34:42 7c504f21be85: Waiting 03:34:42 a2743df35ea5: Layer already exists 03:34:42 b3e2d6f1dc50: Layer already exists 03:34:42 e3ddd9c261d1: Layer already exists 03:34:42 cbeb077522e3: Layer already exists 03:34:42 4f06e890ef80: Layer already exists 03:34:42 7c504f21be85: Layer already exists 03:34:42 latest: digest: sha256:fc175332788214ecb3a4691418e6ecac07ef313e03c659e3e0f0ba4e4118f7d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.11 03:34:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:34:43 4f06e890ef80: Preparing 03:34:43 cbeb077522e3: Preparing 03:34:43 e3ddd9c261d1: Preparing 03:34:43 a2743df35ea5: Preparing 03:34:43 b3e2d6f1dc50: Preparing 03:34:43 7c504f21be85: Preparing 03:34:43 7c504f21be85: Waiting 03:34:43 cbeb077522e3: Layer already exists 03:34:43 4f06e890ef80: Layer already exists 03:34:43 b3e2d6f1dc50: Layer already exists 03:34:43 a2743df35ea5: Layer already exists 03:34:43 e3ddd9c261d1: Layer already exists 03:34:43 7c504f21be85: Layer already exists 03:34:43 3.2.0-dev.11: digest: sha256:fc175332788214ecb3a4691418e6ecac07ef313e03c659e3e0f0ba4e4118f7d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 03:34:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:34:44 4f06e890ef80: Preparing 03:34:44 cbeb077522e3: Preparing 03:34:44 e3ddd9c261d1: Preparing 03:34:44 a2743df35ea5: Preparing 03:34:44 b3e2d6f1dc50: Preparing 03:34:44 7c504f21be85: Preparing 03:34:44 7c504f21be85: Waiting 03:34:44 e3ddd9c261d1: Layer already exists 03:34:44 a2743df35ea5: Layer already exists 03:34:44 4f06e890ef80: Layer already exists 03:34:44 b3e2d6f1dc50: Layer already exists 03:34:44 cbeb077522e3: Layer already exists 03:34:44 7c504f21be85: Layer already exists 03:34:44 75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11: digest: sha256:fc175332788214ecb3a4691418e6ecac07ef313e03c659e3e0f0ba4e4118f7d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:34:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:34:45 4f06e890ef80: Preparing 03:34:45 cbeb077522e3: Preparing 03:34:45 e3ddd9c261d1: Preparing 03:34:45 a2743df35ea5: Preparing 03:34:45 b3e2d6f1dc50: Preparing 03:34:45 7c504f21be85: Preparing 03:34:45 7c504f21be85: Waiting 03:34:45 a2743df35ea5: Layer already exists 03:34:45 4f06e890ef80: Layer already exists 03:34:45 e3ddd9c261d1: Layer already exists 03:34:45 cbeb077522e3: Layer already exists 03:34:45 b3e2d6f1dc50: Layer already exists 03:34:45 7c504f21be85: Layer already exists 03:34:45 main: digest: sha256:fc175332788214ecb3a4691418e6ecac07ef313e03c659e3e0f0ba4e4118f7d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:34:45 ===================================================== [Pipeline] echo 03:34:45 taggedImages: 03:34:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:75bc767cd91fa94e23213f88954145bb20b6ca5d 03:34:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:34:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.11 03:34:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:75bc767cd91fa94e23213f88954145bb20b6ca5d-3.2.0-dev.11 03:34:45 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:34:45 03:34:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:34:46 arm64: Pulling from edgex-lftools-log-publisher 03:34:46 8998bd30e6a1: Pulling fs layer 03:34:46 04944245beec: Pulling fs layer 03:34:46 699f458cf7ca: Pulling fs layer 03:34:46 765212b225bb: Pulling fs layer 03:34:46 f23df028b6ca: Pulling fs layer 03:34:46 d65c8cfc05b1: Pulling fs layer 03:34:46 2437ff75d9bd: Pulling fs layer 03:34:46 765212b225bb: Waiting 03:34:46 f23df028b6ca: Waiting 03:34:46 d65c8cfc05b1: Waiting 03:34:46 2437ff75d9bd: Waiting 03:34:46 04944245beec: Verifying Checksum 03:34:46 04944245beec: Download complete 03:34:46 765212b225bb: Verifying Checksum 03:34:46 765212b225bb: Download complete 03:34:46 f23df028b6ca: Verifying Checksum 03:34:46 f23df028b6ca: Download complete 03:34:46 d65c8cfc05b1: Verifying Checksum 03:34:46 d65c8cfc05b1: Download complete 03:34:46 699f458cf7ca: Verifying Checksum 03:34:46 699f458cf7ca: Download complete 03:34:47 8998bd30e6a1: Verifying Checksum 03:34:47 8998bd30e6a1: Download complete 03:34:49 2437ff75d9bd: Verifying Checksum 03:34:49 2437ff75d9bd: Download complete 03:34:52 8998bd30e6a1: Pull complete 03:34:52 04944245beec: Pull complete 03:34:54 699f458cf7ca: Pull complete 03:34:54 765212b225bb: Pull complete 03:34:55 f23df028b6ca: Pull complete 03:34:55 d65c8cfc05b1: Pull complete 03:35:13 2437ff75d9bd: Pull complete 03:35:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:35:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:13 prd-ubuntu20.04-docker-arm64-4c-16g-181 does not seem to be running inside a container 03:35:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/163 -v /w/workspace/device-rest-go/163:/w/workspace/device-rest-go/163:rw,z -v /w/workspace/device-rest-go/163@tmp:/w/workspace/device-rest-go/163@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:arm64 cat 03:35:16 $ docker top 847196b3d76eb63ff6f976a5cf98d0b6846ee2174ab21e03e61ab725cffe12d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:17 ---> job-cost.sh 03:35:17 lf-activate-venv: SKIPPING 03:35:17 INFO: No Stack... 03:35:17 INFO: Retrieving Pricing Info for: v3-standard-4 03:35:18 INFO: Archiving Costs [Pipeline] sh 03:35:19 + cat /w/workspace/device-rest-go/163/archives/cost.csv 03:35:19 + cut -d, -f6 [Pipeline] lock 03:35:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] 03:35:19 Resource [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] did not exist. Created. 03:35:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:35:20 /w/workspace/device-rest-go/163@tmp/durable-2177ed7a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:35:20 + echo total: 0.10999999940395355 [Pipeline] stash 03:35:20 Warning: overwriting stash ‘stack-cost’ 03:35:20 Stashed 1 file(s) [Pipeline] } 03:35:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 03:35:20 $ docker stop --time=1 847196b3d76eb63ff6f976a5cf98d0b6846ee2174ab21e03e61ab725cffe12d9 03:35:22 $ docker rm -f --volumes 847196b3d76eb63ff6f976a5cf98d0b6846ee2174ab21e03e61ab725cffe12d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:35:22 provisioning config files... 03:35:22 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17347174293582469926tmp [Pipeline] { [Pipeline] sh 03:35:23 + set +x 03:35:23 + curl -s https://codecov.io/bash 03:35:23 + bash -s -- 03:35:23 03:35:23 _____ _ 03:35:23 / ____| | | 03:35:23 | | ___ __| | ___ ___ _____ __ 03:35:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:35:23 | |___| (_) | (_| | __/ (_| (_) \ V / 03:35:23 \_____\___/ \__,_|\___|\___\___/ \_/ 03:35:23 Bash-1.0.6 03:35:23 03:35:23 03:35:23 ==> git version 2.25.1 found 03:35:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:35:23 Release-Date: 2020-01-08 03:35:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:35:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:35:23 ==> Jenkins CI detected. 03:35:23 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 03:35:23 project root: . 03:35:23 --> token set from env 03:35:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:35:23 ==> Running gcov in . (disable via -X gcov) 03:35:23 ==> Python coveragepy not found 03:35:23 ==> Searching for coverage reports in: 03:35:23 + . 03:35:23 -> Found 1 reports 03:35:23 ==> Detecting git/mercurial file structure 03:35:23 ==> Reading reports 03:35:23 + ./coverage.out bytes=14499 03:35:23 ==> Appending adjustments 03:35:23 https://docs.codecov.io/docs/fixing-reports 03:35:23 + Found adjustments 03:35:23 ==> Gzipping contents 03:35:23 4.0K /tmp/codecov.pskVMl.gz 03:35:23 ==> Uploading reports 03:35:23 url: https://codecov.io 03:35:23 query: branch=main&commit=75bc767cd91fa94e23213f88954145bb20b6ca5d&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:35:23 -> Pinging Codecov 03:35:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=75bc767cd91fa94e23213f88954145bb20b6ca5d&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:35:23 -> Uploading to 03:35:23 https://storage.googleapis.com/codecov/v4/raw/2024-03-17/4E5D53B4F1F92C436F7061BF334D961C/75bc767cd91fa94e23213f88954145bb20b6ca5d/c601fc0b-79f5-4821-96e1-3c7fe5701c90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240317T033523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8e5c5a48778fb759e778647bd02685206220a9bd458386a9b65b94451776df6 03:35:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:35:23 Dload Upload Total Spent Left Speed 03:35:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7511 --:--:-- --:--:-- --:--:-- 7511 03:35:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] } 03:35:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:35:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:35:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:24 03:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:35:24 df9b9388f04a: Pulling fs layer 03:35:24 52dc419b0ee2: Pulling fs layer 03:35:24 25bc292e5bac: Pulling fs layer 03:35:24 114826534d7a: Pulling fs layer 03:35:24 4657fd5d0bcf: Pulling fs layer 03:35:24 6ad1cebc031e: Pulling fs layer 03:35:24 8a3aa393b2d8: Pulling fs layer 03:35:24 114826534d7a: Waiting 03:35:24 6ad1cebc031e: Waiting 03:35:24 8a3aa393b2d8: Waiting 03:35:24 4657fd5d0bcf: Waiting 03:35:24 52dc419b0ee2: Verifying Checksum 03:35:24 52dc419b0ee2: Download complete 03:35:24 4657fd5d0bcf: Verifying Checksum 03:35:24 4657fd5d0bcf: Download complete 03:35:24 df9b9388f04a: Download complete 03:35:24 df9b9388f04a: Pull complete 03:35:24 6ad1cebc031e: Verifying Checksum 03:35:24 6ad1cebc031e: Download complete 03:35:24 52dc419b0ee2: Pull complete 03:35:24 25bc292e5bac: Pull complete 03:35:25 114826534d7a: Verifying Checksum 03:35:25 114826534d7a: Download complete 03:35:25 8a3aa393b2d8: Verifying Checksum 03:35:25 8a3aa393b2d8: Download complete 03:35:29 114826534d7a: Pull complete 03:35:29 4657fd5d0bcf: Pull complete 03:35:29 6ad1cebc031e: Pull complete 03:35:32 8a3aa393b2d8: Pull complete 03:35:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:35:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:32 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:35:32 $ 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 03:35:38 $ docker top 4598929929e1916fe92bee9fa36c47f71f0caa5c43347d716b1f395cd9f83af1 -eo pid,comm [Pipeline] { [Pipeline] echo 03:35:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 03:35:38 + set -o pipefail 03:35:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 03:35:42 03:35:42 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 03:35:42 03:35:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/980e733c-2aad-4d7f-b8fe-37a23a55d500 03:35:42 03:35:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:35:42 03:35:42 03:35:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:35:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:35:42 More details here: https://snyk.co/ue1NS [Pipeline] } 03:35:42 $ docker stop --time=1 4598929929e1916fe92bee9fa36c47f71f0caa5c43347d716b1f395cd9f83af1 03:35:46 $ docker rm -f --volumes 4598929929e1916fe92bee9fa36c47f71f0caa5c43347d716b1f395cd9f83af1 [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 03:35:47 + git log --format=format:%s -1 75bc767cd91fa94e23213f88954145bb20b6ca5d [Pipeline] sh 03:35:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:48 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:35:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:48 $ docker top a3da613a3a6b77d5091d78e3bd1087678fa5c51a47fdc67f1eb73dd41ca46868 -eo pid,comm 03:35:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:35:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:48 [ssh-agent] Looking for ssh-agent implementation... 03:35:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:48 $ docker exec a3da613a3a6b77d5091d78e3bd1087678fa5c51a47fdc67f1eb73dd41ca46868 ssh-agent 03:35:49 SSH_AUTH_SOCK=/tmp/ssh-9rK2NZ40b6ln/agent.32 03:35:49 SSH_AGENT_PID=38 03:35:49 Running ssh-add (command line suppressed) 03:35:49 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6207455560850665779.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6207455560850665779.key) 03:35:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:49 + git semver tag 03:35:49 2024-03-17 03:35:49,636 [run_tag] DEBUG tag force:False 03:35:49 2024-03-17 03:35:49,636 [check_head_tag] DEBUG check head tag 03:35:49 2024-03-17 03:35:49,638 [execute] INFO git cat-file --batch-check 03:35:49 2024-03-17 03:35:49,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:35:49 2024-03-17 03:35:49,642 [execute] INFO git cat-file --batch 03:35:49 2024-03-17 03:35:49,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:35:49 2024-03-17 03:35:49,662 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:35:49 2024-03-17 03:35:49,663 [execute] INFO git tag -a v3.2.0-dev.11 -m v3.2.0-dev.11 03:35:49 2024-03-17 03:35:49,663 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.11', '-m', 'v3.2.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:35:49 2024-03-17 03:35:49,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:35:49 3.2.0-dev.11 [Pipeline] } 03:35:49 $ docker exec --env ******** --env ******** a3da613a3a6b77d5091d78e3bd1087678fa5c51a47fdc67f1eb73dd41ca46868 ssh-agent -k 03:35:49 unset SSH_AUTH_SOCK; 03:35:49 unset SSH_AGENT_PID; 03:35:49 echo Agent pid 38 killed; 03:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:50 + git semver [Pipeline] } 03:35:50 $ docker stop --time=1 a3da613a3a6b77d5091d78e3bd1087678fa5c51a47fdc67f1eb73dd41ca46868 03:35:51 $ docker rm -f --volumes a3da613a3a6b77d5091d78e3bd1087678fa5c51a47fdc67f1eb73dd41ca46868 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:52 03:35:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:52 0.23.1-centos7: Pulling from edgex-lftools 03:35:52 ab5ef0e58194: Pulling fs layer 03:35:52 9712f1f96733: Pulling fs layer 03:35:52 63f879dbbcfc: Pulling fs layer 03:35:52 0d9ebad4ef96: Pulling fs layer 03:35:52 e9a5061849ea: Pulling fs layer 03:35:52 d747dcd14b5f: Pulling fs layer 03:35:52 2de7ff778b66: Pulling fs layer 03:35:52 0d9ebad4ef96: Waiting 03:35:52 e9a5061849ea: Waiting 03:35:52 d747dcd14b5f: Waiting 03:35:52 9712f1f96733: Verifying Checksum 03:35:52 9712f1f96733: Download complete 03:35:52 63f879dbbcfc: Verifying Checksum 03:35:52 63f879dbbcfc: Download complete 03:35:52 e9a5061849ea: Verifying Checksum 03:35:52 e9a5061849ea: Download complete 03:35:52 0d9ebad4ef96: Verifying Checksum 03:35:52 0d9ebad4ef96: Download complete 03:35:52 d747dcd14b5f: Download complete 03:35:52 ab5ef0e58194: Download complete 03:35:53 2de7ff778b66: Verifying Checksum 03:35:53 2de7ff778b66: Download complete 03:35:56 ab5ef0e58194: Pull complete 03:35:56 9712f1f96733: Pull complete 03:35:57 63f879dbbcfc: Pull complete 03:36:01 0d9ebad4ef96: Pull complete 03:36:01 e9a5061849ea: Pull complete 03:36:01 d747dcd14b5f: Pull complete 03:36:02 2de7ff778b66: Pull complete 03:36:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:36:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:02 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:36:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:36:11 $ docker top c2377e9f04afc05a06f0a63d6155c47ca062e9290b8f90fce49485e3954ec50c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:36:11 provisioning config files... 03:36:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17759407995019353187tmp 03:36:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12504635138992617710tmp 03:36:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config509977157592020969tmp [Pipeline] { [Pipeline] echo 03:36:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:36:11 ---> sigul-configuration.sh 03:36:11 gpg: directory `/root/.gnupg' created 03:36:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:36:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:36:11 gpg: keyring `/root/.gnupg/secring.gpg' created 03:36:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:36:11 gpg: CAST5 encrypted data 03:36:11 gpg: encrypted with 1 passphrase 03:36:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:36:11 + mkdir /home/jenkins 03:36:11 + mkdir /home/jenkins/sigul [Pipeline] sh 03:36:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:36:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:36:12 ---> sigul-install.sh 03:36:12 Sigul already installed; skipping installation. [Pipeline] sh 03:36:12 + git tag --list 03:36:12 v1.0.0 03:36:12 v1.1.0 03:36:12 v1.1.1 03:36:12 v1.1.2 03:36:12 v1.2.0 03:36:12 v1.2.1 03:36:12 v2.0.0 03:36:12 v2.1.0 03:36:12 v2.1.1 03:36:12 v2.2.0 03:36:12 v2.3.0 03:36:12 v3.0 03:36:12 v3.0.0 03:36:12 v3.1 03:36:12 v3.1.0 03:36:12 v3.1.0-dev.1 03:36:12 v3.1.0-dev.10 03:36:12 v3.1.0-dev.11 03:36:12 v3.1.0-dev.12 03:36:12 v3.1.0-dev.13 03:36:12 v3.1.0-dev.14 03:36:12 v3.1.0-dev.15 03:36:12 v3.1.0-dev.16 03:36:12 v3.1.0-dev.17 03:36:12 v3.1.0-dev.18 03:36:12 v3.1.0-dev.19 03:36:12 v3.1.0-dev.2 03:36:12 v3.1.0-dev.20 03:36:12 v3.1.0-dev.21 03:36:12 v3.1.0-dev.22 03:36:12 v3.1.0-dev.23 03:36:12 v3.1.0-dev.24 03:36:12 v3.1.0-dev.25 03:36:12 v3.1.0-dev.26 03:36:12 v3.1.0-dev.27 03:36:12 v3.1.0-dev.28 03:36:12 v3.1.0-dev.29 03:36:12 v3.1.0-dev.3 03:36:12 v3.1.0-dev.30 03:36:12 v3.1.0-dev.31 03:36:12 v3.1.0-dev.32 03:36:12 v3.1.0-dev.4 03:36:12 v3.1.0-dev.5 03:36:12 v3.1.0-dev.6 03:36:12 v3.1.0-dev.7 03:36:12 v3.1.0-dev.8 03:36:12 v3.1.0-dev.9 03:36:12 v3.2.0-dev.1 03:36:12 v3.2.0-dev.10 03:36:12 v3.2.0-dev.11 03:36:12 v3.2.0-dev.2 03:36:12 v3.2.0-dev.3 03:36:12 v3.2.0-dev.4 03:36:12 v3.2.0-dev.5 03:36:12 v3.2.0-dev.6 03:36:12 v3.2.0-dev.7 03:36:12 v3.2.0-dev.8 03:36:12 v3.2.0-dev.9 [Pipeline] sh 03:36:13 + lftools sign git-tag v3.2.0-dev.11 03:36:13 Signing Git tag with Sigul... 03:36:13 Signing v3.2.0-dev.11 [Pipeline] echo 03:36:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:36:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:36:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:36:14 $ docker stop --time=1 c2377e9f04afc05a06f0a63d6155c47ca062e9290b8f90fce49485e3954ec50c 03:36:15 $ docker rm -f --volumes c2377e9f04afc05a06f0a63d6155c47ca062e9290b8f90fce49485e3954ec50c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:36:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:16 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:36:17 $ docker top 24e58044b69ddfe74f848794eecb01b1736387fb2eee46b38fb83006f9c7dc04 -eo pid,comm 03:36:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:36:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:17 [ssh-agent] Looking for ssh-agent implementation... 03:36:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:17 $ docker exec 24e58044b69ddfe74f848794eecb01b1736387fb2eee46b38fb83006f9c7dc04 ssh-agent 03:36:17 SSH_AUTH_SOCK=/tmp/ssh-YSko4EME9ncC/agent.32 03:36:17 SSH_AGENT_PID=38 03:36:17 Running ssh-add (command line suppressed) 03:36:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_393541114185520168.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_393541114185520168.key) 03:36:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:18 + git semver bump pre 03:36:18 2024-03-17 03:36:18,189 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:36:18 2024-03-17 03:36:18,189 [bump_version] DEBUG bumping version:3.2.0-dev.11 on axis:pre with prefix:dev 03:36:18 2024-03-17 03:36:18,189 [bump_version] DEBUG bumped version:3.2.0-dev.12 03:36:18 2024-03-17 03:36:18,189 [write_version] DEBUG write version:3.2.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 03:36:18 2024-03-17 03:36:18,189 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:36:18 2024-03-17 03:36:18,189 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:36:18 2024-03-17 03:36:18,191 [execute] INFO git cat-file --batch-check 03:36:18 2024-03-17 03:36:18,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:36:18 2024-03-17 03:36:18,198 [execute] INFO git cat-file --batch 03:36:18 2024-03-17 03:36:18,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:36:18 2024-03-17 03:36:18,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:36:18 3.2.0-dev.12 [Pipeline] } 03:36:18 $ docker exec --env ******** --env ******** 24e58044b69ddfe74f848794eecb01b1736387fb2eee46b38fb83006f9c7dc04 ssh-agent -k 03:36:18 unset SSH_AUTH_SOCK; 03:36:18 unset SSH_AGENT_PID; 03:36:18 echo Agent pid 38 killed; 03:36:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:18 + git semver [Pipeline] } 03:36:18 $ docker stop --time=1 24e58044b69ddfe74f848794eecb01b1736387fb2eee46b38fb83006f9c7dc04 03:36:20 $ docker rm -f --volumes 24e58044b69ddfe74f848794eecb01b1736387fb2eee46b38fb83006f9c7dc04 [Pipeline] // withDockerContainer [Pipeline] sh 03:36:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:20 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:36:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:36:21 $ docker top 94928ac07b8d7cabfb9f5d30faf16a38a69fd5cdac2af68fbf534950200369ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:21 [ssh-agent] Looking for ssh-agent implementation... 03:36:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:21 $ docker exec 94928ac07b8d7cabfb9f5d30faf16a38a69fd5cdac2af68fbf534950200369ec ssh-agent 03:36:21 SSH_AUTH_SOCK=/tmp/ssh-YmI5Oy2uPRGQ/agent.31 03:36:21 SSH_AGENT_PID=37 03:36:21 Running ssh-add (command line suppressed) 03:36:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11089833870968060805.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11089833870968060805.key) 03:36:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:22 + git semver push 03:36:22 2024-03-17 03:36:22,462 [run_push] DEBUG push 03:36:22 2024-03-17 03:36:22,462 [execute] INFO git cat-file --batch-check 03:36:22 2024-03-17 03:36:22,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:36:22 2024-03-17 03:36:22,468 [execute] INFO git rev-list b73a7ef50be423acdbd446c6634137d7cc72d54c -- 03:36:22 2024-03-17 03:36:22,468 [execute] DEBUG Popen(['git', 'rev-list', 'b73a7ef50be423acdbd446c6634137d7cc72d54c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:36:22 2024-03-17 03:36:22,478 [execute] INFO git fetch -v origin 03:36:22 2024-03-17 03:36:22,479 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:36:23 2024-03-17 03:36:22,990 [run_push] DEBUG no remote changes detected 03:36:23 2024-03-17 03:36:22,991 [execute] INFO git push origin semver 03:36:23 2024-03-17 03:36:22,991 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:36:24 2024-03-17 03:36:23,711 [run_push] DEBUG push all version tags 03:36:24 2024-03-17 03:36:23,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:36:24 2024-03-17 03:36:23,712 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:36:24 2024-03-17 03:36:24,380 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:36:24 3.2.0-dev.12 [Pipeline] } 03:36:24 $ docker exec --env ******** --env ******** 94928ac07b8d7cabfb9f5d30faf16a38a69fd5cdac2af68fbf534950200369ec ssh-agent -k 03:36:24 unset SSH_AUTH_SOCK; 03:36:24 unset SSH_AGENT_PID; 03:36:24 echo Agent pid 37 killed; 03:36:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:25 + git semver [Pipeline] } 03:36:25 $ docker stop --time=1 94928ac07b8d7cabfb9f5d30faf16a38a69fd5cdac2af68fbf534950200369ec 03:36:27 $ docker rm -f --volumes 94928ac07b8d7cabfb9f5d30faf16a38a69fd5cdac2af68fbf534950200369ec [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 03:36:27 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 03:36:27 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:36:27 total 16 03:36:27 drwxr-xr-x 3 root root 4096 Mar 17 03:27 . 03:36:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 03:36 .. 03:36:27 drwxr-xr-x 2 root root 4096 Mar 17 03:27 cost 03:36:27 -rw-r--r-- 1 root root 86 Mar 17 03:27 cost.csv 03:36:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 03:36:27 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:36:27 total 16 03:36:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:27 . 03:36:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 03:36 .. 03:36:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 03:27 cost 03:36:27 -rw-r--r-- 1 jenkins jenkins 86 Mar 17 03:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:36:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:36:29 ---> package-listing.sh 03:36:29 ++ facter osfamily 03:36:29 ++ tr '[:upper:]' '[:lower:]' 03:36:29 + OS_FAMILY=debian 03:36:29 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 03:36:29 + START_PACKAGES=/tmp/packages_start.txt 03:36:29 + END_PACKAGES=/tmp/packages_end.txt 03:36:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:36:29 + PACKAGES=/tmp/packages_start.txt 03:36:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:36:29 + PACKAGES=/tmp/packages_end.txt 03:36:29 + case "${OS_FAMILY}" in 03:36:29 + dpkg -l 03:36:29 + grep '^ii' 03:36:29 + '[' -f /tmp/packages_start.txt ']' 03:36:29 + '[' -f /tmp/packages_end.txt ']' 03:36:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:36:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:36:29 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 03:36:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 03:36:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:36:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:30 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 03:36:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:36:30 $ docker top 70aead601313d66093240a8d99190880eb22a80255a94348a6901f08a92f8ef5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:30 + touch /tmp/pre-build-complete [Pipeline] sh 03:36:31 + mkdir -p /var/log/sysstat [Pipeline] sh 03:36:31 + ls /var/log/sa-host 03:36:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:31 provisioning config files... 03:36:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3892818907088586908tmp [Pipeline] { [Pipeline] echo 03:36:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:36:31 ---> create-netrc.sh [Pipeline] } 03:36:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:36:32 ---> python-tools-install.sh [Pipeline] echo 03:36:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:36:32 ---> sudo-logs.sh 03:36:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:36:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:36:32 ---> job-cost.sh 03:36:32 lf-activate-venv: SKIPPING 03:36:32 DEBUG: total: 0.2199999988079071 03:36:32 INFO: Retrieving Stack Cost... 03:36:33 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:33 INFO: Archiving Costs [Pipeline] echo 03:36:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:36:34 ---> logs-deploy.sh 03:36:34 lf-activate-venv: SKIPPING 03:36:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/163 03:36:34 INFO: archiving workspace using pattern(s): 03:36:35 Archives upload complete. 03:36:35 INFO: archiving logs to Nexus 03:36:35 ---> uname -a: 03:36:35 Linux prd-ubuntu20-04-docker-8c-8g-176 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:36:35 03:36:35 03:36:35 ---> lscpu: 03:36:35 Architecture: x86_64 03:36:35 CPU op-mode(s): 32-bit, 64-bit 03:36:35 Byte Order: Little Endian 03:36:35 Address sizes: 40 bits physical, 48 bits virtual 03:36:35 CPU(s): 8 03:36:35 On-line CPU(s) list: 0-7 03:36:35 Thread(s) per core: 1 03:36:35 Core(s) per socket: 1 03:36:35 Socket(s): 8 03:36:35 NUMA node(s): 1 03:36:35 Vendor ID: AuthenticAMD 03:36:35 CPU family: 23 03:36:35 Model: 49 03:36:35 Model name: AMD EPYC-Rome Processor 03:36:35 Stepping: 0 03:36:35 CPU MHz: 2799.998 03:36:35 BogoMIPS: 5599.99 03:36:35 Virtualization: AMD-V 03:36:35 Hypervisor vendor: KVM 03:36:35 Virtualization type: full 03:36:35 L1d cache: 256 KiB 03:36:35 L1i cache: 256 KiB 03:36:35 L2 cache: 4 MiB 03:36:35 L3 cache: 128 MiB 03:36:35 NUMA node0 CPU(s): 0-7 03:36:35 Vulnerability Itlb multihit: Not affected 03:36:35 Vulnerability L1tf: Not affected 03:36:35 Vulnerability Mds: Not affected 03:36:35 Vulnerability Meltdown: Not affected 03:36:35 Vulnerability Mmio stale data: Not affected 03:36:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:36:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:36:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:36:35 Vulnerability Srbds: Not affected 03:36:35 Vulnerability Tsx async abort: Not affected 03:36:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:36:35 03:36:35 03:36:35 ---> nproc: 03:36:35 8 03:36:35 03:36:35