Pull request #421 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82+dc396c4a7312713bf5afd7bf9e2532e3e112802c (4b95f7eafb7878bacbbee2222e0071801c58eb1e) 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-ssh16755221416495995514.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-ssh17412969240277347618.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-421/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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13677898850337452561.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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11579453572644027511.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-ssh12644322313581089111.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-421/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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8011621718297029682.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-23542 in /w/workspace/gexfoundry_device-rest-go_PR-421 [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-421 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc396c4a7312713bf5afd7bf9e2532e3e112802c into PR head commit 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 Merge succeeded, producing 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 Checking out Revision 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 (PR-421) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 # 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 dc396c4a7312713bf5afd7bf9e2532e3e112802c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-22T20:29:19.943Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-22T20:29:20.175Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-22T20:29:20.297Z] ========================================================= [2024-10-22T20:29:20.297Z] EdgeX Global Pipelines Version Info [2024-10-22T20:29:20.297Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:29:21.061Z] ------------------- [2024-10-22T20:29:21.061Z] stable info: [2024-10-22T20:29:21.061Z] ------------------- [2024-10-22T20:29:21.061Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-22T20:29:21.061Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-22T20:29:21.061Z] Message: update stable to v1.0.265 [2024-10-22T20:29:21.631Z] ------------------- [2024-10-22T20:29:21.631Z] experimental info: [2024-10-22T20:29:21.631Z] ------------------- [2024-10-22T20:29:21.631Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-22T20:29:21.631Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-22T20:29:21.631Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-22T20:29:21.837Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-22T20:29:21.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-22T20:29:21.952Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-22T20:29:22.008Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-22T20:29:22.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-22T20:29:22.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-22T20:29:22.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-22T20:29:22.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-22T20:29:22.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-22T20:29:22.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-22T20:29:22.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-22T20:29:22.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-22T20:29:22.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-22T20:29:22.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-22T20:29:22.636Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T20:29:22.764Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T20:29:22.821Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T20:29:22.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T20:29:22.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-22T20:29:22.991Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-22T20:29:23.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-22T20:29:23.104Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-22T20:29:23.158Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-22T20:29:23.216Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-22T20:29:23.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-22T20:29:23.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-22T20:29:23.387Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-22T20:29:23.443Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo [2024-10-22T20:29:23.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo [2024-10-22T20:29:23.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo [2024-10-22T20:29:23.605Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [Pipeline] echo [2024-10-22T20:29:23.666Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84c55c8 [Pipeline] echo [2024-10-22T20:29:23.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T20:29:23.861Z] provisioning config files... [2024-10-22T20:29:23.875Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-421@tmp/config8157726362257590980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:29:24.258Z] ---> ****-login.sh [2024-10-22T20:29:24.258Z] nexus3.edgexfoundry.org:10001 [2024-10-22T20:29:24.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:24.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:24.518Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:24.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:24.518Z] [2024-10-22T20:29:24.518Z] Login Succeeded [2024-10-22T20:29:24.518Z] nexus3.edgexfoundry.org:10002 [2024-10-22T20:29:24.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:24.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:24.779Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:24.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:24.779Z] [2024-10-22T20:29:24.779Z] Login Succeeded [2024-10-22T20:29:24.779Z] nexus3.edgexfoundry.org:10003 [2024-10-22T20:29:24.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:24.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:24.780Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:24.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:24.780Z] [2024-10-22T20:29:24.780Z] Login Succeeded [2024-10-22T20:29:24.780Z] nexus3.edgexfoundry.org:10004 [2024-10-22T20:29:24.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:25.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:25.041Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:25.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:25.041Z] [2024-10-22T20:29:25.041Z] Login Succeeded [2024-10-22T20:29:25.041Z] ****.io [2024-10-22T20:29:25.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:25.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:25.301Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:25.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:25.301Z] [2024-10-22T20:29:25.301Z] Login Succeeded [2024-10-22T20:29:25.301Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T20:29:25.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-22T20:29:26.025Z] + git rev-list -1 --merges 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82~1..84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [Pipeline] echo [2024-10-22T20:29:26.076Z] -----------> git rev-list -1 --merges 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82~1..84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [false] [Pipeline] sh [2024-10-22T20:29:26.398Z] + git log --format=format:%s -1 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [Pipeline] echo [2024-10-22T20:29:26.442Z] ========================================================= [2024-10-22T20:29:26.442Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T20:29:26.442Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T20:29:26.909Z] + git log --format=format:%s -1 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [Pipeline] echo [2024-10-22T20:29:26.950Z] [semverPrep] GIT_COMMIT: 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-22T20:29:26.994Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-22T20:29:27.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-22T20:29:27.415Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-22T20:29:27.415Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-22T20:29:27.415Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-22T20:29:27.415Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-22T20:29:27.415Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-22T20:29:27.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:29:27.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T20:29:27.940Z] [2024-10-22T20:29:27.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:29:28.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T20:29:28.344Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-22T20:29:28.344Z] b85a868b505f: Pulling fs layer [2024-10-22T20:29:28.344Z] e2be974225ed: Pulling fs layer [2024-10-22T20:29:28.344Z] 339a4e72a1f5: Pulling fs layer [2024-10-22T20:29:28.344Z] 988bab9f4d93: Pulling fs layer [2024-10-22T20:29:28.344Z] 1469e6f7b9e6: Pulling fs layer [2024-10-22T20:29:28.344Z] eaf3925da568: Pulling fs layer [2024-10-22T20:29:28.344Z] bab4dde63d76: Pulling fs layer [2024-10-22T20:29:28.344Z] bde34c3a00c8: Pulling fs layer [2024-10-22T20:29:28.344Z] b352a97aabf1: Pulling fs layer [2024-10-22T20:29:28.344Z] 4872d77fe225: Pulling fs layer [2024-10-22T20:29:28.344Z] 1469e6f7b9e6: Waiting [2024-10-22T20:29:28.344Z] eaf3925da568: Waiting [2024-10-22T20:29:28.344Z] b352a97aabf1: Waiting [2024-10-22T20:29:28.344Z] bab4dde63d76: Waiting [2024-10-22T20:29:28.344Z] 4872d77fe225: Waiting [2024-10-22T20:29:28.344Z] bde34c3a00c8: Waiting [2024-10-22T20:29:28.344Z] 5851b861e8e6: Pulling fs layer [2024-10-22T20:29:28.344Z] 5851b861e8e6: Waiting [2024-10-22T20:29:28.344Z] e2be974225ed: Download complete [2024-10-22T20:29:28.344Z] 988bab9f4d93: Verifying Checksum [2024-10-22T20:29:28.344Z] 988bab9f4d93: Download complete [2024-10-22T20:29:28.604Z] 1469e6f7b9e6: Verifying Checksum [2024-10-22T20:29:28.604Z] 1469e6f7b9e6: Download complete [2024-10-22T20:29:28.604Z] 339a4e72a1f5: Download complete [2024-10-22T20:29:28.604Z] eaf3925da568: Verifying Checksum [2024-10-22T20:29:28.604Z] eaf3925da568: Download complete [2024-10-22T20:29:28.604Z] bde34c3a00c8: Verifying Checksum [2024-10-22T20:29:28.604Z] bde34c3a00c8: Download complete [2024-10-22T20:29:28.604Z] b352a97aabf1: Verifying Checksum [2024-10-22T20:29:28.604Z] b352a97aabf1: Download complete [2024-10-22T20:29:28.604Z] 4872d77fe225: Verifying Checksum [2024-10-22T20:29:28.604Z] 4872d77fe225: Download complete [2024-10-22T20:29:28.604Z] 5851b861e8e6: Verifying Checksum [2024-10-22T20:29:28.604Z] 5851b861e8e6: Download complete [2024-10-22T20:29:28.604Z] b85a868b505f: Verifying Checksum [2024-10-22T20:29:28.604Z] b85a868b505f: Download complete [2024-10-22T20:29:28.863Z] bab4dde63d76: Verifying Checksum [2024-10-22T20:29:28.863Z] bab4dde63d76: Download complete [2024-10-22T20:29:29.800Z] b85a868b505f: Pull complete [2024-10-22T20:29:30.060Z] e2be974225ed: Pull complete [2024-10-22T20:29:30.634Z] 339a4e72a1f5: Pull complete [2024-10-22T20:29:30.634Z] 988bab9f4d93: Pull complete [2024-10-22T20:29:30.907Z] 1469e6f7b9e6: Pull complete [2024-10-22T20:29:30.907Z] eaf3925da568: Pull complete [2024-10-22T20:29:32.819Z] bab4dde63d76: Pull complete [2024-10-22T20:29:32.819Z] bde34c3a00c8: Pull complete [2024-10-22T20:29:32.819Z] b352a97aabf1: Pull complete [2024-10-22T20:29:32.819Z] 4872d77fe225: Pull complete [2024-10-22T20:29:33.079Z] 5851b861e8e6: Pull complete [2024-10-22T20:29:33.079Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-22T20:29:33.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T20:29:33.079Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:29:33.351Z] prd-ubuntu20.04-docker-8c-8g-23542 does not seem to be running inside a container [2024-10-22T20:29:33.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-421 -v /w/workspace/gexfoundry_device-rest-go_PR-421:/w/workspace/gexfoundry_device-rest-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-421@tmp:/w/workspace/gexfoundry_device-rest-go_PR-421@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-10-22T20:29:36.122Z] $ docker top d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 -eo pid,comm [2024-10-22T20:29:36.181Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-22T20:29:36.181Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-22T20:29:36.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T20:29:36.355Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T20:29:36.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T20:29:36.462Z] $ docker exec d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 ssh-agent [2024-10-22T20:29:36.580Z] SSH_AUTH_SOCK=/tmp/ssh-0w3pDXKR6tSJ/agent.31 [2024-10-22T20:29:36.580Z] SSH_AGENT_PID=37 [2024-10-22T20:29:36.586Z] Running ssh-add (command line suppressed) [2024-10-22T20:29:36.682Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-421@tmp/private_key_7729049234570373067.key (/w/workspace/gexfoundry_device-rest-go_PR-421@tmp/private_key_7729049234570373067.key) [2024-10-22T20:29:36.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T20:29:37.051Z] + git tag --points-at HEAD [Pipeline] } [2024-10-22T20:29:37.079Z] $ docker exec --env ******** --env ******** d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 ssh-agent -k [2024-10-22T20:29:37.174Z] unset SSH_AUTH_SOCK; [2024-10-22T20:29:37.174Z] unset SSH_AGENT_PID; [2024-10-22T20:29:37.174Z] echo Agent pid 37 killed; [2024-10-22T20:29:37.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-22T20:29:37.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T20:29:37.304Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T20:29:37.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T20:29:37.414Z] $ docker exec d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 ssh-agent [2024-10-22T20:29:37.515Z] SSH_AUTH_SOCK=/tmp/ssh-jhyokNqm2I3A/agent.70 [2024-10-22T20:29:37.515Z] SSH_AGENT_PID=76 [2024-10-22T20:29:37.519Z] Running ssh-add (command line suppressed) [2024-10-22T20:29:37.615Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-421@tmp/private_key_17736867495001004460.key (/w/workspace/gexfoundry_device-rest-go_PR-421@tmp/private_key_17736867495001004460.key) [2024-10-22T20:29:37.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T20:29:37.973Z] + git semver init [2024-10-22T20:29:38.231Z] 2024-10-22 20:29:38,140 [run_init] DEBUG init version:0.0.0 force:False [2024-10-22T20:29:38.231Z] 2024-10-22 20:29:38,141 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-421/.semver [2024-10-22T20:29:38.231Z] 2024-10-22 20:29:38,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-421/.semver [2024-10-22T20:29:38.231Z] 2024-10-22 20:29:38,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-421/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-421, universal_newlines=False, shell=None, istream=None) [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,370 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-421/.git/info/exclude [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-421/.semver/PR-421 with force:False [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,371 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-421/.semver/PR-421 [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,375 [execute] INFO git cat-file --batch-check [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,382 [execute] INFO git cat-file --batch [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T20:29:39.611Z] 2024-10-22 20:29:39,389 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-421/.semver/PR-421 [2024-10-22T20:29:39.611Z] 0.0.0 [Pipeline] } [2024-10-22T20:29:39.638Z] $ docker exec --env ******** --env ******** d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 ssh-agent -k [2024-10-22T20:29:39.739Z] unset SSH_AUTH_SOCK; [2024-10-22T20:29:39.740Z] unset SSH_AGENT_PID; [2024-10-22T20:29:39.740Z] echo Agent pid 76 killed; [2024-10-22T20:29:39.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-22T20:29:40.209Z] + git semver [Pipeline] } [2024-10-22T20:29:40.497Z] $ docker stop --time=1 d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 [2024-10-22T20:29:41.776Z] $ docker rm -f --volumes d0f8df91dda180bc5fb85c979d4a34fade24d9c450585700b2fd4b1c1dc2cd33 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T20:29:42.199Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-22T20:29:42.486Z] Stashed 1 file(s) [Pipeline] echo [2024-10-22T20:29:42.512Z] [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-10-22T20:29:43.202Z] provisioning config files... [2024-10-22T20:29:43.211Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-421@tmp/config16272752580198839655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:29:43.579Z] ---> ****-login.sh [2024-10-22T20:29:43.579Z] nexus3.edgexfoundry.org:10001 [2024-10-22T20:29:43.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:43.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:43.579Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:43.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:43.579Z] [2024-10-22T20:29:43.580Z] Login Succeeded [2024-10-22T20:29:43.580Z] nexus3.edgexfoundry.org:10002 [2024-10-22T20:29:43.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:43.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:43.580Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:43.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:43.580Z] [2024-10-22T20:29:43.580Z] Login Succeeded [2024-10-22T20:29:43.580Z] nexus3.edgexfoundry.org:10003 [2024-10-22T20:29:43.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:43.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:43.840Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:43.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:43.840Z] [2024-10-22T20:29:43.840Z] Login Succeeded [2024-10-22T20:29:43.840Z] nexus3.edgexfoundry.org:10004 [2024-10-22T20:29:43.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:43.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:43.841Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:43.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:43.841Z] [2024-10-22T20:29:43.841Z] Login Succeeded [2024-10-22T20:29:43.841Z] ****.io [2024-10-22T20:29:43.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:29:44.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:29:44.101Z] Configure a credential helper to remove this warning. See [2024-10-22T20:29:44.102Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:29:44.102Z] [2024-10-22T20:29:44.102Z] Login Succeeded [2024-10-22T20:29:44.102Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T20:29:44.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T20:29:44.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T20:29:44.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T20:29:44.452Z] ========================================================= [2024-10-22T20:29:44.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-22T20:29:44.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:29:44.981Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T20:29:44.981Z] Sending build context to Docker daemon 16.62MB [2024-10-22T20:29:44.981Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T20:29:44.981Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-22T20:29:44.981Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-22T20:29:44.981Z] 43c4264eed91: Pulling fs layer [2024-10-22T20:29:44.981Z] 4cc291be95ef: Pulling fs layer [2024-10-22T20:29:44.981Z] 2ac1f1163629: Pulling fs layer [2024-10-22T20:29:44.981Z] 5c3c966382ef: Pulling fs layer [2024-10-22T20:29:44.981Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T20:29:44.981Z] 5d5c8e513c77: Pulling fs layer [2024-10-22T20:29:44.981Z] 9f66e0745190: Pulling fs layer [2024-10-22T20:29:44.981Z] f49a43e4bbc0: Pulling fs layer [2024-10-22T20:29:44.981Z] 561ebcabdf7f: Pulling fs layer [2024-10-22T20:29:44.981Z] 5d5c8e513c77: Waiting [2024-10-22T20:29:44.981Z] 9f66e0745190: Waiting [2024-10-22T20:29:44.981Z] 4f4fb700ef54: Waiting [2024-10-22T20:29:44.981Z] f49a43e4bbc0: Waiting [2024-10-22T20:29:44.981Z] 5c3c966382ef: Waiting [2024-10-22T20:29:44.981Z] 561ebcabdf7f: Waiting [2024-10-22T20:29:45.240Z] 4cc291be95ef: Download complete [2024-10-22T20:29:45.240Z] 5c3c966382ef: Verifying Checksum [2024-10-22T20:29:45.240Z] 5c3c966382ef: Download complete [2024-10-22T20:29:45.240Z] 4f4fb700ef54: Download complete [2024-10-22T20:29:45.240Z] 5d5c8e513c77: Verifying Checksum [2024-10-22T20:29:45.240Z] 5d5c8e513c77: Download complete [2024-10-22T20:29:45.240Z] 9f66e0745190: Verifying Checksum [2024-10-22T20:29:45.240Z] 9f66e0745190: Download complete [2024-10-22T20:29:45.240Z] 43c4264eed91: Pull complete [2024-10-22T20:29:45.499Z] 561ebcabdf7f: Download complete [2024-10-22T20:29:45.499Z] 4cc291be95ef: Pull complete [2024-10-22T20:29:45.760Z] 2ac1f1163629: Download complete [2024-10-22T20:29:46.020Z] f49a43e4bbc0: Verifying Checksum [2024-10-22T20:29:46.020Z] f49a43e4bbc0: Download complete [2024-10-22T20:29:49.308Z] 2ac1f1163629: Pull complete [2024-10-22T20:29:49.308Z] 5c3c966382ef: Pull complete [2024-10-22T20:29:49.308Z] 4f4fb700ef54: Pull complete [2024-10-22T20:29:49.308Z] 5d5c8e513c77: Pull complete [2024-10-22T20:29:49.569Z] 9f66e0745190: Pull complete [2024-10-22T20:29:51.470Z] f49a43e4bbc0: Pull complete [2024-10-22T20:29:52.036Z] 561ebcabdf7f: Pull complete [2024-10-22T20:29:52.036Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-22T20:29:52.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-22T20:29:52.036Z] ---> 3a752c3f9dda [2024-10-22T20:29:52.036Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-22T20:29:56.230Z] ---> Running in e34dc44747e2 [2024-10-22T20:29:56.489Z] Removing intermediate container e34dc44747e2 [2024-10-22T20:29:56.489Z] ---> 0ac61414bc06 [2024-10-22T20:29:56.489Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T20:29:56.489Z] ---> Running in f1ba1fa4b724 [2024-10-22T20:29:56.489Z] Removing intermediate container f1ba1fa4b724 [2024-10-22T20:29:56.489Z] ---> e5e7a6f2bd90 [2024-10-22T20:29:56.489Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T20:29:56.489Z] ---> Running in 35d2dea4ab84 [2024-10-22T20:29:56.489Z] Removing intermediate container 35d2dea4ab84 [2024-10-22T20:29:56.489Z] ---> 28e8d4da646c [2024-10-22T20:29:56.489Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T20:29:56.489Z] ---> Running in 37c94d0efabb [2024-10-22T20:29:56.749Z] Removing intermediate container 37c94d0efabb [2024-10-22T20:29:56.749Z] ---> 7934641d561d [2024-10-22T20:29:56.749Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T20:29:56.749Z] ---> Running in 0521404fe559 [2024-10-22T20:29:57.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T20:29:57.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T20:29:57.527Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-22T20:29:57.527Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-22T20:29:57.527Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-22T20:29:57.527Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-22T20:29:57.527Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T20:29:57.527Z] OK: 250 MiB in 58 packages [2024-10-22T20:29:57.995Z] Still waiting to schedule task [2024-10-22T20:29:57.995Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-22T20:29:58.094Z] Removing intermediate container 0521404fe559 [2024-10-22T20:29:58.094Z] ---> 7ecb32f239a6 [2024-10-22T20:29:58.094Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-22T20:29:58.094Z] ---> Running in 3d87b9a391d8 [2024-10-22T20:29:58.094Z] Removing intermediate container 3d87b9a391d8 [2024-10-22T20:29:58.094Z] ---> 69a8dd59725d [2024-10-22T20:29:58.094Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-22T20:29:58.353Z] ---> e12bbe797ede [2024-10-22T20:29:58.353Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T20:29:58.353Z] ---> Running in 6279ca722883 [2024-10-22T20:30:54.653Z] Removing intermediate container 6279ca722883 [2024-10-22T20:30:54.653Z] ---> 4f1a64a094ed [2024-10-22T20:30:54.653Z] Step 11/12 : COPY . . [2024-10-22T20:30:54.653Z] ---> 5bdafd6bef65 [2024-10-22T20:30:54.653Z] Step 12/12 : RUN $MAKE [2024-10-22T20:30:54.653Z] ---> Running in a968369e9753 [2024-10-22T20:30:54.653Z] noop [2024-10-22T20:30:54.653Z] Removing intermediate container a968369e9753 [2024-10-22T20:30:54.653Z] ---> 2b3996968df3 [2024-10-22T20:30:54.653Z] Successfully built 2b3996968df3 [2024-10-22T20:30:54.653Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:30:55.158Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T20:30:55.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:30:55.337Z] prd-ubuntu20.04-docker-8c-8g-23542 does not seem to be running inside a container [2024-10-22T20:30:55.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-421 -v /w/workspace/gexfoundry_device-rest-go_PR-421:/w/workspace/gexfoundry_device-rest-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-421@tmp:/w/workspace/gexfoundry_device-rest-go_PR-421@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-10-22T20:30:55.711Z] $ docker top bcb717a3e87fc09d7c6933f41b6d525fd708c8b8f210d2540545c81b19ccb32d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T20:30:56.122Z] + go version [2024-10-22T20:30:56.122Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-22T20:30:56.156Z] $ docker stop --time=1 bcb717a3e87fc09d7c6933f41b6d525fd708c8b8f210d2540545c81b19ccb32d [2024-10-22T20:30:57.407Z] $ docker rm -f --volumes bcb717a3e87fc09d7c6933f41b6d525fd708c8b8f210d2540545c81b19ccb32d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:30:58.202Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T20:30:58.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:30:58.383Z] prd-ubuntu20.04-docker-8c-8g-23542 does not seem to be running inside a container [2024-10-22T20:30:58.414Z] $ 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-421 -v /w/workspace/gexfoundry_device-rest-go_PR-421:/w/workspace/gexfoundry_device-rest-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-421@tmp:/w/workspace/gexfoundry_device-rest-go_PR-421@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-10-22T20:30:58.743Z] $ docker top 27a5a46f6ccb9a7830601205a0323b297d9aae90766149f1705c6eb78b5af42d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T20:30:59.156Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-421 [Pipeline] fileExists [Pipeline] sh [2024-10-22T20:30:59.532Z] + make test [2024-10-22T20:30:59.532Z] go test ./... -coverprofile=coverage.out ./... [2024-10-22T20:31:01.455Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-22T20:31:19.542Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-22T20:31:19.542Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2024-10-22T20:31:27.650Z] go vet ./... [2024-10-22T20:31:28.414Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23543 in /w/workspace/gexfoundry_device-rest-go_PR-421 [Pipeline] { [Pipeline] ws [2024-10-22T20:31:28.491Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-22T20:31:28.585Z] The recommended git tool is: git [2024-10-22T20:31:32.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T20:31:32.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T20:31:32.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T20:31:32.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T20:31:33.008Z] $ docker stop --time=1 27a5a46f6ccb9a7830601205a0323b297d9aae90766149f1705c6eb78b5af42d [2024-10-22T20:31:33.504Z] using credential edgex-jenkins-ssh [2024-10-22T20:31:33.525Z] Cloning the remote Git repository [2024-10-22T20:31:33.569Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-22T20:31:33.674Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-22T20:31:33.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-22T20:31:33.837Z] > git --version # timeout=10 [2024-10-22T20:31:33.860Z] > git --version # 'git version 2.25.1' [2024-10-22T20:31:33.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T20:31:34.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T20:31:37.210Z] $ docker rm -f --volumes 27a5a46f6ccb9a7830601205a0323b297d9aae90766149f1705c6eb78b5af42d [2024-10-22T20:31:36.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-22T20:31:36.783Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T20:31:37.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T20:31:37.877Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-22T20:31:38.171Z] Merging remotes/origin/main commit dc396c4a7312713bf5afd7bf9e2532e3e112802c into PR head commit 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [Pipeline] sh [2024-10-22T20:31:38.420Z] Merge succeeded, producing 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [2024-10-22T20:31:38.420Z] Checking out Revision 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 (PR-421) [2024-10-22T20:31:38.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T20:31:37.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-22T20:31:37.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-22T20:31:37.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T20:31:37.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-22T20:31:38.185Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T20:31:38.253Z] > git checkout -f 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 # timeout=10 [2024-10-22T20:31:38.327Z] > git remote # timeout=10 [2024-10-22T20:31:38.344Z] > git config --get remote.origin.url # timeout=10 [2024-10-22T20:31:38.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T20:31:38.380Z] > git merge dc396c4a7312713bf5afd7bf9e2532e3e112802c # timeout=10 [2024-10-22T20:31:38.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-22T20:31:38.421Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T20:31:38.431Z] > git checkout -f 84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 # timeout=10 [2024-10-22T20:31:38.939Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-22T20:31:38.941Z] + ls -al . [2024-10-22T20:31:38.942Z] total 256 [2024-10-22T20:31:38.942Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 20:31 . [2024-10-22T20:31:38.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 20:29 .. [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 22 20:29 .dockerignore [2024-10-22T20:31:38.942Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 20:31 .git [2024-10-22T20:31:38.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 20:29 .github [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 22 20:29 .gitignore [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 20:29 .golangci.yml [2024-10-22T20:31:38.942Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 20:29 .semver [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 22 20:29 Attribution.txt [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 22 20:29 CHANGELOG.md [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 22 20:29 Dockerfile [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 20:29 GOVERNANCE.md [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 22 20:29 Jenkinsfile [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 20:29 LICENSE [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 22 20:29 Makefile [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 22 20:29 OWNERS.md [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 22 20:29 README.md [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 20:29 VERSION [2024-10-22T20:31:38.942Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 20:29 bin [2024-10-22T20:31:38.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 20:29 cmd [2024-10-22T20:31:38.942Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 22 20:31 coverage.out [2024-10-22T20:31:38.942Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 20:29 driver [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 22 20:29 go.mod [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 22 20:29 go.sum [2024-10-22T20:31:38.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 20:29 openapi [2024-10-22T20:31:38.942Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 22 20:29 version.go [Pipeline] isUnix [2024-10-22T20:31:38.981Z] > git --version # timeout=10 [2024-10-22T20:31:38.991Z] > git --version # 'git version 2.25.1' [2024-10-22T20:31:39.015Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:31:39.365Z] + 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=84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 --label arch=amd64 --label version=0.0.0 . [2024-10-22T20:31:39.365Z] Sending build context to Docker daemon 16.64MB [2024-10-22T20:31:39.365Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T20:31:39.365Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-22T20:31:39.365Z] ---> 2b3996968df3 [2024-10-22T20:31:39.365Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-22T20:31:39.623Z] ---> Running in 55dd21e3ba76 [2024-10-22T20:31:39.623Z] Removing intermediate container 55dd21e3ba76 [2024-10-22T20:31:39.623Z] ---> 2853e1fb1175 [2024-10-22T20:31:39.623Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T20:31:39.623Z] ---> Running in 3b7cb6ddd25b [2024-10-22T20:31:39.882Z] Removing intermediate container 3b7cb6ddd25b [2024-10-22T20:31:39.882Z] ---> 4574d4241f42 [2024-10-22T20:31:39.882Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T20:31:39.882Z] ---> Running in 96ca0020ef21 [2024-10-22T20:31:39.882Z] Removing intermediate container 96ca0020ef21 [2024-10-22T20:31:39.882Z] ---> bcb89c8351c6 [2024-10-22T20:31:39.882Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T20:31:39.882Z] ---> Running in e15f5d3a6480 [2024-10-22T20:31:39.882Z] Removing intermediate container e15f5d3a6480 [2024-10-22T20:31:39.882Z] ---> d19bd2085a78 [2024-10-22T20:31:39.882Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T20:31:39.882Z] ---> Running in acccc5171dbe [2024-10-22T20:31:40.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T20:31:40.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T20:31:40.662Z] OK: 250 MiB in 58 packages [2024-10-22T20:31:41.230Z] Removing intermediate container acccc5171dbe [2024-10-22T20:31:41.230Z] ---> b9d542e54d6e [2024-10-22T20:31:41.230Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-22T20:31:41.230Z] ---> Running in 36678b77c801 [2024-10-22T20:31:41.230Z] Removing intermediate container 36678b77c801 [2024-10-22T20:31:41.230Z] ---> 505b0a6fa299 [2024-10-22T20:31:41.230Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-22T20:31:41.230Z] ---> f617d73af465 [2024-10-22T20:31:41.230Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T20:31:41.230Z] ---> Running in b973232fe2a3 [2024-10-22T20:31:42.463Z] Removing intermediate container b973232fe2a3 [2024-10-22T20:31:42.463Z] ---> 36191cb718e9 [2024-10-22T20:31:42.463Z] Step 11/26 : COPY . . [2024-10-22T20:31:42.723Z] ---> c85dbdbac381 [2024-10-22T20:31:42.723Z] Step 12/26 : RUN $MAKE [2024-10-22T20:31:42.723Z] ---> Running in 0136773461e3 [2024-10-22T20:31:42.980Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T20:31:43.952Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-22T20:31:43.952Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T20:31:43.952Z] Dload Upload Total Spent Left Speed [2024-10-22T20:31:43.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-10-22T20:31:44.307Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-22T20:31:44.662Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-22T20:31:44.662Z] + sudo tee /etc/docker/daemon.new [2024-10-22T20:31:44.662Z] { [2024-10-22T20:31:44.662Z] "registry-mirrors": [ [2024-10-22T20:31:44.662Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-22T20:31:44.662Z] ], [2024-10-22T20:31:44.662Z] "bip": "10.250.0.254/24", [2024-10-22T20:31:44.662Z] "hosts": [ [2024-10-22T20:31:44.662Z] "tcp://0.0.0.0:5555", [2024-10-22T20:31:44.662Z] "unix:///var/run/docker.sock" [2024-10-22T20:31:44.662Z] ], [2024-10-22T20:31:44.662Z] "mtu": 1458, [2024-10-22T20:31:44.662Z] "selinux-enabled": true, [2024-10-22T20:31:44.662Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-22T20:31:44.662Z] } [Pipeline] sh [2024-10-22T20:31:45.016Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-22T20:31:45.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T20:32:03.711Z] provisioning config files... [2024-10-22T20:32:03.740Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2359855751455562859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:32:04.228Z] ---> ****-login.sh [2024-10-22T20:32:04.228Z] nexus3.edgexfoundry.org:10001 [2024-10-22T20:32:04.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:32:04.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:32:04.769Z] Configure a credential helper to remove this warning. See [2024-10-22T20:32:04.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:32:04.770Z] [2024-10-22T20:32:04.770Z] Login Succeeded [2024-10-22T20:32:04.770Z] nexus3.edgexfoundry.org:10002 [2024-10-22T20:32:05.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:32:05.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:32:05.308Z] Configure a credential helper to remove this warning. See [2024-10-22T20:32:05.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:32:05.308Z] [2024-10-22T20:32:05.308Z] Login Succeeded [2024-10-22T20:32:05.309Z] nexus3.edgexfoundry.org:10003 [2024-10-22T20:32:05.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:32:05.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:32:05.582Z] Configure a credential helper to remove this warning. See [2024-10-22T20:32:05.582Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:32:05.582Z] [2024-10-22T20:32:05.582Z] Login Succeeded [2024-10-22T20:32:05.582Z] nexus3.edgexfoundry.org:10004 [2024-10-22T20:32:05.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:32:05.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:32:05.853Z] Configure a credential helper to remove this warning. See [2024-10-22T20:32:05.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:32:05.853Z] [2024-10-22T20:32:05.853Z] Login Succeeded [2024-10-22T20:32:05.853Z] ****.io [2024-10-22T20:32:06.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T20:32:06.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T20:32:06.397Z] Configure a credential helper to remove this warning. See [2024-10-22T20:32:06.397Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T20:32:06.397Z] [2024-10-22T20:32:06.397Z] Login Succeeded [2024-10-22T20:32:06.397Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T20:32:06.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T20:32:06.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T20:32:06.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T20:32:06.954Z] ========================================================= [2024-10-22T20:32:06.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-22T20:32:06.954Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:32:07.491Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T20:32:07.492Z] Sending build context to Docker daemon 140.8kB [2024-10-22T20:32:07.761Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T20:32:07.761Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-22T20:32:07.761Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-22T20:32:07.761Z] cf04c63912e1: Pulling fs layer [2024-10-22T20:32:07.761Z] 55b35a11ae5e: Pulling fs layer [2024-10-22T20:32:07.761Z] a37a00ec5f00: Pulling fs layer [2024-10-22T20:32:07.761Z] 50b3750afda1: Pulling fs layer [2024-10-22T20:32:07.761Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T20:32:07.761Z] 80978eb59214: Pulling fs layer [2024-10-22T20:32:07.761Z] c9f46d7d2bd2: Pulling fs layer [2024-10-22T20:32:07.761Z] c5a475d317c9: Pulling fs layer [2024-10-22T20:32:07.761Z] 4f4fb700ef54: Waiting [2024-10-22T20:32:07.761Z] 80978eb59214: Waiting [2024-10-22T20:32:07.761Z] 50b3750afda1: Waiting [2024-10-22T20:32:07.761Z] c9f46d7d2bd2: Waiting [2024-10-22T20:32:07.761Z] c5a475d317c9: Waiting [2024-10-22T20:32:07.761Z] 55b35a11ae5e: Download complete [2024-10-22T20:32:08.032Z] 50b3750afda1: Verifying Checksum [2024-10-22T20:32:08.032Z] 50b3750afda1: Download complete [2024-10-22T20:32:08.032Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T20:32:08.032Z] 4f4fb700ef54: Download complete [2024-10-22T20:32:08.032Z] 80978eb59214: Verifying Checksum [2024-10-22T20:32:08.032Z] 80978eb59214: Download complete [2024-10-22T20:32:08.032Z] cf04c63912e1: Verifying Checksum [2024-10-22T20:32:08.032Z] cf04c63912e1: Download complete [2024-10-22T20:32:08.627Z] c5a475d317c9: Verifying Checksum [2024-10-22T20:32:08.627Z] c5a475d317c9: Download complete [2024-10-22T20:32:08.900Z] cf04c63912e1: Pull complete [2024-10-22T20:32:09.488Z] 55b35a11ae5e: Pull complete [2024-10-22T20:32:10.075Z] a37a00ec5f00: Verifying Checksum [2024-10-22T20:32:10.075Z] a37a00ec5f00: Download complete [2024-10-22T20:32:10.678Z] c9f46d7d2bd2: Verifying Checksum [2024-10-22T20:32:10.678Z] c9f46d7d2bd2: Download complete [2024-10-22T20:32:15.050Z] Removing intermediate container 0136773461e3 [2024-10-22T20:32:15.050Z] ---> 175f1429effa [2024-10-22T20:32:15.050Z] Step 13/26 : FROM alpine:3.20 [2024-10-22T20:32:15.308Z] 3.20: Pulling from library/alpine [2024-10-22T20:32:15.308Z] 43c4264eed91: Already exists [2024-10-22T20:32:15.566Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T20:32:15.566Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T20:32:15.566Z] ---> 91ef0af61f39 [2024-10-22T20:32:15.566Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T20:32:15.566Z] ---> Running in 1064cff1512e [2024-10-22T20:32:15.566Z] Removing intermediate container 1064cff1512e [2024-10-22T20:32:15.566Z] ---> 80ea0dd66bd7 [2024-10-22T20:32:15.566Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-22T20:32:15.566Z] ---> Running in 90742f6b5e3a [2024-10-22T20:32:15.825Z] Removing intermediate container 90742f6b5e3a [2024-10-22T20:32:15.825Z] ---> a5f1743d765b [2024-10-22T20:32:15.825Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-22T20:32:15.825Z] ---> Running in d944df0b3a1a [2024-10-22T20:32:16.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T20:32:16.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T20:32:16.343Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T20:32:16.343Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T20:32:16.343Z] OK: 8 MiB in 15 packages [2024-10-22T20:32:16.602Z] Removing intermediate container d944df0b3a1a [2024-10-22T20:32:16.602Z] ---> bc3c8e1a950e [2024-10-22T20:32:16.602Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-22T20:32:16.602Z] ---> Running in def4aea92bee [2024-10-22T20:32:16.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T20:32:16.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T20:32:17.121Z] Upgrading critical system libraries and apk-tools: [2024-10-22T20:32:17.121Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T20:32:17.121Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T20:32:17.381Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T20:32:17.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T20:32:17.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T20:32:17.641Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T20:32:17.641Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T20:32:17.641Z] OK: 8 MiB in 15 packages [2024-10-22T20:32:18.208Z] Removing intermediate container def4aea92bee [2024-10-22T20:32:18.208Z] ---> a743e23238ad [2024-10-22T20:32:18.208Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-22T20:32:19.597Z] ---> b0f5503cb14e [2024-10-22T20:32:19.597Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-22T20:32:19.597Z] ---> 4836010bb19f [2024-10-22T20:32:19.597Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-22T20:32:19.856Z] ---> 166f1ef27896 [2024-10-22T20:32:19.856Z] Step 21/26 : EXPOSE 59986 [2024-10-22T20:32:19.856Z] ---> Running in 343fcf7198af [2024-10-22T20:32:19.856Z] Removing intermediate container 343fcf7198af [2024-10-22T20:32:19.856Z] ---> 89a8ad39bb02 [2024-10-22T20:32:19.856Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-22T20:32:19.856Z] ---> Running in a6dbd4c78bcc [2024-10-22T20:32:19.856Z] Removing intermediate container a6dbd4c78bcc [2024-10-22T20:32:19.856Z] ---> 8ebf13e35da7 [2024-10-22T20:32:19.856Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-22T20:32:19.856Z] ---> Running in fac9f9b2da13 [2024-10-22T20:32:20.115Z] Removing intermediate container fac9f9b2da13 [2024-10-22T20:32:20.115Z] ---> deef65eebb28 [2024-10-22T20:32:20.115Z] Step 24/26 : LABEL arch=amd64 [2024-10-22T20:32:20.115Z] ---> Running in 36a423013ce6 [2024-10-22T20:32:20.115Z] Removing intermediate container 36a423013ce6 [2024-10-22T20:32:20.115Z] ---> bea747c97318 [2024-10-22T20:32:20.116Z] Step 25/26 : LABEL git_sha=84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [2024-10-22T20:32:20.116Z] ---> Running in 537114b2f425 [2024-10-22T20:32:20.116Z] Removing intermediate container 537114b2f425 [2024-10-22T20:32:20.116Z] ---> 0159fcc5a13c [2024-10-22T20:32:20.116Z] Step 26/26 : LABEL version=0.0.0 [2024-10-22T20:32:20.116Z] ---> Running in ecc6214effde [2024-10-22T20:32:20.376Z] Removing intermediate container ecc6214effde [2024-10-22T20:32:20.376Z] ---> 4a3941bd4218 [2024-10-22T20:32:20.376Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T20:32:20.376Z] Successfully built 4a3941bd4218 [2024-10-22T20:32:20.376Z] 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-10-22T20:32:21.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T20:32:21.426Z] [2024-10-22T20:32:21.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:32:21.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T20:32:21.827Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-22T20:32:21.827Z] 5eb5b503b376: Pulling fs layer [2024-10-22T20:32:21.827Z] 5c69ac0246d0: Pulling fs layer [2024-10-22T20:32:21.827Z] ec43610c2a17: Pulling fs layer [2024-10-22T20:32:21.827Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-22T20:32:21.827Z] 33b1e0a273af: Pulling fs layer [2024-10-22T20:32:21.827Z] 5d3b04190fa2: Pulling fs layer [2024-10-22T20:32:21.827Z] 2f39f015ded8: Pulling fs layer [2024-10-22T20:32:21.828Z] 3a2ae6a8a46f: Waiting [2024-10-22T20:32:21.828Z] 33b1e0a273af: Waiting [2024-10-22T20:32:21.828Z] 5d3b04190fa2: Waiting [2024-10-22T20:32:21.828Z] 2f39f015ded8: Waiting [2024-10-22T20:32:21.828Z] 5c69ac0246d0: Verifying Checksum [2024-10-22T20:32:21.828Z] 5c69ac0246d0: Download complete [2024-10-22T20:32:21.828Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-22T20:32:21.828Z] 3a2ae6a8a46f: Download complete [2024-10-22T20:32:21.828Z] 33b1e0a273af: Verifying Checksum [2024-10-22T20:32:21.828Z] 33b1e0a273af: Download complete [2024-10-22T20:32:21.828Z] ec43610c2a17: Verifying Checksum [2024-10-22T20:32:21.828Z] ec43610c2a17: Download complete [2024-10-22T20:32:21.828Z] 5d3b04190fa2: Verifying Checksum [2024-10-22T20:32:21.828Z] 5d3b04190fa2: Download complete [2024-10-22T20:32:22.087Z] 5eb5b503b376: Verifying Checksum [2024-10-22T20:32:22.087Z] 5eb5b503b376: Download complete [2024-10-22T20:32:22.655Z] 2f39f015ded8: Download complete [2024-10-22T20:32:23.222Z] 5eb5b503b376: Pull complete [2024-10-22T20:32:23.222Z] 5c69ac0246d0: Pull complete [2024-10-22T20:32:23.789Z] ec43610c2a17: Pull complete [2024-10-22T20:32:23.789Z] 3a2ae6a8a46f: Pull complete [2024-10-22T20:32:23.789Z] 33b1e0a273af: Pull complete [2024-10-22T20:32:24.048Z] 5d3b04190fa2: Pull complete [2024-10-22T20:32:25.695Z] a37a00ec5f00: Pull complete [2024-10-22T20:32:25.695Z] 50b3750afda1: Pull complete [2024-10-22T20:32:25.695Z] 4f4fb700ef54: Pull complete [2024-10-22T20:32:25.695Z] 80978eb59214: Pull complete [2024-10-22T20:32:27.330Z] 2f39f015ded8: Pull complete [2024-10-22T20:32:27.330Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-22T20:32:27.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T20:32:27.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:32:27.575Z] prd-ubuntu20.04-docker-8c-8g-23542 does not seem to be running inside a container [2024-10-22T20:32:27.600Z] $ 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-421 -v /w/workspace/gexfoundry_device-rest-go_PR-421:/w/workspace/gexfoundry_device-rest-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-421@tmp:/w/workspace/gexfoundry_device-rest-go_PR-421@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-10-22T20:32:30.637Z] $ docker top fa12ebe411e3f2a6ff51848b16ac076f7bb8769709d686625002c46cb1f463b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:32:31.130Z] ---> job-cost.sh [2024-10-22T20:32:31.130Z] lf-activate-venv: SKIPPING [2024-10-22T20:32:31.130Z] INFO: No Stack... [2024-10-22T20:32:31.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T20:32:31.647Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T20:32:31.977Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-421/archives/cost.csv [2024-10-22T20:32:31.977Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T20:32:32.029Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] [2024-10-22T20:32:32.038Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] did not exist. Created. [2024-10-22T20:32:32.046Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T20:32:32.357Z] c9f46d7d2bd2: Pull complete [2024-10-22T20:32:32.464Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-22T20:32:32.524Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T20:32:32.566Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T20:32:32.663Z] $ docker stop --time=1 fa12ebe411e3f2a6ff51848b16ac076f7bb8769709d686625002c46cb1f463b4 [2024-10-22T20:32:33.828Z] $ docker rm -f --volumes fa12ebe411e3f2a6ff51848b16ac076f7bb8769709d686625002c46cb1f463b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-22T20:32:34.305Z] c5a475d317c9: Pull complete [2024-10-22T20:32:34.305Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-22T20:32:34.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-22T20:32:34.305Z] ---> be29e6b0f0d4 [2024-10-22T20:32:34.305Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-22T20:32:35.713Z] ---> Running in 7b9c67990548 [2024-10-22T20:32:35.980Z] Removing intermediate container 7b9c67990548 [2024-10-22T20:32:35.980Z] ---> b5e523136314 [2024-10-22T20:32:35.980Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T20:32:36.246Z] ---> Running in e30c43165c0b [2024-10-22T20:32:36.512Z] Removing intermediate container e30c43165c0b [2024-10-22T20:32:36.512Z] ---> 8184b468a9bb [2024-10-22T20:32:36.512Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T20:32:36.512Z] ---> Running in ef6c4a597d17 [2024-10-22T20:32:36.782Z] Removing intermediate container ef6c4a597d17 [2024-10-22T20:32:36.782Z] ---> 0f4f4848156b [2024-10-22T20:32:36.782Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T20:32:37.051Z] ---> Running in c0258e8e49fe [2024-10-22T20:32:37.319Z] Removing intermediate container c0258e8e49fe [2024-10-22T20:32:37.319Z] ---> d8c0c3bd7f27 [2024-10-22T20:32:37.319Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T20:32:37.319Z] ---> Running in 8a0d271d8583 [2024-10-22T20:32:38.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T20:32:38.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T20:32:40.154Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-22T20:32:40.154Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-22T20:32:40.154Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-22T20:32:40.154Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-22T20:32:40.154Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T20:32:40.154Z] OK: 242 MiB in 58 packages [2024-10-22T20:32:41.131Z] Removing intermediate container 8a0d271d8583 [2024-10-22T20:32:41.131Z] ---> 4132823e947a [2024-10-22T20:32:41.131Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-22T20:32:41.398Z] ---> Running in 22eaf8d7cf10 [2024-10-22T20:32:41.664Z] Removing intermediate container 22eaf8d7cf10 [2024-10-22T20:32:41.664Z] ---> c8e9d87ac9b8 [2024-10-22T20:32:41.664Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-22T20:32:42.245Z] ---> 5fc8512ccd72 [2024-10-22T20:32:42.245Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T20:32:42.245Z] ---> Running in 472316f499f3 [2024-10-22T20:34:33.905Z] Removing intermediate container 472316f499f3 [2024-10-22T20:34:33.905Z] ---> b323a308869f [2024-10-22T20:34:33.905Z] Step 11/12 : COPY . . [2024-10-22T20:34:33.905Z] ---> 052de4576d42 [2024-10-22T20:34:33.905Z] Step 12/12 : RUN $MAKE [2024-10-22T20:34:33.905Z] ---> Running in 182713500bc9 [2024-10-22T20:34:33.905Z] noop [2024-10-22T20:34:33.905Z] Removing intermediate container 182713500bc9 [2024-10-22T20:34:33.905Z] ---> b55d82f13288 [2024-10-22T20:34:33.905Z] Successfully built b55d82f13288 [2024-10-22T20:34:33.905Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:34:34.434Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T20:34:34.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:34:34.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-23543 does not seem to be running inside a container [2024-10-22T20:34:34.803Z] $ 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 ******** ci-base-image-arm64 cat [2024-10-22T20:34:36.043Z] $ docker top a23eacee1494cb430559a4ff9700200e7f1838964210f16edc7072036ecc6402 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T20:34:36.951Z] + go version [2024-10-22T20:34:36.951Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-22T20:34:36.988Z] $ docker stop --time=1 a23eacee1494cb430559a4ff9700200e7f1838964210f16edc7072036ecc6402 [2024-10-22T20:34:38.613Z] $ docker rm -f --volumes a23eacee1494cb430559a4ff9700200e7f1838964210f16edc7072036ecc6402 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:34:39.565Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T20:34:39.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:34:39.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-23543 does not seem to be running inside a container [2024-10-22T20:34:39.909Z] $ 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 ******** ci-base-image-arm64 cat [2024-10-22T20:34:41.105Z] $ docker top ea08fff013e64da222ae130ab8500751f3dce54c8be9eef253e0025175dfea07 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T20:34:41.988Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-22T20:34:42.717Z] + make test [2024-10-22T20:34:42.717Z] go test ./... -coverprofile=coverage.out ./... [2024-10-22T20:34:48.080Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-22T20:38:40.035Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-22T20:38:40.035Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 33.2% of statements [2024-10-22T20:38:40.035Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-22T20:38:40.035Z] go vet ./... [2024-10-22T20:39:18.995Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T20:39:18.995Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T20:39:18.995Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T20:39:20.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T20:39:20.051Z] $ docker stop --time=1 ea08fff013e64da222ae130ab8500751f3dce54c8be9eef253e0025175dfea07 [2024-10-22T20:39:22.037Z] $ docker rm -f --volumes ea08fff013e64da222ae130ab8500751f3dce54c8be9eef253e0025175dfea07 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T20:39:23.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T20:39:23.692Z] Warning: overwriting stash ‘coverage-report’ [2024-10-22T20:39:24.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T20:39:24.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T20:39:25.112Z] + ls -al . [2024-10-22T20:39:25.112Z] total 252 [2024-10-22T20:39:25.112Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 20:34 . [2024-10-22T20:39:25.112Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 20:31 .. [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 22 20:31 .dockerignore [2024-10-22T20:39:25.112Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 20:31 .git [2024-10-22T20:39:25.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 20:31 .github [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 22 20:31 .gitignore [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 20:31 .golangci.yml [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 22 20:31 Attribution.txt [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 22 20:31 CHANGELOG.md [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 22 20:31 Dockerfile [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 20:31 GOVERNANCE.md [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 22 20:31 Jenkinsfile [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 20:31 LICENSE [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 22 20:31 Makefile [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 22 20:31 OWNERS.md [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 22 20:31 README.md [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 20:29 VERSION [2024-10-22T20:39:25.112Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 20:31 bin [2024-10-22T20:39:25.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 20:31 cmd [2024-10-22T20:39:25.112Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 22 20:38 coverage.out [2024-10-22T20:39:25.112Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 20:31 driver [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 22 20:31 go.mod [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 22 20:31 go.sum [2024-10-22T20:39:25.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 20:31 openapi [2024-10-22T20:39:25.112Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 22 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:39:25.573Z] + 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=84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 --label arch=arm64 --label version=0.0.0 . [2024-10-22T20:39:25.574Z] Sending build context to Docker daemon 156.2kB [2024-10-22T20:39:25.838Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T20:39:25.838Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-22T20:39:25.838Z] ---> b55d82f13288 [2024-10-22T20:39:25.838Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-22T20:39:25.838Z] ---> Running in 7ae0e2fb6e78 [2024-10-22T20:39:26.104Z] Removing intermediate container 7ae0e2fb6e78 [2024-10-22T20:39:26.104Z] ---> dded6d0540e7 [2024-10-22T20:39:26.104Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-22T20:39:26.104Z] ---> Running in 9b90b33df219 [2024-10-22T20:39:26.369Z] Removing intermediate container 9b90b33df219 [2024-10-22T20:39:26.369Z] ---> 9d1351fa34b2 [2024-10-22T20:39:26.369Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-22T20:39:26.637Z] ---> Running in 99408c36528e [2024-10-22T20:39:26.902Z] Removing intermediate container 99408c36528e [2024-10-22T20:39:26.902Z] ---> 6a856eb49458 [2024-10-22T20:39:26.902Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-22T20:39:26.902Z] ---> Running in e1e13787a37c [2024-10-22T20:39:27.168Z] Removing intermediate container e1e13787a37c [2024-10-22T20:39:27.168Z] ---> 69d6f610219b [2024-10-22T20:39:27.168Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-22T20:39:27.168Z] ---> Running in 513c6e40cf4a [2024-10-22T20:39:28.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T20:39:28.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T20:39:30.111Z] OK: 242 MiB in 58 packages [2024-10-22T20:39:30.691Z] Removing intermediate container 513c6e40cf4a [2024-10-22T20:39:30.691Z] ---> 4757ffd32d36 [2024-10-22T20:39:30.691Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-22T20:39:30.691Z] ---> Running in 5a47a931d26c [2024-10-22T20:39:30.958Z] Removing intermediate container 5a47a931d26c [2024-10-22T20:39:30.958Z] ---> 921f49235966 [2024-10-22T20:39:30.958Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-22T20:39:31.539Z] ---> 35a77369b85a [2024-10-22T20:39:31.539Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T20:39:31.539Z] ---> Running in 692c764bceb1 [2024-10-22T20:39:34.114Z] Removing intermediate container 692c764bceb1 [2024-10-22T20:39:34.114Z] ---> 9329febf8975 [2024-10-22T20:39:34.114Z] Step 11/26 : COPY . . [2024-10-22T20:39:34.693Z] ---> dfb43a8857ac [2024-10-22T20:39:34.693Z] Step 12/26 : RUN $MAKE [2024-10-22T20:39:34.958Z] ---> Running in 51cd7c56e6c0 [2024-10-22T20:39:35.921Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-22T20:43:13.087Z] Removing intermediate container 51cd7c56e6c0 [2024-10-22T20:43:13.087Z] ---> f535eabc59cc [2024-10-22T20:43:13.087Z] Step 13/26 : FROM alpine:3.20 [2024-10-22T20:43:13.087Z] 3.20: Pulling from library/alpine [2024-10-22T20:43:13.087Z] cf04c63912e1: Already exists [2024-10-22T20:43:13.087Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T20:43:13.087Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T20:43:13.087Z] ---> c157a85ed455 [2024-10-22T20:43:13.087Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T20:43:13.087Z] ---> Running in d48f3f2613bf [2024-10-22T20:43:13.087Z] Removing intermediate container d48f3f2613bf [2024-10-22T20:43:13.087Z] ---> 515705aad3f1 [2024-10-22T20:43:13.087Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-22T20:43:13.087Z] ---> Running in 6d32ff2cfcb8 [2024-10-22T20:43:13.087Z] Removing intermediate container 6d32ff2cfcb8 [2024-10-22T20:43:13.087Z] ---> 1f1b98ce84a9 [2024-10-22T20:43:13.087Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-22T20:43:13.087Z] ---> Running in b7d723edb81e [2024-10-22T20:43:13.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T20:43:13.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T20:43:13.087Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T20:43:13.087Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T20:43:13.087Z] OK: 9 MiB in 15 packages [2024-10-22T20:43:13.087Z] Removing intermediate container b7d723edb81e [2024-10-22T20:43:13.087Z] ---> 45545a79e6c8 [2024-10-22T20:43:13.087Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-22T20:43:13.087Z] ---> Running in 39985a9b506d [2024-10-22T20:43:13.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T20:43:13.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T20:43:13.087Z] Upgrading critical system libraries and apk-tools: [2024-10-22T20:43:13.087Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T20:43:13.087Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T20:43:13.087Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T20:43:13.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T20:43:13.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T20:43:13.087Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T20:43:13.087Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T20:43:13.087Z] OK: 9 MiB in 15 packages [2024-10-22T20:43:13.087Z] Removing intermediate container 39985a9b506d [2024-10-22T20:43:13.087Z] ---> e646a11a17d0 [2024-10-22T20:43:13.087Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-22T20:43:13.087Z] ---> 3f3c670cf2f6 [2024-10-22T20:43:13.087Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-22T20:43:13.666Z] ---> 03c7b5159ebb [2024-10-22T20:43:13.666Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-22T20:43:13.933Z] ---> 279b79409846 [2024-10-22T20:43:13.933Z] Step 21/26 : EXPOSE 59986 [2024-10-22T20:43:14.198Z] ---> Running in 42a4d798460b [2024-10-22T20:43:14.462Z] Removing intermediate container 42a4d798460b [2024-10-22T20:43:14.462Z] ---> 5db4be6dca36 [2024-10-22T20:43:14.462Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-22T20:43:14.462Z] ---> Running in be15cc22d285 [2024-10-22T20:43:14.727Z] Removing intermediate container be15cc22d285 [2024-10-22T20:43:14.727Z] ---> f817d25a85f8 [2024-10-22T20:43:14.727Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-22T20:43:14.727Z] ---> Running in b3982ea46717 [2024-10-22T20:43:14.991Z] Removing intermediate container b3982ea46717 [2024-10-22T20:43:14.991Z] ---> 29a471401e11 [2024-10-22T20:43:14.991Z] Step 24/26 : LABEL arch=arm64 [2024-10-22T20:43:14.991Z] ---> Running in 3af3546d828c [2024-10-22T20:43:15.257Z] Removing intermediate container 3af3546d828c [2024-10-22T20:43:15.257Z] ---> 47f91dd45e42 [2024-10-22T20:43:15.257Z] Step 25/26 : LABEL git_sha=84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [2024-10-22T20:43:15.524Z] ---> Running in b7154acb76ef [2024-10-22T20:43:15.790Z] Removing intermediate container b7154acb76ef [2024-10-22T20:43:15.790Z] ---> af7d7858b570 [2024-10-22T20:43:15.790Z] Step 26/26 : LABEL version=0.0.0 [2024-10-22T20:43:15.790Z] ---> Running in 8fdb2f4aaeb6 [2024-10-22T20:43:16.056Z] Removing intermediate container 8fdb2f4aaeb6 [2024-10-22T20:43:16.056Z] ---> 94d0e11765d9 [2024-10-22T20:43:16.056Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T20:43:16.056Z] Successfully built 94d0e11765d9 [2024-10-22T20:43:16.056Z] 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-10-22T20:43:16.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T20:43:16.974Z] [2024-10-22T20:43:16.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:43:17.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T20:43:17.403Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-22T20:43:17.403Z] 8998bd30e6a1: Pulling fs layer [2024-10-22T20:43:17.403Z] 04944245beec: Pulling fs layer [2024-10-22T20:43:17.403Z] 699f458cf7ca: Pulling fs layer [2024-10-22T20:43:17.403Z] 765212b225bb: Pulling fs layer [2024-10-22T20:43:17.403Z] f23df028b6ca: Pulling fs layer [2024-10-22T20:43:17.403Z] d65c8cfc05b1: Pulling fs layer [2024-10-22T20:43:17.403Z] 2437ff75d9bd: Pulling fs layer [2024-10-22T20:43:17.403Z] d65c8cfc05b1: Waiting [2024-10-22T20:43:17.403Z] 765212b225bb: Waiting [2024-10-22T20:43:17.403Z] 2437ff75d9bd: Waiting [2024-10-22T20:43:17.668Z] 04944245beec: Verifying Checksum [2024-10-22T20:43:17.669Z] 04944245beec: Download complete [2024-10-22T20:43:17.669Z] 765212b225bb: Download complete [2024-10-22T20:43:17.669Z] f23df028b6ca: Verifying Checksum [2024-10-22T20:43:17.669Z] f23df028b6ca: Download complete [2024-10-22T20:43:17.669Z] d65c8cfc05b1: Verifying Checksum [2024-10-22T20:43:17.669Z] d65c8cfc05b1: Download complete [2024-10-22T20:43:17.933Z] 699f458cf7ca: Verifying Checksum [2024-10-22T20:43:17.933Z] 699f458cf7ca: Download complete [2024-10-22T20:43:18.197Z] 8998bd30e6a1: Verifying Checksum [2024-10-22T20:43:18.197Z] 8998bd30e6a1: Download complete [2024-10-22T20:43:20.765Z] 2437ff75d9bd: Verifying Checksum [2024-10-22T20:43:20.765Z] 2437ff75d9bd: Download complete [2024-10-22T20:43:22.696Z] 8998bd30e6a1: Pull complete [2024-10-22T20:43:23.278Z] 04944245beec: Pull complete [2024-10-22T20:43:24.681Z] 699f458cf7ca: Pull complete [2024-10-22T20:43:24.947Z] 765212b225bb: Pull complete [2024-10-22T20:43:25.907Z] f23df028b6ca: Pull complete [2024-10-22T20:43:26.172Z] d65c8cfc05b1: Pull complete [2024-10-22T20:43:44.348Z] 2437ff75d9bd: Pull complete [2024-10-22T20:43:44.348Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-22T20:43:44.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T20:43:44.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:43:44.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-23543 does not seem to be running inside a container [2024-10-22T20:43:44.744Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-22T20:43:47.361Z] $ docker top f2de6361ec7fa221f8d3a47dd13421da86051362bfa2c8be7594655bc16e8b64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:43:48.280Z] ---> job-cost.sh [2024-10-22T20:43:48.280Z] lf-activate-venv: SKIPPING [2024-10-22T20:43:48.280Z] INFO: No Stack... [2024-10-22T20:43:48.547Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-22T20:43:49.505Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T20:43:50.173Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-22T20:43:50.173Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T20:43:50.251Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] [2024-10-22T20:43:50.259Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] did not exist. Created. [2024-10-22T20:43:50.266Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T20:43:51.004Z] /w/workspace/device-rest-go/1@tmp/durable-07fb47d4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-22T20:43:51.665Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-22T20:43:51.713Z] Warning: overwriting stash ‘stack-cost’ [2024-10-22T20:43:51.752Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T20:43:51.774Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T20:43:51.872Z] $ docker stop --time=1 f2de6361ec7fa221f8d3a47dd13421da86051362bfa2c8be7594655bc16e8b64 [2024-10-22T20:43:53.381Z] $ docker rm -f --volumes f2de6361ec7fa221f8d3a47dd13421da86051362bfa2c8be7594655bc16e8b64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-22T20:43:54.505Z] provisioning config files... [2024-10-22T20:43:54.513Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-421@tmp/config2648143732705986042tmp [Pipeline] { [Pipeline] sh [2024-10-22T20:43:54.854Z] + set +x [2024-10-22T20:43:54.855Z] + bash -s -- [2024-10-22T20:43:54.855Z] + curl -s https://codecov.io/bash [2024-10-22T20:43:55.114Z] [2024-10-22T20:43:55.114Z] _____ _ [2024-10-22T20:43:55.114Z] / ____| | | [2024-10-22T20:43:55.114Z] | | ___ __| | ___ ___ _____ __ [2024-10-22T20:43:55.114Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-22T20:43:55.114Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-22T20:43:55.114Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-22T20:43:55.114Z] Bash-1.0.6 [2024-10-22T20:43:55.114Z] [2024-10-22T20:43:55.114Z] [2024-10-22T20:43:55.114Z] ==> git version 2.25.1 found [2024-10-22T20:43:55.114Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-22T20:43:55.114Z] Release-Date: 2020-01-08 [2024-10-22T20:43:55.114Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-22T20:43:55.114Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-22T20:43:55.114Z] ==> Jenkins CI detected. [2024-10-22T20:43:55.114Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-421 [2024-10-22T20:43:55.114Z] project root: . [2024-10-22T20:43:55.114Z] --> token set from env [2024-10-22T20:43:55.114Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-22T20:43:55.114Z] ==> Running gcov in . (disable via -X gcov) [2024-10-22T20:43:55.114Z] ==> Python coveragepy not found [2024-10-22T20:43:55.114Z] ==> Searching for coverage reports in: [2024-10-22T20:43:55.114Z] + . [2024-10-22T20:43:55.114Z] -> Found 1 reports [2024-10-22T20:43:55.114Z] ==> Detecting git/mercurial file structure [2024-10-22T20:43:55.114Z] ==> Reading reports [2024-10-22T20:43:55.114Z] + ./coverage.out bytes=14565 [2024-10-22T20:43:55.114Z] ==> Appending adjustments [2024-10-22T20:43:55.114Z] https://docs.codecov.io/docs/fixing-reports [2024-10-22T20:43:55.114Z] + Found adjustments [2024-10-22T20:43:55.114Z] ==> Gzipping contents [2024-10-22T20:43:55.114Z] 4.0K /tmp/codecov.B1z5tL.gz [2024-10-22T20:43:55.114Z] ==> Uploading reports [2024-10-22T20:43:55.114Z] url: https://codecov.io [2024-10-22T20:43:55.114Z] query: branch=PR-421&commit=84c55c89914b2665ace8fd4cdfb5c60fc3e85b82&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=421&job=&cmd_args= [2024-10-22T20:43:55.374Z] -> Pinging Codecov [2024-10-22T20:43:55.374Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-421&commit=84c55c89914b2665ace8fd4cdfb5c60fc3e85b82&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=421&job=&cmd_args= [2024-10-22T20:44:01.945Z] -> Uploading to [2024-10-22T20:44:01.945Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/84c55c89914b2665ace8fd4cdfb5c60fc3e85b82/ac572772-0619-4647-bc95-cb64332e668d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T204359Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6f3a06a2c8168f09c164e1093ba0a60220953e7b381273303e22b62dfa3e5bf2 [2024-10-22T20:44:01.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T20:44:01.945Z] Dload Upload Total Spent Left Speed [2024-10-22T20:44:01.945Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 10232 --:--:-- --:--:-- --:--:-- 10232 [2024-10-22T20:44:01.945Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/84c55c89914b2665ace8fd4cdfb5c60fc3e85b82 [Pipeline] } [2024-10-22T20:44:01.975Z] 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-10-22T20:44:04.304Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-421/archives ] [2024-10-22T20:44:04.304Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-421/archives [2024-10-22T20:44:04.304Z] total 16 [2024-10-22T20:44:04.304Z] drwxr-xr-x 3 root root 4096 Oct 22 20:32 . [2024-10-22T20:44:04.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 20:32 .. [2024-10-22T20:44:04.304Z] drwxr-xr-x 2 root root 4096 Oct 22 20:32 cost [2024-10-22T20:44:04.304Z] -rw-r--r-- 1 root root 86 Oct 22 20:32 cost.csv [2024-10-22T20:44:04.304Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-421/archives [2024-10-22T20:44:04.304Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-421/archives [2024-10-22T20:44:04.304Z] total 16 [2024-10-22T20:44:04.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 20:32 . [2024-10-22T20:44:04.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 20:32 .. [2024-10-22T20:44:04.304Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 20:32 cost [2024-10-22T20:44:04.304Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 22 20:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:04.650Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:05.552Z] ---> package-listing.sh [2024-10-22T20:44:05.552Z] ++ facter osfamily [2024-10-22T20:44:05.552Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-22T20:44:05.813Z] + OS_FAMILY=debian [2024-10-22T20:44:05.813Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-421 [2024-10-22T20:44:05.813Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-22T20:44:05.813Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-22T20:44:05.813Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-22T20:44:05.813Z] + PACKAGES=/tmp/packages_start.txt [2024-10-22T20:44:05.813Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-421 ']' [2024-10-22T20:44:05.813Z] + PACKAGES=/tmp/packages_end.txt [2024-10-22T20:44:05.813Z] + case "${OS_FAMILY}" in [2024-10-22T20:44:05.813Z] + dpkg -l [2024-10-22T20:44:05.813Z] + grep '^ii' [2024-10-22T20:44:05.813Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-22T20:44:05.813Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-22T20:44:05.813Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-22T20:44:05.813Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-421 ']' [2024-10-22T20:44:05.813Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-421/archives/ [2024-10-22T20:44:05.813Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-421/archives/ [Pipeline] echo [2024-10-22T20:44:05.850Z] 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-22T20:44:06.151Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T20:44:06.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T20:44:06.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T20:44:06.962Z] prd-ubuntu20.04-docker-8c-8g-23542 does not seem to be running inside a container [2024-10-22T20:44:06.988Z] $ 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-421/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-421 -v /w/workspace/gexfoundry_device-rest-go_PR-421:/w/workspace/gexfoundry_device-rest-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-421@tmp:/w/workspace/gexfoundry_device-rest-go_PR-421@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-10-22T20:44:07.185Z] $ docker top 50f08f36f238b69efc0fa654fe05d1de7073c463f09f52b8b2944baebe8c5760 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T20:44:07.600Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-22T20:44:07.916Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-22T20:44:08.246Z] + ls /var/log/sa-host [2024-10-22T20:44:08.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T20:44:08.486Z] provisioning config files... [2024-10-22T20:44:08.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-421@tmp/config7786220380246181840tmp [Pipeline] { [Pipeline] echo [2024-10-22T20:44:08.570Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:08.897Z] ---> create-netrc.sh [Pipeline] } [2024-10-22T20:44:08.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:09.345Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-22T20:44:09.386Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:09.716Z] ---> sudo-logs.sh [2024-10-22T20:44:09.716Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-22T20:44:09.823Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:10.156Z] ---> job-cost.sh [2024-10-22T20:44:10.156Z] lf-activate-venv: SKIPPING [2024-10-22T20:44:10.156Z] DEBUG: total: 0.2199999988079071 [2024-10-22T20:44:10.156Z] INFO: Retrieving Stack Cost... [2024-10-22T20:44:10.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T20:44:10.675Z] INFO: Archiving Costs [Pipeline] echo [2024-10-22T20:44:10.714Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T20:44:11.052Z] ---> logs-deploy.sh [2024-10-22T20:44:11.052Z] lf-activate-venv: SKIPPING [2024-10-22T20:44:11.052Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-421/1 [2024-10-22T20:44:11.052Z] INFO: archiving workspace using pattern(s): [2024-10-22T20:44:11.991Z] Archives upload complete. [2024-10-22T20:44:11.991Z] INFO: archiving logs to Nexus