Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4864046db187b802f4fd351f9abe59b5b3174726 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-ssh2046307399201835934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5634794597041076850.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh11461523669828947120.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh15176894519983016921.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-ssh5368863264746494453.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.23 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24109 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 4864046db187b802f4fd351f9abe59b5b3174726 (main) Commit message: "Merge pull request #422 from weichou1229/v4-module" > 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 4864046db187b802f4fd351f9abe59b5b3174726 # timeout=10 > git rev-list --no-walk dc396c4a7312713bf5afd7bf9e2532e3e112802c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:11:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:11:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:11:28 ========================================================= 07:11:28 EdgeX Global Pipelines Version Info 07:11:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:11:29 ------------------- 07:11:29 stable info: 07:11:29 ------------------- 07:11:29 Commited By: Ginny Guan ginny@iotechsys.com 07:11:29 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:11:29 Message: update stable to v1.0.265 07:11:30 ------------------- 07:11:30 experimental info: 07:11:30 ------------------- 07:11:30 Commited By: Cherry Wang cherry@iotechsys.com 07:11:30 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:11:30 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo 07:11:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4864046 [Pipeline] echo 07:11:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:31 provisioning config files... 07:11:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9246535570622121914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:31 ---> ****-login.sh 07:11:31 nexus3.edgexfoundry.org:10001 07:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:31 Configure a credential helper to remove this warning. See 07:11:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:31 07:11:31 Login Succeeded 07:11:31 nexus3.edgexfoundry.org:10002 07:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:31 Configure a credential helper to remove this warning. See 07:11:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:31 07:11:31 Login Succeeded 07:11:31 nexus3.edgexfoundry.org:10003 07:11:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:31 Configure a credential helper to remove this warning. See 07:11:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:31 07:11:31 Login Succeeded 07:11:31 nexus3.edgexfoundry.org:10004 07:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:32 Configure a credential helper to remove this warning. See 07:11:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:32 07:11:32 Login Succeeded 07:11:32 ****.io 07:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:32 Configure a credential helper to remove this warning. See 07:11:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:32 07:11:32 Login Succeeded 07:11:32 ---> ****-login.sh ends [Pipeline] } 07:11:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:11:32 + git rev-list -1 --merges 4864046db187b802f4fd351f9abe59b5b3174726~1..4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo 07:11:32 -----------> git rev-list -1 --merges 4864046db187b802f4fd351f9abe59b5b3174726~1..4864046db187b802f4fd351f9abe59b5b3174726 4864046db187b802f4fd351f9abe59b5b3174726 07:11:32 4864046db187b802f4fd351f9abe59b5b3174726 [false] [Pipeline] sh 07:11:33 + git log --format=format:%s -1 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo 07:11:33 ========================================================= 07:11:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:11:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:33 + git log --format=format:%s -1 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo 07:11:33 [semverPrep] GIT_COMMIT: 4864046db187b802f4fd351f9abe59b5b3174726, Commit Message: Merge pull request #422 from weichou1229/v4-module [Pipeline] echo 07:11:33 [semverPrep] This is not a build commit. [Pipeline] sh 07:11:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:11:33 + grep -v github /etc/ssh/ssh_known_hosts 07:11:33 + [ -e /tmp/ssh_known_hosts ] 07:11:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:11:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:11:33 sudo tee -a /etc/ssh/ssh_known_hosts 07:11:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:34 07:11:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:34 0.1.4: Pulling from edgex-devops/py-git-semver 07:11:34 b85a868b505f: Pulling fs layer 07:11:34 e2be974225ed: Pulling fs layer 07:11:34 339a4e72a1f5: Pulling fs layer 07:11:34 988bab9f4d93: Pulling fs layer 07:11:34 1469e6f7b9e6: Pulling fs layer 07:11:34 eaf3925da568: Pulling fs layer 07:11:34 bab4dde63d76: Pulling fs layer 07:11:34 bde34c3a00c8: Pulling fs layer 07:11:34 b352a97aabf1: Pulling fs layer 07:11:34 4872d77fe225: Pulling fs layer 07:11:34 5851b861e8e6: Pulling fs layer 07:11:34 988bab9f4d93: Waiting 07:11:34 bab4dde63d76: Waiting 07:11:34 bde34c3a00c8: Waiting 07:11:34 b352a97aabf1: Waiting 07:11:34 4872d77fe225: Waiting 07:11:34 eaf3925da568: Waiting 07:11:34 5851b861e8e6: Waiting 07:11:34 e2be974225ed: Download complete 07:11:34 988bab9f4d93: Download complete 07:11:34 1469e6f7b9e6: Download complete 07:11:34 eaf3925da568: Verifying Checksum 07:11:34 eaf3925da568: Download complete 07:11:34 339a4e72a1f5: Verifying Checksum 07:11:34 339a4e72a1f5: Download complete 07:11:34 bde34c3a00c8: Download complete 07:11:34 b352a97aabf1: Verifying Checksum 07:11:34 b352a97aabf1: Download complete 07:11:34 4872d77fe225: Verifying Checksum 07:11:34 4872d77fe225: Download complete 07:11:34 5851b861e8e6: Verifying Checksum 07:11:34 5851b861e8e6: Download complete 07:11:34 b85a868b505f: Verifying Checksum 07:11:34 b85a868b505f: Download complete 07:11:35 bab4dde63d76: Verifying Checksum 07:11:35 bab4dde63d76: Download complete 07:11:36 b85a868b505f: Pull complete 07:11:36 e2be974225ed: Pull complete 07:11:36 339a4e72a1f5: Pull complete 07:11:36 988bab9f4d93: Pull complete 07:11:37 1469e6f7b9e6: Pull complete 07:11:37 eaf3925da568: Pull complete 07:11:39 bab4dde63d76: Pull complete 07:11:39 bde34c3a00c8: Pull complete 07:11:39 b352a97aabf1: Pull complete 07:11:39 4872d77fe225: Pull complete 07:11:39 5851b861e8e6: Pull complete 07:11:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:40 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:11:44 $ docker top 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d -eo pid,comm 07:11:44 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). 07:11:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:11:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:44 [ssh-agent] Looking for ssh-agent implementation... 07:11:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:45 $ docker exec 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent 07:11:45 SSH_AUTH_SOCK=/tmp/ssh-gVDqGP4i9UX1/agent.14 07:11:45 SSH_AGENT_PID=38 07:11:45 Running ssh-add (command line suppressed) 07:11:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2172133323280128795.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2172133323280128795.key) 07:11:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:45 + git tag --points-at HEAD [Pipeline] } 07:11:45 $ docker exec --env ******** --env ******** 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent -k 07:11:45 unset SSH_AUTH_SOCK; 07:11:45 unset SSH_AGENT_PID; 07:11:45 echo Agent pid 38 killed; 07:11:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:11:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:45 [ssh-agent] Looking for ssh-agent implementation... 07:11:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:45 $ docker exec 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent 07:11:45 SSH_AUTH_SOCK=/tmp/ssh-IAGm4zFWAGaq/agent.71 07:11:45 SSH_AGENT_PID=77 07:11:45 Running ssh-add (command line suppressed) 07:11:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9785491438170508475.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9785491438170508475.key) 07:11:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:46 + git semver init 07:11:46 2024-10-30 07:11:46,661 [run_init] DEBUG init version:0.0.0 force:False 07:11:46 2024-10-30 07:11:46,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 07:11:46 2024-10-30 07:11:46,664 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 07:11:46 2024-10-30 07:11:46,665 [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) 07:11:48 2024-10-30 07:11:47,986 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 07:11:48 2024-10-30 07:11:47,987 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 07:11:48 2024-10-30 07:11:47,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:11:48 2024-10-30 07:11:47,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:11:48 4.0.0-dev.1 [Pipeline] } 07:11:48 $ docker exec --env ******** --env ******** 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent -k 07:11:48 unset SSH_AUTH_SOCK; 07:11:48 unset SSH_AGENT_PID; 07:11:48 echo Agent pid 77 killed; 07:11:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:11:48 + git semver [Pipeline] } 07:11:48 $ docker stop --time=1 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d 07:11:50 $ docker rm -f --volumes 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d [Pipeline] // withDockerContainer [Pipeline] sh 07:11:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:11:50 Stashed 1 file(s) [Pipeline] echo 07:11:50 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:50 provisioning config files... 07:11:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7732688406751331891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:51 ---> ****-login.sh 07:11:51 nexus3.edgexfoundry.org:10001 07:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 nexus3.edgexfoundry.org:10002 07:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 nexus3.edgexfoundry.org:10003 07:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 nexus3.edgexfoundry.org:10004 07:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 ****.io 07:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 ---> ****-login.sh ends [Pipeline] } 07:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:11:51 ========================================================= 07:11:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:11:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:11:52 Sending build context to Docker daemon 16.63MB 07:11:52 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:11:52 Step 2/12 : FROM ${BASE} AS builder 07:11:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:52 43c4264eed91: Pulling fs layer 07:11:52 4cc291be95ef: Pulling fs layer 07:11:52 2ac1f1163629: Pulling fs layer 07:11:52 5c3c966382ef: Pulling fs layer 07:11:52 4f4fb700ef54: Pulling fs layer 07:11:52 5d5c8e513c77: Pulling fs layer 07:11:52 9f66e0745190: Pulling fs layer 07:11:52 f49a43e4bbc0: Pulling fs layer 07:11:52 561ebcabdf7f: Pulling fs layer 07:11:52 4f4fb700ef54: Waiting 07:11:52 5d5c8e513c77: Waiting 07:11:52 9f66e0745190: Waiting 07:11:52 5c3c966382ef: Waiting 07:11:52 f49a43e4bbc0: Waiting 07:11:52 561ebcabdf7f: Waiting 07:11:52 4cc291be95ef: Verifying Checksum 07:11:52 4cc291be95ef: Download complete 07:11:52 5c3c966382ef: Verifying Checksum 07:11:52 5c3c966382ef: Download complete 07:11:52 4f4fb700ef54: Verifying Checksum 07:11:52 4f4fb700ef54: Download complete 07:11:52 5d5c8e513c77: Download complete 07:11:52 43c4264eed91: Verifying Checksum 07:11:52 43c4264eed91: Download complete 07:11:52 9f66e0745190: Verifying Checksum 07:11:52 9f66e0745190: Download complete 07:11:52 43c4264eed91: Pull complete 07:11:52 561ebcabdf7f: Verifying Checksum 07:11:52 561ebcabdf7f: Download complete 07:11:52 4cc291be95ef: Pull complete 07:11:53 2ac1f1163629: Verifying Checksum 07:11:53 2ac1f1163629: Download complete 07:11:53 f49a43e4bbc0: Verifying Checksum 07:11:53 f49a43e4bbc0: Download complete 07:11:56 2ac1f1163629: Pull complete 07:11:56 5c3c966382ef: Pull complete 07:11:56 4f4fb700ef54: Pull complete 07:11:56 5d5c8e513c77: Pull complete 07:11:56 9f66e0745190: Pull complete 07:11:59 f49a43e4bbc0: Pull complete 07:12:00 561ebcabdf7f: Pull complete 07:12:00 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:12:00 ---> 3a752c3f9dda 07:12:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:12:05 Still waiting to schedule task 07:12:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:12:06 ---> Running in 915374cedc7b 07:12:06 Removing intermediate container 915374cedc7b 07:12:06 ---> 5003bf01a961 07:12:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:12:06 ---> Running in dde74a284296 07:12:06 Removing intermediate container dde74a284296 07:12:06 ---> bb408077fbdd 07:12:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:12:06 ---> Running in 360d03d0e296 07:12:06 Removing intermediate container 360d03d0e296 07:12:06 ---> ca05d3716759 07:12:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:12:06 ---> Running in 64d29f7d9dee 07:12:06 Removing intermediate container 64d29f7d9dee 07:12:06 ---> 9eed9ac56a1a 07:12:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:06 ---> Running in 1218e25ae5ef 07:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:12:07 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:12:07 (2/4) Installing libedit (20240517.3.1-r0) 07:12:07 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:12:07 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:12:07 Executing busybox-1.36.1-r29.trigger 07:12:07 OK: 250 MiB in 58 packages 07:12:07 Removing intermediate container 1218e25ae5ef 07:12:07 ---> 5806c4595218 07:12:07 Step 8/12 : WORKDIR /device-rest-go 07:12:07 ---> Running in fcf84a0ff4b9 07:12:07 Removing intermediate container fcf84a0ff4b9 07:12:07 ---> 3743d7686a68 07:12:07 Step 9/12 : COPY go.mod vendor* ./ 07:12:07 ---> e1a6095390ea 07:12:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:07 ---> Running in 29879ea5fa23 07:13:04 Removing intermediate container 29879ea5fa23 07:13:04 ---> 2d79be603ddc 07:13:04 Step 11/12 : COPY . . 07:13:04 ---> 7fcbacf05f10 07:13:04 Step 12/12 : RUN $MAKE 07:13:04 ---> Running in f0940a9a53db 07:13:04 noop 07:13:04 Removing intermediate container f0940a9a53db 07:13:04 ---> e2f53f78361e 07:13:04 Successfully built e2f53f78361e 07:13:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:04 + docker inspect -f . ci-base-image-x86_64 07:13:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:04 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:13:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:13:05 $ docker top c33d1a612465d89737b0186d35f337b07b15b62e778e71fa24bbfb01fffbb866 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:05 + go version 07:13:05 go version go1.23.2 linux/amd64 [Pipeline] } 07:13:05 $ docker stop --time=1 c33d1a612465d89737b0186d35f337b07b15b62e778e71fa24bbfb01fffbb866 07:13:06 $ docker rm -f --volumes c33d1a612465d89737b0186d35f337b07b15b62e778e71fa24bbfb01fffbb866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:07 + docker inspect -f . ci-base-image-x86_64 07:13:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:07 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:13:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:13:07 $ docker top 862af0806a1a752ec918df3d31aa37eefed0e95b3bb3a2d417d812335e868f0f -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 07:13:08 + make test 07:13:08 go test ./... -coverprofile=coverage.out ./... 07:13:10 ? github.com/edgexfoundry/device-rest-go [no test files] 07:13:32 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 07:13:32 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 07:13:42 go vet ./... 07:13:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:13:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:13:47 ./bin/test-attribution-txt.sh [Pipeline] echo 07:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:13:47 $ docker stop --time=1 862af0806a1a752ec918df3d31aa37eefed0e95b3bb3a2d417d812335e868f0f 07:13:51 $ docker rm -f --volumes 862af0806a1a752ec918df3d31aa37eefed0e95b3bb3a2d417d812335e868f0f [Pipeline] // withDockerContainer [Pipeline] sh 07:13:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:13:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:53 + ls -al . 07:13:53 total 256 07:13:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 07:13 . 07:13:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:11 .. 07:13:53 -rw-rw-r-- 1 jenkins jenkins 151 Oct 30 07:11 .dockerignore 07:13:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:13 .git 07:13:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 .github 07:13:53 -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 07:11 .gitignore 07:13:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 07:11 .golangci.yml 07:13:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:11 .semver 07:13:53 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 30 07:11 Attribution.txt 07:13:53 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 30 07:11 CHANGELOG.md 07:13:53 -rw-rw-r-- 1 jenkins jenkins 1697 Oct 30 07:11 Dockerfile 07:13:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:11 GOVERNANCE.md 07:13:53 -rw-rw-r-- 1 jenkins jenkins 680 Oct 30 07:11 Jenkinsfile 07:13:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:11 LICENSE 07:13:53 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 30 07:11 Makefile 07:13:53 -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 07:11 OWNERS.md 07:13:53 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 30 07:11 README.md 07:13:53 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 07:11 VERSION 07:13:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:11 bin 07:13:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 cmd 07:13:53 -rw-r--r-- 1 jenkins jenkins 14565 Oct 30 07:13 coverage.out 07:13:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:11 driver 07:13:53 -rw-rw-r-- 1 jenkins jenkins 7099 Oct 30 07:11 go.mod 07:13:53 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 07:11 go.sum 07:13:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 openapi 07:13:53 -rw-rw-r-- 1 jenkins jenkins 713 Oct 30 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:53 + 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=4864046db187b802f4fd351f9abe59b5b3174726 --label arch=amd64 --label version=4.0.0-dev.1 . 07:13:53 Sending build context to Docker daemon 16.65MB 07:13:53 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:13:53 Step 2/26 : FROM ${BASE} AS builder 07:13:53 ---> e2f53f78361e 07:13:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:13:53 ---> Running in ab225b38542a 07:13:53 Removing intermediate container ab225b38542a 07:13:53 ---> 408c5e5cd397 07:13:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:13:54 ---> Running in a774cda8e055 07:13:54 Removing intermediate container a774cda8e055 07:13:54 ---> 0843e4d215fe 07:13:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:13:54 ---> Running in 2f77be7fdd41 07:13:54 Removing intermediate container 2f77be7fdd41 07:13:54 ---> 9f14e5b9dc78 07:13:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:13:54 ---> Running in 6209287389cb 07:13:54 Removing intermediate container 6209287389cb 07:13:54 ---> 5aadea3c7604 07:13:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:13:54 ---> Running in 4b416492b7d2 07:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:13:55 OK: 250 MiB in 58 packages 07:13:55 Removing intermediate container 4b416492b7d2 07:13:55 ---> 95c25014a88b 07:13:55 Step 8/26 : WORKDIR /device-rest-go 07:13:55 ---> Running in f8030b94d9bf 07:13:55 Removing intermediate container f8030b94d9bf 07:13:55 ---> 3f852fbbc897 07:13:55 Step 9/26 : COPY go.mod vendor* ./ 07:13:55 ---> 1d037b0b13ac 07:13:55 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:13:55 ---> Running in 2a9fb0636053 07:13:56 Removing intermediate container 2a9fb0636053 07:13:56 ---> a9ec082a08ae 07:13:56 Step 11/26 : COPY . . 07:13:56 ---> b4a5ad6cbd27 07:13:56 Step 12/26 : RUN $MAKE 07:13:56 ---> Running in 396b739fa319 07:13:57 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 07:14:35 Removing intermediate container 396b739fa319 07:14:35 ---> f76a6874acec 07:14:35 Step 13/26 : FROM alpine:3.20 07:14:35 3.20: Pulling from library/alpine 07:14:35 43c4264eed91: Already exists 07:14:35 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:14:35 Status: Downloaded newer image for alpine:3.20 07:14:35 ---> 91ef0af61f39 07:14:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:14:35 ---> Running in fe92e5004871 07:14:35 Removing intermediate container fe92e5004871 07:14:35 ---> 22bca1010b9d 07:14:35 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 07:14:35 ---> Running in 865620ba96ab 07:14:35 Removing intermediate container 865620ba96ab 07:14:35 ---> b3c28da2f9e8 07:14:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:14:35 ---> Running in ad5404b7aa14 07:14:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:14:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:14:35 (1/1) Installing dumb-init (1.2.5-r3) 07:14:35 Executing busybox-1.36.1-r29.trigger 07:14:35 OK: 8 MiB in 15 packages 07:14:36 Removing intermediate container ad5404b7aa14 07:14:36 ---> 4433e243c45e 07:14:36 Step 17/26 : RUN apk --no-cache upgrade 07:14:36 ---> Running in be89aa5f4ba1 07:14:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:14:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:14:37 Upgrading critical system libraries and apk-tools: 07:14:37 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:14:37 Executing busybox-1.36.1-r29.trigger 07:14:37 Continuing the upgrade transaction with new apk-tools: 07:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:14:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24111 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 07:14:37 Running in /w/workspace/device-rest-go/178 [Pipeline] { [Pipeline] checkout 07:14:37 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:14:37 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:14:37 OK: 8 MiB in 15 packages 07:14:37 The recommended git tool is: git 07:14:39 Removing intermediate container be89aa5f4ba1 07:14:39 ---> b7376e7646f6 07:14:39 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 07:14:41 ---> e7187a48a386 07:14:41 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 07:14:41 ---> 4125e6722e4c 07:14:41 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 07:14:42 ---> 6532b2f7189b 07:14:42 Step 21/26 : EXPOSE 59986 07:14:42 ---> Running in b58a8a704c4a 07:14:42 Removing intermediate container b58a8a704c4a 07:14:42 ---> 133e369fa054 07:14:42 Step 22/26 : ENTRYPOINT ["/device-rest"] 07:14:42 ---> Running in c92b3ab668de 07:14:42 Removing intermediate container c92b3ab668de 07:14:42 ---> 313d967cb720 07:14:42 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:14:42 ---> Running in 244a2e301691 07:14:42 Removing intermediate container 244a2e301691 07:14:42 ---> 385a2c0aa1ee 07:14:42 Step 24/26 : LABEL arch=amd64 07:14:42 ---> Running in bc14b2402220 07:14:42 Removing intermediate container bc14b2402220 07:14:42 ---> 51d48b891b4d 07:14:42 Step 25/26 : LABEL git_sha=4864046db187b802f4fd351f9abe59b5b3174726 07:14:42 ---> Running in 7e302c4eaf1a 07:14:42 Removing intermediate container 7e302c4eaf1a 07:14:42 ---> 03669f0d5311 07:14:42 Step 26/26 : LABEL version=4.0.0-dev.1 07:14:42 ---> Running in cc66c005def5 07:14:42 Removing intermediate container cc66c005def5 07:14:42 ---> 2358f5bc18aa 07:14:42 [Warning] One or more build-args [ARCH] were not consumed 07:14:42 Successfully built 2358f5bc18aa 07:14:42 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:42 provisioning config files... 07:14:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14865369635527084586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:43 ---> ****-login.sh 07:14:43 nexus3.edgexfoundry.org:10001 07:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:43 Configure a credential helper to remove this warning. See 07:14:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:43 07:14:43 Login Succeeded 07:14:43 nexus3.edgexfoundry.org:10002 07:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:43 Configure a credential helper to remove this warning. See 07:14:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:43 07:14:43 Login Succeeded 07:14:43 nexus3.edgexfoundry.org:10003 07:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:43 Configure a credential helper to remove this warning. See 07:14:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:43 07:14:43 Login Succeeded 07:14:43 nexus3.edgexfoundry.org:10004 07:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:43 Configure a credential helper to remove this warning. See 07:14:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:43 07:14:43 Login Succeeded 07:14:43 ****.io 07:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:43 Configure a credential helper to remove this warning. See 07:14:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:43 07:14:43 Login Succeeded 07:14:43 ---> ****-login.sh ends [Pipeline] } 07:14:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:14:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:14:43 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 07:14:43 4864046db187b802f4fd351f9abe59b5b3174726 07:14:43 latest 07:14:43 4.0.0-dev.1 07:14:43 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 07:14:43 main 07:14:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726 07:14:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:14:44 733d975e8db8: Preparing 07:14:44 ab1b69603fc5: Preparing 07:14:44 b6a67630d7ed: Preparing 07:14:44 1dc5c487af6b: Preparing 07:14:44 106b3d26d2b1: Preparing 07:14:44 63ca1fbb43ae: Preparing 07:14:44 63ca1fbb43ae: Waiting 07:14:44 ab1b69603fc5: Pushed 07:14:44 733d975e8db8: Pushed 07:14:44 106b3d26d2b1: Pushed 07:14:44 63ca1fbb43ae: Layer already exists 07:14:45 1dc5c487af6b: Pushed 07:14:46 using credential edgex-jenkins-ssh 07:14:46 Cloning the remote Git repository 07:14:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:14:47 > git init /w/workspace/device-rest-go/178 # timeout=10 07:14:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:14:47 > git --version # timeout=10 07:14:47 > git --version # 'git version 2.25.1' 07:14:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:14:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:14:49 b6a67630d7ed: Pushed 07:14:49 4864046db187b802f4fd351f9abe59b5b3174726: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 07:14:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:14:49 733d975e8db8: Preparing 07:14:49 ab1b69603fc5: Preparing 07:14:49 b6a67630d7ed: Preparing 07:14:49 1dc5c487af6b: Preparing 07:14:49 106b3d26d2b1: Preparing 07:14:49 63ca1fbb43ae: Preparing 07:14:49 63ca1fbb43ae: Waiting 07:14:49 ab1b69603fc5: Layer already exists 07:14:49 106b3d26d2b1: Layer already exists 07:14:49 1dc5c487af6b: Layer already exists 07:14:49 b6a67630d7ed: Layer already exists 07:14:49 733d975e8db8: Layer already exists 07:14:49 63ca1fbb43ae: Layer already exists 07:14:49 latest: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.1 07:14:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:14:50 733d975e8db8: Preparing 07:14:50 ab1b69603fc5: Preparing 07:14:50 b6a67630d7ed: Preparing 07:14:50 1dc5c487af6b: Preparing 07:14:50 106b3d26d2b1: Preparing 07:14:50 63ca1fbb43ae: Preparing 07:14:50 63ca1fbb43ae: Waiting 07:14:50 106b3d26d2b1: Layer already exists 07:14:50 1dc5c487af6b: Layer already exists 07:14:50 ab1b69603fc5: Layer already exists 07:14:50 733d975e8db8: Layer already exists 07:14:50 b6a67630d7ed: Layer already exists 07:14:50 63ca1fbb43ae: Layer already exists 07:14:50 4.0.0-dev.1: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 07:14:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:14:51 733d975e8db8: Preparing 07:14:51 ab1b69603fc5: Preparing 07:14:51 b6a67630d7ed: Preparing 07:14:51 1dc5c487af6b: Preparing 07:14:51 106b3d26d2b1: Preparing 07:14:51 63ca1fbb43ae: Preparing 07:14:51 63ca1fbb43ae: Waiting 07:14:51 ab1b69603fc5: Layer already exists 07:14:51 b6a67630d7ed: Layer already exists 07:14:51 1dc5c487af6b: Layer already exists 07:14:51 106b3d26d2b1: Layer already exists 07:14:51 733d975e8db8: Layer already exists 07:14:51 63ca1fbb43ae: Layer already exists 07:14:51 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 07:14:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:14:52 733d975e8db8: Preparing 07:14:52 ab1b69603fc5: Preparing 07:14:52 b6a67630d7ed: Preparing 07:14:52 1dc5c487af6b: Preparing 07:14:52 106b3d26d2b1: Preparing 07:14:52 63ca1fbb43ae: Preparing 07:14:52 106b3d26d2b1: Layer already exists 07:14:52 ab1b69603fc5: Layer already exists 07:14:52 1dc5c487af6b: Layer already exists 07:14:52 b6a67630d7ed: Layer already exists 07:14:52 733d975e8db8: Layer already exists 07:14:52 63ca1fbb43ae: Layer already exists 07:14:52 main: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:14:52 ===================================================== [Pipeline] echo 07:14:52 taggedImages: 07:14:52 - nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726 07:14:52 - nexus3.edgexfoundry.org:10004/device-rest:latest 07:14:52 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.1 07:14:52 - nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 07:14:52 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:52 07:14:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:52 latest: Pulling from edgex-lftools-log-publisher 07:14:52 5eb5b503b376: Pulling fs layer 07:14:52 5c69ac0246d0: Pulling fs layer 07:14:52 ec43610c2a17: Pulling fs layer 07:14:52 3a2ae6a8a46f: Pulling fs layer 07:14:52 33b1e0a273af: Pulling fs layer 07:14:52 5d3b04190fa2: Pulling fs layer 07:14:52 2f39f015ded8: Pulling fs layer 07:14:52 3a2ae6a8a46f: Waiting 07:14:52 5d3b04190fa2: Waiting 07:14:52 33b1e0a273af: Waiting 07:14:52 2f39f015ded8: Waiting 07:14:53 5c69ac0246d0: Verifying Checksum 07:14:53 5c69ac0246d0: Download complete 07:14:53 3a2ae6a8a46f: Verifying Checksum 07:14:53 3a2ae6a8a46f: Download complete 07:14:53 33b1e0a273af: Verifying Checksum 07:14:53 33b1e0a273af: Download complete 07:14:53 5d3b04190fa2: Verifying Checksum 07:14:53 5d3b04190fa2: Download complete 07:14:53 ec43610c2a17: Verifying Checksum 07:14:53 ec43610c2a17: Download complete 07:14:53 5eb5b503b376: Verifying Checksum 07:14:53 5eb5b503b376: Download complete 07:14:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:14:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:14:53 Avoid second fetch 07:14:53 Checking out Revision 4864046db187b802f4fd351f9abe59b5b3174726 (main) 07:14:54 2f39f015ded8: Download complete 07:14:54 5eb5b503b376: Pull complete 07:14:54 5c69ac0246d0: Pull complete 07:14:53 > git config core.sparsecheckout # timeout=10 07:14:53 > git checkout -f 4864046db187b802f4fd351f9abe59b5b3174726 # timeout=10 07:14:55 Commit message: "Merge pull request #422 from weichou1229/v4-module" 07:14:55 ec43610c2a17: Pull complete 07:14:55 3a2ae6a8a46f: Pull complete 07:14:55 33b1e0a273af: Pull complete 07:14:56 5d3b04190fa2: Pull complete 07:14:59 07:14:59 GitHub has been notified of this commit’s build result 07:14:59 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:00 2f39f015ded8: Pull complete 07:15:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:15:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:15:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:15:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:15:00 Dload Upload Total Spent Left Speed 07:15:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k 07:15:00 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:15:06 $ docker top e48630629e4a664a34e76c0d84c69c67665d71a5e3a92141e3ae746b451dbfc2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 07:15:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:15:06 ---> job-cost.sh 07:15:06 lf-activate-venv: SKIPPING 07:15:06 INFO: No Stack... 07:15:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:15:07 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 07:15:07 /etc/docker/daemon.json 07:15:07 { 07:15:07 "registry-mirrors": [ 07:15:07 "https://nexus3.edgexfoundry.org:10001" 07:15:07 ], 07:15:07 "bip": "10.250.0.254/24", 07:15:07 "hosts": [ 07:15:07 "tcp://0.0.0.0:5555", 07:15:07 "unix:///var/run/docker.sock" 07:15:07 ], 07:15:07 "mtu": 1458, 07:15:07 "selinux-enabled": true, 07:15:07 "seccomp-profile": "/etc/docker/seccomp.json" 07:15:07 } [Pipeline] sh 07:15:07 INFO: Archiving Costs [Pipeline] sh 07:15:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:15:07 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 07:15:07 + cut -d, -f6 [Pipeline] lock 07:15:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] 07:15:07 Resource [jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] did not exist. Created. 07:15:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:15:07 + sudo service docker restart 07:15:07 + echo total: 0.2199999988079071 [Pipeline] stash 07:15:08 Stashed 1 file(s) [Pipeline] } 07:15:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 07:15:08 $ docker stop --time=1 e48630629e4a664a34e76c0d84c69c67665d71a5e3a92141e3ae746b451dbfc2 07:15:09 $ docker rm -f --volumes e48630629e4a664a34e76c0d84c69c67665d71a5e3a92141e3ae746b451dbfc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:26 provisioning config files... 07:15:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/178@tmp/config9378491277480060959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:26 ---> ****-login.sh 07:15:26 nexus3.edgexfoundry.org:10001 07:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:27 Configure a credential helper to remove this warning. See 07:15:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:27 07:15:27 Login Succeeded 07:15:27 nexus3.edgexfoundry.org:10002 07:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:27 Configure a credential helper to remove this warning. See 07:15:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:27 07:15:27 Login Succeeded 07:15:27 nexus3.edgexfoundry.org:10003 07:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:27 Configure a credential helper to remove this warning. See 07:15:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:27 07:15:27 Login Succeeded 07:15:27 nexus3.edgexfoundry.org:10004 07:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:28 Configure a credential helper to remove this warning. See 07:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:28 07:15:28 Login Succeeded 07:15:28 ****.io 07:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:28 Configure a credential helper to remove this warning. See 07:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:28 07:15:28 Login Succeeded 07:15:28 ---> ****-login.sh ends [Pipeline] } 07:15:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:15:29 ========================================================= 07:15:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:15:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:15:29 Sending build context to Docker daemon 140.8kB 07:15:29 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:15:29 Step 2/12 : FROM ${BASE} AS builder 07:15:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:15:29 cf04c63912e1: Pulling fs layer 07:15:29 55b35a11ae5e: Pulling fs layer 07:15:29 a37a00ec5f00: Pulling fs layer 07:15:29 50b3750afda1: Pulling fs layer 07:15:29 4f4fb700ef54: Pulling fs layer 07:15:29 80978eb59214: Pulling fs layer 07:15:29 c9f46d7d2bd2: Pulling fs layer 07:15:29 c5a475d317c9: Pulling fs layer 07:15:29 50b3750afda1: Waiting 07:15:29 c9f46d7d2bd2: Waiting 07:15:29 4f4fb700ef54: Waiting 07:15:29 80978eb59214: Waiting 07:15:29 c5a475d317c9: Waiting 07:15:30 55b35a11ae5e: Verifying Checksum 07:15:30 55b35a11ae5e: Download complete 07:15:30 50b3750afda1: Verifying Checksum 07:15:30 50b3750afda1: Download complete 07:15:30 4f4fb700ef54: Verifying Checksum 07:15:30 4f4fb700ef54: Download complete 07:15:30 80978eb59214: Verifying Checksum 07:15:30 80978eb59214: Download complete 07:15:30 cf04c63912e1: Download complete 07:15:30 c5a475d317c9: Verifying Checksum 07:15:30 c5a475d317c9: Download complete 07:15:30 cf04c63912e1: Pull complete 07:15:31 55b35a11ae5e: Pull complete 07:15:32 a37a00ec5f00: Verifying Checksum 07:15:32 a37a00ec5f00: Download complete 07:15:33 c9f46d7d2bd2: Verifying Checksum 07:15:33 c9f46d7d2bd2: Download complete 07:15:48 a37a00ec5f00: Pull complete 07:15:48 50b3750afda1: Pull complete 07:15:48 4f4fb700ef54: Pull complete 07:15:48 80978eb59214: Pull complete 07:15:56 c9f46d7d2bd2: Pull complete 07:15:57 c5a475d317c9: Pull complete 07:15:57 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:15:57 ---> be29e6b0f0d4 07:15:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:15:58 ---> Running in c737c2dfee88 07:15:58 Removing intermediate container c737c2dfee88 07:15:58 ---> bcee401742a2 07:15:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:15:59 ---> Running in 87f479d00483 07:15:59 Removing intermediate container 87f479d00483 07:15:59 ---> becaaeb54461 07:15:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:15:59 ---> Running in 616eae57e219 07:15:59 Removing intermediate container 616eae57e219 07:15:59 ---> 25c9d9d7cc90 07:15:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:15:59 ---> Running in d7949eaa68bd 07:16:00 Removing intermediate container d7949eaa68bd 07:16:00 ---> 62f1ac758ad3 07:16:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:00 ---> Running in 04a16eff4458 07:16:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:16:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:16:03 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:16:03 (2/4) Installing libedit (20240517.3.1-r0) 07:16:03 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:16:03 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:16:03 Executing busybox-1.36.1-r29.trigger 07:16:03 OK: 242 MiB in 58 packages 07:16:04 Removing intermediate container 04a16eff4458 07:16:04 ---> 8308730bd72c 07:16:04 Step 8/12 : WORKDIR /device-rest-go 07:16:04 ---> Running in da15730911e3 07:16:04 Removing intermediate container da15730911e3 07:16:04 ---> 55bead99950f 07:16:04 Step 9/12 : COPY go.mod vendor* ./ 07:16:05 ---> bd8ec5caa8b2 07:16:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:05 ---> Running in 5f02bcb0cea5 07:18:12 Removing intermediate container 5f02bcb0cea5 07:18:12 ---> 9394fde90377 07:18:12 Step 11/12 : COPY . . 07:18:12 ---> a94841043fcf 07:18:12 Step 12/12 : RUN $MAKE 07:18:12 ---> Running in c28b9910f2e2 07:18:12 noop 07:18:12 Removing intermediate container c28b9910f2e2 07:18:12 ---> 0772cbea5c22 07:18:12 Successfully built 0772cbea5c22 07:18:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:12 + docker inspect -f . ci-base-image-arm64 07:18:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:12 prd-ubuntu20.04-docker-arm64-4c-16g-24111 does not seem to be running inside a container 07:18:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/178 -v /w/workspace/device-rest-go/178:/w/workspace/device-rest-go/178:rw,z -v /w/workspace/device-rest-go/178@tmp:/w/workspace/device-rest-go/178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:18:14 $ docker top 988f476feb51f735047e62930bb48e05404e5d7738eab0e95206459e6f21b764 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:15 + go version 07:18:15 go version go1.23.2 linux/arm64 [Pipeline] } 07:18:15 $ docker stop --time=1 988f476feb51f735047e62930bb48e05404e5d7738eab0e95206459e6f21b764 07:18:17 $ docker rm -f --volumes 988f476feb51f735047e62930bb48e05404e5d7738eab0e95206459e6f21b764 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:17 + docker inspect -f . ci-base-image-arm64 07:18:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:17 prd-ubuntu20.04-docker-arm64-4c-16g-24111 does not seem to be running inside a container 07:18:18 $ 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/178 -v /w/workspace/device-rest-go/178:/w/workspace/device-rest-go/178:rw,z -v /w/workspace/device-rest-go/178@tmp:/w/workspace/device-rest-go/178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:18:19 $ docker top 4f3153742e85d21974f499442fdc3a55e15e5679ab3fe70833c719d059fde209 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:20 + git config --global --add safe.directory /w/workspace/device-rest-go/178 [Pipeline] fileExists [Pipeline] sh 07:18:20 + make test 07:18:20 go test ./... -coverprofile=coverage.out ./... 07:18:27 ? github.com/edgexfoundry/device-rest-go [no test files] 07:22:04 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 07:22:04 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 07:22:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:22:04 go vet ./... 07:22:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:22:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:22:51 ./bin/test-attribution-txt.sh [Pipeline] echo 07:22:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:22:52 $ docker stop --time=1 4f3153742e85d21974f499442fdc3a55e15e5679ab3fe70833c719d059fde209 07:22:54 $ docker rm -f --volumes 4f3153742e85d21974f499442fdc3a55e15e5679ab3fe70833c719d059fde209 [Pipeline] // withDockerContainer [Pipeline] sh 07:22:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:22:56 Warning: overwriting stash ‘coverage-report’ 07:22:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:22:57 + ls -al . 07:22:57 total 252 07:22:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:18 . 07:22:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:14 .. 07:22:57 -rw-rw-r-- 1 jenkins jenkins 151 Oct 30 07:14 .dockerignore 07:22:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:14 .git 07:22:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:14 .github 07:22:57 -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 07:14 .gitignore 07:22:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 07:14 .golangci.yml 07:22:57 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 30 07:14 Attribution.txt 07:22:57 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 30 07:14 CHANGELOG.md 07:22:57 -rw-rw-r-- 1 jenkins jenkins 1697 Oct 30 07:14 Dockerfile 07:22:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:14 GOVERNANCE.md 07:22:57 -rw-rw-r-- 1 jenkins jenkins 680 Oct 30 07:14 Jenkinsfile 07:22:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:14 LICENSE 07:22:57 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 30 07:14 Makefile 07:22:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 07:14 OWNERS.md 07:22:57 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 30 07:14 README.md 07:22:57 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 07:11 VERSION 07:22:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:14 bin 07:22:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:14 cmd 07:22:57 -rw-r--r-- 1 jenkins jenkins 14565 Oct 30 07:21 coverage.out 07:22:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:14 driver 07:22:57 -rw-rw-r-- 1 jenkins jenkins 7099 Oct 30 07:14 go.mod 07:22:57 -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 07:14 go.sum 07:22:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:14 openapi 07:22:57 -rw-rw-r-- 1 jenkins jenkins 713 Oct 30 07:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:58 + 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=4864046db187b802f4fd351f9abe59b5b3174726 --label arch=arm64 --label version=4.0.0-dev.1 . 07:22:58 Sending build context to Docker daemon 156.2kB 07:22:58 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:22:58 Step 2/26 : FROM ${BASE} AS builder 07:22:58 ---> 0772cbea5c22 07:22:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:22:58 ---> Running in dc0755fa42d7 07:22:58 Removing intermediate container dc0755fa42d7 07:22:58 ---> 7695c953ba33 07:22:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:22:58 ---> Running in c2da93a5868b 07:22:59 Removing intermediate container c2da93a5868b 07:22:59 ---> 2cac8d3c8cd9 07:22:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:22:59 ---> Running in 246d5a170374 07:22:59 Removing intermediate container 246d5a170374 07:22:59 ---> 7fcb94af26a8 07:22:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:22:59 ---> Running in ff276f236d93 07:22:59 Removing intermediate container ff276f236d93 07:22:59 ---> 34f5db29b902 07:22:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:22:59 ---> Running in 2b090476e597 07:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:23:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:23:02 OK: 242 MiB in 58 packages 07:23:03 Removing intermediate container 2b090476e597 07:23:03 ---> 65f154a70ebe 07:23:03 Step 8/26 : WORKDIR /device-rest-go 07:23:03 ---> Running in 3d2e46d7c158 07:23:04 Removing intermediate container 3d2e46d7c158 07:23:04 ---> aea4d2e4d1a2 07:23:04 Step 9/26 : COPY go.mod vendor* ./ 07:23:04 ---> cf3312fa6772 07:23:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:04 ---> Running in 2866cbca9e10 07:23:07 Removing intermediate container 2866cbca9e10 07:23:07 ---> 93980ea96b24 07:23:07 Step 11/26 : COPY . . 07:23:07 ---> 10746a09153b 07:23:07 Step 12/26 : RUN $MAKE 07:23:07 ---> Running in 01bbf187282a 07:23:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 07:26:46 Removing intermediate container 01bbf187282a 07:26:46 ---> ee3ca982ddbe 07:26:46 Step 13/26 : FROM alpine:3.20 07:26:46 3.20: Pulling from library/alpine 07:26:46 cf04c63912e1: Already exists 07:26:46 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:26:46 Status: Downloaded newer image for alpine:3.20 07:26:46 ---> c157a85ed455 07:26:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:26:46 ---> Running in c43f21ff04bb 07:26:46 Removing intermediate container c43f21ff04bb 07:26:46 ---> d0c008d287b3 07:26:46 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 07:26:46 ---> Running in d49756fbb25c 07:26:46 Removing intermediate container d49756fbb25c 07:26:46 ---> be50bc1ff173 07:26:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:26:46 ---> Running in ee67c9286e2e 07:26:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:26:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:26:46 (1/1) Installing dumb-init (1.2.5-r3) 07:26:46 Executing busybox-1.36.1-r29.trigger 07:26:46 OK: 9 MiB in 15 packages 07:26:47 Removing intermediate container ee67c9286e2e 07:26:47 ---> b58b16d25e07 07:26:47 Step 17/26 : RUN apk --no-cache upgrade 07:26:48 ---> Running in 59c8338b8be1 07:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:26:50 Upgrading critical system libraries and apk-tools: 07:26:50 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:26:50 Executing busybox-1.36.1-r29.trigger 07:26:50 Continuing the upgrade transaction with new apk-tools: 07:26:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:26:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:26:52 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:26:52 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:26:52 OK: 9 MiB in 15 packages 07:26:53 Removing intermediate container 59c8338b8be1 07:26:53 ---> 33b3df9a313d 07:26:53 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 07:26:56 ---> c65cc192b6e1 07:26:56 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 07:26:56 ---> a5e451a766b1 07:26:56 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 07:26:58 ---> 34b43e7067cd 07:26:58 Step 21/26 : EXPOSE 59986 07:26:58 ---> Running in 8045976bb017 07:26:58 Removing intermediate container 8045976bb017 07:26:58 ---> 22d432eaca97 07:26:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 07:26:58 ---> Running in 60634487d691 07:26:58 Removing intermediate container 60634487d691 07:26:58 ---> 1632ad9f287a 07:26:58 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:26:59 ---> Running in 6f703fbffd85 07:26:59 Removing intermediate container 6f703fbffd85 07:26:59 ---> 8ef67675606d 07:26:59 Step 24/26 : LABEL arch=arm64 07:26:59 ---> Running in 656b867478d9 07:26:59 Removing intermediate container 656b867478d9 07:26:59 ---> f46e6d0c53f3 07:26:59 Step 25/26 : LABEL git_sha=4864046db187b802f4fd351f9abe59b5b3174726 07:26:59 ---> Running in 47002ebc45b6 07:27:00 Removing intermediate container 47002ebc45b6 07:27:00 ---> 4cce03fe0e25 07:27:00 Step 26/26 : LABEL version=4.0.0-dev.1 07:27:00 ---> Running in 41458f38398d 07:27:00 Removing intermediate container 41458f38398d 07:27:00 ---> bcbf685136f3 07:27:00 [Warning] One or more build-args [ARCH] were not consumed 07:27:00 Successfully built bcbf685136f3 07:27:00 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:00 provisioning config files... 07:27:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/178@tmp/config7634395166307664097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:01 ---> ****-login.sh 07:27:01 nexus3.edgexfoundry.org:10001 07:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:01 Configure a credential helper to remove this warning. See 07:27:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:01 07:27:01 Login Succeeded 07:27:01 nexus3.edgexfoundry.org:10002 07:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:01 Configure a credential helper to remove this warning. See 07:27:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:01 07:27:01 Login Succeeded 07:27:01 nexus3.edgexfoundry.org:10003 07:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:02 Configure a credential helper to remove this warning. See 07:27:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:02 07:27:02 Login Succeeded 07:27:02 nexus3.edgexfoundry.org:10004 07:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:03 Configure a credential helper to remove this warning. See 07:27:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:03 07:27:03 Login Succeeded 07:27:03 ****.io 07:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:03 Configure a credential helper to remove this warning. See 07:27:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:03 07:27:03 Login Succeeded 07:27:03 ---> ****-login.sh ends [Pipeline] } 07:27:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:27:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:27:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 07:27:03 4864046db187b802f4fd351f9abe59b5b3174726 07:27:03 latest 07:27:03 4.0.0-dev.1 07:27:03 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 07:27:03 main 07:27:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726 07:27:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:27:04 867926a3723c: Preparing 07:27:04 82f79b8f16b3: Preparing 07:27:04 b42335f1dc48: Preparing 07:27:04 c9e3a67aca51: Preparing 07:27:04 b3b062a71314: Preparing 07:27:04 16113d51b718: Preparing 07:27:04 16113d51b718: Waiting 07:27:04 867926a3723c: Pushed 07:27:04 b3b062a71314: Pushed 07:27:04 82f79b8f16b3: Pushed 07:27:04 16113d51b718: Layer already exists 07:27:06 c9e3a67aca51: Pushed 07:27:14 b42335f1dc48: Pushed 07:27:14 4864046db187b802f4fd351f9abe59b5b3174726: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 07:27:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:27:15 867926a3723c: Preparing 07:27:15 82f79b8f16b3: Preparing 07:27:15 b42335f1dc48: Preparing 07:27:15 c9e3a67aca51: Preparing 07:27:15 b3b062a71314: Preparing 07:27:15 16113d51b718: Preparing 07:27:15 16113d51b718: Waiting 07:27:15 b3b062a71314: Layer already exists 07:27:15 c9e3a67aca51: Layer already exists 07:27:15 b42335f1dc48: Layer already exists 07:27:15 82f79b8f16b3: Layer already exists 07:27:15 867926a3723c: Layer already exists 07:27:15 16113d51b718: Layer already exists 07:27:15 latest: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.1 07:27:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:27:16 867926a3723c: Preparing 07:27:16 82f79b8f16b3: Preparing 07:27:16 b42335f1dc48: Preparing 07:27:16 c9e3a67aca51: Preparing 07:27:16 b3b062a71314: Preparing 07:27:16 16113d51b718: Preparing 07:27:16 16113d51b718: Waiting 07:27:16 b3b062a71314: Layer already exists 07:27:16 82f79b8f16b3: Layer already exists 07:27:16 b42335f1dc48: Layer already exists 07:27:16 867926a3723c: Layer already exists 07:27:16 c9e3a67aca51: Layer already exists 07:27:16 16113d51b718: Layer already exists 07:27:16 4.0.0-dev.1: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 07:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:27:17 867926a3723c: Preparing 07:27:17 82f79b8f16b3: Preparing 07:27:17 b42335f1dc48: Preparing 07:27:17 c9e3a67aca51: Preparing 07:27:17 b3b062a71314: Preparing 07:27:17 16113d51b718: Preparing 07:27:17 16113d51b718: Waiting 07:27:17 82f79b8f16b3: Layer already exists 07:27:17 c9e3a67aca51: Layer already exists 07:27:17 b3b062a71314: Layer already exists 07:27:17 b42335f1dc48: Layer already exists 07:27:17 867926a3723c: Layer already exists 07:27:17 16113d51b718: Layer already exists 07:27:17 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 07:27:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:27:18 867926a3723c: Preparing 07:27:18 82f79b8f16b3: Preparing 07:27:18 b42335f1dc48: Preparing 07:27:18 c9e3a67aca51: Preparing 07:27:18 b3b062a71314: Preparing 07:27:18 16113d51b718: Preparing 07:27:18 16113d51b718: Waiting 07:27:18 867926a3723c: Layer already exists 07:27:18 b3b062a71314: Layer already exists 07:27:18 c9e3a67aca51: Layer already exists 07:27:18 82f79b8f16b3: Layer already exists 07:27:18 b42335f1dc48: Layer already exists 07:27:18 16113d51b718: Layer already exists 07:27:18 main: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:27:18 ===================================================== [Pipeline] echo 07:27:18 taggedImages: 07:27:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726 07:27:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 07:27:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.1 07:27:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 07:27:18 - 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 07:27:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:19 07:27:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:19 arm64: Pulling from edgex-lftools-log-publisher 07:27:19 8998bd30e6a1: Pulling fs layer 07:27:19 04944245beec: Pulling fs layer 07:27:19 699f458cf7ca: Pulling fs layer 07:27:19 765212b225bb: Pulling fs layer 07:27:19 f23df028b6ca: Pulling fs layer 07:27:19 765212b225bb: Waiting 07:27:19 f23df028b6ca: Waiting 07:27:19 d65c8cfc05b1: Pulling fs layer 07:27:19 2437ff75d9bd: Pulling fs layer 07:27:19 d65c8cfc05b1: Waiting 07:27:19 2437ff75d9bd: Waiting 07:27:19 04944245beec: Verifying Checksum 07:27:19 04944245beec: Download complete 07:27:19 765212b225bb: Verifying Checksum 07:27:19 765212b225bb: Download complete 07:27:19 f23df028b6ca: Verifying Checksum 07:27:19 f23df028b6ca: Download complete 07:27:19 d65c8cfc05b1: Download complete 07:27:19 699f458cf7ca: Verifying Checksum 07:27:19 699f458cf7ca: Download complete 07:27:20 8998bd30e6a1: Verifying Checksum 07:27:20 8998bd30e6a1: Download complete 07:27:22 2437ff75d9bd: Verifying Checksum 07:27:24 8998bd30e6a1: Pull complete 07:27:25 04944245beec: Pull complete 07:27:26 699f458cf7ca: Pull complete 07:27:27 765212b225bb: Pull complete 07:27:27 f23df028b6ca: Pull complete 07:27:28 d65c8cfc05b1: Pull complete 07:27:46 2437ff75d9bd: Pull complete 07:27:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:46 prd-ubuntu20.04-docker-arm64-4c-16g-24111 does not seem to be running inside a container 07:27:46 $ 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/178 -v /w/workspace/device-rest-go/178:/w/workspace/device-rest-go/178:rw,z -v /w/workspace/device-rest-go/178@tmp:/w/workspace/device-rest-go/178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:27:49 $ docker top 7486da764069d83311aac47a0f5d17aa61d134177a63e20b1bf3d2b8bb125a35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:50 ---> job-cost.sh 07:27:50 lf-activate-venv: SKIPPING 07:27:50 INFO: No Stack... 07:27:51 INFO: Retrieving Pricing Info for: v3-standard-4 07:27:52 INFO: Archiving Costs [Pipeline] sh 07:27:52 + cat /w/workspace/device-rest-go/178/archives/cost.csv 07:27:52 + cut -d, -f6 [Pipeline] lock 07:27:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] 07:27:52 Resource [jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] did not exist. Created. 07:27:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:27:53 /w/workspace/device-rest-go/178@tmp/durable-05009948/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:27:54 + echo total: 0.10999999940395355 [Pipeline] stash 07:27:54 Warning: overwriting stash ‘stack-cost’ 07:27:54 Stashed 1 file(s) [Pipeline] } 07:27:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 07:27:54 $ docker stop --time=1 7486da764069d83311aac47a0f5d17aa61d134177a63e20b1bf3d2b8bb125a35 07:27:55 $ docker rm -f --volumes 7486da764069d83311aac47a0f5d17aa61d134177a63e20b1bf3d2b8bb125a35 [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 07:27:56 provisioning config files... 07:27:56 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15613131869325790083tmp [Pipeline] { [Pipeline] sh 07:27:56 + set +x 07:27:56 + curl -s https://codecov.io/bash 07:27:56 + bash -s -- 07:27:56 07:27:56 _____ _ 07:27:56 / ____| | | 07:27:56 | | ___ __| | ___ ___ _____ __ 07:27:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:27:56 | |___| (_) | (_| | __/ (_| (_) \ V / 07:27:56 \_____\___/ \__,_|\___|\___\___/ \_/ 07:27:56 Bash-1.0.6 07:27:56 07:27:56 07:27:56 ==> git version 2.25.1 found 07:27:56 ==> 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 07:27:56 Release-Date: 2020-01-08 07:27:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:27:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:27:56 ==> Jenkins CI detected. 07:27:56 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 07:27:56 project root: . 07:27:56 --> token set from env 07:27:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:27:57 ==> Running gcov in . (disable via -X gcov) 07:27:57 ==> Python coveragepy not found 07:27:57 ==> Searching for coverage reports in: 07:27:57 + . 07:27:57 -> Found 1 reports 07:27:57 ==> Detecting git/mercurial file structure 07:27:57 ==> Reading reports 07:27:57 + ./coverage.out bytes=14565 07:27:57 ==> Appending adjustments 07:27:57 https://docs.codecov.io/docs/fixing-reports 07:27:57 + Found adjustments 07:27:57 ==> Gzipping contents 07:27:57 4.0K /tmp/codecov.G85pLN.gz 07:27:57 ==> Uploading reports 07:27:57 url: https://codecov.io 07:27:57 query: branch=main&commit=4864046db187b802f4fd351f9abe59b5b3174726&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:27:57 -> Pinging Codecov 07:27:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4864046db187b802f4fd351f9abe59b5b3174726&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:27:57 -> Uploading to 07:27:57 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/4864046db187b802f4fd351f9abe59b5b3174726/a8695fa3-0d66-415f-bf97-b19ce923bb44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T072757Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=1d1ffec78dedf1aeeca16c5e39e22f6b677280215ced3abbd313d19f9519a576 07:27:57 % Total % Received % Xferd Average Speed Time Time Time Current 07:27:57 Dload Upload Total Spent Left Speed 07:27:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10073 --:--:-- --:--:-- --:--:-- 10073 07:27:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] } 07:27:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:27:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:27:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:27:58 07:27:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:27:58 latest: Pulling from edgex-devops/edgex-snyk-go 07:27:58 43c4264eed91: Already exists 07:27:58 4cc291be95ef: Already exists 07:27:58 2ac1f1163629: Already exists 07:27:58 5c3c966382ef: Already exists 07:27:58 4f4fb700ef54: Already exists 07:27:58 d9c7d2e4e75e: Pulling fs layer 07:27:58 9c3e1370e548: Pulling fs layer 07:27:58 d9c7d2e4e75e: Verifying Checksum 07:27:58 d9c7d2e4e75e: Download complete 07:27:58 d9c7d2e4e75e: Pull complete 07:27:59 9c3e1370e548: Verifying Checksum 07:27:59 9c3e1370e548: Download complete 07:28:02 9c3e1370e548: Pull complete 07:28:02 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:28:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:28:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:02 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:28:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:28:05 $ docker top 7cd869275da0bec0abda0a6b9c81cc8a652e8f2604d4d7e057a643d8c3ea213c -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 07:28:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 07:28:06 + set -o pipefail 07:28:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 07:28:13 07:28:13 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 07:28:13 07:28:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/e3efadd6-5141-4d7a-8413-1b5d1f7f5938 07:28:13 07:28:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:28:13 [Pipeline] } 07:28:13 $ docker stop --time=1 7cd869275da0bec0abda0a6b9c81cc8a652e8f2604d4d7e057a643d8c3ea213c 07:28:19 $ docker rm -f --volumes 7cd869275da0bec0abda0a6b9c81cc8a652e8f2604d4d7e057a643d8c3ea213c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:20 + git log --format=format:%s -1 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] sh 07:28:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:28:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:21 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:28:22 $ docker top d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a -eo pid,comm 07:28:22 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). 07:28:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:28:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:28:22 [ssh-agent] Looking for ssh-agent implementation... 07:28:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:28:22 $ docker exec d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a ssh-agent 07:28:22 SSH_AUTH_SOCK=/tmp/ssh-hDvqK8lnJ5Ex/agent.15 07:28:22 SSH_AGENT_PID=21 07:28:22 Running ssh-add (command line suppressed) 07:28:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6666138194344710425.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6666138194344710425.key) 07:28:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:28:22 + git semver tag 07:28:23 2024-10-30 07:28:23,074 [run_tag] DEBUG tag force:False 07:28:23 2024-10-30 07:28:23,074 [check_head_tag] DEBUG check head tag 07:28:23 2024-10-30 07:28:23,077 [execute] INFO git cat-file --batch-check 07:28:23 2024-10-30 07:28:23,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 07:28:23 2024-10-30 07:28:23,082 [execute] INFO git cat-file --batch 07:28:23 2024-10-30 07:28:23,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 07:28:23 2024-10-30 07:28:23,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:23 2024-10-30 07:28:23,111 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 07:28:23 2024-10-30 07:28:23,111 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 07:28:23 2024-10-30 07:28:23,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:23 4.0.0-dev.1 [Pipeline] } 07:28:23 $ docker exec --env ******** --env ******** d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a ssh-agent -k 07:28:23 unset SSH_AUTH_SOCK; 07:28:23 unset SSH_AGENT_PID; 07:28:23 echo Agent pid 21 killed; 07:28:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:28:23 + git semver [Pipeline] } 07:28:23 $ docker stop --time=1 d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a 07:28:25 $ docker rm -f --volumes d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:28:25 07:28:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:28:26 0.23.1-centos7: Pulling from edgex-lftools 07:28:26 ab5ef0e58194: Pulling fs layer 07:28:26 9712f1f96733: Pulling fs layer 07:28:26 63f879dbbcfc: Pulling fs layer 07:28:26 0d9ebad4ef96: Pulling fs layer 07:28:26 e9a5061849ea: Pulling fs layer 07:28:26 d747dcd14b5f: Pulling fs layer 07:28:26 2de7ff778b66: Pulling fs layer 07:28:26 e9a5061849ea: Waiting 07:28:26 d747dcd14b5f: Waiting 07:28:26 2de7ff778b66: Waiting 07:28:26 0d9ebad4ef96: Waiting 07:28:26 9712f1f96733: Verifying Checksum 07:28:26 9712f1f96733: Download complete 07:28:26 63f879dbbcfc: Verifying Checksum 07:28:26 63f879dbbcfc: Download complete 07:28:26 0d9ebad4ef96: Verifying Checksum 07:28:26 0d9ebad4ef96: Download complete 07:28:26 e9a5061849ea: Verifying Checksum 07:28:26 e9a5061849ea: Download complete 07:28:26 d747dcd14b5f: Download complete 07:28:26 2de7ff778b66: Download complete 07:28:26 ab5ef0e58194: Verifying Checksum 07:28:26 ab5ef0e58194: Download complete 07:28:30 ab5ef0e58194: Pull complete 07:28:30 9712f1f96733: Pull complete 07:28:30 63f879dbbcfc: Pull complete 07:28:34 0d9ebad4ef96: Pull complete 07:28:34 e9a5061849ea: Pull complete 07:28:34 d747dcd14b5f: Pull complete 07:28:35 2de7ff778b66: Pull complete 07:28:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:28:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:35 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:28:43 $ docker top 07410424c16adc859b82a8b8545fccdc77c982275619c025b1e43f6bf129088b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:28:43 provisioning config files... 07:28:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5883555857864167051tmp 07:28:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3566008268178056485tmp 07:28:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6177630173742359332tmp [Pipeline] { [Pipeline] echo 07:28:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:28:44 ---> sigul-configuration.sh 07:28:44 gpg: directory `/root/.gnupg' created 07:28:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:28:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:28:44 gpg: keyring `/root/.gnupg/secring.gpg' created 07:28:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:28:44 gpg: CAST5 encrypted data 07:28:44 gpg: encrypted with 1 passphrase 07:28:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:28:44 + mkdir /home/jenkins 07:28:44 + mkdir /home/jenkins/sigul [Pipeline] sh 07:28:44 + 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 07:28:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:28:44 ---> sigul-install.sh 07:28:44 Sigul already installed; skipping installation. [Pipeline] sh 07:28:45 + git tag --list 07:28:45 v1.0.0 07:28:45 v1.1.0 07:28:45 v1.1.1 07:28:45 v1.1.2 07:28:45 v1.2.0 07:28:45 v1.2.1 07:28:45 v2.0.0 07:28:45 v2.1.0 07:28:45 v2.1.1 07:28:45 v2.2.0 07:28:45 v2.3.0 07:28:45 v3.0 07:28:45 v3.0.0 07:28:45 v3.1 07:28:45 v3.1.0 07:28:45 v3.1.0-dev.1 07:28:45 v3.1.0-dev.10 07:28:45 v3.1.0-dev.11 07:28:45 v3.1.0-dev.12 07:28:45 v3.1.0-dev.13 07:28:45 v3.1.0-dev.14 07:28:45 v3.1.0-dev.15 07:28:45 v3.1.0-dev.16 07:28:45 v3.1.0-dev.17 07:28:45 v3.1.0-dev.18 07:28:45 v3.1.0-dev.19 07:28:45 v3.1.0-dev.2 07:28:45 v3.1.0-dev.20 07:28:45 v3.1.0-dev.21 07:28:45 v3.1.0-dev.22 07:28:45 v3.1.0-dev.23 07:28:45 v3.1.0-dev.24 07:28:45 v3.1.0-dev.25 07:28:45 v3.1.0-dev.26 07:28:45 v3.1.0-dev.27 07:28:45 v3.1.0-dev.28 07:28:45 v3.1.0-dev.29 07:28:45 v3.1.0-dev.3 07:28:45 v3.1.0-dev.30 07:28:45 v3.1.0-dev.31 07:28:45 v3.1.0-dev.32 07:28:45 v3.1.0-dev.4 07:28:45 v3.1.0-dev.5 07:28:45 v3.1.0-dev.6 07:28:45 v3.1.0-dev.7 07:28:45 v3.1.0-dev.8 07:28:45 v3.1.0-dev.9 07:28:45 v3.1.1 07:28:45 v3.2.0-dev.1 07:28:45 v3.2.0-dev.10 07:28:45 v3.2.0-dev.11 07:28:45 v3.2.0-dev.12 07:28:45 v3.2.0-dev.13 07:28:45 v3.2.0-dev.14 07:28:45 v3.2.0-dev.15 07:28:45 v3.2.0-dev.16 07:28:45 v3.2.0-dev.17 07:28:45 v3.2.0-dev.18 07:28:45 v3.2.0-dev.19 07:28:45 v3.2.0-dev.2 07:28:45 v3.2.0-dev.20 07:28:45 v3.2.0-dev.21 07:28:45 v3.2.0-dev.22 07:28:45 v3.2.0-dev.23 07:28:45 v3.2.0-dev.24 07:28:45 v3.2.0-dev.25 07:28:45 v3.2.0-dev.3 07:28:45 v3.2.0-dev.4 07:28:45 v3.2.0-dev.5 07:28:45 v3.2.0-dev.6 07:28:45 v3.2.0-dev.7 07:28:45 v3.2.0-dev.8 07:28:45 v3.2.0-dev.9 07:28:45 v4.0.0-dev.1 [Pipeline] sh 07:28:45 + lftools sign git-tag v4.0.0-dev.1 07:28:46 Signing Git tag with Sigul... 07:28:46 Signing v4.0.0-dev.1 [Pipeline] echo 07:28:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:28:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:28:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:28:46 $ docker stop --time=1 07410424c16adc859b82a8b8545fccdc77c982275619c025b1e43f6bf129088b 07:28:48 $ docker rm -f --volumes 07410424c16adc859b82a8b8545fccdc77c982275619c025b1e43f6bf129088b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:28:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:28:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:49 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:28:49 $ docker top 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a -eo pid,comm 07:28:49 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). 07:28:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:28:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:28:49 [ssh-agent] Looking for ssh-agent implementation... 07:28:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:28:49 $ docker exec 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a ssh-agent 07:28:49 SSH_AUTH_SOCK=/tmp/ssh-hXD1CnxWkhZs/agent.32 07:28:49 SSH_AGENT_PID=38 07:28:49 Running ssh-add (command line suppressed) 07:28:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1531196722067259316.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1531196722067259316.key) 07:28:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:28:50 + git semver bump pre 07:28:50 2024-10-30 07:28:50,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:50 2024-10-30 07:28:50,486 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 07:28:50 2024-10-30 07:28:50,486 [bump_version] DEBUG bumped version:4.0.0-dev.2 07:28:50 2024-10-30 07:28:50,486 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 07:28:50 2024-10-30 07:28:50,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:50 2024-10-30 07:28:50,487 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:50 2024-10-30 07:28:50,488 [execute] INFO git cat-file --batch-check 07:28:50 2024-10-30 07:28:50,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:28:50 2024-10-30 07:28:50,494 [execute] INFO git cat-file --batch 07:28:50 2024-10-30 07:28:50,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:28:50 2024-10-30 07:28:50,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:50 4.0.0-dev.2 [Pipeline] } 07:28:50 $ docker exec --env ******** --env ******** 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a ssh-agent -k 07:28:50 unset SSH_AUTH_SOCK; 07:28:50 unset SSH_AGENT_PID; 07:28:50 echo Agent pid 38 killed; 07:28:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:28:51 + git semver [Pipeline] } 07:28:51 $ docker stop --time=1 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a 07:28:52 $ docker rm -f --volumes 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a [Pipeline] // withDockerContainer [Pipeline] sh 07:28:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:28:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:53 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:28:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:28:54 $ docker top ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 -eo pid,comm 07:28:54 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). 07:28:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:28:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:28:54 [ssh-agent] Looking for ssh-agent implementation... 07:28:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:28:54 $ docker exec ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 ssh-agent 07:28:55 SSH_AUTH_SOCK=/tmp/ssh-5btqHsk9upal/agent.33 07:28:55 SSH_AGENT_PID=39 07:28:55 Running ssh-add (command line suppressed) 07:28:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1653310883260910473.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1653310883260910473.key) 07:28:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:28:55 + git semver push 07:28:55 2024-10-30 07:28:55,676 [run_push] DEBUG push 07:28:55 2024-10-30 07:28:55,677 [execute] INFO git cat-file --batch-check 07:28:55 2024-10-30 07:28:55,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:28:55 2024-10-30 07:28:55,681 [execute] INFO git rev-list 81b37042984900994d71a363f11263add57b3471 -- 07:28:55 2024-10-30 07:28:55,682 [execute] DEBUG Popen(['git', 'rev-list', '81b37042984900994d71a363f11263add57b3471', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:28:55 2024-10-30 07:28:55,692 [execute] INFO git fetch -v origin 07:28:55 2024-10-30 07:28:55,692 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:28:56 2024-10-30 07:28:56,152 [run_push] DEBUG no remote changes detected 07:28:56 2024-10-30 07:28:56,153 [execute] INFO git push origin semver 07:28:56 2024-10-30 07:28:56,153 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:28:56 2024-10-30 07:28:56,821 [run_push] DEBUG push all version tags 07:28:56 2024-10-30 07:28:56,822 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:28:56 2024-10-30 07:28:56,822 [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) 07:28:57 2024-10-30 07:28:57,507 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:28:57 4.0.0-dev.2 [Pipeline] } 07:28:57 $ docker exec --env ******** --env ******** ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 ssh-agent -k 07:28:57 unset SSH_AUTH_SOCK; 07:28:57 unset SSH_AGENT_PID; 07:28:57 echo Agent pid 39 killed; 07:28:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:28:58 + git semver [Pipeline] } 07:28:58 $ docker stop --time=1 ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 07:28:59 $ docker rm -f --volumes ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:29:00 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 07:29:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 07:29:00 total 16 07:29:00 drwxr-xr-x 3 root root 4096 Oct 30 07:15 . 07:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 07:28 .. 07:29:00 drwxr-xr-x 2 root root 4096 Oct 30 07:15 cost 07:29:00 -rw-r--r-- 1 root root 86 Oct 30 07:15 cost.csv 07:29:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 07:29:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 07:29:00 total 16 07:29:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:15 . 07:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 07:28 .. 07:29:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 07:15 cost 07:29:00 -rw-r--r-- 1 jenkins jenkins 86 Oct 30 07:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:29:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:29:01 ---> package-listing.sh 07:29:01 ++ facter osfamily 07:29:01 ++ tr '[:upper:]' '[:lower:]' 07:29:01 + OS_FAMILY=debian 07:29:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 07:29:01 + START_PACKAGES=/tmp/packages_start.txt 07:29:01 + END_PACKAGES=/tmp/packages_end.txt 07:29:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:29:01 + PACKAGES=/tmp/packages_start.txt 07:29:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 07:29:01 + PACKAGES=/tmp/packages_end.txt 07:29:01 + case "${OS_FAMILY}" in 07:29:01 + dpkg -l 07:29:01 + grep '^ii' 07:29:01 + '[' -f /tmp/packages_start.txt ']' 07:29:01 + '[' -f /tmp/packages_end.txt ']' 07:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:29:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 07:29:01 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 07:29:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 07:29:01 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 07:29:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:02 prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container 07:29:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:29:03 $ docker top 15ceac17db6fd5bb6da616e8a89cd0464c6fc0449f7acb7b8a8a662c79733d96 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:03 + touch /tmp/pre-build-complete [Pipeline] sh 07:29:03 + mkdir -p /var/log/sysstat [Pipeline] sh 07:29:04 + ls /var/log/sa-host 07:29:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:04 provisioning config files... 07:29:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config145583442444615536tmp [Pipeline] { [Pipeline] echo 07:29:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:29:04 ---> create-netrc.sh [Pipeline] } 07:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:29:04 ---> python-tools-install.sh [Pipeline] echo 07:29:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:29:05 ---> sudo-logs.sh 07:29:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:29:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:29:05 ---> job-cost.sh 07:29:05 lf-activate-venv: SKIPPING 07:29:05 DEBUG: total: 0.2199999988079071 07:29:05 INFO: Retrieving Stack Cost... 07:29:06 INFO: Retrieving Pricing Info for: v3-standard-8 07:29:06 INFO: Archiving Costs [Pipeline] echo 07:29:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:29:06 ---> logs-deploy.sh 07:29:06 lf-activate-venv: SKIPPING 07:29:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/178 07:29:06 INFO: archiving workspace using pattern(s): 07:29:07 Archives upload complete. 07:29:07 INFO: archiving logs to Nexus