Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97+990d379436bad360529865c6b1e601239e616fa1 (9befaa245d1099e3fb5df7a9a6b36c5c4a8b9b7b) 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-ssh17239916623542983980.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh15407814395753193915.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-363/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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13834911876004839201.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh134802953659720872.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-363/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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6783108901915842704.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.21 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-18104 in /w/workspace/gexfoundry_device-rest-go_PR-363 [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-363 # 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 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 Merge succeeded, producing 4f4b10efe40970bac944e31521d5aeda91263244 Checking out Revision 4f4b10efe40970bac944e31521d5aeda91263244 (PR-363) > 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # 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 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f4b10efe40970bac944e31521d5aeda91263244 # timeout=10 Commit message: "Merge commit '990d379436bad360529865c6b1e601239e616fa1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T15:07:36.834Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T15:07:36.897Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T15:07:36.914Z] ========================================================= [2023-11-15T15:07:36.914Z] EdgeX Global Pipelines Version Info [2023-11-15T15:07:36.914Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 # timeout=10 [2023-11-15T15:07:37.996Z] ------------------- [2023-11-15T15:07:37.996Z] stable info: [2023-11-15T15:07:37.996Z] ------------------- [2023-11-15T15:07:37.996Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T15:07:37.996Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T15:07:37.996Z] Message: update stable to v1.0.257 [2023-11-15T15:07:38.570Z] ------------------- [2023-11-15T15:07:38.570Z] experimental info: [2023-11-15T15:07:38.570Z] ------------------- [2023-11-15T15:07:38.570Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T15:07:38.570Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T15:07:38.570Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T15:07:38.734Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-15T15:07:38.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-15T15:07:38.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T15:07:38.838Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T15:07:38.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T15:07:38.861Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T15:07:38.870Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T15:07:38.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T15:07:38.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T15:07:38.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T15:07:38.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T15:07:38.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-15T15:07:38.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T15:07:38.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T15:07:39.004Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T15:07:39.016Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T15:07:39.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T15:07:39.035Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T15:07:39.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T15:07:39.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T15:07:39.092Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-15T15:07:39.106Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-15T15:07:39.119Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T15:07:39.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T15:07:39.161Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T15:07:39.179Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T15:07:39.190Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T15:07:39.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo [2023-11-15T15:07:39.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo [2023-11-15T15:07:39.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo [2023-11-15T15:07:39.258Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f4b10efe40970bac944e31521d5aeda91263244 [Pipeline] echo [2023-11-15T15:07:39.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f4b10e [Pipeline] echo [2023-11-15T15:07:39.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T15:07:39.340Z] provisioning config files... [2023-11-15T15:07:39.356Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config4563571837797140799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:07:39.669Z] ---> docker-login.sh [2023-11-15T15:07:39.669Z] nexus3.edgexfoundry.org:10001 [2023-11-15T15:07:39.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:39.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:39.929Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:39.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:39.929Z] [2023-11-15T15:07:39.929Z] Login Succeeded [2023-11-15T15:07:39.929Z] nexus3.edgexfoundry.org:10002 [2023-11-15T15:07:40.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:40.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:40.191Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:40.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:40.191Z] [2023-11-15T15:07:40.191Z] Login Succeeded [2023-11-15T15:07:40.191Z] nexus3.edgexfoundry.org:10003 [2023-11-15T15:07:40.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:40.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:40.191Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:40.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:40.191Z] [2023-11-15T15:07:40.191Z] Login Succeeded [2023-11-15T15:07:40.191Z] nexus3.edgexfoundry.org:10004 [2023-11-15T15:07:40.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:40.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:40.453Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:40.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:40.453Z] [2023-11-15T15:07:40.453Z] Login Succeeded [2023-11-15T15:07:40.453Z] docker.io [2023-11-15T15:07:40.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:40.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:40.714Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:40.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:40.714Z] [2023-11-15T15:07:40.714Z] Login Succeeded [2023-11-15T15:07:40.714Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T15:07:40.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T15:07:41.151Z] + git rev-list -1 --merges 4f4b10efe40970bac944e31521d5aeda91263244~1..4f4b10efe40970bac944e31521d5aeda91263244 [Pipeline] echo [2023-11-15T15:07:41.195Z] -----------> git rev-list -1 --merges 4f4b10efe40970bac944e31521d5aeda91263244~1..4f4b10efe40970bac944e31521d5aeda91263244 4f4b10efe40970bac944e31521d5aeda91263244 [2023-11-15T15:07:41.195Z] 4f4b10efe40970bac944e31521d5aeda91263244 [false] [Pipeline] sh [2023-11-15T15:07:41.483Z] + git log --format=format:%s -1 4f4b10efe40970bac944e31521d5aeda91263244 [Pipeline] echo [2023-11-15T15:07:41.499Z] ========================================================= [2023-11-15T15:07:41.499Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T15:07:41.499Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T15:07:41.814Z] + git log --format=format:%s -1 4f4b10efe40970bac944e31521d5aeda91263244 [Pipeline] echo [2023-11-15T15:07:41.833Z] [semverPrep] GIT_COMMIT: 4f4b10efe40970bac944e31521d5aeda91263244, Commit Message: Merge commit '990d379436bad360529865c6b1e601239e616fa1' into HEAD [Pipeline] echo [2023-11-15T15:07:41.844Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T15:07:42.216Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T15:07:42.216Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T15:07:42.216Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T15:07:42.216Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T15:07:42.216Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T15:07:42.216Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T15:07:42.216Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:07:42.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T15:07:42.630Z] [2023-11-15T15:07:42.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:07:42.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T15:07:42.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T15:07:42.926Z] b85a868b505f: Pulling fs layer [2023-11-15T15:07:42.926Z] e2be974225ed: Pulling fs layer [2023-11-15T15:07:42.926Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T15:07:42.926Z] 988bab9f4d93: Pulling fs layer [2023-11-15T15:07:42.926Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T15:07:42.926Z] eaf3925da568: Pulling fs layer [2023-11-15T15:07:42.926Z] 1469e6f7b9e6: Waiting [2023-11-15T15:07:42.926Z] 988bab9f4d93: Waiting [2023-11-15T15:07:42.926Z] eaf3925da568: Waiting [2023-11-15T15:07:42.926Z] bab4dde63d76: Pulling fs layer [2023-11-15T15:07:42.926Z] bde34c3a00c8: Pulling fs layer [2023-11-15T15:07:42.926Z] bab4dde63d76: Waiting [2023-11-15T15:07:42.926Z] b352a97aabf1: Pulling fs layer [2023-11-15T15:07:42.926Z] 4872d77fe225: Pulling fs layer [2023-11-15T15:07:42.926Z] bde34c3a00c8: Waiting [2023-11-15T15:07:42.926Z] 5851b861e8e6: Pulling fs layer [2023-11-15T15:07:42.926Z] 4872d77fe225: Waiting [2023-11-15T15:07:42.926Z] 5851b861e8e6: Waiting [2023-11-15T15:07:42.926Z] e2be974225ed: Verifying Checksum [2023-11-15T15:07:42.926Z] e2be974225ed: Download complete [2023-11-15T15:07:42.926Z] 988bab9f4d93: Verifying Checksum [2023-11-15T15:07:42.926Z] 988bab9f4d93: Download complete [2023-11-15T15:07:43.184Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T15:07:43.184Z] 339a4e72a1f5: Download complete [2023-11-15T15:07:43.184Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T15:07:43.184Z] 1469e6f7b9e6: Download complete [2023-11-15T15:07:43.184Z] eaf3925da568: Verifying Checksum [2023-11-15T15:07:43.184Z] eaf3925da568: Download complete [2023-11-15T15:07:43.184Z] bde34c3a00c8: Download complete [2023-11-15T15:07:43.184Z] b352a97aabf1: Verifying Checksum [2023-11-15T15:07:43.184Z] b352a97aabf1: Download complete [2023-11-15T15:07:43.184Z] 4872d77fe225: Verifying Checksum [2023-11-15T15:07:43.184Z] 4872d77fe225: Download complete [2023-11-15T15:07:43.184Z] 5851b861e8e6: Verifying Checksum [2023-11-15T15:07:43.184Z] 5851b861e8e6: Download complete [2023-11-15T15:07:43.184Z] b85a868b505f: Verifying Checksum [2023-11-15T15:07:43.184Z] b85a868b505f: Download complete [2023-11-15T15:07:43.442Z] bab4dde63d76: Verifying Checksum [2023-11-15T15:07:43.442Z] bab4dde63d76: Download complete [2023-11-15T15:07:44.376Z] b85a868b505f: Pull complete [2023-11-15T15:07:44.376Z] e2be974225ed: Pull complete [2023-11-15T15:07:44.942Z] 339a4e72a1f5: Pull complete [2023-11-15T15:07:44.942Z] 988bab9f4d93: Pull complete [2023-11-15T15:07:45.202Z] 1469e6f7b9e6: Pull complete [2023-11-15T15:07:45.202Z] eaf3925da568: Pull complete [2023-11-15T15:07:47.102Z] bab4dde63d76: Pull complete [2023-11-15T15:07:47.102Z] bde34c3a00c8: Pull complete [2023-11-15T15:07:47.102Z] b352a97aabf1: Pull complete [2023-11-15T15:07:47.102Z] 4872d77fe225: Pull complete [2023-11-15T15:07:47.102Z] 5851b861e8e6: Pull complete [2023-11-15T15:07:47.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T15:07:47.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T15:07:47.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:07:47.193Z] prd-ubuntu20.04-docker-8c-8g-18104 does not seem to be running inside a container [2023-11-15T15:07:47.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 [2023-11-15T15:07:50.910Z] $ docker top 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 -eo pid,comm [2023-11-15T15:07:50.956Z] 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). [2023-11-15T15:07:50.956Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T15:07:50.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T15:07:50.985Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T15:07:51.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T15:07:51.101Z] $ docker exec 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 ssh-agent [2023-11-15T15:07:51.190Z] SSH_AUTH_SOCK=/tmp/ssh-QhCq4Gk8HS79/agent.32 [2023-11-15T15:07:51.190Z] SSH_AGENT_PID=38 [2023-11-15T15:07:51.195Z] Running ssh-add (command line suppressed) [2023-11-15T15:07:51.301Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_7507854331458556425.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_7507854331458556425.key) [2023-11-15T15:07:51.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T15:07:51.598Z] + git tag --points-at HEAD [Pipeline] } [2023-11-15T15:07:51.619Z] $ docker exec --env ******** --env ******** 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 ssh-agent -k [2023-11-15T15:07:51.717Z] unset SSH_AUTH_SOCK; [2023-11-15T15:07:51.718Z] unset SSH_AGENT_PID; [2023-11-15T15:07:51.718Z] echo Agent pid 38 killed; [2023-11-15T15:07:51.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-15T15:07:51.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T15:07:51.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T15:07:51.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T15:07:51.867Z] $ docker exec 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 ssh-agent [2023-11-15T15:07:51.954Z] SSH_AUTH_SOCK=/tmp/ssh-n1r90WRNw6KL/agent.70 [2023-11-15T15:07:51.954Z] SSH_AGENT_PID=76 [2023-11-15T15:07:51.958Z] Running ssh-add (command line suppressed) [2023-11-15T15:07:52.057Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_15202548931516795933.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_15202548931516795933.key) [2023-11-15T15:07:52.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T15:07:52.351Z] + git semver init [2023-11-15T15:07:52.610Z] 2023-11-15 15:07:52,513 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T15:07:52.610Z] 2023-11-15 15:07:52,514 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver [2023-11-15T15:07:52.610Z] 2023-11-15 15:07:52,514 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-363/.semver [2023-11-15T15:07:52.610Z] 2023-11-15 15:07:52,514 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-363/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363, universal_newlines=False, shell=None, istream=None) [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,658 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.git/info/exclude [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 with force:False [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,659 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,663 [execute] INFO git cat-file --batch-check [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,670 [execute] INFO git cat-file --batch [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T15:07:53.988Z] 2023-11-15 15:07:53,677 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 [2023-11-15T15:07:53.988Z] 0.0.0 [Pipeline] } [2023-11-15T15:07:54.001Z] $ docker exec --env ******** --env ******** 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 ssh-agent -k [2023-11-15T15:07:54.090Z] unset SSH_AUTH_SOCK; [2023-11-15T15:07:54.091Z] unset SSH_AGENT_PID; [2023-11-15T15:07:54.091Z] echo Agent pid 76 killed; [2023-11-15T15:07:54.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T15:07:54.405Z] + git semver [Pipeline] } [2023-11-15T15:07:54.681Z] $ docker stop --time=1 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 [2023-11-15T15:07:55.962Z] $ docker rm -f --volumes 6b5a5c828c74bb632b020e1971a2def54b15489a716df94fde1a07961791c445 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T15:07:56.293Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T15:07:56.517Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T15:07:56.521Z] [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 [2023-11-15T15:07:56.652Z] provisioning config files... [2023-11-15T15:07:56.662Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config2702004666606181059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:07:56.964Z] ---> docker-login.sh [2023-11-15T15:07:56.964Z] nexus3.edgexfoundry.org:10001 [2023-11-15T15:07:56.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:56.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:56.964Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:56.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:56.964Z] [2023-11-15T15:07:56.964Z] Login Succeeded [2023-11-15T15:07:56.964Z] nexus3.edgexfoundry.org:10002 [2023-11-15T15:07:56.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:56.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:56.964Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:56.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:56.964Z] [2023-11-15T15:07:56.964Z] Login Succeeded [2023-11-15T15:07:56.964Z] nexus3.edgexfoundry.org:10003 [2023-11-15T15:07:57.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:57.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:57.224Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:57.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:57.224Z] [2023-11-15T15:07:57.224Z] Login Succeeded [2023-11-15T15:07:57.224Z] nexus3.edgexfoundry.org:10004 [2023-11-15T15:07:57.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:57.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:57.224Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:57.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:57.224Z] [2023-11-15T15:07:57.224Z] Login Succeeded [2023-11-15T15:07:57.224Z] docker.io [2023-11-15T15:07:57.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:07:57.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:07:57.485Z] Configure a credential helper to remove this warning. See [2023-11-15T15:07:57.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:07:57.485Z] [2023-11-15T15:07:57.485Z] Login Succeeded [2023-11-15T15:07:57.485Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T15:07:57.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T15:07:57.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T15:07:57.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T15:07:57.569Z] ========================================================= [2023-11-15T15:07:57.569Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-15T15:07:57.569Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:07:57.875Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-15T15:07:57.875Z] Sending build context to Docker daemon 10.96MB [2023-11-15T15:07:57.875Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T15:07:57.875Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T15:07:57.875Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-15T15:07:57.875Z] 7264a8db6415: Pulling fs layer [2023-11-15T15:07:57.875Z] c4d48a809fc2: Pulling fs layer [2023-11-15T15:07:57.875Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T15:07:57.875Z] ad3a456e5733: Pulling fs layer [2023-11-15T15:07:57.875Z] 69c7f0334f64: Pulling fs layer [2023-11-15T15:07:57.875Z] 1f1c1a5573a3: Pulling fs layer [2023-11-15T15:07:57.875Z] ce7588e14bc9: Pulling fs layer [2023-11-15T15:07:57.875Z] b5e4710f87ac: Pulling fs layer [2023-11-15T15:07:57.875Z] ad3a456e5733: Waiting [2023-11-15T15:07:57.875Z] 69c7f0334f64: Waiting [2023-11-15T15:07:57.875Z] ce7588e14bc9: Waiting [2023-11-15T15:07:57.875Z] b5e4710f87ac: Waiting [2023-11-15T15:07:58.134Z] c4d48a809fc2: Verifying Checksum [2023-11-15T15:07:58.134Z] c4d48a809fc2: Download complete [2023-11-15T15:07:58.134Z] ad3a456e5733: Download complete [2023-11-15T15:07:58.134Z] 69c7f0334f64: Verifying Checksum [2023-11-15T15:07:58.134Z] 69c7f0334f64: Download complete [2023-11-15T15:07:58.134Z] 7264a8db6415: Verifying Checksum [2023-11-15T15:07:58.134Z] 7264a8db6415: Download complete [2023-11-15T15:07:58.134Z] 1f1c1a5573a3: Verifying Checksum [2023-11-15T15:07:58.134Z] 1f1c1a5573a3: Download complete [2023-11-15T15:07:58.134Z] 7264a8db6415: Pull complete [2023-11-15T15:07:58.395Z] b5e4710f87ac: Verifying Checksum [2023-11-15T15:07:58.395Z] b5e4710f87ac: Download complete [2023-11-15T15:07:58.395Z] c4d48a809fc2: Pull complete [2023-11-15T15:07:58.395Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T15:07:58.395Z] 4f1c88b9dad5: Download complete [2023-11-15T15:07:58.964Z] ce7588e14bc9: Verifying Checksum [2023-11-15T15:07:58.964Z] ce7588e14bc9: Download complete [2023-11-15T15:08:01.497Z] 4f1c88b9dad5: Pull complete [2023-11-15T15:08:01.497Z] ad3a456e5733: Pull complete [2023-11-15T15:08:01.497Z] 69c7f0334f64: Pull complete [2023-11-15T15:08:01.497Z] 1f1c1a5573a3: Pull complete [2023-11-15T15:08:04.035Z] ce7588e14bc9: Pull complete [2023-11-15T15:08:04.296Z] b5e4710f87ac: Pull complete [2023-11-15T15:08:04.296Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-15T15:08:04.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-15T15:08:04.296Z] ---> 88b5674ff536 [2023-11-15T15:08:04.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T15:08:09.572Z] ---> Running in 20d46e9df15b [2023-11-15T15:08:09.572Z] Removing intermediate container 20d46e9df15b [2023-11-15T15:08:09.572Z] ---> 7a895924c2f3 [2023-11-15T15:08:09.572Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T15:08:09.572Z] ---> Running in 5ac173bddde1 [2023-11-15T15:08:09.572Z] Removing intermediate container 5ac173bddde1 [2023-11-15T15:08:09.572Z] ---> bdb9a93928dc [2023-11-15T15:08:09.572Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T15:08:09.572Z] ---> Running in a3fd147e28cd [2023-11-15T15:08:09.572Z] Removing intermediate container a3fd147e28cd [2023-11-15T15:08:09.572Z] ---> 62cf96c5d681 [2023-11-15T15:08:09.572Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T15:08:09.572Z] ---> Running in 53f3f09263e9 [2023-11-15T15:08:09.572Z] Removing intermediate container 53f3f09263e9 [2023-11-15T15:08:09.572Z] ---> 4980e7f8c954 [2023-11-15T15:08:09.572Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T15:08:09.572Z] ---> Running in f4b646a243ac [2023-11-15T15:08:09.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T15:08:09.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T15:08:09.831Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T15:08:09.831Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T15:08:09.831Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T15:08:09.831Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T15:08:09.831Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T15:08:09.831Z] OK: 268 MiB in 56 packages [2023-11-15T15:08:10.400Z] Removing intermediate container f4b646a243ac [2023-11-15T15:08:10.400Z] ---> 8fd42f9901ce [2023-11-15T15:08:10.400Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-15T15:08:10.400Z] ---> Running in d12e2545a1bc [2023-11-15T15:08:10.400Z] Removing intermediate container d12e2545a1bc [2023-11-15T15:08:10.400Z] ---> 7eb67ef2f40e [2023-11-15T15:08:10.400Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T15:08:10.658Z] ---> f4a787ccc90b [2023-11-15T15:08:10.658Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T15:08:10.658Z] ---> Running in ca42ca2a206d [2023-11-15T15:08:11.615Z] Still waiting to schedule task [2023-11-15T15:08:11.616Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-15T15:08:57.330Z] Removing intermediate container ca42ca2a206d [2023-11-15T15:08:57.330Z] ---> 1f32fa65bf26 [2023-11-15T15:08:57.330Z] Step 11/12 : COPY . . [2023-11-15T15:08:57.593Z] ---> 1e9252c59390 [2023-11-15T15:08:57.593Z] Step 12/12 : RUN $MAKE [2023-11-15T15:08:57.852Z] ---> Running in 2fd347149fc7 [2023-11-15T15:08:57.852Z] noop [2023-11-15T15:08:58.422Z] Removing intermediate container 2fd347149fc7 [2023-11-15T15:08:58.422Z] ---> 9c5bbb539acb [2023-11-15T15:08:58.422Z] Successfully built 9c5bbb539acb [2023-11-15T15:08:58.422Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:08:58.731Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T15:08:58.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:08:58.802Z] prd-ubuntu20.04-docker-8c-8g-18104 does not seem to be running inside a container [2023-11-15T15:08:58.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 [2023-11-15T15:08:59.187Z] $ docker top bfa08e2843d7a0f2140b16062650896f8659266eeca67b1d3b7ce56d3c077dba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T15:08:59.524Z] + go version [2023-11-15T15:08:59.524Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T15:08:59.537Z] $ docker stop --time=1 bfa08e2843d7a0f2140b16062650896f8659266eeca67b1d3b7ce56d3c077dba [2023-11-15T15:09:00.815Z] $ docker rm -f --volumes bfa08e2843d7a0f2140b16062650896f8659266eeca67b1d3b7ce56d3c077dba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:09:01.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T15:09:01.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:09:01.296Z] prd-ubuntu20.04-docker-8c-8g-18104 does not seem to be running inside a container [2023-11-15T15:09:01.336Z] $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 [2023-11-15T15:09:01.653Z] $ docker top f19bb6e741a62a89f20d7df0f4b9fe7f33257baa914465afe6a3912109dc64e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T15:09:01.991Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] fileExists [Pipeline] sh [2023-11-15T15:09:02.295Z] + make test [2023-11-15T15:09:02.296Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T15:09:03.669Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-15T15:09:13.636Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-15T15:09:13.636Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2023-11-15T15:09:18.909Z] go vet ./... [2023-11-15T15:09:21.437Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T15:09:21.437Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T15:09:21.437Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T15:09:21.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T15:09:21.465Z] $ docker stop --time=1 f19bb6e741a62a89f20d7df0f4b9fe7f33257baa914465afe6a3912109dc64e2 [2023-11-15T15:09:25.449Z] $ docker rm -f --volumes f19bb6e741a62a89f20d7df0f4b9fe7f33257baa914465afe6a3912109dc64e2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T15:09:25.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T15:09:25.966Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T15:09:26.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T15:09:26.756Z] + ls -al . [2023-11-15T15:09:26.756Z] total 180 [2023-11-15T15:09:26.756Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 15:09 . [2023-11-15T15:09:26.756Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 15:07 .. [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 15:07 .dockerignore [2023-11-15T15:09:26.756Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 15:09 .git [2023-11-15T15:09:26.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:07 .github [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 15 15:07 .gitignore [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 15:07 .golangci.yml [2023-11-15T15:09:26.756Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 15:07 .semver [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 15 15:07 Attribution.txt [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 15 15:07 CHANGELOG.md [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 15 15:07 Dockerfile [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 15:07 GOVERNANCE.md [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 15:07 Jenkinsfile [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 15:07 LICENSE [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 15 15:07 Makefile [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 15:07 OWNERS.md [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 15 15:07 README.md [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 15:07 VERSION [2023-11-15T15:09:26.756Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 15:07 bin [2023-11-15T15:09:26.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:07 cmd [2023-11-15T15:09:26.756Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 15 15:09 coverage.out [2023-11-15T15:09:26.756Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 15:07 driver [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 15 15:07 go.mod [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 15:07 go.sum [2023-11-15T15:09:26.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:07 openapi [2023-11-15T15:09:26.756Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:09:27.126Z] + 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=4f4b10efe40970bac944e31521d5aeda91263244 --label arch=amd64 --label version=0.0.0 . [2023-11-15T15:09:27.126Z] Sending build context to Docker daemon 10.97MB [2023-11-15T15:09:27.126Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T15:09:27.126Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-15T15:09:27.126Z] ---> 9c5bbb539acb [2023-11-15T15:09:27.126Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-15T15:09:27.385Z] ---> Running in 00394085c426 [2023-11-15T15:09:27.385Z] Removing intermediate container 00394085c426 [2023-11-15T15:09:27.385Z] ---> b3c4e3fb6a34 [2023-11-15T15:09:27.385Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T15:09:27.385Z] ---> Running in e95b952dbd62 [2023-11-15T15:09:27.644Z] Removing intermediate container e95b952dbd62 [2023-11-15T15:09:27.644Z] ---> e4948b0e97c9 [2023-11-15T15:09:27.644Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T15:09:27.644Z] ---> Running in 560f474b4b1c [2023-11-15T15:09:27.644Z] Removing intermediate container 560f474b4b1c [2023-11-15T15:09:27.644Z] ---> bee82a29205d [2023-11-15T15:09:27.644Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T15:09:27.901Z] ---> Running in ee98e74982ce [2023-11-15T15:09:27.901Z] Removing intermediate container ee98e74982ce [2023-11-15T15:09:27.901Z] ---> bcd1d2a40f18 [2023-11-15T15:09:27.901Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T15:09:27.901Z] ---> Running in 4023ac23e6a5 [2023-11-15T15:09:28.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T15:09:28.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T15:09:28.678Z] OK: 268 MiB in 56 packages [2023-11-15T15:09:28.934Z] Removing intermediate container 4023ac23e6a5 [2023-11-15T15:09:28.934Z] ---> 6245cd8b0e15 [2023-11-15T15:09:28.934Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-15T15:09:28.934Z] ---> Running in c08be07fe140 [2023-11-15T15:09:28.934Z] Removing intermediate container c08be07fe140 [2023-11-15T15:09:28.934Z] ---> b8799c0876f3 [2023-11-15T15:09:28.934Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-15T15:09:29.193Z] ---> 3284ff86a900 [2023-11-15T15:09:29.193Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T15:09:29.193Z] ---> Running in 018b98e97404 [2023-11-15T15:09:29.759Z] Removing intermediate container 018b98e97404 [2023-11-15T15:09:29.759Z] ---> e49535d430f6 [2023-11-15T15:09:29.759Z] Step 11/26 : COPY . . [2023-11-15T15:09:30.328Z] ---> 142ab4b7b5e1 [2023-11-15T15:09:30.328Z] Step 12/26 : RUN $MAKE [2023-11-15T15:09:30.328Z] ---> Running in 4a674c934fc4 [2023-11-15T15:09:30.586Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-15T15:09:52.505Z] Removing intermediate container 4a674c934fc4 [2023-11-15T15:09:52.505Z] ---> fba65851236e [2023-11-15T15:09:52.505Z] Step 13/26 : FROM alpine:3.18 [2023-11-15T15:09:52.505Z] 3.18: Pulling from library/alpine [2023-11-15T15:09:52.505Z] 96526aa774ef: Pulling fs layer [2023-11-15T15:09:52.505Z] 96526aa774ef: Verifying Checksum [2023-11-15T15:09:52.505Z] 96526aa774ef: Download complete [2023-11-15T15:09:52.505Z] 96526aa774ef: Pull complete [2023-11-15T15:09:52.505Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T15:09:52.505Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T15:09:52.505Z] ---> 8ca4688f4f35 [2023-11-15T15:09:52.505Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-15T15:09:52.505Z] ---> Running in 9f058d932897 [2023-11-15T15:09:52.505Z] Removing intermediate container 9f058d932897 [2023-11-15T15:09:52.505Z] ---> 036e7540d418 [2023-11-15T15:09:52.505Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-15T15:09:52.505Z] ---> Running in 8a083680e76e [2023-11-15T15:09:52.505Z] Removing intermediate container 8a083680e76e [2023-11-15T15:09:52.505Z] ---> 32d53301a480 [2023-11-15T15:09:52.505Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-15T15:09:52.505Z] ---> Running in 3d41bff0897a [2023-11-15T15:09:52.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T15:09:52.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T15:09:52.762Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T15:09:52.762Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T15:09:52.762Z] OK: 7 MiB in 16 packages [2023-11-15T15:09:53.330Z] Removing intermediate container 3d41bff0897a [2023-11-15T15:09:53.330Z] ---> c952f789e972 [2023-11-15T15:09:53.330Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-15T15:09:53.330Z] ---> Running in 4d9650b8a79d [2023-11-15T15:09:53.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T15:09:53.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T15:09:53.848Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T15:09:53.848Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T15:09:53.848Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T15:09:53.848Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T15:09:53.848Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T15:09:53.848Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T15:09:53.848Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T15:09:53.848Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T15:09:53.848Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T15:09:53.848Z] OK: 7 MiB in 16 packages [2023-11-15T15:09:54.416Z] Removing intermediate container 4d9650b8a79d [2023-11-15T15:09:54.416Z] ---> 8d94b92819bd [2023-11-15T15:09:54.416Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-15T15:09:55.354Z] ---> d6be503985a1 [2023-11-15T15:09:55.354Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-15T15:09:55.612Z] ---> d16dd24be3b1 [2023-11-15T15:09:55.612Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-15T15:09:55.612Z] ---> 4e701066344d [2023-11-15T15:09:55.612Z] Step 21/26 : EXPOSE 59986 [2023-11-15T15:09:55.612Z] ---> Running in 7ccadce17a5b [2023-11-15T15:09:55.873Z] Removing intermediate container 7ccadce17a5b [2023-11-15T15:09:55.873Z] ---> 26428495094c [2023-11-15T15:09:55.873Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-15T15:09:55.873Z] ---> Running in bcdbb4852314 [2023-11-15T15:09:55.873Z] Removing intermediate container bcdbb4852314 [2023-11-15T15:09:55.873Z] ---> b95924d00019 [2023-11-15T15:09:55.873Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-15T15:09:55.873Z] ---> Running in 74e6e8206b74 [2023-11-15T15:09:55.873Z] Removing intermediate container 74e6e8206b74 [2023-11-15T15:09:55.873Z] ---> 1bfcb907faae [2023-11-15T15:09:55.873Z] Step 24/26 : LABEL arch=amd64 [2023-11-15T15:09:55.873Z] ---> Running in 8de1f5ed86af [2023-11-15T15:09:55.944Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18105 in /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] { [Pipeline] ws [2023-11-15T15:09:55.957Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2023-11-15T15:09:55.986Z] The recommended git tool is: git [2023-11-15T15:09:56.131Z] Removing intermediate container 8de1f5ed86af [2023-11-15T15:09:56.131Z] ---> 8e7135fb3776 [2023-11-15T15:09:56.131Z] Step 25/26 : LABEL git_sha=4f4b10efe40970bac944e31521d5aeda91263244 [2023-11-15T15:09:56.131Z] ---> Running in 72358ea3d2d4 [2023-11-15T15:09:56.131Z] Removing intermediate container 72358ea3d2d4 [2023-11-15T15:09:56.131Z] ---> 6cc81584cc53 [2023-11-15T15:09:56.131Z] Step 26/26 : LABEL version=0.0.0 [2023-11-15T15:09:56.131Z] ---> Running in 6f3319e9b983 [2023-11-15T15:09:56.131Z] Removing intermediate container 6f3319e9b983 [2023-11-15T15:09:56.131Z] ---> 172c257f4abc [2023-11-15T15:09:56.131Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T15:09:56.131Z] Successfully built 172c257f4abc [2023-11-15T15:09:56.131Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:09:56.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T15:09:56.587Z] [2023-11-15T15:09:56.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:09:56.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T15:09:56.883Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T15:09:56.883Z] 5eb5b503b376: Pulling fs layer [2023-11-15T15:09:56.883Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T15:09:56.883Z] ec43610c2a17: Pulling fs layer [2023-11-15T15:09:56.883Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T15:09:56.883Z] 33b1e0a273af: Pulling fs layer [2023-11-15T15:09:56.883Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T15:09:56.883Z] 2f39f015ded8: Pulling fs layer [2023-11-15T15:09:56.883Z] 5d3b04190fa2: Waiting [2023-11-15T15:09:56.883Z] 3a2ae6a8a46f: Waiting [2023-11-15T15:09:56.883Z] 33b1e0a273af: Waiting [2023-11-15T15:09:56.883Z] 2f39f015ded8: Waiting [2023-11-15T15:09:56.883Z] 5c69ac0246d0: Download complete [2023-11-15T15:09:56.883Z] 3a2ae6a8a46f: Download complete [2023-11-15T15:09:56.883Z] 33b1e0a273af: Verifying Checksum [2023-11-15T15:09:56.883Z] 33b1e0a273af: Download complete [2023-11-15T15:09:56.883Z] ec43610c2a17: Verifying Checksum [2023-11-15T15:09:56.883Z] ec43610c2a17: Download complete [2023-11-15T15:09:56.883Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T15:09:56.883Z] 5d3b04190fa2: Download complete [2023-11-15T15:09:57.142Z] 5eb5b503b376: Verifying Checksum [2023-11-15T15:09:57.142Z] 5eb5b503b376: Download complete [2023-11-15T15:09:57.714Z] 2f39f015ded8: Download complete [2023-11-15T15:09:58.279Z] 5eb5b503b376: Pull complete [2023-11-15T15:09:58.536Z] 5c69ac0246d0: Pull complete [2023-11-15T15:09:58.795Z] ec43610c2a17: Pull complete [2023-11-15T15:09:58.795Z] 3a2ae6a8a46f: Pull complete [2023-11-15T15:09:59.054Z] 33b1e0a273af: Pull complete [2023-11-15T15:09:59.054Z] 5d3b04190fa2: Pull complete [2023-11-15T15:10:01.178Z] using credential edgex-jenkins-ssh [2023-11-15T15:10:01.195Z] Cloning the remote Git repository [2023-11-15T15:10:01.244Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-15T15:10:01.334Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2023-11-15T15:10:01.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-15T15:10:01.473Z] > git --version # timeout=10 [2023-11-15T15:10:01.493Z] > git --version # 'git version 2.25.1' [2023-11-15T15:10:01.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T15:10:01.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T15:10:04.336Z] 2f39f015ded8: Pull complete [2023-11-15T15:10:04.336Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T15:10:04.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T15:10:04.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:10:04.423Z] prd-ubuntu20.04-docker-8c-8g-18104 does not seem to be running inside a container [2023-11-15T15:10:04.454Z] $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 [2023-11-15T15:10:03.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-15T15:10:03.819Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T15:10:04.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-15T15:10:04.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-15T15:10:04.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T15:10:04.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-15T15:10:05.221Z] Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [2023-11-15T15:10:05.494Z] Merge succeeded, producing 2dcc7ea1fed918abed4682038a6a3f0f9b98a1d4 [2023-11-15T15:10:05.495Z] Checking out Revision 2dcc7ea1fed918abed4682038a6a3f0f9b98a1d4 (PR-363) [2023-11-15T15:10:05.242Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T15:10:05.307Z] > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 [2023-11-15T15:10:05.388Z] > git remote # timeout=10 [2023-11-15T15:10:05.408Z] > git config --get remote.origin.url # timeout=10 [2023-11-15T15:10:05.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T15:10:05.434Z] > git merge 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 [2023-11-15T15:10:05.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-15T15:10:05.503Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T15:10:05.516Z] > git checkout -f 2dcc7ea1fed918abed4682038a6a3f0f9b98a1d4 # timeout=10 [2023-11-15T15:10:08.964Z] Commit message: "Merge commit '990d379436bad360529865c6b1e601239e616fa1' into HEAD" [2023-11-15T15:10:08.987Z] First time build. Skipping changelog. [2023-11-15T15:10:08.975Z] > git rev-list --no-walk 76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 # timeout=10 [2023-11-15T15:10:09.655Z] [2023-11-15T15:10:09.655Z] GitHub has been notified of this commit’s build result [2023-11-15T15:10:09.655Z] [2023-11-15T15:10:10.736Z] $ docker top a24df9c4a52bbab01ee06008e45d99b744a1d64e414192411bdbbb6fc47893b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T15:10:11.126Z] ---> job-cost.sh [2023-11-15T15:10:11.126Z] lf-activate-venv: SKIPPING [2023-11-15T15:10:11.126Z] INFO: No Stack... [2023-11-15T15:10:11.415Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T15:10:11.415Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T15:10:11.415Z] Dload Upload Total Spent Left Speed [2023-11-15T15:10:11.415Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [2023-11-15T15:10:11.693Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-11-15T15:10:11.953Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T15:10:12.039Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T15:10:12.244Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-363/archives/cost.csv [2023-11-15T15:10:12.244Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T15:10:12.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] [2023-11-15T15:10:12.268Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] did not exist. Created. [2023-11-15T15:10:12.268Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T15:10:12.372Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-11-15T15:10:12.372Z] /etc/docker/daemon.json [2023-11-15T15:10:12.372Z] { [2023-11-15T15:10:12.372Z] "registry-mirrors": [ [2023-11-15T15:10:12.372Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T15:10:12.372Z] ], [2023-11-15T15:10:12.372Z] "bip": "10.250.0.254/24", [2023-11-15T15:10:12.372Z] "hosts": [ [2023-11-15T15:10:12.372Z] "tcp://0.0.0.0:5555", [2023-11-15T15:10:12.372Z] "unix:///var/run/docker.sock" [2023-11-15T15:10:12.372Z] ], [2023-11-15T15:10:12.372Z] "mtu": 1458, [2023-11-15T15:10:12.372Z] "selinux-enabled": true, [2023-11-15T15:10:12.372Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T15:10:12.372Z] } [Pipeline] sh [2023-11-15T15:10:12.566Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T15:10:12.589Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T15:10:12.598Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T15:10:12.624Z] $ docker stop --time=1 a24df9c4a52bbab01ee06008e45d99b744a1d64e414192411bdbbb6fc47893b4 [2023-11-15T15:10:12.702Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-11-15T15:10:13.771Z] $ docker rm -f --volumes a24df9c4a52bbab01ee06008e45d99b744a1d64e414192411bdbbb6fc47893b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T15:10:14.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T15:10:32.388Z] provisioning config files... [2023-11-15T15:10:32.410Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config18006655278848719079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:10:32.757Z] ---> docker-login.sh [2023-11-15T15:10:32.757Z] nexus3.edgexfoundry.org:10001 [2023-11-15T15:10:33.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:10:33.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:10:33.294Z] Configure a credential helper to remove this warning. See [2023-11-15T15:10:33.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:10:33.294Z] [2023-11-15T15:10:33.294Z] Login Succeeded [2023-11-15T15:10:33.294Z] nexus3.edgexfoundry.org:10002 [2023-11-15T15:10:33.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:10:33.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:10:33.563Z] Configure a credential helper to remove this warning. See [2023-11-15T15:10:33.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:10:33.563Z] [2023-11-15T15:10:33.563Z] Login Succeeded [2023-11-15T15:10:33.563Z] nexus3.edgexfoundry.org:10003 [2023-11-15T15:10:33.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:10:34.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:10:34.102Z] Configure a credential helper to remove this warning. See [2023-11-15T15:10:34.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:10:34.102Z] [2023-11-15T15:10:34.102Z] Login Succeeded [2023-11-15T15:10:34.102Z] nexus3.edgexfoundry.org:10004 [2023-11-15T15:10:34.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:10:34.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:10:34.371Z] Configure a credential helper to remove this warning. See [2023-11-15T15:10:34.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:10:34.371Z] [2023-11-15T15:10:34.371Z] Login Succeeded [2023-11-15T15:10:34.371Z] docker.io [2023-11-15T15:10:34.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T15:10:34.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T15:10:34.905Z] Configure a credential helper to remove this warning. See [2023-11-15T15:10:34.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T15:10:34.905Z] [2023-11-15T15:10:34.905Z] Login Succeeded [2023-11-15T15:10:34.905Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T15:10:34.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T15:10:35.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T15:10:35.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T15:10:35.166Z] ========================================================= [2023-11-15T15:10:35.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-15T15:10:35.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:10:35.498Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-15T15:10:35.498Z] Sending build context to Docker daemon 127.5kB [2023-11-15T15:10:35.767Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T15:10:35.767Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T15:10:35.767Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T15:10:35.767Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T15:10:35.767Z] 5d54e960e981: Pulling fs layer [2023-11-15T15:10:35.767Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T15:10:35.767Z] f0e02332f6b5: Pulling fs layer [2023-11-15T15:10:35.768Z] 872ee5b61b7b: Pulling fs layer [2023-11-15T15:10:35.768Z] f0e02332f6b5: Waiting [2023-11-15T15:10:35.768Z] 0c6a40ed1a82: Pulling fs layer [2023-11-15T15:10:35.768Z] 94ae7d8d031c: Pulling fs layer [2023-11-15T15:10:35.768Z] 0c6a40ed1a82: Waiting [2023-11-15T15:10:35.768Z] 94ae7d8d031c: Waiting [2023-11-15T15:10:35.768Z] 5d54e960e981: Verifying Checksum [2023-11-15T15:10:35.768Z] 5d54e960e981: Download complete [2023-11-15T15:10:36.037Z] f0e02332f6b5: Verifying Checksum [2023-11-15T15:10:36.037Z] f0e02332f6b5: Download complete [2023-11-15T15:10:36.037Z] 872ee5b61b7b: Verifying Checksum [2023-11-15T15:10:36.037Z] 872ee5b61b7b: Download complete [2023-11-15T15:10:36.037Z] 9fda8d8052c6: Download complete [2023-11-15T15:10:36.307Z] 94ae7d8d031c: Verifying Checksum [2023-11-15T15:10:36.307Z] 94ae7d8d031c: Download complete [2023-11-15T15:10:36.898Z] 9fda8d8052c6: Pull complete [2023-11-15T15:10:37.491Z] 5d54e960e981: Pull complete [2023-11-15T15:10:37.491Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T15:10:37.491Z] c4a7e357bf2a: Download complete [2023-11-15T15:10:38.453Z] 0c6a40ed1a82: Verifying Checksum [2023-11-15T15:10:38.453Z] 0c6a40ed1a82: Download complete [2023-11-15T15:10:50.772Z] c4a7e357bf2a: Pull complete [2023-11-15T15:10:50.772Z] f0e02332f6b5: Pull complete [2023-11-15T15:10:50.772Z] 872ee5b61b7b: Pull complete [2023-11-15T15:10:57.413Z] 0c6a40ed1a82: Pull complete [2023-11-15T15:10:58.935Z] 94ae7d8d031c: Pull complete [2023-11-15T15:10:58.935Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-15T15:10:58.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-15T15:10:58.935Z] ---> 86de565de09d [2023-11-15T15:10:58.935Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T15:11:00.885Z] ---> Running in 62e271d03c8e [2023-11-15T15:11:00.886Z] Removing intermediate container 62e271d03c8e [2023-11-15T15:11:00.886Z] ---> ec4bdf3fb81c [2023-11-15T15:11:00.886Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T15:11:00.886Z] ---> Running in 5f25641d35e0 [2023-11-15T15:11:01.152Z] Removing intermediate container 5f25641d35e0 [2023-11-15T15:11:01.152Z] ---> 739a7f9c2417 [2023-11-15T15:11:01.152Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T15:11:01.421Z] ---> Running in 6d355f72e7ec [2023-11-15T15:11:01.421Z] Removing intermediate container 6d355f72e7ec [2023-11-15T15:11:01.421Z] ---> cd78bb5a5ff5 [2023-11-15T15:11:01.421Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T15:11:01.689Z] ---> Running in 2b3b101091cb [2023-11-15T15:11:01.960Z] Removing intermediate container 2b3b101091cb [2023-11-15T15:11:01.960Z] ---> d5f5294ce69f [2023-11-15T15:11:01.960Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T15:11:01.960Z] ---> Running in 5058d636823f [2023-11-15T15:11:03.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T15:11:03.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T15:11:04.327Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T15:11:04.327Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T15:11:04.327Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T15:11:04.594Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T15:11:04.594Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T15:11:04.594Z] OK: 271 MiB in 56 packages [2023-11-15T15:11:05.549Z] Removing intermediate container 5058d636823f [2023-11-15T15:11:05.549Z] ---> f3981005b4c1 [2023-11-15T15:11:05.549Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-15T15:11:05.549Z] ---> Running in e5c1765994b2 [2023-11-15T15:11:05.818Z] Removing intermediate container e5c1765994b2 [2023-11-15T15:11:05.818Z] ---> 00f8e24e9998 [2023-11-15T15:11:05.818Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T15:11:06.407Z] ---> 65997ce96c7f [2023-11-15T15:11:06.407Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T15:11:06.407Z] ---> Running in 3da06c4bd8e3 [2023-11-15T15:12:28.038Z] Removing intermediate container 3da06c4bd8e3 [2023-11-15T15:12:28.038Z] ---> 30379369ef77 [2023-11-15T15:12:28.038Z] Step 11/12 : COPY . . [2023-11-15T15:12:28.038Z] ---> ae7f20a9852e [2023-11-15T15:12:28.038Z] Step 12/12 : RUN $MAKE [2023-11-15T15:12:28.038Z] ---> Running in 3339e4b01dfb [2023-11-15T15:12:28.038Z] noop [2023-11-15T15:12:28.038Z] Removing intermediate container 3339e4b01dfb [2023-11-15T15:12:28.038Z] ---> a053ca41f82d [2023-11-15T15:12:28.038Z] Successfully built a053ca41f82d [2023-11-15T15:12:28.038Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:12:28.405Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T15:12:28.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:12:28.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-18105 does not seem to be running inside a container [2023-11-15T15:12:28.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-11-15T15:12:29.897Z] $ docker top 0cc8e724da005f3408501f736a1f6cbd82e2f306399e498408c4eee8413f1738 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T15:12:30.724Z] + go version [2023-11-15T15:12:30.724Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T15:12:30.745Z] $ docker stop --time=1 0cc8e724da005f3408501f736a1f6cbd82e2f306399e498408c4eee8413f1738 [2023-11-15T15:12:32.359Z] $ docker rm -f --volumes 0cc8e724da005f3408501f736a1f6cbd82e2f306399e498408c4eee8413f1738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:12:32.937Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T15:12:32.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:12:33.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-18105 does not seem to be running inside a container [2023-11-15T15:12:33.190Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-11-15T15:12:34.335Z] $ docker top 3f0f7324eab78f1a4d0e9704065c363a3f1304afef3ad2b5c38e37063f38e664 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T15:12:35.168Z] + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh [2023-11-15T15:12:35.504Z] + make test [2023-11-15T15:12:35.504Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T15:12:40.858Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-15T15:14:17.544Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-15T15:14:17.544Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-11-15T15:14:17.544Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T15:14:17.544Z] go vet ./... [2023-11-15T15:14:30.277Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T15:14:30.277Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T15:14:30.277Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T15:14:30.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T15:14:30.313Z] $ docker stop --time=1 3f0f7324eab78f1a4d0e9704065c363a3f1304afef3ad2b5c38e37063f38e664 [2023-11-15T15:14:32.128Z] $ docker rm -f --volumes 3f0f7324eab78f1a4d0e9704065c363a3f1304afef3ad2b5c38e37063f38e664 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T15:14:33.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T15:14:33.258Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T15:14:33.684Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T15:14:34.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T15:14:34.382Z] + ls -al . [2023-11-15T15:14:34.382Z] total 176 [2023-11-15T15:14:34.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 15:12 . [2023-11-15T15:14:34.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 15:10 .. [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 15:10 .dockerignore [2023-11-15T15:14:34.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 15:10 .git [2023-11-15T15:14:34.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:10 .github [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 15 15:10 .gitignore [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 15:10 .golangci.yml [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 15 15:10 Attribution.txt [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 15 15:10 CHANGELOG.md [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 15 15:10 Dockerfile [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 15:10 GOVERNANCE.md [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 15:10 Jenkinsfile [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 15:10 LICENSE [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 15 15:10 Makefile [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 15:10 OWNERS.md [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 15 15:10 README.md [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 15:07 VERSION [2023-11-15T15:14:34.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 15:10 bin [2023-11-15T15:14:34.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:10 cmd [2023-11-15T15:14:34.382Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 15 15:14 coverage.out [2023-11-15T15:14:34.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 15:10 driver [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 15 15:10 go.mod [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 15:10 go.sum [2023-11-15T15:14:34.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:10 openapi [2023-11-15T15:14:34.382Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:14:34.727Z] + 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=2dcc7ea1fed918abed4682038a6a3f0f9b98a1d4 --label arch=arm64 --label version=0.0.0 . [2023-11-15T15:14:34.727Z] Sending build context to Docker daemon 142.8kB [2023-11-15T15:14:34.996Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T15:14:34.996Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-15T15:14:34.996Z] ---> a053ca41f82d [2023-11-15T15:14:34.996Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-15T15:14:34.996Z] ---> Running in 4a7d2ac589df [2023-11-15T15:14:35.267Z] Removing intermediate container 4a7d2ac589df [2023-11-15T15:14:35.267Z] ---> 6897b06088b9 [2023-11-15T15:14:35.267Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T15:14:35.536Z] ---> Running in 238123d4393f [2023-11-15T15:14:35.804Z] Removing intermediate container 238123d4393f [2023-11-15T15:14:35.804Z] ---> 4fba5e0fb5ad [2023-11-15T15:14:35.804Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T15:14:35.804Z] ---> Running in 6b3e7f463641 [2023-11-15T15:14:36.074Z] Removing intermediate container 6b3e7f463641 [2023-11-15T15:14:36.074Z] ---> e7c72b6787cc [2023-11-15T15:14:36.074Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T15:14:36.074Z] ---> Running in a161dcf7740a [2023-11-15T15:14:36.346Z] Removing intermediate container a161dcf7740a [2023-11-15T15:14:36.346Z] ---> 145696056c07 [2023-11-15T15:14:36.346Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T15:14:36.616Z] ---> Running in 04f6aa1425cf [2023-11-15T15:14:37.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T15:14:37.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T15:14:38.820Z] OK: 271 MiB in 56 packages [2023-11-15T15:14:39.777Z] Removing intermediate container 04f6aa1425cf [2023-11-15T15:14:39.777Z] ---> a59228c9949c [2023-11-15T15:14:39.777Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-15T15:14:39.777Z] ---> Running in c8694e69f443 [2023-11-15T15:14:40.360Z] Removing intermediate container c8694e69f443 [2023-11-15T15:14:40.360Z] ---> 144fe2416569 [2023-11-15T15:14:40.360Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-15T15:14:40.627Z] ---> 7d19e4988cf0 [2023-11-15T15:14:40.627Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T15:14:40.627Z] ---> Running in 5965717c9d27 [2023-11-15T15:14:43.218Z] Removing intermediate container 5965717c9d27 [2023-11-15T15:14:43.218Z] ---> f9c7e038c8c7 [2023-11-15T15:14:43.218Z] Step 11/26 : COPY . . [2023-11-15T15:14:43.218Z] ---> 135943fa21d6 [2023-11-15T15:14:43.218Z] Step 12/26 : RUN $MAKE [2023-11-15T15:14:43.218Z] ---> Running in 4bdb09faa0e9 [2023-11-15T15:14:44.185Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-15T15:16:20.799Z] Removing intermediate container 4bdb09faa0e9 [2023-11-15T15:16:20.799Z] ---> 20ca40221bd2 [2023-11-15T15:16:20.799Z] Step 13/26 : FROM alpine:3.18 [2023-11-15T15:16:21.377Z] 3.18: Pulling from library/alpine [2023-11-15T15:16:21.377Z] 579b34f0a95b: Pulling fs layer [2023-11-15T15:16:21.643Z] 579b34f0a95b: Verifying Checksum [2023-11-15T15:16:21.643Z] 579b34f0a95b: Download complete [2023-11-15T15:16:22.228Z] 579b34f0a95b: Pull complete [2023-11-15T15:16:22.228Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T15:16:22.228Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T15:16:22.228Z] ---> 3cc203321400 [2023-11-15T15:16:22.228Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-15T15:16:22.507Z] ---> Running in 28cc3b86c522 [2023-11-15T15:16:22.507Z] Removing intermediate container 28cc3b86c522 [2023-11-15T15:16:22.507Z] ---> 1080296d6809 [2023-11-15T15:16:22.507Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-15T15:16:22.782Z] ---> Running in 3ddb9888c66b [2023-11-15T15:16:23.049Z] Removing intermediate container 3ddb9888c66b [2023-11-15T15:16:23.049Z] ---> 9fb15fbe1e0b [2023-11-15T15:16:23.049Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-15T15:16:23.049Z] ---> Running in 6351c42d8a38 [2023-11-15T15:16:24.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T15:16:24.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T15:16:25.228Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T15:16:25.228Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T15:16:25.494Z] OK: 8 MiB in 16 packages [2023-11-15T15:16:26.074Z] Removing intermediate container 6351c42d8a38 [2023-11-15T15:16:26.074Z] ---> 2c8f8ad48f91 [2023-11-15T15:16:26.074Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-15T15:16:26.344Z] ---> Running in ee2f43e381a8 [2023-11-15T15:16:27.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T15:16:27.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T15:16:28.521Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T15:16:28.521Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T15:16:28.521Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T15:16:28.521Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T15:16:28.521Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T15:16:28.521Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T15:16:28.789Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T15:16:28.789Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T15:16:28.789Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T15:16:28.789Z] OK: 8 MiB in 16 packages [2023-11-15T15:16:33.055Z] Removing intermediate container ee2f43e381a8 [2023-11-15T15:16:33.055Z] ---> 08cbd5791d3f [2023-11-15T15:16:33.055Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-15T15:16:34.013Z] ---> b01de29d87be [2023-11-15T15:16:34.013Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-15T15:16:34.594Z] ---> 15adf53bdfb8 [2023-11-15T15:16:34.594Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-15T15:16:34.862Z] ---> 35c5818b8b3c [2023-11-15T15:16:34.862Z] Step 21/26 : EXPOSE 59986 [2023-11-15T15:16:35.127Z] ---> Running in 1b6438d1d15d [2023-11-15T15:16:35.391Z] Removing intermediate container 1b6438d1d15d [2023-11-15T15:16:35.391Z] ---> ddf54ce146c1 [2023-11-15T15:16:35.392Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-15T15:16:35.392Z] ---> Running in 7341189c4e5a [2023-11-15T15:16:35.658Z] Removing intermediate container 7341189c4e5a [2023-11-15T15:16:35.658Z] ---> c68ba6261bbb [2023-11-15T15:16:35.658Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-15T15:16:35.658Z] ---> Running in f4c43865517c [2023-11-15T15:16:35.926Z] Removing intermediate container f4c43865517c [2023-11-15T15:16:35.926Z] ---> 9bfad9214da3 [2023-11-15T15:16:35.926Z] Step 24/26 : LABEL arch=arm64 [2023-11-15T15:16:36.192Z] ---> Running in 254add72da26 [2023-11-15T15:16:36.458Z] Removing intermediate container 254add72da26 [2023-11-15T15:16:36.458Z] ---> acf63b4b81c3 [2023-11-15T15:16:36.458Z] Step 25/26 : LABEL git_sha=2dcc7ea1fed918abed4682038a6a3f0f9b98a1d4 [2023-11-15T15:16:36.458Z] ---> Running in 2bf8a7a8dc4c [2023-11-15T15:16:36.724Z] Removing intermediate container 2bf8a7a8dc4c [2023-11-15T15:16:36.724Z] ---> e387c70af8bf [2023-11-15T15:16:36.724Z] Step 26/26 : LABEL version=0.0.0 [2023-11-15T15:16:36.724Z] ---> Running in a4792890ca7c [2023-11-15T15:16:36.989Z] Removing intermediate container a4792890ca7c [2023-11-15T15:16:36.989Z] ---> 881978ec8f94 [2023-11-15T15:16:36.989Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T15:16:36.989Z] Successfully built 881978ec8f94 [2023-11-15T15:16:36.989Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:16:37.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T15:16:37.432Z] [2023-11-15T15:16:37.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:16:37.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T15:16:37.758Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T15:16:37.758Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T15:16:37.758Z] 04944245beec: Pulling fs layer [2023-11-15T15:16:37.758Z] 699f458cf7ca: Pulling fs layer [2023-11-15T15:16:37.758Z] 765212b225bb: Pulling fs layer [2023-11-15T15:16:37.758Z] f23df028b6ca: Pulling fs layer [2023-11-15T15:16:37.758Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T15:16:37.758Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T15:16:37.758Z] 765212b225bb: Waiting [2023-11-15T15:16:37.758Z] f23df028b6ca: Waiting [2023-11-15T15:16:37.758Z] d65c8cfc05b1: Waiting [2023-11-15T15:16:37.758Z] 2437ff75d9bd: Waiting [2023-11-15T15:16:38.024Z] 04944245beec: Verifying Checksum [2023-11-15T15:16:38.024Z] 04944245beec: Download complete [2023-11-15T15:16:38.024Z] 765212b225bb: Verifying Checksum [2023-11-15T15:16:38.024Z] 765212b225bb: Download complete [2023-11-15T15:16:38.024Z] f23df028b6ca: Verifying Checksum [2023-11-15T15:16:38.024Z] f23df028b6ca: Download complete [2023-11-15T15:16:38.024Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T15:16:38.024Z] d65c8cfc05b1: Download complete [2023-11-15T15:16:38.024Z] 699f458cf7ca: Verifying Checksum [2023-11-15T15:16:38.024Z] 699f458cf7ca: Download complete [2023-11-15T15:16:38.605Z] 8998bd30e6a1: Download complete [2023-11-15T15:16:41.183Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T15:16:41.183Z] 2437ff75d9bd: Download complete [2023-11-15T15:16:43.128Z] 8998bd30e6a1: Pull complete [2023-11-15T15:16:47.369Z] 04944245beec: Pull complete [2023-11-15T15:16:48.770Z] 699f458cf7ca: Pull complete [2023-11-15T15:16:48.770Z] 765212b225bb: Pull complete [2023-11-15T15:16:49.726Z] f23df028b6ca: Pull complete [2023-11-15T15:16:49.726Z] d65c8cfc05b1: Pull complete [2023-11-15T15:17:08.007Z] 2437ff75d9bd: Pull complete [2023-11-15T15:17:08.007Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T15:17:08.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T15:17:08.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:17:08.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-18105 does not seem to be running inside a container [2023-11-15T15:17:08.252Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-15T15:17:10.219Z] $ docker top a18d18295e8c7887b93acdd1bbd3590dead514c3de18fb2d46ce3f1b20fd691f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:10.712Z] ---> job-cost.sh [2023-11-15T15:17:10.977Z] lf-activate-venv: SKIPPING [2023-11-15T15:17:10.977Z] INFO: No Stack... [2023-11-15T15:17:11.241Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T15:17:12.195Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T15:17:12.512Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/4/archives/cost.csv [2023-11-15T15:17:12.512Z] [Pipeline] lock [2023-11-15T15:17:12.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] [2023-11-15T15:17:12.838Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] did not exist. Created. [2023-11-15T15:17:12.838Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T15:17:13.190Z] /w/workspace/device-rest-go/4@tmp/durable-28996d73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T15:17:13.510Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T15:17:13.531Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T15:17:13.574Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T15:17:13.588Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T15:17:13.608Z] $ docker stop --time=1 a18d18295e8c7887b93acdd1bbd3590dead514c3de18fb2d46ce3f1b20fd691f [2023-11-15T15:17:16.935Z] $ docker rm -f --volumes a18d18295e8c7887b93acdd1bbd3590dead514c3de18fb2d46ce3f1b20fd691f [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 [2023-11-15T15:17:17.328Z] provisioning config files... [2023-11-15T15:17:17.335Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config15679134314445032059tmp [Pipeline] { [Pipeline] sh [2023-11-15T15:17:17.632Z] + set +x [2023-11-15T15:17:17.632Z] + curl -s https://codecov.io/bash [2023-11-15T15:17:17.632Z] + bash -s -- [2023-11-15T15:17:17.632Z] [2023-11-15T15:17:17.632Z] _____ _ [2023-11-15T15:17:17.632Z] / ____| | | [2023-11-15T15:17:17.632Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T15:17:17.632Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T15:17:17.632Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T15:17:17.632Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T15:17:17.632Z] Bash-1.0.6 [2023-11-15T15:17:17.632Z] [2023-11-15T15:17:17.632Z] [2023-11-15T15:17:17.632Z] ==> git version 2.25.1 found [2023-11-15T15:17:17.632Z] ==> 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 [2023-11-15T15:17:17.632Z] Release-Date: 2020-01-08 [2023-11-15T15:17:17.632Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-15T15:17:17.632Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T15:17:17.632Z] ==> Jenkins CI detected. [2023-11-15T15:17:17.632Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-363 [2023-11-15T15:17:17.632Z] project root: . [2023-11-15T15:17:17.632Z] --> token set from env [2023-11-15T15:17:17.632Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-15T15:17:17.632Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T15:17:17.891Z] ==> Python coveragepy not found [2023-11-15T15:17:17.891Z] ==> Searching for coverage reports in: [2023-11-15T15:17:17.891Z] + . [2023-11-15T15:17:17.891Z] -> Found 1 reports [2023-11-15T15:17:17.891Z] ==> Detecting git/mercurial file structure [2023-11-15T15:17:17.891Z] ==> Reading reports [2023-11-15T15:17:17.891Z] + ./coverage.out bytes=14499 [2023-11-15T15:17:17.891Z] ==> Appending adjustments [2023-11-15T15:17:17.891Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T15:17:17.891Z] + Found adjustments [2023-11-15T15:17:17.891Z] ==> Gzipping contents [2023-11-15T15:17:17.891Z] 4.0K /tmp/codecov.RgNeH3.gz [2023-11-15T15:17:17.891Z] ==> Uploading reports [2023-11-15T15:17:17.891Z] url: https://codecov.io [2023-11-15T15:17:17.891Z] query: branch=PR-363&commit=4f4b10efe40970bac944e31521d5aeda91263244&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= [2023-11-15T15:17:17.891Z] -> Pinging Codecov [2023-11-15T15:17:17.891Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-363&commit=4f4b10efe40970bac944e31521d5aeda91263244&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= [2023-11-15T15:17:18.150Z] -> Uploading to [2023-11-15T15:17:18.150Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/4E5D53B4F1F92C436F7061BF334D961C/4f4b10efe40970bac944e31521d5aeda91263244/84f52d05-755c-494b-a91b-028e46e2c561.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T151717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89b8784dce459d1fabb2463f4915c5519fda6de36a1abb44f8ebda00e97256c6 [2023-11-15T15:17:18.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T15:17:18.150Z] Dload Upload Total Spent Left Speed [2023-11-15T15:17:18.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9284 --:--:-- --:--:-- --:--:-- 9321 [2023-11-15T15:17:18.409Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4f4b10efe40970bac944e31521d5aeda91263244 [Pipeline] } [2023-11-15T15:17:18.415Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-15T15:17:19.170Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-363/archives ] [2023-11-15T15:17:19.170Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives [2023-11-15T15:17:19.170Z] total 16 [2023-11-15T15:17:19.170Z] drwxr-xr-x 3 root root 4096 Nov 15 15:10 . [2023-11-15T15:17:19.170Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 15:10 .. [2023-11-15T15:17:19.170Z] drwxr-xr-x 2 root root 4096 Nov 15 15:10 cost [2023-11-15T15:17:19.170Z] -rw-r--r-- 1 root root 86 Nov 15 15:10 cost.csv [2023-11-15T15:17:19.170Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-363/archives [2023-11-15T15:17:19.170Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives [2023-11-15T15:17:19.170Z] total 16 [2023-11-15T15:17:19.170Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 15:10 . [2023-11-15T15:17:19.170Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 15:10 .. [2023-11-15T15:17:19.170Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 15:10 cost [2023-11-15T15:17:19.170Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 15 15:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:19.465Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:20.323Z] ---> package-listing.sh [2023-11-15T15:17:20.323Z] ++ facter osfamily [2023-11-15T15:17:20.323Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T15:17:20.582Z] + OS_FAMILY=debian [2023-11-15T15:17:20.582Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-363 [2023-11-15T15:17:20.582Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T15:17:20.582Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T15:17:20.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T15:17:20.582Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T15:17:20.582Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' [2023-11-15T15:17:20.582Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T15:17:20.582Z] + case "${OS_FAMILY}" in [2023-11-15T15:17:20.582Z] + dpkg -l [2023-11-15T15:17:20.582Z] + grep '^ii' [2023-11-15T15:17:20.582Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T15:17:20.582Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T15:17:20.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T15:17:20.582Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' [2023-11-15T15:17:20.582Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [2023-11-15T15:17:20.582Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [Pipeline] echo [2023-11-15T15:17:20.592Z] 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T15:17:20.870Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T15:17:21.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T15:17:21.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T15:17:21.501Z] prd-ubuntu20.04-docker-8c-8g-18104 does not seem to be running inside a container [2023-11-15T15:17:21.537Z] $ 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-363/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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 [2023-11-15T15:17:21.723Z] $ docker top cb98e1ace07d2534e34cced6ada137986e92e881e1d159a087ab0b5165c290d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T15:17:22.061Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T15:17:22.346Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T15:17:22.633Z] + ls /var/log/sa-host [2023-11-15T15:17:22.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T15:17:22.802Z] provisioning config files... [2023-11-15T15:17:22.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config15943325322566425568tmp [Pipeline] { [Pipeline] echo [2023-11-15T15:17:22.824Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:23.108Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T15:17:23.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:23.447Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T15:17:23.454Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:23.737Z] ---> sudo-logs.sh [2023-11-15T15:17:23.737Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T15:17:23.771Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:24.055Z] ---> job-cost.sh [2023-11-15T15:17:24.055Z] lf-activate-venv: SKIPPING [2023-11-15T15:17:24.055Z] DEBUG: total: 0.2199999988079071 [2023-11-15T15:17:24.055Z] INFO: Retrieving Stack Cost... [2023-11-15T15:17:24.315Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T15:17:24.886Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T15:17:24.899Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T15:17:25.184Z] ---> logs-deploy.sh [2023-11-15T15:17:25.184Z] lf-activate-venv: SKIPPING [2023-11-15T15:17:25.184Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-363/4 [2023-11-15T15:17:25.184Z] INFO: archiving workspace using pattern(s): [2023-11-15T15:17:26.120Z] Archives upload complete. [2023-11-15T15:17:26.120Z] INFO: archiving logs to Nexus