Pull request #424 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75b5407f82ae978852c7aa1e7ca30deba2e02a81+d405a4f26b456a8be44145d93bfbd9a91d93e9fc (05260ffbefae6fd83dfb0b5d937c6715d77df7d2) 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-ssh9668234376037085290.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-ssh17384467970918394609.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-424/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-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10244742235933949561.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-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14582224994520988451.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-ssh5281350054680693236.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-424/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-424/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1238421744970787662.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24358 in /w/workspace/gexfoundry_device-rest-go_PR-424 [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-424 # 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 > 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/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit 75b5407f82ae978852c7aa1e7ca30deba2e02a81 Merge succeeded, producing 75b5407f82ae978852c7aa1e7ca30deba2e02a81 Checking out Revision 75b5407f82ae978852c7aa1e7ca30deba2e02a81 (PR-424) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # 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 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-01T20:42:36.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-01T20:42:36.866Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-01T20:42:36.991Z] ========================================================= [2024-11-01T20:42:36.991Z] EdgeX Global Pipelines Version Info [2024-11-01T20:42:36.991Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:42:37.764Z] ------------------- [2024-11-01T20:42:37.764Z] stable info: [2024-11-01T20:42:37.764Z] ------------------- [2024-11-01T20:42:37.764Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-01T20:42:37.764Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T20:42:37.764Z] Message: update stable to v1.0.265 [2024-11-01T20:42:38.337Z] ------------------- [2024-11-01T20:42:38.337Z] experimental info: [2024-11-01T20:42:38.337Z] ------------------- [2024-11-01T20:42:38.337Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-01T20:42:38.337Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-01T20:42:38.337Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-01T20:42:38.560Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-11-01T20:42:38.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-11-01T20:42:38.657Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-01T20:42:38.709Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-01T20:42:38.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-01T20:42:38.827Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-01T20:42:38.886Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-01T20:42:38.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-01T20:42:39.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-01T20:42:39.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-01T20:42:39.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-01T20:42:39.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-11-01T20:42:39.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-01T20:42:39.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-01T20:42:39.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T20:42:39.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T20:42:39.471Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T20:42:39.531Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T20:42:39.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-01T20:42:39.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-01T20:42:39.719Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-01T20:42:39.778Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-01T20:42:39.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-01T20:42:39.898Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-01T20:42:39.957Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-01T20:42:40.012Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-01T20:42:40.074Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-01T20:42:40.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-424 [Pipeline] echo [2024-11-01T20:42:40.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-424 [Pipeline] echo [2024-11-01T20:42:40.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-424 [Pipeline] echo [2024-11-01T20:42:40.316Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo [2024-11-01T20:42:40.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b5407 [Pipeline] echo [2024-11-01T20:42:40.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T20:42:40.608Z] provisioning config files... [2024-11-01T20:42:40.624Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config9003852388784627666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:42:41.019Z] ---> ****-login.sh [2024-11-01T20:42:41.019Z] nexus3.edgexfoundry.org:10001 [2024-11-01T20:42:41.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:42:41.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:42:41.544Z] Configure a credential helper to remove this warning. See [2024-11-01T20:42:41.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:42:41.544Z] [2024-11-01T20:42:41.544Z] Login Succeeded [2024-11-01T20:42:41.544Z] nexus3.edgexfoundry.org:10002 [2024-11-01T20:42:41.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:42:41.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:42:41.544Z] Configure a credential helper to remove this warning. See [2024-11-01T20:42:41.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:42:41.544Z] [2024-11-01T20:42:41.544Z] Login Succeeded [2024-11-01T20:42:41.544Z] nexus3.edgexfoundry.org:10003 [2024-11-01T20:42:41.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:42:41.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:42:41.544Z] Configure a credential helper to remove this warning. See [2024-11-01T20:42:41.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:42:41.545Z] [2024-11-01T20:42:41.545Z] Login Succeeded [2024-11-01T20:42:41.545Z] nexus3.edgexfoundry.org:10004 [2024-11-01T20:42:41.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:42:41.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:42:41.806Z] Configure a credential helper to remove this warning. See [2024-11-01T20:42:41.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:42:41.806Z] [2024-11-01T20:42:41.806Z] Login Succeeded [2024-11-01T20:42:41.806Z] ****.io [2024-11-01T20:42:41.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:42:42.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:42:42.067Z] Configure a credential helper to remove this warning. See [2024-11-01T20:42:42.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:42:42.067Z] [2024-11-01T20:42:42.067Z] Login Succeeded [2024-11-01T20:42:42.067Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T20:42:42.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-01T20:42:42.800Z] + git rev-list -1 --merges 75b5407f82ae978852c7aa1e7ca30deba2e02a81~1..75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo [2024-11-01T20:42:42.854Z] -----------> git rev-list -1 --merges 75b5407f82ae978852c7aa1e7ca30deba2e02a81~1..75b5407f82ae978852c7aa1e7ca30deba2e02a81 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [false] [Pipeline] sh [2024-11-01T20:42:43.181Z] + git log --format=format:%s -1 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo [2024-11-01T20:42:43.230Z] ========================================================= [2024-11-01T20:42:43.231Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-01T20:42:43.231Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T20:42:43.704Z] + git log --format=format:%s -1 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo [2024-11-01T20:42:43.746Z] [semverPrep] GIT_COMMIT: 75b5407f82ae978852c7aa1e7ca30deba2e02a81, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-01T20:42:43.791Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-01T20:42:44.220Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-01T20:42:44.220Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-01T20:42:44.220Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-01T20:42:44.220Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-01T20:42:44.220Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-01T20:42:44.220Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-01T20:42:44.220Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:42:44.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T20:42:44.752Z] [2024-11-01T20:42:44.752Z] 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-01T20:42:45.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T20:42:45.160Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-01T20:42:45.160Z] b85a868b505f: Pulling fs layer [2024-11-01T20:42:45.160Z] e2be974225ed: Pulling fs layer [2024-11-01T20:42:45.160Z] 339a4e72a1f5: Pulling fs layer [2024-11-01T20:42:45.160Z] 988bab9f4d93: Pulling fs layer [2024-11-01T20:42:45.160Z] 1469e6f7b9e6: Pulling fs layer [2024-11-01T20:42:45.160Z] eaf3925da568: Pulling fs layer [2024-11-01T20:42:45.160Z] bab4dde63d76: Pulling fs layer [2024-11-01T20:42:45.160Z] bde34c3a00c8: Pulling fs layer [2024-11-01T20:42:45.160Z] b352a97aabf1: Pulling fs layer [2024-11-01T20:42:45.160Z] 4872d77fe225: Pulling fs layer [2024-11-01T20:42:45.160Z] 5851b861e8e6: Pulling fs layer [2024-11-01T20:42:45.160Z] bab4dde63d76: Waiting [2024-11-01T20:42:45.160Z] 1469e6f7b9e6: Waiting [2024-11-01T20:42:45.160Z] bde34c3a00c8: Waiting [2024-11-01T20:42:45.160Z] eaf3925da568: Waiting [2024-11-01T20:42:45.160Z] b352a97aabf1: Waiting [2024-11-01T20:42:45.160Z] 4872d77fe225: Waiting [2024-11-01T20:42:45.160Z] 5851b861e8e6: Waiting [2024-11-01T20:42:45.160Z] 988bab9f4d93: Waiting [2024-11-01T20:42:45.160Z] e2be974225ed: Download complete [2024-11-01T20:42:45.160Z] 988bab9f4d93: Download complete [2024-11-01T20:42:45.160Z] 1469e6f7b9e6: Verifying Checksum [2024-11-01T20:42:45.160Z] 1469e6f7b9e6: Download complete [2024-11-01T20:42:45.160Z] eaf3925da568: Verifying Checksum [2024-11-01T20:42:45.160Z] eaf3925da568: Download complete [2024-11-01T20:42:45.160Z] 339a4e72a1f5: Verifying Checksum [2024-11-01T20:42:45.160Z] 339a4e72a1f5: Download complete [2024-11-01T20:42:45.420Z] bde34c3a00c8: Download complete [2024-11-01T20:42:45.420Z] b352a97aabf1: Verifying Checksum [2024-11-01T20:42:45.420Z] b352a97aabf1: Download complete [2024-11-01T20:42:45.420Z] 4872d77fe225: Verifying Checksum [2024-11-01T20:42:45.420Z] 5851b861e8e6: Verifying Checksum [2024-11-01T20:42:45.420Z] 5851b861e8e6: Download complete [2024-11-01T20:42:45.420Z] b85a868b505f: Verifying Checksum [2024-11-01T20:42:45.420Z] b85a868b505f: Download complete [2024-11-01T20:42:45.680Z] bab4dde63d76: Verifying Checksum [2024-11-01T20:42:45.680Z] bab4dde63d76: Download complete [2024-11-01T20:42:46.615Z] b85a868b505f: Pull complete [2024-11-01T20:42:46.875Z] e2be974225ed: Pull complete [2024-11-01T20:42:47.445Z] 339a4e72a1f5: Pull complete [2024-11-01T20:42:47.445Z] 988bab9f4d93: Pull complete [2024-11-01T20:42:47.704Z] 1469e6f7b9e6: Pull complete [2024-11-01T20:42:47.704Z] eaf3925da568: Pull complete [2024-11-01T20:42:49.606Z] bab4dde63d76: Pull complete [2024-11-01T20:42:49.866Z] bde34c3a00c8: Pull complete [2024-11-01T20:42:49.866Z] b352a97aabf1: Pull complete [2024-11-01T20:42:50.126Z] 4872d77fe225: Pull complete [2024-11-01T20:42:50.126Z] 5851b861e8e6: Pull complete [2024-11-01T20:42:50.126Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-01T20:42:50.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T20:42:50.126Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:42:50.440Z] prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container [2024-11-01T20:42:50.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-01T20:42:54.036Z] $ docker top 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 -eo pid,comm [2024-11-01T20:42:54.098Z] 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-01T20:42:54.098Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-01T20:42:54.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T20:42:54.272Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T20:42:54.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T20:42:54.382Z] $ docker exec 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent [2024-11-01T20:42:54.502Z] SSH_AUTH_SOCK=/tmp/ssh-MK37uCe473nd/agent.32 [2024-11-01T20:42:54.502Z] SSH_AGENT_PID=38 [2024-11-01T20:42:54.508Z] Running ssh-add (command line suppressed) [2024-11-01T20:42:54.607Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_9481905365998613695.key (/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_9481905365998613695.key) [2024-11-01T20:42:54.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T20:42:54.976Z] + git tag --points-at HEAD [Pipeline] } [2024-11-01T20:42:54.995Z] $ docker exec --env ******** --env ******** 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent -k [2024-11-01T20:42:55.093Z] unset SSH_AUTH_SOCK; [2024-11-01T20:42:55.094Z] unset SSH_AGENT_PID; [2024-11-01T20:42:55.094Z] echo Agent pid 38 killed; [2024-11-01T20:42:55.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-01T20:42:55.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T20:42:55.225Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T20:42:55.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T20:42:55.332Z] $ docker exec 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent [2024-11-01T20:42:55.448Z] SSH_AUTH_SOCK=/tmp/ssh-SsVVV5wMnWXI/agent.71 [2024-11-01T20:42:55.448Z] SSH_AGENT_PID=77 [2024-11-01T20:42:55.453Z] Running ssh-add (command line suppressed) [2024-11-01T20:42:55.543Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_3301806173874147715.key (/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_3301806173874147715.key) [2024-11-01T20:42:55.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T20:42:55.916Z] + git semver init [2024-11-01T20:42:56.176Z] 2024-11-01 20:42:56,090 [run_init] DEBUG init version:0.0.0 force:False [2024-11-01T20:42:56.176Z] 2024-11-01 20:42:56,091 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver [2024-11-01T20:42:56.176Z] 2024-11-01 20:42:56,092 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-424/.semver [2024-11-01T20:42:56.176Z] 2024-11-01 20:42:56,092 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-424/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424, universal_newlines=False, shell=None, istream=None) [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,444 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-424/.git/info/exclude [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 with force:False [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,445 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,449 [execute] INFO git cat-file --batch-check [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,456 [execute] INFO git cat-file --batch [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T20:42:57.562Z] 2024-11-01 20:42:57,462 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 [2024-11-01T20:42:57.562Z] 0.0.0 [Pipeline] } [2024-11-01T20:42:57.584Z] $ docker exec --env ******** --env ******** 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent -k [2024-11-01T20:42:57.680Z] unset SSH_AUTH_SOCK; [2024-11-01T20:42:57.681Z] unset SSH_AGENT_PID; [2024-11-01T20:42:57.681Z] echo Agent pid 77 killed; [2024-11-01T20:42:57.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-01T20:42:58.286Z] + git semver [Pipeline] } [2024-11-01T20:42:58.576Z] $ docker stop --time=1 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 [2024-11-01T20:42:59.902Z] $ docker rm -f --volumes 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T20:43:00.335Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-01T20:43:00.655Z] Stashed 1 file(s) [Pipeline] echo [2024-11-01T20:43:00.680Z] [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-01T20:43:01.405Z] provisioning config files... [2024-11-01T20:43:01.417Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config10247486653535483003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:43:01.776Z] ---> ****-login.sh [2024-11-01T20:43:01.776Z] nexus3.edgexfoundry.org:10001 [2024-11-01T20:43:01.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:43:01.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:43:01.777Z] Configure a credential helper to remove this warning. See [2024-11-01T20:43:01.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:43:01.777Z] [2024-11-01T20:43:01.777Z] Login Succeeded [2024-11-01T20:43:01.777Z] nexus3.edgexfoundry.org:10002 [2024-11-01T20:43:01.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:43:01.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:43:01.777Z] Configure a credential helper to remove this warning. See [2024-11-01T20:43:01.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:43:01.777Z] [2024-11-01T20:43:01.777Z] Login Succeeded [2024-11-01T20:43:01.777Z] nexus3.edgexfoundry.org:10003 [2024-11-01T20:43:02.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:43:02.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:43:02.038Z] Configure a credential helper to remove this warning. See [2024-11-01T20:43:02.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:43:02.038Z] [2024-11-01T20:43:02.038Z] Login Succeeded [2024-11-01T20:43:02.038Z] nexus3.edgexfoundry.org:10004 [2024-11-01T20:43:02.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:43:02.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:43:02.038Z] Configure a credential helper to remove this warning. See [2024-11-01T20:43:02.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:43:02.038Z] [2024-11-01T20:43:02.038Z] Login Succeeded [2024-11-01T20:43:02.038Z] ****.io [2024-11-01T20:43:02.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:43:02.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:43:02.298Z] Configure a credential helper to remove this warning. See [2024-11-01T20:43:02.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:43:02.298Z] [2024-11-01T20:43:02.298Z] Login Succeeded [2024-11-01T20:43:02.298Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T20:43:02.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T20:43:02.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T20:43:02.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T20:43:02.647Z] ========================================================= [2024-11-01T20:43:02.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-01T20:43:02.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:43:03.176Z] + 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-01T20:43:03.176Z] Sending build context to Docker daemon 16.64MB [2024-11-01T20:43:03.176Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T20:43:03.176Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-01T20:43:03.176Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-01T20:43:03.176Z] 43c4264eed91: Pulling fs layer [2024-11-01T20:43:03.176Z] 4cc291be95ef: Pulling fs layer [2024-11-01T20:43:03.176Z] 2ac1f1163629: Pulling fs layer [2024-11-01T20:43:03.176Z] 5c3c966382ef: Pulling fs layer [2024-11-01T20:43:03.176Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T20:43:03.176Z] 5d5c8e513c77: Pulling fs layer [2024-11-01T20:43:03.176Z] 9f66e0745190: Pulling fs layer [2024-11-01T20:43:03.176Z] f49a43e4bbc0: Pulling fs layer [2024-11-01T20:43:03.176Z] 561ebcabdf7f: Pulling fs layer [2024-11-01T20:43:03.176Z] 5c3c966382ef: Waiting [2024-11-01T20:43:03.176Z] 4f4fb700ef54: Waiting [2024-11-01T20:43:03.176Z] 9f66e0745190: Waiting [2024-11-01T20:43:03.176Z] f49a43e4bbc0: Waiting [2024-11-01T20:43:03.176Z] 561ebcabdf7f: Waiting [2024-11-01T20:43:03.176Z] 5d5c8e513c77: Waiting [2024-11-01T20:43:03.176Z] 4cc291be95ef: Verifying Checksum [2024-11-01T20:43:03.176Z] 4cc291be95ef: Download complete [2024-11-01T20:43:03.436Z] 5c3c966382ef: Download complete [2024-11-01T20:43:03.436Z] 4f4fb700ef54: Download complete [2024-11-01T20:43:03.436Z] 5d5c8e513c77: Verifying Checksum [2024-11-01T20:43:03.436Z] 5d5c8e513c77: Download complete [2024-11-01T20:43:03.436Z] 43c4264eed91: Download complete [2024-11-01T20:43:03.436Z] 9f66e0745190: Verifying Checksum [2024-11-01T20:43:03.436Z] 9f66e0745190: Download complete [2024-11-01T20:43:03.436Z] 43c4264eed91: Pull complete [2024-11-01T20:43:03.697Z] 561ebcabdf7f: Download complete [2024-11-01T20:43:03.697Z] 4cc291be95ef: Pull complete [2024-11-01T20:43:03.956Z] 2ac1f1163629: Verifying Checksum [2024-11-01T20:43:03.956Z] 2ac1f1163629: Download complete [2024-11-01T20:43:04.215Z] f49a43e4bbc0: Verifying Checksum [2024-11-01T20:43:04.215Z] f49a43e4bbc0: Download complete [2024-11-01T20:43:08.423Z] 2ac1f1163629: Pull complete [2024-11-01T20:43:08.423Z] 5c3c966382ef: Pull complete [2024-11-01T20:43:08.423Z] 4f4fb700ef54: Pull complete [2024-11-01T20:43:08.423Z] 5d5c8e513c77: Pull complete [2024-11-01T20:43:08.423Z] 9f66e0745190: Pull complete [2024-11-01T20:43:10.345Z] f49a43e4bbc0: Pull complete [2024-11-01T20:43:10.915Z] 561ebcabdf7f: Pull complete [2024-11-01T20:43:10.915Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-01T20:43:10.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-01T20:43:10.915Z] ---> 3a752c3f9dda [2024-11-01T20:43:10.915Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-01T20:43:16.190Z] Still waiting to schedule task [2024-11-01T20:43:16.191Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-01T20:43:16.221Z] ---> Running in 69dbdac6b6f8 [2024-11-01T20:43:16.221Z] Removing intermediate container 69dbdac6b6f8 [2024-11-01T20:43:16.221Z] ---> c9a4ddbf2ad3 [2024-11-01T20:43:16.221Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T20:43:16.221Z] ---> Running in b89368833404 [2024-11-01T20:43:16.221Z] Removing intermediate container b89368833404 [2024-11-01T20:43:16.221Z] ---> 853ac5378db6 [2024-11-01T20:43:16.221Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T20:43:16.221Z] ---> Running in 473a9569330a [2024-11-01T20:43:16.221Z] Removing intermediate container 473a9569330a [2024-11-01T20:43:16.221Z] ---> 31daba174d51 [2024-11-01T20:43:16.221Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T20:43:16.221Z] ---> Running in fc157f650519 [2024-11-01T20:43:16.221Z] Removing intermediate container fc157f650519 [2024-11-01T20:43:16.221Z] ---> 560a6e9d5cfe [2024-11-01T20:43:16.221Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T20:43:16.221Z] ---> Running in 3074ea9956cd [2024-11-01T20:43:16.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T20:43:16.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T20:43:16.741Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-01T20:43:16.741Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-01T20:43:16.741Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-01T20:43:16.741Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-01T20:43:16.741Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T20:43:16.741Z] OK: 250 MiB in 58 packages [2024-11-01T20:43:17.310Z] Removing intermediate container 3074ea9956cd [2024-11-01T20:43:17.310Z] ---> 5b5cedc32ffe [2024-11-01T20:43:17.310Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-01T20:43:17.310Z] ---> Running in c901416ed247 [2024-11-01T20:43:17.310Z] Removing intermediate container c901416ed247 [2024-11-01T20:43:17.310Z] ---> bfada7a3a3c4 [2024-11-01T20:43:17.310Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-01T20:43:17.570Z] ---> 6eb1784cf249 [2024-11-01T20:43:17.570Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T20:43:17.570Z] ---> Running in 8232cf7ef53b [2024-11-01T20:44:13.864Z] Removing intermediate container 8232cf7ef53b [2024-11-01T20:44:13.864Z] ---> 642b5e150e63 [2024-11-01T20:44:13.864Z] Step 11/12 : COPY . . [2024-11-01T20:44:13.864Z] ---> 6eed711a7883 [2024-11-01T20:44:13.864Z] Step 12/12 : RUN $MAKE [2024-11-01T20:44:13.864Z] ---> Running in 6ba5a443d7eb [2024-11-01T20:44:13.864Z] noop [2024-11-01T20:44:13.864Z] Removing intermediate container 6ba5a443d7eb [2024-11-01T20:44:13.864Z] ---> 7a770f5b71f7 [2024-11-01T20:44:13.864Z] Successfully built 7a770f5b71f7 [2024-11-01T20:44:13.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:44:14.355Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T20:44:14.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:44:14.518Z] prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container [2024-11-01T20:44:14.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@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 ******** ci-base-image-x86_64 cat [2024-11-01T20:44:14.901Z] $ docker top 5014ba2558ca958fc7130854297941c626690188fbfd50348b2fd74dbfd4286e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T20:44:15.327Z] + go version [2024-11-01T20:44:15.327Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-01T20:44:15.368Z] $ docker stop --time=1 5014ba2558ca958fc7130854297941c626690188fbfd50348b2fd74dbfd4286e [2024-11-01T20:44:16.648Z] $ docker rm -f --volumes 5014ba2558ca958fc7130854297941c626690188fbfd50348b2fd74dbfd4286e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:44:17.437Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T20:44:17.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:44:17.600Z] prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container [2024-11-01T20:44:17.640Z] $ 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-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@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 ******** ci-base-image-x86_64 cat [2024-11-01T20:44:18.005Z] $ docker top 92910e159d0d2dbea41792fc83834edeccb4adb9b2dd2f1a93d1a02e23bbaf57 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T20:44:18.414Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] fileExists [Pipeline] sh [2024-11-01T20:44:18.832Z] + make test [2024-11-01T20:44:18.832Z] go test ./... -coverprofile=coverage.out ./... [2024-11-01T20:44:20.739Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-01T20:44:42.691Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-01T20:44:42.691Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2024-11-01T20:44:50.886Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24359 in /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] { [Pipeline] ws [2024-11-01T20:44:50.962Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-11-01T20:44:52.661Z] go vet ./... [2024-11-01T20:44:54.061Z] The recommended git tool is: git [2024-11-01T20:44:58.389Z] using credential edgex-jenkins-ssh [2024-11-01T20:44:58.414Z] Cloning the remote Git repository [2024-11-01T20:44:58.452Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-11-01T20:44:58.543Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-11-01T20:44:58.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-01T20:44:58.677Z] > git --version # timeout=10 [2024-11-01T20:44:58.695Z] > git --version # 'git version 2.25.1' [2024-11-01T20:44:58.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T20:44:58.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T20:44:59.225Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T20:44:59.225Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T20:44:59.225Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T20:44:59.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T20:44:59.319Z] $ docker stop --time=1 92910e159d0d2dbea41792fc83834edeccb4adb9b2dd2f1a93d1a02e23bbaf57 [2024-11-01T20:45:02.321Z] $ docker rm -f --volumes 92910e159d0d2dbea41792fc83834edeccb4adb9b2dd2f1a93d1a02e23bbaf57 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T20:45:01.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-01T20:45:01.573Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T20:45:02.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-01T20:45:02.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-01T20:45:02.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T20:45:02.457Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-01T20:45:02.997Z] + sudo chown -R jenkins:jenkins . [2024-11-01T20:45:03.005Z] Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] stash [2024-11-01T20:45:03.070Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-11-01T20:45:03.294Z] Merge succeeded, producing 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [2024-11-01T20:45:03.295Z] Checking out Revision 75b5407f82ae978852c7aa1e7ca30deba2e02a81 (PR-424) [Pipeline] sh [2024-11-01T20:45:03.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T20:45:04.116Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-01T20:45:03.023Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T20:45:03.092Z] > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [2024-11-01T20:45:03.185Z] > git remote # timeout=10 [2024-11-01T20:45:03.202Z] > git config --get remote.origin.url # timeout=10 [2024-11-01T20:45:03.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T20:45:03.249Z] > git merge d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 [2024-11-01T20:45:03.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-01T20:45:03.299Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T20:45:03.312Z] > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [2024-11-01T20:45:04.163Z] > git --version # timeout=10 [2024-11-01T20:45:04.176Z] > git --version # 'git version 2.25.1' [2024-11-01T20:45:04.198Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T20:45:04.209Z] + ls -al . [2024-11-01T20:45:04.209Z] total 244 [2024-11-01T20:45:04.209Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 20:44 . [2024-11-01T20:45:04.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:42 .. [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 20:42 .dockerignore [2024-11-01T20:45:04.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:44 .git [2024-11-01T20:45:04.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:42 .github [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 20:42 .gitignore [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:42 .golangci.yml [2024-11-01T20:45:04.209Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:42 .semver [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 1 20:42 Attribution.txt [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 1 20:42 CHANGELOG.md [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 1 20:42 Dockerfile [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:42 GOVERNANCE.md [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 20:42 Jenkinsfile [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:42 LICENSE [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 2553 Nov 1 20:42 Makefile [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 20:42 OWNERS.md [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 1 20:42 README.md [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 20:43 VERSION [2024-11-01T20:45:04.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:42 bin [2024-11-01T20:45:04.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:42 cmd [2024-11-01T20:45:04.209Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 1 20:44 coverage.out [2024-11-01T20:45:04.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:42 driver [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 1 20:42 go.mod [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 20:42 go.sum [2024-11-01T20:45:04.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:42 openapi [2024-11-01T20:45:04.209Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:45:04.647Z] + 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=75b5407f82ae978852c7aa1e7ca30deba2e02a81 --label arch=amd64 --label version=0.0.0 . [2024-11-01T20:45:04.647Z] Sending build context to Docker daemon 16.66MB [2024-11-01T20:45:04.647Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T20:45:04.647Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-01T20:45:04.647Z] ---> 7a770f5b71f7 [2024-11-01T20:45:04.647Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-01T20:45:04.907Z] ---> Running in 25356af59258 [2024-11-01T20:45:04.907Z] Removing intermediate container 25356af59258 [2024-11-01T20:45:04.907Z] ---> 02ae7bba41f2 [2024-11-01T20:45:04.907Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T20:45:04.907Z] ---> Running in c9c4012fe85a [2024-11-01T20:45:05.167Z] Removing intermediate container c9c4012fe85a [2024-11-01T20:45:05.167Z] ---> ffe8e4e8eb38 [2024-11-01T20:45:05.167Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T20:45:05.167Z] ---> Running in 4ae3d446919b [2024-11-01T20:45:05.167Z] Removing intermediate container 4ae3d446919b [2024-11-01T20:45:05.167Z] ---> 67a0490a8f01 [2024-11-01T20:45:05.167Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T20:45:05.167Z] ---> Running in 4249c54c4b0e [2024-11-01T20:45:05.426Z] Removing intermediate container 4249c54c4b0e [2024-11-01T20:45:05.426Z] ---> adddb2223857 [2024-11-01T20:45:05.426Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T20:45:05.426Z] ---> Running in 821ee55c56c5 [2024-11-01T20:45:05.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:05.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:06.256Z] OK: 250 MiB in 58 packages [2024-11-01T20:45:06.521Z] Removing intermediate container 821ee55c56c5 [2024-11-01T20:45:06.521Z] ---> 6fde5890022f [2024-11-01T20:45:06.521Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-01T20:45:06.521Z] ---> Running in 328ada6566c9 [2024-11-01T20:45:06.521Z] Removing intermediate container 328ada6566c9 [2024-11-01T20:45:06.521Z] ---> d77ed62df366 [2024-11-01T20:45:06.521Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-01T20:45:06.780Z] ---> 6e13359e282d [2024-11-01T20:45:06.780Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T20:45:06.780Z] ---> Running in 4e57a201d3b8 [2024-11-01T20:45:07.348Z] Removing intermediate container 4e57a201d3b8 [2024-11-01T20:45:07.348Z] ---> 2746a526bba7 [2024-11-01T20:45:07.348Z] Step 11/26 : COPY . . [2024-11-01T20:45:07.915Z] ---> 313b5517c867 [2024-11-01T20:45:07.915Z] Step 12/26 : RUN $MAKE [2024-11-01T20:45:07.915Z] ---> Running in 70cd56f7a944 [Pipeline] withEnv [Pipeline] { [2024-11-01T20:45:08.483Z] 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.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T20:45:09.233Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-01T20:45:09.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T20:45:09.233Z] Dload Upload Total Spent Left Speed [2024-11-01T20:45:09.233Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh [2024-11-01T20:45:09.594Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-01T20:45:09.963Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-01T20:45:09.963Z] + sudo tee /etc/docker/daemon.new [2024-11-01T20:45:09.963Z] { [2024-11-01T20:45:09.963Z] "registry-mirrors": [ [2024-11-01T20:45:09.963Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-01T20:45:09.963Z] ], [2024-11-01T20:45:09.963Z] "bip": "10.250.0.254/24", [2024-11-01T20:45:09.963Z] "hosts": [ [2024-11-01T20:45:09.963Z] "tcp://0.0.0.0:5555", [2024-11-01T20:45:09.963Z] "unix:///var/run/docker.sock" [2024-11-01T20:45:09.963Z] ], [2024-11-01T20:45:09.963Z] "mtu": 1458, [2024-11-01T20:45:09.963Z] "selinux-enabled": true, [2024-11-01T20:45:09.963Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-01T20:45:09.963Z] } [Pipeline] sh [2024-11-01T20:45:10.310Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-01T20:45:10.663Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T20:45:28.983Z] provisioning config files... [2024-11-01T20:45:29.008Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17036798013608268634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:45:29.504Z] ---> ****-login.sh [2024-11-01T20:45:29.504Z] nexus3.edgexfoundry.org:10001 [2024-11-01T20:45:29.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:45:30.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:45:30.046Z] Configure a credential helper to remove this warning. See [2024-11-01T20:45:30.046Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:45:30.046Z] [2024-11-01T20:45:30.046Z] Login Succeeded [2024-11-01T20:45:30.046Z] nexus3.edgexfoundry.org:10002 [2024-11-01T20:45:30.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:45:30.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:45:30.314Z] Configure a credential helper to remove this warning. See [2024-11-01T20:45:30.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:45:30.314Z] [2024-11-01T20:45:30.314Z] Login Succeeded [2024-11-01T20:45:30.314Z] nexus3.edgexfoundry.org:10003 [2024-11-01T20:45:30.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:45:30.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:45:30.859Z] Configure a credential helper to remove this warning. See [2024-11-01T20:45:30.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:45:30.859Z] [2024-11-01T20:45:30.859Z] Login Succeeded [2024-11-01T20:45:30.859Z] nexus3.edgexfoundry.org:10004 [2024-11-01T20:45:31.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:45:31.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:45:31.130Z] Configure a credential helper to remove this warning. See [2024-11-01T20:45:31.130Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:45:31.130Z] [2024-11-01T20:45:31.130Z] Login Succeeded [2024-11-01T20:45:31.130Z] ****.io [2024-11-01T20:45:31.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T20:45:31.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T20:45:31.666Z] Configure a credential helper to remove this warning. See [2024-11-01T20:45:31.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T20:45:31.666Z] [2024-11-01T20:45:31.666Z] Login Succeeded [2024-11-01T20:45:31.666Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T20:45:31.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T20:45:32.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T20:45:32.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T20:45:32.232Z] ========================================================= [2024-11-01T20:45:32.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-01T20:45:32.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:45:32.795Z] + 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-01T20:45:32.795Z] Sending build context to Docker daemon 140.3kB [2024-11-01T20:45:33.063Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T20:45:33.063Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-01T20:45:33.063Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-01T20:45:33.063Z] cf04c63912e1: Pulling fs layer [2024-11-01T20:45:33.063Z] 55b35a11ae5e: Pulling fs layer [2024-11-01T20:45:33.063Z] a37a00ec5f00: Pulling fs layer [2024-11-01T20:45:33.063Z] 50b3750afda1: Pulling fs layer [2024-11-01T20:45:33.063Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T20:45:33.063Z] 80978eb59214: Pulling fs layer [2024-11-01T20:45:33.063Z] c9f46d7d2bd2: Pulling fs layer [2024-11-01T20:45:33.063Z] c5a475d317c9: Pulling fs layer [2024-11-01T20:45:33.063Z] c9f46d7d2bd2: Waiting [2024-11-01T20:45:33.063Z] 4f4fb700ef54: Waiting [2024-11-01T20:45:33.063Z] 80978eb59214: Waiting [2024-11-01T20:45:33.063Z] c5a475d317c9: Waiting [2024-11-01T20:45:33.063Z] 50b3750afda1: Waiting [2024-11-01T20:45:33.063Z] 55b35a11ae5e: Verifying Checksum [2024-11-01T20:45:33.063Z] 55b35a11ae5e: Download complete [2024-11-01T20:45:33.063Z] 50b3750afda1: Verifying Checksum [2024-11-01T20:45:33.063Z] 50b3750afda1: Download complete [2024-11-01T20:45:33.344Z] 4f4fb700ef54: Verifying Checksum [2024-11-01T20:45:33.344Z] 4f4fb700ef54: Download complete [2024-11-01T20:45:33.344Z] 80978eb59214: Verifying Checksum [2024-11-01T20:45:33.344Z] 80978eb59214: Download complete [2024-11-01T20:45:33.344Z] cf04c63912e1: Verifying Checksum [2024-11-01T20:45:33.344Z] cf04c63912e1: Download complete [2024-11-01T20:45:33.941Z] c5a475d317c9: Verifying Checksum [2024-11-01T20:45:33.941Z] c5a475d317c9: Download complete [2024-11-01T20:45:34.907Z] cf04c63912e1: Pull complete [2024-11-01T20:45:34.907Z] a37a00ec5f00: Verifying Checksum [2024-11-01T20:45:34.907Z] a37a00ec5f00: Download complete [2024-11-01T20:45:35.175Z] 55b35a11ae5e: Pull complete [2024-11-01T20:45:35.770Z] c9f46d7d2bd2: Verifying Checksum [2024-11-01T20:45:35.770Z] c9f46d7d2bd2: Download complete [2024-11-01T20:45:40.572Z] Removing intermediate container 70cd56f7a944 [2024-11-01T20:45:40.573Z] ---> efc636612a54 [2024-11-01T20:45:40.573Z] Step 13/26 : FROM alpine:3.20 [2024-11-01T20:45:40.832Z] 3.20: Pulling from library/alpine [2024-11-01T20:45:40.832Z] 43c4264eed91: Already exists [2024-11-01T20:45:41.092Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T20:45:41.092Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T20:45:41.092Z] ---> 91ef0af61f39 [2024-11-01T20:45:41.092Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-01T20:45:41.092Z] ---> Running in 1337574bd674 [2024-11-01T20:45:41.092Z] Removing intermediate container 1337574bd674 [2024-11-01T20:45:41.092Z] ---> 2b315ba1cfc7 [2024-11-01T20:45:41.092Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-01T20:45:41.092Z] ---> Running in 2c15c128ce27 [2024-11-01T20:45:41.092Z] Removing intermediate container 2c15c128ce27 [2024-11-01T20:45:41.092Z] ---> a9b86e6ba523 [2024-11-01T20:45:41.092Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-01T20:45:41.092Z] ---> Running in c498b93367cf [2024-11-01T20:45:41.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:41.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:41.921Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T20:45:41.921Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T20:45:41.921Z] OK: 8 MiB in 15 packages [2024-11-01T20:45:42.181Z] Removing intermediate container c498b93367cf [2024-11-01T20:45:42.181Z] ---> 35a5e1f913d2 [2024-11-01T20:45:42.181Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-01T20:45:42.181Z] ---> Running in 8d477218a39f [2024-11-01T20:45:42.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:42.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:43.270Z] Upgrading critical system libraries and apk-tools: [2024-11-01T20:45:43.270Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T20:45:43.270Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T20:45:43.270Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T20:45:43.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:43.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T20:45:43.529Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T20:45:43.529Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T20:45:43.529Z] OK: 8 MiB in 15 packages [2024-11-01T20:45:44.106Z] Removing intermediate container 8d477218a39f [2024-11-01T20:45:44.106Z] ---> 7a1525bde932 [2024-11-01T20:45:44.106Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-01T20:45:45.487Z] ---> 0f77797009af [2024-11-01T20:45:45.487Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-01T20:45:45.487Z] ---> 5f50719cf9d7 [2024-11-01T20:45:45.487Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-01T20:45:45.748Z] ---> 0b13f377334b [2024-11-01T20:45:45.748Z] Step 21/26 : EXPOSE 59986 [2024-11-01T20:45:45.748Z] ---> Running in 8448d69d2a11 [2024-11-01T20:45:45.748Z] Removing intermediate container 8448d69d2a11 [2024-11-01T20:45:45.748Z] ---> 93a342722396 [2024-11-01T20:45:45.748Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-01T20:45:45.748Z] ---> Running in a403d4df6c4e [2024-11-01T20:45:46.010Z] Removing intermediate container a403d4df6c4e [2024-11-01T20:45:46.010Z] ---> de8bdcb270b5 [2024-11-01T20:45:46.010Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T20:45:46.010Z] ---> Running in cfc980ec2d8c [2024-11-01T20:45:46.010Z] Removing intermediate container cfc980ec2d8c [2024-11-01T20:45:46.010Z] ---> 3fa6736c895c [2024-11-01T20:45:46.010Z] Step 24/26 : LABEL arch=amd64 [2024-11-01T20:45:46.010Z] ---> Running in 603d6f0f41e3 [2024-11-01T20:45:46.010Z] Removing intermediate container 603d6f0f41e3 [2024-11-01T20:45:46.010Z] ---> bf92682fcac7 [2024-11-01T20:45:46.010Z] Step 25/26 : LABEL git_sha=75b5407f82ae978852c7aa1e7ca30deba2e02a81 [2024-11-01T20:45:46.010Z] ---> Running in 273975ce0e52 [2024-11-01T20:45:46.272Z] Removing intermediate container 273975ce0e52 [2024-11-01T20:45:46.272Z] ---> 0122c9091522 [2024-11-01T20:45:46.272Z] Step 26/26 : LABEL version=0.0.0 [2024-11-01T20:45:46.272Z] ---> Running in 8bab7d1bbeca [2024-11-01T20:45:46.272Z] Removing intermediate container 8bab7d1bbeca [2024-11-01T20:45:46.272Z] ---> d5eef7fff611 [2024-11-01T20:45:46.272Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T20:45:46.272Z] Successfully built d5eef7fff611 [2024-11-01T20:45:46.272Z] 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-01T20:45:47.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T20:45:47.293Z] [2024-11-01T20:45:47.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:45:47.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T20:45:47.693Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-01T20:45:47.693Z] 5eb5b503b376: Pulling fs layer [2024-11-01T20:45:47.693Z] 5c69ac0246d0: Pulling fs layer [2024-11-01T20:45:47.693Z] ec43610c2a17: Pulling fs layer [2024-11-01T20:45:47.693Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-01T20:45:47.693Z] 33b1e0a273af: Pulling fs layer [2024-11-01T20:45:47.693Z] 5d3b04190fa2: Pulling fs layer [2024-11-01T20:45:47.693Z] 2f39f015ded8: Pulling fs layer [2024-11-01T20:45:47.693Z] 5d3b04190fa2: Waiting [2024-11-01T20:45:47.693Z] 33b1e0a273af: Waiting [2024-11-01T20:45:47.693Z] 2f39f015ded8: Waiting [2024-11-01T20:45:47.693Z] 3a2ae6a8a46f: Waiting [2024-11-01T20:45:47.693Z] 5c69ac0246d0: Verifying Checksum [2024-11-01T20:45:47.693Z] 5c69ac0246d0: Download complete [2024-11-01T20:45:47.693Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-01T20:45:47.693Z] 33b1e0a273af: Verifying Checksum [2024-11-01T20:45:47.693Z] 33b1e0a273af: Download complete [2024-11-01T20:45:47.693Z] 5d3b04190fa2: Verifying Checksum [2024-11-01T20:45:47.693Z] 5d3b04190fa2: Download complete [2024-11-01T20:45:47.953Z] ec43610c2a17: Verifying Checksum [2024-11-01T20:45:47.953Z] ec43610c2a17: Download complete [2024-11-01T20:45:47.953Z] 5eb5b503b376: Verifying Checksum [2024-11-01T20:45:47.953Z] 5eb5b503b376: Download complete [2024-11-01T20:45:48.521Z] 2f39f015ded8: Download complete [2024-11-01T20:45:49.089Z] 5eb5b503b376: Pull complete [2024-11-01T20:45:49.349Z] 5c69ac0246d0: Pull complete [2024-11-01T20:45:49.609Z] ec43610c2a17: Pull complete [2024-11-01T20:45:49.868Z] 3a2ae6a8a46f: Pull complete [2024-11-01T20:45:49.868Z] 33b1e0a273af: Pull complete [2024-11-01T20:45:50.128Z] 5d3b04190fa2: Pull complete [2024-11-01T20:45:50.783Z] a37a00ec5f00: Pull complete [2024-11-01T20:45:50.783Z] 50b3750afda1: Pull complete [2024-11-01T20:45:50.783Z] 4f4fb700ef54: Pull complete [2024-11-01T20:45:50.783Z] 80978eb59214: Pull complete [2024-11-01T20:45:54.311Z] 2f39f015ded8: Pull complete [2024-11-01T20:45:54.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-01T20:45:54.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T20:45:54.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:45:54.573Z] prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container [2024-11-01T20:45:54.616Z] $ 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-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-01T20:45:56.121Z] c9f46d7d2bd2: Pull complete [2024-11-01T20:45:58.068Z] c5a475d317c9: Pull complete [2024-11-01T20:45:58.068Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-01T20:45:58.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-01T20:45:58.068Z] ---> be29e6b0f0d4 [2024-11-01T20:45:58.068Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-01T20:45:58.241Z] $ docker top 0ebb96c50f038e28566eb6b79f799873a3c8676f56171d09e2d1ff47623f530c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:45:58.757Z] ---> job-cost.sh [2024-11-01T20:45:58.757Z] lf-activate-venv: SKIPPING [2024-11-01T20:45:58.757Z] INFO: No Stack... [2024-11-01T20:45:59.017Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T20:45:59.277Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T20:45:59.473Z] ---> Running in 98dd55a20110 [2024-11-01T20:45:59.607Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-424/archives/cost.csv [2024-11-01T20:45:59.607Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T20:45:59.656Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [2024-11-01T20:45:59.662Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] did not exist. Created. [2024-11-01T20:45:59.669Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-11-01T20:45:59.739Z] Removing intermediate container 98dd55a20110 [2024-11-01T20:45:59.739Z] ---> d7ffa7c05805 [2024-11-01T20:45:59.739Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T20:45:59.739Z] ---> Running in b71ecdb8ace2 [Pipeline] sh [2024-11-01T20:46:00.005Z] Removing intermediate container b71ecdb8ace2 [2024-11-01T20:46:00.005Z] ---> 18cb5ce380c9 [2024-11-01T20:46:00.005Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T20:46:00.005Z] ---> Running in 2eccd8b76832 [2024-11-01T20:46:00.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-01T20:46:00.166Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T20:46:00.209Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] // lock [2024-11-01T20:46:00.271Z] Removing intermediate container 2eccd8b76832 [2024-11-01T20:46:00.271Z] ---> e11fe128d175 [2024-11-01T20:46:00.271Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [Pipeline] } [2024-11-01T20:46:00.312Z] $ docker stop --time=1 0ebb96c50f038e28566eb6b79f799873a3c8676f56171d09e2d1ff47623f530c [2024-11-01T20:46:00.536Z] ---> Running in 1e874474f4ab [2024-11-01T20:46:00.802Z] Removing intermediate container 1e874474f4ab [2024-11-01T20:46:00.802Z] ---> c2315e87ee05 [2024-11-01T20:46:00.802Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T20:46:00.802Z] ---> Running in 829ad7d7c7cc [2024-11-01T20:46:01.485Z] $ docker rm -f --volumes 0ebb96c50f038e28566eb6b79f799873a3c8676f56171d09e2d1ff47623f530c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2024-11-01T20:46:01.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-01T20:46:02.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T20:46:03.428Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-01T20:46:03.428Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-01T20:46:03.428Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-01T20:46:03.428Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-01T20:46:03.428Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T20:46:03.428Z] OK: 242 MiB in 58 packages [2024-11-01T20:46:04.833Z] Removing intermediate container 829ad7d7c7cc [2024-11-01T20:46:04.833Z] ---> 8baa3f7d2a64 [2024-11-01T20:46:04.833Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-01T20:46:04.833Z] ---> Running in bf0ef97466d1 [2024-11-01T20:46:04.833Z] Removing intermediate container bf0ef97466d1 [2024-11-01T20:46:04.833Z] ---> 46eadbe46377 [2024-11-01T20:46:04.833Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-01T20:46:05.412Z] ---> 7bcf1415354d [2024-11-01T20:46:05.412Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T20:46:05.412Z] ---> Running in e674e22bfaad [2024-11-01T20:47:57.083Z] Removing intermediate container e674e22bfaad [2024-11-01T20:47:57.084Z] ---> 2f7737e00b24 [2024-11-01T20:47:57.084Z] Step 11/12 : COPY . . [2024-11-01T20:47:57.084Z] ---> a619a3030954 [2024-11-01T20:47:57.084Z] Step 12/12 : RUN $MAKE [2024-11-01T20:47:57.084Z] ---> Running in a4f8e690594e [2024-11-01T20:47:57.084Z] noop [2024-11-01T20:47:57.084Z] Removing intermediate container a4f8e690594e [2024-11-01T20:47:57.084Z] ---> dff3295ff758 [2024-11-01T20:47:57.084Z] Successfully built dff3295ff758 [2024-11-01T20:47:57.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:47:57.611Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T20:47:57.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:47:57.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-24359 does not seem to be running inside a container [2024-11-01T20:47:57.986Z] $ 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 ******** ci-base-image-arm64 cat [2024-11-01T20:47:59.180Z] $ docker top f9cfed6823722d890c99e8a823b74884a2dbcb139374c81335ce7c682c42b258 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T20:48:00.104Z] + go version [2024-11-01T20:48:00.104Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-01T20:48:00.143Z] $ docker stop --time=1 f9cfed6823722d890c99e8a823b74884a2dbcb139374c81335ce7c682c42b258 [2024-11-01T20:48:02.891Z] $ docker rm -f --volumes f9cfed6823722d890c99e8a823b74884a2dbcb139374c81335ce7c682c42b258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:48:03.839Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T20:48:03.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:48:04.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-24359 does not seem to be running inside a container [2024-11-01T20:48:04.176Z] $ 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 ******** ci-base-image-arm64 cat [2024-11-01T20:48:05.384Z] $ docker top 3484766d23d308b9f8d0680a9820b09fd5092064dc9c093989a9ce83caf6b53f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T20:48:05.965Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-01T20:48:06.948Z] + make test [2024-11-01T20:48:06.949Z] go test ./... -coverprofile=coverage.out ./... [2024-11-01T20:48:12.361Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-01T20:51:19.515Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-01T20:51:19.515Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 33.2% of statements [2024-11-01T20:51:20.101Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-01T20:51:20.101Z] go vet ./... [2024-11-01T20:52:06.972Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T20:52:06.972Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T20:52:06.972Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T20:52:07.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T20:52:07.443Z] $ docker stop --time=1 3484766d23d308b9f8d0680a9820b09fd5092064dc9c093989a9ce83caf6b53f [2024-11-01T20:52:09.348Z] $ docker rm -f --volumes 3484766d23d308b9f8d0680a9820b09fd5092064dc9c093989a9ce83caf6b53f [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T20:52:10.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-01T20:52:10.951Z] Warning: overwriting stash ‘coverage-report’ [2024-11-01T20:52:11.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T20:52:12.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T20:52:12.558Z] + ls -al . [2024-11-01T20:52:12.558Z] total 240 [2024-11-01T20:52:12.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:48 . [2024-11-01T20:52:12.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:44 .. [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 20:45 .dockerignore [2024-11-01T20:52:12.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:45 .git [2024-11-01T20:52:12.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:45 .github [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 20:45 .gitignore [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:45 .golangci.yml [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 1 20:45 Attribution.txt [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 1 20:45 CHANGELOG.md [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 1 20:45 Dockerfile [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:45 GOVERNANCE.md [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 20:45 Jenkinsfile [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:45 LICENSE [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 2553 Nov 1 20:45 Makefile [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 20:45 OWNERS.md [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 1 20:45 README.md [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 20:43 VERSION [2024-11-01T20:52:12.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:45 bin [2024-11-01T20:52:12.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:45 cmd [2024-11-01T20:52:12.558Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 1 20:51 coverage.out [2024-11-01T20:52:12.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:45 driver [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 1 20:45 go.mod [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 20:45 go.sum [2024-11-01T20:52:12.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:45 openapi [2024-11-01T20:52:12.558Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:52:12.994Z] + 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=75b5407f82ae978852c7aa1e7ca30deba2e02a81 --label arch=arm64 --label version=0.0.0 . [2024-11-01T20:52:12.995Z] Sending build context to Docker daemon 155.6kB [2024-11-01T20:52:13.263Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T20:52:13.263Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-01T20:52:13.263Z] ---> dff3295ff758 [2024-11-01T20:52:13.263Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-01T20:52:13.263Z] ---> Running in 7a3186922cad [2024-11-01T20:52:13.533Z] Removing intermediate container 7a3186922cad [2024-11-01T20:52:13.533Z] ---> b1b1d9c2ff24 [2024-11-01T20:52:13.533Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T20:52:13.801Z] ---> Running in 65edafc9cca0 [2024-11-01T20:52:14.069Z] Removing intermediate container 65edafc9cca0 [2024-11-01T20:52:14.070Z] ---> 06e37d83a035 [2024-11-01T20:52:14.070Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T20:52:14.070Z] ---> Running in 61fce3076200 [2024-11-01T20:52:14.339Z] Removing intermediate container 61fce3076200 [2024-11-01T20:52:14.339Z] ---> 0cbaa6b1faba [2024-11-01T20:52:14.339Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T20:52:14.339Z] ---> Running in 19bb6cce386b [2024-11-01T20:52:14.607Z] Removing intermediate container 19bb6cce386b [2024-11-01T20:52:14.607Z] ---> 56aa3cb581ac [2024-11-01T20:52:14.607Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T20:52:14.875Z] ---> Running in 53fe65ed98e0 [2024-11-01T20:52:15.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T20:52:16.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T20:52:17.521Z] OK: 242 MiB in 58 packages [2024-11-01T20:52:18.104Z] Removing intermediate container 53fe65ed98e0 [2024-11-01T20:52:18.104Z] ---> 8895799f18ac [2024-11-01T20:52:18.104Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-01T20:52:18.104Z] ---> Running in 8983e2be334e [2024-11-01T20:52:18.371Z] Removing intermediate container 8983e2be334e [2024-11-01T20:52:18.371Z] ---> 02f5dec3068b [2024-11-01T20:52:18.371Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-01T20:52:18.951Z] ---> 18319d9e1a7b [2024-11-01T20:52:18.951Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T20:52:18.951Z] ---> Running in 51fec864fcde [2024-11-01T20:52:20.888Z] Removing intermediate container 51fec864fcde [2024-11-01T20:52:20.888Z] ---> 7426edac5777 [2024-11-01T20:52:20.888Z] Step 11/26 : COPY . . [2024-11-01T20:52:21.467Z] ---> 9714f2af3a2a [2024-11-01T20:52:21.467Z] Step 12/26 : RUN $MAKE [2024-11-01T20:52:21.467Z] ---> Running in 81387c130119 [2024-11-01T20:52:22.418Z] 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.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-11-01T20:55:46.468Z] Removing intermediate container 81387c130119 [2024-11-01T20:55:46.468Z] ---> 89950d3e33a0 [2024-11-01T20:55:46.468Z] Step 13/26 : FROM alpine:3.20 [2024-11-01T20:55:46.468Z] 3.20: Pulling from library/alpine [2024-11-01T20:55:46.468Z] cf04c63912e1: Already exists [2024-11-01T20:55:46.468Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T20:55:46.468Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T20:55:46.468Z] ---> c157a85ed455 [2024-11-01T20:55:46.468Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-01T20:55:46.468Z] ---> Running in d19c467bd759 [2024-11-01T20:55:46.468Z] Removing intermediate container d19c467bd759 [2024-11-01T20:55:46.468Z] ---> ee86daeb13cd [2024-11-01T20:55:46.468Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-01T20:55:46.468Z] ---> Running in 9222e009beea [2024-11-01T20:55:46.468Z] Removing intermediate container 9222e009beea [2024-11-01T20:55:46.468Z] ---> 639f478c84ad [2024-11-01T20:55:46.468Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-01T20:55:46.468Z] ---> Running in d7b70a353ac2 [2024-11-01T20:55:46.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T20:55:46.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T20:55:46.468Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T20:55:46.468Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T20:55:46.468Z] OK: 9 MiB in 15 packages [2024-11-01T20:55:46.468Z] Removing intermediate container d7b70a353ac2 [2024-11-01T20:55:46.468Z] ---> 08aea2394108 [2024-11-01T20:55:46.468Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-01T20:55:46.468Z] ---> Running in f59254293721 [2024-11-01T20:55:46.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T20:55:46.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T20:55:46.468Z] Upgrading critical system libraries and apk-tools: [2024-11-01T20:55:46.468Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T20:55:46.468Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T20:55:46.468Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T20:55:46.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T20:55:46.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T20:55:46.468Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T20:55:46.468Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T20:55:46.468Z] OK: 9 MiB in 15 packages [2024-11-01T20:55:46.468Z] Removing intermediate container f59254293721 [2024-11-01T20:55:46.468Z] ---> 35bc0a81e3dd [2024-11-01T20:55:46.468Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-01T20:55:46.468Z] ---> 8d7f2860dd7a [2024-11-01T20:55:46.468Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-01T20:55:46.468Z] ---> e680956f723e [2024-11-01T20:55:46.468Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-01T20:55:46.735Z] ---> 531b0af92ae9 [2024-11-01T20:55:46.735Z] Step 21/26 : EXPOSE 59986 [2024-11-01T20:55:46.735Z] ---> Running in 275c3969e2be [2024-11-01T20:55:47.007Z] Removing intermediate container 275c3969e2be [2024-11-01T20:55:47.007Z] ---> 5c2e5b21c078 [2024-11-01T20:55:47.007Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-01T20:55:47.007Z] ---> Running in 2885160cca9c [2024-11-01T20:55:47.279Z] Removing intermediate container 2885160cca9c [2024-11-01T20:55:47.280Z] ---> 89b0c9b5598a [2024-11-01T20:55:47.280Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T20:55:47.547Z] ---> Running in f5b2e32e3173 [2024-11-01T20:55:47.815Z] Removing intermediate container f5b2e32e3173 [2024-11-01T20:55:47.815Z] ---> 48037c9a30e8 [2024-11-01T20:55:47.815Z] Step 24/26 : LABEL arch=arm64 [2024-11-01T20:55:47.815Z] ---> Running in 21869bebb27b [2024-11-01T20:55:48.084Z] Removing intermediate container 21869bebb27b [2024-11-01T20:55:48.084Z] ---> 228bb2a874a0 [2024-11-01T20:55:48.084Z] Step 25/26 : LABEL git_sha=75b5407f82ae978852c7aa1e7ca30deba2e02a81 [2024-11-01T20:55:48.351Z] ---> Running in e3d28d95ee53 [2024-11-01T20:55:48.619Z] Removing intermediate container e3d28d95ee53 [2024-11-01T20:55:48.619Z] ---> cd8ced7b438b [2024-11-01T20:55:48.619Z] Step 26/26 : LABEL version=0.0.0 [2024-11-01T20:55:48.619Z] ---> Running in c1035cb303bc [2024-11-01T20:55:48.886Z] Removing intermediate container c1035cb303bc [2024-11-01T20:55:48.886Z] ---> f90d3a8d563f [2024-11-01T20:55:48.886Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T20:55:48.886Z] Successfully built f90d3a8d563f [2024-11-01T20:55:48.886Z] 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-01T20:55:50.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T20:55:50.983Z] [2024-11-01T20:55:50.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:55:51.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T20:55:51.408Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-01T20:55:51.408Z] 8998bd30e6a1: Pulling fs layer [2024-11-01T20:55:51.408Z] 04944245beec: Pulling fs layer [2024-11-01T20:55:51.408Z] 699f458cf7ca: Pulling fs layer [2024-11-01T20:55:51.408Z] 765212b225bb: Pulling fs layer [2024-11-01T20:55:51.408Z] f23df028b6ca: Pulling fs layer [2024-11-01T20:55:51.408Z] d65c8cfc05b1: Pulling fs layer [2024-11-01T20:55:51.408Z] 2437ff75d9bd: Pulling fs layer [2024-11-01T20:55:51.408Z] 765212b225bb: Waiting [2024-11-01T20:55:51.408Z] f23df028b6ca: Waiting [2024-11-01T20:55:51.408Z] d65c8cfc05b1: Waiting [2024-11-01T20:55:51.408Z] 2437ff75d9bd: Waiting [2024-11-01T20:55:51.677Z] 04944245beec: Verifying Checksum [2024-11-01T20:55:51.677Z] 04944245beec: Download complete [2024-11-01T20:55:51.677Z] 765212b225bb: Download complete [2024-11-01T20:55:51.677Z] f23df028b6ca: Download complete [2024-11-01T20:55:51.677Z] d65c8cfc05b1: Verifying Checksum [2024-11-01T20:55:51.677Z] d65c8cfc05b1: Download complete [2024-11-01T20:55:51.946Z] 699f458cf7ca: Verifying Checksum [2024-11-01T20:55:51.946Z] 699f458cf7ca: Download complete [2024-11-01T20:55:52.214Z] 8998bd30e6a1: Verifying Checksum [2024-11-01T20:55:52.214Z] 8998bd30e6a1: Download complete [2024-11-01T20:55:54.803Z] 2437ff75d9bd: Verifying Checksum [2024-11-01T20:55:54.803Z] 2437ff75d9bd: Download complete [2024-11-01T20:55:56.757Z] 8998bd30e6a1: Pull complete [2024-11-01T20:55:57.338Z] 04944245beec: Pull complete [2024-11-01T20:55:59.284Z] 699f458cf7ca: Pull complete [2024-11-01T20:55:59.284Z] 765212b225bb: Pull complete [2024-11-01T20:55:59.866Z] f23df028b6ca: Pull complete [2024-11-01T20:56:00.132Z] d65c8cfc05b1: Pull complete [2024-11-01T20:56:18.339Z] 2437ff75d9bd: Pull complete [2024-11-01T20:56:18.339Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-01T20:56:18.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T20:56:18.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:56:18.696Z] prd-ubuntu20.04-docker-arm64-4c-16g-24359 does not seem to be running inside a container [2024-11-01T20:56:18.750Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-01T20:56:21.340Z] $ docker top 45d3256f184012243f544b1a851a87d229d61339bbca3df53ba9411c7854050d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:22.253Z] ---> job-cost.sh [2024-11-01T20:56:22.253Z] lf-activate-venv: SKIPPING [2024-11-01T20:56:22.253Z] INFO: No Stack... [2024-11-01T20:56:22.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-01T20:56:23.413Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T20:56:23.837Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-11-01T20:56:23.838Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T20:56:24.213Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [2024-11-01T20:56:24.220Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] did not exist. Created. [2024-11-01T20:56:24.228Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T20:56:24.709Z] /w/workspace/device-rest-go/1@tmp/durable-5cb01829/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-01T20:56:25.115Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-01T20:56:25.171Z] Warning: overwriting stash ‘stack-cost’ [2024-11-01T20:56:25.227Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T20:56:25.250Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T20:56:25.349Z] $ docker stop --time=1 45d3256f184012243f544b1a851a87d229d61339bbca3df53ba9411c7854050d [2024-11-01T20:56:26.809Z] $ docker rm -f --volumes 45d3256f184012243f544b1a851a87d229d61339bbca3df53ba9411c7854050d [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-01T20:56:28.027Z] provisioning config files... [2024-11-01T20:56:28.036Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config4410167049319824977tmp [Pipeline] { [Pipeline] sh [2024-11-01T20:56:28.400Z] + set +x [2024-11-01T20:56:28.400Z] + curl -s https://codecov.io/bash [2024-11-01T20:56:28.400Z] + bash -s -- [2024-11-01T20:56:28.400Z] [2024-11-01T20:56:28.400Z] _____ _ [2024-11-01T20:56:28.400Z] / ____| | | [2024-11-01T20:56:28.400Z] | | ___ __| | ___ ___ _____ __ [2024-11-01T20:56:28.400Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-01T20:56:28.400Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-01T20:56:28.400Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-01T20:56:28.400Z] Bash-1.0.6 [2024-11-01T20:56:28.401Z] [2024-11-01T20:56:28.401Z] [2024-11-01T20:56:28.401Z] ==> git version 2.25.1 found [2024-11-01T20:56:28.401Z] ==> 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-01T20:56:28.401Z] Release-Date: 2020-01-08 [2024-11-01T20:56:28.401Z] 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-01T20:56:28.401Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-01T20:56:28.401Z] ==> Jenkins CI detected. [2024-11-01T20:56:28.401Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-424 [2024-11-01T20:56:28.401Z] project root: . [2024-11-01T20:56:28.401Z] --> token set from env [2024-11-01T20:56:28.401Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-01T20:56:28.401Z] ==> Running gcov in . (disable via -X gcov) [2024-11-01T20:56:28.401Z] ==> Python coveragepy not found [2024-11-01T20:56:28.401Z] ==> Searching for coverage reports in: [2024-11-01T20:56:28.401Z] + . [2024-11-01T20:56:28.401Z] -> Found 1 reports [2024-11-01T20:56:28.401Z] ==> Detecting git/mercurial file structure [2024-11-01T20:56:28.661Z] ==> Reading reports [2024-11-01T20:56:28.661Z] + ./coverage.out bytes=14565 [2024-11-01T20:56:28.661Z] ==> Appending adjustments [2024-11-01T20:56:28.661Z] https://docs.codecov.io/docs/fixing-reports [2024-11-01T20:56:28.661Z] + Found adjustments [2024-11-01T20:56:28.661Z] ==> Gzipping contents [2024-11-01T20:56:28.661Z] 4.0K /tmp/codecov.MZOu8r.gz [2024-11-01T20:56:28.661Z] ==> Uploading reports [2024-11-01T20:56:28.661Z] url: https://codecov.io [2024-11-01T20:56:28.662Z] query: branch=PR-424&commit=75b5407f82ae978852c7aa1e7ca30deba2e02a81&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=424&job=&cmd_args= [2024-11-01T20:56:28.662Z] -> Pinging Codecov [2024-11-01T20:56:28.662Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-424&commit=75b5407f82ae978852c7aa1e7ca30deba2e02a81&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=424&job=&cmd_args= [2024-11-01T20:56:28.920Z] -> Uploading to [2024-11-01T20:56:28.920Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/75b5407f82ae978852c7aa1e7ca30deba2e02a81/dc5d6946-4df6-4da3-a855-bec33ee72d4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T205628Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=30e3a576bdbb8bab12cc8a11fdd70abd7b75f597ba4869921436e88471bf375c [2024-11-01T20:56:28.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T20:56:28.920Z] Dload Upload Total Spent Left Speed [2024-11-01T20:56:29.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 9736 --:--:-- --:--:-- --:--:-- 9736 [2024-11-01T20:56:29.180Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] } [2024-11-01T20:56:29.211Z] 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-01T20:56:31.404Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-424/archives ] [2024-11-01T20:56:31.404Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-424/archives [2024-11-01T20:56:31.404Z] total 16 [2024-11-01T20:56:31.404Z] drwxr-xr-x 3 root root 4096 Nov 1 20:45 . [2024-11-01T20:56:31.404Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 20:45 .. [2024-11-01T20:56:31.404Z] drwxr-xr-x 2 root root 4096 Nov 1 20:45 cost [2024-11-01T20:56:31.404Z] -rw-r--r-- 1 root root 86 Nov 1 20:45 cost.csv [2024-11-01T20:56:31.404Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-424/archives [2024-11-01T20:56:31.404Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-424/archives [2024-11-01T20:56:31.404Z] total 16 [2024-11-01T20:56:31.404Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:45 . [2024-11-01T20:56:31.404Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 20:45 .. [2024-11-01T20:56:31.404Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 20:45 cost [2024-11-01T20:56:31.404Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:31.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:32.653Z] ---> package-listing.sh [2024-11-01T20:56:32.653Z] ++ facter osfamily [2024-11-01T20:56:32.653Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-01T20:56:32.913Z] + OS_FAMILY=debian [2024-11-01T20:56:32.913Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-424 [2024-11-01T20:56:32.913Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-01T20:56:32.913Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-01T20:56:32.913Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-01T20:56:32.913Z] + PACKAGES=/tmp/packages_start.txt [2024-11-01T20:56:32.913Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-424 ']' [2024-11-01T20:56:32.913Z] + PACKAGES=/tmp/packages_end.txt [2024-11-01T20:56:32.913Z] + case "${OS_FAMILY}" in [2024-11-01T20:56:32.913Z] + dpkg -l [2024-11-01T20:56:32.913Z] + grep '^ii' [2024-11-01T20:56:32.913Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-01T20:56:32.913Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-01T20:56:32.913Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-01T20:56:32.913Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-424 ']' [2024-11-01T20:56:32.913Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-424/archives/ [2024-11-01T20:56:32.913Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-424/archives/ [Pipeline] echo [2024-11-01T20:56:32.955Z] 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-424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-01T20:56:33.253Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T20:56:33.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T20:56:33.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T20:56:34.087Z] prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container [2024-11-01T20:56:34.172Z] $ 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-424/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-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@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-lftools-log-publisher:latest cat [2024-11-01T20:56:34.434Z] $ docker top dab63ea6c3fb2859a2d53b10d1a137c667639904c5d0109e503d7a468477d4b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T20:56:34.906Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-01T20:56:35.247Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-01T20:56:35.570Z] + ls /var/log/sa-host [2024-11-01T20:56:35.570Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T20:56:35.866Z] provisioning config files... [2024-11-01T20:56:35.876Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config6040131580897177590tmp [Pipeline] { [Pipeline] echo [2024-11-01T20:56:35.946Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:36.280Z] ---> create-netrc.sh [Pipeline] } [2024-11-01T20:56:36.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:36.756Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-01T20:56:36.798Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:37.127Z] ---> sudo-logs.sh [2024-11-01T20:56:37.127Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-01T20:56:37.244Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:37.571Z] ---> job-cost.sh [2024-11-01T20:56:37.572Z] lf-activate-venv: SKIPPING [2024-11-01T20:56:37.572Z] DEBUG: total: 0.2199999988079071 [2024-11-01T20:56:37.572Z] INFO: Retrieving Stack Cost... [2024-11-01T20:56:37.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T20:56:38.092Z] INFO: Archiving Costs [Pipeline] echo [2024-11-01T20:56:38.145Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T20:56:38.484Z] ---> logs-deploy.sh [2024-11-01T20:56:38.484Z] lf-activate-venv: SKIPPING [2024-11-01T20:56:38.484Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-424/1 [2024-11-01T20:56:38.484Z] INFO: archiving workspace using pattern(s): [2024-11-01T20:56:39.422Z] Archives upload complete. [2024-11-01T20:56:39.422Z] INFO: archiving logs to Nexus