Pull request #381 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a451816f0d09caecb61fbd834e5ecfcaa43ffee2+9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 (32ef083d1cf38176e3999143e0fc9027e6ee1107) 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-ssh1821892741089551618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11289589764448278993.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12094315025610792262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8698523248997391078.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4912878892466466022.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-381/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-381/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2039211732783693082.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1273 in /w/workspace/gexfoundry_device-rest-go_PR-381 [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-381 # 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 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 into PR head commit a451816f0d09caecb61fbd834e5ecfcaa43ffee2 Merge succeeded, producing a451816f0d09caecb61fbd834e5ecfcaa43ffee2 Checking out Revision a451816f0d09caecb61fbd834e5ecfcaa43ffee2 (PR-381) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/381/head:refs/remotes/origin/PR-381 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a451816f0d09caecb61fbd834e5ecfcaa43ffee2 # 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 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a451816f0d09caecb61fbd834e5ecfcaa43ffee2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-19T20:29:40.024Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-19T20:29:40.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-19T20:29:40.337Z] ========================================================= [2024-02-19T20:29:40.337Z] EdgeX Global Pipelines Version Info [2024-02-19T20:29:40.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:29:41.098Z] ------------------- [2024-02-19T20:29:41.098Z] stable info: [2024-02-19T20:29:41.098Z] ------------------- [2024-02-19T20:29:41.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-19T20:29:41.098Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-19T20:29:41.098Z] Message: update stable to v1.0.258 [2024-02-19T20:29:41.669Z] ------------------- [2024-02-19T20:29:41.669Z] experimental info: [2024-02-19T20:29:41.669Z] ------------------- [2024-02-19T20:29:41.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-19T20:29:41.669Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-19T20:29:41.669Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-19T20:29:41.878Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-02-19T20:29:41.956Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-02-19T20:29:42.011Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-19T20:29:42.069Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-19T20:29:42.120Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-19T20:29:42.172Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-19T20:29:42.225Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-19T20:29:42.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-19T20:29:42.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-19T20:29:42.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-19T20:29:42.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-19T20:29:42.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-02-19T20:29:42.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-19T20:29:42.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-19T20:29:42.695Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-19T20:29:42.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-19T20:29:42.821Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-19T20:29:42.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-19T20:29:42.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-19T20:29:43.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-19T20:29:43.092Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-19T20:29:43.164Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-19T20:29:43.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-19T20:29:43.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-19T20:29:43.370Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-19T20:29:43.447Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-19T20:29:43.520Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-19T20:29:43.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-381 [Pipeline] echo [2024-02-19T20:29:43.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-381 [Pipeline] echo [2024-02-19T20:29:43.734Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-381 [Pipeline] echo [2024-02-19T20:29:43.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [Pipeline] echo [2024-02-19T20:29:43.880Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a451816 [Pipeline] echo [2024-02-19T20:29:43.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T20:29:44.125Z] provisioning config files... [2024-02-19T20:29:44.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-381@tmp/config241557257279958979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:29:44.539Z] ---> ****-login.sh [2024-02-19T20:29:44.539Z] nexus3.edgexfoundry.org:10001 [2024-02-19T20:29:44.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:29:45.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:29:45.059Z] Configure a credential helper to remove this warning. See [2024-02-19T20:29:45.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:29:45.059Z] [2024-02-19T20:29:45.059Z] Login Succeeded [2024-02-19T20:29:45.059Z] nexus3.edgexfoundry.org:10002 [2024-02-19T20:29:45.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:29:45.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:29:45.059Z] Configure a credential helper to remove this warning. See [2024-02-19T20:29:45.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:29:45.059Z] [2024-02-19T20:29:45.059Z] Login Succeeded [2024-02-19T20:29:45.059Z] nexus3.edgexfoundry.org:10003 [2024-02-19T20:29:45.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:29:45.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:29:45.319Z] Configure a credential helper to remove this warning. See [2024-02-19T20:29:45.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:29:45.319Z] [2024-02-19T20:29:45.319Z] Login Succeeded [2024-02-19T20:29:45.319Z] nexus3.edgexfoundry.org:10004 [2024-02-19T20:29:45.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:29:45.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:29:45.319Z] Configure a credential helper to remove this warning. See [2024-02-19T20:29:45.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:29:45.319Z] [2024-02-19T20:29:45.319Z] Login Succeeded [2024-02-19T20:29:45.319Z] ****.io [2024-02-19T20:29:45.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:29:45.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:29:45.580Z] Configure a credential helper to remove this warning. See [2024-02-19T20:29:45.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:29:45.580Z] [2024-02-19T20:29:45.580Z] Login Succeeded [2024-02-19T20:29:45.580Z] ---> ****-login.sh ends [Pipeline] } [2024-02-19T20:29:45.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-19T20:29:46.400Z] + git rev-list -1 --merges a451816f0d09caecb61fbd834e5ecfcaa43ffee2~1..a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [Pipeline] echo [2024-02-19T20:29:46.448Z] -----------> git rev-list -1 --merges a451816f0d09caecb61fbd834e5ecfcaa43ffee2~1..a451816f0d09caecb61fbd834e5ecfcaa43ffee2 a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [false] [Pipeline] sh [2024-02-19T20:29:46.780Z] + git log --format=format:%s -1 a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [Pipeline] echo [2024-02-19T20:29:46.820Z] ========================================================= [2024-02-19T20:29:46.820Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-19T20:29:46.820Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-19T20:29:47.320Z] + git log --format=format:%s -1 a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [Pipeline] echo [2024-02-19T20:29:47.355Z] [semverPrep] GIT_COMMIT: a451816f0d09caecb61fbd834e5ecfcaa43ffee2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-02-19T20:29:47.409Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-19T20:29:47.845Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-19T20:29:47.846Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-19T20:29:47.846Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-19T20:29:47.846Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-19T20:29:47.846Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-19T20:29:47.846Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-19T20:29:47.846Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:29:48.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-19T20:29:48.358Z] [2024-02-19T20:29:48.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:29:48.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-19T20:29:48.767Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-19T20:29:48.767Z] b85a868b505f: Pulling fs layer [2024-02-19T20:29:48.767Z] e2be974225ed: Pulling fs layer [2024-02-19T20:29:48.767Z] 339a4e72a1f5: Pulling fs layer [2024-02-19T20:29:48.767Z] 988bab9f4d93: Pulling fs layer [2024-02-19T20:29:48.767Z] 1469e6f7b9e6: Pulling fs layer [2024-02-19T20:29:48.767Z] eaf3925da568: Pulling fs layer [2024-02-19T20:29:48.767Z] bab4dde63d76: Pulling fs layer [2024-02-19T20:29:48.767Z] bde34c3a00c8: Pulling fs layer [2024-02-19T20:29:48.767Z] b352a97aabf1: Pulling fs layer [2024-02-19T20:29:48.767Z] 4872d77fe225: Pulling fs layer [2024-02-19T20:29:48.767Z] 5851b861e8e6: Pulling fs layer [2024-02-19T20:29:48.767Z] 988bab9f4d93: Waiting [2024-02-19T20:29:48.767Z] 1469e6f7b9e6: Waiting [2024-02-19T20:29:48.767Z] eaf3925da568: Waiting [2024-02-19T20:29:48.767Z] bab4dde63d76: Waiting [2024-02-19T20:29:48.767Z] bde34c3a00c8: Waiting [2024-02-19T20:29:48.767Z] b352a97aabf1: Waiting [2024-02-19T20:29:48.767Z] 4872d77fe225: Waiting [2024-02-19T20:29:48.767Z] 5851b861e8e6: Waiting [2024-02-19T20:29:48.767Z] e2be974225ed: Verifying Checksum [2024-02-19T20:29:48.767Z] e2be974225ed: Download complete [2024-02-19T20:29:48.767Z] 988bab9f4d93: Download complete [2024-02-19T20:29:49.026Z] 1469e6f7b9e6: Verifying Checksum [2024-02-19T20:29:49.026Z] 1469e6f7b9e6: Download complete [2024-02-19T20:29:49.026Z] eaf3925da568: Verifying Checksum [2024-02-19T20:29:49.026Z] eaf3925da568: Download complete [2024-02-19T20:29:49.026Z] 339a4e72a1f5: Verifying Checksum [2024-02-19T20:29:49.026Z] 339a4e72a1f5: Download complete [2024-02-19T20:29:49.026Z] bde34c3a00c8: Verifying Checksum [2024-02-19T20:29:49.026Z] bde34c3a00c8: Download complete [2024-02-19T20:29:49.026Z] b352a97aabf1: Download complete [2024-02-19T20:29:49.026Z] 4872d77fe225: Verifying Checksum [2024-02-19T20:29:49.026Z] 4872d77fe225: Download complete [2024-02-19T20:29:49.026Z] 5851b861e8e6: Verifying Checksum [2024-02-19T20:29:49.026Z] 5851b861e8e6: Download complete [2024-02-19T20:29:49.026Z] b85a868b505f: Verifying Checksum [2024-02-19T20:29:49.026Z] b85a868b505f: Download complete [2024-02-19T20:29:49.285Z] bab4dde63d76: Verifying Checksum [2024-02-19T20:29:49.285Z] bab4dde63d76: Download complete [2024-02-19T20:29:50.220Z] b85a868b505f: Pull complete [2024-02-19T20:29:50.220Z] e2be974225ed: Pull complete [2024-02-19T20:29:50.787Z] 339a4e72a1f5: Pull complete [2024-02-19T20:29:50.787Z] 988bab9f4d93: Pull complete [2024-02-19T20:29:51.046Z] 1469e6f7b9e6: Pull complete [2024-02-19T20:29:51.046Z] eaf3925da568: Pull complete [2024-02-19T20:29:52.950Z] bab4dde63d76: Pull complete [2024-02-19T20:29:52.950Z] bde34c3a00c8: Pull complete [2024-02-19T20:29:52.950Z] b352a97aabf1: Pull complete [2024-02-19T20:29:52.950Z] 4872d77fe225: Pull complete [2024-02-19T20:29:53.211Z] 5851b861e8e6: Pull complete [2024-02-19T20:29:53.211Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-19T20:29:53.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-19T20:29:53.211Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:29:53.558Z] prd-ubuntu20.04-docker-8c-8g-1273 does not seem to be running inside a container [2024-02-19T20:29:53.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-381 -v /w/workspace/gexfoundry_device-rest-go_PR-381:/w/workspace/gexfoundry_device-rest-go_PR-381:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-381@tmp:/w/workspace/gexfoundry_device-rest-go_PR-381@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-19T20:29:56.922Z] $ docker top 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e -eo pid,comm [2024-02-19T20:29:56.977Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-02-19T20:29:56.977Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-19T20:29:57.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-19T20:29:57.175Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-19T20:29:57.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-19T20:29:57.303Z] $ docker exec 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e ssh-agent [2024-02-19T20:29:57.419Z] SSH_AUTH_SOCK=/tmp/ssh-6ofBZL9VoiMF/agent.32 [2024-02-19T20:29:57.419Z] SSH_AGENT_PID=38 [2024-02-19T20:29:57.428Z] Running ssh-add (command line suppressed) [2024-02-19T20:29:57.528Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-381@tmp/private_key_5956356820451542078.key (/w/workspace/gexfoundry_device-rest-go_PR-381@tmp/private_key_5956356820451542078.key) [2024-02-19T20:29:57.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-19T20:29:57.902Z] + git tag --points-at HEAD [Pipeline] } [2024-02-19T20:29:57.929Z] $ docker exec --env ******** --env ******** 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e ssh-agent -k [2024-02-19T20:29:58.035Z] unset SSH_AUTH_SOCK; [2024-02-19T20:29:58.035Z] unset SSH_AGENT_PID; [2024-02-19T20:29:58.035Z] echo Agent pid 38 killed; [2024-02-19T20:29:58.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-19T20:29:58.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-19T20:29:58.176Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-19T20:29:58.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-19T20:29:58.286Z] $ docker exec 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e ssh-agent [2024-02-19T20:29:58.414Z] SSH_AUTH_SOCK=/tmp/ssh-VbMudaO4eFcQ/agent.70 [2024-02-19T20:29:58.414Z] SSH_AGENT_PID=76 [2024-02-19T20:29:58.419Z] Running ssh-add (command line suppressed) [2024-02-19T20:29:58.538Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-381@tmp/private_key_2084189023892384236.key (/w/workspace/gexfoundry_device-rest-go_PR-381@tmp/private_key_2084189023892384236.key) [2024-02-19T20:29:58.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-19T20:29:58.907Z] + git semver init [2024-02-19T20:29:59.167Z] 2024-02-19 20:29:59,087 [run_init] DEBUG init version:0.0.0 force:False [2024-02-19T20:29:59.167Z] 2024-02-19 20:29:59,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-381/.semver [2024-02-19T20:29:59.167Z] 2024-02-19 20:29:59,089 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-381/.semver [2024-02-19T20:29:59.167Z] 2024-02-19 20:29:59,089 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-381/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-381, universal_newlines=False, shell=None, istream=None) [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,458 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-381/.git/info/exclude [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-381/.semver/PR-381 with force:False [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,459 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-381/.semver/PR-381 [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,463 [execute] INFO git cat-file --batch-check [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-381/.semver, universal_newlines=False, shell=None, istream=) [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,471 [execute] INFO git cat-file --batch [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-381/.semver, universal_newlines=False, shell=None, istream=) [2024-02-19T20:30:00.549Z] 2024-02-19 20:30:00,477 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-381/.semver/PR-381 [2024-02-19T20:30:00.549Z] 0.0.0 [Pipeline] } [2024-02-19T20:30:00.579Z] $ docker exec --env ******** --env ******** 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e ssh-agent -k [2024-02-19T20:30:00.685Z] unset SSH_AUTH_SOCK; [2024-02-19T20:30:00.686Z] unset SSH_AGENT_PID; [2024-02-19T20:30:00.686Z] echo Agent pid 76 killed; [2024-02-19T20:30:00.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-19T20:30:01.200Z] + git semver [Pipeline] } [2024-02-19T20:30:01.487Z] $ docker stop --time=1 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e [2024-02-19T20:30:02.780Z] $ docker rm -f --volumes 94b5e0603ca1b4e90ea017cf8a0a2d87075ea9881bb837ae2ac4bc33c2da493e [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-19T20:30:03.223Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-19T20:30:03.563Z] Stashed 1 file(s) [Pipeline] echo [2024-02-19T20:30:03.582Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T20:30:04.493Z] provisioning config files... [2024-02-19T20:30:04.504Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-381@tmp/config5654466259743601219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:30:04.898Z] ---> ****-login.sh [2024-02-19T20:30:04.898Z] nexus3.edgexfoundry.org:10001 [2024-02-19T20:30:04.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:30:04.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:30:04.899Z] Configure a credential helper to remove this warning. See [2024-02-19T20:30:04.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:30:04.899Z] [2024-02-19T20:30:04.899Z] Login Succeeded [2024-02-19T20:30:04.899Z] nexus3.edgexfoundry.org:10002 [2024-02-19T20:30:04.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:30:04.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:30:04.899Z] Configure a credential helper to remove this warning. See [2024-02-19T20:30:04.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:30:04.899Z] [2024-02-19T20:30:04.899Z] Login Succeeded [2024-02-19T20:30:04.899Z] nexus3.edgexfoundry.org:10003 [2024-02-19T20:30:05.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:30:05.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:30:05.159Z] Configure a credential helper to remove this warning. See [2024-02-19T20:30:05.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:30:05.159Z] [2024-02-19T20:30:05.159Z] Login Succeeded [2024-02-19T20:30:05.159Z] nexus3.edgexfoundry.org:10004 [2024-02-19T20:30:05.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:30:05.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:30:05.159Z] Configure a credential helper to remove this warning. See [2024-02-19T20:30:05.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:30:05.159Z] [2024-02-19T20:30:05.159Z] Login Succeeded [2024-02-19T20:30:05.159Z] ****.io [2024-02-19T20:30:05.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:30:05.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:30:05.419Z] Configure a credential helper to remove this warning. See [2024-02-19T20:30:05.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:30:05.419Z] [2024-02-19T20:30:05.419Z] Login Succeeded [2024-02-19T20:30:05.419Z] ---> ****-login.sh ends [Pipeline] } [2024-02-19T20:30:05.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-19T20:30:05.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T20:30:05.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T20:30:05.876Z] ========================================================= [2024-02-19T20:30:05.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-19T20:30:05.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:30:06.455Z] + 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 . [2024-02-19T20:30:06.455Z] Sending build context to Docker daemon 16.32MB [2024-02-19T20:30:06.455Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T20:30:06.455Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-19T20:30:06.714Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-19T20:30:06.714Z] 7264a8db6415: Pulling fs layer [2024-02-19T20:30:06.714Z] c4d48a809fc2: Pulling fs layer [2024-02-19T20:30:06.714Z] 4f1c88b9dad5: Pulling fs layer [2024-02-19T20:30:06.714Z] ad3a456e5733: Pulling fs layer [2024-02-19T20:30:06.714Z] 69c7f0334f64: Pulling fs layer [2024-02-19T20:30:06.714Z] ad3a456e5733: Waiting [2024-02-19T20:30:06.714Z] 1f1c1a5573a3: Pulling fs layer [2024-02-19T20:30:06.714Z] ce7588e14bc9: Pulling fs layer [2024-02-19T20:30:06.714Z] b5e4710f87ac: Pulling fs layer [2024-02-19T20:30:06.714Z] ce7588e14bc9: Waiting [2024-02-19T20:30:06.714Z] 1f1c1a5573a3: Waiting [2024-02-19T20:30:06.714Z] b5e4710f87ac: Waiting [2024-02-19T20:30:06.714Z] c4d48a809fc2: Verifying Checksum [2024-02-19T20:30:06.714Z] c4d48a809fc2: Download complete [2024-02-19T20:30:06.714Z] ad3a456e5733: Verifying Checksum [2024-02-19T20:30:06.714Z] ad3a456e5733: Download complete [2024-02-19T20:30:06.714Z] 69c7f0334f64: Verifying Checksum [2024-02-19T20:30:06.714Z] 69c7f0334f64: Download complete [2024-02-19T20:30:06.714Z] 7264a8db6415: Verifying Checksum [2024-02-19T20:30:06.714Z] 7264a8db6415: Download complete [2024-02-19T20:30:06.714Z] 1f1c1a5573a3: Verifying Checksum [2024-02-19T20:30:06.714Z] 1f1c1a5573a3: Download complete [2024-02-19T20:30:07.835Z] 7264a8db6415: Pull complete [2024-02-19T20:30:07.835Z] b5e4710f87ac: Verifying Checksum [2024-02-19T20:30:07.835Z] b5e4710f87ac: Download complete [2024-02-19T20:30:07.835Z] c4d48a809fc2: Pull complete [2024-02-19T20:30:08.573Z] 4f1c88b9dad5: Download complete [2024-02-19T20:30:08.832Z] ce7588e14bc9: Verifying Checksum [2024-02-19T20:30:08.832Z] ce7588e14bc9: Download complete [2024-02-19T20:30:12.118Z] 4f1c88b9dad5: Pull complete [2024-02-19T20:30:12.118Z] ad3a456e5733: Pull complete [2024-02-19T20:30:12.118Z] 69c7f0334f64: Pull complete [2024-02-19T20:30:12.118Z] 1f1c1a5573a3: Pull complete [2024-02-19T20:30:14.653Z] ce7588e14bc9: Pull complete [2024-02-19T20:30:14.912Z] b5e4710f87ac: Pull complete [2024-02-19T20:30:14.912Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-19T20:30:14.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-19T20:30:14.912Z] ---> 88b5674ff536 [2024-02-19T20:30:14.912Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-02-19T20:30:19.241Z] Still waiting to schedule task [2024-02-19T20:30:19.241Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-19T20:30:20.186Z] ---> Running in c41868bd0b65 [2024-02-19T20:30:20.186Z] Removing intermediate container c41868bd0b65 [2024-02-19T20:30:20.186Z] ---> 8219b6f4b9c2 [2024-02-19T20:30:20.186Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-19T20:30:20.186Z] ---> Running in 0f813802fa56 [2024-02-19T20:30:20.186Z] Removing intermediate container 0f813802fa56 [2024-02-19T20:30:20.186Z] ---> 9eb13f67e34d [2024-02-19T20:30:20.186Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-19T20:30:20.186Z] ---> Running in 8067c45c279c [2024-02-19T20:30:20.186Z] Removing intermediate container 8067c45c279c [2024-02-19T20:30:20.186Z] ---> c0e1aca605cc [2024-02-19T20:30:20.186Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-19T20:30:20.186Z] ---> Running in 74a11d7ed7bd [2024-02-19T20:30:20.186Z] Removing intermediate container 74a11d7ed7bd [2024-02-19T20:30:20.186Z] ---> 67d7638befb5 [2024-02-19T20:30:20.186Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-19T20:30:20.186Z] ---> Running in c6a8a7e03cb9 [2024-02-19T20:30:20.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T20:30:20.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T20:30:20.445Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-19T20:30:20.445Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-19T20:30:20.445Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-19T20:30:20.704Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-19T20:30:20.704Z] Executing busybox-1.36.1-r5.trigger [2024-02-19T20:30:20.704Z] OK: 268 MiB in 56 packages [2024-02-19T20:30:21.273Z] Removing intermediate container c6a8a7e03cb9 [2024-02-19T20:30:21.273Z] ---> 868e9d68b58e [2024-02-19T20:30:21.273Z] Step 8/12 : WORKDIR /device-rest-go [2024-02-19T20:30:21.273Z] ---> Running in 63595e678bf9 [2024-02-19T20:30:21.273Z] Removing intermediate container 63595e678bf9 [2024-02-19T20:30:21.273Z] ---> e68df1040e2b [2024-02-19T20:30:21.273Z] Step 9/12 : COPY go.mod vendor* ./ [2024-02-19T20:30:21.273Z] ---> 25e3eaa93aaf [2024-02-19T20:30:21.273Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T20:30:21.532Z] ---> Running in 42cb8ea92f72 [2024-02-19T20:30:53.951Z] Removing intermediate container 42cb8ea92f72 [2024-02-19T20:30:53.951Z] ---> b969483083c2 [2024-02-19T20:30:53.951Z] Step 11/12 : COPY . . [2024-02-19T20:30:53.951Z] ---> 0d12307781d0 [2024-02-19T20:30:53.951Z] Step 12/12 : RUN $MAKE [2024-02-19T20:30:53.951Z] ---> Running in aaed8e13b52d [2024-02-19T20:30:53.951Z] noop [2024-02-19T20:30:53.951Z] Removing intermediate container aaed8e13b52d [2024-02-19T20:30:53.951Z] ---> 67d5ea8aeb8c [2024-02-19T20:30:53.951Z] Successfully built 67d5ea8aeb8c [2024-02-19T20:30:53.951Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:30:55.391Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-19T20:30:55.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:30:55.605Z] prd-ubuntu20.04-docker-8c-8g-1273 does not seem to be running inside a container [2024-02-19T20:30:55.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-381 -v /w/workspace/gexfoundry_device-rest-go_PR-381:/w/workspace/gexfoundry_device-rest-go_PR-381:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-381@tmp:/w/workspace/gexfoundry_device-rest-go_PR-381@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 ******** ci-base-image-x86_64 cat [2024-02-19T20:30:55.999Z] $ docker top f76b26b240fc2dd688d251b4353123d46700e2729c6bf83433d36b6b3bc808cf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T20:30:56.460Z] + go version [2024-02-19T20:30:56.460Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-19T20:30:56.501Z] $ docker stop --time=1 f76b26b240fc2dd688d251b4353123d46700e2729c6bf83433d36b6b3bc808cf [2024-02-19T20:30:57.789Z] $ docker rm -f --volumes f76b26b240fc2dd688d251b4353123d46700e2729c6bf83433d36b6b3bc808cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:30:58.800Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-19T20:30:58.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:30:59.017Z] prd-ubuntu20.04-docker-8c-8g-1273 does not seem to be running inside a container [2024-02-19T20:30:59.054Z] $ 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-381 -v /w/workspace/gexfoundry_device-rest-go_PR-381:/w/workspace/gexfoundry_device-rest-go_PR-381:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-381@tmp:/w/workspace/gexfoundry_device-rest-go_PR-381@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 ******** ci-base-image-x86_64 cat [2024-02-19T20:30:59.377Z] $ docker top 941f4d3c71f8c7c8e5d0bc935612babcba2cc5f7c3fb4ef02d23496ba26a3892 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T20:30:59.834Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-381 [Pipeline] fileExists [Pipeline] sh [2024-02-19T20:31:00.227Z] + make test [2024-02-19T20:31:00.227Z] go test ./... -coverprofile=coverage.out ./... [2024-02-19T20:31:01.629Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-02-19T20:31:12.117Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-02-19T20:31:12.117Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2024-02-19T20:31:20.805Z] go vet ./... [2024-02-19T20:31:23.805Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-19T20:31:23.805Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-19T20:31:23.805Z] ./bin/test-attribution-txt.sh [2024-02-19T20:31:23.805Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-19T20:31:23.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-19T20:31:23.914Z] $ docker stop --time=1 941f4d3c71f8c7c8e5d0bc935612babcba2cc5f7c3fb4ef02d23496ba26a3892 [2024-02-19T20:31:27.110Z] $ docker rm -f --volumes 941f4d3c71f8c7c8e5d0bc935612babcba2cc5f7c3fb4ef02d23496ba26a3892 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-19T20:31:27.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-19T20:31:27.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-19T20:31:28.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-19T20:31:28.982Z] + ls -al . [2024-02-19T20:31:28.982Z] total 180 [2024-02-19T20:31:28.982Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 19 20:31 . [2024-02-19T20:31:28.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 20:29 .. [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 19 20:29 .dockerignore [2024-02-19T20:31:28.982Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 20:31 .git [2024-02-19T20:31:28.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 20:29 .github [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 264 Feb 19 20:29 .gitignore [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 19 20:29 .golangci.yml [2024-02-19T20:31:28.982Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 19 20:30 .semver [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 10300 Feb 19 20:29 Attribution.txt [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 17685 Feb 19 20:29 CHANGELOG.md [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 1687 Feb 19 20:29 Dockerfile [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 19 20:29 GOVERNANCE.md [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 19 20:29 Jenkinsfile [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 19 20:29 LICENSE [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 2016 Feb 19 20:29 Makefile [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 19 20:29 OWNERS.md [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 3989 Feb 19 20:29 README.md [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 19 20:30 VERSION [2024-02-19T20:31:28.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 20:29 bin [2024-02-19T20:31:28.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 20:29 cmd [2024-02-19T20:31:28.982Z] -rw-r--r-- 1 jenkins jenkins 14499 Feb 19 20:31 coverage.out [2024-02-19T20:31:28.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 20:29 driver [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 3935 Feb 19 20:29 go.mod [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 34601 Feb 19 20:29 go.sum [2024-02-19T20:31:28.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 20:29 openapi [2024-02-19T20:31:28.982Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 19 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:31:29.430Z] + 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=a451816f0d09caecb61fbd834e5ecfcaa43ffee2 --label arch=amd64 --label version=0.0.0 . [2024-02-19T20:31:29.430Z] Sending build context to Docker daemon 16.34MB [2024-02-19T20:31:29.430Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T20:31:29.430Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-19T20:31:29.430Z] ---> 67d5ea8aeb8c [2024-02-19T20:31:29.430Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-02-19T20:31:29.699Z] ---> Running in 0663451da205 [2024-02-19T20:31:29.959Z] Removing intermediate container 0663451da205 [2024-02-19T20:31:29.959Z] ---> 556361a31903 [2024-02-19T20:31:29.959Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-19T20:31:29.959Z] ---> Running in 9a55b08c1f1a [2024-02-19T20:31:29.959Z] Removing intermediate container 9a55b08c1f1a [2024-02-19T20:31:29.959Z] ---> 0dff10d67d95 [2024-02-19T20:31:29.959Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-19T20:31:29.959Z] ---> Running in f12571e62d42 [2024-02-19T20:31:29.959Z] Removing intermediate container f12571e62d42 [2024-02-19T20:31:29.959Z] ---> bea3a0584dfe [2024-02-19T20:31:29.959Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-19T20:31:29.959Z] ---> Running in 683cabc9c7fd [2024-02-19T20:31:30.220Z] Removing intermediate container 683cabc9c7fd [2024-02-19T20:31:30.220Z] ---> 8c4d44d88fa3 [2024-02-19T20:31:30.220Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-19T20:31:30.220Z] ---> Running in 46b0a345340b [2024-02-19T20:31:30.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T20:31:30.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T20:31:30.997Z] OK: 268 MiB in 56 packages [2024-02-19T20:31:31.566Z] Removing intermediate container 46b0a345340b [2024-02-19T20:31:31.566Z] ---> 90fffe73bdb7 [2024-02-19T20:31:31.566Z] Step 8/26 : WORKDIR /device-rest-go [2024-02-19T20:31:31.566Z] ---> Running in 988d90fc6ba0 [2024-02-19T20:31:31.566Z] Removing intermediate container 988d90fc6ba0 [2024-02-19T20:31:31.566Z] ---> d335f2af5f36 [2024-02-19T20:31:31.566Z] Step 9/26 : COPY go.mod vendor* ./ [2024-02-19T20:31:31.826Z] ---> 591a745abf17 [2024-02-19T20:31:31.826Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T20:31:31.826Z] ---> Running in ff62c40cca46 [2024-02-19T20:31:32.764Z] Removing intermediate container ff62c40cca46 [2024-02-19T20:31:32.764Z] ---> 334f200bed16 [2024-02-19T20:31:32.764Z] Step 11/26 : COPY . . [2024-02-19T20:31:33.335Z] ---> 07d22043f07a [2024-02-19T20:31:33.335Z] Step 12/26 : RUN $MAKE [2024-02-19T20:31:33.335Z] ---> Running in 1875dc3d57cd [2024-02-19T20:31:33.595Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-02-19T20:31:55.540Z] Removing intermediate container 1875dc3d57cd [2024-02-19T20:31:55.540Z] ---> 37a208ea678d [2024-02-19T20:31:55.540Z] Step 13/26 : FROM alpine:3.18 [2024-02-19T20:31:55.540Z] 3.18: Pulling from library/alpine [2024-02-19T20:31:55.540Z] 619be1103602: Pulling fs layer [2024-02-19T20:31:55.540Z] 619be1103602: Verifying Checksum [2024-02-19T20:31:55.540Z] 619be1103602: Download complete [2024-02-19T20:31:55.540Z] 619be1103602: Pull complete [2024-02-19T20:31:55.540Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-19T20:31:55.540Z] Status: Downloaded newer image for alpine:3.18 [2024-02-19T20:31:55.540Z] ---> d3782b16ccc9 [2024-02-19T20:31:55.540Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-19T20:31:55.540Z] ---> Running in 1142b9cf9276 [2024-02-19T20:31:55.540Z] Removing intermediate container 1142b9cf9276 [2024-02-19T20:31:55.540Z] ---> 8413b9adb947 [2024-02-19T20:31:55.540Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-02-19T20:31:55.540Z] ---> Running in b08a5fb26888 [2024-02-19T20:31:55.540Z] Removing intermediate container b08a5fb26888 [2024-02-19T20:31:55.540Z] ---> c98922a0719f [2024-02-19T20:31:55.540Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-02-19T20:31:55.540Z] ---> Running in 8e30938c5e84 [2024-02-19T20:31:55.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T20:31:55.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T20:31:55.540Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-19T20:31:55.540Z] Executing busybox-1.36.1-r5.trigger [2024-02-19T20:31:55.540Z] OK: 7 MiB in 16 packages [2024-02-19T20:31:55.540Z] Removing intermediate container 8e30938c5e84 [2024-02-19T20:31:55.540Z] ---> 2c64467e4432 [2024-02-19T20:31:55.540Z] Step 17/26 : RUN apk --no-cache upgrade [2024-02-19T20:31:55.540Z] ---> Running in bf27a06c64ab [2024-02-19T20:31:55.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-19T20:31:55.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-19T20:31:56.059Z] OK: 7 MiB in 16 packages [2024-02-19T20:31:56.319Z] Removing intermediate container bf27a06c64ab [2024-02-19T20:31:56.319Z] ---> 889e9ab37900 [2024-02-19T20:31:56.319Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-02-19T20:31:56.886Z] ---> 4afaaf64fcf3 [2024-02-19T20:31:56.886Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-02-19T20:31:57.145Z] ---> 133257b1f084 [2024-02-19T20:31:57.145Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-02-19T20:31:57.145Z] ---> 33cc4c08e73c [2024-02-19T20:31:57.145Z] Step 21/26 : EXPOSE 59986 [2024-02-19T20:31:57.145Z] ---> Running in 53a631050d67 [2024-02-19T20:31:57.403Z] Removing intermediate container 53a631050d67 [2024-02-19T20:31:57.403Z] ---> aaf7f2f1a1d4 [2024-02-19T20:31:57.403Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-02-19T20:31:57.403Z] ---> Running in ce54077dab5c [2024-02-19T20:31:57.403Z] Removing intermediate container ce54077dab5c [2024-02-19T20:31:57.403Z] ---> d34de011dc91 [2024-02-19T20:31:57.403Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-02-19T20:31:57.403Z] ---> Running in 7852f337617b [2024-02-19T20:31:57.403Z] Removing intermediate container 7852f337617b [2024-02-19T20:31:57.403Z] ---> d9c31299fbe5 [2024-02-19T20:31:57.403Z] Step 24/26 : LABEL arch=amd64 [2024-02-19T20:31:57.665Z] ---> Running in e4d5b83b7c63 [2024-02-19T20:31:57.665Z] Removing intermediate container e4d5b83b7c63 [2024-02-19T20:31:57.665Z] ---> 9650de671042 [2024-02-19T20:31:57.665Z] Step 25/26 : LABEL git_sha=a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [2024-02-19T20:31:57.665Z] ---> Running in fd30f4474302 [2024-02-19T20:31:57.665Z] Removing intermediate container fd30f4474302 [2024-02-19T20:31:57.665Z] ---> 4fdcb2cd8958 [2024-02-19T20:31:57.665Z] Step 26/26 : LABEL version=0.0.0 [2024-02-19T20:31:57.665Z] ---> Running in 5d194f43f22c [2024-02-19T20:31:57.928Z] Removing intermediate container 5d194f43f22c [2024-02-19T20:31:57.928Z] ---> ea7f1fa1aef7 [2024-02-19T20:31:57.928Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-19T20:31:57.928Z] Successfully built ea7f1fa1aef7 [2024-02-19T20:31:57.928Z] 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 [2024-02-19T20:31:58.426Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1274 in /w/workspace/gexfoundry_device-rest-go_PR-381 [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] ws [2024-02-19T20:31:58.596Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-02-19T20:32:01.702Z] The recommended git tool is: git Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:32:02.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T20:32:02.329Z] [2024-02-19T20:32:02.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:32:02.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T20:32:02.739Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-19T20:32:02.739Z] 5eb5b503b376: Pulling fs layer [2024-02-19T20:32:02.739Z] 5c69ac0246d0: Pulling fs layer [2024-02-19T20:32:02.739Z] ec43610c2a17: Pulling fs layer [2024-02-19T20:32:02.739Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-19T20:32:02.739Z] 33b1e0a273af: Pulling fs layer [2024-02-19T20:32:02.739Z] 5d3b04190fa2: Pulling fs layer [2024-02-19T20:32:02.739Z] 2f39f015ded8: Pulling fs layer [2024-02-19T20:32:02.739Z] 33b1e0a273af: Waiting [2024-02-19T20:32:02.739Z] 3a2ae6a8a46f: Waiting [2024-02-19T20:32:02.739Z] 5d3b04190fa2: Waiting [2024-02-19T20:32:02.739Z] 2f39f015ded8: Waiting [2024-02-19T20:32:02.739Z] 5c69ac0246d0: Verifying Checksum [2024-02-19T20:32:02.739Z] 5c69ac0246d0: Download complete [2024-02-19T20:32:02.739Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-19T20:32:02.739Z] 3a2ae6a8a46f: Download complete [2024-02-19T20:32:02.997Z] 33b1e0a273af: Verifying Checksum [2024-02-19T20:32:02.997Z] 33b1e0a273af: Download complete [2024-02-19T20:32:02.997Z] 5d3b04190fa2: Verifying Checksum [2024-02-19T20:32:02.997Z] 5d3b04190fa2: Download complete [2024-02-19T20:32:02.997Z] ec43610c2a17: Verifying Checksum [2024-02-19T20:32:02.997Z] ec43610c2a17: Download complete [2024-02-19T20:32:02.997Z] 5eb5b503b376: Verifying Checksum [2024-02-19T20:32:02.997Z] 5eb5b503b376: Download complete [2024-02-19T20:32:03.562Z] 2f39f015ded8: Download complete [2024-02-19T20:32:04.496Z] 5eb5b503b376: Pull complete [2024-02-19T20:32:04.754Z] 5c69ac0246d0: Pull complete [2024-02-19T20:32:05.320Z] ec43610c2a17: Pull complete [2024-02-19T20:32:05.320Z] 3a2ae6a8a46f: Pull complete [2024-02-19T20:32:05.578Z] 33b1e0a273af: Pull complete [2024-02-19T20:32:05.578Z] 5d3b04190fa2: Pull complete [2024-02-19T20:32:06.328Z] using credential edgex-jenkins-ssh [2024-02-19T20:32:06.348Z] Cloning the remote Git repository [2024-02-19T20:32:06.377Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-02-19T20:32:06.460Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-02-19T20:32:06.585Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-02-19T20:32:06.586Z] > git --version # timeout=10 [2024-02-19T20:32:06.603Z] > git --version # 'git version 2.25.1' [2024-02-19T20:32:06.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-19T20:32:06.732Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-19T20:32:09.763Z] 2f39f015ded8: Pull complete [2024-02-19T20:32:09.764Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-19T20:32:09.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T20:32:09.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:32:10.101Z] prd-ubuntu20.04-docker-8c-8g-1273 does not seem to be running inside a container [2024-02-19T20:32:10.136Z] $ 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-381 -v /w/workspace/gexfoundry_device-rest-go_PR-381:/w/workspace/gexfoundry_device-rest-go_PR-381:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-381@tmp:/w/workspace/gexfoundry_device-rest-go_PR-381@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-19T20:32:13.984Z] $ docker top 224383ee1c080e4c8bf5998ea4c77b4b816e13a17e1c9f7c8a6e47b32577b589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:32:14.514Z] ---> job-cost.sh [2024-02-19T20:32:14.514Z] lf-activate-venv: SKIPPING [2024-02-19T20:32:14.514Z] INFO: No Stack... [2024-02-19T20:32:14.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-19T20:32:14.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-02-19T20:32:14.371Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-19T20:32:15.345Z] INFO: Archiving Costs [Pipeline] sh [2024-02-19T20:32:15.665Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-381/archives/cost.csv [2024-02-19T20:32:15.665Z] + cut -d, -f6 [Pipeline] lock [2024-02-19T20:32:15.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] [2024-02-19T20:32:15.710Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] did not exist. Created. [2024-02-19T20:32:15.716Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-02-19T20:32:15.800Z] Merging remotes/origin/main commit 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 into PR head commit a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [Pipeline] sh [2024-02-19T20:32:16.078Z] Merge succeeded, producing a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [2024-02-19T20:32:16.078Z] Checking out Revision a451816f0d09caecb61fbd834e5ecfcaa43ffee2 (PR-381) [2024-02-19T20:32:16.174Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-19T20:32:16.226Z] Stashed 1 file(s) [Pipeline] } [2024-02-19T20:32:16.293Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-19T20:32:16.446Z] $ docker stop --time=1 224383ee1c080e4c8bf5998ea4c77b4b816e13a17e1c9f7c8a6e47b32577b589 [2024-02-19T20:32:15.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-02-19T20:32:15.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-02-19T20:32:15.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-19T20:32:15.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/381/head:refs/remotes/origin/PR-381 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-02-19T20:32:15.817Z] > git config core.sparsecheckout # timeout=10 [2024-02-19T20:32:15.879Z] > git checkout -f a451816f0d09caecb61fbd834e5ecfcaa43ffee2 # timeout=10 [2024-02-19T20:32:15.961Z] > git remote # timeout=10 [2024-02-19T20:32:15.980Z] > git config --get remote.origin.url # timeout=10 [2024-02-19T20:32:16.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-19T20:32:16.030Z] > git merge 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 [2024-02-19T20:32:16.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-19T20:32:16.083Z] > git config core.sparsecheckout # timeout=10 [2024-02-19T20:32:16.104Z] > git checkout -f a451816f0d09caecb61fbd834e5ecfcaa43ffee2 # timeout=10 [2024-02-19T20:32:16.571Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-02-19T20:32:16.618Z] > git --version # timeout=10 [2024-02-19T20:32:16.630Z] > git --version # 'git version 2.25.1' [2024-02-19T20:32:16.647Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-19T20:32:17.076Z] [2024-02-19T20:32:17.076Z] GitHub has been notified of this commit’s build result [2024-02-19T20:32:17.076Z] [2024-02-19T20:32:17.594Z] $ docker rm -f --volumes 224383ee1c080e4c8bf5998ea4c77b4b816e13a17e1c9f7c8a6e47b32577b589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-19T20:32:18.883Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-19T20:32:18.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-19T20:32:18.884Z] Dload Upload Total Spent Left Speed [2024-02-19T20:32:18.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-02-19T20:32:19.238Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-19T20:32:19.604Z] + sudo tee /etc/docker/daemon.new [2024-02-19T20:32:19.604Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-19T20:32:19.604Z] { [2024-02-19T20:32:19.604Z] "registry-mirrors": [ [2024-02-19T20:32:19.604Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-19T20:32:19.604Z] ], [2024-02-19T20:32:19.604Z] "bip": "10.250.0.254/24", [2024-02-19T20:32:19.604Z] "hosts": [ [2024-02-19T20:32:19.604Z] "tcp://0.0.0.0:5555", [2024-02-19T20:32:19.604Z] "unix:///var/run/docker.sock" [2024-02-19T20:32:19.604Z] ], [2024-02-19T20:32:19.604Z] "mtu": 1458, [2024-02-19T20:32:19.604Z] "selinux-enabled": true, [2024-02-19T20:32:19.604Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-19T20:32:19.604Z] } [Pipeline] sh [2024-02-19T20:32:19.947Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-19T20:32:20.297Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T20:32:38.664Z] provisioning config files... [2024-02-19T20:32:38.695Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15650781185230674916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:32:39.191Z] ---> ****-login.sh [2024-02-19T20:32:39.192Z] nexus3.edgexfoundry.org:10001 [2024-02-19T20:32:39.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:32:39.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:32:39.745Z] Configure a credential helper to remove this warning. See [2024-02-19T20:32:39.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:32:39.745Z] [2024-02-19T20:32:39.745Z] Login Succeeded [2024-02-19T20:32:39.745Z] nexus3.edgexfoundry.org:10002 [2024-02-19T20:32:40.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:32:40.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:32:40.287Z] Configure a credential helper to remove this warning. See [2024-02-19T20:32:40.287Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:32:40.287Z] [2024-02-19T20:32:40.287Z] Login Succeeded [2024-02-19T20:32:40.287Z] nexus3.edgexfoundry.org:10003 [2024-02-19T20:32:40.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:32:40.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:32:40.556Z] Configure a credential helper to remove this warning. See [2024-02-19T20:32:40.557Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:32:40.557Z] [2024-02-19T20:32:40.557Z] Login Succeeded [2024-02-19T20:32:40.557Z] nexus3.edgexfoundry.org:10004 [2024-02-19T20:32:40.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:32:40.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:32:40.834Z] Configure a credential helper to remove this warning. See [2024-02-19T20:32:40.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:32:40.834Z] [2024-02-19T20:32:40.834Z] Login Succeeded [2024-02-19T20:32:40.834Z] ****.io [2024-02-19T20:32:41.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-19T20:32:41.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-19T20:32:41.369Z] Configure a credential helper to remove this warning. See [2024-02-19T20:32:41.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-19T20:32:41.369Z] [2024-02-19T20:32:41.369Z] Login Succeeded [2024-02-19T20:32:41.369Z] ---> ****-login.sh ends [Pipeline] } [2024-02-19T20:32:41.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-19T20:32:41.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T20:32:41.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-19T20:32:42.161Z] ========================================================= [2024-02-19T20:32:42.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-19T20:32:42.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:32:42.793Z] + 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 . [2024-02-19T20:32:42.793Z] Sending build context to Docker daemon 127.5kB [2024-02-19T20:32:43.062Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T20:32:43.062Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-19T20:32:43.062Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-19T20:32:43.062Z] 9fda8d8052c6: Pulling fs layer [2024-02-19T20:32:43.062Z] 5d54e960e981: Pulling fs layer [2024-02-19T20:32:43.062Z] c4a7e357bf2a: Pulling fs layer [2024-02-19T20:32:43.062Z] f0e02332f6b5: Pulling fs layer [2024-02-19T20:32:43.062Z] 872ee5b61b7b: Pulling fs layer [2024-02-19T20:32:43.063Z] 0c6a40ed1a82: Pulling fs layer [2024-02-19T20:32:43.063Z] 94ae7d8d031c: Pulling fs layer [2024-02-19T20:32:43.063Z] 872ee5b61b7b: Waiting [2024-02-19T20:32:43.063Z] 0c6a40ed1a82: Waiting [2024-02-19T20:32:43.063Z] 94ae7d8d031c: Waiting [2024-02-19T20:32:43.331Z] 5d54e960e981: Download complete [2024-02-19T20:32:43.331Z] f0e02332f6b5: Verifying Checksum [2024-02-19T20:32:43.331Z] f0e02332f6b5: Download complete [2024-02-19T20:32:43.331Z] 872ee5b61b7b: Verifying Checksum [2024-02-19T20:32:43.331Z] 872ee5b61b7b: Download complete [2024-02-19T20:32:43.331Z] 9fda8d8052c6: Download complete [2024-02-19T20:32:43.606Z] 94ae7d8d031c: Verifying Checksum [2024-02-19T20:32:43.606Z] 94ae7d8d031c: Download complete [2024-02-19T20:32:44.195Z] 9fda8d8052c6: Pull complete [2024-02-19T20:32:44.783Z] 5d54e960e981: Pull complete [2024-02-19T20:32:45.050Z] c4a7e357bf2a: Download complete [2024-02-19T20:32:46.010Z] 0c6a40ed1a82: Verifying Checksum [2024-02-19T20:32:46.011Z] 0c6a40ed1a82: Download complete [2024-02-19T20:32:58.323Z] c4a7e357bf2a: Pull complete [2024-02-19T20:32:58.323Z] f0e02332f6b5: Pull complete [2024-02-19T20:32:58.323Z] 872ee5b61b7b: Pull complete [2024-02-19T20:33:06.528Z] 0c6a40ed1a82: Pull complete [2024-02-19T20:33:09.873Z] 94ae7d8d031c: Pull complete [2024-02-19T20:33:09.873Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-19T20:33:09.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-19T20:33:09.873Z] ---> 86de565de09d [2024-02-19T20:33:09.873Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-02-19T20:33:11.290Z] ---> Running in ac49fd09334e [2024-02-19T20:33:11.559Z] Removing intermediate container ac49fd09334e [2024-02-19T20:33:11.559Z] ---> 9971c2b14d30 [2024-02-19T20:33:11.559Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-19T20:33:11.825Z] ---> Running in 7d5eba574270 [2024-02-19T20:33:12.093Z] Removing intermediate container 7d5eba574270 [2024-02-19T20:33:12.093Z] ---> 2a7c9e951541 [2024-02-19T20:33:12.093Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-19T20:33:12.093Z] ---> Running in 28e85c52d99d [2024-02-19T20:33:12.361Z] Removing intermediate container 28e85c52d99d [2024-02-19T20:33:12.361Z] ---> 91fcc2bd6d14 [2024-02-19T20:33:12.361Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-19T20:33:12.640Z] ---> Running in c36f3593ec7a [2024-02-19T20:33:12.905Z] Removing intermediate container c36f3593ec7a [2024-02-19T20:33:12.905Z] ---> 2992586f447b [2024-02-19T20:33:12.905Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-19T20:33:12.905Z] ---> Running in ece700a5e418 [2024-02-19T20:33:13.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T20:33:14.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T20:33:15.410Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-19T20:33:15.410Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-19T20:33:15.410Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-19T20:33:15.410Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-19T20:33:15.410Z] Executing busybox-1.36.1-r5.trigger [2024-02-19T20:33:15.410Z] OK: 271 MiB in 56 packages [2024-02-19T20:33:16.834Z] Removing intermediate container ece700a5e418 [2024-02-19T20:33:16.834Z] ---> 10ba6d061ef1 [2024-02-19T20:33:16.834Z] Step 8/12 : WORKDIR /device-rest-go [2024-02-19T20:33:16.834Z] ---> Running in 1004730dec83 [2024-02-19T20:33:16.834Z] Removing intermediate container 1004730dec83 [2024-02-19T20:33:16.834Z] ---> ec48bc7e9027 [2024-02-19T20:33:16.834Z] Step 9/12 : COPY go.mod vendor* ./ [2024-02-19T20:33:17.430Z] ---> 4f10247a42c3 [2024-02-19T20:33:17.430Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T20:33:17.430Z] ---> Running in 39cfb74dde17 [2024-02-19T20:34:13.971Z] Removing intermediate container 39cfb74dde17 [2024-02-19T20:34:13.971Z] ---> 3093a1076c1f [2024-02-19T20:34:13.971Z] Step 11/12 : COPY . . [2024-02-19T20:34:13.971Z] ---> 23cf65b14057 [2024-02-19T20:34:13.971Z] Step 12/12 : RUN $MAKE [2024-02-19T20:34:13.971Z] ---> Running in 420bfee3462a [2024-02-19T20:34:14.934Z] noop [2024-02-19T20:34:15.517Z] Removing intermediate container 420bfee3462a [2024-02-19T20:34:15.517Z] ---> 8b6e9c9a6ef5 [2024-02-19T20:34:15.517Z] Successfully built 8b6e9c9a6ef5 [2024-02-19T20:34:15.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:34:16.123Z] + docker inspect -f . ci-base-image-arm64 [2024-02-19T20:34:16.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:34:16.492Z] prd-ubuntu20.04-docker-arm64-4c-16g-1274 does not seem to be running inside a container [2024-02-19T20:34:16.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-19T20:34:20.608Z] $ docker top aba52ceaa493e1bac8614ee933da1f500e3c23436af87cb73f099878aed0759a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T20:34:21.554Z] + go version [2024-02-19T20:34:21.554Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-19T20:34:21.599Z] $ docker stop --time=1 aba52ceaa493e1bac8614ee933da1f500e3c23436af87cb73f099878aed0759a [2024-02-19T20:34:23.223Z] $ docker rm -f --volumes aba52ceaa493e1bac8614ee933da1f500e3c23436af87cb73f099878aed0759a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:34:24.526Z] + docker inspect -f . ci-base-image-arm64 [2024-02-19T20:34:24.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:34:24.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-1274 does not seem to be running inside a container [2024-02-19T20:34:24.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-19T20:34:26.019Z] $ docker top 94526e54804c2b26371d01c5726fbe927b87334b7ed203f3e3b764377b00926c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T20:34:26.970Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-02-19T20:34:27.708Z] + make test [2024-02-19T20:34:27.708Z] go test ./... -coverprofile=coverage.out ./... [2024-02-19T20:34:31.056Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-02-19T20:36:07.689Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-02-19T20:36:07.689Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 33.2% of statements [2024-02-19T20:36:07.689Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-19T20:36:07.689Z] go vet ./... [2024-02-19T20:36:20.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-19T20:36:20.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-19T20:36:20.010Z] ./bin/test-attribution-txt.sh [2024-02-19T20:36:20.010Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-19T20:36:20.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-19T20:36:20.130Z] $ docker stop --time=1 94526e54804c2b26371d01c5726fbe927b87334b7ed203f3e3b764377b00926c [2024-02-19T20:36:22.029Z] $ docker rm -f --volumes 94526e54804c2b26371d01c5726fbe927b87334b7ed203f3e3b764377b00926c [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-19T20:36:23.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-19T20:36:23.559Z] Warning: overwriting stash ‘coverage-report’ [2024-02-19T20:36:24.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-19T20:36:24.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-19T20:36:25.267Z] + ls -al . [2024-02-19T20:36:25.267Z] total 176 [2024-02-19T20:36:25.267Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 20:34 . [2024-02-19T20:36:25.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 20:32 .. [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 19 20:32 .dockerignore [2024-02-19T20:36:25.267Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 20:32 .git [2024-02-19T20:36:25.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 20:32 .github [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 264 Feb 19 20:32 .gitignore [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 19 20:32 .golangci.yml [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 10300 Feb 19 20:32 Attribution.txt [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 17685 Feb 19 20:32 CHANGELOG.md [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 1687 Feb 19 20:32 Dockerfile [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 19 20:32 GOVERNANCE.md [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 19 20:32 Jenkinsfile [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 19 20:32 LICENSE [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 2016 Feb 19 20:32 Makefile [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 19 20:32 OWNERS.md [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 3989 Feb 19 20:32 README.md [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 19 20:30 VERSION [2024-02-19T20:36:25.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 20:32 bin [2024-02-19T20:36:25.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 20:32 cmd [2024-02-19T20:36:25.267Z] -rw-r--r-- 1 jenkins jenkins 14499 Feb 19 20:35 coverage.out [2024-02-19T20:36:25.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 20:32 driver [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 3935 Feb 19 20:32 go.mod [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 34601 Feb 19 20:32 go.sum [2024-02-19T20:36:25.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 19 20:32 openapi [2024-02-19T20:36:25.267Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 19 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:36:25.777Z] + 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=a451816f0d09caecb61fbd834e5ecfcaa43ffee2 --label arch=arm64 --label version=0.0.0 . [2024-02-19T20:36:25.778Z] Sending build context to Docker daemon 142.8kB [2024-02-19T20:36:26.047Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-19T20:36:26.047Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-19T20:36:26.047Z] ---> 8b6e9c9a6ef5 [2024-02-19T20:36:26.047Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-02-19T20:36:26.047Z] ---> Running in 1514b634906c [2024-02-19T20:36:26.321Z] Removing intermediate container 1514b634906c [2024-02-19T20:36:26.321Z] ---> 8d5683a1296c [2024-02-19T20:36:26.321Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-19T20:36:26.589Z] ---> Running in d5e034d22773 [2024-02-19T20:36:26.855Z] Removing intermediate container d5e034d22773 [2024-02-19T20:36:26.855Z] ---> 2f14a63850dd [2024-02-19T20:36:26.855Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-19T20:36:26.855Z] ---> Running in 2080389e9623 [2024-02-19T20:36:27.120Z] Removing intermediate container 2080389e9623 [2024-02-19T20:36:27.120Z] ---> 42f473b79762 [2024-02-19T20:36:27.120Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-19T20:36:27.390Z] ---> Running in 317aaf96ee8e [2024-02-19T20:36:27.657Z] Removing intermediate container 317aaf96ee8e [2024-02-19T20:36:27.657Z] ---> 85e34ebf0016 [2024-02-19T20:36:27.657Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-19T20:36:27.657Z] ---> Running in 3dc3c6c29d76 [2024-02-19T20:36:28.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T20:36:29.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T20:36:30.154Z] OK: 271 MiB in 56 packages [2024-02-19T20:36:32.735Z] Removing intermediate container 3dc3c6c29d76 [2024-02-19T20:36:32.735Z] ---> c4fc5beb6f61 [2024-02-19T20:36:32.735Z] Step 8/26 : WORKDIR /device-rest-go [2024-02-19T20:36:32.735Z] ---> Running in 9d12c51ecbcd [2024-02-19T20:36:33.002Z] Removing intermediate container 9d12c51ecbcd [2024-02-19T20:36:33.002Z] ---> e0ff096df852 [2024-02-19T20:36:33.002Z] Step 9/26 : COPY go.mod vendor* ./ [2024-02-19T20:36:33.275Z] ---> aad9b6f58eb9 [2024-02-19T20:36:33.275Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-19T20:36:33.571Z] ---> Running in fae74c44e036 [2024-02-19T20:36:35.521Z] Removing intermediate container fae74c44e036 [2024-02-19T20:36:35.521Z] ---> 5dd89e716fe6 [2024-02-19T20:36:35.521Z] Step 11/26 : COPY . . [2024-02-19T20:36:35.788Z] ---> 048855041926 [2024-02-19T20:36:35.788Z] Step 12/26 : RUN $MAKE [2024-02-19T20:36:35.788Z] ---> Running in c29d4dc87d4d [2024-02-19T20:36:36.743Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-02-19T20:38:43.422Z] Removing intermediate container c29d4dc87d4d [2024-02-19T20:38:43.422Z] ---> 76c3995eaf22 [2024-02-19T20:38:43.422Z] Step 13/26 : FROM alpine:3.18 [2024-02-19T20:38:43.422Z] 3.18: Pulling from library/alpine [2024-02-19T20:38:43.422Z] c6b39de5b339: Pulling fs layer [2024-02-19T20:38:43.422Z] c6b39de5b339: Verifying Checksum [2024-02-19T20:38:43.422Z] c6b39de5b339: Download complete [2024-02-19T20:38:43.422Z] c6b39de5b339: Pull complete [2024-02-19T20:38:43.422Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-19T20:38:43.422Z] Status: Downloaded newer image for alpine:3.18 [2024-02-19T20:38:43.422Z] ---> 33abbf032149 [2024-02-19T20:38:43.422Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-02-19T20:38:43.422Z] ---> Running in c01838a8d720 [2024-02-19T20:38:43.422Z] Removing intermediate container c01838a8d720 [2024-02-19T20:38:43.422Z] ---> 84851cd30fa0 [2024-02-19T20:38:43.422Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-02-19T20:38:43.422Z] ---> Running in f690734e46af [2024-02-19T20:38:43.422Z] Removing intermediate container f690734e46af [2024-02-19T20:38:43.422Z] ---> 275ed6385579 [2024-02-19T20:38:43.422Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-02-19T20:38:43.422Z] ---> Running in 48e4d759a17b [2024-02-19T20:38:43.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T20:38:43.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T20:38:43.422Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-19T20:38:43.422Z] Executing busybox-1.36.1-r5.trigger [2024-02-19T20:38:43.422Z] OK: 8 MiB in 16 packages [2024-02-19T20:38:43.422Z] Removing intermediate container 48e4d759a17b [2024-02-19T20:38:43.422Z] ---> 752c3b0d1d84 [2024-02-19T20:38:43.422Z] Step 17/26 : RUN apk --no-cache upgrade [2024-02-19T20:38:43.422Z] ---> Running in 19b3173c8bef [2024-02-19T20:38:43.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-19T20:38:43.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-19T20:38:43.422Z] OK: 8 MiB in 16 packages [2024-02-19T20:38:44.005Z] Removing intermediate container 19b3173c8bef [2024-02-19T20:38:44.005Z] ---> f2f715bcf71d [2024-02-19T20:38:44.005Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-02-19T20:38:45.412Z] ---> 2b72936b44da [2024-02-19T20:38:45.413Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-02-19T20:38:45.681Z] ---> 0a85585b51af [2024-02-19T20:38:45.681Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-02-19T20:38:46.654Z] ---> eee9af1945f2 [2024-02-19T20:38:46.654Z] Step 21/26 : EXPOSE 59986 [2024-02-19T20:38:46.654Z] ---> Running in c02d8926a70a [2024-02-19T20:38:47.618Z] Removing intermediate container c02d8926a70a [2024-02-19T20:38:47.618Z] ---> ccb8f15c17c6 [2024-02-19T20:38:47.618Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-02-19T20:38:47.884Z] ---> Running in df0854832c36 [2024-02-19T20:38:48.151Z] Removing intermediate container df0854832c36 [2024-02-19T20:38:48.151Z] ---> 73d3ca889916 [2024-02-19T20:38:48.151Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-02-19T20:38:48.151Z] ---> Running in 92dabe44b3c6 [2024-02-19T20:38:48.415Z] Removing intermediate container 92dabe44b3c6 [2024-02-19T20:38:48.415Z] ---> 09366a123ce5 [2024-02-19T20:38:48.415Z] Step 24/26 : LABEL arch=arm64 [2024-02-19T20:38:48.415Z] ---> Running in aa194b321ec4 [2024-02-19T20:38:48.682Z] Removing intermediate container aa194b321ec4 [2024-02-19T20:38:48.682Z] ---> dada52e3eab0 [2024-02-19T20:38:48.682Z] Step 25/26 : LABEL git_sha=a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [2024-02-19T20:38:48.955Z] ---> Running in 0b632c72420f [2024-02-19T20:38:49.221Z] Removing intermediate container 0b632c72420f [2024-02-19T20:38:49.221Z] ---> 8ae169571e83 [2024-02-19T20:38:49.221Z] Step 26/26 : LABEL version=0.0.0 [2024-02-19T20:38:49.221Z] ---> Running in fe7c44855110 [2024-02-19T20:38:49.486Z] Removing intermediate container fe7c44855110 [2024-02-19T20:38:49.486Z] ---> c3eef53eb75d [2024-02-19T20:38:49.486Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-19T20:38:49.486Z] Successfully built c3eef53eb75d [2024-02-19T20:38:49.486Z] 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 [2024-02-19T20:38:50.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-19T20:38:50.818Z] [2024-02-19T20:38:50.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:38:51.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-19T20:38:51.261Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-19T20:38:51.261Z] 8998bd30e6a1: Pulling fs layer [2024-02-19T20:38:51.261Z] 04944245beec: Pulling fs layer [2024-02-19T20:38:51.261Z] 699f458cf7ca: Pulling fs layer [2024-02-19T20:38:51.261Z] 765212b225bb: Pulling fs layer [2024-02-19T20:38:51.261Z] f23df028b6ca: Pulling fs layer [2024-02-19T20:38:51.261Z] d65c8cfc05b1: Pulling fs layer [2024-02-19T20:38:51.261Z] 2437ff75d9bd: Pulling fs layer [2024-02-19T20:38:51.261Z] 765212b225bb: Waiting [2024-02-19T20:38:51.261Z] d65c8cfc05b1: Waiting [2024-02-19T20:38:51.261Z] f23df028b6ca: Waiting [2024-02-19T20:38:51.528Z] 04944245beec: Verifying Checksum [2024-02-19T20:38:51.528Z] 04944245beec: Download complete [2024-02-19T20:38:51.528Z] 765212b225bb: Download complete [2024-02-19T20:38:51.528Z] f23df028b6ca: Download complete [2024-02-19T20:38:51.528Z] d65c8cfc05b1: Verifying Checksum [2024-02-19T20:38:51.528Z] d65c8cfc05b1: Download complete [2024-02-19T20:38:51.795Z] 699f458cf7ca: Verifying Checksum [2024-02-19T20:38:51.795Z] 699f458cf7ca: Download complete [2024-02-19T20:38:52.062Z] 8998bd30e6a1: Verifying Checksum [2024-02-19T20:38:52.062Z] 8998bd30e6a1: Download complete [2024-02-19T20:38:54.658Z] 2437ff75d9bd: Download complete [2024-02-19T20:38:56.606Z] 8998bd30e6a1: Pull complete [2024-02-19T20:38:57.189Z] 04944245beec: Pull complete [2024-02-19T20:38:58.595Z] 699f458cf7ca: Pull complete [2024-02-19T20:38:58.863Z] 765212b225bb: Pull complete [2024-02-19T20:38:59.820Z] f23df028b6ca: Pull complete [2024-02-19T20:38:59.820Z] d65c8cfc05b1: Pull complete [2024-02-19T20:39:18.026Z] 2437ff75d9bd: Pull complete [2024-02-19T20:39:18.026Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-19T20:39:18.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-19T20:39:18.026Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:39:18.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-1274 does not seem to be running inside a container [2024-02-19T20:39:18.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-02-19T20:39:21.404Z] $ docker top 9d561c45189e30bc34b0571a4f47042c4038d948eb71c235f219f237a5748fe3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:22.121Z] ---> job-cost.sh [2024-02-19T20:39:22.402Z] lf-activate-venv: SKIPPING [2024-02-19T20:39:22.402Z] INFO: No Stack... [2024-02-19T20:39:22.691Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-19T20:39:23.667Z] INFO: Archiving Costs [Pipeline] sh [2024-02-19T20:39:24.328Z] + cat+ /w/workspace/device-rest-go/1/archives/cost.csv [2024-02-19T20:39:24.328Z] cut -d, -f6 [Pipeline] lock [2024-02-19T20:39:24.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] [2024-02-19T20:39:24.407Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] did not exist. Created. [2024-02-19T20:39:24.412Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-19T20:39:25.218Z] /w/workspace/device-rest-go/1@tmp/durable-61247515/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-19T20:39:25.879Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-19T20:39:25.915Z] Warning: overwriting stash ‘stack-cost’ [2024-02-19T20:39:25.961Z] Stashed 1 file(s) [Pipeline] } [2024-02-19T20:39:26.006Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-381-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-19T20:39:26.191Z] $ docker stop --time=1 9d561c45189e30bc34b0571a4f47042c4038d948eb71c235f219f237a5748fe3 [2024-02-19T20:39:27.677Z] $ docker rm -f --volumes 9d561c45189e30bc34b0571a4f47042c4038d948eb71c235f219f237a5748fe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-02-19T20:39:29.705Z] provisioning config files... [2024-02-19T20:39:29.712Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-381@tmp/config3315587390521312417tmp [Pipeline] { [Pipeline] sh [2024-02-19T20:39:30.139Z] + set +x [2024-02-19T20:39:30.139Z] + curl -s https://codecov.io/bash [2024-02-19T20:39:30.139Z] + bash -s -- [2024-02-19T20:39:30.139Z] [2024-02-19T20:39:30.139Z] _____ _ [2024-02-19T20:39:30.139Z] / ____| | | [2024-02-19T20:39:30.139Z] | | ___ __| | ___ ___ _____ __ [2024-02-19T20:39:30.139Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-19T20:39:30.139Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-19T20:39:30.139Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-19T20:39:30.139Z] Bash-1.0.6 [2024-02-19T20:39:30.139Z] [2024-02-19T20:39:30.139Z] [2024-02-19T20:39:30.139Z] ==> git version 2.25.1 found [2024-02-19T20:39:30.140Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-02-19T20:39:30.140Z] Release-Date: 2020-01-08 [2024-02-19T20:39:30.140Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-02-19T20:39:30.140Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-19T20:39:30.140Z] ==> Jenkins CI detected. [2024-02-19T20:39:30.140Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-381 [2024-02-19T20:39:30.140Z] project root: . [2024-02-19T20:39:30.140Z] --> token set from env [2024-02-19T20:39:30.140Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-19T20:39:30.399Z] ==> Running gcov in . (disable via -X gcov) [2024-02-19T20:39:30.399Z] ==> Python coveragepy not found [2024-02-19T20:39:30.400Z] ==> Searching for coverage reports in: [2024-02-19T20:39:30.400Z] + . [2024-02-19T20:39:30.400Z] -> Found 1 reports [2024-02-19T20:39:30.400Z] ==> Detecting git/mercurial file structure [2024-02-19T20:39:30.400Z] ==> Reading reports [2024-02-19T20:39:30.400Z] + ./coverage.out bytes=14499 [2024-02-19T20:39:30.400Z] ==> Appending adjustments [2024-02-19T20:39:30.400Z] https://docs.codecov.io/docs/fixing-reports [2024-02-19T20:39:30.400Z] + Found adjustments [2024-02-19T20:39:30.400Z] ==> Gzipping contents [2024-02-19T20:39:30.400Z] 4.0K /tmp/codecov.VidOo0.gz [2024-02-19T20:39:30.400Z] ==> Uploading reports [2024-02-19T20:39:30.400Z] url: https://codecov.io [2024-02-19T20:39:30.400Z] query: branch=PR-381&commit=a451816f0d09caecb61fbd834e5ecfcaa43ffee2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-381%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=381&job=&cmd_args= [2024-02-19T20:39:30.400Z] -> Pinging Codecov [2024-02-19T20:39:30.400Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-381&commit=a451816f0d09caecb61fbd834e5ecfcaa43ffee2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-381%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=381&job=&cmd_args= [2024-02-19T20:39:30.659Z] -> Uploading to [2024-02-19T20:39:30.659Z] https://storage.googleapis.com/codecov/v4/raw/2024-02-19/4E5D53B4F1F92C436F7061BF334D961C/a451816f0d09caecb61fbd834e5ecfcaa43ffee2/93608c86-cfe9-4902-b2c2-a2ce9a698f59.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240219T203930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3430abd677751bcd6845785d325c2cc01a8039f1523d213b192406ccf045f7e [2024-02-19T20:39:30.659Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-19T20:39:30.659Z] Dload Upload Total Spent Left Speed [2024-02-19T20:39:30.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7814 --:--:-- --:--:-- --:--:-- 7788 [2024-02-19T20:39:30.919Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a451816f0d09caecb61fbd834e5ecfcaa43ffee2 [Pipeline] } [2024-02-19T20:39:30.948Z] 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 [2024-02-19T20:39:34.664Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-381/archives ] [2024-02-19T20:39:34.664Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-381/archives [2024-02-19T20:39:34.664Z] total 16 [2024-02-19T20:39:34.664Z] drwxr-xr-x 3 root root 4096 Feb 19 20:32 . [2024-02-19T20:39:34.664Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 19 20:32 .. [2024-02-19T20:39:34.664Z] drwxr-xr-x 2 root root 4096 Feb 19 20:32 cost [2024-02-19T20:39:34.664Z] -rw-r--r-- 1 root root 86 Feb 19 20:32 cost.csv [2024-02-19T20:39:34.664Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-381/archives [2024-02-19T20:39:34.664Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-381/archives [2024-02-19T20:39:34.664Z] total 16 [2024-02-19T20:39:34.664Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 19 20:32 . [2024-02-19T20:39:34.664Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 19 20:32 .. [2024-02-19T20:39:34.664Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 19 20:32 cost [2024-02-19T20:39:34.664Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 19 20:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:34.993Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:35.888Z] ---> package-listing.sh [2024-02-19T20:39:35.888Z] ++ facter osfamily [2024-02-19T20:39:35.888Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-19T20:39:36.147Z] + OS_FAMILY=debian [2024-02-19T20:39:36.147Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-381 [2024-02-19T20:39:36.147Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-19T20:39:36.147Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-19T20:39:36.147Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-19T20:39:36.147Z] + PACKAGES=/tmp/packages_start.txt [2024-02-19T20:39:36.147Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-381 ']' [2024-02-19T20:39:36.147Z] + PACKAGES=/tmp/packages_end.txt [2024-02-19T20:39:36.147Z] + case "${OS_FAMILY}" in [2024-02-19T20:39:36.147Z] + dpkg -l [2024-02-19T20:39:36.147Z] + grep '^ii' [2024-02-19T20:39:36.147Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-19T20:39:36.147Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-19T20:39:36.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-19T20:39:36.147Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-381 ']' [2024-02-19T20:39:36.147Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-381/archives/ [2024-02-19T20:39:36.147Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-381/archives/ [Pipeline] echo [2024-02-19T20:39:36.187Z] 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-381/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-19T20:39:36.479Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-19T20:39:37.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-19T20:39:37.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-19T20:39:37.401Z] prd-ubuntu20.04-docker-8c-8g-1273 does not seem to be running inside a container [2024-02-19T20:39:37.438Z] $ 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-381/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-381 -v /w/workspace/gexfoundry_device-rest-go_PR-381:/w/workspace/gexfoundry_device-rest-go_PR-381:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-381@tmp:/w/workspace/gexfoundry_device-rest-go_PR-381@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-19T20:39:37.609Z] $ docker top 60475427af66b16b20c121ec125f7c766938dc3e0aeea6b8e1edf760e2492d1d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-19T20:39:38.104Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-19T20:39:38.405Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-19T20:39:38.712Z] + ls /var/log/sa-host [2024-02-19T20:39:38.712Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-19T20:39:38.974Z] provisioning config files... [2024-02-19T20:39:38.983Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-381@tmp/config11855782257804237980tmp [Pipeline] { [Pipeline] echo [2024-02-19T20:39:39.137Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:39.452Z] ---> create-netrc.sh [Pipeline] } [2024-02-19T20:39:39.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:39.988Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-19T20:39:40.021Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:40.334Z] ---> sudo-logs.sh [2024-02-19T20:39:40.334Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-19T20:39:40.482Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:40.794Z] ---> job-cost.sh [2024-02-19T20:39:40.794Z] lf-activate-venv: SKIPPING [2024-02-19T20:39:40.794Z] DEBUG: total: 0.2199999988079071 [2024-02-19T20:39:40.794Z] INFO: Retrieving Stack Cost... [2024-02-19T20:39:41.363Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-19T20:39:41.623Z] INFO: Archiving Costs [Pipeline] echo [2024-02-19T20:39:41.662Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-19T20:39:41.979Z] ---> logs-deploy.sh [2024-02-19T20:39:41.979Z] lf-activate-venv: SKIPPING [2024-02-19T20:39:41.979Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-381/1 [2024-02-19T20:39:41.979Z] INFO: archiving workspace using pattern(s): [2024-02-19T20:39:42.917Z] Archives upload complete. [2024-02-19T20:39:42.917Z] INFO: archiving logs to Nexus