Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75b5407f82ae978852c7aa1e7ca30deba2e02a81+8257fd91468d3a13c9b08aa2e5cf32be113d097a (d6624fe381cd8e36082cbfaba401d346fcb3e7c6) 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-ssh15060086383174933461.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-ssh15080434898287652070.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16834415089036276662.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 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-ssh8850359543841961311.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-424/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-424/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11335390914830798320.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-25946 in /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-424 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit 75b5407f82ae978852c7aa1e7ca30deba2e02a81 Merge succeeded, producing 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 Checking out Revision 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 (PR-424) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 # timeout=10 Commit message: "Merge commit '8257fd91468d3a13c9b08aa2e5cf32be113d097a' into HEAD" > git rev-list --no-walk 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T15:07:41.766Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T15:07:41.846Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T15:07:41.869Z] ========================================================= [2024-11-08T15:07:41.869Z] EdgeX Global Pipelines Version Info [2024-11-08T15:07:41.869Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:07:42.590Z] ------------------- [2024-11-08T15:07:42.590Z] stable info: [2024-11-08T15:07:42.590Z] ------------------- [2024-11-08T15:07:42.591Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T15:07:42.591Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T15:07:42.591Z] Message: update stable to v1.0.265 [2024-11-08T15:07:43.161Z] ------------------- [2024-11-08T15:07:43.161Z] experimental info: [2024-11-08T15:07:43.161Z] ------------------- [2024-11-08T15:07:43.161Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T15:07:43.162Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T15:07:43.162Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T15:07:43.256Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-11-08T15:07:43.276Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-11-08T15:07:43.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T15:07:43.319Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T15:07:43.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T15:07:43.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T15:07:43.380Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T15:07:43.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T15:07:43.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T15:07:43.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T15:07:43.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T15:07:43.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-11-08T15:07:43.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T15:07:43.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T15:07:43.569Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T15:07:43.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T15:07:43.619Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T15:07:43.639Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T15:07:43.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T15:07:43.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T15:07:43.712Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T15:07:43.740Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T15:07:43.766Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T15:07:43.792Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T15:07:43.815Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T15:07:43.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T15:07:43.862Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T15:07:43.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-424 [Pipeline] echo [2024-11-08T15:07:43.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-424 [Pipeline] echo [2024-11-08T15:07:43.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-424 [Pipeline] echo [2024-11-08T15:07:43.961Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [Pipeline] echo [2024-11-08T15:07:43.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1158601 [Pipeline] echo [2024-11-08T15:07:44.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T15:07:44.091Z] provisioning config files... [2024-11-08T15:07:44.105Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config14350931363569963545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:07:44.441Z] ---> ****-login.sh [2024-11-08T15:07:44.441Z] nexus3.edgexfoundry.org:10001 [2024-11-08T15:07:44.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:07:44.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:07:44.701Z] Configure a credential helper to remove this warning. See [2024-11-08T15:07:44.701Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:07:44.701Z] [2024-11-08T15:07:44.701Z] Login Succeeded [2024-11-08T15:07:44.701Z] nexus3.edgexfoundry.org:10002 [2024-11-08T15:07:44.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:07:44.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:07:44.963Z] Configure a credential helper to remove this warning. See [2024-11-08T15:07:44.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:07:44.963Z] [2024-11-08T15:07:44.963Z] Login Succeeded [2024-11-08T15:07:44.963Z] nexus3.edgexfoundry.org:10003 [2024-11-08T15:07:44.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:07:44.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:07:44.964Z] Configure a credential helper to remove this warning. See [2024-11-08T15:07:44.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:07:44.964Z] [2024-11-08T15:07:44.964Z] Login Succeeded [2024-11-08T15:07:44.964Z] nexus3.edgexfoundry.org:10004 [2024-11-08T15:07:45.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:07:45.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:07:45.226Z] Configure a credential helper to remove this warning. See [2024-11-08T15:07:45.226Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:07:45.226Z] [2024-11-08T15:07:45.226Z] Login Succeeded [2024-11-08T15:07:45.226Z] ****.io [2024-11-08T15:07:45.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:07:45.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:07:45.486Z] Configure a credential helper to remove this warning. See [2024-11-08T15:07:45.486Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:07:45.486Z] [2024-11-08T15:07:45.486Z] Login Succeeded [2024-11-08T15:07:45.486Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T15:07:45.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T15:07:45.911Z] + git rev-list -1 --merges 1158601076ebf0404e1a4ef13aca893ed4a9b7b1~1..1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [Pipeline] echo [2024-11-08T15:07:45.943Z] -----------> git rev-list -1 --merges 1158601076ebf0404e1a4ef13aca893ed4a9b7b1~1..1158601076ebf0404e1a4ef13aca893ed4a9b7b1 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [2024-11-08T15:07:45.943Z] 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [false] [Pipeline] sh [2024-11-08T15:07:46.240Z] + git log --format=format:%s -1 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [Pipeline] echo [2024-11-08T15:07:46.261Z] ========================================================= [2024-11-08T15:07:46.261Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T15:07:46.261Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T15:07:46.602Z] + git log --format=format:%s -1 1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [Pipeline] echo [2024-11-08T15:07:46.615Z] [semverPrep] GIT_COMMIT: 1158601076ebf0404e1a4ef13aca893ed4a9b7b1, Commit Message: Merge commit '8257fd91468d3a13c9b08aa2e5cf32be113d097a' into HEAD [Pipeline] echo [2024-11-08T15:07:46.633Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T15:07:47.019Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T15:07:47.019Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T15:07:47.019Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T15:07:47.019Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T15:07:47.019Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T15:07:47.019Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T15:07:47.019Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:07:47.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T15:07:47.483Z] [2024-11-08T15:07:47.483Z] 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-08T15:07:47.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T15:07:47.805Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T15:07:47.805Z] b85a868b505f: Pulling fs layer [2024-11-08T15:07:47.805Z] e2be974225ed: Pulling fs layer [2024-11-08T15:07:47.805Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T15:07:47.805Z] 988bab9f4d93: Pulling fs layer [2024-11-08T15:07:47.805Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T15:07:47.805Z] eaf3925da568: Pulling fs layer [2024-11-08T15:07:47.805Z] bab4dde63d76: Pulling fs layer [2024-11-08T15:07:47.805Z] bde34c3a00c8: Pulling fs layer [2024-11-08T15:07:47.805Z] b352a97aabf1: Pulling fs layer [2024-11-08T15:07:47.805Z] 988bab9f4d93: Waiting [2024-11-08T15:07:47.805Z] 4872d77fe225: Pulling fs layer [2024-11-08T15:07:47.805Z] 5851b861e8e6: Pulling fs layer [2024-11-08T15:07:47.805Z] 1469e6f7b9e6: Waiting [2024-11-08T15:07:47.805Z] eaf3925da568: Waiting [2024-11-08T15:07:47.805Z] b352a97aabf1: Waiting [2024-11-08T15:07:47.805Z] bde34c3a00c8: Waiting [2024-11-08T15:07:47.805Z] 5851b861e8e6: Waiting [2024-11-08T15:07:47.805Z] bab4dde63d76: Waiting [2024-11-08T15:07:47.805Z] e2be974225ed: Verifying Checksum [2024-11-08T15:07:47.805Z] e2be974225ed: Download complete [2024-11-08T15:07:47.805Z] 988bab9f4d93: Verifying Checksum [2024-11-08T15:07:47.805Z] 988bab9f4d93: Download complete [2024-11-08T15:07:47.805Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T15:07:47.805Z] 1469e6f7b9e6: Download complete [2024-11-08T15:07:48.064Z] eaf3925da568: Download complete [2024-11-08T15:07:48.064Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T15:07:48.064Z] 339a4e72a1f5: Download complete [2024-11-08T15:07:48.064Z] bde34c3a00c8: Download complete [2024-11-08T15:07:48.064Z] b352a97aabf1: Download complete [2024-11-08T15:07:48.064Z] 4872d77fe225: Verifying Checksum [2024-11-08T15:07:48.064Z] 4872d77fe225: Download complete [2024-11-08T15:07:48.064Z] 5851b861e8e6: Verifying Checksum [2024-11-08T15:07:48.064Z] 5851b861e8e6: Download complete [2024-11-08T15:07:48.064Z] b85a868b505f: Verifying Checksum [2024-11-08T15:07:48.064Z] b85a868b505f: Download complete [2024-11-08T15:07:48.324Z] bab4dde63d76: Verifying Checksum [2024-11-08T15:07:48.324Z] bab4dde63d76: Download complete [2024-11-08T15:07:49.263Z] b85a868b505f: Pull complete [2024-11-08T15:07:49.523Z] e2be974225ed: Pull complete [2024-11-08T15:07:50.091Z] 339a4e72a1f5: Pull complete [2024-11-08T15:07:50.091Z] 988bab9f4d93: Pull complete [2024-11-08T15:07:50.353Z] 1469e6f7b9e6: Pull complete [2024-11-08T15:07:50.353Z] eaf3925da568: Pull complete [2024-11-08T15:07:52.259Z] bab4dde63d76: Pull complete [2024-11-08T15:07:52.522Z] bde34c3a00c8: Pull complete [2024-11-08T15:07:52.522Z] b352a97aabf1: Pull complete [2024-11-08T15:07:52.789Z] 4872d77fe225: Pull complete [2024-11-08T15:07:52.789Z] 5851b861e8e6: Pull complete [2024-11-08T15:07:52.789Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T15:07:52.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T15:07:52.789Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:07:52.949Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2024-11-08T15:07:52.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T15:07:56.499Z] $ docker top 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 -eo pid,comm [2024-11-08T15:07:56.561Z] 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-08T15:07:56.561Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T15:07:56.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T15:07:56.629Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T15:07:56.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T15:07:56.739Z] $ docker exec 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 ssh-agent [2024-11-08T15:07:56.857Z] SSH_AUTH_SOCK=/tmp/ssh-1IUpPYtF2i1t/agent.32 [2024-11-08T15:07:56.857Z] SSH_AGENT_PID=38 [2024-11-08T15:07:56.862Z] Running ssh-add (command line suppressed) [2024-11-08T15:07:56.957Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_10963460473198277.key (/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_10963460473198277.key) [2024-11-08T15:07:56.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T15:07:57.274Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T15:07:57.282Z] $ docker exec --env ******** --env ******** 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 ssh-agent -k [2024-11-08T15:07:57.393Z] unset SSH_AUTH_SOCK; [2024-11-08T15:07:57.393Z] unset SSH_AGENT_PID; [2024-11-08T15:07:57.393Z] echo Agent pid 38 killed; [2024-11-08T15:07:57.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T15:07:57.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T15:07:57.455Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T15:07:57.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T15:07:57.566Z] $ docker exec 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 ssh-agent [2024-11-08T15:07:57.717Z] SSH_AUTH_SOCK=/tmp/ssh-oVrSa2RyBHJw/agent.71 [2024-11-08T15:07:57.717Z] SSH_AGENT_PID=77 [2024-11-08T15:07:57.724Z] Running ssh-add (command line suppressed) [2024-11-08T15:07:57.824Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_210673525254675621.key (/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_210673525254675621.key) [2024-11-08T15:07:57.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T15:07:58.135Z] + git semver init [2024-11-08T15:07:58.395Z] 2024-11-08 15:07:58,344 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T15:07:58.395Z] 2024-11-08 15:07:58,345 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver [2024-11-08T15:07:58.395Z] 2024-11-08 15:07:58,346 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-424/.semver [2024-11-08T15:07:58.395Z] 2024-11-08 15:07:58,346 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-424/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424, universal_newlines=False, shell=None, istream=None) [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,453 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-424/.git/info/exclude [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 with force:False [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,454 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,458 [execute] INFO git cat-file --batch-check [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,465 [execute] INFO git cat-file --batch [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T15:08:00.981Z] 2024-11-08 15:08:00,471 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 [2024-11-08T15:08:00.981Z] 0.0.0 [Pipeline] } [2024-11-08T15:08:00.988Z] $ docker exec --env ******** --env ******** 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 ssh-agent -k [2024-11-08T15:08:01.098Z] unset SSH_AUTH_SOCK; [2024-11-08T15:08:01.098Z] unset SSH_AGENT_PID; [2024-11-08T15:08:01.099Z] echo Agent pid 77 killed; [2024-11-08T15:08:01.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T15:08:01.450Z] + git semver [Pipeline] } [2024-11-08T15:08:01.721Z] $ docker stop --time=1 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 [2024-11-08T15:08:03.019Z] $ docker rm -f --volumes 395f39ddd24c5393fcdfe09170905000b854c79d609c7e50d12d191a61f14a05 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T15:08:03.374Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T15:08:03.628Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T15:08:03.633Z] [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-08T15:08:03.814Z] provisioning config files... [2024-11-08T15:08:03.825Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config5903245130329648460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:08:04.132Z] ---> ****-login.sh [2024-11-08T15:08:04.133Z] nexus3.edgexfoundry.org:10001 [2024-11-08T15:08:04.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:08:04.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:08:04.133Z] Configure a credential helper to remove this warning. See [2024-11-08T15:08:04.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:08:04.133Z] [2024-11-08T15:08:04.133Z] Login Succeeded [2024-11-08T15:08:04.133Z] nexus3.edgexfoundry.org:10002 [2024-11-08T15:08:04.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:08:04.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:08:04.133Z] Configure a credential helper to remove this warning. See [2024-11-08T15:08:04.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:08:04.133Z] [2024-11-08T15:08:04.133Z] Login Succeeded [2024-11-08T15:08:04.133Z] nexus3.edgexfoundry.org:10003 [2024-11-08T15:08:04.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:08:04.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:08:04.393Z] Configure a credential helper to remove this warning. See [2024-11-08T15:08:04.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:08:04.393Z] [2024-11-08T15:08:04.393Z] Login Succeeded [2024-11-08T15:08:04.393Z] nexus3.edgexfoundry.org:10004 [2024-11-08T15:08:04.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:08:04.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:08:04.394Z] Configure a credential helper to remove this warning. See [2024-11-08T15:08:04.394Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:08:04.394Z] [2024-11-08T15:08:04.394Z] Login Succeeded [2024-11-08T15:08:04.394Z] ****.io [2024-11-08T15:08:04.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:08:04.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:08:04.653Z] Configure a credential helper to remove this warning. See [2024-11-08T15:08:04.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:08:04.653Z] [2024-11-08T15:08:04.653Z] Login Succeeded [2024-11-08T15:08:04.653Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T15:08:04.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T15:08:04.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T15:08:04.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T15:08:04.795Z] ========================================================= [2024-11-08T15:08:04.795Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T15:08:04.795Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:08:05.126Z] + 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-08T15:08:05.126Z] Sending build context to Docker daemon 16.65MB [2024-11-08T15:08:05.126Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T15:08:05.126Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T15:08:05.126Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T15:08:05.126Z] 43c4264eed91: Pulling fs layer [2024-11-08T15:08:05.126Z] 4cc291be95ef: Pulling fs layer [2024-11-08T15:08:05.126Z] 2ac1f1163629: Pulling fs layer [2024-11-08T15:08:05.126Z] 5c3c966382ef: Pulling fs layer [2024-11-08T15:08:05.126Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T15:08:05.126Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T15:08:05.126Z] 9f66e0745190: Pulling fs layer [2024-11-08T15:08:05.126Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T15:08:05.126Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T15:08:05.126Z] 4f4fb700ef54: Waiting [2024-11-08T15:08:05.126Z] 5c3c966382ef: Waiting [2024-11-08T15:08:05.126Z] 9f66e0745190: Waiting [2024-11-08T15:08:05.126Z] 5d5c8e513c77: Waiting [2024-11-08T15:08:05.126Z] f49a43e4bbc0: Waiting [2024-11-08T15:08:05.126Z] 561ebcabdf7f: Waiting [2024-11-08T15:08:05.126Z] 4cc291be95ef: Verifying Checksum [2024-11-08T15:08:05.126Z] 4cc291be95ef: Download complete [2024-11-08T15:08:05.385Z] 5c3c966382ef: Verifying Checksum [2024-11-08T15:08:05.385Z] 5c3c966382ef: Download complete [2024-11-08T15:08:05.385Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T15:08:05.385Z] 4f4fb700ef54: Download complete [2024-11-08T15:08:05.385Z] 43c4264eed91: Verifying Checksum [2024-11-08T15:08:05.385Z] 43c4264eed91: Download complete [2024-11-08T15:08:05.385Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T15:08:05.385Z] 9f66e0745190: Verifying Checksum [2024-11-08T15:08:05.385Z] 9f66e0745190: Download complete [2024-11-08T15:08:05.385Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T15:08:05.385Z] 561ebcabdf7f: Download complete [2024-11-08T15:08:05.645Z] 43c4264eed91: Pull complete [2024-11-08T15:08:05.904Z] 4cc291be95ef: Pull complete [2024-11-08T15:08:05.904Z] 2ac1f1163629: Verifying Checksum [2024-11-08T15:08:05.904Z] 2ac1f1163629: Download complete [2024-11-08T15:08:06.163Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T15:08:06.163Z] f49a43e4bbc0: Download complete [2024-11-08T15:08:09.456Z] 2ac1f1163629: Pull complete [2024-11-08T15:08:09.456Z] 5c3c966382ef: Pull complete [2024-11-08T15:08:09.456Z] 4f4fb700ef54: Pull complete [2024-11-08T15:08:09.456Z] 5d5c8e513c77: Pull complete [2024-11-08T15:08:09.718Z] 9f66e0745190: Pull complete [2024-11-08T15:08:12.269Z] f49a43e4bbc0: Pull complete [2024-11-08T15:08:12.530Z] 561ebcabdf7f: Pull complete [2024-11-08T15:08:12.530Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T15:08:12.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T15:08:12.530Z] ---> 3a752c3f9dda [2024-11-08T15:08:12.530Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T15:08:17.814Z] ---> Running in 5ba9f1dfbb84 [2024-11-08T15:08:18.075Z] Removing intermediate container 5ba9f1dfbb84 [2024-11-08T15:08:18.075Z] ---> 40d0c37627f8 [2024-11-08T15:08:18.075Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T15:08:18.075Z] ---> Running in 48de92865a1f [2024-11-08T15:08:18.075Z] Removing intermediate container 48de92865a1f [2024-11-08T15:08:18.075Z] ---> 01392099dbdb [2024-11-08T15:08:18.075Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T15:08:18.075Z] ---> Running in 1aae7baa2758 [2024-11-08T15:08:18.075Z] Removing intermediate container 1aae7baa2758 [2024-11-08T15:08:18.075Z] ---> 1c519cb65a62 [2024-11-08T15:08:18.075Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T15:08:18.075Z] ---> Running in a75acfd18110 [2024-11-08T15:08:18.335Z] Removing intermediate container a75acfd18110 [2024-11-08T15:08:18.335Z] ---> 5b8845f6cb20 [2024-11-08T15:08:18.335Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T15:08:18.335Z] ---> Running in 194bdca00f32 [2024-11-08T15:08:18.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T15:08:18.769Z] Still waiting to schedule task [2024-11-08T15:08:18.770Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-08T15:08:18.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T15:08:19.115Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T15:08:19.115Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T15:08:19.115Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T15:08:19.115Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T15:08:19.115Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T15:08:19.115Z] OK: 250 MiB in 58 packages [2024-11-08T15:08:19.685Z] Removing intermediate container 194bdca00f32 [2024-11-08T15:08:19.685Z] ---> 364374367e94 [2024-11-08T15:08:19.685Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-08T15:08:19.685Z] ---> Running in 3990ff78b658 [2024-11-08T15:08:19.685Z] Removing intermediate container 3990ff78b658 [2024-11-08T15:08:19.685Z] ---> ee7044f2d296 [2024-11-08T15:08:19.685Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T15:08:19.945Z] ---> 87df726fab89 [2024-11-08T15:08:19.945Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T15:08:19.945Z] ---> Running in 5d0c45c98de3 [2024-11-08T15:09:27.693Z] Removing intermediate container 5d0c45c98de3 [2024-11-08T15:09:27.693Z] ---> 7d21a6deb4b8 [2024-11-08T15:09:27.693Z] Step 11/12 : COPY . . [2024-11-08T15:09:27.693Z] ---> 7b006eaf383e [2024-11-08T15:09:27.693Z] Step 12/12 : RUN $MAKE [2024-11-08T15:09:27.693Z] ---> Running in f62ad9f7d32a [2024-11-08T15:09:27.693Z] noop [2024-11-08T15:09:27.693Z] Removing intermediate container f62ad9f7d32a [2024-11-08T15:09:27.693Z] ---> cf46974eb2ac [2024-11-08T15:09:27.693Z] Successfully built cf46974eb2ac [2024-11-08T15:09:27.693Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:09:28.031Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T15:09:28.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:09:28.114Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2024-11-08T15:09:28.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T15:09:28.484Z] $ docker top 500b4a978374aed8560c37867ce6f73f87c075c88d3445d8c79caedf9f73a795 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T15:09:28.825Z] + go version [2024-11-08T15:09:28.825Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T15:09:28.831Z] $ docker stop --time=1 500b4a978374aed8560c37867ce6f73f87c075c88d3445d8c79caedf9f73a795 [2024-11-08T15:09:30.079Z] $ docker rm -f --volumes 500b4a978374aed8560c37867ce6f73f87c075c88d3445d8c79caedf9f73a795 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:09:30.541Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T15:09:30.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:09:30.623Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2024-11-08T15:09:30.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T15:09:30.982Z] $ docker top 50ad1e6d3765c3dcfeb5adc23374062ad55627a7ae82aa4b2f4d42cd01172f88 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T15:09:31.343Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] fileExists [Pipeline] sh [2024-11-08T15:09:31.662Z] + make test [2024-11-08T15:09:31.663Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T15:09:33.041Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-08T15:09:43.996Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25947 in /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] { [Pipeline] ws [2024-11-08T15:09:44.017Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2024-11-08T15:09:44.054Z] The recommended git tool is: git [2024-11-08T15:09:48.740Z] using credential edgex-jenkins-ssh [2024-11-08T15:09:48.762Z] Cloning the remote Git repository [2024-11-08T15:09:48.797Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T15:09:48.886Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2024-11-08T15:09:49.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T15:09:49.046Z] > git --version # timeout=10 [2024-11-08T15:09:49.073Z] > git --version # 'git version 2.25.1' [2024-11-08T15:09:49.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T15:09:49.214Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T15:09:51.117Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-08T15:09:51.118Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-11-08T15:09:51.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-08T15:09:51.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T15:09:52.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-08T15:09:52.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T15:09:52.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T15:09:52.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T15:09:53.456Z] Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [2024-11-08T15:09:53.776Z] Merge succeeded, producing cf829d4a92fc60dfd2730568dff0b17198f2e21c [2024-11-08T15:09:53.776Z] Checking out Revision cf829d4a92fc60dfd2730568dff0b17198f2e21c (PR-424) [2024-11-08T15:09:53.469Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T15:09:53.564Z] > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [2024-11-08T15:09:53.641Z] > git remote # timeout=10 [2024-11-08T15:09:53.657Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T15:09:53.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T15:09:53.701Z] > git merge 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 [2024-11-08T15:09:53.755Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T15:09:53.777Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T15:09:53.787Z] > git checkout -f cf829d4a92fc60dfd2730568dff0b17198f2e21c # timeout=10 [2024-11-08T15:09:57.354Z] Commit message: "Merge commit '8257fd91468d3a13c9b08aa2e5cf32be113d097a' into HEAD" [2024-11-08T15:09:57.355Z] > git rev-list --no-walk 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T15:09:58.980Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T15:09:58.980Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T15:09:58.980Z] Dload Upload Total Spent Left Speed [2024-11-08T15:09:58.980Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-11-08T15:09:59.228Z] go vet ./... [2024-11-08T15:09:59.307Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T15:09:59.626Z] + sudo tee /etc/docker/daemon.new [2024-11-08T15:09:59.626Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T15:09:59.626Z] { [2024-11-08T15:09:59.626Z] "registry-mirrors": [ [2024-11-08T15:09:59.626Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T15:09:59.626Z] ], [2024-11-08T15:09:59.626Z] "bip": "10.250.0.254/24", [2024-11-08T15:09:59.626Z] "hosts": [ [2024-11-08T15:09:59.626Z] "tcp://0.0.0.0:5555", [2024-11-08T15:09:59.626Z] "unix:///var/run/docker.sock" [2024-11-08T15:09:59.626Z] ], [2024-11-08T15:09:59.626Z] "mtu": 1458, [2024-11-08T15:09:59.626Z] "selinux-enabled": true, [2024-11-08T15:09:59.626Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T15:09:59.626Z] } [Pipeline] sh [2024-11-08T15:09:59.943Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T15:10:00.261Z] + sudo service docker restart [2024-11-08T15:10:04.492Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T15:10:04.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T15:10:04.492Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T15:10:04.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T15:10:04.517Z] $ docker stop --time=1 50ad1e6d3765c3dcfeb5adc23374062ad55627a7ae82aa4b2f4d42cd01172f88 [2024-11-08T15:10:10.022Z] $ docker rm -f --volumes 50ad1e6d3765c3dcfeb5adc23374062ad55627a7ae82aa4b2f4d42cd01172f88 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T15:10:10.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T15:10:10.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T15:10:11.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T15:10:11.455Z] + ls -al . [2024-11-08T15:10:11.455Z] total 244 [2024-11-08T15:10:11.455Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 15:09 . [2024-11-08T15:10:11.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:07 .. [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 15:07 .dockerignore [2024-11-08T15:10:11.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 15:09 .git [2024-11-08T15:10:11.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:07 .github [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 15:07 .gitignore [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 15:07 .golangci.yml [2024-11-08T15:10:11.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 15:08 .semver [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 15:07 Attribution.txt [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 15:07 CHANGELOG.md [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 15:07 Dockerfile [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 15:07 GOVERNANCE.md [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 15:07 Jenkinsfile [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 15:07 LICENSE [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 15:07 Makefile [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 15:07 OWNERS.md [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 15:07 README.md [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:08 VERSION [2024-11-08T15:10:11.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:07 bin [2024-11-08T15:10:11.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:07 cmd [2024-11-08T15:10:11.455Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 15:09 coverage.out [2024-11-08T15:10:11.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:07 driver [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 15:07 go.mod [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 15:07 go.sum [2024-11-08T15:10:11.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:07 openapi [2024-11-08T15:10:11.455Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:10:11.775Z] + 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=1158601076ebf0404e1a4ef13aca893ed4a9b7b1 --label arch=amd64 --label version=0.0.0 . [2024-11-08T15:10:11.775Z] Sending build context to Docker daemon 16.66MB [2024-11-08T15:10:11.775Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T15:10:11.775Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T15:10:11.775Z] ---> cf46974eb2ac [2024-11-08T15:10:11.775Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T15:10:12.033Z] ---> Running in 5451fd6857af [2024-11-08T15:10:12.033Z] Removing intermediate container 5451fd6857af [2024-11-08T15:10:12.033Z] ---> 7af865c9adb6 [2024-11-08T15:10:12.033Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T15:10:12.292Z] ---> Running in 61f47b3f4c64 [2024-11-08T15:10:12.292Z] Removing intermediate container 61f47b3f4c64 [2024-11-08T15:10:12.292Z] ---> 70dfd8fe54d8 [2024-11-08T15:10:12.292Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T15:10:12.292Z] ---> Running in da06e769dc16 [2024-11-08T15:10:12.292Z] Removing intermediate container da06e769dc16 [2024-11-08T15:10:12.292Z] ---> bbda87caa65e [2024-11-08T15:10:12.292Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T15:10:12.292Z] ---> Running in 03fdf611b523 [2024-11-08T15:10:12.550Z] Removing intermediate container 03fdf611b523 [2024-11-08T15:10:12.550Z] ---> f64849d3fdd0 [2024-11-08T15:10:12.550Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T15:10:12.550Z] ---> Running in fd6698a1eec7 [2024-11-08T15:10:13.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:13.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:13.904Z] OK: 250 MiB in 58 packages [2024-11-08T15:10:14.476Z] Removing intermediate container fd6698a1eec7 [2024-11-08T15:10:14.476Z] ---> daff5b7af958 [2024-11-08T15:10:14.476Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-08T15:10:14.476Z] ---> Running in 0c8798369fc2 [2024-11-08T15:10:14.476Z] Removing intermediate container 0c8798369fc2 [2024-11-08T15:10:14.476Z] ---> eaf4e2d59e95 [2024-11-08T15:10:14.476Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-08T15:10:14.476Z] ---> fdb335334159 [2024-11-08T15:10:14.476Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T15:10:14.476Z] ---> Running in e14bf1a426ea [2024-11-08T15:10:15.728Z] Removing intermediate container e14bf1a426ea [2024-11-08T15:10:15.728Z] ---> e33a3656c101 [2024-11-08T15:10:15.728Z] Step 11/26 : COPY . . [2024-11-08T15:10:15.989Z] ---> 759e6915e6d6 [2024-11-08T15:10:15.989Z] Step 12/26 : RUN $MAKE [2024-11-08T15:10:15.989Z] ---> Running in 6f76d6527071 [2024-11-08T15:10:16.248Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T15:10:18.520Z] provisioning config files... [2024-11-08T15:10:18.552Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1237518419770344471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:10:18.976Z] ---> ****-login.sh [2024-11-08T15:10:18.976Z] nexus3.edgexfoundry.org:10001 [2024-11-08T15:10:19.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:10:19.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:10:19.519Z] Configure a credential helper to remove this warning. See [2024-11-08T15:10:19.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:10:19.519Z] [2024-11-08T15:10:19.519Z] Login Succeeded [2024-11-08T15:10:19.519Z] nexus3.edgexfoundry.org:10002 [2024-11-08T15:10:19.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:10:20.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:10:20.053Z] Configure a credential helper to remove this warning. See [2024-11-08T15:10:20.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:10:20.053Z] [2024-11-08T15:10:20.053Z] Login Succeeded [2024-11-08T15:10:20.053Z] nexus3.edgexfoundry.org:10003 [2024-11-08T15:10:20.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:10:20.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:10:20.320Z] Configure a credential helper to remove this warning. See [2024-11-08T15:10:20.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:10:20.320Z] [2024-11-08T15:10:20.320Z] Login Succeeded [2024-11-08T15:10:20.320Z] nexus3.edgexfoundry.org:10004 [2024-11-08T15:10:20.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:10:20.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:10:20.594Z] Configure a credential helper to remove this warning. See [2024-11-08T15:10:20.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:10:20.594Z] [2024-11-08T15:10:20.594Z] Login Succeeded [2024-11-08T15:10:20.594Z] ****.io [2024-11-08T15:10:20.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T15:10:21.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T15:10:21.131Z] Configure a credential helper to remove this warning. See [2024-11-08T15:10:21.131Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T15:10:21.131Z] [2024-11-08T15:10:21.131Z] Login Succeeded [2024-11-08T15:10:21.131Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T15:10:21.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T15:10:21.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T15:10:21.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T15:10:21.496Z] ========================================================= [2024-11-08T15:10:21.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T15:10:21.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:10:21.864Z] + 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-08T15:10:21.864Z] Sending build context to Docker daemon 140.8kB [2024-11-08T15:10:22.132Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T15:10:22.132Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T15:10:22.132Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T15:10:22.132Z] cf04c63912e1: Pulling fs layer [2024-11-08T15:10:22.132Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T15:10:22.132Z] a37a00ec5f00: Pulling fs layer [2024-11-08T15:10:22.132Z] 50b3750afda1: Pulling fs layer [2024-11-08T15:10:22.132Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T15:10:22.132Z] 80978eb59214: Pulling fs layer [2024-11-08T15:10:22.132Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T15:10:22.132Z] c5a475d317c9: Pulling fs layer [2024-11-08T15:10:22.132Z] 4f4fb700ef54: Waiting [2024-11-08T15:10:22.132Z] 80978eb59214: Waiting [2024-11-08T15:10:22.132Z] c9f46d7d2bd2: Waiting [2024-11-08T15:10:22.132Z] c5a475d317c9: Waiting [2024-11-08T15:10:22.132Z] 50b3750afda1: Waiting [2024-11-08T15:10:22.405Z] 55b35a11ae5e: Download complete [2024-11-08T15:10:22.405Z] 50b3750afda1: Verifying Checksum [2024-11-08T15:10:22.405Z] 50b3750afda1: Download complete [2024-11-08T15:10:22.405Z] 4f4fb700ef54: Download complete [2024-11-08T15:10:22.405Z] 80978eb59214: Verifying Checksum [2024-11-08T15:10:22.405Z] 80978eb59214: Download complete [2024-11-08T15:10:22.405Z] cf04c63912e1: Verifying Checksum [2024-11-08T15:10:22.405Z] cf04c63912e1: Download complete [2024-11-08T15:10:22.992Z] c5a475d317c9: Verifying Checksum [2024-11-08T15:10:22.992Z] c5a475d317c9: Download complete [2024-11-08T15:10:23.264Z] cf04c63912e1: Pull complete [2024-11-08T15:10:23.852Z] 55b35a11ae5e: Pull complete [2024-11-08T15:10:24.438Z] a37a00ec5f00: Verifying Checksum [2024-11-08T15:10:24.438Z] a37a00ec5f00: Download complete [2024-11-08T15:10:25.024Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T15:10:25.024Z] c9f46d7d2bd2: Download complete [2024-11-08T15:10:40.032Z] a37a00ec5f00: Pull complete [2024-11-08T15:10:40.032Z] 50b3750afda1: Pull complete [2024-11-08T15:10:40.032Z] 4f4fb700ef54: Pull complete [2024-11-08T15:10:40.032Z] 80978eb59214: Pull complete [2024-11-08T15:10:46.689Z] c9f46d7d2bd2: Pull complete [2024-11-08T15:10:48.114Z] c5a475d317c9: Pull complete [2024-11-08T15:10:48.115Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T15:10:48.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T15:10:48.115Z] ---> be29e6b0f0d4 [2024-11-08T15:10:48.115Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T15:10:50.063Z] ---> Running in 44fc81326c06 [2024-11-08T15:10:50.330Z] Removing intermediate container 44fc81326c06 [2024-11-08T15:10:50.330Z] ---> 03482d06d652 [2024-11-08T15:10:50.330Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T15:10:50.330Z] ---> Running in 7784834b1b65 [2024-11-08T15:10:50.598Z] Removing intermediate container 7784834b1b65 [2024-11-08T15:10:50.598Z] ---> 9b513d3b5c9f [2024-11-08T15:10:50.598Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T15:10:50.865Z] ---> Running in 9e362c4b503a [2024-11-08T15:10:51.133Z] Removing intermediate container 9e362c4b503a [2024-11-08T15:10:51.133Z] ---> 33130adc10d3 [2024-11-08T15:10:51.133Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T15:10:51.133Z] ---> Running in 711053e0f1e0 [2024-11-08T15:10:51.403Z] Removing intermediate container 711053e0f1e0 [2024-11-08T15:10:51.403Z] ---> ec4a6e72d4d0 [2024-11-08T15:10:51.403Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T15:10:51.403Z] ---> Running in 3b19ab7bd5d4 [2024-11-08T15:10:52.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T15:10:52.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T15:10:54.251Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T15:10:54.251Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T15:10:54.251Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T15:10:54.251Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T15:10:54.251Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T15:10:54.251Z] OK: 242 MiB in 58 packages [2024-11-08T15:10:54.986Z] Removing intermediate container 6f76d6527071 [2024-11-08T15:10:54.986Z] ---> 5b79aa9dea9e [2024-11-08T15:10:54.986Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T15:10:54.986Z] 3.20: Pulling from library/alpine [2024-11-08T15:10:54.986Z] 43c4264eed91: Already exists [2024-11-08T15:10:54.986Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T15:10:54.986Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T15:10:54.986Z] ---> 91ef0af61f39 [2024-11-08T15:10:54.986Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T15:10:54.986Z] ---> Running in dba97889651a [2024-11-08T15:10:54.986Z] Removing intermediate container dba97889651a [2024-11-08T15:10:54.986Z] ---> 1f519d132be1 [2024-11-08T15:10:54.986Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-08T15:10:54.986Z] ---> Running in 885f865efdb9 [2024-11-08T15:10:54.986Z] Removing intermediate container 885f865efdb9 [2024-11-08T15:10:54.986Z] ---> 8dff27ba8a75 [2024-11-08T15:10:54.986Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T15:10:54.987Z] ---> Running in 2bf43ac49151 [2024-11-08T15:10:54.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:54.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:54.987Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T15:10:54.987Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T15:10:54.987Z] OK: 8 MiB in 15 packages [2024-11-08T15:10:54.987Z] Removing intermediate container 2bf43ac49151 [2024-11-08T15:10:54.987Z] ---> d5f20412c341 [2024-11-08T15:10:54.987Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-08T15:10:54.987Z] ---> Running in f907a3063acf [2024-11-08T15:10:54.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:54.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:54.987Z] Upgrading critical system libraries and apk-tools: [2024-11-08T15:10:54.987Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T15:10:54.987Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T15:10:54.987Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T15:10:54.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:54.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T15:10:54.987Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T15:10:54.987Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T15:10:54.987Z] OK: 8 MiB in 15 packages [2024-11-08T15:10:55.247Z] Removing intermediate container f907a3063acf [2024-11-08T15:10:55.247Z] ---> c06da0efd131 [2024-11-08T15:10:55.247Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-08T15:10:55.670Z] Removing intermediate container 3b19ab7bd5d4 [2024-11-08T15:10:55.670Z] ---> 6dec13a434f5 [2024-11-08T15:10:55.670Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-08T15:10:55.670Z] ---> Running in 85d9440c2b72 [2024-11-08T15:10:55.940Z] Removing intermediate container 85d9440c2b72 [2024-11-08T15:10:55.940Z] ---> c3baec634db9 [2024-11-08T15:10:55.940Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T15:10:56.209Z] ---> 9d924f642782 [2024-11-08T15:10:56.209Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T15:10:56.476Z] ---> Running in 1bc7d7a7f3a3 [2024-11-08T15:10:56.632Z] ---> 290f81356b23 [2024-11-08T15:10:56.632Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-08T15:10:56.892Z] ---> cc8f87fb743a [2024-11-08T15:10:56.892Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-08T15:10:56.892Z] ---> 62364c687477 [2024-11-08T15:10:56.892Z] Step 21/26 : EXPOSE 59986 [2024-11-08T15:10:56.892Z] ---> Running in 4dde309276bc [2024-11-08T15:10:57.151Z] Removing intermediate container 4dde309276bc [2024-11-08T15:10:57.151Z] ---> 8413a7e8b0c6 [2024-11-08T15:10:57.151Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-08T15:10:57.151Z] ---> Running in 9b65c3594c39 [2024-11-08T15:10:57.151Z] Removing intermediate container 9b65c3594c39 [2024-11-08T15:10:57.151Z] ---> d4c82c978156 [2024-11-08T15:10:57.151Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T15:10:57.151Z] ---> Running in 6b66ece802de [2024-11-08T15:10:57.151Z] Removing intermediate container 6b66ece802de [2024-11-08T15:10:57.151Z] ---> 9bbc6d33393e [2024-11-08T15:10:57.151Z] Step 24/26 : LABEL arch=amd64 [2024-11-08T15:10:57.409Z] ---> Running in d3e8341a0e9e [2024-11-08T15:10:57.409Z] Removing intermediate container d3e8341a0e9e [2024-11-08T15:10:57.409Z] ---> 099a9ac1fad5 [2024-11-08T15:10:57.409Z] Step 25/26 : LABEL git_sha=1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [2024-11-08T15:10:57.409Z] ---> Running in 02177217786f [2024-11-08T15:10:57.409Z] Removing intermediate container 02177217786f [2024-11-08T15:10:57.409Z] ---> 81695b5af7c9 [2024-11-08T15:10:57.409Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T15:10:57.409Z] ---> Running in 937ba20407c1 [2024-11-08T15:10:57.668Z] Removing intermediate container 937ba20407c1 [2024-11-08T15:10:57.668Z] ---> 6d950c859ead [2024-11-08T15:10:57.668Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T15:10:57.668Z] Successfully built 6d950c859ead [2024-11-08T15:10:57.668Z] 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-08T15:10:58.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T15:10:58.156Z] [2024-11-08T15:10:58.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:10:58.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T15:10:58.469Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T15:10:58.469Z] 5eb5b503b376: Pulling fs layer [2024-11-08T15:10:58.469Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T15:10:58.469Z] ec43610c2a17: Pulling fs layer [2024-11-08T15:10:58.469Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T15:10:58.469Z] 33b1e0a273af: Pulling fs layer [2024-11-08T15:10:58.469Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T15:10:58.469Z] 2f39f015ded8: Pulling fs layer [2024-11-08T15:10:58.469Z] 3a2ae6a8a46f: Waiting [2024-11-08T15:10:58.469Z] 5d3b04190fa2: Waiting [2024-11-08T15:10:58.469Z] 5c69ac0246d0: Download complete [2024-11-08T15:10:58.469Z] 3a2ae6a8a46f: Download complete [2024-11-08T15:10:58.469Z] 33b1e0a273af: Verifying Checksum [2024-11-08T15:10:58.469Z] 33b1e0a273af: Download complete [2024-11-08T15:10:58.469Z] ec43610c2a17: Download complete [2024-11-08T15:10:58.469Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T15:10:58.469Z] 5d3b04190fa2: Download complete [2024-11-08T15:10:58.729Z] 5eb5b503b376: Download complete [2024-11-08T15:10:59.298Z] 2f39f015ded8: Download complete [2024-11-08T15:10:59.864Z] 5eb5b503b376: Pull complete [2024-11-08T15:10:59.864Z] 5c69ac0246d0: Pull complete [2024-11-08T15:11:00.431Z] ec43610c2a17: Pull complete [2024-11-08T15:11:00.431Z] 3a2ae6a8a46f: Pull complete [2024-11-08T15:11:01.003Z] 33b1e0a273af: Pull complete [2024-11-08T15:11:01.003Z] 5d3b04190fa2: Pull complete [2024-11-08T15:11:05.202Z] 2f39f015ded8: Pull complete [2024-11-08T15:11:05.202Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T15:11:05.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T15:11:05.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:11:05.297Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2024-11-08T15:11:05.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T15:11:12.971Z] $ docker top 09b0f32910a32148930ac6d32410c652af941d7a0a6c83a40fe8f3f871956f17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:11:13.373Z] ---> job-cost.sh [2024-11-08T15:11:13.373Z] lf-activate-venv: SKIPPING [2024-11-08T15:11:13.373Z] INFO: No Stack... [2024-11-08T15:11:13.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T15:11:14.201Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T15:11:14.492Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-424/archives/cost.csv [2024-11-08T15:11:14.492Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T15:11:14.508Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] [2024-11-08T15:11:14.517Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] did not exist. Created. [2024-11-08T15:11:14.524Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T15:11:14.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T15:11:14.876Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T15:11:14.884Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T15:11:14.904Z] $ docker stop --time=1 09b0f32910a32148930ac6d32410c652af941d7a0a6c83a40fe8f3f871956f17 [2024-11-08T15:11:16.059Z] $ docker rm -f --volumes 09b0f32910a32148930ac6d32410c652af941d7a0a6c83a40fe8f3f871956f17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T15:12:48.187Z] Removing intermediate container 1bc7d7a7f3a3 [2024-11-08T15:12:48.187Z] ---> 7085b6f6b54f [2024-11-08T15:12:48.187Z] Step 11/12 : COPY . . [2024-11-08T15:12:48.187Z] ---> d05df29e2424 [2024-11-08T15:12:48.187Z] Step 12/12 : RUN $MAKE [2024-11-08T15:12:48.187Z] ---> Running in 9a16107ba6d2 [2024-11-08T15:12:48.187Z] noop [2024-11-08T15:12:48.187Z] Removing intermediate container 9a16107ba6d2 [2024-11-08T15:12:48.187Z] ---> 4800abcab865 [2024-11-08T15:12:48.187Z] Successfully built 4800abcab865 [2024-11-08T15:12:48.187Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:12:48.547Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T15:12:48.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:12:48.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-25947 does not seem to be running inside a container [2024-11-08T15:12:48.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T15:12:49.889Z] $ docker top 5b0ca431e98b8b1bdb6e7ae3eef83875944e2bf25c329046d855444640fb1989 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T15:12:50.700Z] + go version [2024-11-08T15:12:50.700Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T15:12:50.710Z] $ docker stop --time=1 5b0ca431e98b8b1bdb6e7ae3eef83875944e2bf25c329046d855444640fb1989 [2024-11-08T15:12:52.264Z] $ docker rm -f --volumes 5b0ca431e98b8b1bdb6e7ae3eef83875944e2bf25c329046d855444640fb1989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:12:52.828Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T15:12:52.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:12:52.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-25947 does not seem to be running inside a container [2024-11-08T15:12:53.040Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T15:12:54.095Z] $ docker top c5eb0843d375ed7d8411eda36fc9e753f86d87ec2814c541e55cbe1a8fe2ffb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T15:12:54.927Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T15:12:55.261Z] + make test [2024-11-08T15:12:55.262Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T15:13:01.905Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-08T15:16:08.960Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-08T15:16:13.285Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 33.2% of statements [2024-11-08T15:16:14.241Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T15:16:14.242Z] go vet ./... [2024-11-08T15:17:01.070Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T15:17:01.070Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T15:17:01.070Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T15:17:01.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T15:17:01.103Z] $ docker stop --time=1 c5eb0843d375ed7d8411eda36fc9e753f86d87ec2814c541e55cbe1a8fe2ffb7 [2024-11-08T15:17:02.886Z] $ docker rm -f --volumes c5eb0843d375ed7d8411eda36fc9e753f86d87ec2814c541e55cbe1a8fe2ffb7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T15:17:04.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T15:17:04.359Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T15:17:04.764Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T15:17:05.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T15:17:05.476Z] + ls -al . [2024-11-08T15:17:05.477Z] total 240 [2024-11-08T15:17:05.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 15:12 . [2024-11-08T15:17:05.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:09 .. [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 15:09 .dockerignore [2024-11-08T15:17:05.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 15:09 .git [2024-11-08T15:17:05.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:09 .github [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 15:09 .gitignore [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 15:09 .golangci.yml [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 15:09 Attribution.txt [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 15:09 CHANGELOG.md [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 15:09 Dockerfile [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 15:09 GOVERNANCE.md [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 15:09 Jenkinsfile [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 15:09 LICENSE [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 15:09 Makefile [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 15:09 OWNERS.md [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 15:09 README.md [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:08 VERSION [2024-11-08T15:17:05.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:09 bin [2024-11-08T15:17:05.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:09 cmd [2024-11-08T15:17:05.477Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 15:16 coverage.out [2024-11-08T15:17:05.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:09 driver [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 15:09 go.mod [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 15:09 go.sum [2024-11-08T15:17:05.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:09 openapi [2024-11-08T15:17:05.477Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:17:05.819Z] + 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=cf829d4a92fc60dfd2730568dff0b17198f2e21c --label arch=arm64 --label version=0.0.0 . [2024-11-08T15:17:05.819Z] Sending build context to Docker daemon 156.2kB [2024-11-08T15:17:06.092Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T15:17:06.092Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T15:17:06.092Z] ---> 4800abcab865 [2024-11-08T15:17:06.092Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T15:17:06.092Z] ---> Running in 66b6b399d544 [2024-11-08T15:17:06.360Z] Removing intermediate container 66b6b399d544 [2024-11-08T15:17:06.360Z] ---> ea715b2fcc0a [2024-11-08T15:17:06.360Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T15:17:06.360Z] ---> Running in c04e11c1bd68 [2024-11-08T15:17:06.628Z] Removing intermediate container c04e11c1bd68 [2024-11-08T15:17:06.628Z] ---> 5df3507599a9 [2024-11-08T15:17:06.628Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T15:17:06.893Z] ---> Running in 752a0383e302 [2024-11-08T15:17:07.158Z] Removing intermediate container 752a0383e302 [2024-11-08T15:17:07.158Z] ---> 031f04ddb047 [2024-11-08T15:17:07.158Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T15:17:07.158Z] ---> Running in 350e0657fabd [2024-11-08T15:17:07.431Z] Removing intermediate container 350e0657fabd [2024-11-08T15:17:07.431Z] ---> 4be6f77dfe03 [2024-11-08T15:17:07.431Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T15:17:07.431Z] ---> Running in 2051a98d2dbf [2024-11-08T15:17:08.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T15:17:08.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T15:17:10.069Z] OK: 242 MiB in 58 packages [2024-11-08T15:17:11.039Z] Removing intermediate container 2051a98d2dbf [2024-11-08T15:17:11.039Z] ---> 82fefa78f3cb [2024-11-08T15:17:11.039Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-08T15:17:11.039Z] ---> Running in 55b493f8847a [2024-11-08T15:17:11.306Z] Removing intermediate container 55b493f8847a [2024-11-08T15:17:11.306Z] ---> 5b9a731eedc4 [2024-11-08T15:17:11.306Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-08T15:17:11.575Z] ---> 4b2f091073c2 [2024-11-08T15:17:11.575Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T15:17:11.846Z] ---> Running in 49be11d9dd01 [2024-11-08T15:17:13.793Z] Removing intermediate container 49be11d9dd01 [2024-11-08T15:17:14.064Z] ---> ea9b05831596 [2024-11-08T15:17:14.064Z] Step 11/26 : COPY . . [2024-11-08T15:17:14.333Z] ---> 90c355971015 [2024-11-08T15:17:14.333Z] Step 12/26 : RUN $MAKE [2024-11-08T15:17:14.602Z] ---> Running in 09997b23278d [2024-11-08T15:17:15.565Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-08T15:20:37.324Z] Removing intermediate container 09997b23278d [2024-11-08T15:20:37.324Z] ---> a56a05e3589b [2024-11-08T15:20:37.324Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T15:20:37.324Z] 3.20: Pulling from library/alpine [2024-11-08T15:20:37.324Z] cf04c63912e1: Already exists [2024-11-08T15:20:37.324Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T15:20:37.324Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T15:20:37.324Z] ---> c157a85ed455 [2024-11-08T15:20:37.324Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T15:20:37.324Z] ---> Running in 3ac8cfd996a9 [2024-11-08T15:20:37.324Z] Removing intermediate container 3ac8cfd996a9 [2024-11-08T15:20:37.324Z] ---> 3dee3a235ae8 [2024-11-08T15:20:37.324Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-08T15:20:37.324Z] ---> Running in 52d6c89444b1 [2024-11-08T15:20:37.324Z] Removing intermediate container 52d6c89444b1 [2024-11-08T15:20:37.324Z] ---> 1eafc3f1de77 [2024-11-08T15:20:37.324Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T15:20:37.324Z] ---> Running in dbf09aa36602 [2024-11-08T15:20:37.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T15:20:37.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T15:20:37.324Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T15:20:37.324Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T15:20:37.324Z] OK: 9 MiB in 15 packages [2024-11-08T15:20:37.324Z] Removing intermediate container dbf09aa36602 [2024-11-08T15:20:37.324Z] ---> aaa3177903a9 [2024-11-08T15:20:37.324Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-08T15:20:37.324Z] ---> Running in dada8bd8b4a9 [2024-11-08T15:20:37.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T15:20:37.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T15:20:37.324Z] Upgrading critical system libraries and apk-tools: [2024-11-08T15:20:37.324Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T15:20:37.324Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T15:20:37.324Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T15:20:37.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T15:20:37.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T15:20:37.324Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T15:20:37.324Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T15:20:37.324Z] OK: 9 MiB in 15 packages [2024-11-08T15:20:37.324Z] Removing intermediate container dada8bd8b4a9 [2024-11-08T15:20:37.324Z] ---> ef212281c325 [2024-11-08T15:20:37.324Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-08T15:20:37.903Z] ---> e28a2b1706cb [2024-11-08T15:20:37.903Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-08T15:20:38.483Z] ---> 4b1fc4053111 [2024-11-08T15:20:38.483Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-08T15:20:39.066Z] ---> e605ad7e87da [2024-11-08T15:20:39.066Z] Step 21/26 : EXPOSE 59986 [2024-11-08T15:20:39.066Z] ---> Running in d380dad35df6 [2024-11-08T15:20:39.339Z] Removing intermediate container d380dad35df6 [2024-11-08T15:20:39.339Z] ---> 441174e8590d [2024-11-08T15:20:39.339Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-08T15:20:39.622Z] ---> Running in faa50b606cca [2024-11-08T15:20:39.887Z] Removing intermediate container faa50b606cca [2024-11-08T15:20:39.887Z] ---> c048ef769e62 [2024-11-08T15:20:39.887Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T15:20:39.887Z] ---> Running in 8dc81c9880ca [2024-11-08T15:20:40.152Z] Removing intermediate container 8dc81c9880ca [2024-11-08T15:20:40.152Z] ---> 8ad504d4b86f [2024-11-08T15:20:40.152Z] Step 24/26 : LABEL arch=arm64 [2024-11-08T15:20:40.152Z] ---> Running in fac383ef2583 [2024-11-08T15:20:40.418Z] Removing intermediate container fac383ef2583 [2024-11-08T15:20:40.418Z] ---> 4b6ffc6e00b0 [2024-11-08T15:20:40.418Z] Step 25/26 : LABEL git_sha=cf829d4a92fc60dfd2730568dff0b17198f2e21c [2024-11-08T15:20:40.418Z] ---> Running in f05ee514b75b [2024-11-08T15:20:40.684Z] Removing intermediate container f05ee514b75b [2024-11-08T15:20:40.684Z] ---> 1db4b9cb9c5b [2024-11-08T15:20:40.684Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T15:20:40.950Z] ---> Running in d0d2e096d675 [2024-11-08T15:20:41.529Z] Removing intermediate container d0d2e096d675 [2024-11-08T15:20:41.529Z] ---> 5d5c603e71a5 [2024-11-08T15:20:41.529Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T15:20:41.529Z] Successfully built 5d5c603e71a5 [2024-11-08T15:20:41.529Z] 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-08T15:20:42.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T15:20:42.065Z] [2024-11-08T15:20:42.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:20:42.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T15:20:43.347Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T15:20:43.347Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T15:20:43.347Z] 04944245beec: Pulling fs layer [2024-11-08T15:20:43.347Z] 699f458cf7ca: Pulling fs layer [2024-11-08T15:20:43.347Z] 765212b225bb: Pulling fs layer [2024-11-08T15:20:43.347Z] f23df028b6ca: Pulling fs layer [2024-11-08T15:20:43.347Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T15:20:43.347Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T15:20:43.347Z] 765212b225bb: Waiting [2024-11-08T15:20:43.347Z] f23df028b6ca: Waiting [2024-11-08T15:20:43.347Z] d65c8cfc05b1: Waiting [2024-11-08T15:20:43.347Z] 2437ff75d9bd: Waiting [2024-11-08T15:20:43.347Z] 04944245beec: Verifying Checksum [2024-11-08T15:20:43.347Z] 04944245beec: Download complete [2024-11-08T15:20:43.347Z] 765212b225bb: Download complete [2024-11-08T15:20:43.347Z] f23df028b6ca: Verifying Checksum [2024-11-08T15:20:43.347Z] f23df028b6ca: Download complete [2024-11-08T15:20:43.347Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T15:20:43.347Z] d65c8cfc05b1: Download complete [2024-11-08T15:20:43.614Z] 699f458cf7ca: Verifying Checksum [2024-11-08T15:20:43.614Z] 699f458cf7ca: Download complete [2024-11-08T15:20:44.194Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T15:20:44.194Z] 8998bd30e6a1: Download complete [2024-11-08T15:20:46.136Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T15:20:46.136Z] 2437ff75d9bd: Download complete [2024-11-08T15:20:48.708Z] 8998bd30e6a1: Pull complete [2024-11-08T15:20:48.974Z] 04944245beec: Pull complete [2024-11-08T15:20:50.379Z] 699f458cf7ca: Pull complete [2024-11-08T15:20:50.645Z] 765212b225bb: Pull complete [2024-11-08T15:20:51.225Z] f23df028b6ca: Pull complete [2024-11-08T15:20:51.490Z] d65c8cfc05b1: Pull complete [2024-11-08T15:21:06.464Z] 2437ff75d9bd: Pull complete [2024-11-08T15:21:06.464Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T15:21:06.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T15:21:06.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:21:06.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-25947 does not seem to be running inside a container [2024-11-08T15:21:06.736Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T15:21:09.319Z] $ docker top 08333b6ceac218222b9363ce64761427f4fdfe8f782bdfae277abf8cbcd35c66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:10.134Z] ---> job-cost.sh [2024-11-08T15:21:10.134Z] lf-activate-venv: SKIPPING [2024-11-08T15:21:10.134Z] INFO: No Stack... [2024-11-08T15:21:10.709Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T15:21:11.286Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T15:21:11.609Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2024-11-08T15:21:11.609Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T15:21:11.928Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] [2024-11-08T15:21:11.937Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] did not exist. Created. [2024-11-08T15:21:11.946Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T15:21:12.282Z] /w/workspace/device-rest-go/2@tmp/durable-b4eafb64/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T15:21:12.606Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T15:21:12.632Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T15:21:12.671Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T15:21:12.679Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T15:21:12.699Z] $ docker stop --time=1 08333b6ceac218222b9363ce64761427f4fdfe8f782bdfae277abf8cbcd35c66 [2024-11-08T15:21:14.136Z] $ docker rm -f --volumes 08333b6ceac218222b9363ce64761427f4fdfe8f782bdfae277abf8cbcd35c66 [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-08T15:21:14.592Z] provisioning config files... [2024-11-08T15:21:14.599Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config2704693982259115673tmp [Pipeline] { [Pipeline] sh [2024-11-08T15:21:14.894Z] + set +x [2024-11-08T15:21:14.894Z] + curl -s https://codecov.io/bash [2024-11-08T15:21:14.894Z] + bash -s -- [2024-11-08T15:21:15.154Z] [2024-11-08T15:21:15.154Z] _____ _ [2024-11-08T15:21:15.154Z] / ____| | | [2024-11-08T15:21:15.154Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T15:21:15.154Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T15:21:15.154Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T15:21:15.154Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T15:21:15.154Z] Bash-1.0.6 [2024-11-08T15:21:15.154Z] [2024-11-08T15:21:15.154Z] [2024-11-08T15:21:15.154Z] ==> git version 2.25.1 found [2024-11-08T15:21:15.154Z] ==> 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-08T15:21:15.154Z] Release-Date: 2020-01-08 [2024-11-08T15:21:15.154Z] 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-08T15:21:15.154Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T15:21:15.154Z] ==> Jenkins CI detected. [2024-11-08T15:21:15.154Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-424 [2024-11-08T15:21:15.154Z] project root: . [2024-11-08T15:21:15.154Z] --> token set from env [2024-11-08T15:21:15.154Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T15:21:15.154Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T15:21:15.154Z] ==> Python coveragepy not found [2024-11-08T15:21:15.154Z] ==> Searching for coverage reports in: [2024-11-08T15:21:15.154Z] + . [2024-11-08T15:21:15.154Z] -> Found 1 reports [2024-11-08T15:21:15.154Z] ==> Detecting git/mercurial file structure [2024-11-08T15:21:15.154Z] ==> Reading reports [2024-11-08T15:21:15.154Z] + ./coverage.out bytes=14565 [2024-11-08T15:21:15.154Z] ==> Appending adjustments [2024-11-08T15:21:15.154Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T15:21:15.154Z] + Found adjustments [2024-11-08T15:21:15.154Z] ==> Gzipping contents [2024-11-08T15:21:15.154Z] 4.0K /tmp/codecov.nEFVCD.gz [2024-11-08T15:21:15.154Z] ==> Uploading reports [2024-11-08T15:21:15.154Z] url: https://codecov.io [2024-11-08T15:21:15.154Z] query: branch=PR-424&commit=1158601076ebf0404e1a4ef13aca893ed4a9b7b1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-424%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=424&job=&cmd_args= [2024-11-08T15:21:15.154Z] -> Pinging Codecov [2024-11-08T15:21:15.154Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-424&commit=1158601076ebf0404e1a4ef13aca893ed4a9b7b1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-424%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=424&job=&cmd_args= [2024-11-08T15:21:15.723Z] -> Uploading to [2024-11-08T15:21:15.724Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/1158601076ebf0404e1a4ef13aca893ed4a9b7b1/59f296ea-d01b-4983-8298-8270a8b4e925.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T152115Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=8dbddd2ce71ed77b6a7fe4d8efa9058b5dbd059a010756f9619ea25e45792ca0 [2024-11-08T15:21:15.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T15:21:15.724Z] Dload Upload Total Spent Left Speed [2024-11-08T15:21:15.983Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 9308 --:--:-- --:--:-- --:--:-- 9308 [2024-11-08T15:21:15.983Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1158601076ebf0404e1a4ef13aca893ed4a9b7b1 [Pipeline] } [2024-11-08T15:21:15.990Z] 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-08T15:21:16.864Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-424/archives ] [2024-11-08T15:21:16.864Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-424/archives [2024-11-08T15:21:16.864Z] total 16 [2024-11-08T15:21:16.864Z] drwxr-xr-x 3 root root 4096 Nov 8 15:11 . [2024-11-08T15:21:16.864Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 15:11 .. [2024-11-08T15:21:16.864Z] drwxr-xr-x 2 root root 4096 Nov 8 15:11 cost [2024-11-08T15:21:16.864Z] -rw-r--r-- 1 root root 86 Nov 8 15:11 cost.csv [2024-11-08T15:21:16.864Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-424/archives [2024-11-08T15:21:16.864Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-424/archives [2024-11-08T15:21:16.864Z] total 16 [2024-11-08T15:21:16.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 15:11 . [2024-11-08T15:21:16.864Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 15:11 .. [2024-11-08T15:21:16.864Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 15:11 cost [2024-11-08T15:21:16.864Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 15:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:17.157Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:18.020Z] ---> package-listing.sh [2024-11-08T15:21:18.020Z] ++ facter osfamily [2024-11-08T15:21:18.020Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T15:21:18.280Z] + OS_FAMILY=debian [2024-11-08T15:21:18.280Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-424 [2024-11-08T15:21:18.280Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T15:21:18.280Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T15:21:18.280Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T15:21:18.280Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T15:21:18.280Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-424 ']' [2024-11-08T15:21:18.280Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T15:21:18.280Z] + case "${OS_FAMILY}" in [2024-11-08T15:21:18.280Z] + dpkg -l [2024-11-08T15:21:18.280Z] + grep '^ii' [2024-11-08T15:21:18.280Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T15:21:18.280Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T15:21:18.280Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T15:21:18.280Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-424 ']' [2024-11-08T15:21:18.280Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-424/archives/ [2024-11-08T15:21:18.280Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-424/archives/ [Pipeline] echo [2024-11-08T15:21:18.293Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T15:21:18.571Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T15:21:19.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T15:21:19.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T15:21:19.226Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2024-11-08T15:21:19.250Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T15:21:19.481Z] $ docker top 1f025d7aa4b7b685fc37439f54473bd5d88d29693cfa19d53cab97b44fbcb967 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T15:21:19.843Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T15:21:20.133Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T15:21:20.421Z] + ls /var/log/sa-host [2024-11-08T15:21:20.421Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T15:21:20.586Z] provisioning config files... [2024-11-08T15:21:20.594Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config10603527527249643322tmp [Pipeline] { [Pipeline] echo [2024-11-08T15:21:20.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:20.901Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T15:21:20.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:21.261Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T15:21:21.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:21.555Z] ---> sudo-logs.sh [2024-11-08T15:21:21.556Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T15:21:21.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:21.875Z] ---> job-cost.sh [2024-11-08T15:21:21.875Z] lf-activate-venv: SKIPPING [2024-11-08T15:21:21.875Z] DEBUG: total: 0.2199999988079071 [2024-11-08T15:21:21.875Z] INFO: Retrieving Stack Cost... [2024-11-08T15:21:22.135Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T15:21:22.705Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T15:21:22.720Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T15:21:23.004Z] ---> logs-deploy.sh [2024-11-08T15:21:23.004Z] lf-activate-venv: SKIPPING [2024-11-08T15:21:23.004Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-424/2 [2024-11-08T15:21:23.004Z] INFO: archiving workspace using pattern(s): [2024-11-08T15:21:23.942Z] Archives upload complete. [2024-11-08T15:21:23.942Z] INFO: archiving logs to Nexus