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 [2024-10-30T07:11:28.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T07:11:28.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T07:11:28.833Z] ========================================================= [2024-10-30T07:11:28.833Z] EdgeX Global Pipelines Version Info [2024-10-30T07:11:28.833Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:11:29.559Z] ------------------- [2024-10-30T07:11:29.559Z] stable info: [2024-10-30T07:11:29.559Z] ------------------- [2024-10-30T07:11:29.559Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T07:11:29.559Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T07:11:29.560Z] Message: update stable to v1.0.265 [2024-10-30T07:11:30.131Z] ------------------- [2024-10-30T07:11:30.131Z] experimental info: [2024-10-30T07:11:30.131Z] ------------------- [2024-10-30T07:11:30.131Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T07:11:30.131Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T07:11:30.131Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T07:11:30.205Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-30T07:11:30.225Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-30T07:11:30.250Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T07:11:30.271Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T07:11:30.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T07:11:30.318Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T07:11:30.345Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T07:11:30.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T07:11:30.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T07:11:30.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T07:11:30.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T07:11:30.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-30T07:11:30.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T07:11:30.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T07:11:30.555Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T07:11:30.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T07:11:30.608Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T07:11:30.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T07:11:30.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T07:11:30.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T07:11:30.718Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T07:11:30.744Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T07:11:30.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T07:11:30.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T07:11:30.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T07:11:30.841Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T07:11:30.868Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T07:11:30.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-10-30T07:11:30.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-10-30T07:11:30.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-10-30T07:11:30.960Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo [2024-10-30T07:11:30.982Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4864046 [Pipeline] echo [2024-10-30T07:11:31.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:11:31.064Z] provisioning config files... [2024-10-30T07:11:31.077Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9246535570622121914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:11:31.422Z] ---> ****-login.sh [2024-10-30T07:11:31.422Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:11:31.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:31.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:31.688Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:31.688Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:31.688Z] [2024-10-30T07:11:31.949Z] Login Succeeded [2024-10-30T07:11:31.949Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:11:31.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:31.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:31.949Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:31.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:31.949Z] [2024-10-30T07:11:31.949Z] Login Succeeded [2024-10-30T07:11:31.949Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:11:31.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:31.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:31.949Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:31.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:31.949Z] [2024-10-30T07:11:31.949Z] Login Succeeded [2024-10-30T07:11:31.949Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:11:32.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:32.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:32.208Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:32.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:32.208Z] [2024-10-30T07:11:32.208Z] Login Succeeded [2024-10-30T07:11:32.208Z] ****.io [2024-10-30T07:11:32.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:32.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:32.468Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:32.468Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:32.468Z] [2024-10-30T07:11:32.468Z] Login Succeeded [2024-10-30T07:11:32.468Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:11:32.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T07:11:32.886Z] + git rev-list -1 --merges 4864046db187b802f4fd351f9abe59b5b3174726~1..4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo [2024-10-30T07:11:32.914Z] -----------> git rev-list -1 --merges 4864046db187b802f4fd351f9abe59b5b3174726~1..4864046db187b802f4fd351f9abe59b5b3174726 4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:11:32.915Z] 4864046db187b802f4fd351f9abe59b5b3174726 [false] [Pipeline] sh [2024-10-30T07:11:33.207Z] + git log --format=format:%s -1 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo [2024-10-30T07:11:33.226Z] ========================================================= [2024-10-30T07:11:33.226Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T07:11:33.226Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T07:11:33.575Z] + git log --format=format:%s -1 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] echo [2024-10-30T07:11:33.588Z] [semverPrep] GIT_COMMIT: 4864046db187b802f4fd351f9abe59b5b3174726, Commit Message: Merge pull request #422 from weichou1229/v4-module [Pipeline] echo [2024-10-30T07:11:33.602Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T07:11:33.967Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T07:11:33.967Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T07:11:33.967Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T07:11:33.967Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T07:11:33.967Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T07:11:33.967Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T07:11:33.967Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:11:34.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:11:34.332Z] [2024-10-30T07:11:34.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:11:34.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:11:34.638Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T07:11:34.638Z] b85a868b505f: Pulling fs layer [2024-10-30T07:11:34.638Z] e2be974225ed: Pulling fs layer [2024-10-30T07:11:34.638Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T07:11:34.638Z] 988bab9f4d93: Pulling fs layer [2024-10-30T07:11:34.638Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T07:11:34.638Z] eaf3925da568: Pulling fs layer [2024-10-30T07:11:34.638Z] bab4dde63d76: Pulling fs layer [2024-10-30T07:11:34.638Z] bde34c3a00c8: Pulling fs layer [2024-10-30T07:11:34.638Z] b352a97aabf1: Pulling fs layer [2024-10-30T07:11:34.638Z] 4872d77fe225: Pulling fs layer [2024-10-30T07:11:34.638Z] 5851b861e8e6: Pulling fs layer [2024-10-30T07:11:34.638Z] 988bab9f4d93: Waiting [2024-10-30T07:11:34.638Z] bab4dde63d76: Waiting [2024-10-30T07:11:34.638Z] bde34c3a00c8: Waiting [2024-10-30T07:11:34.638Z] b352a97aabf1: Waiting [2024-10-30T07:11:34.638Z] 4872d77fe225: Waiting [2024-10-30T07:11:34.638Z] eaf3925da568: Waiting [2024-10-30T07:11:34.638Z] 5851b861e8e6: Waiting [2024-10-30T07:11:34.638Z] e2be974225ed: Download complete [2024-10-30T07:11:34.929Z] 988bab9f4d93: Download complete [2024-10-30T07:11:34.929Z] 1469e6f7b9e6: Download complete [2024-10-30T07:11:34.929Z] eaf3925da568: Verifying Checksum [2024-10-30T07:11:34.929Z] eaf3925da568: Download complete [2024-10-30T07:11:34.929Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T07:11:34.929Z] 339a4e72a1f5: Download complete [2024-10-30T07:11:34.929Z] bde34c3a00c8: Download complete [2024-10-30T07:11:34.929Z] b352a97aabf1: Verifying Checksum [2024-10-30T07:11:34.929Z] b352a97aabf1: Download complete [2024-10-30T07:11:34.929Z] 4872d77fe225: Verifying Checksum [2024-10-30T07:11:34.929Z] 4872d77fe225: Download complete [2024-10-30T07:11:34.929Z] 5851b861e8e6: Verifying Checksum [2024-10-30T07:11:34.929Z] 5851b861e8e6: Download complete [2024-10-30T07:11:34.929Z] b85a868b505f: Verifying Checksum [2024-10-30T07:11:34.929Z] b85a868b505f: Download complete [2024-10-30T07:11:35.204Z] bab4dde63d76: Verifying Checksum [2024-10-30T07:11:35.204Z] bab4dde63d76: Download complete [2024-10-30T07:11:36.604Z] b85a868b505f: Pull complete [2024-10-30T07:11:36.604Z] e2be974225ed: Pull complete [2024-10-30T07:11:36.864Z] 339a4e72a1f5: Pull complete [2024-10-30T07:11:36.864Z] 988bab9f4d93: Pull complete [2024-10-30T07:11:37.124Z] 1469e6f7b9e6: Pull complete [2024-10-30T07:11:37.383Z] eaf3925da568: Pull complete [2024-10-30T07:11:39.289Z] bab4dde63d76: Pull complete [2024-10-30T07:11:39.289Z] bde34c3a00c8: Pull complete [2024-10-30T07:11:39.550Z] b352a97aabf1: Pull complete [2024-10-30T07:11:39.550Z] 4872d77fe225: Pull complete [2024-10-30T07:11:39.810Z] 5851b861e8e6: Pull complete [2024-10-30T07:11:39.810Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T07:11:39.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:11:39.810Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:11:40.001Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:11:40.025Z] $ 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 [2024-10-30T07:11:44.793Z] $ docker top 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d -eo pid,comm [2024-10-30T07:11:44.863Z] 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). [2024-10-30T07:11:44.863Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T07:11:44.921Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:11:44.921Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:11:45.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:11:45.034Z] $ docker exec 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent [2024-10-30T07:11:45.160Z] SSH_AUTH_SOCK=/tmp/ssh-gVDqGP4i9UX1/agent.14 [2024-10-30T07:11:45.160Z] SSH_AGENT_PID=38 [2024-10-30T07:11:45.166Z] Running ssh-add (command line suppressed) [2024-10-30T07:11:45.256Z] 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) [2024-10-30T07:11:45.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:11:45.575Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T07:11:45.576Z] $ docker exec --env ******** --env ******** 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent -k [2024-10-30T07:11:45.671Z] unset SSH_AUTH_SOCK; [2024-10-30T07:11:45.671Z] unset SSH_AGENT_PID; [2024-10-30T07:11:45.671Z] echo Agent pid 38 killed; [2024-10-30T07:11:45.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T07:11:45.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:11:45.727Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:11:45.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:11:45.843Z] $ docker exec 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent [2024-10-30T07:11:45.974Z] SSH_AUTH_SOCK=/tmp/ssh-IAGm4zFWAGaq/agent.71 [2024-10-30T07:11:45.974Z] SSH_AGENT_PID=77 [2024-10-30T07:11:45.979Z] Running ssh-add (command line suppressed) [2024-10-30T07:11:46.106Z] 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) [2024-10-30T07:11:46.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:11:46.414Z] + git semver init [2024-10-30T07:11:46.674Z] 2024-10-30 07:11:46,661 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T07:11:46.674Z] 2024-10-30 07:11:46,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-10-30T07:11:46.674Z] 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 [2024-10-30T07:11:46.674Z] 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) [2024-10-30T07:11:48.052Z] 2024-10-30 07:11:47,986 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-10-30T07:11:48.052Z] 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 [2024-10-30T07:11:48.052Z] 2024-10-30 07:11:47,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:11:48.052Z] 2024-10-30 07:11:47,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:11:48.052Z] 4.0.0-dev.1 [Pipeline] } [2024-10-30T07:11:48.059Z] $ docker exec --env ******** --env ******** 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d ssh-agent -k [2024-10-30T07:11:48.160Z] unset SSH_AUTH_SOCK; [2024-10-30T07:11:48.161Z] unset SSH_AGENT_PID; [2024-10-30T07:11:48.161Z] echo Agent pid 77 killed; [2024-10-30T07:11:48.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T07:11:48.508Z] + git semver [Pipeline] } [2024-10-30T07:11:48.777Z] $ docker stop --time=1 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d [2024-10-30T07:11:50.081Z] $ docker rm -f --volumes 72e9bbc036fb13edab71c6b8d3ee051ffb5d73faf50a6bad706c68977d36e86d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:11:50.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T07:11:50.688Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T07:11:50.693Z] [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 [2024-10-30T07:11:50.904Z] provisioning config files... [2024-10-30T07:11:50.914Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7732688406751331891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:11:51.220Z] ---> ****-login.sh [2024-10-30T07:11:51.220Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:11:51.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:51.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:51.221Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:51.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:51.221Z] [2024-10-30T07:11:51.221Z] Login Succeeded [2024-10-30T07:11:51.221Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:11:51.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:51.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:51.221Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:51.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:51.221Z] [2024-10-30T07:11:51.221Z] Login Succeeded [2024-10-30T07:11:51.221Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:11:51.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:51.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:51.487Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:51.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:51.487Z] [2024-10-30T07:11:51.487Z] Login Succeeded [2024-10-30T07:11:51.487Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:11:51.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:51.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:51.487Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:51.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:51.487Z] [2024-10-30T07:11:51.487Z] Login Succeeded [2024-10-30T07:11:51.487Z] ****.io [2024-10-30T07:11:51.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:11:51.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:11:51.747Z] Configure a credential helper to remove this warning. See [2024-10-30T07:11:51.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:11:51.747Z] [2024-10-30T07:11:51.747Z] Login Succeeded [2024-10-30T07:11:51.747Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:11:51.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T07:11:51.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:11:51.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:11:51.997Z] ========================================================= [2024-10-30T07:11:51.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T07:11:51.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:11:52.353Z] + 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 . [2024-10-30T07:11:52.353Z] Sending build context to Docker daemon 16.63MB [2024-10-30T07:11:52.353Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:11:52.353Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T07:11:52.612Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T07:11:52.612Z] 43c4264eed91: Pulling fs layer [2024-10-30T07:11:52.612Z] 4cc291be95ef: Pulling fs layer [2024-10-30T07:11:52.612Z] 2ac1f1163629: Pulling fs layer [2024-10-30T07:11:52.612Z] 5c3c966382ef: Pulling fs layer [2024-10-30T07:11:52.612Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T07:11:52.612Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T07:11:52.612Z] 9f66e0745190: Pulling fs layer [2024-10-30T07:11:52.612Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T07:11:52.612Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T07:11:52.612Z] 4f4fb700ef54: Waiting [2024-10-30T07:11:52.612Z] 5d5c8e513c77: Waiting [2024-10-30T07:11:52.612Z] 9f66e0745190: Waiting [2024-10-30T07:11:52.612Z] 5c3c966382ef: Waiting [2024-10-30T07:11:52.612Z] f49a43e4bbc0: Waiting [2024-10-30T07:11:52.612Z] 561ebcabdf7f: Waiting [2024-10-30T07:11:52.612Z] 4cc291be95ef: Verifying Checksum [2024-10-30T07:11:52.612Z] 4cc291be95ef: Download complete [2024-10-30T07:11:52.612Z] 5c3c966382ef: Verifying Checksum [2024-10-30T07:11:52.612Z] 5c3c966382ef: Download complete [2024-10-30T07:11:52.612Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T07:11:52.612Z] 4f4fb700ef54: Download complete [2024-10-30T07:11:52.612Z] 5d5c8e513c77: Download complete [2024-10-30T07:11:52.612Z] 43c4264eed91: Verifying Checksum [2024-10-30T07:11:52.612Z] 43c4264eed91: Download complete [2024-10-30T07:11:52.612Z] 9f66e0745190: Verifying Checksum [2024-10-30T07:11:52.612Z] 9f66e0745190: Download complete [2024-10-30T07:11:52.871Z] 43c4264eed91: Pull complete [2024-10-30T07:11:52.871Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T07:11:52.871Z] 561ebcabdf7f: Download complete [2024-10-30T07:11:52.871Z] 4cc291be95ef: Pull complete [2024-10-30T07:11:53.130Z] 2ac1f1163629: Verifying Checksum [2024-10-30T07:11:53.130Z] 2ac1f1163629: Download complete [2024-10-30T07:11:53.389Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T07:11:53.389Z] f49a43e4bbc0: Download complete [2024-10-30T07:11:56.674Z] 2ac1f1163629: Pull complete [2024-10-30T07:11:56.674Z] 5c3c966382ef: Pull complete [2024-10-30T07:11:56.934Z] 4f4fb700ef54: Pull complete [2024-10-30T07:11:56.934Z] 5d5c8e513c77: Pull complete [2024-10-30T07:11:56.934Z] 9f66e0745190: Pull complete [2024-10-30T07:11:59.473Z] f49a43e4bbc0: Pull complete [2024-10-30T07:12:00.041Z] 561ebcabdf7f: Pull complete [2024-10-30T07:12:00.041Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T07:12:00.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T07:12:00.041Z] ---> 3a752c3f9dda [2024-10-30T07:12:00.041Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:12:05.838Z] Still waiting to schedule task [2024-10-30T07:12:05.839Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-30T07:12:06.634Z] ---> Running in 915374cedc7b [2024-10-30T07:12:06.634Z] Removing intermediate container 915374cedc7b [2024-10-30T07:12:06.634Z] ---> 5003bf01a961 [2024-10-30T07:12:06.634Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:12:06.634Z] ---> Running in dde74a284296 [2024-10-30T07:12:06.634Z] Removing intermediate container dde74a284296 [2024-10-30T07:12:06.634Z] ---> bb408077fbdd [2024-10-30T07:12:06.634Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T07:12:06.634Z] ---> Running in 360d03d0e296 [2024-10-30T07:12:06.634Z] Removing intermediate container 360d03d0e296 [2024-10-30T07:12:06.634Z] ---> ca05d3716759 [2024-10-30T07:12:06.634Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:12:06.634Z] ---> Running in 64d29f7d9dee [2024-10-30T07:12:06.634Z] Removing intermediate container 64d29f7d9dee [2024-10-30T07:12:06.634Z] ---> 9eed9ac56a1a [2024-10-30T07:12:06.634Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:12:06.634Z] ---> Running in 1218e25ae5ef [2024-10-30T07:12:06.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:12:06.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:12:07.153Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T07:12:07.153Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T07:12:07.153Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T07:12:07.153Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T07:12:07.153Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:12:07.153Z] OK: 250 MiB in 58 packages [2024-10-30T07:12:07.720Z] Removing intermediate container 1218e25ae5ef [2024-10-30T07:12:07.721Z] ---> 5806c4595218 [2024-10-30T07:12:07.721Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-30T07:12:07.721Z] ---> Running in fcf84a0ff4b9 [2024-10-30T07:12:07.979Z] Removing intermediate container fcf84a0ff4b9 [2024-10-30T07:12:07.979Z] ---> 3743d7686a68 [2024-10-30T07:12:07.979Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T07:12:07.979Z] ---> e1a6095390ea [2024-10-30T07:12:07.979Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:12:07.979Z] ---> Running in 29879ea5fa23 [2024-10-30T07:13:04.301Z] Removing intermediate container 29879ea5fa23 [2024-10-30T07:13:04.301Z] ---> 2d79be603ddc [2024-10-30T07:13:04.302Z] Step 11/12 : COPY . . [2024-10-30T07:13:04.302Z] ---> 7fcbacf05f10 [2024-10-30T07:13:04.302Z] Step 12/12 : RUN $MAKE [2024-10-30T07:13:04.302Z] ---> Running in f0940a9a53db [2024-10-30T07:13:04.302Z] noop [2024-10-30T07:13:04.302Z] Removing intermediate container f0940a9a53db [2024-10-30T07:13:04.302Z] ---> e2f53f78361e [2024-10-30T07:13:04.302Z] Successfully built e2f53f78361e [2024-10-30T07:13:04.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:13:04.640Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T07:13:04.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:13:04.718Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:13:04.749Z] $ 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 [2024-10-30T07:13:05.111Z] $ docker top c33d1a612465d89737b0186d35f337b07b15b62e778e71fa24bbfb01fffbb866 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:13:05.453Z] + go version [2024-10-30T07:13:05.453Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T07:13:05.469Z] $ docker stop --time=1 c33d1a612465d89737b0186d35f337b07b15b62e778e71fa24bbfb01fffbb866 [2024-10-30T07:13:06.734Z] $ 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 [2024-10-30T07:13:07.166Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T07:13:07.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:13:07.250Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:13:07.290Z] $ 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 [2024-10-30T07:13:07.637Z] $ docker top 862af0806a1a752ec918df3d31aa37eefed0e95b3bb3a2d417d812335e868f0f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:13:07.990Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-10-30T07:13:08.297Z] + make test [2024-10-30T07:13:08.297Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T07:13:10.213Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-30T07:13:32.149Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-30T07:13:32.149Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements [2024-10-30T07:13:42.134Z] go vet ./... [2024-10-30T07:13:47.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T07:13:47.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T07:13:47.392Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T07:13:47.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T07:13:47.432Z] $ docker stop --time=1 862af0806a1a752ec918df3d31aa37eefed0e95b3bb3a2d417d812335e868f0f [2024-10-30T07:13:51.863Z] $ docker rm -f --volumes 862af0806a1a752ec918df3d31aa37eefed0e95b3bb3a2d417d812335e868f0f [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:13:52.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T07:13:52.469Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-30T07:13:52.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T07:13:53.227Z] + ls -al . [2024-10-30T07:13:53.227Z] total 256 [2024-10-30T07:13:53.227Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 07:13 . [2024-10-30T07:13:53.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:11 .. [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 30 07:11 .dockerignore [2024-10-30T07:13:53.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:13 .git [2024-10-30T07:13:53.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 .github [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 07:11 .gitignore [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 07:11 .golangci.yml [2024-10-30T07:13:53.227Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:11 .semver [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 30 07:11 Attribution.txt [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 30 07:11 CHANGELOG.md [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 1697 Oct 30 07:11 Dockerfile [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:11 GOVERNANCE.md [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 30 07:11 Jenkinsfile [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:11 LICENSE [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 30 07:11 Makefile [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 07:11 OWNERS.md [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 30 07:11 README.md [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 07:11 VERSION [2024-10-30T07:13:53.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:11 bin [2024-10-30T07:13:53.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 cmd [2024-10-30T07:13:53.227Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 30 07:13 coverage.out [2024-10-30T07:13:53.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:11 driver [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 7099 Oct 30 07:11 go.mod [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 07:11 go.sum [2024-10-30T07:13:53.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 openapi [2024-10-30T07:13:53.227Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 30 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:13:53.538Z] + 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 . [2024-10-30T07:13:53.538Z] Sending build context to Docker daemon 16.65MB [2024-10-30T07:13:53.538Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:13:53.538Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T07:13:53.538Z] ---> e2f53f78361e [2024-10-30T07:13:53.538Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:13:53.797Z] ---> Running in ab225b38542a [2024-10-30T07:13:53.797Z] Removing intermediate container ab225b38542a [2024-10-30T07:13:53.797Z] ---> 408c5e5cd397 [2024-10-30T07:13:53.797Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:13:54.056Z] ---> Running in a774cda8e055 [2024-10-30T07:13:54.056Z] Removing intermediate container a774cda8e055 [2024-10-30T07:13:54.056Z] ---> 0843e4d215fe [2024-10-30T07:13:54.056Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T07:13:54.056Z] ---> Running in 2f77be7fdd41 [2024-10-30T07:13:54.056Z] Removing intermediate container 2f77be7fdd41 [2024-10-30T07:13:54.056Z] ---> 9f14e5b9dc78 [2024-10-30T07:13:54.056Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:13:54.056Z] ---> Running in 6209287389cb [2024-10-30T07:13:54.316Z] Removing intermediate container 6209287389cb [2024-10-30T07:13:54.316Z] ---> 5aadea3c7604 [2024-10-30T07:13:54.316Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:13:54.316Z] ---> Running in 4b416492b7d2 [2024-10-30T07:13:54.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:13:54.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:13:55.145Z] OK: 250 MiB in 58 packages [2024-10-30T07:13:55.404Z] Removing intermediate container 4b416492b7d2 [2024-10-30T07:13:55.404Z] ---> 95c25014a88b [2024-10-30T07:13:55.404Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-30T07:13:55.404Z] ---> Running in f8030b94d9bf [2024-10-30T07:13:55.404Z] Removing intermediate container f8030b94d9bf [2024-10-30T07:13:55.404Z] ---> 3f852fbbc897 [2024-10-30T07:13:55.404Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-30T07:13:55.404Z] ---> 1d037b0b13ac [2024-10-30T07:13:55.404Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:13:55.663Z] ---> Running in 2a9fb0636053 [2024-10-30T07:13:56.231Z] Removing intermediate container 2a9fb0636053 [2024-10-30T07:13:56.231Z] ---> a9ec082a08ae [2024-10-30T07:13:56.231Z] Step 11/26 : COPY . . [2024-10-30T07:13:56.807Z] ---> b4a5ad6cbd27 [2024-10-30T07:13:56.807Z] Step 12/26 : RUN $MAKE [2024-10-30T07:13:56.807Z] ---> Running in 396b739fa319 [2024-10-30T07:13:57.066Z] 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 [2024-10-30T07:14:35.770Z] Removing intermediate container 396b739fa319 [2024-10-30T07:14:35.770Z] ---> f76a6874acec [2024-10-30T07:14:35.770Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T07:14:35.770Z] 3.20: Pulling from library/alpine [2024-10-30T07:14:35.770Z] 43c4264eed91: Already exists [2024-10-30T07:14:35.770Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T07:14:35.770Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T07:14:35.770Z] ---> 91ef0af61f39 [2024-10-30T07:14:35.770Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-30T07:14:35.770Z] ---> Running in fe92e5004871 [2024-10-30T07:14:35.770Z] Removing intermediate container fe92e5004871 [2024-10-30T07:14:35.770Z] ---> 22bca1010b9d [2024-10-30T07:14:35.770Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-30T07:14:35.770Z] ---> Running in 865620ba96ab [2024-10-30T07:14:35.770Z] Removing intermediate container 865620ba96ab [2024-10-30T07:14:35.770Z] ---> b3c28da2f9e8 [2024-10-30T07:14:35.770Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T07:14:35.770Z] ---> Running in ad5404b7aa14 [2024-10-30T07:14:35.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:14:35.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:14:35.770Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T07:14:35.770Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:14:35.770Z] OK: 8 MiB in 15 packages [2024-10-30T07:14:36.340Z] Removing intermediate container ad5404b7aa14 [2024-10-30T07:14:36.340Z] ---> 4433e243c45e [2024-10-30T07:14:36.340Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-30T07:14:36.599Z] ---> Running in be89aa5f4ba1 [2024-10-30T07:14:36.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:14:36.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:14:37.435Z] Upgrading critical system libraries and apk-tools: [2024-10-30T07:14:37.435Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T07:14:37.435Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:14:37.435Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T07:14:37.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:14:37.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:14:37.648Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24111 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-10-30T07:14:37.667Z] Running in /w/workspace/device-rest-go/178 [Pipeline] { [Pipeline] checkout [2024-10-30T07:14:37.694Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:14:37.694Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:14:37.694Z] OK: 8 MiB in 15 packages [2024-10-30T07:14:37.712Z] The recommended git tool is: git [2024-10-30T07:14:39.594Z] Removing intermediate container be89aa5f4ba1 [2024-10-30T07:14:39.594Z] ---> b7376e7646f6 [2024-10-30T07:14:39.594Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-30T07:14:41.507Z] ---> e7187a48a386 [2024-10-30T07:14:41.507Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-30T07:14:41.765Z] ---> 4125e6722e4c [2024-10-30T07:14:41.765Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-30T07:14:42.023Z] ---> 6532b2f7189b [2024-10-30T07:14:42.023Z] Step 21/26 : EXPOSE 59986 [2024-10-30T07:14:42.023Z] ---> Running in b58a8a704c4a [2024-10-30T07:14:42.280Z] Removing intermediate container b58a8a704c4a [2024-10-30T07:14:42.280Z] ---> 133e369fa054 [2024-10-30T07:14:42.280Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-30T07:14:42.280Z] ---> Running in c92b3ab668de [2024-10-30T07:14:42.280Z] Removing intermediate container c92b3ab668de [2024-10-30T07:14:42.280Z] ---> 313d967cb720 [2024-10-30T07:14:42.280Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T07:14:42.280Z] ---> Running in 244a2e301691 [2024-10-30T07:14:42.280Z] Removing intermediate container 244a2e301691 [2024-10-30T07:14:42.280Z] ---> 385a2c0aa1ee [2024-10-30T07:14:42.280Z] Step 24/26 : LABEL arch=amd64 [2024-10-30T07:14:42.538Z] ---> Running in bc14b2402220 [2024-10-30T07:14:42.538Z] Removing intermediate container bc14b2402220 [2024-10-30T07:14:42.538Z] ---> 51d48b891b4d [2024-10-30T07:14:42.538Z] Step 25/26 : LABEL git_sha=4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:14:42.538Z] ---> Running in 7e302c4eaf1a [2024-10-30T07:14:42.538Z] Removing intermediate container 7e302c4eaf1a [2024-10-30T07:14:42.538Z] ---> 03669f0d5311 [2024-10-30T07:14:42.538Z] Step 26/26 : LABEL version=4.0.0-dev.1 [2024-10-30T07:14:42.538Z] ---> Running in cc66c005def5 [2024-10-30T07:14:42.795Z] Removing intermediate container cc66c005def5 [2024-10-30T07:14:42.795Z] ---> 2358f5bc18aa [2024-10-30T07:14:42.795Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T07:14:42.795Z] Successfully built 2358f5bc18aa [2024-10-30T07:14:42.795Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:14:42.930Z] provisioning config files... [2024-10-30T07:14:42.939Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14865369635527084586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:14:43.247Z] ---> ****-login.sh [2024-10-30T07:14:43.247Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:14:43.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:14:43.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:14:43.248Z] Configure a credential helper to remove this warning. See [2024-10-30T07:14:43.248Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:14:43.248Z] [2024-10-30T07:14:43.248Z] Login Succeeded [2024-10-30T07:14:43.248Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:14:43.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:14:43.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:14:43.248Z] Configure a credential helper to remove this warning. See [2024-10-30T07:14:43.248Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:14:43.248Z] [2024-10-30T07:14:43.248Z] Login Succeeded [2024-10-30T07:14:43.248Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:14:43.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:14:43.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:14:43.507Z] Configure a credential helper to remove this warning. See [2024-10-30T07:14:43.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:14:43.507Z] [2024-10-30T07:14:43.507Z] Login Succeeded [2024-10-30T07:14:43.507Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:14:43.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:14:43.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:14:43.508Z] Configure a credential helper to remove this warning. See [2024-10-30T07:14:43.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:14:43.508Z] [2024-10-30T07:14:43.508Z] Login Succeeded [2024-10-30T07:14:43.508Z] ****.io [2024-10-30T07:14:43.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:14:43.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:14:43.768Z] Configure a credential helper to remove this warning. See [2024-10-30T07:14:43.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:14:43.768Z] [2024-10-30T07:14:43.768Z] Login Succeeded [2024-10-30T07:14:43.768Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:14:43.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-30T07:14:43.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:14:43.859Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-10-30T07:14:43.859Z] 4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:14:43.859Z] latest [2024-10-30T07:14:43.859Z] 4.0.0-dev.1 [2024-10-30T07:14:43.859Z] 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [2024-10-30T07:14:43.859Z] main [2024-10-30T07:14:43.859Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:44.206Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:44.533Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:14:44.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-10-30T07:14:44.533Z] 733d975e8db8: Preparing [2024-10-30T07:14:44.533Z] ab1b69603fc5: Preparing [2024-10-30T07:14:44.533Z] b6a67630d7ed: Preparing [2024-10-30T07:14:44.533Z] 1dc5c487af6b: Preparing [2024-10-30T07:14:44.533Z] 106b3d26d2b1: Preparing [2024-10-30T07:14:44.533Z] 63ca1fbb43ae: Preparing [2024-10-30T07:14:44.533Z] 63ca1fbb43ae: Waiting [2024-10-30T07:14:44.533Z] ab1b69603fc5: Pushed [2024-10-30T07:14:44.533Z] 733d975e8db8: Pushed [2024-10-30T07:14:44.533Z] 106b3d26d2b1: Pushed [2024-10-30T07:14:44.533Z] 63ca1fbb43ae: Layer already exists [2024-10-30T07:14:45.100Z] 1dc5c487af6b: Pushed [2024-10-30T07:14:46.877Z] using credential edgex-jenkins-ssh [2024-10-30T07:14:46.902Z] Cloning the remote Git repository [2024-10-30T07:14:46.979Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-30T07:14:47.135Z] > git init /w/workspace/device-rest-go/178 # timeout=10 [2024-10-30T07:14:47.582Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-30T07:14:47.583Z] > git --version # timeout=10 [2024-10-30T07:14:47.678Z] > git --version # 'git version 2.25.1' [2024-10-30T07:14:47.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T07:14:48.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T07:14:49.299Z] b6a67630d7ed: Pushed [2024-10-30T07:14:49.299Z] 4864046db187b802f4fd351f9abe59b5b3174726: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:49.627Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:49.955Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-10-30T07:14:49.955Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-10-30T07:14:49.955Z] 733d975e8db8: Preparing [2024-10-30T07:14:49.955Z] ab1b69603fc5: Preparing [2024-10-30T07:14:49.955Z] b6a67630d7ed: Preparing [2024-10-30T07:14:49.955Z] 1dc5c487af6b: Preparing [2024-10-30T07:14:49.955Z] 106b3d26d2b1: Preparing [2024-10-30T07:14:49.955Z] 63ca1fbb43ae: Preparing [2024-10-30T07:14:49.955Z] 63ca1fbb43ae: Waiting [2024-10-30T07:14:49.955Z] ab1b69603fc5: Layer already exists [2024-10-30T07:14:49.955Z] 106b3d26d2b1: Layer already exists [2024-10-30T07:14:49.955Z] 1dc5c487af6b: Layer already exists [2024-10-30T07:14:49.955Z] b6a67630d7ed: Layer already exists [2024-10-30T07:14:49.955Z] 733d975e8db8: Layer already exists [2024-10-30T07:14:49.955Z] 63ca1fbb43ae: Layer already exists [2024-10-30T07:14:49.955Z] latest: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:50.291Z] + 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 [2024-10-30T07:14:50.617Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.1 [2024-10-30T07:14:50.617Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-10-30T07:14:50.617Z] 733d975e8db8: Preparing [2024-10-30T07:14:50.617Z] ab1b69603fc5: Preparing [2024-10-30T07:14:50.617Z] b6a67630d7ed: Preparing [2024-10-30T07:14:50.617Z] 1dc5c487af6b: Preparing [2024-10-30T07:14:50.617Z] 106b3d26d2b1: Preparing [2024-10-30T07:14:50.617Z] 63ca1fbb43ae: Preparing [2024-10-30T07:14:50.617Z] 63ca1fbb43ae: Waiting [2024-10-30T07:14:50.617Z] 106b3d26d2b1: Layer already exists [2024-10-30T07:14:50.617Z] 1dc5c487af6b: Layer already exists [2024-10-30T07:14:50.617Z] ab1b69603fc5: Layer already exists [2024-10-30T07:14:50.617Z] 733d975e8db8: Layer already exists [2024-10-30T07:14:50.617Z] b6a67630d7ed: Layer already exists [2024-10-30T07:14:50.617Z] 63ca1fbb43ae: Layer already exists [2024-10-30T07:14:50.617Z] 4.0.0-dev.1: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:50.950Z] + 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 [2024-10-30T07:14:51.283Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [2024-10-30T07:14:51.283Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-10-30T07:14:51.283Z] 733d975e8db8: Preparing [2024-10-30T07:14:51.283Z] ab1b69603fc5: Preparing [2024-10-30T07:14:51.283Z] b6a67630d7ed: Preparing [2024-10-30T07:14:51.283Z] 1dc5c487af6b: Preparing [2024-10-30T07:14:51.283Z] 106b3d26d2b1: Preparing [2024-10-30T07:14:51.283Z] 63ca1fbb43ae: Preparing [2024-10-30T07:14:51.283Z] 63ca1fbb43ae: Waiting [2024-10-30T07:14:51.283Z] ab1b69603fc5: Layer already exists [2024-10-30T07:14:51.283Z] b6a67630d7ed: Layer already exists [2024-10-30T07:14:51.283Z] 1dc5c487af6b: Layer already exists [2024-10-30T07:14:51.283Z] 106b3d26d2b1: Layer already exists [2024-10-30T07:14:51.283Z] 733d975e8db8: Layer already exists [2024-10-30T07:14:51.283Z] 63ca1fbb43ae: Layer already exists [2024-10-30T07:14:51.283Z] 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:51.617Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:52.033Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-10-30T07:14:52.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-10-30T07:14:52.033Z] 733d975e8db8: Preparing [2024-10-30T07:14:52.033Z] ab1b69603fc5: Preparing [2024-10-30T07:14:52.033Z] b6a67630d7ed: Preparing [2024-10-30T07:14:52.033Z] 1dc5c487af6b: Preparing [2024-10-30T07:14:52.033Z] 106b3d26d2b1: Preparing [2024-10-30T07:14:52.033Z] 63ca1fbb43ae: Preparing [2024-10-30T07:14:52.033Z] 106b3d26d2b1: Layer already exists [2024-10-30T07:14:52.033Z] ab1b69603fc5: Layer already exists [2024-10-30T07:14:52.033Z] 1dc5c487af6b: Layer already exists [2024-10-30T07:14:52.033Z] b6a67630d7ed: Layer already exists [2024-10-30T07:14:52.033Z] 733d975e8db8: Layer already exists [2024-10-30T07:14:52.033Z] 63ca1fbb43ae: Layer already exists [2024-10-30T07:14:52.033Z] main: digest: sha256:f7ad6aa118de30291ea1826c2eddf31cab60ec1254e500543906b2e9626c1990 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-30T07:14:52.097Z] ===================================================== [Pipeline] echo [2024-10-30T07:14:52.111Z] taggedImages: [2024-10-30T07:14:52.111Z] - nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:14:52.111Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-10-30T07:14:52.111Z] - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.1 [2024-10-30T07:14:52.111Z] - nexus3.edgexfoundry.org:10004/device-rest:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [2024-10-30T07:14:52.111Z] - 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 [2024-10-30T07:14:52.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:14:52.518Z] [2024-10-30T07:14:52.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:14:52.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:14:52.824Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T07:14:52.824Z] 5eb5b503b376: Pulling fs layer [2024-10-30T07:14:52.824Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T07:14:52.824Z] ec43610c2a17: Pulling fs layer [2024-10-30T07:14:52.824Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T07:14:52.824Z] 33b1e0a273af: Pulling fs layer [2024-10-30T07:14:52.824Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T07:14:52.824Z] 2f39f015ded8: Pulling fs layer [2024-10-30T07:14:52.824Z] 3a2ae6a8a46f: Waiting [2024-10-30T07:14:52.824Z] 5d3b04190fa2: Waiting [2024-10-30T07:14:52.824Z] 33b1e0a273af: Waiting [2024-10-30T07:14:52.824Z] 2f39f015ded8: Waiting [2024-10-30T07:14:53.082Z] 5c69ac0246d0: Verifying Checksum [2024-10-30T07:14:53.082Z] 5c69ac0246d0: Download complete [2024-10-30T07:14:53.082Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-30T07:14:53.082Z] 3a2ae6a8a46f: Download complete [2024-10-30T07:14:53.082Z] 33b1e0a273af: Verifying Checksum [2024-10-30T07:14:53.082Z] 33b1e0a273af: Download complete [2024-10-30T07:14:53.082Z] 5d3b04190fa2: Verifying Checksum [2024-10-30T07:14:53.082Z] 5d3b04190fa2: Download complete [2024-10-30T07:14:53.082Z] ec43610c2a17: Verifying Checksum [2024-10-30T07:14:53.082Z] ec43610c2a17: Download complete [2024-10-30T07:14:53.082Z] 5eb5b503b376: Verifying Checksum [2024-10-30T07:14:53.082Z] 5eb5b503b376: Download complete [2024-10-30T07:14:51.625Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-30T07:14:51.657Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T07:14:53.587Z] Avoid second fetch [2024-10-30T07:14:53.587Z] Checking out Revision 4864046db187b802f4fd351f9abe59b5b3174726 (main) [2024-10-30T07:14:54.018Z] 2f39f015ded8: Download complete [2024-10-30T07:14:54.585Z] 5eb5b503b376: Pull complete [2024-10-30T07:14:54.585Z] 5c69ac0246d0: Pull complete [2024-10-30T07:14:53.613Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T07:14:53.741Z] > git checkout -f 4864046db187b802f4fd351f9abe59b5b3174726 # timeout=10 [2024-10-30T07:14:55.065Z] Commit message: "Merge pull request #422 from weichou1229/v4-module" [2024-10-30T07:14:55.521Z] ec43610c2a17: Pull complete [2024-10-30T07:14:55.521Z] 3a2ae6a8a46f: Pull complete [2024-10-30T07:14:55.779Z] 33b1e0a273af: Pull complete [2024-10-30T07:14:56.036Z] 5d3b04190fa2: Pull complete [2024-10-30T07:14:59.637Z] [2024-10-30T07:14:59.637Z] GitHub has been notified of this commit’s build result [2024-10-30T07:14:59.637Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T07:15:00.221Z] 2f39f015ded8: Pull complete [2024-10-30T07:15:00.221Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T07:15:00.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:15:00.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:15:00.306Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T07:15:00.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T07:15:00.306Z] Dload Upload Total Spent Left Speed [2024-10-30T07:15:00.306Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k [2024-10-30T07:15:00.336Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:15:00.376Z] $ 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 [2024-10-30T07:15:06.362Z] $ docker top e48630629e4a664a34e76c0d84c69c67665d71a5e3a92141e3ae746b451dbfc2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:15:06.757Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T07:15:06.816Z] ---> job-cost.sh [2024-10-30T07:15:06.816Z] lf-activate-venv: SKIPPING [2024-10-30T07:15:06.816Z] INFO: No Stack... [2024-10-30T07:15:07.077Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T07:15:07.083Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-30T07:15:07.083Z] /etc/docker/daemon.json [2024-10-30T07:15:07.083Z] { [2024-10-30T07:15:07.083Z] "registry-mirrors": [ [2024-10-30T07:15:07.083Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T07:15:07.083Z] ], [2024-10-30T07:15:07.083Z] "bip": "10.250.0.254/24", [2024-10-30T07:15:07.083Z] "hosts": [ [2024-10-30T07:15:07.083Z] "tcp://0.0.0.0:5555", [2024-10-30T07:15:07.083Z] "unix:///var/run/docker.sock" [2024-10-30T07:15:07.083Z] ], [2024-10-30T07:15:07.083Z] "mtu": 1458, [2024-10-30T07:15:07.083Z] "selinux-enabled": true, [2024-10-30T07:15:07.083Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T07:15:07.083Z] } [Pipeline] sh [2024-10-30T07:15:07.340Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T07:15:07.413Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T07:15:07.642Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-10-30T07:15:07.642Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T07:15:07.657Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [2024-10-30T07:15:07.666Z] Resource [jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] did not exist. Created. [2024-10-30T07:15:07.673Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T07:15:07.744Z] + sudo service docker restart [2024-10-30T07:15:07.994Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T07:15:08.030Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T07:15:08.039Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T07:15:08.074Z] $ docker stop --time=1 e48630629e4a664a34e76c0d84c69c67665d71a5e3a92141e3ae746b451dbfc2 [2024-10-30T07:15:09.439Z] $ docker rm -f --volumes e48630629e4a664a34e76c0d84c69c67665d71a5e3a92141e3ae746b451dbfc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:15:26.038Z] provisioning config files... [2024-10-30T07:15:26.065Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/178@tmp/config9378491277480060959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:15:26.516Z] ---> ****-login.sh [2024-10-30T07:15:26.516Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:15:26.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:15:27.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:15:27.074Z] Configure a credential helper to remove this warning. See [2024-10-30T07:15:27.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:15:27.074Z] [2024-10-30T07:15:27.074Z] Login Succeeded [2024-10-30T07:15:27.074Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:15:27.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:15:27.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:15:27.619Z] Configure a credential helper to remove this warning. See [2024-10-30T07:15:27.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:15:27.619Z] [2024-10-30T07:15:27.619Z] Login Succeeded [2024-10-30T07:15:27.619Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:15:27.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:15:27.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:15:27.891Z] Configure a credential helper to remove this warning. See [2024-10-30T07:15:27.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:15:27.891Z] [2024-10-30T07:15:27.891Z] Login Succeeded [2024-10-30T07:15:27.891Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:15:28.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:15:28.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:15:28.163Z] Configure a credential helper to remove this warning. See [2024-10-30T07:15:28.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:15:28.163Z] [2024-10-30T07:15:28.163Z] Login Succeeded [2024-10-30T07:15:28.163Z] ****.io [2024-10-30T07:15:28.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:15:28.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:15:28.699Z] Configure a credential helper to remove this warning. See [2024-10-30T07:15:28.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:15:28.699Z] [2024-10-30T07:15:28.699Z] Login Succeeded [2024-10-30T07:15:28.699Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:15:28.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T07:15:29.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:15:29.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:15:29.123Z] ========================================================= [2024-10-30T07:15:29.123Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T07:15:29.123Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:15:29.521Z] + 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 . [2024-10-30T07:15:29.521Z] Sending build context to Docker daemon 140.8kB [2024-10-30T07:15:29.795Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:15:29.795Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T07:15:29.795Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T07:15:29.795Z] cf04c63912e1: Pulling fs layer [2024-10-30T07:15:29.795Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T07:15:29.795Z] a37a00ec5f00: Pulling fs layer [2024-10-30T07:15:29.795Z] 50b3750afda1: Pulling fs layer [2024-10-30T07:15:29.795Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T07:15:29.795Z] 80978eb59214: Pulling fs layer [2024-10-30T07:15:29.795Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T07:15:29.795Z] c5a475d317c9: Pulling fs layer [2024-10-30T07:15:29.795Z] 50b3750afda1: Waiting [2024-10-30T07:15:29.795Z] c9f46d7d2bd2: Waiting [2024-10-30T07:15:29.795Z] 4f4fb700ef54: Waiting [2024-10-30T07:15:29.795Z] 80978eb59214: Waiting [2024-10-30T07:15:29.795Z] c5a475d317c9: Waiting [2024-10-30T07:15:30.068Z] 55b35a11ae5e: Verifying Checksum [2024-10-30T07:15:30.068Z] 55b35a11ae5e: Download complete [2024-10-30T07:15:30.068Z] 50b3750afda1: Verifying Checksum [2024-10-30T07:15:30.068Z] 50b3750afda1: Download complete [2024-10-30T07:15:30.068Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T07:15:30.068Z] 4f4fb700ef54: Download complete [2024-10-30T07:15:30.068Z] 80978eb59214: Verifying Checksum [2024-10-30T07:15:30.068Z] 80978eb59214: Download complete [2024-10-30T07:15:30.068Z] cf04c63912e1: Download complete [2024-10-30T07:15:30.659Z] c5a475d317c9: Verifying Checksum [2024-10-30T07:15:30.659Z] c5a475d317c9: Download complete [2024-10-30T07:15:30.932Z] cf04c63912e1: Pull complete [2024-10-30T07:15:31.928Z] 55b35a11ae5e: Pull complete [2024-10-30T07:15:32.199Z] a37a00ec5f00: Verifying Checksum [2024-10-30T07:15:32.199Z] a37a00ec5f00: Download complete [2024-10-30T07:15:33.179Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T07:15:33.179Z] c9f46d7d2bd2: Download complete [2024-10-30T07:15:48.272Z] a37a00ec5f00: Pull complete [2024-10-30T07:15:48.272Z] 50b3750afda1: Pull complete [2024-10-30T07:15:48.272Z] 4f4fb700ef54: Pull complete [2024-10-30T07:15:48.272Z] 80978eb59214: Pull complete [2024-10-30T07:15:56.520Z] c9f46d7d2bd2: Pull complete [2024-10-30T07:15:57.491Z] c5a475d317c9: Pull complete [2024-10-30T07:15:57.491Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T07:15:57.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T07:15:57.491Z] ---> be29e6b0f0d4 [2024-10-30T07:15:57.491Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:15:58.455Z] ---> Running in c737c2dfee88 [2024-10-30T07:15:58.729Z] Removing intermediate container c737c2dfee88 [2024-10-30T07:15:58.729Z] ---> bcee401742a2 [2024-10-30T07:15:58.729Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:15:59.000Z] ---> Running in 87f479d00483 [2024-10-30T07:15:59.271Z] Removing intermediate container 87f479d00483 [2024-10-30T07:15:59.271Z] ---> becaaeb54461 [2024-10-30T07:15:59.271Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T07:15:59.271Z] ---> Running in 616eae57e219 [2024-10-30T07:15:59.542Z] Removing intermediate container 616eae57e219 [2024-10-30T07:15:59.542Z] ---> 25c9d9d7cc90 [2024-10-30T07:15:59.542Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:15:59.824Z] ---> Running in d7949eaa68bd [2024-10-30T07:16:00.100Z] Removing intermediate container d7949eaa68bd [2024-10-30T07:16:00.100Z] ---> 62f1ac758ad3 [2024-10-30T07:16:00.100Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:16:00.100Z] ---> Running in 04a16eff4458 [2024-10-30T07:16:01.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:16:01.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:16:03.212Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T07:16:03.212Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T07:16:03.212Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T07:16:03.212Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T07:16:03.488Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:16:03.488Z] OK: 242 MiB in 58 packages [2024-10-30T07:16:04.454Z] Removing intermediate container 04a16eff4458 [2024-10-30T07:16:04.454Z] ---> 8308730bd72c [2024-10-30T07:16:04.454Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-30T07:16:04.722Z] ---> Running in da15730911e3 [2024-10-30T07:16:04.992Z] Removing intermediate container da15730911e3 [2024-10-30T07:16:04.992Z] ---> 55bead99950f [2024-10-30T07:16:04.992Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T07:16:05.574Z] ---> bd8ec5caa8b2 [2024-10-30T07:16:05.574Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:16:05.574Z] ---> Running in 5f02bcb0cea5 [2024-10-30T07:18:12.323Z] Removing intermediate container 5f02bcb0cea5 [2024-10-30T07:18:12.323Z] ---> 9394fde90377 [2024-10-30T07:18:12.323Z] Step 11/12 : COPY . . [2024-10-30T07:18:12.323Z] ---> a94841043fcf [2024-10-30T07:18:12.323Z] Step 12/12 : RUN $MAKE [2024-10-30T07:18:12.323Z] ---> Running in c28b9910f2e2 [2024-10-30T07:18:12.323Z] noop [2024-10-30T07:18:12.323Z] Removing intermediate container c28b9910f2e2 [2024-10-30T07:18:12.323Z] ---> 0772cbea5c22 [2024-10-30T07:18:12.323Z] Successfully built 0772cbea5c22 [2024-10-30T07:18:12.323Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:18:12.686Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T07:18:12.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:18:12.906Z] prd-ubuntu20.04-docker-arm64-4c-16g-24111 does not seem to be running inside a container [2024-10-30T07:18:13.036Z] $ 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 [2024-10-30T07:18:14.420Z] $ docker top 988f476feb51f735047e62930bb48e05404e5d7738eab0e95206459e6f21b764 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:18:15.343Z] + go version [2024-10-30T07:18:15.343Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T07:18:15.367Z] $ docker stop --time=1 988f476feb51f735047e62930bb48e05404e5d7738eab0e95206459e6f21b764 [2024-10-30T07:18:17.084Z] $ 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 [2024-10-30T07:18:17.708Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T07:18:17.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:18:17.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-24111 does not seem to be running inside a container [2024-10-30T07:18:18.006Z] $ 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 [2024-10-30T07:18:19.251Z] $ docker top 4f3153742e85d21974f499442fdc3a55e15e5679ab3fe70833c719d059fde209 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:18:20.099Z] + git config --global --add safe.directory /w/workspace/device-rest-go/178 [Pipeline] fileExists [Pipeline] sh [2024-10-30T07:18:20.772Z] + make test [2024-10-30T07:18:20.772Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T07:18:27.430Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-30T07:22:04.266Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-30T07:22:04.266Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements [2024-10-30T07:22:04.266Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T07:22:04.266Z] go vet ./... [2024-10-30T07:22:51.289Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T07:22:51.556Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T07:22:51.556Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T07:22:52.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T07:22:52.565Z] $ docker stop --time=1 4f3153742e85d21974f499442fdc3a55e15e5679ab3fe70833c719d059fde209 [2024-10-30T07:22:54.621Z] $ docker rm -f --volumes 4f3153742e85d21974f499442fdc3a55e15e5679ab3fe70833c719d059fde209 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:22:56.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T07:22:56.436Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T07:22:56.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T07:22:57.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T07:22:57.682Z] + ls -al . [2024-10-30T07:22:57.682Z] total 252 [2024-10-30T07:22:57.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:18 . [2024-10-30T07:22:57.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:14 .. [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 30 07:14 .dockerignore [2024-10-30T07:22:57.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:14 .git [2024-10-30T07:22:57.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:14 .github [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 07:14 .gitignore [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 07:14 .golangci.yml [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 30 07:14 Attribution.txt [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 30 07:14 CHANGELOG.md [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 1697 Oct 30 07:14 Dockerfile [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:14 GOVERNANCE.md [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 30 07:14 Jenkinsfile [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:14 LICENSE [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 30 07:14 Makefile [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 07:14 OWNERS.md [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 30 07:14 README.md [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 07:11 VERSION [2024-10-30T07:22:57.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:14 bin [2024-10-30T07:22:57.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:14 cmd [2024-10-30T07:22:57.682Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 30 07:21 coverage.out [2024-10-30T07:22:57.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:14 driver [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 7099 Oct 30 07:14 go.mod [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 07:14 go.sum [2024-10-30T07:22:57.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:14 openapi [2024-10-30T07:22:57.682Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 30 07:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:22:58.048Z] + 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 . [2024-10-30T07:22:58.048Z] Sending build context to Docker daemon 156.2kB [2024-10-30T07:22:58.321Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:22:58.321Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T07:22:58.321Z] ---> 0772cbea5c22 [2024-10-30T07:22:58.321Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:22:58.321Z] ---> Running in dc0755fa42d7 [2024-10-30T07:22:58.590Z] Removing intermediate container dc0755fa42d7 [2024-10-30T07:22:58.590Z] ---> 7695c953ba33 [2024-10-30T07:22:58.590Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:22:58.856Z] ---> Running in c2da93a5868b [2024-10-30T07:22:59.124Z] Removing intermediate container c2da93a5868b [2024-10-30T07:22:59.124Z] ---> 2cac8d3c8cd9 [2024-10-30T07:22:59.124Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T07:22:59.124Z] ---> Running in 246d5a170374 [2024-10-30T07:22:59.394Z] Removing intermediate container 246d5a170374 [2024-10-30T07:22:59.394Z] ---> 7fcb94af26a8 [2024-10-30T07:22:59.394Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:22:59.663Z] ---> Running in ff276f236d93 [2024-10-30T07:22:59.933Z] Removing intermediate container ff276f236d93 [2024-10-30T07:22:59.933Z] ---> 34f5db29b902 [2024-10-30T07:22:59.933Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:22:59.933Z] ---> Running in 2b090476e597 [2024-10-30T07:23:00.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:23:01.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:23:02.899Z] OK: 242 MiB in 58 packages [2024-10-30T07:23:03.864Z] Removing intermediate container 2b090476e597 [2024-10-30T07:23:03.864Z] ---> 65f154a70ebe [2024-10-30T07:23:03.864Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-30T07:23:03.864Z] ---> Running in 3d2e46d7c158 [2024-10-30T07:23:04.134Z] Removing intermediate container 3d2e46d7c158 [2024-10-30T07:23:04.134Z] ---> aea4d2e4d1a2 [2024-10-30T07:23:04.134Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-30T07:23:04.717Z] ---> cf3312fa6772 [2024-10-30T07:23:04.718Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:23:04.718Z] ---> Running in 2866cbca9e10 [2024-10-30T07:23:07.300Z] Removing intermediate container 2866cbca9e10 [2024-10-30T07:23:07.300Z] ---> 93980ea96b24 [2024-10-30T07:23:07.300Z] Step 11/26 : COPY . . [2024-10-30T07:23:07.567Z] ---> 10746a09153b [2024-10-30T07:23:07.567Z] Step 12/26 : RUN $MAKE [2024-10-30T07:23:07.567Z] ---> Running in 01bbf187282a [2024-10-30T07:23:08.525Z] 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 [2024-10-30T07:26:46.322Z] Removing intermediate container 01bbf187282a [2024-10-30T07:26:46.322Z] ---> ee3ca982ddbe [2024-10-30T07:26:46.322Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T07:26:46.322Z] 3.20: Pulling from library/alpine [2024-10-30T07:26:46.322Z] cf04c63912e1: Already exists [2024-10-30T07:26:46.322Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T07:26:46.322Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T07:26:46.322Z] ---> c157a85ed455 [2024-10-30T07:26:46.322Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-30T07:26:46.322Z] ---> Running in c43f21ff04bb [2024-10-30T07:26:46.322Z] Removing intermediate container c43f21ff04bb [2024-10-30T07:26:46.322Z] ---> d0c008d287b3 [2024-10-30T07:26:46.322Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-30T07:26:46.322Z] ---> Running in d49756fbb25c [2024-10-30T07:26:46.322Z] Removing intermediate container d49756fbb25c [2024-10-30T07:26:46.322Z] ---> be50bc1ff173 [2024-10-30T07:26:46.322Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T07:26:46.322Z] ---> Running in ee67c9286e2e [2024-10-30T07:26:46.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:26:46.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:26:46.909Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T07:26:46.909Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:26:46.909Z] OK: 9 MiB in 15 packages [2024-10-30T07:26:47.883Z] Removing intermediate container ee67c9286e2e [2024-10-30T07:26:47.883Z] ---> b58b16d25e07 [2024-10-30T07:26:47.883Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-30T07:26:48.149Z] ---> Running in 59c8338b8be1 [2024-10-30T07:26:49.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:26:49.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:26:50.779Z] Upgrading critical system libraries and apk-tools: [2024-10-30T07:26:50.779Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T07:26:50.779Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:26:50.779Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T07:26:50.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:26:51.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:26:52.452Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:26:52.452Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:26:52.452Z] OK: 9 MiB in 15 packages [2024-10-30T07:26:53.882Z] Removing intermediate container 59c8338b8be1 [2024-10-30T07:26:53.882Z] ---> 33b3df9a313d [2024-10-30T07:26:53.882Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-30T07:26:56.468Z] ---> c65cc192b6e1 [2024-10-30T07:26:56.468Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-30T07:26:56.736Z] ---> a5e451a766b1 [2024-10-30T07:26:56.736Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-30T07:26:58.685Z] ---> 34b43e7067cd [2024-10-30T07:26:58.685Z] Step 21/26 : EXPOSE 59986 [2024-10-30T07:26:58.685Z] ---> Running in 8045976bb017 [2024-10-30T07:26:58.685Z] Removing intermediate container 8045976bb017 [2024-10-30T07:26:58.685Z] ---> 22d432eaca97 [2024-10-30T07:26:58.685Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-30T07:26:58.685Z] ---> Running in 60634487d691 [2024-10-30T07:26:58.952Z] Removing intermediate container 60634487d691 [2024-10-30T07:26:58.952Z] ---> 1632ad9f287a [2024-10-30T07:26:58.952Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T07:26:59.218Z] ---> Running in 6f703fbffd85 [2024-10-30T07:26:59.484Z] Removing intermediate container 6f703fbffd85 [2024-10-30T07:26:59.484Z] ---> 8ef67675606d [2024-10-30T07:26:59.484Z] Step 24/26 : LABEL arch=arm64 [2024-10-30T07:26:59.484Z] ---> Running in 656b867478d9 [2024-10-30T07:26:59.751Z] Removing intermediate container 656b867478d9 [2024-10-30T07:26:59.751Z] ---> f46e6d0c53f3 [2024-10-30T07:26:59.751Z] Step 25/26 : LABEL git_sha=4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:26:59.751Z] ---> Running in 47002ebc45b6 [2024-10-30T07:27:00.397Z] Removing intermediate container 47002ebc45b6 [2024-10-30T07:27:00.397Z] ---> 4cce03fe0e25 [2024-10-30T07:27:00.397Z] Step 26/26 : LABEL version=4.0.0-dev.1 [2024-10-30T07:27:00.397Z] ---> Running in 41458f38398d [2024-10-30T07:27:00.676Z] Removing intermediate container 41458f38398d [2024-10-30T07:27:00.676Z] ---> bcbf685136f3 [2024-10-30T07:27:00.676Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T07:27:00.676Z] Successfully built bcbf685136f3 [2024-10-30T07:27:00.676Z] 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 [2024-10-30T07:27:00.847Z] provisioning config files... [2024-10-30T07:27:00.865Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/178@tmp/config7634395166307664097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:27:01.225Z] ---> ****-login.sh [2024-10-30T07:27:01.225Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:27:01.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:27:01.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:27:01.498Z] Configure a credential helper to remove this warning. See [2024-10-30T07:27:01.498Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:27:01.498Z] [2024-10-30T07:27:01.498Z] Login Succeeded [2024-10-30T07:27:01.498Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:27:01.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:27:01.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:27:01.781Z] Configure a credential helper to remove this warning. See [2024-10-30T07:27:01.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:27:01.781Z] [2024-10-30T07:27:01.781Z] Login Succeeded [2024-10-30T07:27:01.781Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:27:02.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:27:02.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:27:02.405Z] Configure a credential helper to remove this warning. See [2024-10-30T07:27:02.405Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:27:02.405Z] [2024-10-30T07:27:02.405Z] Login Succeeded [2024-10-30T07:27:02.405Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:27:02.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:27:03.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:27:03.254Z] Configure a credential helper to remove this warning. See [2024-10-30T07:27:03.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:27:03.254Z] [2024-10-30T07:27:03.254Z] Login Succeeded [2024-10-30T07:27:03.254Z] ****.io [2024-10-30T07:27:03.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:27:03.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:27:03.788Z] Configure a credential helper to remove this warning. See [2024-10-30T07:27:03.788Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:27:03.788Z] [2024-10-30T07:27:03.788Z] Login Succeeded [2024-10-30T07:27:03.788Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:27:03.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-30T07:27:03.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:27:03.890Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-10-30T07:27:03.890Z] 4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:27:03.890Z] latest [2024-10-30T07:27:03.890Z] 4.0.0-dev.1 [2024-10-30T07:27:03.890Z] 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [2024-10-30T07:27:03.890Z] main [2024-10-30T07:27:03.890Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:04.269Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:04.630Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:27:04.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-10-30T07:27:04.630Z] 867926a3723c: Preparing [2024-10-30T07:27:04.630Z] 82f79b8f16b3: Preparing [2024-10-30T07:27:04.630Z] b42335f1dc48: Preparing [2024-10-30T07:27:04.630Z] c9e3a67aca51: Preparing [2024-10-30T07:27:04.630Z] b3b062a71314: Preparing [2024-10-30T07:27:04.630Z] 16113d51b718: Preparing [2024-10-30T07:27:04.630Z] 16113d51b718: Waiting [2024-10-30T07:27:04.897Z] 867926a3723c: Pushed [2024-10-30T07:27:04.897Z] b3b062a71314: Pushed [2024-10-30T07:27:04.897Z] 82f79b8f16b3: Pushed [2024-10-30T07:27:04.897Z] 16113d51b718: Layer already exists [2024-10-30T07:27:06.302Z] c9e3a67aca51: Pushed [2024-10-30T07:27:14.495Z] b42335f1dc48: Pushed [2024-10-30T07:27:14.495Z] 4864046db187b802f4fd351f9abe59b5b3174726: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:14.871Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:15.233Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-10-30T07:27:15.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-10-30T07:27:15.233Z] 867926a3723c: Preparing [2024-10-30T07:27:15.233Z] 82f79b8f16b3: Preparing [2024-10-30T07:27:15.233Z] b42335f1dc48: Preparing [2024-10-30T07:27:15.233Z] c9e3a67aca51: Preparing [2024-10-30T07:27:15.233Z] b3b062a71314: Preparing [2024-10-30T07:27:15.233Z] 16113d51b718: Preparing [2024-10-30T07:27:15.233Z] 16113d51b718: Waiting [2024-10-30T07:27:15.233Z] b3b062a71314: Layer already exists [2024-10-30T07:27:15.233Z] c9e3a67aca51: Layer already exists [2024-10-30T07:27:15.233Z] b42335f1dc48: Layer already exists [2024-10-30T07:27:15.233Z] 82f79b8f16b3: Layer already exists [2024-10-30T07:27:15.234Z] 867926a3723c: Layer already exists [2024-10-30T07:27:15.234Z] 16113d51b718: Layer already exists [2024-10-30T07:27:15.500Z] latest: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:15.871Z] + 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 [2024-10-30T07:27:16.245Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.1 [2024-10-30T07:27:16.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-10-30T07:27:16.246Z] 867926a3723c: Preparing [2024-10-30T07:27:16.246Z] 82f79b8f16b3: Preparing [2024-10-30T07:27:16.246Z] b42335f1dc48: Preparing [2024-10-30T07:27:16.246Z] c9e3a67aca51: Preparing [2024-10-30T07:27:16.246Z] b3b062a71314: Preparing [2024-10-30T07:27:16.246Z] 16113d51b718: Preparing [2024-10-30T07:27:16.246Z] 16113d51b718: Waiting [2024-10-30T07:27:16.246Z] b3b062a71314: Layer already exists [2024-10-30T07:27:16.246Z] 82f79b8f16b3: Layer already exists [2024-10-30T07:27:16.246Z] b42335f1dc48: Layer already exists [2024-10-30T07:27:16.246Z] 867926a3723c: Layer already exists [2024-10-30T07:27:16.246Z] c9e3a67aca51: Layer already exists [2024-10-30T07:27:16.246Z] 16113d51b718: Layer already exists [2024-10-30T07:27:16.517Z] 4.0.0-dev.1: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:16.889Z] + 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 [2024-10-30T07:27:17.253Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [2024-10-30T07:27:17.253Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-10-30T07:27:17.253Z] 867926a3723c: Preparing [2024-10-30T07:27:17.253Z] 82f79b8f16b3: Preparing [2024-10-30T07:27:17.253Z] b42335f1dc48: Preparing [2024-10-30T07:27:17.253Z] c9e3a67aca51: Preparing [2024-10-30T07:27:17.253Z] b3b062a71314: Preparing [2024-10-30T07:27:17.253Z] 16113d51b718: Preparing [2024-10-30T07:27:17.253Z] 16113d51b718: Waiting [2024-10-30T07:27:17.253Z] 82f79b8f16b3: Layer already exists [2024-10-30T07:27:17.253Z] c9e3a67aca51: Layer already exists [2024-10-30T07:27:17.253Z] b3b062a71314: Layer already exists [2024-10-30T07:27:17.253Z] b42335f1dc48: Layer already exists [2024-10-30T07:27:17.253Z] 867926a3723c: Layer already exists [2024-10-30T07:27:17.253Z] 16113d51b718: Layer already exists [2024-10-30T07:27:17.521Z] 4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:17.899Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:18.268Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-10-30T07:27:18.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-10-30T07:27:18.268Z] 867926a3723c: Preparing [2024-10-30T07:27:18.268Z] 82f79b8f16b3: Preparing [2024-10-30T07:27:18.268Z] b42335f1dc48: Preparing [2024-10-30T07:27:18.268Z] c9e3a67aca51: Preparing [2024-10-30T07:27:18.268Z] b3b062a71314: Preparing [2024-10-30T07:27:18.268Z] 16113d51b718: Preparing [2024-10-30T07:27:18.268Z] 16113d51b718: Waiting [2024-10-30T07:27:18.268Z] 867926a3723c: Layer already exists [2024-10-30T07:27:18.268Z] b3b062a71314: Layer already exists [2024-10-30T07:27:18.268Z] c9e3a67aca51: Layer already exists [2024-10-30T07:27:18.268Z] 82f79b8f16b3: Layer already exists [2024-10-30T07:27:18.268Z] b42335f1dc48: Layer already exists [2024-10-30T07:27:18.268Z] 16113d51b718: Layer already exists [2024-10-30T07:27:18.535Z] main: digest: sha256:cc98aedf21b06edcdfd10f37bff60a9f8fdf05f07baff5597862ac98abe28411 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-30T07:27:18.630Z] ===================================================== [Pipeline] echo [2024-10-30T07:27:18.652Z] taggedImages: [2024-10-30T07:27:18.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726 [2024-10-30T07:27:18.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-10-30T07:27:18.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.1 [2024-10-30T07:27:18.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4864046db187b802f4fd351f9abe59b5b3174726-4.0.0-dev.1 [2024-10-30T07:27:18.652Z] - 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 [2024-10-30T07:27:19.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T07:27:19.072Z] [2024-10-30T07:27:19.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:19.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T07:27:19.417Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T07:27:19.417Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T07:27:19.417Z] 04944245beec: Pulling fs layer [2024-10-30T07:27:19.417Z] 699f458cf7ca: Pulling fs layer [2024-10-30T07:27:19.417Z] 765212b225bb: Pulling fs layer [2024-10-30T07:27:19.417Z] f23df028b6ca: Pulling fs layer [2024-10-30T07:27:19.417Z] 765212b225bb: Waiting [2024-10-30T07:27:19.417Z] f23df028b6ca: Waiting [2024-10-30T07:27:19.417Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T07:27:19.417Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T07:27:19.417Z] d65c8cfc05b1: Waiting [2024-10-30T07:27:19.417Z] 2437ff75d9bd: Waiting [2024-10-30T07:27:19.683Z] 04944245beec: Verifying Checksum [2024-10-30T07:27:19.683Z] 04944245beec: Download complete [2024-10-30T07:27:19.683Z] 765212b225bb: Verifying Checksum [2024-10-30T07:27:19.683Z] 765212b225bb: Download complete [2024-10-30T07:27:19.683Z] f23df028b6ca: Verifying Checksum [2024-10-30T07:27:19.683Z] f23df028b6ca: Download complete [2024-10-30T07:27:19.683Z] d65c8cfc05b1: Download complete [2024-10-30T07:27:19.951Z] 699f458cf7ca: Verifying Checksum [2024-10-30T07:27:19.951Z] 699f458cf7ca: Download complete [2024-10-30T07:27:20.219Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T07:27:20.219Z] 8998bd30e6a1: Download complete [2024-10-30T07:27:22.806Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T07:27:24.752Z] 8998bd30e6a1: Pull complete [2024-10-30T07:27:25.338Z] 04944245beec: Pull complete [2024-10-30T07:27:26.751Z] 699f458cf7ca: Pull complete [2024-10-30T07:27:27.020Z] 765212b225bb: Pull complete [2024-10-30T07:27:27.985Z] f23df028b6ca: Pull complete [2024-10-30T07:27:28.253Z] d65c8cfc05b1: Pull complete [2024-10-30T07:27:46.477Z] 2437ff75d9bd: Pull complete [2024-10-30T07:27:46.477Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T07:27:46.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T07:27:46.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:27:46.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-24111 does not seem to be running inside a container [2024-10-30T07:27:46.786Z] $ 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 [2024-10-30T07:27:49.609Z] $ docker top 7486da764069d83311aac47a0f5d17aa61d134177a63e20b1bf3d2b8bb125a35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:27:50.469Z] ---> job-cost.sh [2024-10-30T07:27:50.469Z] lf-activate-venv: SKIPPING [2024-10-30T07:27:50.469Z] INFO: No Stack... [2024-10-30T07:27:51.050Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T07:27:52.012Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T07:27:52.645Z] + cat /w/workspace/device-rest-go/178/archives/cost.csv [2024-10-30T07:27:52.645Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T07:27:52.706Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [2024-10-30T07:27:52.716Z] Resource [jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] did not exist. Created. [2024-10-30T07:27:52.724Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T07:27:53.381Z] /w/workspace/device-rest-go/178@tmp/durable-05009948/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T07:27:54.027Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T07:27:54.053Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T07:27:54.099Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T07:27:54.109Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T07:27:54.153Z] $ docker stop --time=1 7486da764069d83311aac47a0f5d17aa61d134177a63e20b1bf3d2b8bb125a35 [2024-10-30T07:27:55.962Z] $ 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 [2024-10-30T07:27:56.447Z] provisioning config files... [2024-10-30T07:27:56.456Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15613131869325790083tmp [Pipeline] { [Pipeline] sh [2024-10-30T07:27:56.760Z] + set +x [2024-10-30T07:27:56.760Z] + curl -s https://codecov.io/bash [2024-10-30T07:27:56.760Z] + bash -s -- [2024-10-30T07:27:56.760Z] [2024-10-30T07:27:56.760Z] _____ _ [2024-10-30T07:27:56.760Z] / ____| | | [2024-10-30T07:27:56.760Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T07:27:56.760Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T07:27:56.760Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T07:27:56.760Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T07:27:56.760Z] Bash-1.0.6 [2024-10-30T07:27:56.760Z] [2024-10-30T07:27:56.760Z] [2024-10-30T07:27:56.760Z] ==> git version 2.25.1 found [2024-10-30T07:27:56.760Z] ==> 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 [2024-10-30T07:27:56.760Z] Release-Date: 2020-01-08 [2024-10-30T07:27:56.760Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-30T07:27:56.760Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T07:27:56.760Z] ==> Jenkins CI detected. [2024-10-30T07:27:56.760Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-10-30T07:27:56.760Z] project root: . [2024-10-30T07:27:56.760Z] --> token set from env [2024-10-30T07:27:56.760Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T07:27:57.020Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T07:27:57.020Z] ==> Python coveragepy not found [2024-10-30T07:27:57.020Z] ==> Searching for coverage reports in: [2024-10-30T07:27:57.020Z] + . [2024-10-30T07:27:57.020Z] -> Found 1 reports [2024-10-30T07:27:57.020Z] ==> Detecting git/mercurial file structure [2024-10-30T07:27:57.020Z] ==> Reading reports [2024-10-30T07:27:57.020Z] + ./coverage.out bytes=14565 [2024-10-30T07:27:57.020Z] ==> Appending adjustments [2024-10-30T07:27:57.020Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T07:27:57.020Z] + Found adjustments [2024-10-30T07:27:57.020Z] ==> Gzipping contents [2024-10-30T07:27:57.020Z] 4.0K /tmp/codecov.G85pLN.gz [2024-10-30T07:27:57.020Z] ==> Uploading reports [2024-10-30T07:27:57.020Z] url: https://codecov.io [2024-10-30T07:27:57.020Z] 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= [2024-10-30T07:27:57.020Z] -> Pinging Codecov [2024-10-30T07:27:57.020Z] 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= [2024-10-30T07:27:57.280Z] -> Uploading to [2024-10-30T07:27:57.280Z] 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 [2024-10-30T07:27:57.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T07:27:57.280Z] Dload Upload Total Spent Left Speed [2024-10-30T07:27:57.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10073 --:--:-- --:--:-- --:--:-- 10073 [2024-10-30T07:27:57.539Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] } [2024-10-30T07:27:57.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-10-30T07:27:57.768Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-10-30T07:27:57.786Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:58.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-30T07:27:58.100Z] [2024-10-30T07:27:58.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:27:58.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-30T07:27:58.402Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-10-30T07:27:58.402Z] 43c4264eed91: Already exists [2024-10-30T07:27:58.402Z] 4cc291be95ef: Already exists [2024-10-30T07:27:58.402Z] 2ac1f1163629: Already exists [2024-10-30T07:27:58.402Z] 5c3c966382ef: Already exists [2024-10-30T07:27:58.402Z] 4f4fb700ef54: Already exists [2024-10-30T07:27:58.402Z] d9c7d2e4e75e: Pulling fs layer [2024-10-30T07:27:58.402Z] 9c3e1370e548: Pulling fs layer [2024-10-30T07:27:58.661Z] d9c7d2e4e75e: Verifying Checksum [2024-10-30T07:27:58.661Z] d9c7d2e4e75e: Download complete [2024-10-30T07:27:58.920Z] d9c7d2e4e75e: Pull complete [2024-10-30T07:27:59.178Z] 9c3e1370e548: Verifying Checksum [2024-10-30T07:27:59.179Z] 9c3e1370e548: Download complete [2024-10-30T07:28:02.459Z] 9c3e1370e548: Pull complete [2024-10-30T07:28:02.459Z] Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b [2024-10-30T07:28:02.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-30T07:28:02.459Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:28:02.574Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:28:02.627Z] $ 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 [2024-10-30T07:28:05.858Z] $ docker top 7cd869275da0bec0abda0a6b9c81cc8a652e8f2604d4d7e057a643d8c3ea213c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:28:06.190Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-10-30T07:28:06.200Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-10-30T07:28:06.480Z] + set -o pipefail [2024-10-30T07:28:06.481Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-10-30T07:28:13.054Z] [2024-10-30T07:28:13.054Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-10-30T07:28:13.054Z] [2024-10-30T07:28:13.054Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/e3efadd6-5141-4d7a-8413-1b5d1f7f5938 [2024-10-30T07:28:13.054Z] [2024-10-30T07:28:13.054Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-10-30T07:28:13.054Z] [Pipeline] } [2024-10-30T07:28:13.086Z] $ docker stop --time=1 7cd869275da0bec0abda0a6b9c81cc8a652e8f2604d4d7e057a643d8c3ea213c [2024-10-30T07:28:19.835Z] $ 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 [2024-10-30T07:28:20.708Z] + git log --format=format:%s -1 4864046db187b802f4fd351f9abe59b5b3174726 [Pipeline] sh [2024-10-30T07:28:21.005Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T07:28:21.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:28:21.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:28:21.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:28:21.400Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:28:21.450Z] $ 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 [2024-10-30T07:28:22.018Z] $ docker top d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a -eo pid,comm [2024-10-30T07:28:22.046Z] 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). [2024-10-30T07:28:22.046Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T07:28:22.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:28:22.116Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:28:22.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:28:22.281Z] $ docker exec d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a ssh-agent [2024-10-30T07:28:22.365Z] SSH_AUTH_SOCK=/tmp/ssh-hDvqK8lnJ5Ex/agent.15 [2024-10-30T07:28:22.365Z] SSH_AGENT_PID=21 [2024-10-30T07:28:22.370Z] Running ssh-add (command line suppressed) [2024-10-30T07:28:22.489Z] 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) [2024-10-30T07:28:22.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:28:22.858Z] + git semver tag [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,074 [run_tag] DEBUG tag force:False [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,074 [check_head_tag] DEBUG check head tag [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,077 [execute] INFO git cat-file --batch-check [2024-10-30T07:28:23.120Z] 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=) [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,082 [execute] INFO git cat-file --batch [2024-10-30T07:28:23.120Z] 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=) [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,111 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 [2024-10-30T07:28:23.120Z] 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) [2024-10-30T07:28:23.120Z] 2024-10-30 07:28:23,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:23.120Z] 4.0.0-dev.1 [Pipeline] } [2024-10-30T07:28:23.149Z] $ docker exec --env ******** --env ******** d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a ssh-agent -k [2024-10-30T07:28:23.245Z] unset SSH_AUTH_SOCK; [2024-10-30T07:28:23.246Z] unset SSH_AGENT_PID; [2024-10-30T07:28:23.246Z] echo Agent pid 21 killed; [2024-10-30T07:28:23.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T07:28:23.585Z] + git semver [Pipeline] } [2024-10-30T07:28:23.891Z] $ docker stop --time=1 d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a [2024-10-30T07:28:25.375Z] $ docker rm -f --volumes d4db65a63c04d4d14772a2375f056e5476a8d9552bba24401a7e61f86d79308a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:28:25.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-30T07:28:25.857Z] [2024-10-30T07:28:25.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:28:26.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-30T07:28:26.163Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-10-30T07:28:26.163Z] ab5ef0e58194: Pulling fs layer [2024-10-30T07:28:26.163Z] 9712f1f96733: Pulling fs layer [2024-10-30T07:28:26.163Z] 63f879dbbcfc: Pulling fs layer [2024-10-30T07:28:26.163Z] 0d9ebad4ef96: Pulling fs layer [2024-10-30T07:28:26.163Z] e9a5061849ea: Pulling fs layer [2024-10-30T07:28:26.163Z] d747dcd14b5f: Pulling fs layer [2024-10-30T07:28:26.163Z] 2de7ff778b66: Pulling fs layer [2024-10-30T07:28:26.163Z] e9a5061849ea: Waiting [2024-10-30T07:28:26.163Z] d747dcd14b5f: Waiting [2024-10-30T07:28:26.163Z] 2de7ff778b66: Waiting [2024-10-30T07:28:26.163Z] 0d9ebad4ef96: Waiting [2024-10-30T07:28:26.163Z] 9712f1f96733: Verifying Checksum [2024-10-30T07:28:26.163Z] 9712f1f96733: Download complete [2024-10-30T07:28:26.729Z] 63f879dbbcfc: Verifying Checksum [2024-10-30T07:28:26.729Z] 63f879dbbcfc: Download complete [2024-10-30T07:28:26.729Z] 0d9ebad4ef96: Verifying Checksum [2024-10-30T07:28:26.729Z] 0d9ebad4ef96: Download complete [2024-10-30T07:28:26.729Z] e9a5061849ea: Verifying Checksum [2024-10-30T07:28:26.729Z] e9a5061849ea: Download complete [2024-10-30T07:28:26.729Z] d747dcd14b5f: Download complete [2024-10-30T07:28:26.729Z] 2de7ff778b66: Download complete [2024-10-30T07:28:26.996Z] ab5ef0e58194: Verifying Checksum [2024-10-30T07:28:26.996Z] ab5ef0e58194: Download complete [2024-10-30T07:28:30.276Z] ab5ef0e58194: Pull complete [2024-10-30T07:28:30.276Z] 9712f1f96733: Pull complete [2024-10-30T07:28:30.534Z] 63f879dbbcfc: Pull complete [2024-10-30T07:28:34.766Z] 0d9ebad4ef96: Pull complete [2024-10-30T07:28:34.766Z] e9a5061849ea: Pull complete [2024-10-30T07:28:34.766Z] d747dcd14b5f: Pull complete [2024-10-30T07:28:35.703Z] 2de7ff778b66: Pull complete [2024-10-30T07:28:35.703Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-10-30T07:28:35.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-30T07:28:35.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:28:35.819Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:28:35.870Z] $ 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 [2024-10-30T07:28:43.571Z] $ docker top 07410424c16adc859b82a8b8545fccdc77c982275619c025b1e43f6bf129088b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:28:43.644Z] provisioning config files... [2024-10-30T07:28:43.650Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5883555857864167051tmp [2024-10-30T07:28:43.660Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3566008268178056485tmp [2024-10-30T07:28:43.668Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6177630173742359332tmp [Pipeline] { [Pipeline] echo [2024-10-30T07:28:43.769Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:28:44.066Z] ---> sigul-configuration.sh [2024-10-30T07:28:44.066Z] gpg: directory `/root/.gnupg' created [2024-10-30T07:28:44.066Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-10-30T07:28:44.066Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-10-30T07:28:44.066Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-10-30T07:28:44.066Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-10-30T07:28:44.066Z] gpg: CAST5 encrypted data [2024-10-30T07:28:44.066Z] gpg: encrypted with 1 passphrase [2024-10-30T07:28:44.066Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-10-30T07:28:44.363Z] + mkdir /home/jenkins [2024-10-30T07:28:44.363Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-10-30T07:28:44.658Z] + 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 [2024-10-30T07:28:44.672Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:28:44.969Z] ---> sigul-install.sh [2024-10-30T07:28:44.969Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-10-30T07:28:45.263Z] + git tag --list [2024-10-30T07:28:45.263Z] v1.0.0 [2024-10-30T07:28:45.264Z] v1.1.0 [2024-10-30T07:28:45.264Z] v1.1.1 [2024-10-30T07:28:45.264Z] v1.1.2 [2024-10-30T07:28:45.264Z] v1.2.0 [2024-10-30T07:28:45.264Z] v1.2.1 [2024-10-30T07:28:45.264Z] v2.0.0 [2024-10-30T07:28:45.264Z] v2.1.0 [2024-10-30T07:28:45.264Z] v2.1.1 [2024-10-30T07:28:45.264Z] v2.2.0 [2024-10-30T07:28:45.264Z] v2.3.0 [2024-10-30T07:28:45.264Z] v3.0 [2024-10-30T07:28:45.264Z] v3.0.0 [2024-10-30T07:28:45.264Z] v3.1 [2024-10-30T07:28:45.264Z] v3.1.0 [2024-10-30T07:28:45.264Z] v3.1.0-dev.1 [2024-10-30T07:28:45.264Z] v3.1.0-dev.10 [2024-10-30T07:28:45.264Z] v3.1.0-dev.11 [2024-10-30T07:28:45.264Z] v3.1.0-dev.12 [2024-10-30T07:28:45.264Z] v3.1.0-dev.13 [2024-10-30T07:28:45.264Z] v3.1.0-dev.14 [2024-10-30T07:28:45.264Z] v3.1.0-dev.15 [2024-10-30T07:28:45.264Z] v3.1.0-dev.16 [2024-10-30T07:28:45.264Z] v3.1.0-dev.17 [2024-10-30T07:28:45.264Z] v3.1.0-dev.18 [2024-10-30T07:28:45.264Z] v3.1.0-dev.19 [2024-10-30T07:28:45.264Z] v3.1.0-dev.2 [2024-10-30T07:28:45.264Z] v3.1.0-dev.20 [2024-10-30T07:28:45.264Z] v3.1.0-dev.21 [2024-10-30T07:28:45.264Z] v3.1.0-dev.22 [2024-10-30T07:28:45.264Z] v3.1.0-dev.23 [2024-10-30T07:28:45.264Z] v3.1.0-dev.24 [2024-10-30T07:28:45.264Z] v3.1.0-dev.25 [2024-10-30T07:28:45.264Z] v3.1.0-dev.26 [2024-10-30T07:28:45.264Z] v3.1.0-dev.27 [2024-10-30T07:28:45.264Z] v3.1.0-dev.28 [2024-10-30T07:28:45.264Z] v3.1.0-dev.29 [2024-10-30T07:28:45.264Z] v3.1.0-dev.3 [2024-10-30T07:28:45.264Z] v3.1.0-dev.30 [2024-10-30T07:28:45.264Z] v3.1.0-dev.31 [2024-10-30T07:28:45.264Z] v3.1.0-dev.32 [2024-10-30T07:28:45.264Z] v3.1.0-dev.4 [2024-10-30T07:28:45.264Z] v3.1.0-dev.5 [2024-10-30T07:28:45.264Z] v3.1.0-dev.6 [2024-10-30T07:28:45.264Z] v3.1.0-dev.7 [2024-10-30T07:28:45.264Z] v3.1.0-dev.8 [2024-10-30T07:28:45.264Z] v3.1.0-dev.9 [2024-10-30T07:28:45.264Z] v3.1.1 [2024-10-30T07:28:45.264Z] v3.2.0-dev.1 [2024-10-30T07:28:45.264Z] v3.2.0-dev.10 [2024-10-30T07:28:45.264Z] v3.2.0-dev.11 [2024-10-30T07:28:45.264Z] v3.2.0-dev.12 [2024-10-30T07:28:45.264Z] v3.2.0-dev.13 [2024-10-30T07:28:45.264Z] v3.2.0-dev.14 [2024-10-30T07:28:45.264Z] v3.2.0-dev.15 [2024-10-30T07:28:45.264Z] v3.2.0-dev.16 [2024-10-30T07:28:45.264Z] v3.2.0-dev.17 [2024-10-30T07:28:45.264Z] v3.2.0-dev.18 [2024-10-30T07:28:45.264Z] v3.2.0-dev.19 [2024-10-30T07:28:45.264Z] v3.2.0-dev.2 [2024-10-30T07:28:45.264Z] v3.2.0-dev.20 [2024-10-30T07:28:45.264Z] v3.2.0-dev.21 [2024-10-30T07:28:45.264Z] v3.2.0-dev.22 [2024-10-30T07:28:45.264Z] v3.2.0-dev.23 [2024-10-30T07:28:45.264Z] v3.2.0-dev.24 [2024-10-30T07:28:45.264Z] v3.2.0-dev.25 [2024-10-30T07:28:45.264Z] v3.2.0-dev.3 [2024-10-30T07:28:45.264Z] v3.2.0-dev.4 [2024-10-30T07:28:45.264Z] v3.2.0-dev.5 [2024-10-30T07:28:45.264Z] v3.2.0-dev.6 [2024-10-30T07:28:45.264Z] v3.2.0-dev.7 [2024-10-30T07:28:45.264Z] v3.2.0-dev.8 [2024-10-30T07:28:45.264Z] v3.2.0-dev.9 [2024-10-30T07:28:45.264Z] v4.0.0-dev.1 [Pipeline] sh [2024-10-30T07:28:45.563Z] + lftools sign git-tag v4.0.0-dev.1 [2024-10-30T07:28:46.177Z] Signing Git tag with Sigul... [2024-10-30T07:28:46.177Z] Signing v4.0.0-dev.1 [Pipeline] echo [2024-10-30T07:28:46.450Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:28:46.744Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-10-30T07:28:46.752Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-10-30T07:28:46.798Z] $ docker stop --time=1 07410424c16adc859b82a8b8545fccdc77c982275619c025b1e43f6bf129088b [2024-10-30T07:28:48.319Z] $ 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 [2024-10-30T07:28:48.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T07:28:48.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:28:49.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:28:49.055Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:28:49.141Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:28:49.197Z] $ 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 [2024-10-30T07:28:49.573Z] $ docker top 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a -eo pid,comm [2024-10-30T07:28:49.605Z] 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). [2024-10-30T07:28:49.605Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T07:28:49.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:28:49.654Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:28:49.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:28:49.787Z] $ docker exec 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a ssh-agent [2024-10-30T07:28:49.882Z] SSH_AUTH_SOCK=/tmp/ssh-hXD1CnxWkhZs/agent.32 [2024-10-30T07:28:49.882Z] SSH_AGENT_PID=38 [2024-10-30T07:28:49.886Z] Running ssh-add (command line suppressed) [2024-10-30T07:28:50.004Z] 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) [2024-10-30T07:28:49.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:28:50.291Z] + git semver bump pre [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,486 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,486 [bump_version] DEBUG bumped version:4.0.0-dev.2 [2024-10-30T07:28:50.552Z] 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 [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,487 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,488 [execute] INFO git cat-file --batch-check [2024-10-30T07:28:50.552Z] 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=) [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,494 [execute] INFO git cat-file --batch [2024-10-30T07:28:50.552Z] 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=) [2024-10-30T07:28:50.552Z] 2024-10-30 07:28:50,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:50.552Z] 4.0.0-dev.2 [Pipeline] } [2024-10-30T07:28:50.580Z] $ docker exec --env ******** --env ******** 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a ssh-agent -k [2024-10-30T07:28:50.684Z] unset SSH_AUTH_SOCK; [2024-10-30T07:28:50.684Z] unset SSH_AGENT_PID; [2024-10-30T07:28:50.684Z] echo Agent pid 38 killed; [2024-10-30T07:28:50.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T07:28:51.000Z] + git semver [Pipeline] } [2024-10-30T07:28:51.292Z] $ docker stop --time=1 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a [2024-10-30T07:28:52.609Z] $ docker rm -f --volumes 13eb645fa9b31a41e862b44eb4b1e9346ff82d4950026e9df0458485a6b2690a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:28:52.947Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T07:28:52.947Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:28:53.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:28:53.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:28:53.464Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:28:53.513Z] $ 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 [2024-10-30T07:28:54.736Z] $ docker top ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 -eo pid,comm [2024-10-30T07:28:54.768Z] 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). [2024-10-30T07:28:54.768Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T07:28:54.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:28:54.835Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:28:54.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:28:54.983Z] $ docker exec ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 ssh-agent [2024-10-30T07:28:55.071Z] SSH_AUTH_SOCK=/tmp/ssh-5btqHsk9upal/agent.33 [2024-10-30T07:28:55.071Z] SSH_AGENT_PID=39 [2024-10-30T07:28:55.075Z] Running ssh-add (command line suppressed) [2024-10-30T07:28:55.194Z] 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) [2024-10-30T07:28:55.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:28:55.493Z] + git semver push [2024-10-30T07:28:55.752Z] 2024-10-30 07:28:55,676 [run_push] DEBUG push [2024-10-30T07:28:55.752Z] 2024-10-30 07:28:55,677 [execute] INFO git cat-file --batch-check [2024-10-30T07:28:55.752Z] 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=) [2024-10-30T07:28:55.752Z] 2024-10-30 07:28:55,681 [execute] INFO git rev-list 81b37042984900994d71a363f11263add57b3471 -- [2024-10-30T07:28:55.752Z] 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) [2024-10-30T07:28:55.752Z] 2024-10-30 07:28:55,692 [execute] INFO git fetch -v origin [2024-10-30T07:28:55.752Z] 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) [2024-10-30T07:28:56.319Z] 2024-10-30 07:28:56,152 [run_push] DEBUG no remote changes detected [2024-10-30T07:28:56.319Z] 2024-10-30 07:28:56,153 [execute] INFO git push origin semver [2024-10-30T07:28:56.319Z] 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) [2024-10-30T07:28:56.887Z] 2024-10-30 07:28:56,821 [run_push] DEBUG push all version tags [2024-10-30T07:28:56.887Z] 2024-10-30 07:28:56,822 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-10-30T07:28:56.887Z] 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) [2024-10-30T07:28:57.825Z] 2024-10-30 07:28:57,507 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-10-30T07:28:57.825Z] 4.0.0-dev.2 [Pipeline] } [2024-10-30T07:28:57.853Z] $ docker exec --env ******** --env ******** ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 ssh-agent -k [2024-10-30T07:28:57.947Z] unset SSH_AUTH_SOCK; [2024-10-30T07:28:57.947Z] unset SSH_AGENT_PID; [2024-10-30T07:28:57.947Z] echo Agent pid 39 killed; [2024-10-30T07:28:57.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T07:28:58.258Z] + git semver [Pipeline] } [2024-10-30T07:28:58.548Z] $ docker stop --time=1 ef7ecf765a2cd3a43a9cee980a8375ad801046aaf5a8f6bc7a774f117d2e4256 [2024-10-30T07:28:59.868Z] $ 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 [2024-10-30T07:29:00.494Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-10-30T07:29:00.494Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-10-30T07:29:00.494Z] total 16 [2024-10-30T07:29:00.494Z] drwxr-xr-x 3 root root 4096 Oct 30 07:15 . [2024-10-30T07:29:00.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 07:28 .. [2024-10-30T07:29:00.494Z] drwxr-xr-x 2 root root 4096 Oct 30 07:15 cost [2024-10-30T07:29:00.494Z] -rw-r--r-- 1 root root 86 Oct 30 07:15 cost.csv [2024-10-30T07:29:00.494Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-10-30T07:29:00.494Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-10-30T07:29:00.494Z] total 16 [2024-10-30T07:29:00.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:15 . [2024-10-30T07:29:00.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 07:28 .. [2024-10-30T07:29:00.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 07:15 cost [2024-10-30T07:29:00.494Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 30 07:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:00.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:01.656Z] ---> package-listing.sh [2024-10-30T07:29:01.656Z] ++ facter osfamily [2024-10-30T07:29:01.656Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T07:29:01.915Z] + OS_FAMILY=debian [2024-10-30T07:29:01.916Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-10-30T07:29:01.916Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T07:29:01.916Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T07:29:01.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T07:29:01.916Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T07:29:01.916Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-10-30T07:29:01.916Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T07:29:01.916Z] + case "${OS_FAMILY}" in [2024-10-30T07:29:01.916Z] + dpkg -l [2024-10-30T07:29:01.916Z] + grep '^ii' [2024-10-30T07:29:01.916Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T07:29:01.916Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T07:29:01.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T07:29:01.916Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-10-30T07:29:01.916Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-10-30T07:29:01.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2024-10-30T07:29:01.930Z] 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 [2024-10-30T07:29:02.209Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:29:02.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:29:02.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:29:02.874Z] prd-ubuntu20.04-docker-8c-8g-24109 does not seem to be running inside a container [2024-10-30T07:29:02.924Z] $ 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 [2024-10-30T07:29:03.153Z] $ docker top 15ceac17db6fd5bb6da616e8a89cd0464c6fc0449f7acb7b8a8a662c79733d96 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:29:03.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T07:29:03.780Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T07:29:04.070Z] + ls /var/log/sa-host [2024-10-30T07:29:04.071Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:29:04.163Z] provisioning config files... [2024-10-30T07:29:04.173Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config145583442444615536tmp [Pipeline] { [Pipeline] echo [2024-10-30T07:29:04.190Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:04.478Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T07:29:04.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:04.828Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T07:29:04.838Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:05.119Z] ---> sudo-logs.sh [2024-10-30T07:29:05.119Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T07:29:05.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:05.438Z] ---> job-cost.sh [2024-10-30T07:29:05.438Z] lf-activate-venv: SKIPPING [2024-10-30T07:29:05.438Z] DEBUG: total: 0.2199999988079071 [2024-10-30T07:29:05.438Z] INFO: Retrieving Stack Cost... [2024-10-30T07:29:06.005Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T07:29:06.264Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T07:29:06.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:29:06.569Z] ---> logs-deploy.sh [2024-10-30T07:29:06.569Z] lf-activate-venv: SKIPPING [2024-10-30T07:29:06.569Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/178 [2024-10-30T07:29:06.569Z] INFO: archiving workspace using pattern(s): [2024-10-30T07:29:07.505Z] Archives upload complete. [2024-10-30T07:29:07.767Z] INFO: archiving logs to Nexus