Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c0f4e93085b16e470cd9003ab05cad41009c8ec6+4864046db187b802f4fd351f9abe59b5b3174726 (26574cc4307eb0fa333a471e81a4b7ce10fd38b5) 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-ssh5608922490101155752.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-ssh2758269389740233490.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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3581666653650295436.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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17755964222375034859.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-ssh8273434047145188361.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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10246599795637871519.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-24238 in /w/workspace/gexfoundry_device-rest-go_PR-423 [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-423 # 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 Merging remotes/origin/main commit 4864046db187b802f4fd351f9abe59b5b3174726 into PR head commit c0f4e93085b16e470cd9003ab05cad41009c8ec6 Merge succeeded, producing c0f4e93085b16e470cd9003ab05cad41009c8ec6 Checking out Revision c0f4e93085b16e470cd9003ab05cad41009c8ec6 (PR-423) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0f4e93085b16e470cd9003ab05cad41009c8ec6 # 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 4864046db187b802f4fd351f9abe59b5b3174726 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0f4e93085b16e470cd9003ab05cad41009c8ec6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-31T20:48:47.258Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-31T20:48:47.493Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-31T20:48:47.647Z] ========================================================= [2024-10-31T20:48:47.648Z] EdgeX Global Pipelines Version Info [2024-10-31T20:48:47.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-31T20:48:48.790Z] ------------------- [2024-10-31T20:48:48.790Z] stable info: [2024-10-31T20:48:48.790Z] ------------------- [2024-10-31T20:48:48.790Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-31T20:48:48.790Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-31T20:48:48.790Z] Message: update stable to v1.0.265 [2024-10-31T20:48:49.051Z] ------------------- [2024-10-31T20:48:49.051Z] experimental info: [2024-10-31T20:48:49.051Z] ------------------- [2024-10-31T20:48:49.051Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-31T20:48:49.051Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-31T20:48:49.051Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-31T20:48:49.285Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-31T20:48:49.347Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-31T20:48:49.413Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-31T20:48:49.478Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-31T20:48:49.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-31T20:48:49.606Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-31T20:48:49.668Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-31T20:48:49.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-31T20:48:49.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-31T20:48:49.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-31T20:48:49.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-31T20:48:49.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-31T20:48:50.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-31T20:48:50.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-31T20:48:50.158Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-31T20:48:50.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-31T20:48:50.280Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-31T20:48:50.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-31T20:48:50.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-31T20:48:50.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-31T20:48:50.521Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-31T20:48:50.583Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-31T20:48:50.641Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-31T20:48:50.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-31T20:48:50.777Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-31T20:48:50.832Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-31T20:48:50.885Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-31T20:48:50.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2024-10-31T20:48:51.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2024-10-31T20:48:51.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2024-10-31T20:48:51.125Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0f4e93085b16e470cd9003ab05cad41009c8ec6 [Pipeline] echo [2024-10-31T20:48:51.179Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0f4e93 [Pipeline] echo [2024-10-31T20:48:51.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-31T20:48:51.391Z] provisioning config files... [2024-10-31T20:48:51.407Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-423@tmp/config9755392903628108858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-31T20:48:51.806Z] ---> ****-login.sh [2024-10-31T20:48:51.806Z] nexus3.edgexfoundry.org:10001 [2024-10-31T20:48:52.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:48:52.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:48:52.067Z] Configure a credential helper to remove this warning. See [2024-10-31T20:48:52.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:48:52.067Z] [2024-10-31T20:48:52.067Z] Login Succeeded [2024-10-31T20:48:52.067Z] nexus3.edgexfoundry.org:10002 [2024-10-31T20:48:52.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:48:52.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:48:52.328Z] Configure a credential helper to remove this warning. See [2024-10-31T20:48:52.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:48:52.328Z] [2024-10-31T20:48:52.328Z] Login Succeeded [2024-10-31T20:48:52.328Z] nexus3.edgexfoundry.org:10003 [2024-10-31T20:48:52.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:48:52.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:48:52.328Z] Configure a credential helper to remove this warning. See [2024-10-31T20:48:52.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:48:52.328Z] [2024-10-31T20:48:52.328Z] Login Succeeded [2024-10-31T20:48:52.328Z] nexus3.edgexfoundry.org:10004 [2024-10-31T20:48:52.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:48:52.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:48:52.588Z] Configure a credential helper to remove this warning. See [2024-10-31T20:48:52.588Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:48:52.588Z] [2024-10-31T20:48:52.588Z] Login Succeeded [2024-10-31T20:48:52.588Z] ****.io [2024-10-31T20:48:52.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:48:52.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:48:52.849Z] Configure a credential helper to remove this warning. See [2024-10-31T20:48:52.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:48:52.849Z] [2024-10-31T20:48:52.849Z] Login Succeeded [2024-10-31T20:48:52.849Z] ---> ****-login.sh ends [Pipeline] } [2024-10-31T20:48:52.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-31T20:48:53.601Z] + git rev-list -1 --merges c0f4e93085b16e470cd9003ab05cad41009c8ec6~1..c0f4e93085b16e470cd9003ab05cad41009c8ec6 [Pipeline] echo [2024-10-31T20:48:53.653Z] -----------> git rev-list -1 --merges c0f4e93085b16e470cd9003ab05cad41009c8ec6~1..c0f4e93085b16e470cd9003ab05cad41009c8ec6 c0f4e93085b16e470cd9003ab05cad41009c8ec6 [false] [Pipeline] sh [2024-10-31T20:48:53.978Z] + git log --format=format:%s -1 c0f4e93085b16e470cd9003ab05cad41009c8ec6 [Pipeline] echo [2024-10-31T20:48:54.023Z] ========================================================= [2024-10-31T20:48:54.023Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-31T20:48:54.023Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-31T20:48:54.496Z] + git log --format=format:%s -1 c0f4e93085b16e470cd9003ab05cad41009c8ec6 [Pipeline] echo [2024-10-31T20:48:54.535Z] [semverPrep] GIT_COMMIT: c0f4e93085b16e470cd9003ab05cad41009c8ec6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-10-31T20:48:54.580Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-31T20:48:55.010Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-31T20:48:55.010Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-31T20:48:55.010Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-31T20:48:55.010Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-31T20:48:55.010Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-31T20:48:55.010Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-31T20:48:55.010Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:48:55.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-31T20:48:55.564Z] [2024-10-31T20:48:55.564Z] 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-31T20:48:55.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-31T20:48:55.965Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-31T20:48:55.965Z] b85a868b505f: Pulling fs layer [2024-10-31T20:48:55.965Z] e2be974225ed: Pulling fs layer [2024-10-31T20:48:55.965Z] 339a4e72a1f5: Pulling fs layer [2024-10-31T20:48:55.965Z] 988bab9f4d93: Pulling fs layer [2024-10-31T20:48:55.965Z] 1469e6f7b9e6: Pulling fs layer [2024-10-31T20:48:55.965Z] eaf3925da568: Pulling fs layer [2024-10-31T20:48:55.965Z] bab4dde63d76: Pulling fs layer [2024-10-31T20:48:55.965Z] bde34c3a00c8: Pulling fs layer [2024-10-31T20:48:55.965Z] b352a97aabf1: Pulling fs layer [2024-10-31T20:48:55.965Z] 4872d77fe225: Pulling fs layer [2024-10-31T20:48:55.965Z] 5851b861e8e6: Pulling fs layer [2024-10-31T20:48:55.965Z] 988bab9f4d93: Waiting [2024-10-31T20:48:55.965Z] 1469e6f7b9e6: Waiting [2024-10-31T20:48:55.965Z] eaf3925da568: Waiting [2024-10-31T20:48:55.965Z] 4872d77fe225: Waiting [2024-10-31T20:48:55.965Z] b352a97aabf1: Waiting [2024-10-31T20:48:55.965Z] 5851b861e8e6: Waiting [2024-10-31T20:48:55.965Z] bab4dde63d76: Waiting [2024-10-31T20:48:55.965Z] bde34c3a00c8: Waiting [2024-10-31T20:48:55.965Z] e2be974225ed: Download complete [2024-10-31T20:48:55.965Z] 988bab9f4d93: Verifying Checksum [2024-10-31T20:48:55.965Z] 988bab9f4d93: Download complete [2024-10-31T20:48:56.227Z] 1469e6f7b9e6: Download complete [2024-10-31T20:48:56.227Z] eaf3925da568: Download complete [2024-10-31T20:48:56.227Z] 339a4e72a1f5: Verifying Checksum [2024-10-31T20:48:56.227Z] 339a4e72a1f5: Download complete [2024-10-31T20:48:56.227Z] bde34c3a00c8: Verifying Checksum [2024-10-31T20:48:56.227Z] bde34c3a00c8: Download complete [2024-10-31T20:48:56.227Z] b352a97aabf1: Verifying Checksum [2024-10-31T20:48:56.227Z] b352a97aabf1: Download complete [2024-10-31T20:48:56.227Z] 4872d77fe225: Verifying Checksum [2024-10-31T20:48:56.227Z] 4872d77fe225: Download complete [2024-10-31T20:48:56.227Z] 5851b861e8e6: Verifying Checksum [2024-10-31T20:48:56.227Z] b85a868b505f: Verifying Checksum [2024-10-31T20:48:56.227Z] b85a868b505f: Download complete [2024-10-31T20:48:56.489Z] bab4dde63d76: Verifying Checksum [2024-10-31T20:48:56.489Z] bab4dde63d76: Download complete [2024-10-31T20:48:57.438Z] b85a868b505f: Pull complete [2024-10-31T20:48:57.699Z] e2be974225ed: Pull complete [2024-10-31T20:48:58.271Z] 339a4e72a1f5: Pull complete [2024-10-31T20:48:58.271Z] 988bab9f4d93: Pull complete [2024-10-31T20:48:58.531Z] 1469e6f7b9e6: Pull complete [2024-10-31T20:48:58.531Z] eaf3925da568: Pull complete [2024-10-31T20:49:00.441Z] bab4dde63d76: Pull complete [2024-10-31T20:49:00.441Z] bde34c3a00c8: Pull complete [2024-10-31T20:49:00.441Z] b352a97aabf1: Pull complete [2024-10-31T20:49:00.441Z] 4872d77fe225: Pull complete [2024-10-31T20:49:00.441Z] 5851b861e8e6: Pull complete [2024-10-31T20:49:00.441Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-31T20:49:00.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-31T20:49:00.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T20:49:00.736Z] prd-ubuntu20.04-docker-8c-8g-24238 does not seem to be running inside a container [2024-10-31T20:49:00.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-423 -v /w/workspace/gexfoundry_device-rest-go_PR-423:/w/workspace/gexfoundry_device-rest-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-423@tmp:/w/workspace/gexfoundry_device-rest-go_PR-423@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-31T20:49:01.981Z] $ docker top 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 -eo pid,comm [2024-10-31T20:49:02.041Z] 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-31T20:49:02.041Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-31T20:49:02.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-31T20:49:02.207Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-31T20:49:02.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-31T20:49:02.314Z] $ docker exec 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 ssh-agent [2024-10-31T20:49:02.417Z] SSH_AUTH_SOCK=/tmp/ssh-JXHeuzsa1dt2/agent.32 [2024-10-31T20:49:02.417Z] SSH_AGENT_PID=38 [2024-10-31T20:49:02.423Z] Running ssh-add (command line suppressed) [2024-10-31T20:49:02.528Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-423@tmp/private_key_3610746283706256202.key (/w/workspace/gexfoundry_device-rest-go_PR-423@tmp/private_key_3610746283706256202.key) [2024-10-31T20:49:02.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-31T20:49:02.894Z] + git tag --points-at HEAD [Pipeline] } [2024-10-31T20:49:02.922Z] $ docker exec --env ******** --env ******** 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 ssh-agent -k [2024-10-31T20:49:03.021Z] unset SSH_AUTH_SOCK; [2024-10-31T20:49:03.022Z] unset SSH_AGENT_PID; [2024-10-31T20:49:03.022Z] echo Agent pid 38 killed; [2024-10-31T20:49:03.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-31T20:49:03.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-31T20:49:03.148Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-31T20:49:03.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-31T20:49:03.254Z] $ docker exec 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 ssh-agent [2024-10-31T20:49:03.363Z] SSH_AUTH_SOCK=/tmp/ssh-gYmZJrSYHFB1/agent.71 [2024-10-31T20:49:03.363Z] SSH_AGENT_PID=77 [2024-10-31T20:49:03.368Z] Running ssh-add (command line suppressed) [2024-10-31T20:49:03.469Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-423@tmp/private_key_12503117237717082490.key (/w/workspace/gexfoundry_device-rest-go_PR-423@tmp/private_key_12503117237717082490.key) [2024-10-31T20:49:03.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-31T20:49:03.835Z] + git semver init [2024-10-31T20:49:04.095Z] 2024-10-31 20:49:04,009 [run_init] DEBUG init version:0.0.0 force:False [2024-10-31T20:49:04.095Z] 2024-10-31 20:49:04,010 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-423/.semver [2024-10-31T20:49:04.095Z] 2024-10-31 20:49:04,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-423/.semver [2024-10-31T20:49:04.095Z] 2024-10-31 20:49:04,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-423, universal_newlines=False, shell=None, istream=None) [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,137 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-423/.git/info/exclude [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,137 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-423/.semver/PR-423 with force:False [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,138 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-423/.semver/PR-423 [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,142 [execute] INFO git cat-file --batch-check [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,149 [execute] INFO git cat-file --batch [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2024-10-31T20:49:05.474Z] 2024-10-31 20:49:05,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-423/.semver/PR-423 [2024-10-31T20:49:05.474Z] 0.0.0 [Pipeline] } [2024-10-31T20:49:05.502Z] $ docker exec --env ******** --env ******** 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 ssh-agent -k [2024-10-31T20:49:05.596Z] unset SSH_AUTH_SOCK; [2024-10-31T20:49:05.597Z] unset SSH_AGENT_PID; [2024-10-31T20:49:05.598Z] echo Agent pid 77 killed; [2024-10-31T20:49:05.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-31T20:49:06.045Z] + git semver [Pipeline] } [2024-10-31T20:49:06.332Z] $ docker stop --time=1 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 [2024-10-31T20:49:07.656Z] $ docker rm -f --volumes 1037bc450ad328c76066a28e9f85406dfcab5f648e1762675d188281f17c8925 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-31T20:49:08.079Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-31T20:49:08.374Z] Stashed 1 file(s) [Pipeline] echo [2024-10-31T20:49:08.402Z] [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-31T20:49:09.151Z] provisioning config files... [2024-10-31T20:49:09.162Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-423@tmp/config15636917105464800925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-31T20:49:09.538Z] ---> ****-login.sh [2024-10-31T20:49:09.538Z] nexus3.edgexfoundry.org:10001 [2024-10-31T20:49:09.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:49:09.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:49:09.539Z] Configure a credential helper to remove this warning. See [2024-10-31T20:49:09.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:49:09.539Z] [2024-10-31T20:49:09.539Z] Login Succeeded [2024-10-31T20:49:09.539Z] nexus3.edgexfoundry.org:10002 [2024-10-31T20:49:09.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:49:09.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:49:09.539Z] Configure a credential helper to remove this warning. See [2024-10-31T20:49:09.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:49:09.539Z] [2024-10-31T20:49:09.539Z] Login Succeeded [2024-10-31T20:49:09.539Z] nexus3.edgexfoundry.org:10003 [2024-10-31T20:49:09.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:49:09.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:49:09.799Z] Configure a credential helper to remove this warning. See [2024-10-31T20:49:09.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:49:09.799Z] [2024-10-31T20:49:09.799Z] Login Succeeded [2024-10-31T20:49:09.799Z] nexus3.edgexfoundry.org:10004 [2024-10-31T20:49:09.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:49:09.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:49:09.799Z] Configure a credential helper to remove this warning. See [2024-10-31T20:49:09.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:49:09.800Z] [2024-10-31T20:49:09.800Z] Login Succeeded [2024-10-31T20:49:09.800Z] ****.io [2024-10-31T20:49:09.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:49:10.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:49:10.058Z] Configure a credential helper to remove this warning. See [2024-10-31T20:49:10.058Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:49:10.058Z] [2024-10-31T20:49:10.058Z] Login Succeeded [2024-10-31T20:49:10.058Z] ---> ****-login.sh ends [Pipeline] } [2024-10-31T20:49:10.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-31T20:49:10.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-31T20:49:10.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-31T20:49:10.402Z] ========================================================= [2024-10-31T20:49:10.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-31T20:49:10.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:49:10.917Z] + 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-31T20:49:10.917Z] Sending build context to Docker daemon 16.64MB [2024-10-31T20:49:10.917Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-31T20:49:10.917Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-31T20:49:10.918Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-31T20:49:10.918Z] 43c4264eed91: Pulling fs layer [2024-10-31T20:49:10.918Z] 4cc291be95ef: Pulling fs layer [2024-10-31T20:49:10.918Z] 2ac1f1163629: Pulling fs layer [2024-10-31T20:49:10.918Z] 5c3c966382ef: Pulling fs layer [2024-10-31T20:49:10.918Z] 4f4fb700ef54: Pulling fs layer [2024-10-31T20:49:10.918Z] 5c3c966382ef: Waiting [2024-10-31T20:49:10.918Z] 5d5c8e513c77: Pulling fs layer [2024-10-31T20:49:10.918Z] 9f66e0745190: Pulling fs layer [2024-10-31T20:49:10.918Z] 4f4fb700ef54: Waiting [2024-10-31T20:49:10.918Z] 5d5c8e513c77: Waiting [2024-10-31T20:49:10.918Z] f49a43e4bbc0: Pulling fs layer [2024-10-31T20:49:10.918Z] 9f66e0745190: Waiting [2024-10-31T20:49:10.918Z] f49a43e4bbc0: Waiting [2024-10-31T20:49:10.918Z] 561ebcabdf7f: Pulling fs layer [2024-10-31T20:49:10.918Z] 561ebcabdf7f: Waiting [2024-10-31T20:49:10.918Z] 4cc291be95ef: Verifying Checksum [2024-10-31T20:49:10.918Z] 4cc291be95ef: Download complete [2024-10-31T20:49:11.177Z] 5c3c966382ef: Verifying Checksum [2024-10-31T20:49:11.177Z] 5c3c966382ef: Download complete [2024-10-31T20:49:11.177Z] 4f4fb700ef54: Verifying Checksum [2024-10-31T20:49:11.177Z] 4f4fb700ef54: Download complete [2024-10-31T20:49:11.177Z] 5d5c8e513c77: Download complete [2024-10-31T20:49:11.177Z] 43c4264eed91: Download complete [2024-10-31T20:49:11.177Z] 9f66e0745190: Verifying Checksum [2024-10-31T20:49:11.177Z] 9f66e0745190: Download complete [2024-10-31T20:49:11.177Z] 43c4264eed91: Pull complete [2024-10-31T20:49:11.435Z] 561ebcabdf7f: Verifying Checksum [2024-10-31T20:49:11.435Z] 561ebcabdf7f: Download complete [2024-10-31T20:49:11.435Z] 4cc291be95ef: Pull complete [2024-10-31T20:49:11.693Z] 2ac1f1163629: Verifying Checksum [2024-10-31T20:49:11.693Z] 2ac1f1163629: Download complete [2024-10-31T20:49:11.951Z] f49a43e4bbc0: Verifying Checksum [2024-10-31T20:49:11.951Z] f49a43e4bbc0: Download complete [2024-10-31T20:49:14.479Z] 2ac1f1163629: Pull complete [2024-10-31T20:49:14.737Z] 5c3c966382ef: Pull complete [2024-10-31T20:49:14.737Z] 4f4fb700ef54: Pull complete [2024-10-31T20:49:14.737Z] 5d5c8e513c77: Pull complete [2024-10-31T20:49:14.998Z] 9f66e0745190: Pull complete [2024-10-31T20:49:16.900Z] f49a43e4bbc0: Pull complete [2024-10-31T20:49:17.467Z] 561ebcabdf7f: Pull complete [2024-10-31T20:49:17.467Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-31T20:49:17.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-31T20:49:17.467Z] ---> 3a752c3f9dda [2024-10-31T20:49:17.467Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-31T20:49:19.371Z] ---> Running in 53a7d1116c8d [2024-10-31T20:49:19.371Z] Removing intermediate container 53a7d1116c8d [2024-10-31T20:49:19.371Z] ---> 5c36913a6f8c [2024-10-31T20:49:19.371Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-31T20:49:19.371Z] ---> Running in 5f778adcb3e5 [2024-10-31T20:49:19.371Z] Removing intermediate container 5f778adcb3e5 [2024-10-31T20:49:19.371Z] ---> 158176dc8342 [2024-10-31T20:49:19.371Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-31T20:49:19.371Z] ---> Running in 80dc26f83f47 [2024-10-31T20:49:19.371Z] Removing intermediate container 80dc26f83f47 [2024-10-31T20:49:19.371Z] ---> 520efc946a5e [2024-10-31T20:49:19.371Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-31T20:49:19.371Z] ---> Running in ec7dec3a6eb7 [2024-10-31T20:49:19.371Z] Removing intermediate container ec7dec3a6eb7 [2024-10-31T20:49:19.371Z] ---> 7134d1fa79f4 [2024-10-31T20:49:19.371Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-31T20:49:19.371Z] ---> Running in 4259fcc15b3e [2024-10-31T20:49:19.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-31T20:49:19.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-31T20:49:19.890Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-31T20:49:19.890Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-31T20:49:19.890Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-31T20:49:19.890Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-31T20:49:20.149Z] Executing busybox-1.36.1-r29.trigger [2024-10-31T20:49:20.149Z] OK: 250 MiB in 58 packages [2024-10-31T20:49:20.416Z] Removing intermediate container 4259fcc15b3e [2024-10-31T20:49:20.416Z] ---> a61d07eddbf3 [2024-10-31T20:49:20.416Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-31T20:49:20.416Z] ---> Running in a4b19de7aeaf [2024-10-31T20:49:20.675Z] Removing intermediate container a4b19de7aeaf [2024-10-31T20:49:20.675Z] ---> 9950c405feda [2024-10-31T20:49:20.675Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-31T20:49:20.675Z] ---> 027dfe5f47a3 [2024-10-31T20:49:20.675Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-31T20:49:20.675Z] ---> Running in c1692123944e [2024-10-31T20:49:23.926Z] Still waiting to schedule task [2024-10-31T20:49:23.927Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-31T20:50:28.533Z] Removing intermediate container c1692123944e [2024-10-31T20:50:28.533Z] ---> 930a6d5a3cb7 [2024-10-31T20:50:28.533Z] Step 11/12 : COPY . . [2024-10-31T20:50:28.533Z] ---> 84661677651e [2024-10-31T20:50:28.533Z] Step 12/12 : RUN $MAKE [2024-10-31T20:50:28.533Z] ---> Running in cefa8f4cc5f0 [2024-10-31T20:50:28.533Z] noop [2024-10-31T20:50:28.533Z] Removing intermediate container cefa8f4cc5f0 [2024-10-31T20:50:28.533Z] ---> 0dd45a754618 [2024-10-31T20:50:28.533Z] Successfully built 0dd45a754618 [2024-10-31T20:50:28.533Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:50:29.023Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-31T20:50:29.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T20:50:29.192Z] prd-ubuntu20.04-docker-8c-8g-24238 does not seem to be running inside a container [2024-10-31T20:50:29.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-423 -v /w/workspace/gexfoundry_device-rest-go_PR-423:/w/workspace/gexfoundry_device-rest-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-423@tmp:/w/workspace/gexfoundry_device-rest-go_PR-423@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-31T20:50:29.577Z] $ docker top b6fe77f44f602675d0f41b615833d09faff33d24415b91f4a96258ddb079fd2b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-31T20:50:29.992Z] + go version [2024-10-31T20:50:29.992Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-31T20:50:30.025Z] $ docker stop --time=1 b6fe77f44f602675d0f41b615833d09faff33d24415b91f4a96258ddb079fd2b [2024-10-31T20:50:31.328Z] $ docker rm -f --volumes b6fe77f44f602675d0f41b615833d09faff33d24415b91f4a96258ddb079fd2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:50:32.156Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-31T20:50:32.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T20:50:32.331Z] prd-ubuntu20.04-docker-8c-8g-24238 does not seem to be running inside a container [2024-10-31T20:50:32.355Z] $ 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-423 -v /w/workspace/gexfoundry_device-rest-go_PR-423:/w/workspace/gexfoundry_device-rest-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-423@tmp:/w/workspace/gexfoundry_device-rest-go_PR-423@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-31T20:50:32.685Z] $ docker top cdd678c2aedb9f554023f45edd299de3b8af1dba779b87df1f341195b83f534b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-31T20:50:33.114Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2024-10-31T20:50:33.484Z] + make test [2024-10-31T20:50:33.484Z] go test ./... -coverprofile=coverage.out ./... [2024-10-31T20:50:35.389Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-31T20:50:53.464Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-31T20:50:53.464Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-10-31T20:50:55.929Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24239 in /w/workspace/gexfoundry_device-rest-go_PR-423 [Pipeline] { [Pipeline] ws [2024-10-31T20:50:56.007Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-31T20:50:59.113Z] The recommended git tool is: git [2024-10-31T20:51:03.530Z] using credential edgex-jenkins-ssh [2024-10-31T20:51:03.558Z] Cloning the remote Git repository [2024-10-31T20:51:03.592Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-31T20:51:03.674Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-31T20:51:03.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-31T20:51:03.814Z] > git --version # timeout=10 [2024-10-31T20:51:03.833Z] > git --version # 'git version 2.25.1' [2024-10-31T20:51:03.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-31T20:51:03.962Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-31T20:51:05.652Z] go vet ./... [2024-10-31T20:51:06.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-31T20:51:06.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-31T20:51:07.435Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-31T20:51:07.469Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-31T20:51:07.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-31T20:51:07.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-31T20:51:08.025Z] Merging remotes/origin/main commit 4864046db187b802f4fd351f9abe59b5b3174726 into PR head commit c0f4e93085b16e470cd9003ab05cad41009c8ec6 [2024-10-31T20:51:08.297Z] Merge succeeded, producing c0f4e93085b16e470cd9003ab05cad41009c8ec6 [2024-10-31T20:51:08.298Z] Checking out Revision c0f4e93085b16e470cd9003ab05cad41009c8ec6 (PR-423) [2024-10-31T20:51:08.792Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-10-31T20:51:08.829Z] > git --version # timeout=10 [2024-10-31T20:51:08.849Z] > git --version # 'git version 2.25.1' [2024-10-31T20:51:08.868Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-31T20:51:08.039Z] > git config core.sparsecheckout # timeout=10 [2024-10-31T20:51:08.105Z] > git checkout -f c0f4e93085b16e470cd9003ab05cad41009c8ec6 # timeout=10 [2024-10-31T20:51:08.189Z] > git remote # timeout=10 [2024-10-31T20:51:08.205Z] > git config --get remote.origin.url # timeout=10 [2024-10-31T20:51:08.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-31T20:51:08.250Z] > git merge 4864046db187b802f4fd351f9abe59b5b3174726 # timeout=10 [2024-10-31T20:51:08.273Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-31T20:51:08.301Z] > git config core.sparsecheckout # timeout=10 [2024-10-31T20:51:08.314Z] > git checkout -f c0f4e93085b16e470cd9003ab05cad41009c8ec6 # timeout=10 [2024-10-31T20:51:10.929Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-31T20:51:10.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-31T20:51:10.929Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-31T20:51:10.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-31T20:51:11.007Z] $ docker stop --time=1 cdd678c2aedb9f554023f45edd299de3b8af1dba779b87df1f341195b83f534b [2024-10-31T20:51:12.666Z] $ docker rm -f --volumes cdd678c2aedb9f554023f45edd299de3b8af1dba779b87df1f341195b83f534b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-31T20:51:13.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-31T20:51:13.540Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-31T20:51:13.749Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-31T20:51:13.749Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-31T20:51:13.749Z] Dload Upload Total Spent Left Speed [2024-10-31T20:51:13.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [Pipeline] sh [2024-10-31T20:51:14.084Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-31T20:51:14.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-31T20:51:14.456Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-31T20:51:14.456Z] + sudo tee /etc/docker/daemon.new [2024-10-31T20:51:14.456Z] { [2024-10-31T20:51:14.456Z] "registry-mirrors": [ [2024-10-31T20:51:14.456Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-31T20:51:14.456Z] ], [2024-10-31T20:51:14.456Z] "bip": "10.250.0.254/24", [2024-10-31T20:51:14.456Z] "hosts": [ [2024-10-31T20:51:14.456Z] "tcp://0.0.0.0:5555", [2024-10-31T20:51:14.456Z] "unix:///var/run/docker.sock" [2024-10-31T20:51:14.456Z] ], [2024-10-31T20:51:14.456Z] "mtu": 1458, [2024-10-31T20:51:14.456Z] "selinux-enabled": true, [2024-10-31T20:51:14.456Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-31T20:51:14.456Z] } [Pipeline] sh [2024-10-31T20:51:14.638Z] + ls -al . [2024-10-31T20:51:14.638Z] total 244 [2024-10-31T20:51:14.638Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 20:50 . [2024-10-31T20:51:14.638Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 20:48 .. [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 20:48 .dockerignore [2024-10-31T20:51:14.638Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 20:50 .git [2024-10-31T20:51:14.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 20:48 .github [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 20:48 .gitignore [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 20:48 .golangci.yml [2024-10-31T20:51:14.638Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 20:49 .semver [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 31 20:48 Attribution.txt [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 31 20:48 CHANGELOG.md [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 1697 Oct 31 20:48 Dockerfile [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 20:48 GOVERNANCE.md [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 31 20:48 Jenkinsfile [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 20:48 LICENSE [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 31 20:48 Makefile [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 20:48 OWNERS.md [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 31 20:48 README.md [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 20:49 VERSION [2024-10-31T20:51:14.638Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 20:48 bin [2024-10-31T20:51:14.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 20:48 cmd [2024-10-31T20:51:14.638Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 31 20:50 coverage.out [2024-10-31T20:51:14.638Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 20:48 driver [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 6439 Oct 31 20:48 go.mod [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 88084 Oct 31 20:48 go.sum [2024-10-31T20:51:14.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 20:48 openapi [2024-10-31T20:51:14.638Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:51:14.805Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-31T20:51:15.065Z] + 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=c0f4e93085b16e470cd9003ab05cad41009c8ec6 --label arch=amd64 --label version=0.0.0 . [2024-10-31T20:51:15.065Z] Sending build context to Docker daemon 16.66MB [2024-10-31T20:51:15.065Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-31T20:51:15.065Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-31T20:51:15.065Z] ---> 0dd45a754618 [2024-10-31T20:51:15.065Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-31T20:51:15.194Z] + sudo service docker restart [2024-10-31T20:51:15.646Z] ---> Running in 5f38db202dac [2024-10-31T20:51:15.646Z] Removing intermediate container 5f38db202dac [2024-10-31T20:51:15.646Z] ---> 13e6f053fc83 [2024-10-31T20:51:15.646Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-31T20:51:15.646Z] ---> Running in e3515674c83a [2024-10-31T20:51:15.646Z] Removing intermediate container e3515674c83a [2024-10-31T20:51:15.646Z] ---> 814d5e703eed [2024-10-31T20:51:15.646Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-31T20:51:15.646Z] ---> Running in a47d0fad9362 [2024-10-31T20:51:15.905Z] Removing intermediate container a47d0fad9362 [2024-10-31T20:51:15.905Z] ---> 5b2529127e94 [2024-10-31T20:51:15.905Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-31T20:51:15.905Z] ---> Running in 80d052390aa9 [2024-10-31T20:51:15.905Z] Removing intermediate container 80d052390aa9 [2024-10-31T20:51:15.905Z] ---> 18550f43b6b4 [2024-10-31T20:51:15.905Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-31T20:51:15.905Z] ---> Running in a44226d1c420 [2024-10-31T20:51:16.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:16.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:16.687Z] OK: 250 MiB in 58 packages [2024-10-31T20:51:16.947Z] Removing intermediate container a44226d1c420 [2024-10-31T20:51:16.947Z] ---> f620621e504b [2024-10-31T20:51:16.947Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-31T20:51:17.208Z] ---> Running in 99a66b8dbee3 [2024-10-31T20:51:17.208Z] Removing intermediate container 99a66b8dbee3 [2024-10-31T20:51:17.208Z] ---> 123789bcf8d9 [2024-10-31T20:51:17.208Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-31T20:51:17.208Z] ---> 4bdeb0714e69 [2024-10-31T20:51:17.208Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-31T20:51:17.208Z] ---> Running in 0ab64414c245 [2024-10-31T20:51:18.356Z] Removing intermediate container 0ab64414c245 [2024-10-31T20:51:18.356Z] ---> 251cd9341fc0 [2024-10-31T20:51:18.356Z] Step 11/26 : COPY . . [2024-10-31T20:51:18.616Z] ---> e412a39a00be [2024-10-31T20:51:18.616Z] Step 12/26 : RUN $MAKE [2024-10-31T20:51:18.616Z] ---> Running in c17ebdf096d1 [2024-10-31T20:51:18.874Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-31T20:51:33.541Z] provisioning config files... [2024-10-31T20:51:33.570Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config877104692772375299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-31T20:51:34.056Z] ---> ****-login.sh [2024-10-31T20:51:34.056Z] nexus3.edgexfoundry.org:10001 [2024-10-31T20:51:34.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:51:34.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:51:34.597Z] Configure a credential helper to remove this warning. See [2024-10-31T20:51:34.597Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:51:34.597Z] [2024-10-31T20:51:34.597Z] Login Succeeded [2024-10-31T20:51:34.597Z] nexus3.edgexfoundry.org:10002 [2024-10-31T20:51:34.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:51:34.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:51:34.867Z] Configure a credential helper to remove this warning. See [2024-10-31T20:51:34.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:51:34.867Z] [2024-10-31T20:51:35.139Z] Login Succeeded [2024-10-31T20:51:35.139Z] nexus3.edgexfoundry.org:10003 [2024-10-31T20:51:35.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:51:35.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:51:35.414Z] Configure a credential helper to remove this warning. See [2024-10-31T20:51:35.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:51:35.414Z] [2024-10-31T20:51:35.414Z] Login Succeeded [2024-10-31T20:51:35.414Z] nexus3.edgexfoundry.org:10004 [2024-10-31T20:51:35.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:51:35.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:51:35.690Z] Configure a credential helper to remove this warning. See [2024-10-31T20:51:35.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:51:35.690Z] [2024-10-31T20:51:35.690Z] Login Succeeded [2024-10-31T20:51:35.690Z] ****.io [2024-10-31T20:51:35.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-31T20:51:36.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-31T20:51:36.228Z] Configure a credential helper to remove this warning. See [2024-10-31T20:51:36.228Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-31T20:51:36.228Z] [2024-10-31T20:51:36.228Z] Login Succeeded [2024-10-31T20:51:36.228Z] ---> ****-login.sh ends [2024-10-31T20:51:57.605Z] Removing intermediate container c17ebdf096d1 [2024-10-31T20:51:57.605Z] ---> 759316bebef7 [2024-10-31T20:51:57.605Z] Step 13/26 : FROM alpine:3.20 [2024-10-31T20:51:57.605Z] 3.20: Pulling from library/alpine [2024-10-31T20:51:57.605Z] 43c4264eed91: Already exists [2024-10-31T20:51:57.605Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-31T20:51:57.605Z] Status: Downloaded newer image for alpine:3.20 [2024-10-31T20:51:57.605Z] ---> 91ef0af61f39 [2024-10-31T20:51:57.605Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-31T20:51:57.605Z] ---> Running in 31a80ea24ba7 [2024-10-31T20:51:57.605Z] Removing intermediate container 31a80ea24ba7 [2024-10-31T20:51:57.605Z] ---> 3c9f2d9ec482 [2024-10-31T20:51:57.605Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-31T20:51:57.605Z] ---> Running in 5ee625b2c4a2 [2024-10-31T20:51:57.605Z] Removing intermediate container 5ee625b2c4a2 [2024-10-31T20:51:57.605Z] ---> b5a14fc2a330 [2024-10-31T20:51:57.605Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-31T20:51:57.605Z] ---> Running in 687039e28fc7 [2024-10-31T20:51:57.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:57.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:57.605Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-31T20:51:57.605Z] Executing busybox-1.36.1-r29.trigger [2024-10-31T20:51:57.605Z] OK: 8 MiB in 15 packages [2024-10-31T20:51:57.605Z] Removing intermediate container 687039e28fc7 [2024-10-31T20:51:57.605Z] ---> ce4d2c9af70d [2024-10-31T20:51:57.606Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-31T20:51:57.606Z] ---> Running in c92044b22256 [2024-10-31T20:51:57.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:57.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:57.606Z] Upgrading critical system libraries and apk-tools: [2024-10-31T20:51:57.606Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-31T20:51:57.606Z] Executing busybox-1.36.1-r29.trigger [2024-10-31T20:51:57.606Z] Continuing the upgrade transaction with new apk-tools: [2024-10-31T20:51:57.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:57.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-31T20:51:57.606Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-31T20:51:57.606Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-31T20:51:57.606Z] OK: 8 MiB in 15 packages [2024-10-31T20:51:57.606Z] Removing intermediate container c92044b22256 [2024-10-31T20:51:57.606Z] ---> 8e307e30c0ba [2024-10-31T20:51:57.606Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-31T20:51:58.547Z] ---> 4f1ea2c5cc31 [2024-10-31T20:51:58.547Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-31T20:51:58.810Z] ---> fc4c70fb77ae [2024-10-31T20:51:58.810Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-31T20:51:58.810Z] ---> f5576ce53447 [2024-10-31T20:51:58.810Z] Step 21/26 : EXPOSE 59986 [2024-10-31T20:51:58.810Z] ---> Running in bf0494583459 [2024-10-31T20:51:58.810Z] Removing intermediate container bf0494583459 [2024-10-31T20:51:58.810Z] ---> fccad0c9214f [2024-10-31T20:51:58.810Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-31T20:51:58.810Z] ---> Running in e12d22002866 [2024-10-31T20:51:59.068Z] Removing intermediate container e12d22002866 [2024-10-31T20:51:59.068Z] ---> 3985cf18ae8f [2024-10-31T20:51:59.068Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-31T20:51:59.068Z] ---> Running in 98867c3e8bc1 [2024-10-31T20:51:59.068Z] Removing intermediate container 98867c3e8bc1 [2024-10-31T20:51:59.068Z] ---> 08e288382f5a [2024-10-31T20:51:59.068Z] Step 24/26 : LABEL arch=amd64 [2024-10-31T20:51:59.068Z] ---> Running in ede8df270174 [2024-10-31T20:51:59.068Z] Removing intermediate container ede8df270174 [2024-10-31T20:51:59.068Z] ---> 6bc1a2b2b6bb [2024-10-31T20:51:59.068Z] Step 25/26 : LABEL git_sha=c0f4e93085b16e470cd9003ab05cad41009c8ec6 [2024-10-31T20:51:59.068Z] ---> Running in 9650f9700eea [2024-10-31T20:51:59.327Z] Removing intermediate container 9650f9700eea [2024-10-31T20:51:59.327Z] ---> 4c533b7cd04d [2024-10-31T20:51:59.327Z] Step 26/26 : LABEL version=0.0.0 [2024-10-31T20:51:59.327Z] ---> Running in 8c28250965d8 [2024-10-31T20:51:59.327Z] Removing intermediate container 8c28250965d8 [2024-10-31T20:51:59.327Z] ---> b1e1158c6562 [2024-10-31T20:51:59.327Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-31T20:51:59.327Z] Successfully built b1e1158c6562 [2024-10-31T20:51:59.327Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] } [2024-10-31T20:52:18.510Z] Deleting 1 temporary files [Pipeline] // withEnv [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] echo [2024-10-31T20:52:19.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-31T20:52:19.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-31T20:52:19.394Z] ========================================================= [2024-10-31T20:52:19.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-31T20:52:19.394Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:52:19.979Z] + 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-31T20:52:19.979Z] Sending build context to Docker daemon 140.3kB [2024-10-31T20:52:20.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-31T20:52:20.161Z] [2024-10-31T20:52:20.161Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-10-31T20:52:20.247Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-31T20:52:20.247Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-31T20:52:20.247Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-31T20:52:20.247Z] cf04c63912e1: Pulling fs layer [2024-10-31T20:52:20.247Z] 55b35a11ae5e: Pulling fs layer [2024-10-31T20:52:20.247Z] a37a00ec5f00: Pulling fs layer [2024-10-31T20:52:20.247Z] 50b3750afda1: Pulling fs layer [2024-10-31T20:52:20.247Z] 4f4fb700ef54: Pulling fs layer [2024-10-31T20:52:20.247Z] 80978eb59214: Pulling fs layer [2024-10-31T20:52:20.247Z] c9f46d7d2bd2: Pulling fs layer [2024-10-31T20:52:20.247Z] c5a475d317c9: Pulling fs layer [2024-10-31T20:52:20.247Z] 50b3750afda1: Waiting [2024-10-31T20:52:20.247Z] 4f4fb700ef54: Waiting [2024-10-31T20:52:20.247Z] 80978eb59214: Waiting [2024-10-31T20:52:20.247Z] c9f46d7d2bd2: Waiting [2024-10-31T20:52:20.247Z] c5a475d317c9: Waiting [Pipeline] sh [2024-10-31T20:52:20.523Z] 55b35a11ae5e: Verifying Checksum [2024-10-31T20:52:20.523Z] 55b35a11ae5e: Download complete [2024-10-31T20:52:20.523Z] 50b3750afda1: Verifying Checksum [2024-10-31T20:52:20.523Z] 50b3750afda1: Download complete [2024-10-31T20:52:20.523Z] 4f4fb700ef54: Verifying Checksum [2024-10-31T20:52:20.523Z] 4f4fb700ef54: Download complete [2024-10-31T20:52:20.523Z] 80978eb59214: Verifying Checksum [2024-10-31T20:52:20.523Z] 80978eb59214: Download complete [2024-10-31T20:52:20.523Z] cf04c63912e1: Verifying Checksum [2024-10-31T20:52:20.523Z] cf04c63912e1: Download complete [2024-10-31T20:52:20.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-31T20:52:20.593Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-31T20:52:20.593Z] 5eb5b503b376: Pulling fs layer [2024-10-31T20:52:20.593Z] 5c69ac0246d0: Pulling fs layer [2024-10-31T20:52:20.593Z] ec43610c2a17: Pulling fs layer [2024-10-31T20:52:20.593Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-31T20:52:20.593Z] 33b1e0a273af: Pulling fs layer [2024-10-31T20:52:20.593Z] 5d3b04190fa2: Pulling fs layer [2024-10-31T20:52:20.593Z] 2f39f015ded8: Pulling fs layer [2024-10-31T20:52:20.593Z] 33b1e0a273af: Waiting [2024-10-31T20:52:20.593Z] 5d3b04190fa2: Waiting [2024-10-31T20:52:20.593Z] 2f39f015ded8: Waiting [2024-10-31T20:52:20.593Z] 3a2ae6a8a46f: Waiting [2024-10-31T20:52:20.593Z] 5c69ac0246d0: Verifying Checksum [2024-10-31T20:52:20.593Z] 5c69ac0246d0: Download complete [2024-10-31T20:52:20.593Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-31T20:52:20.593Z] 3a2ae6a8a46f: Download complete [2024-10-31T20:52:20.852Z] 33b1e0a273af: Verifying Checksum [2024-10-31T20:52:20.852Z] 33b1e0a273af: Download complete [2024-10-31T20:52:20.853Z] 5d3b04190fa2: Verifying Checksum [2024-10-31T20:52:20.853Z] 5d3b04190fa2: Download complete [2024-10-31T20:52:20.853Z] ec43610c2a17: Verifying Checksum [2024-10-31T20:52:20.853Z] ec43610c2a17: Download complete [2024-10-31T20:52:20.853Z] 5eb5b503b376: Verifying Checksum [2024-10-31T20:52:20.853Z] 5eb5b503b376: Download complete [2024-10-31T20:52:21.115Z] c5a475d317c9: Verifying Checksum [2024-10-31T20:52:21.115Z] c5a475d317c9: Download complete [2024-10-31T20:52:21.383Z] cf04c63912e1: Pull complete [2024-10-31T20:52:21.428Z] 2f39f015ded8: Download complete [2024-10-31T20:52:21.966Z] 55b35a11ae5e: Pull complete [2024-10-31T20:52:21.994Z] 5eb5b503b376: Pull complete [2024-10-31T20:52:22.252Z] 5c69ac0246d0: Pull complete [2024-10-31T20:52:22.511Z] ec43610c2a17: Pull complete [2024-10-31T20:52:22.511Z] 3a2ae6a8a46f: Pull complete [2024-10-31T20:52:22.549Z] a37a00ec5f00: Verifying Checksum [2024-10-31T20:52:22.549Z] a37a00ec5f00: Download complete [2024-10-31T20:52:22.770Z] 33b1e0a273af: Pull complete [2024-10-31T20:52:23.028Z] 5d3b04190fa2: Pull complete [2024-10-31T20:52:23.506Z] c9f46d7d2bd2: Verifying Checksum [2024-10-31T20:52:23.506Z] c9f46d7d2bd2: Download complete [2024-10-31T20:52:27.217Z] 2f39f015ded8: Pull complete [2024-10-31T20:52:27.217Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-31T20:52:27.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-31T20:52:27.217Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T20:52:27.494Z] prd-ubuntu20.04-docker-8c-8g-24238 does not seem to be running inside a container [2024-10-31T20:52:27.523Z] $ 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-423 -v /w/workspace/gexfoundry_device-rest-go_PR-423:/w/workspace/gexfoundry_device-rest-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-423@tmp:/w/workspace/gexfoundry_device-rest-go_PR-423@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-31T20:52:33.658Z] $ docker top f2b080fa21fb91d33d58a9dff0cd86f738572f0b17629cb9b13a240d64d0756b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-31T20:52:34.165Z] ---> job-cost.sh [2024-10-31T20:52:34.165Z] lf-activate-venv: SKIPPING [2024-10-31T20:52:34.166Z] INFO: No Stack... [2024-10-31T20:52:34.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-31T20:52:34.687Z] INFO: Archiving Costs [Pipeline] sh [2024-10-31T20:52:35.016Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-423/archives/cost.csv [2024-10-31T20:52:35.016Z] + cut -d, -f6 [Pipeline] lock [2024-10-31T20:52:35.071Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] [2024-10-31T20:52:35.078Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] did not exist. Created. [2024-10-31T20:52:35.086Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-31T20:52:35.514Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-31T20:52:35.575Z] Stashed 1 file(s) [Pipeline] } [2024-10-31T20:52:35.604Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-31T20:52:35.687Z] $ docker stop --time=1 f2b080fa21fb91d33d58a9dff0cd86f738572f0b17629cb9b13a240d64d0756b [2024-10-31T20:52:36.843Z] $ docker rm -f --volumes f2b080fa21fb91d33d58a9dff0cd86f738572f0b17629cb9b13a240d64d0756b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-31T20:52:38.502Z] a37a00ec5f00: Pull complete [2024-10-31T20:52:38.502Z] 50b3750afda1: Pull complete [2024-10-31T20:52:38.502Z] 4f4fb700ef54: Pull complete [2024-10-31T20:52:38.502Z] 80978eb59214: Pull complete [2024-10-31T20:52:45.183Z] c9f46d7d2bd2: Pull complete [2024-10-31T20:52:46.147Z] c5a475d317c9: Pull complete [2024-10-31T20:52:46.147Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-31T20:52:46.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-31T20:52:46.147Z] ---> be29e6b0f0d4 [2024-10-31T20:52:46.147Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-31T20:52:47.558Z] ---> Running in 81fe4834da36 [2024-10-31T20:52:47.558Z] Removing intermediate container 81fe4834da36 [2024-10-31T20:52:47.558Z] ---> 5f32e6da758d [2024-10-31T20:52:47.558Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-31T20:52:47.825Z] ---> Running in 6a99d0ad7723 [2024-10-31T20:52:48.093Z] Removing intermediate container 6a99d0ad7723 [2024-10-31T20:52:48.093Z] ---> b8c7c4e0d110 [2024-10-31T20:52:48.093Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-31T20:52:48.093Z] ---> Running in 4ccd3b76ba74 [2024-10-31T20:52:48.360Z] Removing intermediate container 4ccd3b76ba74 [2024-10-31T20:52:48.360Z] ---> da95c1d24ab2 [2024-10-31T20:52:48.360Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-31T20:52:48.360Z] ---> Running in 0a31b801400c [2024-10-31T20:52:48.628Z] Removing intermediate container 0a31b801400c [2024-10-31T20:52:48.628Z] ---> 9ace07d5baa6 [2024-10-31T20:52:48.628Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-31T20:52:48.896Z] ---> Running in 45ca79b5a3b8 [2024-10-31T20:52:49.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-31T20:52:50.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-31T20:52:51.855Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-31T20:52:51.855Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-31T20:52:51.855Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-31T20:52:51.855Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-31T20:52:51.855Z] Executing busybox-1.36.1-r29.trigger [2024-10-31T20:52:51.855Z] OK: 242 MiB in 58 packages [2024-10-31T20:52:52.819Z] Removing intermediate container 45ca79b5a3b8 [2024-10-31T20:52:52.819Z] ---> 4b740091399a [2024-10-31T20:52:52.819Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-31T20:52:53.089Z] ---> Running in 15f60eeaa103 [2024-10-31T20:52:53.356Z] Removing intermediate container 15f60eeaa103 [2024-10-31T20:52:53.356Z] ---> c535e1f32653 [2024-10-31T20:52:53.356Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-31T20:52:53.943Z] ---> 8bd5b6faa9f4 [2024-10-31T20:52:53.943Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-31T20:52:53.943Z] ---> Running in 4836f2b04ce9 [2024-10-31T20:54:45.616Z] Removing intermediate container 4836f2b04ce9 [2024-10-31T20:54:45.616Z] ---> d217599c9c97 [2024-10-31T20:54:45.616Z] Step 11/12 : COPY . . [2024-10-31T20:54:45.616Z] ---> a98e28237e2e [2024-10-31T20:54:45.616Z] Step 12/12 : RUN $MAKE [2024-10-31T20:54:45.616Z] ---> Running in dc26f22b6c54 [2024-10-31T20:54:45.616Z] noop [2024-10-31T20:54:45.616Z] Removing intermediate container dc26f22b6c54 [2024-10-31T20:54:45.616Z] ---> 04d05aa22a7a [2024-10-31T20:54:45.616Z] Successfully built 04d05aa22a7a [2024-10-31T20:54:45.616Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:54:46.139Z] + docker inspect -f . ci-base-image-arm64 [2024-10-31T20:54:46.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T20:54:46.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-24239 does not seem to be running inside a container [2024-10-31T20:54:46.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-31T20:54:47.657Z] $ docker top df1252dcc8edbb4bee25930bd0896b029d2e7d2da731a1612e8548604195086b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-31T20:54:48.544Z] + go version [2024-10-31T20:54:48.544Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-31T20:54:48.578Z] $ docker stop --time=1 df1252dcc8edbb4bee25930bd0896b029d2e7d2da731a1612e8548604195086b [2024-10-31T20:54:50.193Z] $ docker rm -f --volumes df1252dcc8edbb4bee25930bd0896b029d2e7d2da731a1612e8548604195086b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:54:51.137Z] + docker inspect -f . ci-base-image-arm64 [2024-10-31T20:54:51.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T20:54:51.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-24239 does not seem to be running inside a container [2024-10-31T20:54:51.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-31T20:54:52.530Z] $ docker top 8fbcefee06b01eca4e9f0fdcc48bd9b9bf1f561ae5a6786e60a1638abc13ca57 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-31T20:54:53.076Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-31T20:54:53.467Z] + make test [2024-10-31T20:54:53.467Z] go test ./... -coverprofile=coverage.out ./... [2024-10-31T20:54:58.919Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-31T20:58:36.681Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-31T20:58:36.681Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 33.2% of statements [2024-10-31T20:58:36.681Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-31T20:58:36.681Z] go vet ./... [2024-10-31T20:59:15.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-31T20:59:15.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-31T20:59:15.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-31T20:59:15.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-31T20:59:15.671Z] $ docker stop --time=1 8fbcefee06b01eca4e9f0fdcc48bd9b9bf1f561ae5a6786e60a1638abc13ca57 [2024-10-31T20:59:17.573Z] $ docker rm -f --volumes 8fbcefee06b01eca4e9f0fdcc48bd9b9bf1f561ae5a6786e60a1638abc13ca57 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-31T20:59:19.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-31T20:59:19.194Z] Warning: overwriting stash ‘coverage-report’ [2024-10-31T20:59:19.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-31T20:59:20.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-31T20:59:20.601Z] + ls -al . [2024-10-31T20:59:20.601Z] total 240 [2024-10-31T20:59:20.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 20:54 . [2024-10-31T20:59:20.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 20:51 .. [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 20:51 .dockerignore [2024-10-31T20:59:20.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 20:51 .git [2024-10-31T20:59:20.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 20:51 .github [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 20:51 .gitignore [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 20:51 .golangci.yml [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 31 20:51 Attribution.txt [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 31 20:51 CHANGELOG.md [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 1697 Oct 31 20:51 Dockerfile [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 20:51 GOVERNANCE.md [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 31 20:51 Jenkinsfile [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 20:51 LICENSE [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 31 20:51 Makefile [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 20:51 OWNERS.md [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 31 20:51 README.md [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 20:49 VERSION [2024-10-31T20:59:20.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 20:51 bin [2024-10-31T20:59:20.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 20:51 cmd [2024-10-31T20:59:20.601Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 31 20:58 coverage.out [2024-10-31T20:59:20.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 20:51 driver [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 6439 Oct 31 20:51 go.mod [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 88084 Oct 31 20:51 go.sum [2024-10-31T20:59:20.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 20:51 openapi [2024-10-31T20:59:20.601Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T20:59:21.046Z] + 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=c0f4e93085b16e470cd9003ab05cad41009c8ec6 --label arch=arm64 --label version=0.0.0 . [2024-10-31T20:59:21.046Z] Sending build context to Docker daemon 155.6kB [2024-10-31T20:59:21.312Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-31T20:59:21.312Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-31T20:59:21.312Z] ---> 04d05aa22a7a [2024-10-31T20:59:21.312Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-31T20:59:21.312Z] ---> Running in f40cc2005528 [2024-10-31T20:59:21.579Z] Removing intermediate container f40cc2005528 [2024-10-31T20:59:21.579Z] ---> be2a938a6cbe [2024-10-31T20:59:21.579Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-31T20:59:21.849Z] ---> Running in 1a3746294e25 [2024-10-31T20:59:22.117Z] Removing intermediate container 1a3746294e25 [2024-10-31T20:59:22.117Z] ---> 1b49fb47bdeb [2024-10-31T20:59:22.117Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-31T20:59:22.117Z] ---> Running in 0b9c62bcf5a6 [2024-10-31T20:59:22.386Z] Removing intermediate container 0b9c62bcf5a6 [2024-10-31T20:59:22.386Z] ---> f5816b8e0a17 [2024-10-31T20:59:22.386Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-31T20:59:22.654Z] ---> Running in 4d0b48b3728a [2024-10-31T20:59:22.921Z] Removing intermediate container 4d0b48b3728a [2024-10-31T20:59:22.921Z] ---> f7d8063ab66f [2024-10-31T20:59:22.921Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-31T20:59:22.921Z] ---> Running in 72ef9adaf910 [2024-10-31T20:59:23.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-31T20:59:24.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-31T20:59:25.556Z] OK: 242 MiB in 58 packages [2024-10-31T20:59:26.512Z] Removing intermediate container 72ef9adaf910 [2024-10-31T20:59:26.512Z] ---> e60db4df055a [2024-10-31T20:59:26.512Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-31T20:59:26.780Z] ---> Running in 39cb60d6a08a [2024-10-31T20:59:27.048Z] Removing intermediate container 39cb60d6a08a [2024-10-31T20:59:27.048Z] ---> ee1ac9adf989 [2024-10-31T20:59:27.048Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-31T20:59:27.314Z] ---> 799ef22049f7 [2024-10-31T20:59:27.314Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-31T20:59:27.584Z] ---> Running in 079a8bd10f2d [2024-10-31T20:59:30.173Z] Removing intermediate container 079a8bd10f2d [2024-10-31T20:59:30.173Z] ---> c1d1e1186361 [2024-10-31T20:59:30.173Z] Step 11/26 : COPY . . [2024-10-31T20:59:30.762Z] ---> fde175018307 [2024-10-31T20:59:30.762Z] Step 12/26 : RUN $MAKE [2024-10-31T20:59:30.762Z] ---> Running in 0c280f72375e [2024-10-31T20:59:31.716Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-31T21:02:54.163Z] Removing intermediate container 0c280f72375e [2024-10-31T21:02:54.163Z] ---> 3d29ff371a9b [2024-10-31T21:02:54.163Z] Step 13/26 : FROM alpine:3.20 [2024-10-31T21:02:54.163Z] 3.20: Pulling from library/alpine [2024-10-31T21:02:54.163Z] cf04c63912e1: Already exists [2024-10-31T21:02:54.163Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-31T21:02:54.163Z] Status: Downloaded newer image for alpine:3.20 [2024-10-31T21:02:54.163Z] ---> c157a85ed455 [2024-10-31T21:02:54.163Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-31T21:02:54.163Z] ---> Running in 4c8372087919 [2024-10-31T21:02:54.163Z] Removing intermediate container 4c8372087919 [2024-10-31T21:02:54.163Z] ---> 55ca368b775e [2024-10-31T21:02:54.163Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-31T21:02:54.163Z] ---> Running in eb10837ccca6 [2024-10-31T21:02:54.163Z] Removing intermediate container eb10837ccca6 [2024-10-31T21:02:54.163Z] ---> a72a894ff572 [2024-10-31T21:02:54.163Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-31T21:02:54.163Z] ---> Running in 6ea4540df4fa [2024-10-31T21:02:54.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-31T21:02:54.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-31T21:02:54.163Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-31T21:02:54.163Z] Executing busybox-1.36.1-r29.trigger [2024-10-31T21:02:54.163Z] OK: 9 MiB in 15 packages [2024-10-31T21:02:54.163Z] Removing intermediate container 6ea4540df4fa [2024-10-31T21:02:54.163Z] ---> 55e467b307ae [2024-10-31T21:02:54.163Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-31T21:02:54.163Z] ---> Running in f2835b5e104f [2024-10-31T21:02:54.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-31T21:02:54.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-31T21:02:55.573Z] Upgrading critical system libraries and apk-tools: [2024-10-31T21:02:55.573Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-31T21:02:55.573Z] Executing busybox-1.36.1-r29.trigger [2024-10-31T21:02:55.840Z] Continuing the upgrade transaction with new apk-tools: [2024-10-31T21:02:55.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-31T21:02:56.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-31T21:02:57.515Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-31T21:02:57.516Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-31T21:02:57.782Z] OK: 9 MiB in 15 packages [2024-10-31T21:02:58.737Z] Removing intermediate container f2835b5e104f [2024-10-31T21:02:58.737Z] ---> 70fbfffaaafa [2024-10-31T21:02:58.737Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-31T21:03:01.316Z] ---> 8cfe6766991e [2024-10-31T21:03:01.316Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-31T21:03:01.583Z] ---> 0879bdd959be [2024-10-31T21:03:01.583Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-31T21:03:02.167Z] ---> 9d2f7d98d16b [2024-10-31T21:03:02.167Z] Step 21/26 : EXPOSE 59986 [2024-10-31T21:03:02.167Z] ---> Running in c9c820bfd5e8 [2024-10-31T21:03:02.436Z] Removing intermediate container c9c820bfd5e8 [2024-10-31T21:03:02.436Z] ---> bd43efae2c68 [2024-10-31T21:03:02.436Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-31T21:03:02.436Z] ---> Running in 1605bbe9e1f7 [2024-10-31T21:03:03.015Z] Removing intermediate container 1605bbe9e1f7 [2024-10-31T21:03:03.015Z] ---> cfa6ef688179 [2024-10-31T21:03:03.015Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-31T21:03:03.015Z] ---> Running in e1c96e1f4dec [2024-10-31T21:03:03.279Z] Removing intermediate container e1c96e1f4dec [2024-10-31T21:03:03.279Z] ---> 44e2cae3ee91 [2024-10-31T21:03:03.279Z] Step 24/26 : LABEL arch=arm64 [2024-10-31T21:03:03.279Z] ---> Running in 158310e4794a [2024-10-31T21:03:03.544Z] Removing intermediate container 158310e4794a [2024-10-31T21:03:03.544Z] ---> babb787fa01c [2024-10-31T21:03:03.544Z] Step 25/26 : LABEL git_sha=c0f4e93085b16e470cd9003ab05cad41009c8ec6 [2024-10-31T21:03:03.544Z] ---> Running in 79a33ac59e4e [2024-10-31T21:03:03.816Z] Removing intermediate container 79a33ac59e4e [2024-10-31T21:03:03.816Z] ---> 0f953151c0ae [2024-10-31T21:03:03.816Z] Step 26/26 : LABEL version=0.0.0 [2024-10-31T21:03:04.083Z] ---> Running in 565fffc52ad7 [2024-10-31T21:03:04.347Z] Removing intermediate container 565fffc52ad7 [2024-10-31T21:03:04.347Z] ---> cf2889de7c32 [2024-10-31T21:03:04.347Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-31T21:03:04.347Z] Successfully built cf2889de7c32 [2024-10-31T21:03:04.347Z] 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-31T21:03:06.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-31T21:03:06.844Z] [2024-10-31T21:03:06.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T21:03:07.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-31T21:03:07.269Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-31T21:03:07.269Z] 8998bd30e6a1: Pulling fs layer [2024-10-31T21:03:07.269Z] 04944245beec: Pulling fs layer [2024-10-31T21:03:07.269Z] 699f458cf7ca: Pulling fs layer [2024-10-31T21:03:07.269Z] 765212b225bb: Pulling fs layer [2024-10-31T21:03:07.269Z] f23df028b6ca: Pulling fs layer [2024-10-31T21:03:07.269Z] d65c8cfc05b1: Pulling fs layer [2024-10-31T21:03:07.269Z] 2437ff75d9bd: Pulling fs layer [2024-10-31T21:03:07.269Z] 765212b225bb: Waiting [2024-10-31T21:03:07.269Z] f23df028b6ca: Waiting [2024-10-31T21:03:07.269Z] d65c8cfc05b1: Waiting [2024-10-31T21:03:07.269Z] 2437ff75d9bd: Waiting [2024-10-31T21:03:07.537Z] 04944245beec: Verifying Checksum [2024-10-31T21:03:07.537Z] 04944245beec: Download complete [2024-10-31T21:03:07.537Z] 765212b225bb: Verifying Checksum [2024-10-31T21:03:07.537Z] 765212b225bb: Download complete [2024-10-31T21:03:07.537Z] f23df028b6ca: Download complete [2024-10-31T21:03:07.537Z] d65c8cfc05b1: Verifying Checksum [2024-10-31T21:03:07.537Z] d65c8cfc05b1: Download complete [2024-10-31T21:03:07.806Z] 699f458cf7ca: Verifying Checksum [2024-10-31T21:03:07.806Z] 699f458cf7ca: Download complete [2024-10-31T21:03:08.077Z] 8998bd30e6a1: Verifying Checksum [2024-10-31T21:03:08.077Z] 8998bd30e6a1: Download complete [2024-10-31T21:03:10.654Z] 2437ff75d9bd: Verifying Checksum [2024-10-31T21:03:10.654Z] 2437ff75d9bd: Download complete [2024-10-31T21:03:12.599Z] 8998bd30e6a1: Pull complete [2024-10-31T21:03:13.184Z] 04944245beec: Pull complete [2024-10-31T21:03:14.594Z] 699f458cf7ca: Pull complete [2024-10-31T21:03:14.861Z] 765212b225bb: Pull complete [2024-10-31T21:03:15.819Z] f23df028b6ca: Pull complete [2024-10-31T21:03:16.085Z] d65c8cfc05b1: Pull complete [2024-10-31T21:03:31.068Z] 2437ff75d9bd: Pull complete [2024-10-31T21:03:31.333Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-31T21:03:31.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-31T21:03:31.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T21:03:31.701Z] prd-ubuntu20.04-docker-arm64-4c-16g-24239 does not seem to be running inside a container [2024-10-31T21:03:31.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-31T21:03:34.406Z] $ docker top e6d0ec34d4e1ea23e222a2efe4a976e523104d916607fa134dbfe767a1ee8c21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:35.348Z] ---> job-cost.sh [2024-10-31T21:03:35.348Z] lf-activate-venv: SKIPPING [2024-10-31T21:03:35.348Z] INFO: No Stack... [2024-10-31T21:03:35.926Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-31T21:03:36.505Z] INFO: Archiving Costs [Pipeline] sh [2024-10-31T21:03:37.168Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-31T21:03:37.168Z] + cut -d, -f6 [Pipeline] lock [2024-10-31T21:03:37.252Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] [2024-10-31T21:03:37.258Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] did not exist. Created. [2024-10-31T21:03:37.265Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-31T21:03:38.000Z] /w/workspace/device-rest-go/1@tmp/durable-96f3f869/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-31T21:03:38.657Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-31T21:03:38.703Z] Warning: overwriting stash ‘stack-cost’ [2024-10-31T21:03:38.746Z] Stashed 1 file(s) [Pipeline] } [2024-10-31T21:03:38.766Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-31T21:03:38.850Z] $ docker stop --time=1 e6d0ec34d4e1ea23e222a2efe4a976e523104d916607fa134dbfe767a1ee8c21 [2024-10-31T21:03:40.361Z] $ docker rm -f --volumes e6d0ec34d4e1ea23e222a2efe4a976e523104d916607fa134dbfe767a1ee8c21 [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-31T21:03:41.583Z] provisioning config files... [2024-10-31T21:03:41.592Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-423@tmp/config10830592258191262806tmp [Pipeline] { [Pipeline] sh [2024-10-31T21:03:41.945Z] + set +x [2024-10-31T21:03:41.945Z] + curl -s https://codecov.io/bash [2024-10-31T21:03:41.945Z] + bash -s -- [2024-10-31T21:03:41.945Z] [2024-10-31T21:03:41.945Z] _____ _ [2024-10-31T21:03:41.945Z] / ____| | | [2024-10-31T21:03:41.945Z] | | ___ __| | ___ ___ _____ __ [2024-10-31T21:03:41.945Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-31T21:03:41.945Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-31T21:03:41.945Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-31T21:03:41.945Z] Bash-1.0.6 [2024-10-31T21:03:41.945Z] [2024-10-31T21:03:41.945Z] [2024-10-31T21:03:41.945Z] ==> git version 2.25.1 found [2024-10-31T21:03:41.945Z] ==> 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-31T21:03:41.945Z] Release-Date: 2020-01-08 [2024-10-31T21:03:41.945Z] 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-31T21:03:41.945Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-31T21:03:41.945Z] ==> Jenkins CI detected. [2024-10-31T21:03:41.945Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-423 [2024-10-31T21:03:41.945Z] project root: . [2024-10-31T21:03:41.945Z] --> token set from env [2024-10-31T21:03:41.945Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-31T21:03:41.945Z] ==> Running gcov in . (disable via -X gcov) [2024-10-31T21:03:41.945Z] ==> Python coveragepy not found [2024-10-31T21:03:41.945Z] ==> Searching for coverage reports in: [2024-10-31T21:03:41.945Z] + . [2024-10-31T21:03:41.945Z] -> Found 1 reports [2024-10-31T21:03:41.945Z] ==> Detecting git/mercurial file structure [2024-10-31T21:03:41.945Z] ==> Reading reports [2024-10-31T21:03:41.945Z] + ./coverage.out bytes=14565 [2024-10-31T21:03:41.945Z] ==> Appending adjustments [2024-10-31T21:03:41.945Z] https://docs.codecov.io/docs/fixing-reports [2024-10-31T21:03:42.206Z] + Found adjustments [2024-10-31T21:03:42.206Z] ==> Gzipping contents [2024-10-31T21:03:42.206Z] 4.0K /tmp/codecov.zP3XJj.gz [2024-10-31T21:03:42.206Z] ==> Uploading reports [2024-10-31T21:03:42.206Z] url: https://codecov.io [2024-10-31T21:03:42.206Z] query: branch=PR-423&commit=c0f4e93085b16e470cd9003ab05cad41009c8ec6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2024-10-31T21:03:42.206Z] -> Pinging Codecov [2024-10-31T21:03:42.206Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-423&commit=c0f4e93085b16e470cd9003ab05cad41009c8ec6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2024-10-31T21:03:42.466Z] -> Uploading to [2024-10-31T21:03:42.466Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/c0f4e93085b16e470cd9003ab05cad41009c8ec6/75b167e4-2fb4-436e-ac72-e0f1ebc8bf3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241031%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241031T210342Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9f8e19401f459717e693933e6e151db28fdba31cdabc96b892e2bae047a76912 [2024-10-31T21:03:42.466Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-31T21:03:42.466Z] Dload Upload Total Spent Left Speed [2024-10-31T21:03:42.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10577 --:--:-- --:--:-- --:--:-- 10625 [2024-10-31T21:03:42.726Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c0f4e93085b16e470cd9003ab05cad41009c8ec6 [Pipeline] } [2024-10-31T21:03:42.758Z] 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-31T21:03:45.068Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-423/archives ] [2024-10-31T21:03:45.068Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-423/archives [2024-10-31T21:03:45.068Z] total 16 [2024-10-31T21:03:45.068Z] drwxr-xr-x 3 root root 4096 Oct 31 20:52 . [2024-10-31T21:03:45.068Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 20:52 .. [2024-10-31T21:03:45.068Z] drwxr-xr-x 2 root root 4096 Oct 31 20:52 cost [2024-10-31T21:03:45.068Z] -rw-r--r-- 1 root root 86 Oct 31 20:52 cost.csv [2024-10-31T21:03:45.068Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-423/archives [2024-10-31T21:03:45.068Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-423/archives [2024-10-31T21:03:45.068Z] total 16 [2024-10-31T21:03:45.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 20:52 . [2024-10-31T21:03:45.068Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 20:52 .. [2024-10-31T21:03:45.068Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 20:52 cost [2024-10-31T21:03:45.068Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 31 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:45.488Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:46.088Z] ---> package-listing.sh [2024-10-31T21:03:46.088Z] ++ facter osfamily [2024-10-31T21:03:46.088Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-31T21:03:46.347Z] + OS_FAMILY=debian [2024-10-31T21:03:46.347Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-423 [2024-10-31T21:03:46.347Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-31T21:03:46.347Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-31T21:03:46.347Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-31T21:03:46.347Z] + PACKAGES=/tmp/packages_start.txt [2024-10-31T21:03:46.347Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-423 ']' [2024-10-31T21:03:46.347Z] + PACKAGES=/tmp/packages_end.txt [2024-10-31T21:03:46.347Z] + case "${OS_FAMILY}" in [2024-10-31T21:03:46.347Z] + dpkg -l [2024-10-31T21:03:46.347Z] + grep '^ii' [2024-10-31T21:03:46.347Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-31T21:03:46.347Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-31T21:03:46.347Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-31T21:03:46.347Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-423 ']' [2024-10-31T21:03:46.347Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-423/archives/ [2024-10-31T21:03:46.347Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-423/archives/ [Pipeline] echo [2024-10-31T21:03:46.387Z] 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-31T21:03:46.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-31T21:03:47.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-31T21:03:47.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-31T21:03:47.530Z] prd-ubuntu20.04-docker-8c-8g-24238 does not seem to be running inside a container [2024-10-31T21:03:47.553Z] $ 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-423/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-423 -v /w/workspace/gexfoundry_device-rest-go_PR-423:/w/workspace/gexfoundry_device-rest-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-423@tmp:/w/workspace/gexfoundry_device-rest-go_PR-423@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-31T21:03:47.794Z] $ docker top 3dd54c83f0fdc9656dcd41e827985d19a3ef0fc023515c1d9a749a0f0353b558 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-31T21:03:48.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-31T21:03:48.643Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-31T21:03:48.975Z] + ls /var/log/sa-host [2024-10-31T21:03:48.975Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-31T21:03:49.238Z] provisioning config files... [2024-10-31T21:03:49.247Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-423@tmp/config10023234517806505299tmp [Pipeline] { [Pipeline] echo [2024-10-31T21:03:49.311Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:49.632Z] ---> create-netrc.sh [Pipeline] } [2024-10-31T21:03:49.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:50.086Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-31T21:03:50.133Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:50.467Z] ---> sudo-logs.sh [2024-10-31T21:03:50.467Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-31T21:03:50.578Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:50.901Z] ---> job-cost.sh [2024-10-31T21:03:50.902Z] lf-activate-venv: SKIPPING [2024-10-31T21:03:50.902Z] DEBUG: total: 0.2199999988079071 [2024-10-31T21:03:50.902Z] INFO: Retrieving Stack Cost... [2024-10-31T21:03:51.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-31T21:03:51.422Z] INFO: Archiving Costs [Pipeline] echo [2024-10-31T21:03:51.465Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-31T21:03:51.782Z] ---> logs-deploy.sh [2024-10-31T21:03:51.782Z] lf-activate-venv: SKIPPING [2024-10-31T21:03:51.782Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-423/1 [2024-10-31T21:03:51.782Z] INFO: archiving workspace using pattern(s): [2024-10-31T21:03:52.719Z] Archives upload complete. [2024-10-31T21:03:52.719Z] INFO: archiving logs to Nexus