Pull request #374 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66635c1e5c587fcd8409417b619d074d39d777e2+291482f778a08bdc345d5637fe0e8ffcfe52633f (ca91830ca5b89f3af32f4126333a4506a2e2d84a) 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-ssh6296479204279735300.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-ssh17034995866013990297.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-374/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-374/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh623955918636320314.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-374/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18172350886890638610.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-ssh8018369505813542056.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-374/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-374/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh737291167632354057.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 Running on prd-ubuntu20.04-docker-8c-8g-25063 in /w/workspace/gexfoundry_device-rest-go_PR-374 [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-374 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 291482f778a08bdc345d5637fe0e8ffcfe52633f into PR head commit 66635c1e5c587fcd8409417b619d074d39d777e2 Merge succeeded, producing 66635c1e5c587fcd8409417b619d074d39d777e2 Checking out Revision 66635c1e5c587fcd8409417b619d074d39d777e2 (PR-374) 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 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # 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 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-14T20:18:16.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-14T20:18:16.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-14T20:18:16.660Z] ========================================================= [2023-12-14T20:18:16.661Z] EdgeX Global Pipelines Version Info [2023-12-14T20:18:16.661Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:18:17.408Z] ------------------- [2023-12-14T20:18:17.408Z] stable info: [2023-12-14T20:18:17.408Z] ------------------- [2023-12-14T20:18:17.408Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-14T20:18:17.408Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-14T20:18:17.408Z] Message: update stable to v1.0.258 [2023-12-14T20:18:17.979Z] ------------------- [2023-12-14T20:18:17.979Z] experimental info: [2023-12-14T20:18:17.979Z] ------------------- [2023-12-14T20:18:17.979Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-14T20:18:17.979Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-14T20:18:17.979Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-14T20:18:18.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-14T20:18:18.245Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-14T20:18:18.291Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-14T20:18:18.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-14T20:18:18.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-14T20:18:18.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-14T20:18:18.512Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-14T20:18:18.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-14T20:18:18.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-14T20:18:18.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-14T20:18:18.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-14T20:18:18.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-14T20:18:18.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-14T20:18:18.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-14T20:18:19.000Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-14T20:18:19.060Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-14T20:18:19.122Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-14T20:18:19.186Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-14T20:18:19.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-14T20:18:19.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-14T20:18:19.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-14T20:18:19.448Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-14T20:18:19.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-14T20:18:19.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-14T20:18:19.657Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-14T20:18:19.722Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-14T20:18:19.791Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-14T20:18:19.868Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo [2023-12-14T20:18:19.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo [2023-12-14T20:18:20.018Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo [2023-12-14T20:18:20.093Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo [2023-12-14T20:18:20.165Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66635c1 [Pipeline] echo [2023-12-14T20:18:20.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-14T20:18:20.411Z] provisioning config files... [2023-12-14T20:18:20.427Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config14183949081250960362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:18:20.827Z] ---> ****-login.sh [2023-12-14T20:18:20.827Z] nexus3.edgexfoundry.org:10001 [2023-12-14T20:18:20.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:21.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:21.088Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:21.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:21.089Z] [2023-12-14T20:18:21.089Z] Login Succeeded [2023-12-14T20:18:21.089Z] nexus3.edgexfoundry.org:10002 [2023-12-14T20:18:21.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:21.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:21.348Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:21.348Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:21.348Z] [2023-12-14T20:18:21.348Z] Login Succeeded [2023-12-14T20:18:21.348Z] nexus3.edgexfoundry.org:10003 [2023-12-14T20:18:21.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:21.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:21.349Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:21.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:21.349Z] [2023-12-14T20:18:21.349Z] Login Succeeded [2023-12-14T20:18:21.349Z] nexus3.edgexfoundry.org:10004 [2023-12-14T20:18:21.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:21.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:21.349Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:21.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:21.349Z] [2023-12-14T20:18:21.349Z] Login Succeeded [2023-12-14T20:18:21.349Z] ****.io [2023-12-14T20:18:21.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:21.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:21.868Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:21.868Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:21.868Z] [2023-12-14T20:18:21.868Z] Login Succeeded [2023-12-14T20:18:21.868Z] ---> ****-login.sh ends [Pipeline] } [2023-12-14T20:18:21.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-14T20:18:22.691Z] + git rev-list -1 --merges 66635c1e5c587fcd8409417b619d074d39d777e2~1..66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo [2023-12-14T20:18:22.727Z] -----------> git rev-list -1 --merges 66635c1e5c587fcd8409417b619d074d39d777e2~1..66635c1e5c587fcd8409417b619d074d39d777e2 66635c1e5c587fcd8409417b619d074d39d777e2 [false] [Pipeline] sh [2023-12-14T20:18:23.064Z] + git log --format=format:%s -1 66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo [2023-12-14T20:18:23.098Z] ========================================================= [2023-12-14T20:18:23.098Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-14T20:18:23.098Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-14T20:18:23.576Z] + git log --format=format:%s -1 66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] echo [2023-12-14T20:18:23.607Z] [semverPrep] GIT_COMMIT: 66635c1e5c587fcd8409417b619d074d39d777e2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-12-14T20:18:23.655Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-14T20:18:24.090Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-14T20:18:24.090Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-14T20:18:24.090Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-14T20:18:24.090Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-14T20:18:24.090Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-14T20:18:24.090Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-14T20:18:24.090Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:18:24.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-14T20:18:24.621Z] [2023-12-14T20:18:24.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:18:25.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-14T20:18:25.033Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-14T20:18:25.033Z] b85a868b505f: Pulling fs layer [2023-12-14T20:18:25.033Z] e2be974225ed: Pulling fs layer [2023-12-14T20:18:25.033Z] 339a4e72a1f5: Pulling fs layer [2023-12-14T20:18:25.033Z] 988bab9f4d93: Pulling fs layer [2023-12-14T20:18:25.033Z] 1469e6f7b9e6: Pulling fs layer [2023-12-14T20:18:25.033Z] eaf3925da568: Pulling fs layer [2023-12-14T20:18:25.033Z] bab4dde63d76: Pulling fs layer [2023-12-14T20:18:25.033Z] bde34c3a00c8: Pulling fs layer [2023-12-14T20:18:25.033Z] b352a97aabf1: Pulling fs layer [2023-12-14T20:18:25.033Z] 4872d77fe225: Pulling fs layer [2023-12-14T20:18:25.033Z] 5851b861e8e6: Pulling fs layer [2023-12-14T20:18:25.033Z] 1469e6f7b9e6: Waiting [2023-12-14T20:18:25.033Z] b352a97aabf1: Waiting [2023-12-14T20:18:25.033Z] 4872d77fe225: Waiting [2023-12-14T20:18:25.033Z] eaf3925da568: Waiting [2023-12-14T20:18:25.033Z] bab4dde63d76: Waiting [2023-12-14T20:18:25.033Z] bde34c3a00c8: Waiting [2023-12-14T20:18:25.033Z] 988bab9f4d93: Waiting [2023-12-14T20:18:25.033Z] 5851b861e8e6: Waiting [2023-12-14T20:18:25.033Z] e2be974225ed: Verifying Checksum [2023-12-14T20:18:25.033Z] e2be974225ed: Download complete [2023-12-14T20:18:25.033Z] 988bab9f4d93: Verifying Checksum [2023-12-14T20:18:25.033Z] 988bab9f4d93: Download complete [2023-12-14T20:18:25.292Z] 1469e6f7b9e6: Verifying Checksum [2023-12-14T20:18:25.292Z] 1469e6f7b9e6: Download complete [2023-12-14T20:18:25.292Z] 339a4e72a1f5: Verifying Checksum [2023-12-14T20:18:25.292Z] 339a4e72a1f5: Download complete [2023-12-14T20:18:25.292Z] eaf3925da568: Verifying Checksum [2023-12-14T20:18:25.292Z] eaf3925da568: Download complete [2023-12-14T20:18:25.292Z] bde34c3a00c8: Download complete [2023-12-14T20:18:25.292Z] b352a97aabf1: Verifying Checksum [2023-12-14T20:18:25.292Z] b352a97aabf1: Download complete [2023-12-14T20:18:25.292Z] 4872d77fe225: Download complete [2023-12-14T20:18:25.292Z] 5851b861e8e6: Verifying Checksum [2023-12-14T20:18:25.292Z] 5851b861e8e6: Download complete [2023-12-14T20:18:25.292Z] b85a868b505f: Download complete [2023-12-14T20:18:25.552Z] bab4dde63d76: Verifying Checksum [2023-12-14T20:18:25.552Z] bab4dde63d76: Download complete [2023-12-14T20:18:26.486Z] b85a868b505f: Pull complete [2023-12-14T20:18:26.747Z] e2be974225ed: Pull complete [2023-12-14T20:18:27.007Z] 339a4e72a1f5: Pull complete [2023-12-14T20:18:27.264Z] 988bab9f4d93: Pull complete [2023-12-14T20:18:27.523Z] 1469e6f7b9e6: Pull complete [2023-12-14T20:18:27.523Z] eaf3925da568: Pull complete [2023-12-14T20:18:29.421Z] bab4dde63d76: Pull complete [2023-12-14T20:18:29.421Z] bde34c3a00c8: Pull complete [2023-12-14T20:18:29.421Z] b352a97aabf1: Pull complete [2023-12-14T20:18:29.421Z] 4872d77fe225: Pull complete [2023-12-14T20:18:29.421Z] 5851b861e8e6: Pull complete [2023-12-14T20:18:29.421Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-14T20:18:29.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-14T20:18:29.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:18:29.729Z] prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container [2023-12-14T20:18:29.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 [2023-12-14T20:18:32.932Z] $ docker top 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-14T20:18:33.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-14T20:18:33.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-14T20:18:33.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-14T20:18:33.316Z] $ docker exec 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent [2023-12-14T20:18:33.434Z] SSH_AUTH_SOCK=/tmp/ssh-O241PAg6ZJtY/agent.32 [2023-12-14T20:18:33.434Z] SSH_AGENT_PID=38 [2023-12-14T20:18:33.441Z] Running ssh-add (command line suppressed) [2023-12-14T20:18:33.530Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_7514016022596812211.key (/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_7514016022596812211.key) [2023-12-14T20:18:33.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-14T20:18:33.898Z] + git tag --points-at HEAD [Pipeline] } [2023-12-14T20:18:33.923Z] $ docker exec --env ******** --env ******** 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent -k [2023-12-14T20:18:34.012Z] unset SSH_AUTH_SOCK; [2023-12-14T20:18:34.012Z] unset SSH_AGENT_PID; [2023-12-14T20:18:34.012Z] echo Agent pid 38 killed; [2023-12-14T20:18:34.023Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-14T20:18:34.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-14T20:18:34.163Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-14T20:18:34.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-14T20:18:34.267Z] $ docker exec 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent [2023-12-14T20:18:34.372Z] SSH_AUTH_SOCK=/tmp/ssh-BJ0oVzrepD8b/agent.70 [2023-12-14T20:18:34.372Z] SSH_AGENT_PID=76 [2023-12-14T20:18:34.377Z] Running ssh-add (command line suppressed) [2023-12-14T20:18:34.482Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_8011285164242387654.key (/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/private_key_8011285164242387654.key) [2023-12-14T20:18:34.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-14T20:18:34.849Z] + git semver init [2023-12-14T20:18:35.109Z] 2023-12-14 20:18:35,008 [run_init] DEBUG init version:0.0.0 force:False [2023-12-14T20:18:35.109Z] 2023-12-14 20:18:35,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-374/.semver [2023-12-14T20:18:35.109Z] 2023-12-14 20:18:35,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-374/.semver [2023-12-14T20:18:35.109Z] 2023-12-14 20:18:35,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-374/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-374, universal_newlines=False, shell=None, istream=None) [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,807 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-374/.git/info/exclude [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-374/.semver/PR-374 with force:False [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,808 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-374/.semver/PR-374 [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,810 [execute] INFO git cat-file --batch-check [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,816 [execute] INFO git cat-file --batch [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) [2023-12-14T20:18:37.016Z] 2023-12-14 20:18:36,821 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-374/.semver/PR-374 [2023-12-14T20:18:37.016Z] 0.0.0 [Pipeline] } [2023-12-14T20:18:37.045Z] $ docker exec --env ******** --env ******** 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 ssh-agent -k [2023-12-14T20:18:37.143Z] unset SSH_AUTH_SOCK; [2023-12-14T20:18:37.143Z] unset SSH_AGENT_PID; [2023-12-14T20:18:37.143Z] echo Agent pid 76 killed; [2023-12-14T20:18:37.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-14T20:18:37.682Z] + git semver [Pipeline] } [2023-12-14T20:18:37.960Z] $ docker stop --time=1 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 [2023-12-14T20:18:39.247Z] $ docker rm -f --volumes 59a8b58b0e332ea408a6fa5e7d9c2b7c488f6b91505a2704ee1138813dedda34 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-14T20:18:39.692Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-14T20:18:39.990Z] Stashed 1 file(s) [Pipeline] echo [2023-12-14T20:18:40.012Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-14T20:18:40.876Z] provisioning config files... [2023-12-14T20:18:40.885Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config349000005865249969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:18:41.281Z] ---> ****-login.sh [2023-12-14T20:18:41.281Z] nexus3.edgexfoundry.org:10001 [2023-12-14T20:18:41.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:41.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:41.281Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:41.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:41.281Z] [2023-12-14T20:18:41.281Z] Login Succeeded [2023-12-14T20:18:41.282Z] nexus3.edgexfoundry.org:10002 [2023-12-14T20:18:41.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:41.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:41.282Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:41.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:41.282Z] [2023-12-14T20:18:41.282Z] Login Succeeded [2023-12-14T20:18:41.282Z] nexus3.edgexfoundry.org:10003 [2023-12-14T20:18:41.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:41.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:41.542Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:41.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:41.542Z] [2023-12-14T20:18:41.542Z] Login Succeeded [2023-12-14T20:18:41.542Z] nexus3.edgexfoundry.org:10004 [2023-12-14T20:18:41.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:41.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:41.542Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:41.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:41.542Z] [2023-12-14T20:18:41.542Z] Login Succeeded [2023-12-14T20:18:41.542Z] ****.io [2023-12-14T20:18:41.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:18:41.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:18:41.802Z] Configure a credential helper to remove this warning. See [2023-12-14T20:18:41.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:18:41.802Z] [2023-12-14T20:18:41.802Z] Login Succeeded [2023-12-14T20:18:41.802Z] ---> ****-login.sh ends [Pipeline] } [2023-12-14T20:18:41.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-14T20:18:42.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T20:18:42.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T20:18:42.269Z] ========================================================= [2023-12-14T20:18:42.270Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-14T20:18:42.270Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:18:42.850Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-14T20:18:42.850Z] Sending build context to Docker daemon 16.31MB [2023-12-14T20:18:42.850Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-14T20:18:42.850Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-14T20:18:42.850Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-14T20:18:42.850Z] 7264a8db6415: Pulling fs layer [2023-12-14T20:18:42.850Z] c4d48a809fc2: Pulling fs layer [2023-12-14T20:18:42.850Z] 4f1c88b9dad5: Pulling fs layer [2023-12-14T20:18:42.850Z] ad3a456e5733: Pulling fs layer [2023-12-14T20:18:42.850Z] 69c7f0334f64: Pulling fs layer [2023-12-14T20:18:42.850Z] 1f1c1a5573a3: Pulling fs layer [2023-12-14T20:18:42.850Z] ce7588e14bc9: Pulling fs layer [2023-12-14T20:18:42.850Z] b5e4710f87ac: Pulling fs layer [2023-12-14T20:18:42.850Z] 1f1c1a5573a3: Waiting [2023-12-14T20:18:42.850Z] ad3a456e5733: Waiting [2023-12-14T20:18:42.850Z] ce7588e14bc9: Waiting [2023-12-14T20:18:42.850Z] b5e4710f87ac: Waiting [2023-12-14T20:18:42.850Z] 69c7f0334f64: Waiting [2023-12-14T20:18:43.109Z] c4d48a809fc2: Download complete [2023-12-14T20:18:43.109Z] ad3a456e5733: Download complete [2023-12-14T20:18:43.109Z] 69c7f0334f64: Verifying Checksum [2023-12-14T20:18:43.109Z] 69c7f0334f64: Download complete [2023-12-14T20:18:43.109Z] 7264a8db6415: Verifying Checksum [2023-12-14T20:18:43.109Z] 7264a8db6415: Download complete [2023-12-14T20:18:43.109Z] 1f1c1a5573a3: Verifying Checksum [2023-12-14T20:18:43.109Z] 1f1c1a5573a3: Download complete [2023-12-14T20:18:43.109Z] 7264a8db6415: Pull complete [2023-12-14T20:18:43.369Z] b5e4710f87ac: Verifying Checksum [2023-12-14T20:18:43.369Z] b5e4710f87ac: Download complete [2023-12-14T20:18:43.369Z] c4d48a809fc2: Pull complete [2023-12-14T20:18:43.369Z] 4f1c88b9dad5: Verifying Checksum [2023-12-14T20:18:43.369Z] 4f1c88b9dad5: Download complete [2023-12-14T20:18:43.948Z] ce7588e14bc9: Verifying Checksum [2023-12-14T20:18:43.948Z] ce7588e14bc9: Download complete [2023-12-14T20:18:46.479Z] 4f1c88b9dad5: Pull complete [2023-12-14T20:18:46.479Z] ad3a456e5733: Pull complete [2023-12-14T20:18:46.479Z] 69c7f0334f64: Pull complete [2023-12-14T20:18:46.479Z] 1f1c1a5573a3: Pull complete [2023-12-14T20:18:49.008Z] ce7588e14bc9: Pull complete [2023-12-14T20:18:49.008Z] b5e4710f87ac: Pull complete [2023-12-14T20:18:49.008Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-14T20:18:49.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-14T20:18:49.008Z] ---> 88b5674ff536 [2023-12-14T20:18:49.008Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-14T20:18:52.313Z] ---> Running in f8b7e9f65f24 [2023-12-14T20:18:52.313Z] Removing intermediate container f8b7e9f65f24 [2023-12-14T20:18:52.313Z] ---> f1a0894f6a54 [2023-12-14T20:18:52.313Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-14T20:18:52.572Z] ---> Running in fe5a22c3a1ff [2023-12-14T20:18:52.572Z] Removing intermediate container fe5a22c3a1ff [2023-12-14T20:18:52.572Z] ---> 64fd37a72db2 [2023-12-14T20:18:52.572Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-14T20:18:52.572Z] ---> Running in dbb8194e32ac [2023-12-14T20:18:52.572Z] Removing intermediate container dbb8194e32ac [2023-12-14T20:18:52.572Z] ---> ac18da2e8367 [2023-12-14T20:18:52.572Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-14T20:18:52.572Z] ---> Running in e43c884e502d [2023-12-14T20:18:52.572Z] Removing intermediate container e43c884e502d [2023-12-14T20:18:52.572Z] ---> 5c1e3b5414a5 [2023-12-14T20:18:52.572Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-14T20:18:52.572Z] ---> Running in d51af2290240 [2023-12-14T20:18:52.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T20:18:53.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T20:18:53.399Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-14T20:18:53.399Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-14T20:18:53.658Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-14T20:18:53.658Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-14T20:18:53.658Z] Executing busybox-1.36.1-r5.trigger [2023-12-14T20:18:53.658Z] OK: 268 MiB in 56 packages [2023-12-14T20:18:54.227Z] Removing intermediate container d51af2290240 [2023-12-14T20:18:54.227Z] ---> dfafd9646aeb [2023-12-14T20:18:54.227Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-14T20:18:54.227Z] ---> Running in 36ebd64e3e5b [2023-12-14T20:18:54.227Z] Removing intermediate container 36ebd64e3e5b [2023-12-14T20:18:54.227Z] ---> f254e982cc9d [2023-12-14T20:18:54.227Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-14T20:18:54.227Z] ---> 46558ba6104b [2023-12-14T20:18:54.227Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T20:18:54.227Z] ---> Running in aa2086f83c59 [2023-12-14T20:18:55.638Z] Still waiting to schedule task [2023-12-14T20:18:55.639Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-14T20:19:26.305Z] Removing intermediate container aa2086f83c59 [2023-12-14T20:19:26.305Z] ---> 0dad43a6db1a [2023-12-14T20:19:26.305Z] Step 11/12 : COPY . . [2023-12-14T20:19:27.239Z] ---> d808f3b5f6a4 [2023-12-14T20:19:27.239Z] Step 12/12 : RUN $MAKE [2023-12-14T20:19:27.239Z] ---> Running in 3022f6422140 [2023-12-14T20:19:27.497Z] noop [2023-12-14T20:19:27.756Z] Removing intermediate container 3022f6422140 [2023-12-14T20:19:27.756Z] ---> 7079a120f7da [2023-12-14T20:19:27.756Z] Successfully built 7079a120f7da [2023-12-14T20:19:27.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:19:28.307Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-14T20:19:28.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:19:28.509Z] prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container [2023-12-14T20:19:28.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 [2023-12-14T20:19:28.890Z] $ docker top 12fc9d1e9cc520f18bb9308e34fe382d36406cbc79a1008c03a6899d9575cfff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T20:19:29.336Z] + go version [2023-12-14T20:19:29.336Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-14T20:19:29.366Z] $ docker stop --time=1 12fc9d1e9cc520f18bb9308e34fe382d36406cbc79a1008c03a6899d9575cfff [2023-12-14T20:19:30.651Z] $ docker rm -f --volumes 12fc9d1e9cc520f18bb9308e34fe382d36406cbc79a1008c03a6899d9575cfff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:19:31.607Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-14T20:19:31.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:19:31.810Z] prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container [2023-12-14T20:19:31.838Z] $ 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-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 [2023-12-14T20:19:32.225Z] $ docker top 24942ceed16dffce432c90fc30c822d1464e167af60fb93453812e2c32c31910 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T20:19:32.682Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-374 [Pipeline] fileExists [Pipeline] sh [2023-12-14T20:19:33.081Z] + make test [2023-12-14T20:19:33.081Z] go test ./... -coverprofile=coverage.out ./... [2023-12-14T20:19:34.459Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-14T20:19:44.423Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-14T20:19:44.423Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-12-14T20:19:52.540Z] go vet ./... [2023-12-14T20:19:55.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-14T20:19:55.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-14T20:19:55.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-14T20:19:55.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-14T20:19:55.163Z] $ docker stop --time=1 24942ceed16dffce432c90fc30c822d1464e167af60fb93453812e2c32c31910 [2023-12-14T20:19:58.417Z] $ docker rm -f --volumes 24942ceed16dffce432c90fc30c822d1464e167af60fb93453812e2c32c31910 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-14T20:19:58.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-14T20:19:59.060Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-14T20:19:59.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-14T20:20:00.221Z] + ls -al . [2023-12-14T20:20:00.221Z] total 180 [2023-12-14T20:20:00.221Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 20:19 . [2023-12-14T20:20:00.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:18 .. [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 20:18 .dockerignore [2023-12-14T20:20:00.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:19 .git [2023-12-14T20:20:00.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:18 .github [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 14 20:18 .gitignore [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 20:18 .golangci.yml [2023-12-14T20:20:00.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 20:18 .semver [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 14 20:18 Attribution.txt [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 14 20:18 CHANGELOG.md [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 14 20:18 Dockerfile [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 20:18 GOVERNANCE.md [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 20:18 Jenkinsfile [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 20:18 LICENSE [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 14 20:18 Makefile [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 20:18 OWNERS.md [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 14 20:18 README.md [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 20:18 VERSION [2023-12-14T20:20:00.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:18 bin [2023-12-14T20:20:00.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:18 cmd [2023-12-14T20:20:00.221Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 14 20:19 coverage.out [2023-12-14T20:20:00.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:18 driver [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 14 20:18 go.mod [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 14 20:18 go.sum [2023-12-14T20:20:00.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:18 openapi [2023-12-14T20:20:00.221Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:20:00.686Z] + 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=66635c1e5c587fcd8409417b619d074d39d777e2 --label arch=amd64 --label version=0.0.0 . [2023-12-14T20:20:00.686Z] Sending build context to Docker daemon 16.32MB [2023-12-14T20:20:00.686Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-14T20:20:00.686Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-14T20:20:00.686Z] ---> 7079a120f7da [2023-12-14T20:20:00.686Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-14T20:20:00.949Z] ---> Running in c122f961b3b3 [2023-12-14T20:20:00.949Z] Removing intermediate container c122f961b3b3 [2023-12-14T20:20:00.950Z] ---> 3c565cc67b15 [2023-12-14T20:20:00.950Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-14T20:20:00.950Z] ---> Running in ccf7959e7570 [2023-12-14T20:20:01.207Z] Removing intermediate container ccf7959e7570 [2023-12-14T20:20:01.208Z] ---> 44897e8dfabd [2023-12-14T20:20:01.208Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-14T20:20:01.208Z] ---> Running in 58c21a67ac31 [2023-12-14T20:20:01.208Z] Removing intermediate container 58c21a67ac31 [2023-12-14T20:20:01.208Z] ---> 707395163c9b [2023-12-14T20:20:01.208Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-14T20:20:01.208Z] ---> Running in efad1635cac5 [2023-12-14T20:20:01.208Z] Removing intermediate container efad1635cac5 [2023-12-14T20:20:01.208Z] ---> b02f4094a507 [2023-12-14T20:20:01.208Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-14T20:20:01.208Z] ---> Running in a7ca0484f2da [2023-12-14T20:20:01.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T20:20:01.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T20:20:01.991Z] OK: 268 MiB in 56 packages [2023-12-14T20:20:02.252Z] Removing intermediate container a7ca0484f2da [2023-12-14T20:20:02.252Z] ---> ef1a4d83b9ec [2023-12-14T20:20:02.252Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-14T20:20:02.512Z] ---> Running in f0e50c47829d [2023-12-14T20:20:02.512Z] Removing intermediate container f0e50c47829d [2023-12-14T20:20:02.512Z] ---> e912a1a26f1d [2023-12-14T20:20:02.512Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-14T20:20:02.512Z] ---> b23b04f5c67e [2023-12-14T20:20:02.512Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T20:20:02.512Z] ---> Running in b63148bca8e0 [2023-12-14T20:20:03.080Z] Removing intermediate container b63148bca8e0 [2023-12-14T20:20:03.080Z] ---> a33743a7f40a [2023-12-14T20:20:03.080Z] Step 11/26 : COPY . . [2023-12-14T20:20:03.646Z] ---> 9eefb7f753a4 [2023-12-14T20:20:03.646Z] Step 12/26 : RUN $MAKE [2023-12-14T20:20:03.646Z] ---> Running in ccfd37317f0c [2023-12-14T20:20:03.905Z] 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.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-14T20:20:21.977Z] Removing intermediate container ccfd37317f0c [2023-12-14T20:20:21.977Z] ---> cd8491a56954 [2023-12-14T20:20:21.977Z] Step 13/26 : FROM alpine:3.18 [2023-12-14T20:20:21.977Z] 3.18: Pulling from library/alpine [2023-12-14T20:20:22.238Z] c926b61bad3b: Pulling fs layer [2023-12-14T20:20:22.238Z] c926b61bad3b: Download complete [2023-12-14T20:20:22.496Z] c926b61bad3b: Pull complete [2023-12-14T20:20:22.496Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T20:20:22.496Z] Status: Downloaded newer image for alpine:3.18 [2023-12-14T20:20:22.496Z] ---> b541f2080109 [2023-12-14T20:20:22.496Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-14T20:20:22.496Z] ---> Running in f3597be28c10 [2023-12-14T20:20:22.754Z] Removing intermediate container f3597be28c10 [2023-12-14T20:20:22.754Z] ---> 5584ba6a5b2d [2023-12-14T20:20:22.754Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-14T20:20:22.754Z] ---> Running in a7b4bfc5b0ef [2023-12-14T20:20:22.754Z] Removing intermediate container a7b4bfc5b0ef [2023-12-14T20:20:22.754Z] ---> 0762b82e9284 [2023-12-14T20:20:22.754Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-14T20:20:22.754Z] ---> Running in 18a61bfc7a39 [2023-12-14T20:20:23.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T20:20:23.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T20:20:23.270Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-14T20:20:23.270Z] Executing busybox-1.36.1-r5.trigger [2023-12-14T20:20:23.270Z] OK: 7 MiB in 16 packages [2023-12-14T20:20:23.527Z] Removing intermediate container 18a61bfc7a39 [2023-12-14T20:20:23.527Z] ---> e6b64a55b618 [2023-12-14T20:20:23.528Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-14T20:20:23.528Z] ---> Running in 59c6e2576039 [2023-12-14T20:20:23.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-14T20:20:24.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-14T20:20:24.045Z] OK: 7 MiB in 16 packages [2023-12-14T20:20:24.912Z] Removing intermediate container 59c6e2576039 [2023-12-14T20:20:24.912Z] ---> f7e654343656 [2023-12-14T20:20:24.912Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-14T20:20:25.170Z] ---> c7c2d2a8f8c4 [2023-12-14T20:20:25.170Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-14T20:20:25.170Z] ---> 2da680eaaab3 [2023-12-14T20:20:25.170Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-14T20:20:25.170Z] ---> 0c306982d1ff [2023-12-14T20:20:25.170Z] Step 21/26 : EXPOSE 59986 [2023-12-14T20:20:25.170Z] ---> Running in 58dfc21acdf2 [2023-12-14T20:20:25.429Z] Removing intermediate container 58dfc21acdf2 [2023-12-14T20:20:25.429Z] ---> a93445e9e5fc [2023-12-14T20:20:25.429Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-14T20:20:25.429Z] ---> Running in 1486c6172340 [2023-12-14T20:20:25.429Z] Removing intermediate container 1486c6172340 [2023-12-14T20:20:25.429Z] ---> 849e536577df [2023-12-14T20:20:25.429Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-14T20:20:25.429Z] ---> Running in d82ec516b862 [2023-12-14T20:20:25.429Z] Removing intermediate container d82ec516b862 [2023-12-14T20:20:25.429Z] ---> ce344de0c243 [2023-12-14T20:20:25.429Z] Step 24/26 : LABEL arch=amd64 [2023-12-14T20:20:25.687Z] ---> Running in 6379e13dcb59 [2023-12-14T20:20:25.688Z] Removing intermediate container 6379e13dcb59 [2023-12-14T20:20:25.688Z] ---> 21a35da9d2bf [2023-12-14T20:20:25.688Z] Step 25/26 : LABEL git_sha=66635c1e5c587fcd8409417b619d074d39d777e2 [2023-12-14T20:20:25.688Z] ---> Running in ac4b6237631b [2023-12-14T20:20:25.688Z] Removing intermediate container ac4b6237631b [2023-12-14T20:20:25.688Z] ---> 1c693e33ba11 [2023-12-14T20:20:25.688Z] Step 26/26 : LABEL version=0.0.0 [2023-12-14T20:20:25.688Z] ---> Running in 38c1258eecf0 [2023-12-14T20:20:25.688Z] Removing intermediate container 38c1258eecf0 [2023-12-14T20:20:25.688Z] ---> 041f4b6a482a [2023-12-14T20:20:25.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-14T20:20:25.688Z] Successfully built 041f4b6a482a [2023-12-14T20:20:25.688Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:20:26.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T20:20:26.887Z] [2023-12-14T20:20:26.887Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:20:27.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T20:20:27.295Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-14T20:20:27.295Z] 5eb5b503b376: Pulling fs layer [2023-12-14T20:20:27.295Z] 5c69ac0246d0: Pulling fs layer [2023-12-14T20:20:27.295Z] ec43610c2a17: Pulling fs layer [2023-12-14T20:20:27.295Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-14T20:20:27.295Z] 33b1e0a273af: Pulling fs layer [2023-12-14T20:20:27.295Z] 5d3b04190fa2: Pulling fs layer [2023-12-14T20:20:27.295Z] 2f39f015ded8: Pulling fs layer [2023-12-14T20:20:27.295Z] 3a2ae6a8a46f: Waiting [2023-12-14T20:20:27.295Z] 5d3b04190fa2: Waiting [2023-12-14T20:20:27.295Z] 2f39f015ded8: Waiting [2023-12-14T20:20:27.295Z] 5c69ac0246d0: Verifying Checksum [2023-12-14T20:20:27.295Z] 5c69ac0246d0: Download complete [2023-12-14T20:20:27.295Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-14T20:20:27.295Z] 3a2ae6a8a46f: Download complete [2023-12-14T20:20:27.295Z] 33b1e0a273af: Verifying Checksum [2023-12-14T20:20:27.295Z] 33b1e0a273af: Download complete [2023-12-14T20:20:27.295Z] 5d3b04190fa2: Verifying Checksum [2023-12-14T20:20:27.295Z] 5d3b04190fa2: Download complete [2023-12-14T20:20:27.295Z] ec43610c2a17: Verifying Checksum [2023-12-14T20:20:27.295Z] ec43610c2a17: Download complete [2023-12-14T20:20:27.552Z] 5eb5b503b376: Verifying Checksum [2023-12-14T20:20:27.552Z] 5eb5b503b376: Download complete [2023-12-14T20:20:28.114Z] 2f39f015ded8: Download complete [2023-12-14T20:20:28.680Z] 5eb5b503b376: Pull complete [2023-12-14T20:20:28.680Z] 5c69ac0246d0: Pull complete [2023-12-14T20:20:29.244Z] ec43610c2a17: Pull complete [2023-12-14T20:20:29.244Z] 3a2ae6a8a46f: Pull complete [2023-12-14T20:20:29.501Z] 33b1e0a273af: Pull complete [2023-12-14T20:20:29.501Z] 5d3b04190fa2: Pull complete [2023-12-14T20:20:33.684Z] 2f39f015ded8: Pull complete [2023-12-14T20:20:33.684Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-14T20:20:33.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T20:20:33.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:20:34.035Z] prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container [2023-12-14T20:20:34.062Z] $ 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-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 [2023-12-14T20:20:38.111Z] $ docker top f0475090faff888d4cb1134b8283965caedd736d1d980175b9e3c3ee50fd391b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:20:38.646Z] ---> job-cost.sh [2023-12-14T20:20:38.647Z] lf-activate-venv: SKIPPING [2023-12-14T20:20:38.647Z] INFO: No Stack... [2023-12-14T20:20:38.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-14T20:20:39.470Z] INFO: Archiving Costs [Pipeline] sh [2023-12-14T20:20:39.789Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-374/archives/cost.csv [2023-12-14T20:20:39.789Z] + cut -d, -f6 [Pipeline] lock [2023-12-14T20:20:39.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [2023-12-14T20:20:39.833Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] did not exist. Created. [2023-12-14T20:20:39.833Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-14T20:20:40.038Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25067 in /w/workspace/gexfoundry_device-rest-go_PR-374 [Pipeline] { [Pipeline] ws [2023-12-14T20:20:40.189Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-12-14T20:20:40.287Z] + echo total: 0.4399999976158142 [2023-12-14T20:20:43.323Z] The recommended git tool is: git [Pipeline] stash [2023-12-14T20:20:43.416Z] Stashed 1 file(s) [Pipeline] } [2023-12-14T20:20:43.476Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-14T20:20:43.615Z] $ docker stop --time=1 f0475090faff888d4cb1134b8283965caedd736d1d980175b9e3c3ee50fd391b [2023-12-14T20:20:44.767Z] $ docker rm -f --volumes f0475090faff888d4cb1134b8283965caedd736d1d980175b9e3c3ee50fd391b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-14T20:20:48.548Z] using credential edgex-jenkins-ssh [2023-12-14T20:20:48.570Z] Cloning the remote Git repository [2023-12-14T20:20:48.612Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-14T20:20:48.699Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-12-14T20:20:48.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-14T20:20:48.834Z] > git --version # timeout=10 [2023-12-14T20:20:48.858Z] > git --version # 'git version 2.25.1' [2023-12-14T20:20:48.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-14T20:20:49.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-14T20:20:51.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-14T20:20:51.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-14T20:20:53.053Z] Merging remotes/origin/main commit 291482f778a08bdc345d5637fe0e8ffcfe52633f into PR head commit 66635c1e5c587fcd8409417b619d074d39d777e2 [2023-12-14T20:20:53.323Z] Merge succeeded, producing 66635c1e5c587fcd8409417b619d074d39d777e2 [2023-12-14T20:20:53.323Z] Checking out Revision 66635c1e5c587fcd8409417b619d074d39d777e2 (PR-374) [2023-12-14T20:20:52.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-14T20:20:52.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-14T20:20:52.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-14T20:20:52.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-14T20:20:53.075Z] > git config core.sparsecheckout # timeout=10 [2023-12-14T20:20:53.148Z] > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # timeout=10 [2023-12-14T20:20:53.231Z] > git remote # timeout=10 [2023-12-14T20:20:53.250Z] > git config --get remote.origin.url # timeout=10 [2023-12-14T20:20:53.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-14T20:20:53.281Z] > git merge 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 [2023-12-14T20:20:53.307Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-14T20:20:53.330Z] > git config core.sparsecheckout # timeout=10 [2023-12-14T20:20:53.345Z] > git checkout -f 66635c1e5c587fcd8409417b619d074d39d777e2 # timeout=10 [2023-12-14T20:20:53.878Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-12-14T20:20:53.927Z] > git --version # timeout=10 [2023-12-14T20:20:53.940Z] > git --version # 'git version 2.25.1' [2023-12-14T20:20:53.953Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-14T20:20:55.420Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-14T20:20:55.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-14T20:20:55.420Z] Dload Upload Total Spent Left Speed [2023-12-14T20:20:55.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86863 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh [2023-12-14T20:20:55.766Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-14T20:20:56.108Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-12-14T20:20:56.108Z] tee /etc/docker/daemon.new [2023-12-14T20:20:56.108Z] { [2023-12-14T20:20:56.108Z] "registry-mirrors": [ [2023-12-14T20:20:56.108Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-14T20:20:56.108Z] ], [2023-12-14T20:20:56.108Z] "bip": "10.250.0.254/24", [2023-12-14T20:20:56.108Z] "hosts": [ [2023-12-14T20:20:56.108Z] "tcp://0.0.0.0:5555", [2023-12-14T20:20:56.108Z] "unix:///var/run/docker.sock" [2023-12-14T20:20:56.108Z] ], [2023-12-14T20:20:56.108Z] "mtu": 1458, [2023-12-14T20:20:56.108Z] "selinux-enabled": true, [2023-12-14T20:20:56.108Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-14T20:20:56.108Z] } [Pipeline] sh [2023-12-14T20:20:56.447Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-14T20:20:56.787Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-14T20:21:15.124Z] provisioning config files... [2023-12-14T20:21:15.153Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5278058052380049394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:21:15.652Z] ---> ****-login.sh [2023-12-14T20:21:15.652Z] nexus3.edgexfoundry.org:10001 [2023-12-14T20:21:15.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:21:16.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:21:16.191Z] Configure a credential helper to remove this warning. See [2023-12-14T20:21:16.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:21:16.191Z] [2023-12-14T20:21:16.191Z] Login Succeeded [2023-12-14T20:21:16.191Z] nexus3.edgexfoundry.org:10002 [2023-12-14T20:21:16.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:21:16.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:21:16.472Z] Configure a credential helper to remove this warning. See [2023-12-14T20:21:16.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:21:16.472Z] [2023-12-14T20:21:16.472Z] Login Succeeded [2023-12-14T20:21:16.472Z] nexus3.edgexfoundry.org:10003 [2023-12-14T20:21:16.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:21:16.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:21:16.743Z] Configure a credential helper to remove this warning. See [2023-12-14T20:21:16.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:21:16.743Z] [2023-12-14T20:21:16.743Z] Login Succeeded [2023-12-14T20:21:16.743Z] nexus3.edgexfoundry.org:10004 [2023-12-14T20:21:16.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:21:17.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:21:17.009Z] Configure a credential helper to remove this warning. See [2023-12-14T20:21:17.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:21:17.009Z] [2023-12-14T20:21:17.009Z] Login Succeeded [2023-12-14T20:21:17.009Z] ****.io [2023-12-14T20:21:17.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-14T20:21:17.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-14T20:21:17.593Z] Configure a credential helper to remove this warning. See [2023-12-14T20:21:17.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-14T20:21:17.593Z] [2023-12-14T20:21:17.593Z] Login Succeeded [2023-12-14T20:21:17.593Z] ---> ****-login.sh ends [Pipeline] } [2023-12-14T20:21:17.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-14T20:21:18.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T20:21:18.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-14T20:21:18.287Z] ========================================================= [2023-12-14T20:21:18.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-14T20:21:18.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:21:18.941Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-14T20:21:19.916Z] #0 building with "default" instance using docker driver [2023-12-14T20:21:19.916Z] [2023-12-14T20:21:19.916Z] #1 [internal] load build definition from Dockerfile [2023-12-14T20:21:19.916Z] #1 transferring dockerfile: 1.73kB 0.0s done [2023-12-14T20:21:20.191Z] #1 DONE 0.1s [2023-12-14T20:21:20.191Z] [2023-12-14T20:21:20.191Z] #2 [internal] load .dockerignore [2023-12-14T20:21:20.191Z] #2 transferring context: 193B done [2023-12-14T20:21:20.191Z] #2 DONE 0.1s [2023-12-14T20:21:20.191Z] [2023-12-14T20:21:20.191Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-14T20:21:20.191Z] #3 DONE 0.1s [2023-12-14T20:21:20.191Z] [2023-12-14T20:21:20.191Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-14T20:21:20.191Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-14T20:21:20.463Z] #4 ... [2023-12-14T20:21:20.463Z] [2023-12-14T20:21:20.463Z] #5 [internal] load build context [2023-12-14T20:21:20.463Z] #5 transferring context: 95.80kB 0.0s done [2023-12-14T20:21:20.463Z] #5 DONE 0.1s [2023-12-14T20:21:20.463Z] [2023-12-14T20:21:20.463Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-14T20:21:20.463Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-14T20:21:20.463Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-14T20:21:20.463Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-14T20:21:20.463Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s [2023-12-14T20:21:20.463Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-14T20:21:20.463Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-14T20:21:20.463Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s [2023-12-14T20:21:20.463Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-14T20:21:20.463Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done [2023-12-14T20:21:20.463Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s [2023-12-14T20:21:20.463Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-14T20:21:20.463Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.3s [2023-12-14T20:21:20.733Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.26MB / 63.99MB 0.4s [2023-12-14T20:21:20.733Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.4s [2023-12-14T20:21:20.733Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s [2023-12-14T20:21:20.733Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 0.5s [2023-12-14T20:21:20.733Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s [2023-12-14T20:21:21.002Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.7s [2023-12-14T20:21:21.002Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2023-12-14T20:21:21.002Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.7s [2023-12-14T20:21:21.002Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done [2023-12-14T20:21:21.002Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s [2023-12-14T20:21:21.002Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.21MB / 97.63MB 0.8s [2023-12-14T20:21:21.002Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-14T20:21:21.272Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s [2023-12-14T20:21:21.272Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.0s [2023-12-14T20:21:21.272Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.1s [2023-12-14T20:21:21.272Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.1s [2023-12-14T20:21:21.272Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-14T20:21:21.541Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.3s [2023-12-14T20:21:21.541Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.74MB / 97.63MB 1.3s [2023-12-14T20:21:21.541Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s [2023-12-14T20:21:21.541Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.4s [2023-12-14T20:21:21.809Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done [2023-12-14T20:21:21.809Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.5s [2023-12-14T20:21:21.809Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.7s [2023-12-14T20:21:21.809Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-14T20:21:22.078Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 1.8s [2023-12-14T20:21:22.078Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 89.13MB / 97.63MB 1.9s [2023-12-14T20:21:22.347Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.40MB / 97.63MB 2.0s [2023-12-14T20:21:22.617Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done [2023-12-14T20:21:27.970Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s [2023-12-14T20:21:33.373Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s [2023-12-14T20:21:40.028Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.5s done [2023-12-14T20:21:40.615Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-14T20:21:40.615Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 [2023-12-14T20:21:40.882Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-14T20:21:40.882Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-14T20:21:46.224Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-14T20:21:49.568Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.5s done [2023-12-14T20:21:49.568Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2023-12-14T20:21:51.529Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done [2023-12-14T20:21:51.529Z] #4 DONE 31.2s [2023-12-14T20:21:51.529Z] [2023-12-14T20:21:51.529Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-14T20:21:52.114Z] #6 0.645 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T20:21:52.380Z] #6 1.012 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T20:21:53.338Z] #6 1.958 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-14T20:21:53.607Z] #6 1.984 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-14T20:21:53.607Z] #6 2.008 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-14T20:21:53.607Z] #6 2.090 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-14T20:21:53.607Z] #6 2.148 Executing busybox-1.36.1-r5.trigger [2023-12-14T20:21:53.607Z] #6 2.182 OK: 271 MiB in 56 packages [2023-12-14T20:21:55.552Z] #6 DONE 4.0s [2023-12-14T20:21:55.552Z] [2023-12-14T20:21:55.552Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-14T20:21:55.552Z] #7 DONE 0.1s [2023-12-14T20:21:55.552Z] [2023-12-14T20:21:55.552Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-14T20:21:55.552Z] #8 DONE 0.1s [2023-12-14T20:21:55.818Z] [2023-12-14T20:21:55.818Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T20:22:22.478Z] #9 DONE 22.8s [2023-12-14T20:22:22.478Z] [2023-12-14T20:22:22.478Z] #10 [builder 6/7] COPY . . [2023-12-14T20:22:22.478Z] #10 DONE 0.1s [2023-12-14T20:22:22.478Z] [2023-12-14T20:22:22.478Z] #11 [builder 7/7] RUN echo noop [2023-12-14T20:22:22.478Z] #11 0.621 noop [2023-12-14T20:22:22.478Z] #11 DONE 0.7s [2023-12-14T20:22:22.478Z] [2023-12-14T20:22:22.478Z] #12 exporting to image [2023-12-14T20:22:22.478Z] #12 exporting layers [2023-12-14T20:22:44.531Z] #12 exporting layers 22.3s done [2023-12-14T20:22:44.531Z] #12 writing image sha256:fb81b074986364f84897aefea046e7ee943a4dd46f5c77faedb69acc8c12a13d done [2023-12-14T20:22:44.531Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-14T20:22:44.531Z] #12 DONE 22.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:22:45.127Z] + docker inspect -f . ci-base-image-arm64 [2023-12-14T20:22:45.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:22:45.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-25067 does not seem to be running inside a container [2023-12-14T20:22:45.522Z] $ 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 [2023-12-14T20:22:46.609Z] $ docker top ec725c6ed7599104b0d23d33b33ea0eb73c796a9fdbb6c95d6164d2fcfc100b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T20:22:47.190Z] + go version [2023-12-14T20:22:47.190Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-14T20:22:47.222Z] $ docker stop --time=1 ec725c6ed7599104b0d23d33b33ea0eb73c796a9fdbb6c95d6164d2fcfc100b0 [2023-12-14T20:22:48.793Z] $ docker rm -f --volumes ec725c6ed7599104b0d23d33b33ea0eb73c796a9fdbb6c95d6164d2fcfc100b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:22:49.947Z] + docker inspect -f . ci-base-image-arm64 [2023-12-14T20:22:49.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:22:50.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-25067 does not seem to be running inside a container [2023-12-14T20:22:50.317Z] $ 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 [2023-12-14T20:22:51.228Z] $ docker top f0c1b57f6d783b8bb6b86678cc60dc9b8d173298832f29c137a8efd4f3f3ea38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T20:22:51.815Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-14T20:22:52.238Z] + make test [2023-12-14T20:22:52.238Z] go test ./... -coverprofile=coverage.out ./... [2023-12-14T20:22:56.502Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-14T20:23:52.915Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-14T20:23:52.915Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2023-12-14T20:23:52.915Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-14T20:23:52.915Z] go vet ./... [2023-12-14T20:24:01.134Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-14T20:24:01.134Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-14T20:24:01.134Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-14T20:24:01.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-14T20:24:01.506Z] $ docker stop --time=1 f0c1b57f6d783b8bb6b86678cc60dc9b8d173298832f29c137a8efd4f3f3ea38 [2023-12-14T20:24:03.393Z] $ docker rm -f --volumes f0c1b57f6d783b8bb6b86678cc60dc9b8d173298832f29c137a8efd4f3f3ea38 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-14T20:24:04.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-14T20:24:04.692Z] Warning: overwriting stash ‘coverage-report’ [2023-12-14T20:24:05.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-14T20:24:05.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-14T20:24:06.260Z] + ls -al . [2023-12-14T20:24:06.260Z] total 176 [2023-12-14T20:24:06.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:22 . [2023-12-14T20:24:06.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:20 .. [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 20:20 .dockerignore [2023-12-14T20:24:06.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:20 .git [2023-12-14T20:24:06.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:20 .github [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 14 20:20 .gitignore [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 20:20 .golangci.yml [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 14 20:20 Attribution.txt [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 14 20:20 CHANGELOG.md [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 14 20:20 Dockerfile [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 20:20 GOVERNANCE.md [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 20:20 Jenkinsfile [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 20:20 LICENSE [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 14 20:20 Makefile [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 20:20 OWNERS.md [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 14 20:20 README.md [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 20:18 VERSION [2023-12-14T20:24:06.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:20 bin [2023-12-14T20:24:06.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:20 cmd [2023-12-14T20:24:06.260Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 14 20:23 coverage.out [2023-12-14T20:24:06.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:20 driver [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 14 20:20 go.mod [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 14 20:20 go.sum [2023-12-14T20:24:06.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:20 openapi [2023-12-14T20:24:06.260Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:24:06.759Z] + 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=66635c1e5c587fcd8409417b619d074d39d777e2 --label arch=arm64 --label version=0.0.0 . [2023-12-14T20:24:07.346Z] #0 building with "default" instance using docker driver [2023-12-14T20:24:07.346Z] [2023-12-14T20:24:07.346Z] #1 [internal] load .dockerignore [2023-12-14T20:24:07.346Z] #1 transferring context: 193B done [2023-12-14T20:24:07.346Z] #1 DONE 0.0s [2023-12-14T20:24:07.346Z] [2023-12-14T20:24:07.346Z] #2 [internal] load build definition from Dockerfile [2023-12-14T20:24:07.346Z] #2 transferring dockerfile: 1.73kB done [2023-12-14T20:24:07.613Z] #2 DONE 0.0s [2023-12-14T20:24:07.613Z] [2023-12-14T20:24:07.613Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-14T20:24:07.613Z] #3 DONE 0.0s [2023-12-14T20:24:07.613Z] [2023-12-14T20:24:07.613Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-14T20:24:07.883Z] #4 DONE 0.3s [2023-12-14T20:24:07.883Z] [2023-12-14T20:24:07.883Z] #5 [internal] load build context [2023-12-14T20:24:07.883Z] #5 transferring context: 16.04kB 0.0s done [2023-12-14T20:24:07.883Z] #5 DONE 0.1s [2023-12-14T20:24:07.883Z] [2023-12-14T20:24:07.883Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T20:24:07.883Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-14T20:24:07.883Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-14T20:24:07.883Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-14T20:24:07.883Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-14T20:24:07.883Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-14T20:24:08.157Z] #6 ... [2023-12-14T20:24:08.157Z] [2023-12-14T20:24:08.157Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-14T20:24:08.157Z] #7 DONE 0.2s [2023-12-14T20:24:08.157Z] [2023-12-14T20:24:08.157Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-14T20:24:08.157Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-14T20:24:08.157Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-14T20:24:08.426Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2023-12-14T20:24:08.810Z] #6 DONE 0.9s [2023-12-14T20:24:08.810Z] [2023-12-14T20:24:08.810Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-14T20:24:09.394Z] #8 0.656 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T20:24:09.662Z] #8 0.980 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T20:24:10.623Z] #8 2.013 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-14T20:24:10.623Z] #8 2.026 Executing busybox-1.36.1-r5.trigger [2023-12-14T20:24:10.623Z] #8 2.050 OK: 8 MiB in 16 packages [2023-12-14T20:24:12.565Z] #8 DONE 3.6s [2023-12-14T20:24:12.565Z] [2023-12-14T20:24:12.565Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-14T20:24:12.565Z] #9 0.663 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T20:24:12.565Z] #9 1.092 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T20:24:12.565Z] #9 2.202 OK: 271 MiB in 56 packages [2023-12-14T20:24:12.565Z] #9 DONE 4.3s [2023-12-14T20:24:12.565Z] [2023-12-14T20:24:12.565Z] #10 [builder 3/7] WORKDIR /device-rest-go [2023-12-14T20:24:12.565Z] #10 DONE 0.1s [2023-12-14T20:24:12.565Z] [2023-12-14T20:24:12.565Z] #11 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-14T20:24:12.565Z] #11 ... [2023-12-14T20:24:12.565Z] [2023-12-14T20:24:12.565Z] #12 [builder 4/7] COPY go.mod vendor* ./ [2023-12-14T20:24:12.565Z] #12 DONE 0.2s [2023-12-14T20:24:12.833Z] [2023-12-14T20:24:12.833Z] #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-14T20:24:14.303Z] #13 DONE 1.3s [2023-12-14T20:24:14.303Z] [2023-12-14T20:24:14.303Z] #14 [builder 6/7] COPY . . [2023-12-14T20:24:14.303Z] #14 DONE 0.1s [2023-12-14T20:24:14.303Z] [2023-12-14T20:24:14.303Z] #15 [builder 7/7] RUN make build [2023-12-14T20:24:14.894Z] #15 0.711 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.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-14T20:24:15.163Z] #15 ... [2023-12-14T20:24:15.163Z] [2023-12-14T20:24:15.163Z] #11 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-14T20:24:15.163Z] #11 1.078 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-14T20:24:15.163Z] #11 1.404 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-14T20:24:15.163Z] #11 2.552 OK: 8 MiB in 16 packages [2023-12-14T20:24:15.163Z] #11 DONE 2.9s [2023-12-14T20:24:15.430Z] [2023-12-14T20:24:15.430Z] #15 [builder 7/7] RUN make build [2023-12-14T20:25:23.299Z] #15 DONE 59.4s [2023-12-14T20:25:23.299Z] [2023-12-14T20:25:23.299Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-14T20:25:23.299Z] #16 DONE 0.3s [2023-12-14T20:25:23.299Z] [2023-12-14T20:25:23.299Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-14T20:25:23.299Z] #17 DONE 0.1s [2023-12-14T20:25:23.299Z] [2023-12-14T20:25:23.299Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-14T20:25:23.299Z] #18 DONE 0.1s [2023-12-14T20:25:23.299Z] [2023-12-14T20:25:23.299Z] #19 exporting to image [2023-12-14T20:25:23.299Z] #19 exporting layers [2023-12-14T20:25:23.299Z] #19 exporting layers 0.3s done [2023-12-14T20:25:23.299Z] #19 writing image sha256:6fdf688b46e9d9cdb81305c60e8fbc7927d10252521ded949b211f591ee39e33 done [2023-12-14T20:25:23.299Z] #19 naming to docker.io/library/device-rest-arm64 done [2023-12-14T20:25:23.299Z] #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:25:24.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-14T20:25:24.555Z] [2023-12-14T20:25:24.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:25:25.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-14T20:25:25.035Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-14T20:25:25.035Z] 8998bd30e6a1: Pulling fs layer [2023-12-14T20:25:25.035Z] 04944245beec: Pulling fs layer [2023-12-14T20:25:25.035Z] 699f458cf7ca: Pulling fs layer [2023-12-14T20:25:25.035Z] 765212b225bb: Pulling fs layer [2023-12-14T20:25:25.035Z] f23df028b6ca: Pulling fs layer [2023-12-14T20:25:25.035Z] d65c8cfc05b1: Pulling fs layer [2023-12-14T20:25:25.035Z] 2437ff75d9bd: Pulling fs layer [2023-12-14T20:25:25.035Z] f23df028b6ca: Waiting [2023-12-14T20:25:25.035Z] d65c8cfc05b1: Waiting [2023-12-14T20:25:25.035Z] 2437ff75d9bd: Waiting [2023-12-14T20:25:25.035Z] 765212b225bb: Waiting [2023-12-14T20:25:25.306Z] 04944245beec: Verifying Checksum [2023-12-14T20:25:25.306Z] 04944245beec: Download complete [2023-12-14T20:25:25.306Z] 765212b225bb: Verifying Checksum [2023-12-14T20:25:25.595Z] f23df028b6ca: Verifying Checksum [2023-12-14T20:25:25.595Z] f23df028b6ca: Download complete [2023-12-14T20:25:25.862Z] d65c8cfc05b1: Verifying Checksum [2023-12-14T20:25:25.862Z] d65c8cfc05b1: Download complete [2023-12-14T20:25:25.862Z] 699f458cf7ca: Verifying Checksum [2023-12-14T20:25:25.862Z] 699f458cf7ca: Download complete [2023-12-14T20:25:26.129Z] 8998bd30e6a1: Verifying Checksum [2023-12-14T20:25:26.129Z] 8998bd30e6a1: Download complete [2023-12-14T20:25:28.070Z] 2437ff75d9bd: Verifying Checksum [2023-12-14T20:25:28.070Z] 2437ff75d9bd: Download complete [2023-12-14T20:25:32.318Z] 8998bd30e6a1: Pull complete [2023-12-14T20:25:32.585Z] 04944245beec: Pull complete [2023-12-14T20:25:34.528Z] 699f458cf7ca: Pull complete [2023-12-14T20:25:34.528Z] 765212b225bb: Pull complete [2023-12-14T20:25:35.489Z] f23df028b6ca: Pull complete [2023-12-14T20:25:35.489Z] d65c8cfc05b1: Pull complete [2023-12-14T20:26:02.173Z] 2437ff75d9bd: Pull complete [2023-12-14T20:26:02.173Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-14T20:26:02.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-14T20:26:02.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:26:02.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-25067 does not seem to be running inside a container [2023-12-14T20:26:02.706Z] $ 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 [2023-12-14T20:26:04.769Z] $ docker top 3793b6cb4a4ff24cf729c7fb33f84e437aef6322ce3f2bc0180413a78669c7f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:05.533Z] ---> job-cost.sh [2023-12-14T20:26:05.806Z] lf-activate-venv: SKIPPING [2023-12-14T20:26:05.806Z] INFO: No Stack... [2023-12-14T20:26:06.076Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-14T20:26:07.055Z] INFO: Archiving Costs [Pipeline] sh [2023-12-14T20:26:07.403Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-12-14T20:26:07.403Z] + cut -d, -f6 [Pipeline] lock [2023-12-14T20:26:07.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [2023-12-14T20:26:07.490Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] did not exist. Created. [2023-12-14T20:26:07.490Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-14T20:26:07.996Z] /w/workspace/device-rest-go/1@tmp/durable-8596b3a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-14T20:26:08.345Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-14T20:26:08.382Z] Warning: overwriting stash ‘stack-cost’ [2023-12-14T20:26:08.430Z] Stashed 1 file(s) [Pipeline] } [2023-12-14T20:26:08.465Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-374-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-14T20:26:08.636Z] $ docker stop --time=1 3793b6cb4a4ff24cf729c7fb33f84e437aef6322ce3f2bc0180413a78669c7f0 [2023-12-14T20:26:10.036Z] $ docker rm -f --volumes 3793b6cb4a4ff24cf729c7fb33f84e437aef6322ce3f2bc0180413a78669c7f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-12-14T20:26:11.963Z] provisioning config files... [2023-12-14T20:26:11.971Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config10289554882583891253tmp [Pipeline] { [Pipeline] sh [2023-12-14T20:26:12.388Z] + set +x [2023-12-14T20:26:12.388Z] + + bash -scurl -- -s [2023-12-14T20:26:12.388Z] https://codecov.io/bash [2023-12-14T20:26:12.388Z] [2023-12-14T20:26:12.388Z] _____ _ [2023-12-14T20:26:12.388Z] / ____| | | [2023-12-14T20:26:12.388Z] | | ___ __| | ___ ___ _____ __ [2023-12-14T20:26:12.388Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-14T20:26:12.388Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-14T20:26:12.388Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-14T20:26:12.388Z] Bash-1.0.6 [2023-12-14T20:26:12.388Z] [2023-12-14T20:26:12.388Z] [2023-12-14T20:26:12.388Z] ==> git version 2.25.1 found [2023-12-14T20:26:12.388Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-12-14T20:26:12.388Z] Release-Date: 2020-01-08 [2023-12-14T20:26:12.388Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-14T20:26:12.388Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-14T20:26:12.388Z] ==> Jenkins CI detected. [2023-12-14T20:26:12.388Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-374 [2023-12-14T20:26:12.388Z] project root: . [2023-12-14T20:26:12.388Z] --> token set from env [2023-12-14T20:26:12.388Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-14T20:26:12.388Z] ==> Running gcov in . (disable via -X gcov) [2023-12-14T20:26:12.388Z] ==> Python coveragepy not found [2023-12-14T20:26:12.388Z] ==> Searching for coverage reports in: [2023-12-14T20:26:12.388Z] + . [2023-12-14T20:26:12.388Z] -> Found 1 reports [2023-12-14T20:26:12.388Z] ==> Detecting git/mercurial file structure [2023-12-14T20:26:12.646Z] ==> Reading reports [2023-12-14T20:26:12.646Z] + ./coverage.out bytes=14499 [2023-12-14T20:26:12.646Z] ==> Appending adjustments [2023-12-14T20:26:12.646Z] https://docs.codecov.io/docs/fixing-reports [2023-12-14T20:26:12.646Z] + Found adjustments [2023-12-14T20:26:12.646Z] ==> Gzipping contents [2023-12-14T20:26:12.646Z] 4.0K /tmp/codecov.GEtfA0.gz [2023-12-14T20:26:12.646Z] ==> Uploading reports [2023-12-14T20:26:12.646Z] url: https://codecov.io [2023-12-14T20:26:12.646Z] query: branch=PR-374&commit=66635c1e5c587fcd8409417b619d074d39d777e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-374%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=374&job=&cmd_args= [2023-12-14T20:26:12.646Z] -> Pinging Codecov [2023-12-14T20:26:12.646Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-374&commit=66635c1e5c587fcd8409417b619d074d39d777e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-374%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=374&job=&cmd_args= [2023-12-14T20:26:12.646Z] -> Uploading to [2023-12-14T20:26:12.646Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-14/4E5D53B4F1F92C436F7061BF334D961C/66635c1e5c587fcd8409417b619d074d39d777e2/2ab75ab1-e59a-453c-9dda-d0863e9569d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231214T202612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d80e442582591d66382e97d622ab79e81eae2b8139dbc788a35a06590ee8082c [2023-12-14T20:26:12.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-14T20:26:12.646Z] Dload Upload Total Spent Left Speed [2023-12-14T20:26:12.905Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9793 --:--:-- --:--:-- --:--:-- 9793 [2023-12-14T20:26:12.905Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/66635c1e5c587fcd8409417b619d074d39d777e2 [Pipeline] } [2023-12-14T20:26:12.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-14T20:26:16.095Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-374/archives ] [2023-12-14T20:26:16.095Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-374/archives [2023-12-14T20:26:16.095Z] total 16 [2023-12-14T20:26:16.095Z] drwxr-xr-x 3 root root 4096 Dec 14 20:20 . [2023-12-14T20:26:16.095Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 20:20 .. [2023-12-14T20:26:16.095Z] drwxr-xr-x 2 root root 4096 Dec 14 20:20 cost [2023-12-14T20:26:16.095Z] -rw-r--r-- 1 root root 87 Dec 14 20:20 cost.csv [2023-12-14T20:26:16.095Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-374/archives [2023-12-14T20:26:16.095Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-374/archives [2023-12-14T20:26:16.095Z] total 16 [2023-12-14T20:26:16.095Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 20:20 . [2023-12-14T20:26:16.095Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 20:20 .. [2023-12-14T20:26:16.095Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 20:20 cost [2023-12-14T20:26:16.096Z] -rw-r--r-- 1 jenkins jenkins 87 Dec 14 20:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:16.418Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:17.151Z] ---> package-listing.sh [2023-12-14T20:26:17.151Z] ++ facter osfamily [2023-12-14T20:26:17.151Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-14T20:26:17.410Z] + OS_FAMILY=debian [2023-12-14T20:26:17.410Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-374 [2023-12-14T20:26:17.410Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-14T20:26:17.410Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-14T20:26:17.410Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-14T20:26:17.410Z] + PACKAGES=/tmp/packages_start.txt [2023-12-14T20:26:17.410Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-374 ']' [2023-12-14T20:26:17.410Z] + PACKAGES=/tmp/packages_end.txt [2023-12-14T20:26:17.410Z] + case "${OS_FAMILY}" in [2023-12-14T20:26:17.410Z] + dpkg -l [2023-12-14T20:26:17.410Z] + grep '^ii' [2023-12-14T20:26:17.410Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-14T20:26:17.410Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-14T20:26:17.410Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-14T20:26:17.410Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-374 ']' [2023-12-14T20:26:17.411Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-374/archives/ [2023-12-14T20:26:17.411Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-374/archives/ [Pipeline] echo [2023-12-14T20:26:17.448Z] 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-374/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-14T20:26:17.738Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-14T20:26:18.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-14T20:26:18.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-14T20:26:18.660Z] prd-ubuntu20.04-docker-8c-8g-25063 does not seem to be running inside a container [2023-12-14T20:26:18.688Z] $ 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-374/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-374 -v /w/workspace/gexfoundry_device-rest-go_PR-374:/w/workspace/gexfoundry_device-rest-go_PR-374:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-374@tmp:/w/workspace/gexfoundry_device-rest-go_PR-374@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 [2023-12-14T20:26:18.896Z] $ docker top 9c6abfeb8ae8232130cb6f80cef4a8dcf7ea6c698fcf6b2fa83813ea5d99c88f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-14T20:26:19.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-14T20:26:19.680Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-14T20:26:19.988Z] + ls /var/log/sa-host [2023-12-14T20:26:19.988Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-14T20:26:20.248Z] provisioning config files... [2023-12-14T20:26:20.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-374@tmp/config528066296222182715tmp [Pipeline] { [Pipeline] echo [2023-12-14T20:26:20.409Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:20.719Z] ---> create-netrc.sh [Pipeline] } [2023-12-14T20:26:20.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:21.246Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-14T20:26:21.283Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:21.589Z] ---> sudo-logs.sh [2023-12-14T20:26:21.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-14T20:26:21.721Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:22.034Z] ---> job-cost.sh [2023-12-14T20:26:22.034Z] lf-activate-venv: SKIPPING [2023-12-14T20:26:22.034Z] DEBUG: total: 0.4399999976158142 [2023-12-14T20:26:22.034Z] INFO: Retrieving Stack Cost... [2023-12-14T20:26:22.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-14T20:26:22.553Z] INFO: Archiving Costs [Pipeline] echo [2023-12-14T20:26:22.587Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-14T20:26:22.899Z] ---> logs-deploy.sh [2023-12-14T20:26:22.899Z] lf-activate-venv: SKIPPING [2023-12-14T20:26:22.899Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-374/1 [2023-12-14T20:26:22.899Z] INFO: archiving workspace using pattern(s): [2023-12-14T20:26:23.838Z] Archives upload complete. [2023-12-14T20:26:23.838Z] INFO: archiving logs to Nexus