Pull request #416 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e6ee8770e03e4ae27f51face394261a232d2612+3b51f885a24fd135da4abf50d3948cd78a691d64 (60b3fb74f4fe76804c891fa75dd746b935d99b26) 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-ssh4555263164112004593.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-ssh836575353617814317.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-416/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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh535672858209291778.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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7328636490854917884.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-ssh2566743402656125209.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-416/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-416/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3081886887574429611.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-22085 in /w/workspace/gexfoundry_device-rest-go_PR-416 [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-416 # 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 3b51f885a24fd135da4abf50d3948cd78a691d64 into PR head commit 9e6ee8770e03e4ae27f51face394261a232d2612 Merge succeeded, producing 9e6ee8770e03e4ae27f51face394261a232d2612 Checking out Revision 9e6ee8770e03e4ae27f51face394261a232d2612 (PR-416) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > 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/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # 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 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T20:33:40.664Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T20:33:40.876Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T20:33:40.996Z] ========================================================= [2024-10-07T20:33:40.996Z] EdgeX Global Pipelines Version Info [2024-10-07T20:33:40.996Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:33:41.769Z] ------------------- [2024-10-07T20:33:41.769Z] stable info: [2024-10-07T20:33:41.769Z] ------------------- [2024-10-07T20:33:41.769Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T20:33:41.769Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T20:33:41.769Z] Message: update stable to v1.0.265 [2024-10-07T20:33:42.338Z] ------------------- [2024-10-07T20:33:42.338Z] experimental info: [2024-10-07T20:33:42.338Z] ------------------- [2024-10-07T20:33:42.338Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T20:33:42.338Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T20:33:42.338Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T20:33:42.553Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-07T20:33:42.612Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-07T20:33:42.669Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T20:33:42.728Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T20:33:42.788Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T20:33:42.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T20:33:42.908Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T20:33:42.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-07T20:33:43.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T20:33:43.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T20:33:43.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T20:33:43.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-07T20:33:43.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T20:33:43.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T20:33:43.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T20:33:43.445Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T20:33:43.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T20:33:43.569Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T20:33:43.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T20:33:43.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T20:33:43.749Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-07T20:33:43.806Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-07T20:33:43.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T20:33:43.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T20:33:43.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T20:33:44.045Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T20:33:44.107Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T20:33:44.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo [2024-10-07T20:33:44.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo [2024-10-07T20:33:44.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo [2024-10-07T20:33:44.358Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo [2024-10-07T20:33:44.423Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e6ee87 [Pipeline] echo [2024-10-07T20:33:44.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T20:33:44.627Z] provisioning config files... [2024-10-07T20:33:44.643Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config18282119275949110399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:33:45.037Z] ---> ****-login.sh [2024-10-07T20:33:45.037Z] nexus3.edgexfoundry.org:10001 [2024-10-07T20:33:45.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:33:45.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:33:45.296Z] Configure a credential helper to remove this warning. See [2024-10-07T20:33:45.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:33:45.296Z] [2024-10-07T20:33:45.296Z] Login Succeeded [2024-10-07T20:33:45.296Z] nexus3.edgexfoundry.org:10002 [2024-10-07T20:33:45.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:33:45.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:33:45.555Z] Configure a credential helper to remove this warning. See [2024-10-07T20:33:45.555Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:33:45.555Z] [2024-10-07T20:33:45.555Z] Login Succeeded [2024-10-07T20:33:45.555Z] nexus3.edgexfoundry.org:10003 [2024-10-07T20:33:45.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:33:45.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:33:45.555Z] Configure a credential helper to remove this warning. See [2024-10-07T20:33:45.555Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:33:45.555Z] [2024-10-07T20:33:45.555Z] Login Succeeded [2024-10-07T20:33:45.555Z] nexus3.edgexfoundry.org:10004 [2024-10-07T20:33:45.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:33:45.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:33:45.815Z] Configure a credential helper to remove this warning. See [2024-10-07T20:33:45.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:33:45.815Z] [2024-10-07T20:33:45.815Z] Login Succeeded [2024-10-07T20:33:45.815Z] ****.io [2024-10-07T20:33:45.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:33:46.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:33:46.075Z] Configure a credential helper to remove this warning. See [2024-10-07T20:33:46.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:33:46.075Z] [2024-10-07T20:33:46.075Z] Login Succeeded [2024-10-07T20:33:46.075Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T20:33:46.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T20:33:46.809Z] + git rev-list -1 --merges 9e6ee8770e03e4ae27f51face394261a232d2612~1..9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo [2024-10-07T20:33:46.863Z] -----------> git rev-list -1 --merges 9e6ee8770e03e4ae27f51face394261a232d2612~1..9e6ee8770e03e4ae27f51face394261a232d2612 9e6ee8770e03e4ae27f51face394261a232d2612 [false] [Pipeline] sh [2024-10-07T20:33:47.189Z] + git log --format=format:%s -1 9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo [2024-10-07T20:33:47.233Z] ========================================================= [2024-10-07T20:33:47.234Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T20:33:47.234Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T20:33:47.716Z] + git log --format=format:%s -1 9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo [2024-10-07T20:33:47.760Z] [semverPrep] GIT_COMMIT: 9e6ee8770e03e4ae27f51face394261a232d2612, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-07T20:33:47.804Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T20:33:48.225Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T20:33:48.225Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T20:33:48.225Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T20:33:48.225Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T20:33:48.225Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T20:33:48.225Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T20:33:48.225Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:33:48.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T20:33:48.741Z] [2024-10-07T20:33:48.741Z] 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-07T20:33:49.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T20:33:49.134Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T20:33:49.134Z] b85a868b505f: Pulling fs layer [2024-10-07T20:33:49.134Z] e2be974225ed: Pulling fs layer [2024-10-07T20:33:49.134Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T20:33:49.134Z] 988bab9f4d93: Pulling fs layer [2024-10-07T20:33:49.134Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T20:33:49.134Z] eaf3925da568: Pulling fs layer [2024-10-07T20:33:49.134Z] bab4dde63d76: Pulling fs layer [2024-10-07T20:33:49.134Z] bde34c3a00c8: Pulling fs layer [2024-10-07T20:33:49.134Z] b352a97aabf1: Pulling fs layer [2024-10-07T20:33:49.134Z] 4872d77fe225: Pulling fs layer [2024-10-07T20:33:49.134Z] 5851b861e8e6: Pulling fs layer [2024-10-07T20:33:49.134Z] 988bab9f4d93: Waiting [2024-10-07T20:33:49.134Z] 1469e6f7b9e6: Waiting [2024-10-07T20:33:49.134Z] 4872d77fe225: Waiting [2024-10-07T20:33:49.134Z] bde34c3a00c8: Waiting [2024-10-07T20:33:49.134Z] b352a97aabf1: Waiting [2024-10-07T20:33:49.134Z] bab4dde63d76: Waiting [2024-10-07T20:33:49.134Z] e2be974225ed: Download complete [2024-10-07T20:33:49.134Z] 988bab9f4d93: Verifying Checksum [2024-10-07T20:33:49.134Z] 988bab9f4d93: Download complete [2024-10-07T20:33:49.134Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T20:33:49.134Z] 1469e6f7b9e6: Download complete [2024-10-07T20:33:49.392Z] eaf3925da568: Verifying Checksum [2024-10-07T20:33:49.392Z] eaf3925da568: Download complete [2024-10-07T20:33:49.393Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T20:33:49.393Z] 339a4e72a1f5: Download complete [2024-10-07T20:33:49.393Z] bde34c3a00c8: Download complete [2024-10-07T20:33:49.393Z] b352a97aabf1: Verifying Checksum [2024-10-07T20:33:49.393Z] b352a97aabf1: Download complete [2024-10-07T20:33:49.393Z] 4872d77fe225: Verifying Checksum [2024-10-07T20:33:49.393Z] 4872d77fe225: Download complete [2024-10-07T20:33:49.393Z] 5851b861e8e6: Verifying Checksum [2024-10-07T20:33:49.393Z] 5851b861e8e6: Download complete [2024-10-07T20:33:49.393Z] b85a868b505f: Verifying Checksum [2024-10-07T20:33:49.393Z] b85a868b505f: Download complete [2024-10-07T20:33:49.653Z] bab4dde63d76: Verifying Checksum [2024-10-07T20:33:49.653Z] bab4dde63d76: Download complete [2024-10-07T20:33:50.590Z] b85a868b505f: Pull complete [2024-10-07T20:33:50.850Z] e2be974225ed: Pull complete [2024-10-07T20:33:51.111Z] 339a4e72a1f5: Pull complete [2024-10-07T20:33:51.372Z] 988bab9f4d93: Pull complete [2024-10-07T20:33:51.631Z] 1469e6f7b9e6: Pull complete [2024-10-07T20:33:51.631Z] eaf3925da568: Pull complete [2024-10-07T20:33:53.533Z] bab4dde63d76: Pull complete [2024-10-07T20:33:53.533Z] bde34c3a00c8: Pull complete [2024-10-07T20:33:53.533Z] b352a97aabf1: Pull complete [2024-10-07T20:33:53.533Z] 4872d77fe225: Pull complete [2024-10-07T20:33:53.533Z] 5851b861e8e6: Pull complete [2024-10-07T20:33:53.533Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T20:33:53.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T20:33:53.533Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:33:53.820Z] prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container [2024-10-07T20:33:53.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@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-07T20:33:56.642Z] $ docker top bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 -eo pid,comm [2024-10-07T20:33:56.696Z] 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-07T20:33:56.696Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T20:33:56.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T20:33:56.868Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T20:33:56.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T20:33:56.980Z] $ docker exec bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent [2024-10-07T20:33:57.072Z] SSH_AUTH_SOCK=/tmp/ssh-4ey3yTi70IS6/agent.31 [2024-10-07T20:33:57.072Z] SSH_AGENT_PID=37 [2024-10-07T20:33:57.077Z] Running ssh-add (command line suppressed) [2024-10-07T20:33:57.170Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_727423377196826644.key (/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_727423377196826644.key) [2024-10-07T20:33:57.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T20:33:57.530Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T20:33:57.559Z] $ docker exec --env ******** --env ******** bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent -k [2024-10-07T20:33:57.646Z] unset SSH_AUTH_SOCK; [2024-10-07T20:33:57.646Z] unset SSH_AGENT_PID; [2024-10-07T20:33:57.646Z] echo Agent pid 37 killed; [2024-10-07T20:33:57.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T20:33:57.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T20:33:57.771Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T20:33:57.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T20:33:57.865Z] $ docker exec bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent [2024-10-07T20:33:57.957Z] SSH_AUTH_SOCK=/tmp/ssh-NG9rJLhzIfar/agent.71 [2024-10-07T20:33:57.957Z] SSH_AGENT_PID=77 [2024-10-07T20:33:57.962Z] Running ssh-add (command line suppressed) [2024-10-07T20:33:58.061Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_4324858946284261514.key (/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_4324858946284261514.key) [2024-10-07T20:33:58.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T20:33:58.420Z] + git semver init [2024-10-07T20:33:58.682Z] 2024-10-07 20:33:58,583 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T20:33:58.682Z] 2024-10-07 20:33:58,584 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-416/.semver [2024-10-07T20:33:58.682Z] 2024-10-07 20:33:58,585 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-416/.semver [2024-10-07T20:33:58.682Z] 2024-10-07 20:33:58,585 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-416/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-416, universal_newlines=False, shell=None, istream=None) [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,896 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-416/.git/info/exclude [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-416/.semver/PR-416 with force:False [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,897 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-416/.semver/PR-416 [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,901 [execute] INFO git cat-file --batch-check [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,907 [execute] INFO git cat-file --batch [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T20:34:00.065Z] 2024-10-07 20:33:59,912 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-416/.semver/PR-416 [2024-10-07T20:34:00.065Z] 0.0.0 [Pipeline] } [2024-10-07T20:34:00.095Z] $ docker exec --env ******** --env ******** bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent -k [2024-10-07T20:34:00.182Z] unset SSH_AUTH_SOCK; [2024-10-07T20:34:00.182Z] unset SSH_AGENT_PID; [2024-10-07T20:34:00.182Z] echo Agent pid 77 killed; [2024-10-07T20:34:00.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T20:34:00.664Z] + git semver [Pipeline] } [2024-10-07T20:34:00.950Z] $ docker stop --time=1 bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 [2024-10-07T20:34:02.249Z] $ docker rm -f --volumes bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T20:34:02.677Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T20:34:02.974Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T20:34:03.001Z] [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-07T20:34:03.742Z] provisioning config files... [2024-10-07T20:34:03.752Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config2292556420473794433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:34:04.127Z] ---> ****-login.sh [2024-10-07T20:34:04.127Z] nexus3.edgexfoundry.org:10001 [2024-10-07T20:34:04.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:34:04.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:34:04.127Z] Configure a credential helper to remove this warning. See [2024-10-07T20:34:04.127Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:34:04.127Z] [2024-10-07T20:34:04.127Z] Login Succeeded [2024-10-07T20:34:04.127Z] nexus3.edgexfoundry.org:10002 [2024-10-07T20:34:04.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:34:04.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:34:04.127Z] Configure a credential helper to remove this warning. See [2024-10-07T20:34:04.127Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:34:04.127Z] [2024-10-07T20:34:04.127Z] Login Succeeded [2024-10-07T20:34:04.127Z] nexus3.edgexfoundry.org:10003 [2024-10-07T20:34:04.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:34:04.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:34:04.387Z] Configure a credential helper to remove this warning. See [2024-10-07T20:34:04.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:34:04.388Z] [2024-10-07T20:34:04.388Z] Login Succeeded [2024-10-07T20:34:04.388Z] nexus3.edgexfoundry.org:10004 [2024-10-07T20:34:04.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:34:04.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:34:04.388Z] Configure a credential helper to remove this warning. See [2024-10-07T20:34:04.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:34:04.388Z] [2024-10-07T20:34:04.388Z] Login Succeeded [2024-10-07T20:34:04.388Z] ****.io [2024-10-07T20:34:04.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:34:04.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:34:04.649Z] Configure a credential helper to remove this warning. See [2024-10-07T20:34:04.649Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:34:04.649Z] [2024-10-07T20:34:04.649Z] Login Succeeded [2024-10-07T20:34:04.649Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T20:34:04.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T20:34:04.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T20:34:04.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T20:34:05.030Z] ========================================================= [2024-10-07T20:34:05.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T20:34:05.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:34:05.585Z] + 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-07T20:34:05.585Z] Sending build context to Docker daemon 16.62MB [2024-10-07T20:34:05.585Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T20:34:05.585Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-07T20:34:05.585Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T20:34:05.585Z] 43c4264eed91: Pulling fs layer [2024-10-07T20:34:05.585Z] 4cc291be95ef: Pulling fs layer [2024-10-07T20:34:05.585Z] 2ac1f1163629: Pulling fs layer [2024-10-07T20:34:05.585Z] 5c3c966382ef: Pulling fs layer [2024-10-07T20:34:05.585Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T20:34:05.585Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T20:34:05.585Z] 9f66e0745190: Pulling fs layer [2024-10-07T20:34:05.585Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T20:34:05.585Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T20:34:05.585Z] 9f66e0745190: Waiting [2024-10-07T20:34:05.585Z] 5c3c966382ef: Waiting [2024-10-07T20:34:05.585Z] f49a43e4bbc0: Waiting [2024-10-07T20:34:05.585Z] 4f4fb700ef54: Waiting [2024-10-07T20:34:05.585Z] 5d5c8e513c77: Waiting [2024-10-07T20:34:05.585Z] 561ebcabdf7f: Waiting [2024-10-07T20:34:05.585Z] 4cc291be95ef: Verifying Checksum [2024-10-07T20:34:05.585Z] 4cc291be95ef: Download complete [2024-10-07T20:34:05.585Z] 5c3c966382ef: Verifying Checksum [2024-10-07T20:34:05.586Z] 5c3c966382ef: Download complete [2024-10-07T20:34:05.844Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T20:34:05.844Z] 4f4fb700ef54: Download complete [2024-10-07T20:34:05.844Z] 5d5c8e513c77: Download complete [2024-10-07T20:34:05.844Z] 43c4264eed91: Download complete [2024-10-07T20:34:05.844Z] 9f66e0745190: Verifying Checksum [2024-10-07T20:34:05.844Z] 43c4264eed91: Pull complete [2024-10-07T20:34:05.844Z] 561ebcabdf7f: Download complete [2024-10-07T20:34:06.103Z] 4cc291be95ef: Pull complete [2024-10-07T20:34:06.103Z] 2ac1f1163629: Verifying Checksum [2024-10-07T20:34:06.103Z] 2ac1f1163629: Download complete [2024-10-07T20:34:06.668Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T20:34:06.668Z] f49a43e4bbc0: Download complete [2024-10-07T20:34:09.199Z] 2ac1f1163629: Pull complete [2024-10-07T20:34:09.463Z] 5c3c966382ef: Pull complete [2024-10-07T20:34:09.463Z] 4f4fb700ef54: Pull complete [2024-10-07T20:34:09.463Z] 5d5c8e513c77: Pull complete [2024-10-07T20:34:09.463Z] 9f66e0745190: Pull complete [2024-10-07T20:34:12.005Z] f49a43e4bbc0: Pull complete [2024-10-07T20:34:12.005Z] 561ebcabdf7f: Pull complete [2024-10-07T20:34:12.005Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T20:34:12.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T20:34:12.006Z] ---> 3a752c3f9dda [2024-10-07T20:34:12.006Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-07T20:34:17.310Z] ---> Running in 33c96dd58028 [2024-10-07T20:34:17.310Z] Removing intermediate container 33c96dd58028 [2024-10-07T20:34:17.310Z] ---> e39e32074fd0 [2024-10-07T20:34:17.310Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T20:34:17.310Z] ---> Running in 8d7cc815a29b [2024-10-07T20:34:17.310Z] Removing intermediate container 8d7cc815a29b [2024-10-07T20:34:17.310Z] ---> db7b53936e60 [2024-10-07T20:34:17.310Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T20:34:17.310Z] ---> Running in 8e1df9ad9a41 [2024-10-07T20:34:17.310Z] Removing intermediate container 8e1df9ad9a41 [2024-10-07T20:34:17.310Z] ---> 09ff2d75a976 [2024-10-07T20:34:17.310Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T20:34:17.310Z] ---> Running in e3b98275d2ba [2024-10-07T20:34:17.310Z] Removing intermediate container e3b98275d2ba [2024-10-07T20:34:17.310Z] ---> 25b884c6bd08 [2024-10-07T20:34:17.310Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T20:34:17.310Z] ---> Running in 32b05a24b6a0 [2024-10-07T20:34:17.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T20:34:17.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T20:34:17.310Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-07T20:34:17.310Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-07T20:34:17.310Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-07T20:34:17.310Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-07T20:34:17.310Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T20:34:17.310Z] OK: 250 MiB in 58 packages [2024-10-07T20:34:17.878Z] Removing intermediate container 32b05a24b6a0 [2024-10-07T20:34:17.878Z] ---> cb30ea969e3c [2024-10-07T20:34:17.878Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-07T20:34:17.878Z] ---> Running in 7e1517f36e67 [2024-10-07T20:34:18.137Z] Removing intermediate container 7e1517f36e67 [2024-10-07T20:34:18.137Z] ---> b2ddc3f38fc8 [2024-10-07T20:34:18.137Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-07T20:34:18.137Z] ---> bce9d568db18 [2024-10-07T20:34:18.137Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T20:34:18.137Z] ---> Running in 9c519d2b153f [2024-10-07T20:34:18.524Z] Still waiting to schedule task [2024-10-07T20:34:18.524Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-07T20:35:14.444Z] Removing intermediate container 9c519d2b153f [2024-10-07T20:35:14.444Z] ---> 3cf744d0be39 [2024-10-07T20:35:14.444Z] Step 11/12 : COPY . . [2024-10-07T20:35:14.444Z] ---> 1b3ae39f1803 [2024-10-07T20:35:14.444Z] Step 12/12 : RUN $MAKE [2024-10-07T20:35:14.444Z] ---> Running in 6b8816dafbb6 [2024-10-07T20:35:14.444Z] noop [2024-10-07T20:35:14.444Z] Removing intermediate container 6b8816dafbb6 [2024-10-07T20:35:14.444Z] ---> db2693c4a0c2 [2024-10-07T20:35:14.444Z] Successfully built db2693c4a0c2 [2024-10-07T20:35:14.444Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:35:14.938Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T20:35:14.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:35:15.122Z] prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container [2024-10-07T20:35:15.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@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-07T20:35:15.506Z] $ docker top b7069d9aa41de362bb2ff7a2a1e1c7012dd42735e193496cef69cbd35b99aa95 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T20:35:15.919Z] + go version [2024-10-07T20:35:15.919Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T20:35:15.956Z] $ docker stop --time=1 b7069d9aa41de362bb2ff7a2a1e1c7012dd42735e193496cef69cbd35b99aa95 [2024-10-07T20:35:17.196Z] $ docker rm -f --volumes b7069d9aa41de362bb2ff7a2a1e1c7012dd42735e193496cef69cbd35b99aa95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:35:17.987Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T20:35:17.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:35:18.156Z] prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container [2024-10-07T20:35:18.185Z] $ 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-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@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-07T20:35:18.503Z] $ docker top ab640be2671aff3156d33740b8cec34d00f568444bd477ae269b6a7c6e38b9e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T20:35:18.896Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-416 [Pipeline] fileExists [Pipeline] sh [2024-10-07T20:35:19.276Z] + make test [2024-10-07T20:35:19.276Z] go test ./... -coverprofile=coverage.out ./... [2024-10-07T20:35:21.180Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-07T20:35:39.256Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-07T20:35:39.256Z] ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements [2024-10-07T20:35:49.231Z] go vet ./... [2024-10-07T20:35:55.790Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T20:35:55.790Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T20:35:55.790Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T20:35:55.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T20:35:55.893Z] $ docker stop --time=1 ab640be2671aff3156d33740b8cec34d00f568444bd477ae269b6a7c6e38b9e6 [2024-10-07T20:35:58.984Z] $ docker rm -f --volumes ab640be2671aff3156d33740b8cec34d00f568444bd477ae269b6a7c6e38b9e6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T20:35:59.484Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22086 in /w/workspace/gexfoundry_device-rest-go_PR-416 [Pipeline] { [Pipeline] ws [2024-10-07T20:35:59.555Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [2024-10-07T20:35:59.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] checkout [2024-10-07T20:36:02.658Z] The recommended git tool is: git [Pipeline] stash [2024-10-07T20:36:02.748Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-07T20:36:03.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T20:36:03.815Z] + ls -al . [2024-10-07T20:36:03.815Z] total 256 [2024-10-07T20:36:03.815Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 20:35 . [2024-10-07T20:36:03.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 20:33 .. [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 20:33 .dockerignore [2024-10-07T20:36:03.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 20:35 .git [2024-10-07T20:36:03.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:33 .github [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 7 20:33 .gitignore [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 20:33 .golangci.yml [2024-10-07T20:36:03.815Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 20:33 .semver [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 7 20:33 Attribution.txt [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 7 20:33 CHANGELOG.md [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 7 20:33 Dockerfile [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 20:33 GOVERNANCE.md [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 20:33 Jenkinsfile [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 20:33 LICENSE [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 2016 Oct 7 20:33 Makefile [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 20:33 OWNERS.md [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 7 20:33 README.md [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 20:34 VERSION [2024-10-07T20:36:03.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:33 bin [2024-10-07T20:36:03.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:33 cmd [2024-10-07T20:36:03.815Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 7 20:35 coverage.out [2024-10-07T20:36:03.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:33 driver [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 7 20:33 go.mod [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 7 20:33 go.sum [2024-10-07T20:36:03.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:33 openapi [2024-10-07T20:36:03.815Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 20:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:36:04.232Z] + 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=9e6ee8770e03e4ae27f51face394261a232d2612 --label arch=amd64 --label version=0.0.0 . [2024-10-07T20:36:04.232Z] Sending build context to Docker daemon 16.63MB [2024-10-07T20:36:04.232Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T20:36:04.232Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-07T20:36:04.232Z] ---> db2693c4a0c2 [2024-10-07T20:36:04.232Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-07T20:36:04.489Z] ---> Running in c51e7fdcfbfa [2024-10-07T20:36:04.489Z] Removing intermediate container c51e7fdcfbfa [2024-10-07T20:36:04.489Z] ---> d0c3237b95f2 [2024-10-07T20:36:04.489Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T20:36:04.749Z] ---> Running in 96dca8b8e5d9 [2024-10-07T20:36:04.749Z] Removing intermediate container 96dca8b8e5d9 [2024-10-07T20:36:04.749Z] ---> e0f07758fa32 [2024-10-07T20:36:04.749Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T20:36:04.749Z] ---> Running in fc20dc8d25b9 [2024-10-07T20:36:04.749Z] Removing intermediate container fc20dc8d25b9 [2024-10-07T20:36:04.749Z] ---> 0e070bf8d701 [2024-10-07T20:36:04.749Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T20:36:04.749Z] ---> Running in 666daed45dce [2024-10-07T20:36:05.007Z] Removing intermediate container 666daed45dce [2024-10-07T20:36:05.007Z] ---> 66a131b1a087 [2024-10-07T20:36:05.007Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T20:36:05.007Z] ---> Running in 565217e2487b [2024-10-07T20:36:05.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:05.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:05.833Z] OK: 250 MiB in 58 packages [2024-10-07T20:36:06.093Z] Removing intermediate container 565217e2487b [2024-10-07T20:36:06.093Z] ---> c4315da8ed7d [2024-10-07T20:36:06.093Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-07T20:36:06.093Z] ---> Running in 8fecc5b1459c [2024-10-07T20:36:06.093Z] Removing intermediate container 8fecc5b1459c [2024-10-07T20:36:06.093Z] ---> f889a4bd039e [2024-10-07T20:36:06.093Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-07T20:36:06.093Z] ---> 30ceaca85e19 [2024-10-07T20:36:06.093Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T20:36:06.353Z] ---> Running in cb5ff270978e [2024-10-07T20:36:06.931Z] Removing intermediate container cb5ff270978e [2024-10-07T20:36:06.931Z] ---> d5667bfd9200 [2024-10-07T20:36:06.931Z] Step 11/26 : COPY . . [2024-10-07T20:36:07.302Z] using credential edgex-jenkins-ssh [2024-10-07T20:36:07.329Z] Cloning the remote Git repository [2024-10-07T20:36:07.552Z] ---> 628c7ee420cc [2024-10-07T20:36:07.552Z] Step 12/26 : RUN $MAKE [2024-10-07T20:36:07.552Z] ---> Running in 8b8c467bcecb [2024-10-07T20:36:07.376Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-07T20:36:07.468Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-07T20:36:07.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-07T20:36:07.604Z] > git --version # timeout=10 [2024-10-07T20:36:07.812Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-10-07T20:36:07.627Z] > git --version # 'git version 2.25.1' [2024-10-07T20:36:07.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T20:36:07.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T20:36:10.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-07T20:36:10.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T20:36:11.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-07T20:36:11.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-07T20:36:11.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T20:36:11.309Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T20:36:11.831Z] Merging remotes/origin/main commit 3b51f885a24fd135da4abf50d3948cd78a691d64 into PR head commit 9e6ee8770e03e4ae27f51face394261a232d2612 [2024-10-07T20:36:12.112Z] Merge succeeded, producing 9e6ee8770e03e4ae27f51face394261a232d2612 [2024-10-07T20:36:12.113Z] Checking out Revision 9e6ee8770e03e4ae27f51face394261a232d2612 (PR-416) [2024-10-07T20:36:12.836Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-07T20:36:11.852Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T20:36:11.921Z] > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # timeout=10 [2024-10-07T20:36:12.012Z] > git remote # timeout=10 [2024-10-07T20:36:12.028Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T20:36:12.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T20:36:12.074Z] > git merge 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 [2024-10-07T20:36:12.098Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T20:36:12.120Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T20:36:12.132Z] > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # timeout=10 [2024-10-07T20:36:12.884Z] > git --version # timeout=10 [2024-10-07T20:36:12.894Z] > git --version # 'git version 2.25.1' [2024-10-07T20:36:12.937Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T20:36:17.931Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T20:36:17.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T20:36:17.931Z] Dload Upload Total Spent Left Speed [2024-10-07T20:36:17.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90978 [Pipeline] sh [2024-10-07T20:36:18.286Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-07T20:36:18.637Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-07T20:36:18.637Z] /etc/docker/daemon.json [2024-10-07T20:36:18.637Z] { [2024-10-07T20:36:18.637Z] "registry-mirrors": [ [2024-10-07T20:36:18.637Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T20:36:18.637Z] ], [2024-10-07T20:36:18.637Z] "bip": "10.250.0.254/24", [2024-10-07T20:36:18.637Z] "hosts": [ [2024-10-07T20:36:18.637Z] "tcp://0.0.0.0:5555", [2024-10-07T20:36:18.637Z] "unix:///var/run/docker.sock" [2024-10-07T20:36:18.637Z] ], [2024-10-07T20:36:18.637Z] "mtu": 1458, [2024-10-07T20:36:18.637Z] "selinux-enabled": true, [2024-10-07T20:36:18.637Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T20:36:18.637Z] } [Pipeline] sh [2024-10-07T20:36:18.984Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T20:36:19.333Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T20:36:37.682Z] provisioning config files... [2024-10-07T20:36:37.706Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7370201907391710414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:36:38.224Z] ---> ****-login.sh [2024-10-07T20:36:38.224Z] nexus3.edgexfoundry.org:10001 [2024-10-07T20:36:38.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:36:38.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:36:38.765Z] Configure a credential helper to remove this warning. See [2024-10-07T20:36:38.765Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:36:38.765Z] [2024-10-07T20:36:38.765Z] Login Succeeded [2024-10-07T20:36:38.765Z] nexus3.edgexfoundry.org:10002 [2024-10-07T20:36:39.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:36:39.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:36:39.034Z] Configure a credential helper to remove this warning. See [2024-10-07T20:36:39.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:36:39.034Z] [2024-10-07T20:36:39.034Z] Login Succeeded [2024-10-07T20:36:39.034Z] nexus3.edgexfoundry.org:10003 [2024-10-07T20:36:39.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:36:39.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:36:39.575Z] Configure a credential helper to remove this warning. See [2024-10-07T20:36:39.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:36:39.575Z] [2024-10-07T20:36:39.575Z] Login Succeeded [2024-10-07T20:36:39.575Z] nexus3.edgexfoundry.org:10004 [2024-10-07T20:36:39.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:36:39.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:36:39.844Z] Configure a credential helper to remove this warning. See [2024-10-07T20:36:39.844Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:36:39.845Z] [2024-10-07T20:36:39.845Z] Login Succeeded [2024-10-07T20:36:39.845Z] ****.io [2024-10-07T20:36:39.919Z] Removing intermediate container 8b8c467bcecb [2024-10-07T20:36:39.919Z] ---> c4cad7808535 [2024-10-07T20:36:39.919Z] Step 13/26 : FROM alpine:3.20 [2024-10-07T20:36:39.919Z] 3.20: Pulling from library/alpine [2024-10-07T20:36:39.919Z] 43c4264eed91: Already exists [2024-10-07T20:36:39.919Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T20:36:39.919Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T20:36:39.919Z] ---> 91ef0af61f39 [2024-10-07T20:36:39.919Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T20:36:39.919Z] ---> Running in e9b4eac58b2b [2024-10-07T20:36:39.919Z] Removing intermediate container e9b4eac58b2b [2024-10-07T20:36:39.919Z] ---> ce0d782cbb98 [2024-10-07T20:36:39.919Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-07T20:36:39.919Z] ---> Running in ff46a696b7c9 [2024-10-07T20:36:39.919Z] Removing intermediate container ff46a696b7c9 [2024-10-07T20:36:39.919Z] ---> 6a9a6adc92ff [2024-10-07T20:36:39.919Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-07T20:36:39.919Z] ---> Running in ad61b4987bbc [2024-10-07T20:36:40.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T20:36:40.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:40.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:40.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T20:36:40.379Z] Configure a credential helper to remove this warning. See [2024-10-07T20:36:40.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T20:36:40.379Z] [2024-10-07T20:36:40.379Z] Login Succeeded [2024-10-07T20:36:40.379Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T20:36:40.421Z] Deleting 1 temporary files [2024-10-07T20:36:40.444Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T20:36:40.444Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T20:36:40.444Z] OK: 8 MiB in 15 packages [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T20:36:40.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T20:36:40.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T20:36:40.994Z] ========================================================= [2024-10-07T20:36:40.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T20:36:40.995Z] ========================================================= [2024-10-07T20:36:41.011Z] Removing intermediate container ad61b4987bbc [2024-10-07T20:36:41.011Z] ---> ca46d10cddf3 [2024-10-07T20:36:41.011Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-07T20:36:41.011Z] ---> Running in 2bfe35d4d19c [2024-10-07T20:36:41.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:36:41.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:41.529Z] Upgrading critical system libraries and apk-tools: [2024-10-07T20:36:41.529Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T20:36:41.529Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T20:36:41.529Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T20:36:41.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:41.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T20:36:41.573Z] + 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-07T20:36:41.574Z] Sending build context to Docker daemon 140.3kB [2024-10-07T20:36:41.788Z] OK: 8 MiB in 15 packages [2024-10-07T20:36:41.842Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T20:36:41.842Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-07T20:36:41.842Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T20:36:41.842Z] cf04c63912e1: Pulling fs layer [2024-10-07T20:36:41.842Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T20:36:41.842Z] a37a00ec5f00: Pulling fs layer [2024-10-07T20:36:41.842Z] 50b3750afda1: Pulling fs layer [2024-10-07T20:36:41.842Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T20:36:41.842Z] 80978eb59214: Pulling fs layer [2024-10-07T20:36:41.842Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T20:36:41.842Z] c5a475d317c9: Pulling fs layer [2024-10-07T20:36:41.842Z] 80978eb59214: Waiting [2024-10-07T20:36:41.842Z] c9f46d7d2bd2: Waiting [2024-10-07T20:36:41.842Z] c5a475d317c9: Waiting [2024-10-07T20:36:41.842Z] 50b3750afda1: Waiting [2024-10-07T20:36:41.842Z] 4f4fb700ef54: Waiting [2024-10-07T20:36:41.842Z] 55b35a11ae5e: Verifying Checksum [2024-10-07T20:36:41.842Z] 55b35a11ae5e: Download complete [2024-10-07T20:36:41.842Z] 50b3750afda1: Verifying Checksum [2024-10-07T20:36:41.842Z] 50b3750afda1: Download complete [2024-10-07T20:36:42.047Z] Removing intermediate container 2bfe35d4d19c [2024-10-07T20:36:42.047Z] ---> 8c15b21b4f8a [2024-10-07T20:36:42.047Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-07T20:36:42.123Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T20:36:42.123Z] 4f4fb700ef54: Download complete [2024-10-07T20:36:42.123Z] 80978eb59214: Verifying Checksum [2024-10-07T20:36:42.123Z] 80978eb59214: Download complete [2024-10-07T20:36:42.123Z] cf04c63912e1: Verifying Checksum [2024-10-07T20:36:42.123Z] cf04c63912e1: Download complete [2024-10-07T20:36:42.397Z] c5a475d317c9: Verifying Checksum [2024-10-07T20:36:42.397Z] c5a475d317c9: Download complete [2024-10-07T20:36:42.988Z] cf04c63912e1: Pull complete [2024-10-07T20:36:43.423Z] ---> cd8daaba3572 [2024-10-07T20:36:43.423Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-07T20:36:43.423Z] ---> c130544a4e35 [2024-10-07T20:36:43.423Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-07T20:36:43.576Z] 55b35a11ae5e: Pull complete [2024-10-07T20:36:43.681Z] ---> 7e12d229ac01 [2024-10-07T20:36:43.681Z] Step 21/26 : EXPOSE 59986 [2024-10-07T20:36:43.681Z] ---> Running in a8ed588acbfa [2024-10-07T20:36:43.681Z] Removing intermediate container a8ed588acbfa [2024-10-07T20:36:43.681Z] ---> 48681e0e024e [2024-10-07T20:36:43.681Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-07T20:36:43.681Z] ---> Running in 140a9da1cf22 [2024-10-07T20:36:43.681Z] Removing intermediate container 140a9da1cf22 [2024-10-07T20:36:43.681Z] ---> 0e3fbc006843 [2024-10-07T20:36:43.681Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-07T20:36:43.681Z] ---> Running in f754ff477333 [2024-10-07T20:36:43.844Z] a37a00ec5f00: Verifying Checksum [2024-10-07T20:36:43.844Z] a37a00ec5f00: Download complete [2024-10-07T20:36:43.939Z] Removing intermediate container f754ff477333 [2024-10-07T20:36:43.939Z] ---> bbb736664ea1 [2024-10-07T20:36:43.939Z] Step 24/26 : LABEL arch=amd64 [2024-10-07T20:36:43.939Z] ---> Running in 7c6c0c777e99 [2024-10-07T20:36:43.939Z] Removing intermediate container 7c6c0c777e99 [2024-10-07T20:36:43.939Z] ---> 021553205575 [2024-10-07T20:36:43.939Z] Step 25/26 : LABEL git_sha=9e6ee8770e03e4ae27f51face394261a232d2612 [2024-10-07T20:36:43.939Z] ---> Running in 1918e42ced20 [2024-10-07T20:36:43.939Z] Removing intermediate container 1918e42ced20 [2024-10-07T20:36:43.939Z] ---> 699aeddbb9a1 [2024-10-07T20:36:43.939Z] Step 26/26 : LABEL version=0.0.0 [2024-10-07T20:36:43.939Z] ---> Running in d56afc55b881 [2024-10-07T20:36:44.198Z] Removing intermediate container d56afc55b881 [2024-10-07T20:36:44.198Z] ---> 70a9759524d2 [2024-10-07T20:36:44.198Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T20:36:44.198Z] Successfully built 70a9759524d2 [2024-10-07T20:36:44.198Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-10-07T20:36:44.805Z] c9f46d7d2bd2: Verifying Checksum [2024-10-07T20:36:44.805Z] c9f46d7d2bd2: Download complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:36:45.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T20:36:45.309Z] [2024-10-07T20:36:45.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:36:45.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T20:36:45.709Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T20:36:45.709Z] 5eb5b503b376: Pulling fs layer [2024-10-07T20:36:45.709Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T20:36:45.709Z] ec43610c2a17: Pulling fs layer [2024-10-07T20:36:45.709Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T20:36:45.709Z] 33b1e0a273af: Pulling fs layer [2024-10-07T20:36:45.709Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T20:36:45.709Z] 2f39f015ded8: Pulling fs layer [2024-10-07T20:36:45.709Z] 3a2ae6a8a46f: Waiting [2024-10-07T20:36:45.709Z] 33b1e0a273af: Waiting [2024-10-07T20:36:45.709Z] 5d3b04190fa2: Waiting [2024-10-07T20:36:45.709Z] 2f39f015ded8: Waiting [2024-10-07T20:36:45.709Z] 5c69ac0246d0: Verifying Checksum [2024-10-07T20:36:45.709Z] 5c69ac0246d0: Download complete [2024-10-07T20:36:45.709Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-07T20:36:45.709Z] 3a2ae6a8a46f: Download complete [2024-10-07T20:36:45.709Z] 33b1e0a273af: Verifying Checksum [2024-10-07T20:36:45.709Z] 33b1e0a273af: Download complete [2024-10-07T20:36:45.709Z] 5d3b04190fa2: Download complete [2024-10-07T20:36:45.709Z] ec43610c2a17: Verifying Checksum [2024-10-07T20:36:45.709Z] ec43610c2a17: Download complete [2024-10-07T20:36:45.969Z] 5eb5b503b376: Download complete [2024-10-07T20:36:46.535Z] 2f39f015ded8: Download complete [2024-10-07T20:36:47.102Z] 5eb5b503b376: Pull complete [2024-10-07T20:36:47.361Z] 5c69ac0246d0: Pull complete [2024-10-07T20:36:47.619Z] ec43610c2a17: Pull complete [2024-10-07T20:36:47.619Z] 3a2ae6a8a46f: Pull complete [2024-10-07T20:36:47.878Z] 33b1e0a273af: Pull complete [2024-10-07T20:36:47.878Z] 5d3b04190fa2: Pull complete [2024-10-07T20:36:52.071Z] 2f39f015ded8: Pull complete [2024-10-07T20:36:52.071Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T20:36:52.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T20:36:52.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:36:52.352Z] prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container [2024-10-07T20:36:52.388Z] $ 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-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@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-07T20:36:55.796Z] $ docker top a9522ce4a47288384df43d7eaab8917714fdf9c14e99a7ed5a0e09298f3818c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:36:56.297Z] ---> job-cost.sh [2024-10-07T20:36:56.297Z] lf-activate-venv: SKIPPING [2024-10-07T20:36:56.297Z] INFO: No Stack... [2024-10-07T20:36:56.556Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T20:36:57.125Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T20:36:57.468Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-416/archives/cost.csv [2024-10-07T20:36:57.468Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T20:36:57.522Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [2024-10-07T20:36:57.529Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] did not exist. Created. [2024-10-07T20:36:57.536Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T20:36:57.957Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T20:36:58.019Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T20:36:58.061Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T20:36:58.160Z] $ docker stop --time=1 a9522ce4a47288384df43d7eaab8917714fdf9c14e99a7ed5a0e09298f3818c0 [2024-10-07T20:36:59.315Z] $ docker rm -f --volumes a9522ce4a47288384df43d7eaab8917714fdf9c14e99a7ed5a0e09298f3818c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T20:36:59.877Z] a37a00ec5f00: Pull complete [2024-10-07T20:36:59.877Z] 50b3750afda1: Pull complete [2024-10-07T20:36:59.877Z] 4f4fb700ef54: Pull complete [2024-10-07T20:36:59.877Z] 80978eb59214: Pull complete [2024-10-07T20:37:08.104Z] c9f46d7d2bd2: Pull complete [2024-10-07T20:37:09.067Z] c5a475d317c9: Pull complete [2024-10-07T20:37:09.067Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T20:37:09.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T20:37:09.067Z] ---> be29e6b0f0d4 [2024-10-07T20:37:09.067Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-07T20:37:09.652Z] ---> Running in 36a75836de2b [2024-10-07T20:37:09.926Z] Removing intermediate container 36a75836de2b [2024-10-07T20:37:09.926Z] ---> 2b01e9a9ddfc [2024-10-07T20:37:09.926Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T20:37:10.200Z] ---> Running in 5090c1d89154 [2024-10-07T20:37:10.467Z] Removing intermediate container 5090c1d89154 [2024-10-07T20:37:10.467Z] ---> 6d5749de46a0 [2024-10-07T20:37:10.467Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T20:37:10.467Z] ---> Running in 2607a046bed8 [2024-10-07T20:37:10.740Z] Removing intermediate container 2607a046bed8 [2024-10-07T20:37:10.740Z] ---> 81eb68b3b164 [2024-10-07T20:37:10.740Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T20:37:10.740Z] ---> Running in b7b7c987f3d3 [2024-10-07T20:37:11.010Z] Removing intermediate container b7b7c987f3d3 [2024-10-07T20:37:11.010Z] ---> 0718fc8a243d [2024-10-07T20:37:11.010Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T20:37:11.010Z] ---> Running in 5e1e23010291 [2024-10-07T20:37:12.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T20:37:12.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T20:37:13.829Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-07T20:37:13.829Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-07T20:37:13.829Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-07T20:37:13.829Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-07T20:37:13.829Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T20:37:13.829Z] OK: 242 MiB in 58 packages [2024-10-07T20:37:14.791Z] Removing intermediate container 5e1e23010291 [2024-10-07T20:37:14.791Z] ---> 35500c4504e8 [2024-10-07T20:37:14.791Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-07T20:37:15.062Z] ---> Running in 81d6fee2922c [2024-10-07T20:37:15.329Z] Removing intermediate container 81d6fee2922c [2024-10-07T20:37:15.329Z] ---> 5cc9ca6deea0 [2024-10-07T20:37:15.329Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-07T20:37:15.604Z] ---> fc184828bb16 [2024-10-07T20:37:15.604Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T20:37:15.874Z] ---> Running in c489e7af0b07 [2024-10-07T20:39:07.551Z] Removing intermediate container c489e7af0b07 [2024-10-07T20:39:07.551Z] ---> 885f88ee6855 [2024-10-07T20:39:07.551Z] Step 11/12 : COPY . . [2024-10-07T20:39:07.551Z] ---> 1a19d9bcf80b [2024-10-07T20:39:07.551Z] Step 12/12 : RUN $MAKE [2024-10-07T20:39:07.551Z] ---> Running in 828a7993d003 [2024-10-07T20:39:07.551Z] noop [2024-10-07T20:39:07.551Z] Removing intermediate container 828a7993d003 [2024-10-07T20:39:07.551Z] ---> 76a3ad44ddda [2024-10-07T20:39:07.551Z] Successfully built 76a3ad44ddda [2024-10-07T20:39:07.551Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:39:08.050Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T20:39:08.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:39:08.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-22086 does not seem to be running inside a container [2024-10-07T20:39:08.402Z] $ 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-07T20:39:09.493Z] $ docker top f9be3acf682687cf0b11f4763a3a9d765d78974eea8eba21ec2198b6b93bae28 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T20:39:10.348Z] + go version [2024-10-07T20:39:10.348Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T20:39:10.386Z] $ docker stop --time=1 f9be3acf682687cf0b11f4763a3a9d765d78974eea8eba21ec2198b6b93bae28 [2024-10-07T20:39:11.967Z] $ docker rm -f --volumes f9be3acf682687cf0b11f4763a3a9d765d78974eea8eba21ec2198b6b93bae28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:39:12.869Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T20:39:12.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:39:13.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-22086 does not seem to be running inside a container [2024-10-07T20:39:13.191Z] $ 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-07T20:39:14.335Z] $ docker top 6429558e90607779c8b465fe8e5bb9c978cdf4f874b0432f1346483549a9da4e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T20:39:15.218Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-07T20:39:15.933Z] + make test [2024-10-07T20:39:15.933Z] go test ./... -coverprofile=coverage.out ./... [2024-10-07T20:39:21.274Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-07T20:42:43.252Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-07T20:42:43.252Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements [2024-10-07T20:42:43.252Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T20:42:43.252Z] go vet ./... [2024-10-07T20:43:30.111Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T20:43:30.111Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T20:43:30.111Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T20:43:30.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T20:43:30.198Z] $ docker stop --time=1 6429558e90607779c8b465fe8e5bb9c978cdf4f874b0432f1346483549a9da4e [2024-10-07T20:43:32.027Z] $ docker rm -f --volumes 6429558e90607779c8b465fe8e5bb9c978cdf4f874b0432f1346483549a9da4e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T20:43:33.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T20:43:33.706Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T20:43:34.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T20:43:34.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T20:43:35.172Z] + ls -al . [2024-10-07T20:43:35.172Z] total 252 [2024-10-07T20:43:35.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 20:39 . [2024-10-07T20:43:35.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 20:36 .. [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 20:36 .dockerignore [2024-10-07T20:43:35.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 20:36 .git [2024-10-07T20:43:35.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:36 .github [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 7 20:36 .gitignore [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 20:36 .golangci.yml [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 7 20:36 Attribution.txt [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 7 20:36 CHANGELOG.md [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 7 20:36 Dockerfile [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 20:36 GOVERNANCE.md [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 20:36 Jenkinsfile [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 20:36 LICENSE [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 2016 Oct 7 20:36 Makefile [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 20:36 OWNERS.md [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 7 20:36 README.md [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 20:34 VERSION [2024-10-07T20:43:35.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:36 bin [2024-10-07T20:43:35.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:36 cmd [2024-10-07T20:43:35.172Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 7 20:42 coverage.out [2024-10-07T20:43:35.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:36 driver [2024-10-07T20:43:35.172Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 7 20:36 go.mod [2024-10-07T20:43:35.173Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 7 20:36 go.sum [2024-10-07T20:43:35.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:36 openapi [2024-10-07T20:43:35.173Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:43:35.635Z] + 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=9e6ee8770e03e4ae27f51face394261a232d2612 --label arch=arm64 --label version=0.0.0 . [2024-10-07T20:43:35.635Z] Sending build context to Docker daemon 155.6kB [2024-10-07T20:43:35.901Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T20:43:35.901Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-07T20:43:35.901Z] ---> 76a3ad44ddda [2024-10-07T20:43:35.901Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-07T20:43:35.901Z] ---> Running in cac2d2604e63 [2024-10-07T20:43:36.172Z] Removing intermediate container cac2d2604e63 [2024-10-07T20:43:36.172Z] ---> 51769e6e5153 [2024-10-07T20:43:36.172Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T20:43:36.172Z] ---> Running in 350926b87986 [2024-10-07T20:43:36.755Z] Removing intermediate container 350926b87986 [2024-10-07T20:43:36.755Z] ---> de6104a1bdbd [2024-10-07T20:43:36.755Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-07T20:43:36.755Z] ---> Running in 0cc05335b0d3 [2024-10-07T20:43:37.032Z] Removing intermediate container 0cc05335b0d3 [2024-10-07T20:43:37.032Z] ---> 34fa224bb361 [2024-10-07T20:43:37.032Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-07T20:43:37.032Z] ---> Running in 580b1f217237 [2024-10-07T20:43:37.300Z] Removing intermediate container 580b1f217237 [2024-10-07T20:43:37.300Z] ---> 1bcaa6a93f2f [2024-10-07T20:43:37.300Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T20:43:37.300Z] ---> Running in ee7a801e580f [2024-10-07T20:43:38.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T20:43:38.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T20:43:40.244Z] OK: 242 MiB in 58 packages [2024-10-07T20:43:40.833Z] Removing intermediate container ee7a801e580f [2024-10-07T20:43:40.833Z] ---> 9896604f13df [2024-10-07T20:43:40.833Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-07T20:43:40.833Z] ---> Running in 1a03c82e9b7d [2024-10-07T20:43:41.415Z] Removing intermediate container 1a03c82e9b7d [2024-10-07T20:43:41.415Z] ---> 6b0a5590ff12 [2024-10-07T20:43:41.415Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-07T20:43:41.685Z] ---> d0ebab284111 [2024-10-07T20:43:41.685Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T20:43:41.685Z] ---> Running in f6256508df69 [2024-10-07T20:43:44.284Z] Removing intermediate container f6256508df69 [2024-10-07T20:43:44.284Z] ---> b6bb1958a26b [2024-10-07T20:43:44.284Z] Step 11/26 : COPY . . [2024-10-07T20:43:44.550Z] ---> 7a4885a3d115 [2024-10-07T20:43:44.550Z] Step 12/26 : RUN $MAKE [2024-10-07T20:43:44.550Z] ---> Running in 622bf7b8ee1a [2024-10-07T20:43:45.507Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-10-07T20:47:07.252Z] Removing intermediate container 622bf7b8ee1a [2024-10-07T20:47:07.252Z] ---> d0f423e845be [2024-10-07T20:47:07.252Z] Step 13/26 : FROM alpine:3.20 [2024-10-07T20:47:07.252Z] 3.20: Pulling from library/alpine [2024-10-07T20:47:07.252Z] cf04c63912e1: Already exists [2024-10-07T20:47:07.252Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T20:47:07.252Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T20:47:07.252Z] ---> c157a85ed455 [2024-10-07T20:47:07.252Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T20:47:07.252Z] ---> Running in adfd3058886d [2024-10-07T20:47:07.252Z] Removing intermediate container adfd3058886d [2024-10-07T20:47:07.252Z] ---> e527af2d461a [2024-10-07T20:47:07.252Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-07T20:47:07.252Z] ---> Running in 73aecef4e3e4 [2024-10-07T20:47:07.252Z] Removing intermediate container 73aecef4e3e4 [2024-10-07T20:47:07.252Z] ---> 95908769b5d9 [2024-10-07T20:47:07.252Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-07T20:47:07.252Z] ---> Running in a05e86b22453 [2024-10-07T20:47:07.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T20:47:07.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T20:47:07.518Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T20:47:07.787Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T20:47:07.787Z] OK: 9 MiB in 15 packages [2024-10-07T20:47:08.761Z] Removing intermediate container a05e86b22453 [2024-10-07T20:47:08.761Z] ---> b5b00a58ad97 [2024-10-07T20:47:08.761Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-07T20:47:08.761Z] ---> Running in f9f066ced969 [2024-10-07T20:47:09.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T20:47:09.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T20:47:10.956Z] Upgrading critical system libraries and apk-tools: [2024-10-07T20:47:10.956Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T20:47:10.956Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T20:47:11.223Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T20:47:11.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T20:47:11.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T20:47:12.900Z] OK: 9 MiB in 15 packages [2024-10-07T20:47:13.870Z] Removing intermediate container f9f066ced969 [2024-10-07T20:47:13.870Z] ---> 85771106883a [2024-10-07T20:47:13.870Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-07T20:47:15.280Z] ---> f584cc88e90f [2024-10-07T20:47:15.280Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-07T20:47:15.862Z] ---> 9a9d8f1a3902 [2024-10-07T20:47:15.862Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-07T20:47:16.446Z] ---> 00de3198074a [2024-10-07T20:47:16.446Z] Step 21/26 : EXPOSE 59986 [2024-10-07T20:47:16.446Z] ---> Running in 8f9a61e44f98 [2024-10-07T20:47:16.715Z] Removing intermediate container 8f9a61e44f98 [2024-10-07T20:47:16.715Z] ---> fc32896ebab3 [2024-10-07T20:47:16.715Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-07T20:47:16.715Z] ---> Running in c74369c92096 [2024-10-07T20:47:16.983Z] Removing intermediate container c74369c92096 [2024-10-07T20:47:16.983Z] ---> 80094a88287e [2024-10-07T20:47:16.983Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-07T20:47:16.983Z] ---> Running in 71955cf896fd [2024-10-07T20:47:17.255Z] Removing intermediate container 71955cf896fd [2024-10-07T20:47:17.255Z] ---> c339b44ab6c2 [2024-10-07T20:47:17.255Z] Step 24/26 : LABEL arch=arm64 [2024-10-07T20:47:17.526Z] ---> Running in a1b5c6649a18 [2024-10-07T20:47:17.793Z] Removing intermediate container a1b5c6649a18 [2024-10-07T20:47:17.793Z] ---> 359a712f5810 [2024-10-07T20:47:17.793Z] Step 25/26 : LABEL git_sha=9e6ee8770e03e4ae27f51face394261a232d2612 [2024-10-07T20:47:17.793Z] ---> Running in c72df8db9e8a [2024-10-07T20:47:18.062Z] Removing intermediate container c72df8db9e8a [2024-10-07T20:47:18.062Z] ---> 6c768f39b555 [2024-10-07T20:47:18.062Z] Step 26/26 : LABEL version=0.0.0 [2024-10-07T20:47:18.062Z] ---> Running in 2197ddb3760e [2024-10-07T20:47:18.329Z] Removing intermediate container 2197ddb3760e [2024-10-07T20:47:18.329Z] ---> 440202b9a5d6 [2024-10-07T20:47:18.329Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T20:47:18.329Z] Successfully built 440202b9a5d6 [2024-10-07T20:47:18.329Z] 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-07T20:47:19.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T20:47:19.253Z] [2024-10-07T20:47:19.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:47:19.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T20:47:19.697Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T20:47:19.697Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T20:47:19.697Z] 04944245beec: Pulling fs layer [2024-10-07T20:47:19.697Z] 699f458cf7ca: Pulling fs layer [2024-10-07T20:47:19.697Z] 765212b225bb: Pulling fs layer [2024-10-07T20:47:19.697Z] f23df028b6ca: Pulling fs layer [2024-10-07T20:47:19.697Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T20:47:19.697Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T20:47:19.697Z] 765212b225bb: Waiting [2024-10-07T20:47:19.697Z] f23df028b6ca: Waiting [2024-10-07T20:47:19.697Z] d65c8cfc05b1: Waiting [2024-10-07T20:47:19.697Z] 2437ff75d9bd: Waiting [2024-10-07T20:47:19.982Z] 04944245beec: Verifying Checksum [2024-10-07T20:47:19.982Z] 04944245beec: Download complete [2024-10-07T20:47:19.982Z] 765212b225bb: Verifying Checksum [2024-10-07T20:47:19.982Z] 765212b225bb: Download complete [2024-10-07T20:47:19.982Z] f23df028b6ca: Verifying Checksum [2024-10-07T20:47:19.982Z] f23df028b6ca: Download complete [2024-10-07T20:47:19.982Z] d65c8cfc05b1: Verifying Checksum [2024-10-07T20:47:19.982Z] d65c8cfc05b1: Download complete [2024-10-07T20:47:19.982Z] 699f458cf7ca: Verifying Checksum [2024-10-07T20:47:19.982Z] 699f458cf7ca: Download complete [2024-10-07T20:47:20.575Z] 8998bd30e6a1: Verifying Checksum [2024-10-07T20:47:20.575Z] 8998bd30e6a1: Download complete [2024-10-07T20:47:23.201Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T20:47:23.201Z] 2437ff75d9bd: Download complete [2024-10-07T20:47:25.145Z] 8998bd30e6a1: Pull complete [2024-10-07T20:47:25.410Z] 04944245beec: Pull complete [2024-10-07T20:47:26.812Z] 699f458cf7ca: Pull complete [2024-10-07T20:47:27.078Z] 765212b225bb: Pull complete [2024-10-07T20:47:28.035Z] f23df028b6ca: Pull complete [2024-10-07T20:47:28.035Z] d65c8cfc05b1: Pull complete [2024-10-07T20:47:46.219Z] 2437ff75d9bd: Pull complete [2024-10-07T20:47:46.219Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T20:47:46.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T20:47:46.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:47:46.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-22086 does not seem to be running inside a container [2024-10-07T20:47:46.628Z] $ 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-07T20:47:49.207Z] $ docker top 4dbb66bbf869de7ff90948be1b2ece68471263f96ae6133d774f5d9ea2884066 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:47:49.821Z] ---> job-cost.sh [2024-10-07T20:47:50.087Z] lf-activate-venv: SKIPPING [2024-10-07T20:47:50.087Z] INFO: No Stack... [2024-10-07T20:47:50.665Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T20:47:51.245Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T20:47:51.923Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-07T20:47:51.923Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T20:47:52.010Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [2024-10-07T20:47:52.017Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] did not exist. Created. [2024-10-07T20:47:52.024Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T20:47:52.774Z] /w/workspace/device-rest-go/1@tmp/durable-015cbff2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T20:47:53.134Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T20:47:53.178Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T20:47:53.224Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T20:47:53.243Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T20:47:53.330Z] $ docker stop --time=1 4dbb66bbf869de7ff90948be1b2ece68471263f96ae6133d774f5d9ea2884066 [2024-10-07T20:47:54.790Z] $ docker rm -f --volumes 4dbb66bbf869de7ff90948be1b2ece68471263f96ae6133d774f5d9ea2884066 [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-07T20:47:55.918Z] provisioning config files... [2024-10-07T20:47:55.926Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config7270455625966687382tmp [Pipeline] { [Pipeline] sh [2024-10-07T20:47:56.282Z] + set +x [2024-10-07T20:47:56.282Z] + curl -s https://codecov.io/bash [2024-10-07T20:47:56.282Z] + bash -s -- [2024-10-07T20:47:56.282Z] [2024-10-07T20:47:56.282Z] _____ _ [2024-10-07T20:47:56.282Z] / ____| | | [2024-10-07T20:47:56.282Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T20:47:56.282Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T20:47:56.282Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T20:47:56.282Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T20:47:56.282Z] Bash-1.0.6 [2024-10-07T20:47:56.282Z] [2024-10-07T20:47:56.282Z] [2024-10-07T20:47:56.282Z] ==> git version 2.25.1 found [2024-10-07T20:47:56.282Z] ==> 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-07T20:47:56.282Z] Release-Date: 2020-01-08 [2024-10-07T20:47:56.282Z] 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-07T20:47:56.282Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T20:47:56.282Z] ==> Jenkins CI detected. [2024-10-07T20:47:56.282Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-416 [2024-10-07T20:47:56.282Z] project root: . [2024-10-07T20:47:56.282Z] --> token set from env [2024-10-07T20:47:56.282Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T20:47:56.282Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T20:47:56.282Z] ==> Python coveragepy not found [2024-10-07T20:47:56.282Z] ==> Searching for coverage reports in: [2024-10-07T20:47:56.282Z] + . [2024-10-07T20:47:56.282Z] -> Found 1 reports [2024-10-07T20:47:56.282Z] ==> Detecting git/mercurial file structure [2024-10-07T20:47:56.543Z] ==> Reading reports [2024-10-07T20:47:56.543Z] + ./coverage.out bytes=14565 [2024-10-07T20:47:56.543Z] ==> Appending adjustments [2024-10-07T20:47:56.543Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T20:47:56.543Z] + Found adjustments [2024-10-07T20:47:56.543Z] ==> Gzipping contents [2024-10-07T20:47:56.543Z] 4.0K /tmp/codecov.ftKIZC.gz [2024-10-07T20:47:56.543Z] ==> Uploading reports [2024-10-07T20:47:56.543Z] url: https://codecov.io [2024-10-07T20:47:56.543Z] query: branch=PR-416&commit=9e6ee8770e03e4ae27f51face394261a232d2612&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=416&job=&cmd_args= [2024-10-07T20:47:56.543Z] -> Pinging Codecov [2024-10-07T20:47:56.543Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-416&commit=9e6ee8770e03e4ae27f51face394261a232d2612&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=416&job=&cmd_args= [2024-10-07T20:47:56.544Z] -> Uploading to [2024-10-07T20:47:56.544Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/9e6ee8770e03e4ae27f51face394261a232d2612/b050cfb7-5649-41bd-8ac9-a9e0e337ec07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T204756Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a57d7b6d233d4ba1b3ece77c5c06bf50b5e852f95533aef27321968aac859ba6 [2024-10-07T20:47:56.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T20:47:56.804Z] Dload Upload Total Spent Left Speed [2024-10-07T20:47:56.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 9761 --:--:-- --:--:-- --:--:-- 9761 [2024-10-07T20:47:56.804Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] } [2024-10-07T20:47:56.838Z] 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-07T20:47:59.088Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-416/archives ] [2024-10-07T20:47:59.088Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-416/archives [2024-10-07T20:47:59.088Z] total 16 [2024-10-07T20:47:59.088Z] drwxr-xr-x 3 root root 4096 Oct 7 20:36 . [2024-10-07T20:47:59.088Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 20:36 .. [2024-10-07T20:47:59.088Z] drwxr-xr-x 2 root root 4096 Oct 7 20:36 cost [2024-10-07T20:47:59.088Z] -rw-r--r-- 1 root root 86 Oct 7 20:36 cost.csv [2024-10-07T20:47:59.088Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-416/archives [2024-10-07T20:47:59.088Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-416/archives [2024-10-07T20:47:59.088Z] total 16 [2024-10-07T20:47:59.088Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 20:36 . [2024-10-07T20:47:59.088Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 20:36 .. [2024-10-07T20:47:59.088Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 20:36 cost [2024-10-07T20:47:59.088Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 7 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:47:59.433Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:48:00.339Z] ---> package-listing.sh [2024-10-07T20:48:00.339Z] ++ facter osfamily [2024-10-07T20:48:00.339Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T20:48:00.599Z] + OS_FAMILY=debian [2024-10-07T20:48:00.599Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-416 [2024-10-07T20:48:00.599Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T20:48:00.599Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T20:48:00.599Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T20:48:00.599Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T20:48:00.599Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-416 ']' [2024-10-07T20:48:00.599Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T20:48:00.599Z] + case "${OS_FAMILY}" in [2024-10-07T20:48:00.599Z] + dpkg -l [2024-10-07T20:48:00.599Z] + grep '^ii' [2024-10-07T20:48:00.599Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T20:48:00.599Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T20:48:00.599Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T20:48:00.599Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-416 ']' [2024-10-07T20:48:00.599Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-416/archives/ [2024-10-07T20:48:00.599Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-416/archives/ [Pipeline] echo [2024-10-07T20:48:00.641Z] 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-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T20:48:00.941Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T20:48:01.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T20:48:01.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T20:48:01.768Z] prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container [2024-10-07T20:48:01.792Z] $ 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-416/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-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@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-07T20:48:01.983Z] $ docker top 25c268f14e657ceb69d002fba72e3ba22e0df8bfabee5ded2348a4814621c5f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T20:48:02.394Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T20:48:02.709Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T20:48:03.025Z] + ls /var/log/sa-host [2024-10-07T20:48:03.025Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T20:48:03.269Z] provisioning config files... [2024-10-07T20:48:03.277Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config16493499688836600378tmp [Pipeline] { [Pipeline] echo [2024-10-07T20:48:03.345Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:48:03.670Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T20:48:03.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:48:04.225Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T20:48:04.265Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:48:04.589Z] ---> sudo-logs.sh [2024-10-07T20:48:04.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T20:48:04.687Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:48:05.002Z] ---> job-cost.sh [2024-10-07T20:48:05.002Z] lf-activate-venv: SKIPPING [2024-10-07T20:48:05.002Z] DEBUG: total: 0.2199999988079071 [2024-10-07T20:48:05.002Z] INFO: Retrieving Stack Cost... [2024-10-07T20:48:05.264Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T20:48:05.833Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T20:48:05.880Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T20:48:06.208Z] ---> logs-deploy.sh [2024-10-07T20:48:06.208Z] lf-activate-venv: SKIPPING [2024-10-07T20:48:06.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-416/1 [2024-10-07T20:48:06.209Z] INFO: archiving workspace using pattern(s): [2024-10-07T20:48:07.147Z] Archives upload complete. [2024-10-07T20:48:07.147Z] INFO: archiving logs to Nexus