Pull request #425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-rest-go Obtained Jenkinsfile from dd312d7895d78ddde02460bf9b2f8b08e075ec68+d405a4f26b456a8be44145d93bfbd9a91d93e9fc (3722ce91b8fc5e5b5e6144fc9f59aa4f476eab64) 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-ssh1771292291701480971.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-ssh744853778334374951.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2121984178535283378.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1686924069450162348.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1440070709629396832.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7494153053445808478.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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 ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24732’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24742’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-24741’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24745 in /w/workspace/gexfoundry_device-rest-go_PR-425 [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/gexfoundry_device-rest-go_PR-425 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit dd312d7895d78ddde02460bf9b2f8b08e075ec68 Merge succeeded, producing dd312d7895d78ddde02460bf9b2f8b08e075ec68 Checking out Revision dd312d7895d78ddde02460bf9b2f8b08e075ec68 (PR-425) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:21:34.613Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:21:34.852Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:21:34.982Z] ========================================================= [2024-11-07T09:21:34.983Z] EdgeX Global Pipelines Version Info [2024-11-07T09:21:34.983Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:21:35.792Z] ------------------- [2024-11-07T09:21:35.792Z] stable info: [2024-11-07T09:21:35.792Z] ------------------- [2024-11-07T09:21:35.792Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:21:35.792Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:21:35.792Z] Message: update stable to v1.0.265 [2024-11-07T09:21:36.361Z] ------------------- [2024-11-07T09:21:36.361Z] experimental info: [2024-11-07T09:21:36.361Z] ------------------- [2024-11-07T09:21:36.361Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:21:36.361Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:21:36.361Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:21:36.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-11-07T09:21:36.648Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-11-07T09:21:36.707Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:21:36.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:21:36.812Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:21:36.871Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:21:36.931Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:21:36.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:21:37.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:21:37.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:21:37.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:21:37.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-11-07T09:21:37.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:21:37.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:21:37.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:21:37.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:21:37.522Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:21:37.579Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:21:37.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:21:37.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:21:37.799Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-07T09:21:37.862Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-07T09:21:37.919Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:21:37.983Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:21:38.048Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:21:38.109Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:21:38.167Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:21:38.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-425 [Pipeline] echo [2024-11-07T09:21:38.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-425 [Pipeline] echo [2024-11-07T09:21:38.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-425 [Pipeline] echo [2024-11-07T09:21:38.404Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo [2024-11-07T09:21:38.459Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd312d7 [Pipeline] echo [2024-11-07T09:21:38.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:21:38.656Z] provisioning config files... [2024-11-07T09:21:38.671Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config9433253752489881867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:21:39.069Z] ---> ****-login.sh [2024-11-07T09:21:39.069Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:21:39.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:39.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:39.329Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:39.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:39.329Z] [2024-11-07T09:21:39.329Z] Login Succeeded [2024-11-07T09:21:39.329Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:21:39.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:39.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:39.330Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:39.330Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:39.330Z] [2024-11-07T09:21:39.330Z] Login Succeeded [2024-11-07T09:21:39.330Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:21:39.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:39.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:39.589Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:39.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:39.589Z] [2024-11-07T09:21:39.589Z] Login Succeeded [2024-11-07T09:21:39.589Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:21:39.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:39.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:39.589Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:39.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:39.589Z] [2024-11-07T09:21:39.589Z] Login Succeeded [2024-11-07T09:21:39.589Z] ****.io [2024-11-07T09:21:39.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:39.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:39.849Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:39.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:39.850Z] [2024-11-07T09:21:39.850Z] Login Succeeded [2024-11-07T09:21:39.850Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:21:39.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:21:40.563Z] + git rev-list -1 --merges dd312d7895d78ddde02460bf9b2f8b08e075ec68~1..dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo [2024-11-07T09:21:40.611Z] -----------> git rev-list -1 --merges dd312d7895d78ddde02460bf9b2f8b08e075ec68~1..dd312d7895d78ddde02460bf9b2f8b08e075ec68 dd312d7895d78ddde02460bf9b2f8b08e075ec68 [false] [Pipeline] sh [2024-11-07T09:21:40.933Z] + git log --format=format:%s -1 dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo [2024-11-07T09:21:40.977Z] ========================================================= [2024-11-07T09:21:40.977Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:21:40.977Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:21:41.440Z] + git log --format=format:%s -1 dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] echo [2024-11-07T09:21:41.478Z] [semverPrep] GIT_COMMIT: dd312d7895d78ddde02460bf9b2f8b08e075ec68, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:21:41.519Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:21:41.915Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:21:41.915Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:21:41.915Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:21:41.915Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:21:41.915Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:21:41.915Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:21:41.915Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:21:42.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:21:42.361Z] [2024-11-07T09:21:42.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:21:42.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:21:42.757Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:21:42.757Z] b85a868b505f: Pulling fs layer [2024-11-07T09:21:42.757Z] e2be974225ed: Pulling fs layer [2024-11-07T09:21:42.757Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:21:42.757Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:21:42.757Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:21:42.757Z] eaf3925da568: Pulling fs layer [2024-11-07T09:21:42.757Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:21:42.757Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:21:42.757Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:21:42.757Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:21:42.757Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:21:42.757Z] bab4dde63d76: Waiting [2024-11-07T09:21:42.757Z] 1469e6f7b9e6: Waiting [2024-11-07T09:21:42.757Z] 4872d77fe225: Waiting [2024-11-07T09:21:42.757Z] 988bab9f4d93: Waiting [2024-11-07T09:21:42.757Z] 5851b861e8e6: Waiting [2024-11-07T09:21:42.757Z] b352a97aabf1: Waiting [2024-11-07T09:21:42.757Z] e2be974225ed: Download complete [2024-11-07T09:21:42.757Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:21:42.757Z] 988bab9f4d93: Download complete [2024-11-07T09:21:43.018Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:21:43.018Z] 1469e6f7b9e6: Download complete [2024-11-07T09:21:43.018Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:21:43.018Z] 339a4e72a1f5: Download complete [2024-11-07T09:21:43.018Z] eaf3925da568: Download complete [2024-11-07T09:21:43.018Z] bde34c3a00c8: Verifying Checksum [2024-11-07T09:21:43.018Z] bde34c3a00c8: Download complete [2024-11-07T09:21:43.018Z] b352a97aabf1: Verifying Checksum [2024-11-07T09:21:43.018Z] b352a97aabf1: Download complete [2024-11-07T09:21:43.018Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:21:43.018Z] 4872d77fe225: Download complete [2024-11-07T09:21:43.018Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:21:43.018Z] 5851b861e8e6: Download complete [2024-11-07T09:21:43.018Z] b85a868b505f: Verifying Checksum [2024-11-07T09:21:43.018Z] b85a868b505f: Download complete [2024-11-07T09:21:43.277Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:21:43.277Z] bab4dde63d76: Download complete [2024-11-07T09:21:44.651Z] b85a868b505f: Pull complete [2024-11-07T09:21:44.651Z] e2be974225ed: Pull complete [2024-11-07T09:21:44.910Z] 339a4e72a1f5: Pull complete [2024-11-07T09:21:45.173Z] 988bab9f4d93: Pull complete [2024-11-07T09:21:45.437Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:21:45.437Z] eaf3925da568: Pull complete [2024-11-07T09:21:47.343Z] bab4dde63d76: Pull complete [2024-11-07T09:21:47.343Z] bde34c3a00c8: Pull complete [2024-11-07T09:21:47.343Z] b352a97aabf1: Pull complete [2024-11-07T09:21:47.343Z] 4872d77fe225: Pull complete [2024-11-07T09:21:47.603Z] 5851b861e8e6: Pull complete [2024-11-07T09:21:47.603Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:21:47.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:21:47.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:21:47.885Z] prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container [2024-11-07T09:21:47.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-07T09:21:50.940Z] $ docker top 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 -eo pid,comm [2024-11-07T09:21:50.997Z] 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-11-07T09:21:50.997Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:21:51.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:21:51.174Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:21:51.287Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:21:51.290Z] $ docker exec 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent [2024-11-07T09:21:51.401Z] SSH_AUTH_SOCK=/tmp/ssh-R7zyD36fC4b5/agent.31 [2024-11-07T09:21:51.401Z] SSH_AGENT_PID=37 [2024-11-07T09:21:51.408Z] Running ssh-add (command line suppressed) [2024-11-07T09:21:51.511Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_13273067177901898191.key (/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_13273067177901898191.key) [2024-11-07T09:21:51.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:21:51.871Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:21:51.894Z] $ docker exec --env ******** --env ******** 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent -k [2024-11-07T09:21:51.987Z] unset SSH_AUTH_SOCK; [2024-11-07T09:21:51.988Z] unset SSH_AGENT_PID; [2024-11-07T09:21:51.988Z] echo Agent pid 37 killed; [2024-11-07T09:21:51.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:21:52.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:21:52.111Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:21:52.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:21:52.237Z] $ docker exec 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent [2024-11-07T09:21:52.369Z] SSH_AUTH_SOCK=/tmp/ssh-GhPxaz5TgI4Q/agent.70 [2024-11-07T09:21:52.369Z] SSH_AGENT_PID=76 [2024-11-07T09:21:52.374Z] Running ssh-add (command line suppressed) [2024-11-07T09:21:52.482Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_7346867029625499992.key (/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/private_key_7346867029625499992.key) [2024-11-07T09:21:52.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:21:52.842Z] + git semver init [2024-11-07T09:21:53.102Z] 2024-11-07 09:21:53,025 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:21:53.102Z] 2024-11-07 09:21:53,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-425/.semver [2024-11-07T09:21:53.102Z] 2024-11-07 09:21:53,027 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-425/.semver [2024-11-07T09:21:53.102Z] 2024-11-07 09:21:53,027 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-425/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-425, universal_newlines=False, shell=None, istream=None) [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,385 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-425/.git/info/exclude [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,385 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-425/.semver/PR-425 with force:False [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,385 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-425/.semver/PR-425 [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,389 [execute] INFO git cat-file --batch-check [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,396 [execute] INFO git cat-file --batch [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:21:54.487Z] 2024-11-07 09:21:54,400 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-425/.semver/PR-425 [2024-11-07T09:21:54.487Z] 0.0.0 [Pipeline] } [2024-11-07T09:21:54.514Z] $ docker exec --env ******** --env ******** 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 ssh-agent -k [2024-11-07T09:21:54.604Z] unset SSH_AUTH_SOCK; [2024-11-07T09:21:54.607Z] unset SSH_AGENT_PID; [2024-11-07T09:21:54.607Z] echo Agent pid 76 killed; [2024-11-07T09:21:54.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:21:55.093Z] + git semver [Pipeline] } [2024-11-07T09:21:55.384Z] $ docker stop --time=1 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 [2024-11-07T09:21:56.703Z] $ docker rm -f --volumes 233792c86ddc5d55cfda7266a0334a45c22b29036460d8e511084471886987e6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:21:57.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:21:57.454Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:21:57.481Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-11-07T09:21:58.208Z] provisioning config files... [2024-11-07T09:21:58.219Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config14972356659796798686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:21:58.586Z] ---> ****-login.sh [2024-11-07T09:21:58.586Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:21:58.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:58.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:58.586Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:58.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:58.586Z] [2024-11-07T09:21:58.586Z] Login Succeeded [2024-11-07T09:21:58.586Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:21:58.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:58.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:58.587Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:58.587Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:58.587Z] [2024-11-07T09:21:58.587Z] Login Succeeded [2024-11-07T09:21:58.587Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:21:58.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:58.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:58.844Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:58.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:58.845Z] [2024-11-07T09:21:58.845Z] Login Succeeded [2024-11-07T09:21:58.845Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:21:58.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:58.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:58.845Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:58.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:58.845Z] [2024-11-07T09:21:58.845Z] Login Succeeded [2024-11-07T09:21:58.845Z] ****.io [2024-11-07T09:21:59.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:21:59.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:21:59.104Z] Configure a credential helper to remove this warning. See [2024-11-07T09:21:59.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:21:59.104Z] [2024-11-07T09:21:59.104Z] Login Succeeded [2024-11-07T09:21:59.104Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:21:59.143Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:21:59.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:21:59.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:21:59.465Z] ========================================================= [2024-11-07T09:21:59.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:21:59.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:22:00.006Z] + 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-11-07T09:22:00.006Z] Sending build context to Docker daemon 16.64MB [2024-11-07T09:22:00.006Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:22:00.006Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:22:00.006Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:22:00.006Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:22:00.006Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:22:00.006Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:22:00.006Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:22:00.006Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:22:00.006Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:22:00.006Z] 5c3c966382ef: Waiting [2024-11-07T09:22:00.006Z] 4f4fb700ef54: Waiting [2024-11-07T09:22:00.006Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:22:00.006Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:22:00.006Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:22:00.006Z] f49a43e4bbc0: Waiting [2024-11-07T09:22:00.006Z] 561ebcabdf7f: Waiting [2024-11-07T09:22:00.006Z] 5d5c8e513c77: Waiting [2024-11-07T09:22:00.006Z] 9f66e0745190: Waiting [2024-11-07T09:22:00.265Z] 4cc291be95ef: Verifying Checksum [2024-11-07T09:22:00.265Z] 4cc291be95ef: Download complete [2024-11-07T09:22:00.265Z] 5c3c966382ef: Verifying Checksum [2024-11-07T09:22:00.265Z] 5c3c966382ef: Download complete [2024-11-07T09:22:00.265Z] 4f4fb700ef54: Download complete [2024-11-07T09:22:00.265Z] 5d5c8e513c77: Verifying Checksum [2024-11-07T09:22:00.265Z] 5d5c8e513c77: Download complete [2024-11-07T09:22:00.265Z] 43c4264eed91: Download complete [2024-11-07T09:22:00.265Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:22:00.265Z] 9f66e0745190: Download complete [2024-11-07T09:22:00.524Z] 43c4264eed91: Pull complete [2024-11-07T09:22:00.524Z] 4cc291be95ef: Pull complete [2024-11-07T09:22:00.524Z] 561ebcabdf7f: Download complete [2024-11-07T09:22:00.782Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:22:00.782Z] 2ac1f1163629: Download complete [2024-11-07T09:22:01.040Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:22:01.040Z] f49a43e4bbc0: Download complete [2024-11-07T09:22:04.322Z] 2ac1f1163629: Pull complete [2024-11-07T09:22:04.322Z] 5c3c966382ef: Pull complete [2024-11-07T09:22:04.322Z] 4f4fb700ef54: Pull complete [2024-11-07T09:22:04.322Z] 5d5c8e513c77: Pull complete [2024-11-07T09:22:04.322Z] 9f66e0745190: Pull complete [2024-11-07T09:22:06.220Z] f49a43e4bbc0: Pull complete [2024-11-07T09:22:06.787Z] 561ebcabdf7f: Pull complete [2024-11-07T09:22:06.787Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:22:06.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:22:06.787Z] ---> 3a752c3f9dda [2024-11-07T09:22:06.787Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:22:11.065Z] ---> Running in 698b003253e9 [2024-11-07T09:22:11.065Z] Removing intermediate container 698b003253e9 [2024-11-07T09:22:11.065Z] ---> e625039243e2 [2024-11-07T09:22:11.065Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:22:11.065Z] ---> Running in e802127ae9b1 [2024-11-07T09:22:11.065Z] Removing intermediate container e802127ae9b1 [2024-11-07T09:22:11.065Z] ---> 091a3bfd3c2c [2024-11-07T09:22:11.065Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:22:11.065Z] ---> Running in 279767492f2b [2024-11-07T09:22:11.065Z] Removing intermediate container 279767492f2b [2024-11-07T09:22:11.065Z] ---> dd49ba2d1003 [2024-11-07T09:22:11.065Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:22:11.065Z] ---> Running in b3e943e59912 [2024-11-07T09:22:11.324Z] Removing intermediate container b3e943e59912 [2024-11-07T09:22:11.324Z] ---> 10eb5b0d1659 [2024-11-07T09:22:11.324Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:22:11.324Z] ---> Running in 29caabf8a183 [2024-11-07T09:22:11.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:11.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:22:12.151Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:22:12.151Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-07T09:22:12.151Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:22:12.151Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:22:12.151Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:22:12.151Z] OK: 250 MiB in 58 packages [2024-11-07T09:22:12.410Z] Removing intermediate container 29caabf8a183 [2024-11-07T09:22:12.410Z] ---> e368e1dafebc [2024-11-07T09:22:12.410Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-07T09:22:12.670Z] ---> Running in cb275fe4244d [2024-11-07T09:22:12.670Z] Removing intermediate container cb275fe4244d [2024-11-07T09:22:12.670Z] ---> 92ad6e7b1693 [2024-11-07T09:22:12.670Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-07T09:22:12.670Z] ---> 647bd9661846 [2024-11-07T09:22:12.670Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:22:12.670Z] ---> Running in 5d1c18b3c564 [2024-11-07T09:22:12.995Z] Still waiting to schedule task [2024-11-07T09:22:12.995Z] ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:22:12.995Z] ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:22:12.995Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24744’ is offline [2024-11-07T09:22:59.379Z] Removing intermediate container 5d1c18b3c564 [2024-11-07T09:22:59.379Z] ---> 16e753c8ead8 [2024-11-07T09:22:59.379Z] Step 11/12 : COPY . . [2024-11-07T09:22:59.379Z] ---> bd82de58ff0c [2024-11-07T09:22:59.379Z] Step 12/12 : RUN $MAKE [2024-11-07T09:22:59.379Z] ---> Running in 4469a4548b8f [2024-11-07T09:22:59.379Z] noop [2024-11-07T09:22:59.379Z] Removing intermediate container 4469a4548b8f [2024-11-07T09:22:59.379Z] ---> 415bb78646e5 [2024-11-07T09:22:59.379Z] Successfully built 415bb78646e5 [2024-11-07T09:22:59.379Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:22:59.903Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:22:59.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:23:00.096Z] prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container [2024-11-07T09:23:00.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:23:00.437Z] $ docker top 43338b7dee0d44ed89e89054c28038c571e5cef31eee91f0ce01dd05e2a8ee7d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:23:00.849Z] + go version [2024-11-07T09:23:00.849Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:23:00.886Z] $ docker stop --time=1 43338b7dee0d44ed89e89054c28038c571e5cef31eee91f0ce01dd05e2a8ee7d [2024-11-07T09:23:02.156Z] $ docker rm -f --volumes 43338b7dee0d44ed89e89054c28038c571e5cef31eee91f0ce01dd05e2a8ee7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:23:02.991Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:23:02.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:23:03.165Z] prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container [2024-11-07T09:23:03.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:23:03.518Z] $ docker top 9ccd6a63d82b203db9e52f1c3031b5ba2f78e6066cc8a51bbd6c186c96d7f4fa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:23:03.944Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-425 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:23:04.340Z] + make test [2024-11-07T09:23:04.340Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:23:05.716Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-07T09:23:27.644Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-07T09:23:27.644Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2024-11-07T09:23:37.621Z] go vet ./... [2024-11-07T09:23:41.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:23:41.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:23:41.807Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:23:42.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:23:42.146Z] $ docker stop --time=1 9ccd6a63d82b203db9e52f1c3031b5ba2f78e6066cc8a51bbd6c186c96d7f4fa [2024-11-07T09:23:45.875Z] $ docker rm -f --volumes 9ccd6a63d82b203db9e52f1c3031b5ba2f78e6066cc8a51bbd6c186c96d7f4fa [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:23:46.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:23:46.571Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:23:47.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:23:47.614Z] + ls -al . [2024-11-07T09:23:47.614Z] total 244 [2024-11-07T09:23:47.614Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:23 . [2024-11-07T09:23:47.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:21 .. [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 09:21 .dockerignore [2024-11-07T09:23:47.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:23 .git [2024-11-07T09:23:47.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 .github [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 09:21 .gitignore [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:21 .golangci.yml [2024-11-07T09:23:47.614Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:21 .semver [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 7 09:21 Attribution.txt [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 7 09:21 CHANGELOG.md [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 7 09:21 Dockerfile [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:21 GOVERNANCE.md [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 09:21 Jenkinsfile [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:21 LICENSE [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 2606 Nov 7 09:21 Makefile [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 09:21 OWNERS.md [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 09:21 README.md [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:21 VERSION [2024-11-07T09:23:47.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:21 bin [2024-11-07T09:23:47.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 cmd [2024-11-07T09:23:47.614Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 7 09:23 coverage.out [2024-11-07T09:23:47.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:21 driver [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 7 09:21 go.mod [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:21 go.sum [2024-11-07T09:23:47.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:21 openapi [2024-11-07T09:23:47.614Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 09:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:23:48.042Z] + 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=dd312d7895d78ddde02460bf9b2f8b08e075ec68 --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:23:48.042Z] Sending build context to Docker daemon 16.66MB [2024-11-07T09:23:48.042Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:23:48.042Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-07T09:23:48.042Z] ---> 415bb78646e5 [2024-11-07T09:23:48.042Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:23:48.305Z] ---> Running in 824600ab21dc [2024-11-07T09:23:48.305Z] Removing intermediate container 824600ab21dc [2024-11-07T09:23:48.305Z] ---> 8b7de07d007e [2024-11-07T09:23:48.305Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:23:48.564Z] ---> Running in 14243f59c5c7 [2024-11-07T09:23:48.564Z] Removing intermediate container 14243f59c5c7 [2024-11-07T09:23:48.564Z] ---> 2afacfec260c [2024-11-07T09:23:48.564Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:23:48.564Z] ---> Running in d7461ace5b70 [2024-11-07T09:23:48.564Z] Removing intermediate container d7461ace5b70 [2024-11-07T09:23:48.564Z] ---> eb456f650089 [2024-11-07T09:23:48.564Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:23:48.564Z] ---> Running in cc25deceec97 [2024-11-07T09:23:48.564Z] Removing intermediate container cc25deceec97 [2024-11-07T09:23:48.564Z] ---> 34bf05efbcbe [2024-11-07T09:23:48.564Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:23:48.822Z] ---> Running in da57de3ef67f [2024-11-07T09:23:49.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:23:49.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:23:49.647Z] OK: 250 MiB in 58 packages [2024-11-07T09:23:49.908Z] Removing intermediate container da57de3ef67f [2024-11-07T09:23:49.908Z] ---> 9dc28df68702 [2024-11-07T09:23:49.908Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-07T09:23:49.908Z] ---> Running in 365818cf7853 [2024-11-07T09:23:49.908Z] Removing intermediate container 365818cf7853 [2024-11-07T09:23:49.908Z] ---> 5a2a4b153c53 [2024-11-07T09:23:49.908Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-07T09:23:49.908Z] ---> 0eb673bd0b1f [2024-11-07T09:23:49.908Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:23:50.171Z] ---> Running in 82ee0fd379d6 [2024-11-07T09:23:50.737Z] Removing intermediate container 82ee0fd379d6 [2024-11-07T09:23:50.737Z] ---> 31b85310aa02 [2024-11-07T09:23:50.737Z] Step 11/26 : COPY . . [2024-11-07T09:23:51.305Z] ---> bc47219c7ba9 [2024-11-07T09:23:51.305Z] Step 12/26 : RUN $MAKE [2024-11-07T09:23:51.305Z] ---> Running in 08682026c036 [2024-11-07T09:23:51.305Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-07T09:24:23.410Z] Removing intermediate container 08682026c036 [2024-11-07T09:24:23.410Z] ---> 9c91d3eb17a6 [2024-11-07T09:24:23.410Z] Step 13/26 : FROM alpine:3.20 [2024-11-07T09:24:23.410Z] 3.20: Pulling from library/alpine [2024-11-07T09:24:23.410Z] 43c4264eed91: Already exists [2024-11-07T09:24:23.410Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:24:23.410Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:24:23.410Z] ---> 91ef0af61f39 [2024-11-07T09:24:23.410Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:24:23.410Z] ---> Running in ff68084c96e2 [2024-11-07T09:24:23.410Z] Removing intermediate container ff68084c96e2 [2024-11-07T09:24:23.410Z] ---> 8e928b298c67 [2024-11-07T09:24:23.410Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-07T09:24:23.410Z] ---> Running in 5a52c9cf1ef7 [2024-11-07T09:24:23.410Z] Removing intermediate container 5a52c9cf1ef7 [2024-11-07T09:24:23.410Z] ---> e86462cd1198 [2024-11-07T09:24:23.410Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:24:23.410Z] ---> Running in 181e11c651ba [2024-11-07T09:24:23.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.410Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:24:23.410Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:24:23.410Z] OK: 8 MiB in 15 packages [2024-11-07T09:24:23.410Z] Removing intermediate container 181e11c651ba [2024-11-07T09:24:23.410Z] ---> e97766ea55bf [2024-11-07T09:24:23.410Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-07T09:24:23.410Z] ---> Running in 5e62c6323006 [2024-11-07T09:24:23.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.410Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:24:23.410Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:24:23.410Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:24:23.410Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:24:23.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:24:23.669Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:24:23.928Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:24:23.928Z] OK: 8 MiB in 15 packages [2024-11-07T09:24:24.539Z] Removing intermediate container 5e62c6323006 [2024-11-07T09:24:24.539Z] ---> 7dc13be8c877 [2024-11-07T09:24:24.539Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-07T09:24:25.476Z] ---> 7aac31bc6eae [2024-11-07T09:24:25.476Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-07T09:24:25.476Z] ---> b4f54c521742 [2024-11-07T09:24:25.476Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-07T09:24:25.736Z] ---> 5a4771f5e37d [2024-11-07T09:24:25.736Z] Step 21/26 : EXPOSE 59986 [2024-11-07T09:24:25.736Z] ---> Running in 1207797149de [2024-11-07T09:24:25.736Z] Removing intermediate container 1207797149de [2024-11-07T09:24:25.736Z] ---> cb722d1c4f50 [2024-11-07T09:24:25.736Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-07T09:24:25.736Z] ---> Running in 47f47f73c150 [2024-11-07T09:24:25.736Z] Removing intermediate container 47f47f73c150 [2024-11-07T09:24:25.736Z] ---> 2f7c6dd2ae18 [2024-11-07T09:24:25.736Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:24:25.736Z] ---> Running in 4a8ea3ac3526 [2024-11-07T09:24:25.996Z] Removing intermediate container 4a8ea3ac3526 [2024-11-07T09:24:25.996Z] ---> 767c0373dec6 [2024-11-07T09:24:25.996Z] Step 24/26 : LABEL arch=amd64 [2024-11-07T09:24:25.996Z] ---> Running in 49e7d5ef4953 [2024-11-07T09:24:25.996Z] Removing intermediate container 49e7d5ef4953 [2024-11-07T09:24:25.996Z] ---> 03586b13ce55 [2024-11-07T09:24:25.996Z] Step 25/26 : LABEL git_sha=dd312d7895d78ddde02460bf9b2f8b08e075ec68 [2024-11-07T09:24:25.996Z] ---> Running in f10890132941 [2024-11-07T09:24:25.996Z] Removing intermediate container f10890132941 [2024-11-07T09:24:25.996Z] ---> 9734771f3bd6 [2024-11-07T09:24:25.996Z] Step 26/26 : LABEL version=0.0.0 [2024-11-07T09:24:25.996Z] ---> Running in acccdb7752a9 [2024-11-07T09:24:26.256Z] Removing intermediate container acccdb7752a9 [2024-11-07T09:24:26.256Z] ---> f6c4af837674 [2024-11-07T09:24:26.256Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:24:26.256Z] Successfully built f6c4af837674 [2024-11-07T09:24:26.256Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [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-11-07T09:24:27.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:24:27.242Z] [2024-11-07T09:24:27.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:24:27.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:24:27.651Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:24:27.651Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:24:27.651Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:24:27.651Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:24:27.651Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:24:27.651Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:24:27.651Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:24:27.651Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:24:27.651Z] 33b1e0a273af: Waiting [2024-11-07T09:24:27.651Z] 5d3b04190fa2: Waiting [2024-11-07T09:24:27.651Z] 2f39f015ded8: Waiting [2024-11-07T09:24:27.651Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:24:27.651Z] 5c69ac0246d0: Verifying Checksum [2024-11-07T09:24:27.651Z] 5c69ac0246d0: Download complete [2024-11-07T09:24:27.651Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:24:27.651Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:24:27.651Z] 33b1e0a273af: Download complete [2024-11-07T09:24:27.651Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:24:27.651Z] ec43610c2a17: Download complete [2024-11-07T09:24:27.651Z] 5d3b04190fa2: Verifying Checksum [2024-11-07T09:24:27.651Z] 5d3b04190fa2: Download complete [2024-11-07T09:24:27.911Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:24:27.911Z] 5eb5b503b376: Download complete [2024-11-07T09:24:28.475Z] 2f39f015ded8: Verifying Checksum [2024-11-07T09:24:28.475Z] 2f39f015ded8: Download complete [2024-11-07T09:24:29.042Z] 5eb5b503b376: Pull complete [2024-11-07T09:24:29.300Z] 5c69ac0246d0: Pull complete [2024-11-07T09:24:29.558Z] ec43610c2a17: Pull complete [2024-11-07T09:24:29.825Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:24:30.083Z] 33b1e0a273af: Pull complete [2024-11-07T09:24:30.083Z] 5d3b04190fa2: Pull complete [2024-11-07T09:24:34.271Z] 2f39f015ded8: Pull complete [2024-11-07T09:24:34.271Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:24:34.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:24:34.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:24:34.520Z] prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container [2024-11-07T09:24:34.546Z] $ 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/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:24:37.795Z] $ docker top 37c1a8d5f326a54c1682fc3a4e0a2bca39082e6d03db098bf5459edf53f50c8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:24:38.282Z] ---> job-cost.sh [2024-11-07T09:24:38.282Z] lf-activate-venv: SKIPPING [2024-11-07T09:24:38.282Z] INFO: No Stack... [2024-11-07T09:24:38.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:24:38.807Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:24:39.148Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-425/archives/cost.csv [2024-11-07T09:24:39.148Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:24:39.195Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [2024-11-07T09:24:39.204Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] did not exist. Created. [2024-11-07T09:24:39.210Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:24:39.629Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:24:39.692Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:24:39.730Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:24:39.820Z] $ docker stop --time=1 37c1a8d5f326a54c1682fc3a4e0a2bca39082e6d03db098bf5459edf53f50c8f [2024-11-07T09:24:40.968Z] $ docker rm -f --volumes 37c1a8d5f326a54c1682fc3a4e0a2bca39082e6d03db098bf5459edf53f50c8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-07T09:26:25.766Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24747 in /w/workspace/gexfoundry_device-rest-go_PR-425 [Pipeline] { [Pipeline] ws [2024-11-07T09:26:25.843Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:26:26.968Z] The recommended git tool is: git [2024-11-07T09:26:35.297Z] using credential edgex-jenkins-ssh [2024-11-07T09:26:35.322Z] Cloning the remote Git repository [2024-11-07T09:26:35.403Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-11-07T09:26:35.519Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-11-07T09:26:35.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-07T09:26:35.699Z] > git --version # timeout=10 [2024-11-07T09:26:35.724Z] > git --version # 'git version 2.25.1' [2024-11-07T09:26:35.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:26:35.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:26:39.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-07T09:26:39.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:26:41.674Z] Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit dd312d7895d78ddde02460bf9b2f8b08e075ec68 [2024-11-07T09:26:42.125Z] Merge succeeded, producing dd312d7895d78ddde02460bf9b2f8b08e075ec68 [2024-11-07T09:26:42.126Z] Checking out Revision dd312d7895d78ddde02460bf9b2f8b08e075ec68 (PR-425) [2024-11-07T09:26:40.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-07T09:26:40.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-07T09:26:40.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:26:41.040Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-07T09:26:41.703Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:26:41.831Z] > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 [2024-11-07T09:26:41.969Z] > git remote # timeout=10 [2024-11-07T09:26:42.010Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:26:42.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:26:42.068Z] > git merge d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 [2024-11-07T09:26:42.101Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:26:42.132Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:26:42.149Z] > git checkout -f dd312d7895d78ddde02460bf9b2f8b08e075ec68 # timeout=10 [2024-11-07T09:26:45.911Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:26:46.001Z] > git --version # timeout=10 [2024-11-07T09:26:46.029Z] > git --version # 'git version 2.25.1' [2024-11-07T09:26:46.054Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:26:48.698Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:26:48.698Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:26:48.698Z] Dload Upload Total Spent Left Speed [2024-11-07T09:26:48.698Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh [2024-11-07T09:26:49.140Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:26:49.554Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:26:49.554Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:26:49.554Z] { [2024-11-07T09:26:49.554Z] "registry-mirrors": [ [2024-11-07T09:26:49.554Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:26:49.554Z] ], [2024-11-07T09:26:49.554Z] "bip": "10.250.0.254/24", [2024-11-07T09:26:49.554Z] "hosts": [ [2024-11-07T09:26:49.554Z] "tcp://0.0.0.0:5555", [2024-11-07T09:26:49.554Z] "unix:///var/run/docker.sock" [2024-11-07T09:26:49.554Z] ], [2024-11-07T09:26:49.554Z] "mtu": 1458, [2024-11-07T09:26:49.554Z] "selinux-enabled": true, [2024-11-07T09:26:49.554Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:26:49.554Z] } [Pipeline] sh [2024-11-07T09:26:49.969Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:26:50.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:27:09.017Z] provisioning config files... [2024-11-07T09:27:09.082Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10159523061616358033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:27:09.735Z] ---> ****-login.sh [2024-11-07T09:27:09.735Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:27:11.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:27:11.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:27:11.493Z] Configure a credential helper to remove this warning. See [2024-11-07T09:27:11.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:27:11.493Z] [2024-11-07T09:27:11.493Z] Login Succeeded [2024-11-07T09:27:11.493Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:27:11.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:27:12.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:27:12.064Z] Configure a credential helper to remove this warning. See [2024-11-07T09:27:12.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:27:12.064Z] [2024-11-07T09:27:12.064Z] Login Succeeded [2024-11-07T09:27:12.064Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:27:12.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:27:12.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:27:12.639Z] Configure a credential helper to remove this warning. See [2024-11-07T09:27:12.639Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:27:12.639Z] [2024-11-07T09:27:12.639Z] Login Succeeded [2024-11-07T09:27:12.639Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:27:12.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:27:13.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:27:13.210Z] Configure a credential helper to remove this warning. See [2024-11-07T09:27:13.210Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:27:13.210Z] [2024-11-07T09:27:13.210Z] Login Succeeded [2024-11-07T09:27:13.210Z] ****.io [2024-11-07T09:27:13.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:27:13.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:27:13.777Z] Configure a credential helper to remove this warning. See [2024-11-07T09:27:13.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:27:13.777Z] [2024-11-07T09:27:13.777Z] Login Succeeded [2024-11-07T09:27:13.777Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:27:13.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:27:14.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:27:14.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:27:14.703Z] ========================================================= [2024-11-07T09:27:14.703Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:27:14.703Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:27:15.373Z] + 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-11-07T09:27:15.373Z] Sending build context to Docker daemon 140.8kB [2024-11-07T09:27:15.656Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:27:15.656Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:27:15.939Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:27:15.939Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:27:15.939Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:27:15.939Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:27:15.939Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:27:15.939Z] 50b3750afda1: Waiting [2024-11-07T09:27:15.939Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:27:15.939Z] 4f4fb700ef54: Waiting [2024-11-07T09:27:15.939Z] 80978eb59214: Pulling fs layer [2024-11-07T09:27:15.939Z] 80978eb59214: Waiting [2024-11-07T09:27:15.939Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:27:15.939Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:27:15.939Z] c9f46d7d2bd2: Waiting [2024-11-07T09:27:15.939Z] c5a475d317c9: Waiting [2024-11-07T09:27:15.939Z] 55b35a11ae5e: Download complete [2024-11-07T09:27:16.221Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:27:16.221Z] 50b3750afda1: Download complete [2024-11-07T09:27:16.221Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:27:16.221Z] 4f4fb700ef54: Download complete [2024-11-07T09:27:16.221Z] 80978eb59214: Verifying Checksum [2024-11-07T09:27:16.221Z] 80978eb59214: Download complete [2024-11-07T09:27:16.221Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:27:16.221Z] cf04c63912e1: Download complete [2024-11-07T09:27:16.838Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:27:16.838Z] c5a475d317c9: Download complete [2024-11-07T09:27:17.864Z] cf04c63912e1: Pull complete [2024-11-07T09:27:18.472Z] 55b35a11ae5e: Pull complete [2024-11-07T09:27:18.753Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:27:18.753Z] a37a00ec5f00: Download complete [2024-11-07T09:27:19.746Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:27:19.746Z] c9f46d7d2bd2: Download complete [2024-11-07T09:27:34.916Z] a37a00ec5f00: Pull complete [2024-11-07T09:27:35.199Z] 50b3750afda1: Pull complete [2024-11-07T09:27:35.496Z] 4f4fb700ef54: Pull complete [2024-11-07T09:27:36.109Z] 80978eb59214: Pull complete [2024-11-07T09:27:46.256Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:27:47.239Z] c5a475d317c9: Pull complete [2024-11-07T09:27:47.239Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:27:47.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:27:47.511Z] ---> be29e6b0f0d4 [2024-11-07T09:27:47.511Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:27:48.932Z] ---> Running in d0b54dd0ed7f [2024-11-07T09:27:49.202Z] Removing intermediate container d0b54dd0ed7f [2024-11-07T09:27:49.202Z] ---> e3dcd917b0db [2024-11-07T09:27:49.202Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:27:49.202Z] ---> Running in b54d711878e1 [2024-11-07T09:27:49.800Z] Removing intermediate container b54d711878e1 [2024-11-07T09:27:49.800Z] ---> 257488f3d6be [2024-11-07T09:27:49.800Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:27:49.800Z] ---> Running in fa0e79b1a844 [2024-11-07T09:27:50.070Z] Removing intermediate container fa0e79b1a844 [2024-11-07T09:27:50.070Z] ---> 670284fe1658 [2024-11-07T09:27:50.070Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:27:50.346Z] ---> Running in 5a0c46a0e120 [2024-11-07T09:27:50.615Z] Removing intermediate container 5a0c46a0e120 [2024-11-07T09:27:50.615Z] ---> 8aec90eb2db1 [2024-11-07T09:27:50.615Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:27:50.892Z] ---> Running in 52ee87a7d3fc [2024-11-07T09:27:52.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:52.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:54.258Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:27:54.258Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-07T09:27:54.258Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:27:54.258Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:27:54.258Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:27:54.258Z] OK: 242 MiB in 58 packages [2024-11-07T09:27:55.671Z] Removing intermediate container 52ee87a7d3fc [2024-11-07T09:27:55.671Z] ---> 85270e86cecc [2024-11-07T09:27:55.671Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-07T09:27:55.671Z] ---> Running in 6a8c1664d5a1 [2024-11-07T09:27:55.939Z] Removing intermediate container 6a8c1664d5a1 [2024-11-07T09:27:55.939Z] ---> f2e3becf9e4c [2024-11-07T09:27:55.939Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-07T09:27:56.528Z] ---> 883236a7101b [2024-11-07T09:27:56.528Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:27:56.797Z] ---> Running in a3edf4ce5599 [2024-11-07T09:30:03.752Z] Removing intermediate container a3edf4ce5599 [2024-11-07T09:30:03.752Z] ---> fa8e0af30217 [2024-11-07T09:30:03.752Z] Step 11/12 : COPY . . [2024-11-07T09:30:03.752Z] ---> 14827aebdfc4 [2024-11-07T09:30:03.752Z] Step 12/12 : RUN $MAKE [2024-11-07T09:30:03.752Z] ---> Running in 28527b05b8eb [2024-11-07T09:30:03.752Z] noop [2024-11-07T09:30:04.741Z] Removing intermediate container 28527b05b8eb [2024-11-07T09:30:04.741Z] ---> 6c0f0aa3e8c8 [2024-11-07T09:30:04.741Z] Successfully built 6c0f0aa3e8c8 [2024-11-07T09:30:04.741Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:30:05.294Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:30:05.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:30:05.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-24747 does not seem to be running inside a container [2024-11-07T09:30:05.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:30:07.392Z] $ docker top 2bcfb9735d2bcb82b35a8208d9a084aaa47c01b8ee3b9182609994f55611194d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:30:08.450Z] + go version [2024-11-07T09:30:08.450Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:30:08.500Z] $ docker stop --time=1 2bcfb9735d2bcb82b35a8208d9a084aaa47c01b8ee3b9182609994f55611194d [2024-11-07T09:30:10.357Z] $ docker rm -f --volumes 2bcfb9735d2bcb82b35a8208d9a084aaa47c01b8ee3b9182609994f55611194d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:30:11.420Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:30:11.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:30:11.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-24747 does not seem to be running inside a container [2024-11-07T09:30:11.888Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:30:13.530Z] $ docker top cf38782d93aa3d61c50d19d38ea40eec3e9f0242cdb49fd3d35813f6a4a3e143 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:30:14.564Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:30:15.355Z] + make test [2024-11-07T09:30:15.355Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:30:23.666Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-07T09:35:45.973Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-07T09:35:45.973Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements [2024-11-07T09:35:45.973Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:35:45.973Z] go vet ./... [2024-11-07T09:36:43.740Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:36:43.740Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:36:43.740Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:36:43.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:36:43.832Z] $ docker stop --time=1 cf38782d93aa3d61c50d19d38ea40eec3e9f0242cdb49fd3d35813f6a4a3e143 [2024-11-07T09:36:45.999Z] $ docker rm -f --volumes cf38782d93aa3d61c50d19d38ea40eec3e9f0242cdb49fd3d35813f6a4a3e143 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:36:47.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:36:47.947Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:36:48.583Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:36:49.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:36:49.600Z] + ls -al . [2024-11-07T09:36:49.600Z] total 240 [2024-11-07T09:36:49.600Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:30 . [2024-11-07T09:36:49.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:26 .. [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 09:26 .dockerignore [2024-11-07T09:36:49.600Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:26 .git [2024-11-07T09:36:49.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:26 .github [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 09:26 .gitignore [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:26 .golangci.yml [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 7 09:26 Attribution.txt [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 7 09:26 CHANGELOG.md [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 7 09:26 Dockerfile [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:26 GOVERNANCE.md [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 09:26 Jenkinsfile [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:26 LICENSE [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 2606 Nov 7 09:26 Makefile [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 09:26 OWNERS.md [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 09:26 README.md [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:21 VERSION [2024-11-07T09:36:49.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:26 bin [2024-11-07T09:36:49.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:26 cmd [2024-11-07T09:36:49.600Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 7 09:35 coverage.out [2024-11-07T09:36:49.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:26 driver [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 7 09:26 go.mod [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:26 go.sum [2024-11-07T09:36:49.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:26 openapi [2024-11-07T09:36:49.600Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 09:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:36:50.061Z] + 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=dd312d7895d78ddde02460bf9b2f8b08e075ec68 --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:36:50.061Z] Sending build context to Docker daemon 156.2kB [2024-11-07T09:36:50.331Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:36:50.331Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-07T09:36:50.331Z] ---> 6c0f0aa3e8c8 [2024-11-07T09:36:50.331Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:36:50.331Z] ---> Running in b591cb79c70c [2024-11-07T09:36:50.921Z] Removing intermediate container b591cb79c70c [2024-11-07T09:36:50.921Z] ---> e7f11689bbb1 [2024-11-07T09:36:50.921Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:36:50.921Z] ---> Running in 7f36077f4e31 [2024-11-07T09:36:51.189Z] Removing intermediate container 7f36077f4e31 [2024-11-07T09:36:51.189Z] ---> 2aea73ad34f1 [2024-11-07T09:36:51.189Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:36:51.189Z] ---> Running in 03b7331550c5 [2024-11-07T09:36:51.773Z] Removing intermediate container 03b7331550c5 [2024-11-07T09:36:51.773Z] ---> 05347d35574f [2024-11-07T09:36:51.773Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:36:51.773Z] ---> Running in 92c94ed47c4f [2024-11-07T09:36:52.042Z] Removing intermediate container 92c94ed47c4f [2024-11-07T09:36:52.042Z] ---> 60786cade494 [2024-11-07T09:36:52.042Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:36:52.042Z] ---> Running in d00cd19b9155 [2024-11-07T09:36:53.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:36:53.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:36:55.682Z] OK: 242 MiB in 58 packages [2024-11-07T09:36:56.275Z] Removing intermediate container d00cd19b9155 [2024-11-07T09:36:56.275Z] ---> 9e8bb4d45483 [2024-11-07T09:36:56.275Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-07T09:36:56.541Z] ---> Running in 95bef329f1b5 [2024-11-07T09:36:56.810Z] Removing intermediate container 95bef329f1b5 [2024-11-07T09:36:56.810Z] ---> f3f291028bb8 [2024-11-07T09:36:56.810Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-07T09:36:57.394Z] ---> 330bbd4fc476 [2024-11-07T09:36:57.394Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:36:57.394Z] ---> Running in 47b1ec124ec4 [2024-11-07T09:37:00.005Z] Removing intermediate container 47b1ec124ec4 [2024-11-07T09:37:00.005Z] ---> 718f4c8c9f61 [2024-11-07T09:37:00.005Z] Step 11/26 : COPY . . [2024-11-07T09:37:00.599Z] ---> 02cc2e6e3766 [2024-11-07T09:37:00.599Z] Step 12/26 : RUN $MAKE [2024-11-07T09:37:00.872Z] ---> Running in 45daff8c96d7 [2024-11-07T09:37:01.855Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-07T09:41:08.753Z] Removing intermediate container 45daff8c96d7 [2024-11-07T09:41:08.753Z] ---> 96e6c38d2dc4 [2024-11-07T09:41:08.753Z] Step 13/26 : FROM alpine:3.20 [2024-11-07T09:41:09.342Z] 3.20: Pulling from library/alpine [2024-11-07T09:41:09.615Z] cf04c63912e1: Already exists [2024-11-07T09:41:09.615Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:41:09.886Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:41:09.886Z] ---> c157a85ed455 [2024-11-07T09:41:09.886Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:41:09.886Z] ---> Running in bb6f35237cdc [2024-11-07T09:41:10.159Z] Removing intermediate container bb6f35237cdc [2024-11-07T09:41:10.159Z] ---> 0756c154f622 [2024-11-07T09:41:10.159Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-07T09:41:10.437Z] ---> Running in d00494a1d905 [2024-11-07T09:41:10.708Z] Removing intermediate container d00494a1d905 [2024-11-07T09:41:10.708Z] ---> 12b7a26b0568 [2024-11-07T09:41:10.708Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:41:10.992Z] ---> Running in e80d75326e0b [2024-11-07T09:41:11.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:12.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:14.547Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:41:14.547Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:41:14.827Z] OK: 9 MiB in 15 packages [2024-11-07T09:41:15.811Z] Removing intermediate container e80d75326e0b [2024-11-07T09:41:15.811Z] ---> 2ffc0b273cf2 [2024-11-07T09:41:15.811Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-07T09:41:15.811Z] ---> Running in 46c643f15cd9 [2024-11-07T09:41:17.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:17.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:19.486Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:41:19.486Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:41:19.486Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:41:19.755Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:41:19.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:20.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:41:22.293Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:41:22.293Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:41:22.293Z] OK: 9 MiB in 15 packages [2024-11-07T09:41:23.267Z] Removing intermediate container 46c643f15cd9 [2024-11-07T09:41:23.267Z] ---> b26c8e34d669 [2024-11-07T09:41:23.267Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-07T09:41:25.885Z] ---> c8ed773bec74 [2024-11-07T09:41:25.885Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-07T09:41:26.152Z] ---> 0dc9dc951c16 [2024-11-07T09:41:26.152Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-07T09:41:26.735Z] ---> 2c0ccd0ddd1e [2024-11-07T09:41:26.735Z] Step 21/26 : EXPOSE 59986 [2024-11-07T09:41:27.003Z] ---> Running in e866971441b9 [2024-11-07T09:41:27.270Z] Removing intermediate container e866971441b9 [2024-11-07T09:41:27.270Z] ---> 132d0189b853 [2024-11-07T09:41:27.270Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-07T09:41:27.270Z] ---> Running in 85c87d9fc2f3 [2024-11-07T09:41:27.853Z] Removing intermediate container 85c87d9fc2f3 [2024-11-07T09:41:27.853Z] ---> e4b5fa67a5af [2024-11-07T09:41:27.853Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:41:27.853Z] ---> Running in 6dac6fe48f75 [2024-11-07T09:41:28.121Z] Removing intermediate container 6dac6fe48f75 [2024-11-07T09:41:28.121Z] ---> 818f6c8c94df [2024-11-07T09:41:28.121Z] Step 24/26 : LABEL arch=arm64 [2024-11-07T09:41:28.402Z] ---> Running in 9b3937468dc8 [2024-11-07T09:41:28.674Z] Removing intermediate container 9b3937468dc8 [2024-11-07T09:41:28.675Z] ---> f64de1360701 [2024-11-07T09:41:28.675Z] Step 25/26 : LABEL git_sha=dd312d7895d78ddde02460bf9b2f8b08e075ec68 [2024-11-07T09:41:28.675Z] ---> Running in bfbad2b892e8 [2024-11-07T09:41:28.944Z] Removing intermediate container bfbad2b892e8 [2024-11-07T09:41:28.944Z] ---> 0874ff7e805e [2024-11-07T09:41:28.944Z] Step 26/26 : LABEL version=0.0.0 [2024-11-07T09:41:29.214Z] ---> Running in cb04ecbf11b8 [2024-11-07T09:41:29.484Z] Removing intermediate container cb04ecbf11b8 [2024-11-07T09:41:29.484Z] ---> 54c55af9c581 [2024-11-07T09:41:29.484Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:41:29.484Z] Successfully built 54c55af9c581 [2024-11-07T09:41:29.484Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:41:30.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:41:30.430Z] [2024-11-07T09:41:30.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:41:30.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:41:31.251Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:41:31.251Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:41:31.251Z] 04944245beec: Pulling fs layer [2024-11-07T09:41:31.251Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:41:31.251Z] 765212b225bb: Pulling fs layer [2024-11-07T09:41:31.251Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:41:31.251Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:41:31.251Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:41:31.251Z] 765212b225bb: Waiting [2024-11-07T09:41:31.251Z] d65c8cfc05b1: Waiting [2024-11-07T09:41:31.251Z] f23df028b6ca: Waiting [2024-11-07T09:41:31.251Z] 2437ff75d9bd: Waiting [2024-11-07T09:41:31.251Z] 04944245beec: Verifying Checksum [2024-11-07T09:41:31.251Z] 04944245beec: Download complete [2024-11-07T09:41:31.251Z] 765212b225bb: Verifying Checksum [2024-11-07T09:41:31.251Z] 765212b225bb: Download complete [2024-11-07T09:41:31.524Z] f23df028b6ca: Verifying Checksum [2024-11-07T09:41:31.524Z] f23df028b6ca: Download complete [2024-11-07T09:41:31.524Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:41:31.524Z] d65c8cfc05b1: Download complete [2024-11-07T09:41:31.524Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:41:31.524Z] 699f458cf7ca: Download complete [2024-11-07T09:41:32.120Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:41:32.120Z] 8998bd30e6a1: Download complete [2024-11-07T09:41:34.732Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:41:34.732Z] 2437ff75d9bd: Download complete [2024-11-07T09:41:37.345Z] 8998bd30e6a1: Pull complete [2024-11-07T09:41:37.616Z] 04944245beec: Pull complete [2024-11-07T09:41:39.579Z] 699f458cf7ca: Pull complete [2024-11-07T09:41:39.849Z] 765212b225bb: Pull complete [2024-11-07T09:41:40.820Z] f23df028b6ca: Pull complete [2024-11-07T09:41:41.090Z] d65c8cfc05b1: Pull complete [2024-11-07T09:41:59.364Z] 2437ff75d9bd: Pull complete [2024-11-07T09:41:59.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:41:59.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:41:59.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:41:59.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-24747 does not seem to be running inside a container [2024-11-07T09:41:59.851Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:42:03.372Z] $ docker top e08bab57c374c4bdc8151724383f28e5c0120b594613c396db5961ad606d1edd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:04.373Z] ---> job-cost.sh [2024-11-07T09:42:04.654Z] lf-activate-venv: SKIPPING [2024-11-07T09:42:04.654Z] INFO: No Stack... [2024-11-07T09:42:04.939Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:42:05.916Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:42:06.613Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-11-07T09:42:06.613Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:42:06.740Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [2024-11-07T09:42:06.747Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] did not exist. Created. [2024-11-07T09:42:06.753Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:42:07.543Z] /w/workspace/device-rest-go/1@tmp/durable-be67a220/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:42:08.261Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:42:08.309Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:42:08.374Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:42:08.414Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:42:08.509Z] $ docker stop --time=1 e08bab57c374c4bdc8151724383f28e5c0120b594613c396db5961ad606d1edd [2024-11-07T09:42:10.173Z] $ docker rm -f --volumes e08bab57c374c4bdc8151724383f28e5c0120b594613c396db5961ad606d1edd [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-11-07T09:42:11.328Z] provisioning config files... [2024-11-07T09:42:11.340Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config10394964480206607005tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:42:11.709Z] + set +x [2024-11-07T09:42:11.709Z] + curl -s https://codecov.io/bash [2024-11-07T09:42:11.709Z] + bash -s -- [2024-11-07T09:42:11.709Z] [2024-11-07T09:42:11.709Z] _____ _ [2024-11-07T09:42:11.709Z] / ____| | | [2024-11-07T09:42:11.709Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:42:11.709Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:42:11.709Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:42:11.709Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:42:11.709Z] Bash-1.0.6 [2024-11-07T09:42:11.709Z] [2024-11-07T09:42:11.709Z] [2024-11-07T09:42:11.709Z] ==> git version 2.25.1 found [2024-11-07T09:42:11.709Z] ==> 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-11-07T09:42:11.709Z] Release-Date: 2020-01-08 [2024-11-07T09:42:11.709Z] 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-11-07T09:42:11.709Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:42:11.709Z] ==> Jenkins CI detected. [2024-11-07T09:42:11.709Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-425 [2024-11-07T09:42:11.709Z] project root: . [2024-11-07T09:42:11.709Z] --> token set from env [2024-11-07T09:42:11.709Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:42:11.709Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:42:11.709Z] ==> Python coveragepy not found [2024-11-07T09:42:11.709Z] ==> Searching for coverage reports in: [2024-11-07T09:42:11.709Z] + . [2024-11-07T09:42:11.709Z] -> Found 1 reports [2024-11-07T09:42:11.709Z] ==> Detecting git/mercurial file structure [2024-11-07T09:42:11.709Z] ==> Reading reports [2024-11-07T09:42:11.709Z] + ./coverage.out bytes=14565 [2024-11-07T09:42:11.709Z] ==> Appending adjustments [2024-11-07T09:42:11.709Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:42:11.970Z] + Found adjustments [2024-11-07T09:42:11.970Z] ==> Gzipping contents [2024-11-07T09:42:11.970Z] 4.0K /tmp/codecov.x6rbbp.gz [2024-11-07T09:42:11.970Z] ==> Uploading reports [2024-11-07T09:42:11.970Z] url: https://codecov.io [2024-11-07T09:42:11.970Z] query: branch=PR-425&commit=dd312d7895d78ddde02460bf9b2f8b08e075ec68&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=425&job=&cmd_args= [2024-11-07T09:42:11.970Z] -> Pinging Codecov [2024-11-07T09:42:11.971Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-425&commit=dd312d7895d78ddde02460bf9b2f8b08e075ec68&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=425&job=&cmd_args= [2024-11-07T09:42:11.971Z] -> Uploading to [2024-11-07T09:42:11.971Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/dd312d7895d78ddde02460bf9b2f8b08e075ec68/88ef4678-9bf1-4d41-8888-ac226921bf66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T094211Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b68af2ce8e385feed35707f4a603bdb5f627b42455b004ae6dd053f27e80066a [2024-11-07T09:42:11.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:42:11.971Z] Dload Upload Total Spent Left Speed [2024-11-07T09:42:12.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10206 --:--:-- --:--:-- --:--:-- 10251 [2024-11-07T09:42:12.232Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dd312d7895d78ddde02460bf9b2f8b08e075ec68 [Pipeline] } [2024-11-07T09:42:12.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-11-07T09:42:14.421Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-425/archives ] [2024-11-07T09:42:14.421Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-425/archives [2024-11-07T09:42:14.421Z] total 16 [2024-11-07T09:42:14.421Z] drwxr-xr-x 3 root root 4096 Nov 7 09:24 . [2024-11-07T09:42:14.421Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:24 .. [2024-11-07T09:42:14.421Z] drwxr-xr-x 2 root root 4096 Nov 7 09:24 cost [2024-11-07T09:42:14.421Z] -rw-r--r-- 1 root root 86 Nov 7 09:24 cost.csv [2024-11-07T09:42:14.421Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-425/archives [2024-11-07T09:42:14.421Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-425/archives [2024-11-07T09:42:14.421Z] total 16 [2024-11-07T09:42:14.421Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:24 . [2024-11-07T09:42:14.421Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:24 .. [2024-11-07T09:42:14.421Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:24 cost [2024-11-07T09:42:14.421Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 09:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:14.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:15.661Z] ---> package-listing.sh [2024-11-07T09:42:15.661Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:42:15.661Z] ++ facter osfamily [2024-11-07T09:42:15.920Z] + OS_FAMILY=debian [2024-11-07T09:42:15.920Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-425 [2024-11-07T09:42:15.920Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:42:15.920Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:42:15.920Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:42:15.920Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:42:15.920Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-425 ']' [2024-11-07T09:42:15.920Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:42:15.920Z] + case "${OS_FAMILY}" in [2024-11-07T09:42:15.920Z] + dpkg -l [2024-11-07T09:42:15.920Z] + grep '^ii' [2024-11-07T09:42:15.920Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:42:15.920Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:42:15.920Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:42:15.920Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-425 ']' [2024-11-07T09:42:15.920Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-425/archives/ [2024-11-07T09:42:15.920Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-425/archives/ [Pipeline] echo [2024-11-07T09:42:15.972Z] 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/gexfoundry_device-rest-go_PR-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-07T09:42:16.271Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:42:16.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:42:16.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:42:17.092Z] prd-ubuntu20.04-docker-8c-8g-24745 does not seem to be running inside a container [2024-11-07T09:42:17.117Z] $ 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/gexfoundry_device-rest-go_PR-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-425 -v /w/workspace/gexfoundry_device-rest-go_PR-425:/w/workspace/gexfoundry_device-rest-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-425@tmp:/w/workspace/gexfoundry_device-rest-go_PR-425@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:42:17.281Z] $ docker top 30be97cc4ea9f7595c2fdc052c4db24e1074aaf72cbd91c664303476c94645c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:42:17.707Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:42:18.032Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:42:18.344Z] + ls /var/log/sa-host [2024-11-07T09:42:18.344Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:42:18.498Z] provisioning config files... [2024-11-07T09:42:18.506Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-425@tmp/config90761755766859866tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:42:18.567Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:18.896Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:42:18.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:19.358Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:42:19.404Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:19.734Z] ---> sudo-logs.sh [2024-11-07T09:42:19.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:42:19.848Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:20.173Z] ---> job-cost.sh [2024-11-07T09:42:20.173Z] lf-activate-venv: SKIPPING [2024-11-07T09:42:20.173Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:42:20.173Z] INFO: Retrieving Stack Cost... [2024-11-07T09:42:20.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:42:21.005Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:42:21.049Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:42:21.389Z] ---> logs-deploy.sh [2024-11-07T09:42:21.389Z] lf-activate-venv: SKIPPING [2024-11-07T09:42:21.389Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-425/1 [2024-11-07T09:42:21.389Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:42:22.326Z] Archives upload complete. [2024-11-07T09:42:22.326Z] INFO: archiving logs to Nexus [2024-11-07T09:42:22.893Z] ---> uname -a: [2024-11-07T09:42:22.893Z] Linux prd-ubuntu20-04-docker-8c-8g-24745 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-11-07T09:42:22.893Z] [2024-11-07T09:42:22.893Z]