Pull request #427 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff+8257fd91468d3a13c9b08aa2e5cf32be113d097a (4dc1364439a8584d44df1be6a26b20f7a011a631) 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-ssh150617119753566216.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-ssh6756141922909959650.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-427/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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh419590959767946817.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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12494893693412532329.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-ssh5374655202389892313.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-427/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-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10281756907345928806.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-26203 in /w/workspace/gexfoundry_device-rest-go_PR-427 [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-427 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff Merge succeeded, producing f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff Checking out Revision f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff (PR-427) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff # 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 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T20:18:07.020Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T20:18:07.244Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T20:18:07.362Z] ========================================================= [2024-11-11T20:18:07.362Z] EdgeX Global Pipelines Version Info [2024-11-11T20:18:07.362Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:18:08.128Z] ------------------- [2024-11-11T20:18:08.129Z] stable info: [2024-11-11T20:18:08.129Z] ------------------- [2024-11-11T20:18:08.129Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T20:18:08.129Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T20:18:08.129Z] Message: update stable to v1.0.265 [2024-11-11T20:18:08.702Z] ------------------- [2024-11-11T20:18:08.702Z] experimental info: [2024-11-11T20:18:08.702Z] ------------------- [2024-11-11T20:18:08.702Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T20:18:08.702Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T20:18:08.702Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T20:18:08.933Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-11-11T20:18:08.991Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-11-11T20:18:09.050Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T20:18:09.112Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T20:18:09.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T20:18:09.239Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T20:18:09.300Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T20:18:09.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-11T20:18:09.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T20:18:09.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T20:18:09.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T20:18:09.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-11-11T20:18:09.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T20:18:09.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T20:18:09.770Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T20:18:09.833Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T20:18:09.886Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T20:18:09.946Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T20:18:10.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T20:18:10.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T20:18:10.131Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-11T20:18:10.185Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-11T20:18:10.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T20:18:10.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T20:18:10.359Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T20:18:10.414Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T20:18:10.466Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T20:18:10.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo [2024-11-11T20:18:10.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo [2024-11-11T20:18:10.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo [2024-11-11T20:18:10.689Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [Pipeline] echo [2024-11-11T20:18:10.748Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4a1bb9 [Pipeline] echo [2024-11-11T20:18:10.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T20:18:10.959Z] provisioning config files... [2024-11-11T20:18:10.972Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp/config10892335568659685625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:18:11.365Z] ---> ****-login.sh [2024-11-11T20:18:11.365Z] nexus3.edgexfoundry.org:10001 [2024-11-11T20:18:11.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:11.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:11.625Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:11.625Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:11.625Z] [2024-11-11T20:18:11.625Z] Login Succeeded [2024-11-11T20:18:11.625Z] nexus3.edgexfoundry.org:10002 [2024-11-11T20:18:11.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:11.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:11.886Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:11.886Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:11.886Z] [2024-11-11T20:18:11.886Z] Login Succeeded [2024-11-11T20:18:11.886Z] nexus3.edgexfoundry.org:10003 [2024-11-11T20:18:11.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:11.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:11.887Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:11.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:11.887Z] [2024-11-11T20:18:11.887Z] Login Succeeded [2024-11-11T20:18:11.887Z] nexus3.edgexfoundry.org:10004 [2024-11-11T20:18:11.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:12.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:12.149Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:12.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:12.149Z] [2024-11-11T20:18:12.149Z] Login Succeeded [2024-11-11T20:18:12.149Z] ****.io [2024-11-11T20:18:12.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:12.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:12.411Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:12.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:12.411Z] [2024-11-11T20:18:12.411Z] Login Succeeded [2024-11-11T20:18:12.411Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T20:18:12.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T20:18:13.124Z] + git rev-list -1 --merges f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff~1..f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [Pipeline] echo [2024-11-11T20:18:13.176Z] -----------> git rev-list -1 --merges f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff~1..f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [false] [Pipeline] sh [2024-11-11T20:18:13.504Z] + git log --format=format:%s -1 f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [Pipeline] echo [2024-11-11T20:18:13.551Z] ========================================================= [2024-11-11T20:18:13.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T20:18:13.551Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T20:18:14.008Z] + git log --format=format:%s -1 f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [Pipeline] echo [2024-11-11T20:18:14.046Z] [semverPrep] GIT_COMMIT: f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-11T20:18:14.087Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T20:18:14.518Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T20:18:14.518Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T20:18:14.518Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T20:18:14.518Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T20:18:14.518Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T20:18:14.518Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T20:18:14.518Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:18:15.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T20:18:15.026Z] [2024-11-11T20:18:15.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:18:15.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T20:18:15.427Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T20:18:15.427Z] b85a868b505f: Pulling fs layer [2024-11-11T20:18:15.427Z] e2be974225ed: Pulling fs layer [2024-11-11T20:18:15.427Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T20:18:15.427Z] 988bab9f4d93: Pulling fs layer [2024-11-11T20:18:15.427Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T20:18:15.427Z] eaf3925da568: Pulling fs layer [2024-11-11T20:18:15.427Z] bab4dde63d76: Pulling fs layer [2024-11-11T20:18:15.427Z] bde34c3a00c8: Pulling fs layer [2024-11-11T20:18:15.427Z] b352a97aabf1: Pulling fs layer [2024-11-11T20:18:15.427Z] 4872d77fe225: Pulling fs layer [2024-11-11T20:18:15.427Z] 5851b861e8e6: Pulling fs layer [2024-11-11T20:18:15.427Z] bab4dde63d76: Waiting [2024-11-11T20:18:15.427Z] bde34c3a00c8: Waiting [2024-11-11T20:18:15.427Z] b352a97aabf1: Waiting [2024-11-11T20:18:15.427Z] 4872d77fe225: Waiting [2024-11-11T20:18:15.427Z] 1469e6f7b9e6: Waiting [2024-11-11T20:18:15.427Z] e2be974225ed: Verifying Checksum [2024-11-11T20:18:15.427Z] e2be974225ed: Download complete [2024-11-11T20:18:15.427Z] 988bab9f4d93: Verifying Checksum [2024-11-11T20:18:15.427Z] 988bab9f4d93: Download complete [2024-11-11T20:18:15.427Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T20:18:15.427Z] 1469e6f7b9e6: Download complete [2024-11-11T20:18:15.687Z] eaf3925da568: Verifying Checksum [2024-11-11T20:18:15.687Z] eaf3925da568: Download complete [2024-11-11T20:18:15.687Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T20:18:15.687Z] 339a4e72a1f5: Download complete [2024-11-11T20:18:15.687Z] bde34c3a00c8: Download complete [2024-11-11T20:18:15.687Z] b352a97aabf1: Download complete [2024-11-11T20:18:15.687Z] 4872d77fe225: Verifying Checksum [2024-11-11T20:18:15.687Z] 4872d77fe225: Download complete [2024-11-11T20:18:15.687Z] 5851b861e8e6: Verifying Checksum [2024-11-11T20:18:15.687Z] 5851b861e8e6: Download complete [2024-11-11T20:18:15.687Z] b85a868b505f: Verifying Checksum [2024-11-11T20:18:15.687Z] b85a868b505f: Download complete [2024-11-11T20:18:15.947Z] bab4dde63d76: Verifying Checksum [2024-11-11T20:18:15.947Z] bab4dde63d76: Download complete [2024-11-11T20:18:16.885Z] b85a868b505f: Pull complete [2024-11-11T20:18:17.146Z] e2be974225ed: Pull complete [2024-11-11T20:18:17.713Z] 339a4e72a1f5: Pull complete [2024-11-11T20:18:17.713Z] 988bab9f4d93: Pull complete [2024-11-11T20:18:17.982Z] 1469e6f7b9e6: Pull complete [2024-11-11T20:18:17.982Z] eaf3925da568: Pull complete [2024-11-11T20:18:19.896Z] bab4dde63d76: Pull complete [2024-11-11T20:18:20.157Z] bde34c3a00c8: Pull complete [2024-11-11T20:18:20.157Z] b352a97aabf1: Pull complete [2024-11-11T20:18:20.157Z] 4872d77fe225: Pull complete [2024-11-11T20:18:20.417Z] 5851b861e8e6: Pull complete [2024-11-11T20:18:20.417Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T20:18:20.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T20:18:20.417Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:18:20.725Z] prd-ubuntu20.04-docker-8c-8g-26203 does not seem to be running inside a container [2024-11-11T20:18:20.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-427 -v /w/workspace/gexfoundry_device-rest-go_PR-427:/w/workspace/gexfoundry_device-rest-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-427@tmp:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T20:18:23.728Z] $ docker top 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 -eo pid,comm [2024-11-11T20:18:23.790Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-11T20:18:23.790Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T20:18:23.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T20:18:23.966Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T20:18:24.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T20:18:24.091Z] $ docker exec 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 ssh-agent [2024-11-11T20:18:24.208Z] SSH_AUTH_SOCK=/tmp/ssh-Ayczb9Q6RY3p/agent.32 [2024-11-11T20:18:24.208Z] SSH_AGENT_PID=38 [2024-11-11T20:18:24.214Z] Running ssh-add (command line suppressed) [2024-11-11T20:18:24.314Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-427@tmp/private_key_10067584010203393741.key (/w/workspace/gexfoundry_device-rest-go_PR-427@tmp/private_key_10067584010203393741.key) [2024-11-11T20:18:24.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T20:18:24.687Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T20:18:24.716Z] $ docker exec --env ******** --env ******** 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 ssh-agent -k [2024-11-11T20:18:24.813Z] unset SSH_AUTH_SOCK; [2024-11-11T20:18:24.813Z] unset SSH_AGENT_PID; [2024-11-11T20:18:24.813Z] echo Agent pid 38 killed; [2024-11-11T20:18:24.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T20:18:24.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T20:18:24.935Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T20:18:25.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T20:18:25.044Z] $ docker exec 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 ssh-agent [2024-11-11T20:18:25.165Z] SSH_AUTH_SOCK=/tmp/ssh-gO0Io9uhtNBi/agent.71 [2024-11-11T20:18:25.165Z] SSH_AGENT_PID=77 [2024-11-11T20:18:25.170Z] Running ssh-add (command line suppressed) [2024-11-11T20:18:25.269Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-427@tmp/private_key_5868134421016775259.key (/w/workspace/gexfoundry_device-rest-go_PR-427@tmp/private_key_5868134421016775259.key) [2024-11-11T20:18:25.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T20:18:25.635Z] + git semver init [2024-11-11T20:18:25.895Z] 2024-11-11 20:18:25,804 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T20:18:25.895Z] 2024-11-11 20:18:25,805 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-427/.semver [2024-11-11T20:18:25.895Z] 2024-11-11 20:18:25,805 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-427/.semver [2024-11-11T20:18:25.896Z] 2024-11-11 20:18:25,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-427/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-427, universal_newlines=False, shell=None, istream=None) [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,096 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-427/.git/info/exclude [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,097 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-427/.semver/PR-427 with force:False [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,097 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-427/.semver/PR-427 [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,102 [execute] INFO git cat-file --batch-check [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,110 [execute] INFO git cat-file --batch [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T20:18:27.282Z] 2024-11-11 20:18:27,117 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-427/.semver/PR-427 [2024-11-11T20:18:27.282Z] 0.0.0 [Pipeline] } [2024-11-11T20:18:27.305Z] $ docker exec --env ******** --env ******** 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 ssh-agent -k [2024-11-11T20:18:27.404Z] unset SSH_AUTH_SOCK; [2024-11-11T20:18:27.405Z] unset SSH_AGENT_PID; [2024-11-11T20:18:27.405Z] echo Agent pid 77 killed; [2024-11-11T20:18:27.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T20:18:27.863Z] + git semver [Pipeline] } [2024-11-11T20:18:28.148Z] $ docker stop --time=1 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 [2024-11-11T20:18:29.454Z] $ docker rm -f --volumes 44c35aeb97132ab03c8e7002913746ea62d0e616eb33037cea74622c789e3da2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T20:18:29.876Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T20:18:30.198Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T20:18:30.223Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T20:18:30.925Z] provisioning config files... [2024-11-11T20:18:30.941Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp/config13499627422426466559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:18:31.306Z] ---> ****-login.sh [2024-11-11T20:18:31.306Z] nexus3.edgexfoundry.org:10001 [2024-11-11T20:18:31.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:31.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:31.306Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:31.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:31.306Z] [2024-11-11T20:18:31.306Z] Login Succeeded [2024-11-11T20:18:31.307Z] nexus3.edgexfoundry.org:10002 [2024-11-11T20:18:31.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:31.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:31.307Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:31.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:31.307Z] [2024-11-11T20:18:31.307Z] Login Succeeded [2024-11-11T20:18:31.307Z] nexus3.edgexfoundry.org:10003 [2024-11-11T20:18:31.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:31.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:31.569Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:31.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:31.569Z] [2024-11-11T20:18:31.569Z] Login Succeeded [2024-11-11T20:18:31.569Z] nexus3.edgexfoundry.org:10004 [2024-11-11T20:18:31.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:31.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:31.569Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:31.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:31.569Z] [2024-11-11T20:18:31.569Z] Login Succeeded [2024-11-11T20:18:31.569Z] ****.io [2024-11-11T20:18:31.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:18:31.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:18:31.829Z] Configure a credential helper to remove this warning. See [2024-11-11T20:18:31.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:18:31.829Z] [2024-11-11T20:18:31.829Z] Login Succeeded [2024-11-11T20:18:31.829Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T20:18:31.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T20:18:32.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T20:18:32.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T20:18:32.190Z] ========================================================= [2024-11-11T20:18:32.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T20:18:32.190Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:18:32.711Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T20:18:32.711Z] Sending build context to Docker daemon 16.65MB [2024-11-11T20:18:32.711Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T20:18:32.711Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-11T20:18:32.711Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T20:18:32.711Z] 43c4264eed91: Pulling fs layer [2024-11-11T20:18:32.711Z] 4cc291be95ef: Pulling fs layer [2024-11-11T20:18:32.711Z] 2ac1f1163629: Pulling fs layer [2024-11-11T20:18:32.711Z] 5c3c966382ef: Pulling fs layer [2024-11-11T20:18:32.711Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T20:18:32.711Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T20:18:32.711Z] 9f66e0745190: Pulling fs layer [2024-11-11T20:18:32.711Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T20:18:32.711Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T20:18:32.711Z] 5d5c8e513c77: Waiting [2024-11-11T20:18:32.711Z] 9f66e0745190: Waiting [2024-11-11T20:18:32.711Z] f49a43e4bbc0: Waiting [2024-11-11T20:18:32.711Z] 561ebcabdf7f: Waiting [2024-11-11T20:18:32.711Z] 5c3c966382ef: Waiting [2024-11-11T20:18:32.711Z] 4f4fb700ef54: Waiting [2024-11-11T20:18:32.970Z] 4cc291be95ef: Verifying Checksum [2024-11-11T20:18:32.970Z] 4cc291be95ef: Download complete [2024-11-11T20:18:32.970Z] 5c3c966382ef: Download complete [2024-11-11T20:18:32.970Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T20:18:32.970Z] 4f4fb700ef54: Download complete [2024-11-11T20:18:32.970Z] 5d5c8e513c77: Download complete [2024-11-11T20:18:32.970Z] 43c4264eed91: Verifying Checksum [2024-11-11T20:18:32.970Z] 43c4264eed91: Download complete [2024-11-11T20:18:32.970Z] 9f66e0745190: Verifying Checksum [2024-11-11T20:18:32.970Z] 9f66e0745190: Download complete [2024-11-11T20:18:32.970Z] 43c4264eed91: Pull complete [2024-11-11T20:18:33.230Z] 561ebcabdf7f: Download complete [2024-11-11T20:18:33.230Z] 4cc291be95ef: Pull complete [2024-11-11T20:18:33.488Z] 2ac1f1163629: Download complete [2024-11-11T20:18:33.746Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T20:18:33.746Z] f49a43e4bbc0: Download complete [2024-11-11T20:18:37.036Z] 2ac1f1163629: Pull complete [2024-11-11T20:18:37.036Z] 5c3c966382ef: Pull complete [2024-11-11T20:18:37.036Z] 4f4fb700ef54: Pull complete [2024-11-11T20:18:37.036Z] 5d5c8e513c77: Pull complete [2024-11-11T20:18:37.294Z] 9f66e0745190: Pull complete [2024-11-11T20:18:39.825Z] f49a43e4bbc0: Pull complete [2024-11-11T20:18:40.084Z] 561ebcabdf7f: Pull complete [2024-11-11T20:18:40.084Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T20:18:40.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T20:18:40.084Z] ---> 3a752c3f9dda [2024-11-11T20:18:40.084Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-11T20:18:44.281Z] ---> Running in af3c94b93dee [2024-11-11T20:18:44.281Z] Removing intermediate container af3c94b93dee [2024-11-11T20:18:44.281Z] ---> dbe8d9ce2dd1 [2024-11-11T20:18:44.281Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T20:18:44.281Z] ---> Running in 3f7911fccced [2024-11-11T20:18:44.281Z] Removing intermediate container 3f7911fccced [2024-11-11T20:18:44.281Z] ---> a3fbb5428c8c [2024-11-11T20:18:44.281Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T20:18:44.281Z] ---> Running in 0426efcff0ca [2024-11-11T20:18:44.281Z] Removing intermediate container 0426efcff0ca [2024-11-11T20:18:44.281Z] ---> cfd5066602d2 [2024-11-11T20:18:44.281Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T20:18:44.281Z] ---> Running in ecea18c47f12 [2024-11-11T20:18:44.281Z] Removing intermediate container ecea18c47f12 [2024-11-11T20:18:44.281Z] ---> 02019569f7c3 [2024-11-11T20:18:44.281Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T20:18:44.281Z] ---> Running in df36dd604559 [2024-11-11T20:18:44.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T20:18:44.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T20:18:45.111Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T20:18:45.111Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-11T20:18:45.111Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T20:18:45.111Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T20:18:45.111Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T20:18:45.111Z] OK: 250 MiB in 58 packages [2024-11-11T20:18:45.679Z] Removing intermediate container df36dd604559 [2024-11-11T20:18:45.679Z] ---> d960e0ad293b [2024-11-11T20:18:45.679Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-11T20:18:45.679Z] ---> Running in f730e8cbb2ce [2024-11-11T20:18:45.679Z] Removing intermediate container f730e8cbb2ce [2024-11-11T20:18:45.679Z] ---> 821bbaffc8e8 [2024-11-11T20:18:45.679Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-11T20:18:45.707Z] Still waiting to schedule task [2024-11-11T20:18:45.707Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-11T20:18:45.938Z] ---> 05a3417ba962 [2024-11-11T20:18:45.938Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T20:18:45.938Z] ---> Running in 277c3d738c99 [2024-11-11T20:19:32.655Z] Removing intermediate container 277c3d738c99 [2024-11-11T20:19:32.655Z] ---> 0e9d883f5b38 [2024-11-11T20:19:32.655Z] Step 11/12 : COPY . . [2024-11-11T20:19:32.914Z] ---> 26dab94f1430 [2024-11-11T20:19:32.914Z] Step 12/12 : RUN $MAKE [2024-11-11T20:19:32.914Z] ---> Running in f42d99a079f1 [2024-11-11T20:19:33.174Z] noop [2024-11-11T20:19:33.434Z] Removing intermediate container f42d99a079f1 [2024-11-11T20:19:33.434Z] ---> 2d4856e706cd [2024-11-11T20:19:33.434Z] Successfully built 2d4856e706cd [2024-11-11T20:19:33.434Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:19:33.986Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T20:19:33.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:19:34.148Z] prd-ubuntu20.04-docker-8c-8g-26203 does not seem to be running inside a container [2024-11-11T20:19:34.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-427 -v /w/workspace/gexfoundry_device-rest-go_PR-427:/w/workspace/gexfoundry_device-rest-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-427@tmp:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T20:19:34.493Z] $ docker top 841910592c2a44b9cc26cc07fa51d2f3dfd24cfaf8fb333e7c6c0b6cbaa6ea06 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T20:19:34.912Z] + go version [2024-11-11T20:19:34.912Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T20:19:34.947Z] $ docker stop --time=1 841910592c2a44b9cc26cc07fa51d2f3dfd24cfaf8fb333e7c6c0b6cbaa6ea06 [2024-11-11T20:19:36.201Z] $ docker rm -f --volumes 841910592c2a44b9cc26cc07fa51d2f3dfd24cfaf8fb333e7c6c0b6cbaa6ea06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:19:36.991Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T20:19:36.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:19:37.168Z] prd-ubuntu20.04-docker-8c-8g-26203 does not seem to be running inside a container [2024-11-11T20:19:37.194Z] $ 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-427 -v /w/workspace/gexfoundry_device-rest-go_PR-427:/w/workspace/gexfoundry_device-rest-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-427@tmp:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T20:19:37.517Z] $ docker top 5936cfaf01eb990ba57da4b5b1b6f553be87725076f19af6d645c7683e7459aa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T20:19:37.936Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-427 [Pipeline] fileExists [Pipeline] sh [2024-11-11T20:19:38.317Z] + make test [2024-11-11T20:19:38.317Z] go test ./... -coverprofile=coverage.out ./... [2024-11-11T20:19:40.222Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-11T20:19:58.304Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-11T20:19:58.304Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements [2024-11-11T20:20:08.277Z] go vet ./... [2024-11-11T20:20:11.318Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26204 in /w/workspace/gexfoundry_device-rest-go_PR-427 [Pipeline] { [Pipeline] ws [2024-11-11T20:20:11.396Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-11-11T20:20:13.546Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T20:20:13.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T20:20:13.547Z] ./bin/test-attribution-txt.sh [2024-11-11T20:20:14.498Z] The recommended git tool is: git [Pipeline] echo [2024-11-11T20:20:14.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T20:20:14.600Z] $ docker stop --time=1 5936cfaf01eb990ba57da4b5b1b6f553be87725076f19af6d645c7683e7459aa [2024-11-11T20:20:17.853Z] $ docker rm -f --volumes 5936cfaf01eb990ba57da4b5b1b6f553be87725076f19af6d645c7683e7459aa [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T20:20:18.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T20:20:18.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-11-11T20:20:18.915Z] using credential edgex-jenkins-ssh [2024-11-11T20:20:18.935Z] Cloning the remote Git repository [Pipeline] sh [2024-11-11T20:20:19.350Z] + sudo chown -R jenkins:jenkins . [2024-11-11T20:20:18.963Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-11-11T20:20:19.047Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-11-11T20:20:19.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-11T20:20:19.182Z] > git --version # timeout=10 [2024-11-11T20:20:19.200Z] > git --version # 'git version 2.25.1' [2024-11-11T20:20:19.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T20:20:19.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2024-11-11T20:20:19.674Z] + ls -al . [2024-11-11T20:20:19.674Z] total 244 [2024-11-11T20:20:19.674Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 20:19 . [2024-11-11T20:20:19.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:18 .. [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 11 20:18 .dockerignore [2024-11-11T20:20:19.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:19 .git [2024-11-11T20:20:19.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:18 .github [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 11 20:18 .gitignore [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 20:18 .golangci.yml [2024-11-11T20:20:19.674Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 20:18 .semver [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 11 20:18 Attribution.txt [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 11 20:18 CHANGELOG.md [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 11 20:18 Dockerfile [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:18 GOVERNANCE.md [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 11 20:18 Jenkinsfile [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 20:18 LICENSE [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 11 20:18 Makefile [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 20:18 OWNERS.md [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 11 20:18 README.md [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 20:18 VERSION [2024-11-11T20:20:19.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:18 bin [2024-11-11T20:20:19.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:18 cmd [2024-11-11T20:20:19.674Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 11 20:19 coverage.out [2024-11-11T20:20:19.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:18 driver [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 6390 Nov 11 20:18 go.mod [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 11 20:18 go.sum [2024-11-11T20:20:19.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:18 openapi [2024-11-11T20:20:19.674Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 11 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:20:20.119Z] + 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=f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff --label arch=amd64 --label version=0.0.0 . [2024-11-11T20:20:20.119Z] Sending build context to Docker daemon 16.66MB [2024-11-11T20:20:20.119Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T20:20:20.119Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-11T20:20:20.119Z] ---> 2d4856e706cd [2024-11-11T20:20:20.119Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-11T20:20:20.378Z] ---> Running in 754ea666a218 [2024-11-11T20:20:20.378Z] Removing intermediate container 754ea666a218 [2024-11-11T20:20:20.378Z] ---> 91246c0b722a [2024-11-11T20:20:20.378Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T20:20:20.378Z] ---> Running in 1f706c57bbd4 [2024-11-11T20:20:20.637Z] Removing intermediate container 1f706c57bbd4 [2024-11-11T20:20:20.637Z] ---> e0b94249afe9 [2024-11-11T20:20:20.637Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T20:20:20.637Z] ---> Running in f12c8bda9d3f [2024-11-11T20:20:20.637Z] Removing intermediate container f12c8bda9d3f [2024-11-11T20:20:20.637Z] ---> 8d0b56c391b3 [2024-11-11T20:20:20.637Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T20:20:20.637Z] ---> Running in b168701c5a5c [2024-11-11T20:20:20.637Z] Removing intermediate container b168701c5a5c [2024-11-11T20:20:20.637Z] ---> 791295ead1a8 [2024-11-11T20:20:20.637Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T20:20:20.897Z] ---> Running in 3ec5f8fa112f [2024-11-11T20:20:21.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:21.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:21.414Z] OK: 250 MiB in 58 packages [2024-11-11T20:20:21.673Z] Removing intermediate container 3ec5f8fa112f [2024-11-11T20:20:21.673Z] ---> 009ab412f3ce [2024-11-11T20:20:21.673Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-11T20:20:21.673Z] ---> Running in 799aa776a59c [2024-11-11T20:20:21.937Z] Removing intermediate container 799aa776a59c [2024-11-11T20:20:21.937Z] ---> 13e97307f391 [2024-11-11T20:20:21.937Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-11T20:20:21.937Z] ---> 0b787e13085c [2024-11-11T20:20:21.937Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T20:20:21.937Z] ---> Running in 4be6397214cc [2024-11-11T20:20:22.503Z] Removing intermediate container 4be6397214cc [2024-11-11T20:20:22.503Z] ---> 297bbf5c1f2e [2024-11-11T20:20:22.503Z] Step 11/26 : COPY . . [2024-11-11T20:20:23.069Z] ---> d14fb2dd12e4 [2024-11-11T20:20:23.069Z] Step 12/26 : RUN $MAKE [2024-11-11T20:20:23.069Z] ---> Running in 4aea0be7d55a [2024-11-11T20:20:21.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-11T20:20:21.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T20:20:22.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-11T20:20:22.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-11T20:20:22.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T20:20:22.892Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T20:20:23.328Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-11T20:20:23.409Z] Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [2024-11-11T20:20:23.661Z] Merge succeeded, producing f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [2024-11-11T20:20:23.662Z] Checking out Revision f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff (PR-427) [2024-11-11T20:20:24.175Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-11T20:20:24.213Z] > git --version # timeout=10 [2024-11-11T20:20:24.222Z] > git --version # 'git version 2.25.1' [2024-11-11T20:20:24.233Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T20:20:23.417Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T20:20:23.489Z] > git checkout -f f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff # timeout=10 [2024-11-11T20:20:23.557Z] > git remote # timeout=10 [2024-11-11T20:20:23.574Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T20:20:23.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T20:20:23.619Z] > git merge 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 [2024-11-11T20:20:23.641Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T20:20:23.658Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T20:20:23.670Z] > git checkout -f f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T20:20:29.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T20:20:29.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T20:20:29.138Z] Dload Upload Total Spent Left Speed [2024-11-11T20:20:29.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-11-11T20:20:29.498Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T20:20:29.854Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-11-11T20:20:29.854Z] sudo tee /etc/docker/daemon.new [2024-11-11T20:20:29.854Z] { [2024-11-11T20:20:29.854Z] "registry-mirrors": [ [2024-11-11T20:20:29.854Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T20:20:29.854Z] ], [2024-11-11T20:20:29.854Z] "bip": "10.250.0.254/24", [2024-11-11T20:20:29.854Z] "hosts": [ [2024-11-11T20:20:29.854Z] "tcp://0.0.0.0:5555", [2024-11-11T20:20:29.854Z] "unix:///var/run/docker.sock" [2024-11-11T20:20:29.854Z] ], [2024-11-11T20:20:29.854Z] "mtu": 1458, [2024-11-11T20:20:29.854Z] "selinux-enabled": true, [2024-11-11T20:20:29.854Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T20:20:29.854Z] } [Pipeline] sh [2024-11-11T20:20:30.211Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T20:20:30.568Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T20:20:48.965Z] provisioning config files... [2024-11-11T20:20:48.992Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17385932686175040847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:20:49.492Z] ---> ****-login.sh [2024-11-11T20:20:49.492Z] nexus3.edgexfoundry.org:10001 [2024-11-11T20:20:49.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:20:50.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:20:50.033Z] Configure a credential helper to remove this warning. See [2024-11-11T20:20:50.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:20:50.034Z] [2024-11-11T20:20:50.034Z] Login Succeeded [2024-11-11T20:20:50.034Z] nexus3.edgexfoundry.org:10002 [2024-11-11T20:20:50.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:20:50.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:20:50.302Z] Configure a credential helper to remove this warning. See [2024-11-11T20:20:50.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:20:50.302Z] [2024-11-11T20:20:50.302Z] Login Succeeded [2024-11-11T20:20:50.302Z] nexus3.edgexfoundry.org:10003 [2024-11-11T20:20:50.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:20:50.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:20:50.573Z] Configure a credential helper to remove this warning. See [2024-11-11T20:20:50.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:20:50.573Z] [2024-11-11T20:20:50.573Z] Login Succeeded [2024-11-11T20:20:50.573Z] nexus3.edgexfoundry.org:10004 [2024-11-11T20:20:50.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:20:51.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:20:51.113Z] Configure a credential helper to remove this warning. See [2024-11-11T20:20:51.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:20:51.113Z] [2024-11-11T20:20:51.113Z] Login Succeeded [2024-11-11T20:20:51.113Z] ****.io [2024-11-11T20:20:51.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T20:20:51.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T20:20:51.381Z] Configure a credential helper to remove this warning. See [2024-11-11T20:20:51.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T20:20:51.381Z] [2024-11-11T20:20:51.381Z] Login Succeeded [2024-11-11T20:20:51.381Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T20:20:51.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T20:20:51.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T20:20:51.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T20:20:51.964Z] ========================================================= [2024-11-11T20:20:51.964Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T20:20:51.964Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:20:52.505Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T20:20:53.471Z] Sending build context to Docker daemon 140.8kB [2024-11-11T20:20:53.737Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T20:20:53.737Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-11T20:20:54.059Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T20:20:54.059Z] cf04c63912e1: Pulling fs layer [2024-11-11T20:20:54.059Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T20:20:54.059Z] a37a00ec5f00: Pulling fs layer [2024-11-11T20:20:54.059Z] 50b3750afda1: Pulling fs layer [2024-11-11T20:20:54.059Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T20:20:54.059Z] 80978eb59214: Pulling fs layer [2024-11-11T20:20:54.059Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T20:20:54.059Z] c5a475d317c9: Pulling fs layer [2024-11-11T20:20:54.059Z] 50b3750afda1: Waiting [2024-11-11T20:20:54.059Z] 4f4fb700ef54: Waiting [2024-11-11T20:20:54.059Z] 80978eb59214: Waiting [2024-11-11T20:20:54.059Z] c9f46d7d2bd2: Waiting [2024-11-11T20:20:54.059Z] c5a475d317c9: Waiting [2024-11-11T20:20:54.059Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T20:20:54.059Z] 55b35a11ae5e: Download complete [2024-11-11T20:20:54.059Z] 50b3750afda1: Verifying Checksum [2024-11-11T20:20:54.059Z] 50b3750afda1: Download complete [2024-11-11T20:20:54.059Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T20:20:54.059Z] 4f4fb700ef54: Download complete [2024-11-11T20:20:54.059Z] 80978eb59214: Download complete [2024-11-11T20:20:54.059Z] cf04c63912e1: Verifying Checksum [2024-11-11T20:20:54.059Z] cf04c63912e1: Download complete [2024-11-11T20:20:54.654Z] c5a475d317c9: Verifying Checksum [2024-11-11T20:20:54.654Z] c5a475d317c9: Download complete [2024-11-11T20:20:55.241Z] cf04c63912e1: Pull complete [2024-11-11T20:20:55.403Z] Removing intermediate container 4aea0be7d55a [2024-11-11T20:20:55.403Z] ---> c993244cdae7 [2024-11-11T20:20:55.403Z] Step 13/26 : FROM alpine:3.20 [2024-11-11T20:20:55.403Z] 3.20: Pulling from library/alpine [2024-11-11T20:20:55.403Z] 43c4264eed91: Already exists [2024-11-11T20:20:55.403Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T20:20:55.403Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T20:20:55.403Z] ---> 91ef0af61f39 [2024-11-11T20:20:55.403Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T20:20:55.403Z] ---> Running in 0d672f2f516b [2024-11-11T20:20:55.403Z] Removing intermediate container 0d672f2f516b [2024-11-11T20:20:55.403Z] ---> 9699dcf26480 [2024-11-11T20:20:55.403Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-11T20:20:55.403Z] ---> Running in 4113f6639241 [2024-11-11T20:20:55.403Z] Removing intermediate container 4113f6639241 [2024-11-11T20:20:55.403Z] ---> 7a03fc83f576 [2024-11-11T20:20:55.403Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-11T20:20:55.403Z] ---> Running in 89b88ed5d76b [2024-11-11T20:20:55.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:55.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:55.403Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T20:20:55.403Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T20:20:55.403Z] OK: 8 MiB in 15 packages [2024-11-11T20:20:55.403Z] Removing intermediate container 89b88ed5d76b [2024-11-11T20:20:55.403Z] ---> 57c066def65b [2024-11-11T20:20:55.403Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-11T20:20:55.403Z] ---> Running in 75cf9c6d2f6d [2024-11-11T20:20:55.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:55.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:55.403Z] Upgrading critical system libraries and apk-tools: [2024-11-11T20:20:55.403Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T20:20:55.403Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T20:20:55.403Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T20:20:55.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:55.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T20:20:55.510Z] 55b35a11ae5e: Pull complete [2024-11-11T20:20:55.663Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T20:20:55.663Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T20:20:55.663Z] OK: 8 MiB in 15 packages [2024-11-11T20:20:56.097Z] a37a00ec5f00: Verifying Checksum [2024-11-11T20:20:56.097Z] a37a00ec5f00: Download complete [2024-11-11T20:20:56.234Z] Removing intermediate container 75cf9c6d2f6d [2024-11-11T20:20:56.234Z] ---> aaca5597c14e [2024-11-11T20:20:56.234Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-11T20:20:56.685Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T20:20:56.685Z] c9f46d7d2bd2: Download complete [2024-11-11T20:20:57.171Z] ---> 163929755ceb [2024-11-11T20:20:57.171Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-11T20:20:57.171Z] ---> 373eed93dfbd [2024-11-11T20:20:57.171Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-11T20:20:57.429Z] ---> ee602d8e146d [2024-11-11T20:20:57.429Z] Step 21/26 : EXPOSE 59986 [2024-11-11T20:20:57.429Z] ---> Running in b0ea5956bc1d [2024-11-11T20:20:57.429Z] Removing intermediate container b0ea5956bc1d [2024-11-11T20:20:57.429Z] ---> 370513321342 [2024-11-11T20:20:57.429Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-11T20:20:57.689Z] ---> Running in 8e33bacd47e2 [2024-11-11T20:20:57.689Z] Removing intermediate container 8e33bacd47e2 [2024-11-11T20:20:57.689Z] ---> a104968e88ef [2024-11-11T20:20:57.689Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T20:20:57.689Z] ---> Running in e39c808708ed [2024-11-11T20:20:57.689Z] Removing intermediate container e39c808708ed [2024-11-11T20:20:57.689Z] ---> 115be8daf337 [2024-11-11T20:20:57.689Z] Step 24/26 : LABEL arch=amd64 [2024-11-11T20:20:57.689Z] ---> Running in bb23c3f8f3fe [2024-11-11T20:20:57.689Z] Removing intermediate container bb23c3f8f3fe [2024-11-11T20:20:57.689Z] ---> b49b3552391c [2024-11-11T20:20:57.689Z] Step 25/26 : LABEL git_sha=f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [2024-11-11T20:20:57.949Z] ---> Running in 442574ef2114 [2024-11-11T20:20:57.949Z] Removing intermediate container 442574ef2114 [2024-11-11T20:20:57.949Z] ---> 2dc2c9946373 [2024-11-11T20:20:57.949Z] Step 26/26 : LABEL version=0.0.0 [2024-11-11T20:20:57.949Z] ---> Running in 36c72e6b3fb7 [2024-11-11T20:20:57.949Z] Removing intermediate container 36c72e6b3fb7 [2024-11-11T20:20:57.949Z] ---> 63a1d600f454 [2024-11-11T20:20:57.949Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T20:20:57.949Z] Successfully built 63a1d600f454 [2024-11-11T20:20:57.949Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:20:58.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T20:20:58.950Z] [2024-11-11T20:20:58.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:20:59.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T20:20:59.346Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T20:20:59.346Z] 5eb5b503b376: Pulling fs layer [2024-11-11T20:20:59.346Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T20:20:59.346Z] ec43610c2a17: Pulling fs layer [2024-11-11T20:20:59.346Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T20:20:59.346Z] 33b1e0a273af: Pulling fs layer [2024-11-11T20:20:59.346Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T20:20:59.346Z] 2f39f015ded8: Pulling fs layer [2024-11-11T20:20:59.346Z] 3a2ae6a8a46f: Waiting [2024-11-11T20:20:59.346Z] 33b1e0a273af: Waiting [2024-11-11T20:20:59.346Z] 2f39f015ded8: Waiting [2024-11-11T20:20:59.346Z] 5d3b04190fa2: Waiting [2024-11-11T20:20:59.346Z] 5c69ac0246d0: Verifying Checksum [2024-11-11T20:20:59.346Z] 5c69ac0246d0: Download complete [2024-11-11T20:20:59.346Z] 3a2ae6a8a46f: Download complete [2024-11-11T20:20:59.346Z] 33b1e0a273af: Verifying Checksum [2024-11-11T20:20:59.346Z] 33b1e0a273af: Download complete [2024-11-11T20:20:59.346Z] 5d3b04190fa2: Verifying Checksum [2024-11-11T20:20:59.346Z] 5d3b04190fa2: Download complete [2024-11-11T20:20:59.346Z] ec43610c2a17: Verifying Checksum [2024-11-11T20:20:59.346Z] ec43610c2a17: Download complete [2024-11-11T20:20:59.605Z] 5eb5b503b376: Verifying Checksum [2024-11-11T20:20:59.605Z] 5eb5b503b376: Download complete [2024-11-11T20:21:00.178Z] 2f39f015ded8: Download complete [2024-11-11T20:21:00.747Z] 5eb5b503b376: Pull complete [2024-11-11T20:21:01.005Z] 5c69ac0246d0: Pull complete [2024-11-11T20:21:01.574Z] ec43610c2a17: Pull complete [2024-11-11T20:21:01.574Z] 3a2ae6a8a46f: Pull complete [2024-11-11T20:21:01.833Z] 33b1e0a273af: Pull complete [2024-11-11T20:21:01.833Z] 5d3b04190fa2: Pull complete [2024-11-11T20:21:06.027Z] 2f39f015ded8: Pull complete [2024-11-11T20:21:06.027Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T20:21:06.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T20:21:06.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:21:06.265Z] prd-ubuntu20.04-docker-8c-8g-26203 does not seem to be running inside a container [2024-11-11T20:21:06.295Z] $ 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-427 -v /w/workspace/gexfoundry_device-rest-go_PR-427:/w/workspace/gexfoundry_device-rest-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-427@tmp:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T20:21:09.566Z] $ docker top a63153a27f63bfed85561fc020f4695a6ab3854351aacd953b2c041ae0b0b5a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:21:10.044Z] ---> job-cost.sh [2024-11-11T20:21:10.044Z] lf-activate-venv: SKIPPING [2024-11-11T20:21:10.044Z] INFO: No Stack... [2024-11-11T20:21:10.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T20:21:10.563Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T20:21:10.881Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-427/archives/cost.csv [2024-11-11T20:21:10.881Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T20:21:10.932Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] [2024-11-11T20:21:10.938Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] did not exist. Created. [2024-11-11T20:21:10.944Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T20:21:11.347Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T20:21:11.404Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T20:21:11.446Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T20:21:11.533Z] $ docker stop --time=1 a63153a27f63bfed85561fc020f4695a6ab3854351aacd953b2c041ae0b0b5a3 [2024-11-11T20:21:11.705Z] a37a00ec5f00: Pull complete [2024-11-11T20:21:11.705Z] 50b3750afda1: Pull complete [2024-11-11T20:21:11.705Z] 4f4fb700ef54: Pull complete [2024-11-11T20:21:11.705Z] 80978eb59214: Pull complete [2024-11-11T20:21:12.686Z] $ docker rm -f --volumes a63153a27f63bfed85561fc020f4695a6ab3854351aacd953b2c041ae0b0b5a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-11T20:21:18.365Z] c9f46d7d2bd2: Pull complete [2024-11-11T20:21:19.770Z] c5a475d317c9: Pull complete [2024-11-11T20:21:19.770Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T20:21:19.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T20:21:19.770Z] ---> be29e6b0f0d4 [2024-11-11T20:21:19.770Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-11T20:21:20.723Z] ---> Running in 6169d48051f5 [2024-11-11T20:21:20.987Z] Removing intermediate container 6169d48051f5 [2024-11-11T20:21:20.987Z] ---> fa50b50223a0 [2024-11-11T20:21:20.987Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T20:21:20.987Z] ---> Running in 08626b32ded8 [2024-11-11T20:21:21.253Z] Removing intermediate container 08626b32ded8 [2024-11-11T20:21:21.253Z] ---> e6ac70ea7b3d [2024-11-11T20:21:21.253Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T20:21:21.517Z] ---> Running in e8cdcbd707eb [2024-11-11T20:21:21.782Z] Removing intermediate container e8cdcbd707eb [2024-11-11T20:21:21.782Z] ---> 99e0fef1b046 [2024-11-11T20:21:21.782Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T20:21:21.782Z] ---> Running in 54048a0869e1 [2024-11-11T20:21:22.053Z] Removing intermediate container 54048a0869e1 [2024-11-11T20:21:22.053Z] ---> 0911162378b9 [2024-11-11T20:21:22.053Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T20:21:22.053Z] ---> Running in 81c40ac78154 [2024-11-11T20:21:23.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T20:21:23.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T20:21:25.159Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T20:21:25.159Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-11T20:21:25.159Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T20:21:25.159Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T20:21:25.159Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T20:21:25.159Z] OK: 242 MiB in 58 packages [2024-11-11T20:21:26.575Z] Removing intermediate container 81c40ac78154 [2024-11-11T20:21:26.575Z] ---> 59c1d1ced247 [2024-11-11T20:21:26.575Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-11T20:21:26.575Z] ---> Running in 55c515b52363 [2024-11-11T20:21:26.575Z] Removing intermediate container 55c515b52363 [2024-11-11T20:21:26.575Z] ---> 7260c4bbd762 [2024-11-11T20:21:26.575Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-11T20:21:27.164Z] ---> a4d9a32ff7a8 [2024-11-11T20:21:27.164Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T20:21:27.164Z] ---> Running in c769db6f69eb [2024-11-11T20:23:18.831Z] Removing intermediate container c769db6f69eb [2024-11-11T20:23:18.831Z] ---> f2172503b54e [2024-11-11T20:23:18.831Z] Step 11/12 : COPY . . [2024-11-11T20:23:18.831Z] ---> d45c49c9c44d [2024-11-11T20:23:18.831Z] Step 12/12 : RUN $MAKE [2024-11-11T20:23:18.831Z] ---> Running in e14ebb30d086 [2024-11-11T20:23:18.831Z] noop [2024-11-11T20:23:18.831Z] Removing intermediate container e14ebb30d086 [2024-11-11T20:23:18.831Z] ---> 95b18489da0c [2024-11-11T20:23:18.831Z] Successfully built 95b18489da0c [2024-11-11T20:23:18.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:23:19.337Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T20:23:19.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:23:19.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-26204 does not seem to be running inside a container [2024-11-11T20:23:19.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T20:23:20.945Z] $ docker top 3e570c073400e8a35ebf39e9bfb55e48c7903b52883ad0678556eaab8d39de26 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T20:23:21.855Z] + go version [2024-11-11T20:23:21.855Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T20:23:21.901Z] $ docker stop --time=1 3e570c073400e8a35ebf39e9bfb55e48c7903b52883ad0678556eaab8d39de26 [2024-11-11T20:23:23.564Z] $ docker rm -f --volumes 3e570c073400e8a35ebf39e9bfb55e48c7903b52883ad0678556eaab8d39de26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:23:24.479Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T20:23:24.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:23:24.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-26204 does not seem to be running inside a container [2024-11-11T20:23:24.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T20:23:26.056Z] $ docker top 5ed23a9c4561711674131f393622e7b376a26b5c9f2264f722fc3ab579b8aeb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T20:23:26.645Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T20:23:27.064Z] + make test [2024-11-11T20:23:27.333Z] go test ./... -coverprofile=coverage.out ./... [2024-11-11T20:23:32.663Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-11T20:26:39.591Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-11T20:26:42.169Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements [2024-11-11T20:26:42.752Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T20:26:42.752Z] go vet ./... [2024-11-11T20:27:29.574Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T20:27:29.574Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T20:27:29.574Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T20:27:29.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T20:27:29.672Z] $ docker stop --time=1 5ed23a9c4561711674131f393622e7b376a26b5c9f2264f722fc3ab579b8aeb9 [2024-11-11T20:27:31.496Z] $ docker rm -f --volumes 5ed23a9c4561711674131f393622e7b376a26b5c9f2264f722fc3ab579b8aeb9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T20:27:33.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T20:27:33.062Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T20:27:33.521Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T20:27:34.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T20:27:34.513Z] + ls -al . [2024-11-11T20:27:34.513Z] total 240 [2024-11-11T20:27:34.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:23 . [2024-11-11T20:27:34.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:20 .. [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 11 20:20 .dockerignore [2024-11-11T20:27:34.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:20 .git [2024-11-11T20:27:34.513Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:20 .github [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 11 20:20 .gitignore [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 20:20 .golangci.yml [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 11 20:20 Attribution.txt [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 11 20:20 CHANGELOG.md [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 11 20:20 Dockerfile [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:20 GOVERNANCE.md [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 11 20:20 Jenkinsfile [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 20:20 LICENSE [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 11 20:20 Makefile [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 20:20 OWNERS.md [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 11 20:20 README.md [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 20:18 VERSION [2024-11-11T20:27:34.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:20 bin [2024-11-11T20:27:34.513Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:20 cmd [2024-11-11T20:27:34.513Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 11 20:26 coverage.out [2024-11-11T20:27:34.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:20 driver [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 6390 Nov 11 20:20 go.mod [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 11 20:20 go.sum [2024-11-11T20:27:34.513Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:20 openapi [2024-11-11T20:27:34.513Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 11 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:27:34.972Z] + 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=f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff --label arch=arm64 --label version=0.0.0 . [2024-11-11T20:27:34.972Z] Sending build context to Docker daemon 156.2kB [2024-11-11T20:27:35.239Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T20:27:35.239Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-11T20:27:35.239Z] ---> 95b18489da0c [2024-11-11T20:27:35.239Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-11T20:27:35.239Z] ---> Running in 2627f1c2c2b0 [2024-11-11T20:27:35.506Z] Removing intermediate container 2627f1c2c2b0 [2024-11-11T20:27:35.506Z] ---> ff4a2aa43592 [2024-11-11T20:27:35.506Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T20:27:35.506Z] ---> Running in 2bd95af42f3c [2024-11-11T20:27:35.772Z] Removing intermediate container 2bd95af42f3c [2024-11-11T20:27:35.772Z] ---> d8386e0329b6 [2024-11-11T20:27:35.772Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T20:27:36.038Z] ---> Running in 7787e5a4f386 [2024-11-11T20:27:36.304Z] Removing intermediate container 7787e5a4f386 [2024-11-11T20:27:36.304Z] ---> e6929d34958b [2024-11-11T20:27:36.304Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T20:27:36.304Z] ---> Running in 4f5b7afcd58b [2024-11-11T20:27:36.573Z] Removing intermediate container 4f5b7afcd58b [2024-11-11T20:27:36.573Z] ---> ea78c001f701 [2024-11-11T20:27:36.573Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T20:27:36.573Z] ---> Running in ecf39bca3bf6 [2024-11-11T20:27:37.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T20:27:38.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T20:27:39.526Z] OK: 242 MiB in 58 packages [2024-11-11T20:27:40.489Z] Removing intermediate container ecf39bca3bf6 [2024-11-11T20:27:40.489Z] ---> c170dfecc50f [2024-11-11T20:27:40.489Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-11T20:27:40.489Z] ---> Running in a45a8b0a4759 [2024-11-11T20:27:41.070Z] Removing intermediate container a45a8b0a4759 [2024-11-11T20:27:41.070Z] ---> 1688d5ce7751 [2024-11-11T20:27:41.070Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-11T20:27:41.339Z] ---> 42a0b7e36b60 [2024-11-11T20:27:41.339Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T20:27:41.339Z] ---> Running in abc2a5567ea6 [2024-11-11T20:27:43.931Z] Removing intermediate container abc2a5567ea6 [2024-11-11T20:27:43.931Z] ---> f62431093da4 [2024-11-11T20:27:43.931Z] Step 11/26 : COPY . . [2024-11-11T20:27:44.198Z] ---> 74a8405ea609 [2024-11-11T20:27:44.198Z] Step 12/26 : RUN $MAKE [2024-11-11T20:27:44.198Z] ---> Running in b9d43c9b7d9d [2024-11-11T20:27:45.158Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-11T20:30:51.897Z] Removing intermediate container b9d43c9b7d9d [2024-11-11T20:30:51.897Z] ---> ba70fb161e52 [2024-11-11T20:30:51.897Z] Step 13/26 : FROM alpine:3.20 [2024-11-11T20:30:51.897Z] 3.20: Pulling from library/alpine [2024-11-11T20:30:51.897Z] cf04c63912e1: Already exists [2024-11-11T20:30:51.897Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T20:30:51.897Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T20:30:51.897Z] ---> c157a85ed455 [2024-11-11T20:30:51.897Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T20:30:51.897Z] ---> Running in 077973c11e7a [2024-11-11T20:30:51.897Z] Removing intermediate container 077973c11e7a [2024-11-11T20:30:51.897Z] ---> b265b2d7e892 [2024-11-11T20:30:51.897Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-11T20:30:51.897Z] ---> Running in 6eae89b4ed5d [2024-11-11T20:30:51.897Z] Removing intermediate container 6eae89b4ed5d [2024-11-11T20:30:51.897Z] ---> b9604ce49e4f [2024-11-11T20:30:51.897Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-11T20:30:51.897Z] ---> Running in 94968defbcaf [2024-11-11T20:30:51.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T20:30:51.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T20:30:51.897Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T20:30:51.897Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T20:30:51.897Z] OK: 9 MiB in 15 packages [2024-11-11T20:30:51.897Z] Removing intermediate container 94968defbcaf [2024-11-11T20:30:51.897Z] ---> 6d6b4fed171a [2024-11-11T20:30:51.897Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-11T20:30:52.163Z] ---> Running in 74ae6d42f2c2 [2024-11-11T20:30:53.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T20:30:53.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T20:30:54.535Z] Upgrading critical system libraries and apk-tools: [2024-11-11T20:30:54.535Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T20:30:54.535Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T20:30:54.803Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T20:30:54.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T20:30:55.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T20:30:56.482Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T20:30:56.482Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T20:30:56.482Z] OK: 9 MiB in 15 packages [2024-11-11T20:30:57.446Z] Removing intermediate container 74ae6d42f2c2 [2024-11-11T20:30:57.447Z] ---> c8c1e82bea31 [2024-11-11T20:30:57.447Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-11T20:30:59.388Z] ---> 8ceae943931a [2024-11-11T20:30:59.388Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-11T20:30:59.388Z] ---> 5940d3676575 [2024-11-11T20:30:59.388Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-11T20:30:59.972Z] ---> 428a57efe058 [2024-11-11T20:30:59.972Z] Step 21/26 : EXPOSE 59986 [2024-11-11T20:30:59.972Z] ---> Running in f6fad362aeb1 [2024-11-11T20:31:00.240Z] Removing intermediate container f6fad362aeb1 [2024-11-11T20:31:00.240Z] ---> 7e0890157e3e [2024-11-11T20:31:00.240Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-11T20:31:00.240Z] ---> Running in a88ea609b2c3 [2024-11-11T20:31:00.509Z] Removing intermediate container a88ea609b2c3 [2024-11-11T20:31:00.509Z] ---> 59ea1933b5ea [2024-11-11T20:31:00.509Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T20:31:00.779Z] ---> Running in c1481aff0ed3 [2024-11-11T20:31:01.044Z] Removing intermediate container c1481aff0ed3 [2024-11-11T20:31:01.044Z] ---> 0619d524d658 [2024-11-11T20:31:01.044Z] Step 24/26 : LABEL arch=arm64 [2024-11-11T20:31:01.044Z] ---> Running in 30ceee39c55f [2024-11-11T20:31:01.309Z] Removing intermediate container 30ceee39c55f [2024-11-11T20:31:01.309Z] ---> a1d886513b4c [2024-11-11T20:31:01.309Z] Step 25/26 : LABEL git_sha=f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [2024-11-11T20:31:01.309Z] ---> Running in 1c9df8cfa497 [2024-11-11T20:31:01.579Z] Removing intermediate container 1c9df8cfa497 [2024-11-11T20:31:01.579Z] ---> 3135792bd422 [2024-11-11T20:31:01.579Z] Step 26/26 : LABEL version=0.0.0 [2024-11-11T20:31:01.848Z] ---> Running in e9e3c950a2ad [2024-11-11T20:31:02.112Z] Removing intermediate container e9e3c950a2ad [2024-11-11T20:31:02.113Z] ---> 124e2b60d231 [2024-11-11T20:31:02.113Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T20:31:02.113Z] Successfully built 124e2b60d231 [2024-11-11T20:31:02.113Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:31:03.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T20:31:03.081Z] [2024-11-11T20:31:03.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:31:03.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T20:31:03.481Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T20:31:03.481Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T20:31:03.481Z] 04944245beec: Pulling fs layer [2024-11-11T20:31:03.481Z] 699f458cf7ca: Pulling fs layer [2024-11-11T20:31:03.481Z] 765212b225bb: Pulling fs layer [2024-11-11T20:31:03.481Z] f23df028b6ca: Pulling fs layer [2024-11-11T20:31:03.481Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T20:31:03.481Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T20:31:03.481Z] f23df028b6ca: Waiting [2024-11-11T20:31:03.481Z] d65c8cfc05b1: Waiting [2024-11-11T20:31:03.481Z] 2437ff75d9bd: Waiting [2024-11-11T20:31:03.481Z] 765212b225bb: Waiting [2024-11-11T20:31:03.746Z] 04944245beec: Verifying Checksum [2024-11-11T20:31:03.746Z] 04944245beec: Download complete [2024-11-11T20:31:03.746Z] 765212b225bb: Verifying Checksum [2024-11-11T20:31:03.746Z] 765212b225bb: Download complete [2024-11-11T20:31:03.746Z] f23df028b6ca: Verifying Checksum [2024-11-11T20:31:03.746Z] f23df028b6ca: Download complete [2024-11-11T20:31:03.746Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T20:31:03.746Z] d65c8cfc05b1: Download complete [2024-11-11T20:31:04.010Z] 699f458cf7ca: Verifying Checksum [2024-11-11T20:31:04.010Z] 699f458cf7ca: Download complete [2024-11-11T20:31:04.276Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T20:31:04.276Z] 8998bd30e6a1: Download complete [2024-11-11T20:31:06.846Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T20:31:06.846Z] 2437ff75d9bd: Download complete [2024-11-11T20:31:08.780Z] 8998bd30e6a1: Pull complete [2024-11-11T20:31:09.045Z] 04944245beec: Pull complete [2024-11-11T20:31:10.449Z] 699f458cf7ca: Pull complete [2024-11-11T20:31:10.714Z] 765212b225bb: Pull complete [2024-11-11T20:31:11.667Z] f23df028b6ca: Pull complete [2024-11-11T20:31:11.667Z] d65c8cfc05b1: Pull complete [2024-11-11T20:31:29.855Z] 2437ff75d9bd: Pull complete [2024-11-11T20:31:29.855Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T20:31:29.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T20:31:29.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:31:30.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-26204 does not seem to be running inside a container [2024-11-11T20:31:30.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T20:31:33.029Z] $ docker top 4478c1d5a68f7bb378cba1e5df15b370b23d7ecfdd073fd9ccfbc9dbb2c0e41c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:33.935Z] ---> job-cost.sh [2024-11-11T20:31:33.935Z] lf-activate-venv: SKIPPING [2024-11-11T20:31:33.935Z] INFO: No Stack... [2024-11-11T20:31:34.215Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T20:31:35.175Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T20:31:35.848Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-11-11T20:31:35.848Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T20:31:35.933Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] [2024-11-11T20:31:35.940Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] did not exist. Created. [2024-11-11T20:31:35.946Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T20:31:36.693Z] /w/workspace/device-rest-go/1@tmp/durable-fa65428c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T20:31:37.356Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T20:31:37.403Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T20:31:37.444Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T20:31:37.464Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T20:31:37.550Z] $ docker stop --time=1 4478c1d5a68f7bb378cba1e5df15b370b23d7ecfdd073fd9ccfbc9dbb2c0e41c [2024-11-11T20:31:39.077Z] $ docker rm -f --volumes 4478c1d5a68f7bb378cba1e5df15b370b23d7ecfdd073fd9ccfbc9dbb2c0e41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-11T20:31:40.208Z] provisioning config files... [2024-11-11T20:31:40.216Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp/config5565834113741960993tmp [Pipeline] { [Pipeline] sh [2024-11-11T20:31:40.572Z] + set +x [2024-11-11T20:31:40.572Z] + bash -s -- [2024-11-11T20:31:40.572Z] + curl -s https://codecov.io/bash [2024-11-11T20:31:40.572Z] [2024-11-11T20:31:40.572Z] _____ _ [2024-11-11T20:31:40.572Z] / ____| | | [2024-11-11T20:31:40.572Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T20:31:40.572Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T20:31:40.572Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T20:31:40.572Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T20:31:40.572Z] Bash-1.0.6 [2024-11-11T20:31:40.572Z] [2024-11-11T20:31:40.572Z] [2024-11-11T20:31:40.572Z] ==> git version 2.25.1 found [2024-11-11T20:31:40.572Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-11T20:31:40.572Z] Release-Date: 2020-01-08 [2024-11-11T20:31:40.572Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-11T20:31:40.572Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T20:31:40.572Z] ==> Jenkins CI detected. [2024-11-11T20:31:40.572Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-427 [2024-11-11T20:31:40.572Z] project root: . [2024-11-11T20:31:40.572Z] --> token set from env [2024-11-11T20:31:40.572Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T20:31:40.572Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T20:31:40.830Z] ==> Python coveragepy not found [2024-11-11T20:31:40.830Z] ==> Searching for coverage reports in: [2024-11-11T20:31:40.830Z] + . [2024-11-11T20:31:40.830Z] -> Found 1 reports [2024-11-11T20:31:40.830Z] ==> Detecting git/mercurial file structure [2024-11-11T20:31:40.830Z] ==> Reading reports [2024-11-11T20:31:40.831Z] + ./coverage.out bytes=14565 [2024-11-11T20:31:40.831Z] ==> Appending adjustments [2024-11-11T20:31:40.831Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T20:31:40.831Z] + Found adjustments [2024-11-11T20:31:40.831Z] ==> Gzipping contents [2024-11-11T20:31:40.831Z] 4.0K /tmp/codecov.d0Mptv.gz [2024-11-11T20:31:40.831Z] ==> Uploading reports [2024-11-11T20:31:40.831Z] url: https://codecov.io [2024-11-11T20:31:40.831Z] query: branch=PR-427&commit=f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=427&job=&cmd_args= [2024-11-11T20:31:40.831Z] -> Pinging Codecov [2024-11-11T20:31:40.831Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-427&commit=f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=427&job=&cmd_args= [2024-11-11T20:31:41.089Z] -> Uploading to [2024-11-11T20:31:41.089Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff/9132d756-4f5d-45b5-a36e-7f235d3a898a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T203140Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=55590827aad404a32f92816aef31a51ec3a32e3cef2d1b8370d6c88a74986c25 [2024-11-11T20:31:41.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T20:31:41.089Z] Dload Upload Total Spent Left Speed [2024-11-11T20:31:41.349Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 36359 --:--:-- --:--:-- --:--:-- 35800 100 2327 0 0 100 2327 0 10388 --:--:-- --:--:-- --:--:-- 10342 [2024-11-11T20:31:41.349Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f4a1bb93bbea8a4c5f5f336bc6de3a894f1fd3ff [Pipeline] } [2024-11-11T20:31:41.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-11T20:31:43.536Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-427/archives ] [2024-11-11T20:31:43.536Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-427/archives [2024-11-11T20:31:43.536Z] total 16 [2024-11-11T20:31:43.536Z] drwxr-xr-x 3 root root 4096 Nov 11 20:21 . [2024-11-11T20:31:43.536Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 20:21 .. [2024-11-11T20:31:43.536Z] drwxr-xr-x 2 root root 4096 Nov 11 20:21 cost [2024-11-11T20:31:43.536Z] -rw-r--r-- 1 root root 86 Nov 11 20:21 cost.csv [2024-11-11T20:31:43.536Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-427/archives [2024-11-11T20:31:43.536Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-427/archives [2024-11-11T20:31:43.536Z] total 16 [2024-11-11T20:31:43.536Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 20:21 . [2024-11-11T20:31:43.536Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 20:21 .. [2024-11-11T20:31:43.536Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 20:21 cost [2024-11-11T20:31:43.536Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 11 20:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:43.879Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:44.788Z] ---> package-listing.sh [2024-11-11T20:31:44.788Z] ++ facter osfamily [2024-11-11T20:31:44.788Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T20:31:45.047Z] + OS_FAMILY=debian [2024-11-11T20:31:45.047Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-427 [2024-11-11T20:31:45.047Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T20:31:45.047Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T20:31:45.047Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T20:31:45.047Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T20:31:45.047Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-427 ']' [2024-11-11T20:31:45.047Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T20:31:45.047Z] + case "${OS_FAMILY}" in [2024-11-11T20:31:45.047Z] + dpkg -l [2024-11-11T20:31:45.047Z] + grep '^ii' [2024-11-11T20:31:45.047Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T20:31:45.047Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T20:31:45.047Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T20:31:45.047Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-427 ']' [2024-11-11T20:31:45.047Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-427/archives/ [2024-11-11T20:31:45.047Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-427/archives/ [Pipeline] echo [2024-11-11T20:31:45.095Z] 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-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T20:31:45.396Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T20:31:46.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T20:31:46.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T20:31:46.233Z] prd-ubuntu20.04-docker-8c-8g-26203 does not seem to be running inside a container [2024-11-11T20:31:46.262Z] $ 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-427/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-427 -v /w/workspace/gexfoundry_device-rest-go_PR-427:/w/workspace/gexfoundry_device-rest-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-427@tmp:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T20:31:46.445Z] $ docker top 0d8b855d1b56dc39ffdc6f121cd53578610f9656f56e40f1454566caaff29bae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T20:31:46.865Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T20:31:47.190Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T20:31:47.515Z] + ls /var/log/sa-host [2024-11-11T20:31:47.515Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T20:31:47.845Z] provisioning config files... [2024-11-11T20:31:47.853Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-427@tmp/config4805674489277688206tmp [Pipeline] { [Pipeline] echo [2024-11-11T20:31:47.929Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:48.251Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T20:31:48.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:48.712Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T20:31:48.753Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:49.083Z] ---> sudo-logs.sh [2024-11-11T20:31:49.083Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T20:31:49.199Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:49.658Z] ---> job-cost.sh [2024-11-11T20:31:49.658Z] lf-activate-venv: SKIPPING [2024-11-11T20:31:49.658Z] DEBUG: total: 0.2199999988079071 [2024-11-11T20:31:49.658Z] INFO: Retrieving Stack Cost... [2024-11-11T20:31:49.935Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T20:31:50.209Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T20:31:50.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T20:31:50.633Z] ---> logs-deploy.sh [2024-11-11T20:31:50.633Z] lf-activate-venv: SKIPPING [2024-11-11T20:31:50.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-427/1 [2024-11-11T20:31:50.633Z] INFO: archiving workspace using pattern(s): [2024-11-11T20:31:51.589Z] Archives upload complete. [2024-11-11T20:31:51.589Z] INFO: archiving logs to Nexus