Pull request #386 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab41e8f33476a8c2c47907bc44ee565bca43bd9a+b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc (48dd00c85beaa383b8f7bca081c5cc352ee2e6db) 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-ssh6698275600485376948.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-ssh4537087349966846312.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-386/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-386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3912803861307691671.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-386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18394881459559720784.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-ssh3498029003258428810.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-386/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-386/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14154785591503527795.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-94 in /w/workspace/gexfoundry_device-rest-go_PR-386 [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-386 # 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 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc into PR head commit ab41e8f33476a8c2c47907bc44ee565bca43bd9a Merge succeeded, producing ab41e8f33476a8c2c47907bc44ee565bca43bd9a Checking out Revision ab41e8f33476a8c2c47907bc44ee565bca43bd9a (PR-386) 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/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab41e8f33476a8c2c47907bc44ee565bca43bd9a # 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 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab41e8f33476a8c2c47907bc44ee565bca43bd9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-15T20:55:30.415Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-15T20:55:30.599Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-15T20:55:30.706Z] ========================================================= [2024-03-15T20:55:30.706Z] EdgeX Global Pipelines Version Info [2024-03-15T20:55:30.706Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-15T20:55:31.457Z] ------------------- [2024-03-15T20:55:31.457Z] stable info: [2024-03-15T20:55:31.457Z] ------------------- [2024-03-15T20:55:31.457Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-15T20:55:31.457Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T20:55:31.457Z] Message: update stable to v1.0.258 [2024-03-15T20:55:32.032Z] ------------------- [2024-03-15T20:55:32.032Z] experimental info: [2024-03-15T20:55:32.032Z] ------------------- [2024-03-15T20:55:32.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-15T20:55:32.032Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T20:55:32.032Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-15T20:55:32.249Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-03-15T20:55:32.302Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-03-15T20:55:32.351Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-15T20:55:32.404Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-15T20:55:32.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-15T20:55:32.507Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-15T20:55:32.552Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-15T20:55:32.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-15T20:55:32.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-15T20:55:32.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-15T20:55:32.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-15T20:55:32.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-03-15T20:55:32.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-15T20:55:32.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-15T20:55:32.963Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-15T20:55:33.016Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-15T20:55:33.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T20:55:33.129Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T20:55:33.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-15T20:55:33.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-15T20:55:33.277Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-15T20:55:33.324Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-15T20:55:33.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-15T20:55:33.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-15T20:55:33.476Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-15T20:55:33.531Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-15T20:55:33.584Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-15T20:55:33.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-386 [Pipeline] echo [2024-03-15T20:55:33.680Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-386 [Pipeline] echo [2024-03-15T20:55:33.722Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-386 [Pipeline] echo [2024-03-15T20:55:33.771Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab41e8f33476a8c2c47907bc44ee565bca43bd9a [Pipeline] echo [2024-03-15T20:55:33.816Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab41e8f [Pipeline] echo [2024-03-15T20:55:33.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T20:55:34.001Z] provisioning config files... [2024-03-15T20:55:34.016Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp/config9727882414407575378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T20:55:34.415Z] ---> ****-login.sh [2024-03-15T20:55:34.415Z] nexus3.edgexfoundry.org:10001 [2024-03-15T20:55:34.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:36.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:36.056Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:36.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:36.057Z] [2024-03-15T20:55:36.057Z] Login Succeeded [2024-03-15T20:55:36.057Z] nexus3.edgexfoundry.org:10002 [2024-03-15T20:55:36.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:36.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:36.057Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:36.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:36.057Z] [2024-03-15T20:55:36.057Z] Login Succeeded [2024-03-15T20:55:36.057Z] nexus3.edgexfoundry.org:10003 [2024-03-15T20:55:36.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:36.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:36.057Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:36.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:36.057Z] [2024-03-15T20:55:36.057Z] Login Succeeded [2024-03-15T20:55:36.057Z] nexus3.edgexfoundry.org:10004 [2024-03-15T20:55:36.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:36.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:36.057Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:36.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:36.057Z] [2024-03-15T20:55:36.057Z] Login Succeeded [2024-03-15T20:55:36.057Z] ****.io [2024-03-15T20:55:36.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:36.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:36.579Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:36.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:36.579Z] [2024-03-15T20:55:36.579Z] Login Succeeded [2024-03-15T20:55:36.579Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T20:55:36.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-15T20:55:37.305Z] + git rev-list -1 --merges ab41e8f33476a8c2c47907bc44ee565bca43bd9a~1..ab41e8f33476a8c2c47907bc44ee565bca43bd9a [Pipeline] echo [2024-03-15T20:55:37.340Z] -----------> git rev-list -1 --merges ab41e8f33476a8c2c47907bc44ee565bca43bd9a~1..ab41e8f33476a8c2c47907bc44ee565bca43bd9a ab41e8f33476a8c2c47907bc44ee565bca43bd9a [false] [Pipeline] sh [2024-03-15T20:55:37.672Z] + git log --format=format:%s -1 ab41e8f33476a8c2c47907bc44ee565bca43bd9a [Pipeline] echo [2024-03-15T20:55:37.702Z] ========================================================= [2024-03-15T20:55:37.702Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-15T20:55:37.702Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T20:55:38.143Z] + git log --format=format:%s -1 ab41e8f33476a8c2c47907bc44ee565bca43bd9a [Pipeline] echo [2024-03-15T20:55:38.175Z] [semverPrep] GIT_COMMIT: ab41e8f33476a8c2c47907bc44ee565bca43bd9a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-15T20:55:38.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-15T20:55:38.617Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-15T20:55:38.617Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-15T20:55:38.617Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-15T20:55:38.617Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-15T20:55:38.617Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-15T20:55:38.617Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-15T20:55:38.617Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:55:39.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T20:55:39.121Z] [2024-03-15T20:55:39.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:55:39.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T20:55:39.496Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-15T20:55:39.496Z] b85a868b505f: Pulling fs layer [2024-03-15T20:55:39.496Z] e2be974225ed: Pulling fs layer [2024-03-15T20:55:39.496Z] 339a4e72a1f5: Pulling fs layer [2024-03-15T20:55:39.496Z] 988bab9f4d93: Pulling fs layer [2024-03-15T20:55:39.496Z] 1469e6f7b9e6: Pulling fs layer [2024-03-15T20:55:39.496Z] eaf3925da568: Pulling fs layer [2024-03-15T20:55:39.496Z] bab4dde63d76: Pulling fs layer [2024-03-15T20:55:39.496Z] bde34c3a00c8: Pulling fs layer [2024-03-15T20:55:39.496Z] b352a97aabf1: Pulling fs layer [2024-03-15T20:55:39.496Z] 4872d77fe225: Pulling fs layer [2024-03-15T20:55:39.496Z] 5851b861e8e6: Pulling fs layer [2024-03-15T20:55:39.496Z] b352a97aabf1: Waiting [2024-03-15T20:55:39.496Z] 4872d77fe225: Waiting [2024-03-15T20:55:39.496Z] 5851b861e8e6: Waiting [2024-03-15T20:55:39.496Z] 1469e6f7b9e6: Waiting [2024-03-15T20:55:39.496Z] eaf3925da568: Waiting [2024-03-15T20:55:39.496Z] bab4dde63d76: Waiting [2024-03-15T20:55:39.496Z] 988bab9f4d93: Waiting [2024-03-15T20:55:39.496Z] bde34c3a00c8: Waiting [2024-03-15T20:55:39.496Z] e2be974225ed: Verifying Checksum [2024-03-15T20:55:39.496Z] e2be974225ed: Download complete [2024-03-15T20:55:39.496Z] 988bab9f4d93: Download complete [2024-03-15T20:55:39.755Z] 1469e6f7b9e6: Verifying Checksum [2024-03-15T20:55:39.755Z] 1469e6f7b9e6: Download complete [2024-03-15T20:55:39.755Z] eaf3925da568: Verifying Checksum [2024-03-15T20:55:39.755Z] eaf3925da568: Download complete [2024-03-15T20:55:39.755Z] 339a4e72a1f5: Verifying Checksum [2024-03-15T20:55:39.755Z] 339a4e72a1f5: Download complete [2024-03-15T20:55:39.755Z] bde34c3a00c8: Verifying Checksum [2024-03-15T20:55:39.755Z] bde34c3a00c8: Download complete [2024-03-15T20:55:39.755Z] b352a97aabf1: Download complete [2024-03-15T20:55:39.755Z] 4872d77fe225: Verifying Checksum [2024-03-15T20:55:39.755Z] 4872d77fe225: Download complete [2024-03-15T20:55:39.755Z] 5851b861e8e6: Verifying Checksum [2024-03-15T20:55:39.755Z] 5851b861e8e6: Download complete [2024-03-15T20:55:39.755Z] b85a868b505f: Verifying Checksum [2024-03-15T20:55:39.755Z] b85a868b505f: Download complete [2024-03-15T20:55:40.012Z] bab4dde63d76: Download complete [2024-03-15T20:55:40.950Z] b85a868b505f: Pull complete [2024-03-15T20:55:40.950Z] e2be974225ed: Pull complete [2024-03-15T20:55:41.517Z] 339a4e72a1f5: Pull complete [2024-03-15T20:55:41.517Z] 988bab9f4d93: Pull complete [2024-03-15T20:55:41.776Z] 1469e6f7b9e6: Pull complete [2024-03-15T20:55:41.776Z] eaf3925da568: Pull complete [2024-03-15T20:55:43.685Z] bab4dde63d76: Pull complete [2024-03-15T20:55:43.685Z] bde34c3a00c8: Pull complete [2024-03-15T20:55:43.685Z] b352a97aabf1: Pull complete [2024-03-15T20:55:43.685Z] 4872d77fe225: Pull complete [2024-03-15T20:55:43.685Z] 5851b861e8e6: Pull complete [2024-03-15T20:55:43.685Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-15T20:55:43.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T20:55:43.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T20:55:43.959Z] prd-ubuntu20.04-docker-8c-8g-94 does not seem to be running inside a container [2024-03-15T20:55:43.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-386 -v /w/workspace/gexfoundry_device-rest-go_PR-386:/w/workspace/gexfoundry_device-rest-go_PR-386:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-386@tmp:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-15T20:55:47.545Z] $ docker top 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c -eo pid,comm [2024-03-15T20:55:47.594Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-15T20:55:47.594Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-15T20:55:47.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-15T20:55:47.737Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-15T20:55:47.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-15T20:55:47.846Z] $ docker exec 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c ssh-agent [2024-03-15T20:55:47.946Z] SSH_AUTH_SOCK=/tmp/ssh-XMqKXuizGOJM/agent.32 [2024-03-15T20:55:47.946Z] SSH_AGENT_PID=38 [2024-03-15T20:55:47.953Z] Running ssh-add (command line suppressed) [2024-03-15T20:55:48.061Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-386@tmp/private_key_5594979597425955792.key (/w/workspace/gexfoundry_device-rest-go_PR-386@tmp/private_key_5594979597425955792.key) [2024-03-15T20:55:48.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-15T20:55:48.409Z] + git tag --points-at HEAD [Pipeline] } [2024-03-15T20:55:48.439Z] $ docker exec --env ******** --env ******** 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c ssh-agent -k [2024-03-15T20:55:48.533Z] unset SSH_AUTH_SOCK; [2024-03-15T20:55:48.533Z] unset SSH_AGENT_PID; [2024-03-15T20:55:48.533Z] echo Agent pid 38 killed; [2024-03-15T20:55:48.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-15T20:55:48.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-15T20:55:48.649Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-15T20:55:48.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-15T20:55:48.769Z] $ docker exec 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c ssh-agent [2024-03-15T20:55:48.862Z] SSH_AUTH_SOCK=/tmp/ssh-UMUUiX90dNsB/agent.72 [2024-03-15T20:55:48.862Z] SSH_AGENT_PID=78 [2024-03-15T20:55:48.866Z] Running ssh-add (command line suppressed) [2024-03-15T20:55:48.982Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-386@tmp/private_key_7462890327767703969.key (/w/workspace/gexfoundry_device-rest-go_PR-386@tmp/private_key_7462890327767703969.key) [2024-03-15T20:55:48.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-15T20:55:49.322Z] + git semver init [2024-03-15T20:55:49.581Z] 2024-03-15 20:55:49,504 [run_init] DEBUG init version:0.0.0 force:False [2024-03-15T20:55:49.581Z] 2024-03-15 20:55:49,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-386/.semver [2024-03-15T20:55:49.581Z] 2024-03-15 20:55:49,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-386/.semver [2024-03-15T20:55:49.581Z] 2024-03-15 20:55:49,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-386/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-386, universal_newlines=False, shell=None, istream=None) [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,913 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-386/.git/info/exclude [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-386/.semver/PR-386 with force:False [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,914 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-386/.semver/PR-386 [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,918 [execute] INFO git cat-file --batch-check [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-386/.semver, universal_newlines=False, shell=None, istream=) [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,925 [execute] INFO git cat-file --batch [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-386/.semver, universal_newlines=False, shell=None, istream=) [2024-03-15T20:55:50.959Z] 2024-03-15 20:55:50,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-386/.semver/PR-386 [2024-03-15T20:55:50.959Z] 0.0.0 [Pipeline] } [2024-03-15T20:55:50.985Z] $ docker exec --env ******** --env ******** 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c ssh-agent -k [2024-03-15T20:55:51.088Z] unset SSH_AUTH_SOCK; [2024-03-15T20:55:51.089Z] unset SSH_AGENT_PID; [2024-03-15T20:55:51.089Z] echo Agent pid 78 killed; [2024-03-15T20:55:51.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-15T20:55:51.524Z] + git semver [Pipeline] } [2024-03-15T20:55:51.813Z] $ docker stop --time=1 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c [2024-03-15T20:55:53.104Z] $ docker rm -f --volumes 6f8947886c34b137f0a89b42603ccffb8f5bbba1b42bddd7b13de92b933cb95c [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T20:55:53.517Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-15T20:55:53.797Z] Stashed 1 file(s) [Pipeline] echo [2024-03-15T20:55:53.814Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T20:55:54.438Z] provisioning config files... [2024-03-15T20:55:54.449Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp/config17164461837640345214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T20:55:54.808Z] ---> ****-login.sh [2024-03-15T20:55:54.808Z] nexus3.edgexfoundry.org:10001 [2024-03-15T20:55:54.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:54.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:54.808Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:54.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:54.808Z] [2024-03-15T20:55:54.808Z] Login Succeeded [2024-03-15T20:55:54.808Z] nexus3.edgexfoundry.org:10002 [2024-03-15T20:55:54.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:54.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:54.808Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:54.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:54.808Z] [2024-03-15T20:55:54.808Z] Login Succeeded [2024-03-15T20:55:54.808Z] nexus3.edgexfoundry.org:10003 [2024-03-15T20:55:55.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:55.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:55.069Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:55.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:55.069Z] [2024-03-15T20:55:55.069Z] Login Succeeded [2024-03-15T20:55:55.069Z] nexus3.edgexfoundry.org:10004 [2024-03-15T20:55:55.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:55.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:55.069Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:55.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:55.069Z] [2024-03-15T20:55:55.069Z] Login Succeeded [2024-03-15T20:55:55.069Z] ****.io [2024-03-15T20:55:55.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:55:55.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:55:55.329Z] Configure a credential helper to remove this warning. See [2024-03-15T20:55:55.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:55:55.329Z] [2024-03-15T20:55:55.329Z] Login Succeeded [2024-03-15T20:55:55.329Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T20:55:55.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-15T20:55:55.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T20:55:55.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T20:55:55.645Z] ========================================================= [2024-03-15T20:55:55.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-15T20:55:55.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:55:56.130Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-15T20:55:56.130Z] Sending build context to Docker daemon 16.34MB [2024-03-15T20:55:56.130Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T20:55:56.130Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-15T20:55:56.130Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-15T20:55:56.130Z] 7264a8db6415: Pulling fs layer [2024-03-15T20:55:56.130Z] c4d48a809fc2: Pulling fs layer [2024-03-15T20:55:56.130Z] 4f1c88b9dad5: Pulling fs layer [2024-03-15T20:55:56.130Z] ad3a456e5733: Pulling fs layer [2024-03-15T20:55:56.130Z] 69c7f0334f64: Pulling fs layer [2024-03-15T20:55:56.130Z] 1f1c1a5573a3: Pulling fs layer [2024-03-15T20:55:56.130Z] ce7588e14bc9: Pulling fs layer [2024-03-15T20:55:56.130Z] b5e4710f87ac: Pulling fs layer [2024-03-15T20:55:56.130Z] ad3a456e5733: Waiting [2024-03-15T20:55:56.130Z] 69c7f0334f64: Waiting [2024-03-15T20:55:56.130Z] 1f1c1a5573a3: Waiting [2024-03-15T20:55:56.130Z] ce7588e14bc9: Waiting [2024-03-15T20:55:56.130Z] b5e4710f87ac: Waiting [2024-03-15T20:55:56.130Z] c4d48a809fc2: Verifying Checksum [2024-03-15T20:55:56.130Z] c4d48a809fc2: Download complete [2024-03-15T20:55:56.388Z] ad3a456e5733: Verifying Checksum [2024-03-15T20:55:56.388Z] ad3a456e5733: Download complete [2024-03-15T20:55:56.388Z] 69c7f0334f64: Verifying Checksum [2024-03-15T20:55:56.388Z] 69c7f0334f64: Download complete [2024-03-15T20:55:56.388Z] 7264a8db6415: Verifying Checksum [2024-03-15T20:55:56.388Z] 7264a8db6415: Download complete [2024-03-15T20:55:56.388Z] 1f1c1a5573a3: Verifying Checksum [2024-03-15T20:55:56.388Z] 1f1c1a5573a3: Download complete [2024-03-15T20:55:56.388Z] 7264a8db6415: Pull complete [2024-03-15T20:55:56.647Z] b5e4710f87ac: Verifying Checksum [2024-03-15T20:55:56.647Z] b5e4710f87ac: Download complete [2024-03-15T20:55:56.647Z] c4d48a809fc2: Pull complete [2024-03-15T20:55:56.647Z] 4f1c88b9dad5: Verifying Checksum [2024-03-15T20:55:56.647Z] 4f1c88b9dad5: Download complete [2024-03-15T20:55:57.213Z] ce7588e14bc9: Verifying Checksum [2024-03-15T20:55:57.213Z] ce7588e14bc9: Download complete [2024-03-15T20:55:59.741Z] 4f1c88b9dad5: Pull complete [2024-03-15T20:55:59.741Z] ad3a456e5733: Pull complete [2024-03-15T20:55:59.741Z] 69c7f0334f64: Pull complete [2024-03-15T20:55:59.998Z] 1f1c1a5573a3: Pull complete [2024-03-15T20:56:01.939Z] ce7588e14bc9: Pull complete [2024-03-15T20:56:02.512Z] b5e4710f87ac: Pull complete [2024-03-15T20:56:02.512Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-15T20:56:02.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-15T20:56:02.512Z] ---> 88b5674ff536 [2024-03-15T20:56:02.512Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-15T20:56:09.083Z] ---> Running in bac7868e1a4f [2024-03-15T20:56:09.083Z] Removing intermediate container bac7868e1a4f [2024-03-15T20:56:09.083Z] ---> c2e89b37c9de [2024-03-15T20:56:09.083Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T20:56:09.083Z] ---> Running in 4aa8ae2ed04c [2024-03-15T20:56:09.083Z] Removing intermediate container 4aa8ae2ed04c [2024-03-15T20:56:09.083Z] ---> 8985ede24f05 [2024-03-15T20:56:09.083Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T20:56:09.083Z] ---> Running in 04bf5bd6b304 [2024-03-15T20:56:09.083Z] Removing intermediate container 04bf5bd6b304 [2024-03-15T20:56:09.083Z] ---> 60f6b62096da [2024-03-15T20:56:09.083Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T20:56:09.083Z] ---> Running in 280ea6de9e0c [2024-03-15T20:56:09.083Z] Removing intermediate container 280ea6de9e0c [2024-03-15T20:56:09.083Z] ---> fc78282342f4 [2024-03-15T20:56:09.083Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T20:56:09.083Z] ---> Running in 1fc2be31f081 [2024-03-15T20:56:09.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T20:56:09.252Z] Still waiting to schedule task [2024-03-15T20:56:09.252Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-15T20:56:09.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T20:56:09.601Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-15T20:56:09.601Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-15T20:56:09.601Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-15T20:56:09.601Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-15T20:56:09.601Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T20:56:09.601Z] OK: 268 MiB in 56 packages [2024-03-15T20:56:10.169Z] Removing intermediate container 1fc2be31f081 [2024-03-15T20:56:10.169Z] ---> 2ba1c7178169 [2024-03-15T20:56:10.169Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-15T20:56:10.169Z] ---> Running in a8a0272b8e55 [2024-03-15T20:56:10.169Z] Removing intermediate container a8a0272b8e55 [2024-03-15T20:56:10.169Z] ---> 72677ddaf929 [2024-03-15T20:56:10.169Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-15T20:56:10.169Z] ---> 73f5586dd9eb [2024-03-15T20:56:10.169Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T20:56:10.169Z] ---> Running in 13e26bec1e86 [2024-03-15T20:56:42.254Z] Removing intermediate container 13e26bec1e86 [2024-03-15T20:56:42.254Z] ---> 47172a8cd08a [2024-03-15T20:56:42.254Z] Step 11/12 : COPY . . [2024-03-15T20:56:42.254Z] ---> cc01d2d1f8a3 [2024-03-15T20:56:42.254Z] Step 12/12 : RUN $MAKE [2024-03-15T20:56:42.254Z] ---> Running in 67aac13c39e8 [2024-03-15T20:56:42.254Z] noop [2024-03-15T20:56:42.254Z] Removing intermediate container 67aac13c39e8 [2024-03-15T20:56:42.254Z] ---> a40bcf6e4e9a [2024-03-15T20:56:42.254Z] Successfully built a40bcf6e4e9a [2024-03-15T20:56:42.254Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:56:42.694Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-15T20:56:42.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T20:56:42.849Z] prd-ubuntu20.04-docker-8c-8g-94 does not seem to be running inside a container [2024-03-15T20:56:42.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-386 -v /w/workspace/gexfoundry_device-rest-go_PR-386:/w/workspace/gexfoundry_device-rest-go_PR-386:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-386@tmp:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-15T20:56:43.190Z] $ docker top 2702cbf29720a4ec91c2da3d4b5f1d67fac87bf4151fa8d252c7cd62d1d82099 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T20:56:43.580Z] + go version [2024-03-15T20:56:43.580Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-15T20:56:43.611Z] $ docker stop --time=1 2702cbf29720a4ec91c2da3d4b5f1d67fac87bf4151fa8d252c7cd62d1d82099 [2024-03-15T20:56:44.906Z] $ docker rm -f --volumes 2702cbf29720a4ec91c2da3d4b5f1d67fac87bf4151fa8d252c7cd62d1d82099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:56:45.656Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-15T20:56:45.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T20:56:45.810Z] prd-ubuntu20.04-docker-8c-8g-94 does not seem to be running inside a container [2024-03-15T20:56:45.846Z] $ 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-386 -v /w/workspace/gexfoundry_device-rest-go_PR-386:/w/workspace/gexfoundry_device-rest-go_PR-386:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-386@tmp:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-15T20:56:46.160Z] $ docker top 49031cb1edb10d7b0f420dbc7f66d36ae1305fbc08d4dc39cee3794543518742 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T20:56:46.555Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-386 [Pipeline] fileExists [Pipeline] sh [2024-03-15T20:56:46.921Z] + make test [2024-03-15T20:56:46.921Z] go test ./... -coverprofile=coverage.out ./... [2024-03-15T20:56:48.295Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-15T20:56:58.265Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-15T20:56:58.265Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2024-03-15T20:57:02.446Z] go vet ./... [2024-03-15T20:57:05.726Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-15T20:57:05.726Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-15T20:57:05.726Z] ./bin/test-attribution-txt.sh [2024-03-15T20:57:05.985Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-15T20:57:06.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-15T20:57:06.065Z] $ docker stop --time=1 49031cb1edb10d7b0f420dbc7f66d36ae1305fbc08d4dc39cee3794543518742 [2024-03-15T20:57:09.023Z] $ docker rm -f --volumes 49031cb1edb10d7b0f420dbc7f66d36ae1305fbc08d4dc39cee3794543518742 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T20:57:09.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-15T20:57:09.622Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-15T20:57:10.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-15T20:57:10.615Z] + ls -al . [2024-03-15T20:57:10.615Z] total 180 [2024-03-15T20:57:10.615Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 20:56 . [2024-03-15T20:57:10.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:55 .. [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 20:55 .dockerignore [2024-03-15T20:57:10.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:56 .git [2024-03-15T20:57:10.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:55 .github [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 15 20:55 .gitignore [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 20:55 .golangci.yml [2024-03-15T20:57:10.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:55 .semver [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 15 20:55 Attribution.txt [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 15 20:55 CHANGELOG.md [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 15 20:55 Dockerfile [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:55 GOVERNANCE.md [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 20:55 Jenkinsfile [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 20:55 LICENSE [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 15 20:55 Makefile [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 20:55 OWNERS.md [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 15 20:55 README.md [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 20:55 VERSION [2024-03-15T20:57:10.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:55 bin [2024-03-15T20:57:10.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:55 cmd [2024-03-15T20:57:10.615Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 15 20:56 coverage.out [2024-03-15T20:57:10.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:55 driver [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 3936 Mar 15 20:55 go.mod [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 15 20:55 go.sum [2024-03-15T20:57:10.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:55 openapi [2024-03-15T20:57:10.615Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:57:11.016Z] + 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=ab41e8f33476a8c2c47907bc44ee565bca43bd9a --label arch=amd64 --label version=0.0.0 . [2024-03-15T20:57:11.016Z] Sending build context to Docker daemon 16.35MB [2024-03-15T20:57:11.016Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T20:57:11.016Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-15T20:57:11.016Z] ---> a40bcf6e4e9a [2024-03-15T20:57:11.016Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-15T20:57:11.275Z] ---> Running in 431351e91225 [2024-03-15T20:57:11.275Z] Removing intermediate container 431351e91225 [2024-03-15T20:57:11.275Z] ---> 5e6b67d036bc [2024-03-15T20:57:11.275Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T20:57:11.275Z] ---> Running in 6ff110d7fff5 [2024-03-15T20:57:11.534Z] Removing intermediate container 6ff110d7fff5 [2024-03-15T20:57:11.534Z] ---> 13fca7a7a825 [2024-03-15T20:57:11.534Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T20:57:11.534Z] ---> Running in 2b7e984e57e3 [2024-03-15T20:57:11.534Z] Removing intermediate container 2b7e984e57e3 [2024-03-15T20:57:11.534Z] ---> c4e5e7d9fb67 [2024-03-15T20:57:11.534Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T20:57:11.534Z] ---> Running in ef8580e265da [2024-03-15T20:57:11.534Z] Removing intermediate container ef8580e265da [2024-03-15T20:57:11.534Z] ---> 83208cfa83ef [2024-03-15T20:57:11.534Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T20:57:11.792Z] ---> Running in 356b1d31998e [2024-03-15T20:57:12.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T20:57:12.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T20:57:12.570Z] OK: 268 MiB in 56 packages [2024-03-15T20:57:13.136Z] Removing intermediate container 356b1d31998e [2024-03-15T20:57:13.136Z] ---> 9fca6e9c7ad0 [2024-03-15T20:57:13.136Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-15T20:57:13.136Z] ---> Running in afcd57839a1a [2024-03-15T20:57:13.136Z] Removing intermediate container afcd57839a1a [2024-03-15T20:57:13.136Z] ---> 1abdf9b3f808 [2024-03-15T20:57:13.136Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-15T20:57:13.136Z] ---> 0b9f42cd25fd [2024-03-15T20:57:13.136Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T20:57:13.136Z] ---> Running in 9625667f2933 [2024-03-15T20:57:13.703Z] Removing intermediate container 9625667f2933 [2024-03-15T20:57:13.703Z] ---> ac7921f43cab [2024-03-15T20:57:13.703Z] Step 11/26 : COPY . . [2024-03-15T20:57:14.481Z] ---> d62f1e19b250 [2024-03-15T20:57:14.481Z] Step 12/26 : RUN $MAKE [2024-03-15T20:57:14.481Z] ---> Running in b13af73b86a0 [2024-03-15T20:57:14.739Z] 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.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-15T20:57:36.720Z] Removing intermediate container b13af73b86a0 [2024-03-15T20:57:36.720Z] ---> 106952c3dc30 [2024-03-15T20:57:36.720Z] Step 13/26 : FROM alpine:3.18 [2024-03-15T20:57:36.720Z] 3.18: Pulling from library/alpine [2024-03-15T20:57:36.720Z] 619be1103602: Pulling fs layer [2024-03-15T20:57:36.720Z] 619be1103602: Verifying Checksum [2024-03-15T20:57:36.720Z] 619be1103602: Download complete [2024-03-15T20:57:36.720Z] 619be1103602: Pull complete [2024-03-15T20:57:36.720Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-15T20:57:36.720Z] Status: Downloaded newer image for alpine:3.18 [2024-03-15T20:57:36.720Z] ---> d3782b16ccc9 [2024-03-15T20:57:36.720Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-15T20:57:36.720Z] ---> Running in e4c6e20c90e7 [2024-03-15T20:57:36.720Z] Removing intermediate container e4c6e20c90e7 [2024-03-15T20:57:36.720Z] ---> 7897060d4bda [2024-03-15T20:57:36.720Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-15T20:57:36.720Z] ---> Running in a64638182aaa [2024-03-15T20:57:36.720Z] Removing intermediate container a64638182aaa [2024-03-15T20:57:36.720Z] ---> 860c987145a0 [2024-03-15T20:57:36.720Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-15T20:57:36.720Z] ---> Running in 405eb08dfe3b [2024-03-15T20:57:36.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T20:57:36.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T20:57:36.720Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-15T20:57:36.720Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T20:57:36.720Z] OK: 7 MiB in 16 packages [2024-03-15T20:57:36.720Z] Removing intermediate container 405eb08dfe3b [2024-03-15T20:57:36.720Z] ---> 5aa8bc379cca [2024-03-15T20:57:36.720Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-15T20:57:36.720Z] ---> Running in 4979692edc27 [2024-03-15T20:57:36.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T20:57:36.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T20:57:36.720Z] OK: 7 MiB in 16 packages [2024-03-15T20:57:36.720Z] Removing intermediate container 4979692edc27 [2024-03-15T20:57:36.720Z] ---> 49e9dd826edd [2024-03-15T20:57:36.720Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-15T20:57:37.660Z] ---> 5f811aab0ed6 [2024-03-15T20:57:37.660Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-15T20:57:37.660Z] ---> 10deeca49761 [2024-03-15T20:57:37.660Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-15T20:57:37.660Z] ---> abc143fea057 [2024-03-15T20:57:37.660Z] Step 21/26 : EXPOSE 59986 [2024-03-15T20:57:37.660Z] ---> Running in 97db4d653d1d [2024-03-15T20:57:37.919Z] Removing intermediate container 97db4d653d1d [2024-03-15T20:57:37.919Z] ---> ff096c9b9651 [2024-03-15T20:57:37.919Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-15T20:57:37.919Z] ---> Running in 6c5fe81080d4 [2024-03-15T20:57:37.919Z] Removing intermediate container 6c5fe81080d4 [2024-03-15T20:57:37.919Z] ---> ec347b335b0d [2024-03-15T20:57:37.919Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-15T20:57:37.919Z] ---> Running in fb10304c5652 [2024-03-15T20:57:37.919Z] Removing intermediate container fb10304c5652 [2024-03-15T20:57:37.919Z] ---> ac93e2d0d08f [2024-03-15T20:57:37.919Z] Step 24/26 : LABEL arch=amd64 [2024-03-15T20:57:37.919Z] ---> Running in 7b67deda4e5b [2024-03-15T20:57:38.190Z] Removing intermediate container 7b67deda4e5b [2024-03-15T20:57:38.190Z] ---> cb0281daca35 [2024-03-15T20:57:38.190Z] Step 25/26 : LABEL git_sha=ab41e8f33476a8c2c47907bc44ee565bca43bd9a [2024-03-15T20:57:38.190Z] ---> Running in 5e713471883b [2024-03-15T20:57:38.190Z] Removing intermediate container 5e713471883b [2024-03-15T20:57:38.190Z] ---> 83bc510d6a69 [2024-03-15T20:57:38.190Z] Step 26/26 : LABEL version=0.0.0 [2024-03-15T20:57:38.190Z] ---> Running in 6a01ee604754 [2024-03-15T20:57:38.190Z] Removing intermediate container 6a01ee604754 [2024-03-15T20:57:38.190Z] ---> b95549497846 [2024-03-15T20:57:38.190Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-15T20:57:38.190Z] Successfully built b95549497846 [2024-03-15T20:57:38.190Z] 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 [2024-03-15T20:57:39.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T20:57:39.085Z] [2024-03-15T20:57:39.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:57:39.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T20:57:39.458Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-15T20:57:39.458Z] 5eb5b503b376: Pulling fs layer [2024-03-15T20:57:39.458Z] 5c69ac0246d0: Pulling fs layer [2024-03-15T20:57:39.458Z] ec43610c2a17: Pulling fs layer [2024-03-15T20:57:39.458Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-15T20:57:39.458Z] 33b1e0a273af: Pulling fs layer [2024-03-15T20:57:39.458Z] 5d3b04190fa2: Pulling fs layer [2024-03-15T20:57:39.458Z] 2f39f015ded8: Pulling fs layer [2024-03-15T20:57:39.458Z] 3a2ae6a8a46f: Waiting [2024-03-15T20:57:39.458Z] 5d3b04190fa2: Waiting [2024-03-15T20:57:39.458Z] 33b1e0a273af: Waiting [2024-03-15T20:57:39.458Z] 2f39f015ded8: Waiting [2024-03-15T20:57:39.458Z] 5c69ac0246d0: Verifying Checksum [2024-03-15T20:57:39.458Z] 5c69ac0246d0: Download complete [2024-03-15T20:57:39.458Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-15T20:57:39.458Z] 3a2ae6a8a46f: Download complete [2024-03-15T20:57:39.458Z] 33b1e0a273af: Verifying Checksum [2024-03-15T20:57:39.458Z] 33b1e0a273af: Download complete [2024-03-15T20:57:39.458Z] 5d3b04190fa2: Download complete [2024-03-15T20:57:39.458Z] ec43610c2a17: Verifying Checksum [2024-03-15T20:57:39.716Z] 5eb5b503b376: Verifying Checksum [2024-03-15T20:57:39.716Z] 5eb5b503b376: Download complete [2024-03-15T20:57:40.280Z] 2f39f015ded8: Download complete [2024-03-15T20:57:40.845Z] 5eb5b503b376: Pull complete [2024-03-15T20:57:41.103Z] 5c69ac0246d0: Pull complete [2024-03-15T20:57:41.363Z] ec43610c2a17: Pull complete [2024-03-15T20:57:41.622Z] 3a2ae6a8a46f: Pull complete [2024-03-15T20:57:41.622Z] 33b1e0a273af: Pull complete [2024-03-15T20:57:41.880Z] 5d3b04190fa2: Pull complete [2024-03-15T20:57:46.059Z] 2f39f015ded8: Pull complete [2024-03-15T20:57:46.059Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-15T20:57:46.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T20:57:46.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T20:57:46.296Z] prd-ubuntu20.04-docker-8c-8g-94 does not seem to be running inside a container [2024-03-15T20:57:46.329Z] $ 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-386 -v /w/workspace/gexfoundry_device-rest-go_PR-386:/w/workspace/gexfoundry_device-rest-go_PR-386:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-386@tmp:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-15T20:57:48.245Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-95 in /w/workspace/gexfoundry_device-rest-go_PR-386 [2024-03-15T20:57:52.021Z] $ docker top 7e386471ae3fc170dffcc2fcdf5dd84a759efceacfeafe0de7051c8f96972d7d -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-03-15T20:57:52.279Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-03-15T20:57:52.364Z] The recommended git tool is: git [2024-03-15T20:57:52.516Z] ---> job-cost.sh [2024-03-15T20:57:52.516Z] lf-activate-venv: SKIPPING [2024-03-15T20:57:52.516Z] INFO: No Stack... [2024-03-15T20:57:53.085Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-15T20:57:53.659Z] INFO: Archiving Costs [Pipeline] sh [2024-03-15T20:57:54.016Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-386/archives/cost.csv [2024-03-15T20:57:54.016Z] + cut -d, -f6 [Pipeline] lock [2024-03-15T20:57:54.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] [2024-03-15T20:57:54.062Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] did not exist. Created. [2024-03-15T20:57:54.068Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-15T20:57:54.467Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-15T20:57:54.524Z] Stashed 1 file(s) [Pipeline] } [2024-03-15T20:57:54.553Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-15T20:57:54.642Z] $ docker stop --time=1 7e386471ae3fc170dffcc2fcdf5dd84a759efceacfeafe0de7051c8f96972d7d [2024-03-15T20:57:55.788Z] $ docker rm -f --volumes 7e386471ae3fc170dffcc2fcdf5dd84a759efceacfeafe0de7051c8f96972d7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-15T20:58:00.091Z] using credential edgex-jenkins-ssh [2024-03-15T20:58:00.113Z] Cloning the remote Git repository [2024-03-15T20:58:00.178Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-03-15T20:58:00.291Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-03-15T20:58:00.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-15T20:58:00.471Z] > git --version # timeout=10 [2024-03-15T20:58:00.491Z] > git --version # 'git version 2.25.1' [2024-03-15T20:58:00.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T20:58:00.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-15T20:58:03.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-15T20:58:03.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-15T20:58:05.333Z] Merging remotes/origin/main commit b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc into PR head commit ab41e8f33476a8c2c47907bc44ee565bca43bd9a [2024-03-15T20:58:05.615Z] Merge succeeded, producing ab41e8f33476a8c2c47907bc44ee565bca43bd9a [2024-03-15T20:58:05.615Z] Checking out Revision ab41e8f33476a8c2c47907bc44ee565bca43bd9a (PR-386) [2024-03-15T20:58:04.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-15T20:58:04.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-15T20:58:04.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T20:58:04.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-15T20:58:05.356Z] > git config core.sparsecheckout # timeout=10 [2024-03-15T20:58:05.424Z] > git checkout -f ab41e8f33476a8c2c47907bc44ee565bca43bd9a # timeout=10 [2024-03-15T20:58:05.501Z] > git remote # timeout=10 [2024-03-15T20:58:05.519Z] > git config --get remote.origin.url # timeout=10 [2024-03-15T20:58:05.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T20:58:05.567Z] > git merge b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 [2024-03-15T20:58:05.597Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-15T20:58:05.623Z] > git config core.sparsecheckout # timeout=10 [2024-03-15T20:58:05.635Z] > git checkout -f ab41e8f33476a8c2c47907bc44ee565bca43bd9a # timeout=10 [2024-03-15T20:58:06.247Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-15T20:58:06.313Z] > git --version # timeout=10 [2024-03-15T20:58:06.326Z] > git --version # 'git version 2.25.1' [2024-03-15T20:58:06.365Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T20:58:11.305Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-15T20:58:11.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-15T20:58:11.305Z] Dload Upload Total Spent Left Speed [2024-03-15T20:58:11.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2024-03-15T20:58:11.647Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-15T20:58:11.981Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-03-15T20:58:11.981Z] sudo tee /etc/docker/daemon.new [2024-03-15T20:58:11.981Z] { [2024-03-15T20:58:11.981Z] "registry-mirrors": [ [2024-03-15T20:58:11.981Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-15T20:58:11.981Z] ], [2024-03-15T20:58:11.981Z] "bip": "10.250.0.254/24", [2024-03-15T20:58:11.981Z] "hosts": [ [2024-03-15T20:58:11.981Z] "tcp://0.0.0.0:5555", [2024-03-15T20:58:11.981Z] "unix:///var/run/docker.sock" [2024-03-15T20:58:11.981Z] ], [2024-03-15T20:58:11.981Z] "mtu": 1458, [2024-03-15T20:58:11.981Z] "selinux-enabled": true, [2024-03-15T20:58:11.981Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-15T20:58:11.981Z] } [Pipeline] sh [2024-03-15T20:58:12.322Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-15T20:58:12.666Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T20:58:30.957Z] provisioning config files... [2024-03-15T20:58:30.981Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15940011102807885713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T20:58:31.427Z] ---> ****-login.sh [2024-03-15T20:58:31.427Z] nexus3.edgexfoundry.org:10001 [2024-03-15T20:58:31.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:58:31.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:58:31.963Z] Configure a credential helper to remove this warning. See [2024-03-15T20:58:31.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:58:31.963Z] [2024-03-15T20:58:31.963Z] Login Succeeded [2024-03-15T20:58:31.963Z] nexus3.edgexfoundry.org:10002 [2024-03-15T20:58:32.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:58:32.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:58:32.496Z] Configure a credential helper to remove this warning. See [2024-03-15T20:58:32.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:58:32.496Z] [2024-03-15T20:58:32.496Z] Login Succeeded [2024-03-15T20:58:32.496Z] nexus3.edgexfoundry.org:10003 [2024-03-15T20:58:32.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:58:32.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:58:32.765Z] Configure a credential helper to remove this warning. See [2024-03-15T20:58:32.765Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:58:32.765Z] [2024-03-15T20:58:32.765Z] Login Succeeded [2024-03-15T20:58:32.765Z] nexus3.edgexfoundry.org:10004 [2024-03-15T20:58:33.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:58:33.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:58:33.033Z] Configure a credential helper to remove this warning. See [2024-03-15T20:58:33.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:58:33.033Z] [2024-03-15T20:58:33.033Z] Login Succeeded [2024-03-15T20:58:33.033Z] ****.io [2024-03-15T20:58:33.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T20:58:33.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T20:58:33.568Z] Configure a credential helper to remove this warning. See [2024-03-15T20:58:33.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T20:58:33.568Z] [2024-03-15T20:58:33.568Z] Login Succeeded [2024-03-15T20:58:33.568Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T20:58:33.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-15T20:58:33.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T20:58:34.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T20:58:34.083Z] ========================================================= [2024-03-15T20:58:34.083Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-15T20:58:34.083Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T20:58:34.603Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-15T20:58:34.603Z] Sending build context to Docker daemon 127.5kB [2024-03-15T20:58:34.873Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T20:58:34.873Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-15T20:58:34.873Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-15T20:58:34.873Z] 9fda8d8052c6: Pulling fs layer [2024-03-15T20:58:34.873Z] 5d54e960e981: Pulling fs layer [2024-03-15T20:58:34.873Z] c4a7e357bf2a: Pulling fs layer [2024-03-15T20:58:34.873Z] f0e02332f6b5: Pulling fs layer [2024-03-15T20:58:34.873Z] 872ee5b61b7b: Pulling fs layer [2024-03-15T20:58:34.873Z] 0c6a40ed1a82: Pulling fs layer [2024-03-15T20:58:34.873Z] 94ae7d8d031c: Pulling fs layer [2024-03-15T20:58:34.873Z] 872ee5b61b7b: Waiting [2024-03-15T20:58:34.873Z] 0c6a40ed1a82: Waiting [2024-03-15T20:58:34.873Z] 94ae7d8d031c: Waiting [2024-03-15T20:58:34.873Z] f0e02332f6b5: Waiting [2024-03-15T20:58:35.142Z] 5d54e960e981: Verifying Checksum [2024-03-15T20:58:35.142Z] 5d54e960e981: Download complete [2024-03-15T20:58:35.142Z] f0e02332f6b5: Verifying Checksum [2024-03-15T20:58:35.142Z] f0e02332f6b5: Download complete [2024-03-15T20:58:35.142Z] 872ee5b61b7b: Verifying Checksum [2024-03-15T20:58:35.142Z] 872ee5b61b7b: Download complete [2024-03-15T20:58:35.142Z] 9fda8d8052c6: Verifying Checksum [2024-03-15T20:58:35.142Z] 9fda8d8052c6: Download complete [2024-03-15T20:58:35.730Z] 94ae7d8d031c: Verifying Checksum [2024-03-15T20:58:35.730Z] 94ae7d8d031c: Download complete [2024-03-15T20:58:35.999Z] 9fda8d8052c6: Pull complete [2024-03-15T20:58:36.587Z] 5d54e960e981: Pull complete [2024-03-15T20:58:36.855Z] c4a7e357bf2a: Verifying Checksum [2024-03-15T20:58:36.855Z] c4a7e357bf2a: Download complete [2024-03-15T20:58:37.816Z] 0c6a40ed1a82: Verifying Checksum [2024-03-15T20:58:37.816Z] 0c6a40ed1a82: Download complete [2024-03-15T20:58:50.131Z] c4a7e357bf2a: Pull complete [2024-03-15T20:58:50.131Z] f0e02332f6b5: Pull complete [2024-03-15T20:58:50.131Z] 872ee5b61b7b: Pull complete [2024-03-15T20:58:58.339Z] 0c6a40ed1a82: Pull complete [2024-03-15T20:58:59.749Z] 94ae7d8d031c: Pull complete [2024-03-15T20:58:59.749Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-15T20:58:59.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-15T20:58:59.749Z] ---> 86de565de09d [2024-03-15T20:58:59.749Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-15T20:59:01.152Z] ---> Running in 7127695f3b16 [2024-03-15T20:59:01.423Z] Removing intermediate container 7127695f3b16 [2024-03-15T20:59:01.423Z] ---> cbae7d048c8a [2024-03-15T20:59:01.423Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T20:59:01.423Z] ---> Running in c0106a556c07 [2024-03-15T20:59:01.697Z] Removing intermediate container c0106a556c07 [2024-03-15T20:59:01.697Z] ---> f05bd8f49e45 [2024-03-15T20:59:01.697Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T20:59:01.963Z] ---> Running in c22b7a7d11d1 [2024-03-15T20:59:02.231Z] Removing intermediate container c22b7a7d11d1 [2024-03-15T20:59:02.231Z] ---> dc4e2e16b250 [2024-03-15T20:59:02.231Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T20:59:02.231Z] ---> Running in 21eeb2d89a8e [2024-03-15T20:59:02.504Z] Removing intermediate container 21eeb2d89a8e [2024-03-15T20:59:02.504Z] ---> d344319f831c [2024-03-15T20:59:02.504Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T20:59:02.504Z] ---> Running in 01d9e15cacc0 [2024-03-15T20:59:03.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T20:59:04.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T20:59:05.130Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-15T20:59:05.130Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-15T20:59:05.130Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-15T20:59:05.130Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-15T20:59:05.130Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T20:59:05.395Z] OK: 271 MiB in 56 packages [2024-03-15T20:59:06.356Z] Removing intermediate container 01d9e15cacc0 [2024-03-15T20:59:06.356Z] ---> 703354f3f22f [2024-03-15T20:59:06.356Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-15T20:59:06.356Z] ---> Running in 1b6e82758588 [2024-03-15T20:59:06.623Z] Removing intermediate container 1b6e82758588 [2024-03-15T20:59:06.623Z] ---> bf32c55d70fb [2024-03-15T20:59:06.623Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-15T20:59:07.214Z] ---> a91fed7b983a [2024-03-15T20:59:07.214Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T20:59:07.214Z] ---> Running in e79702ee7f1d [2024-03-15T21:00:15.062Z] Removing intermediate container e79702ee7f1d [2024-03-15T21:00:15.062Z] ---> 0f7f51f646df [2024-03-15T21:00:15.062Z] Step 11/12 : COPY . . [2024-03-15T21:00:15.062Z] ---> 30822536218a [2024-03-15T21:00:15.062Z] Step 12/12 : RUN $MAKE [2024-03-15T21:00:15.062Z] ---> Running in bf4a50e60233 [2024-03-15T21:00:15.062Z] noop [2024-03-15T21:00:15.062Z] Removing intermediate container bf4a50e60233 [2024-03-15T21:00:15.062Z] ---> 272591446242 [2024-03-15T21:00:15.062Z] Successfully built 272591446242 [2024-03-15T21:00:15.062Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T21:00:15.540Z] + docker inspect -f . ci-base-image-arm64 [2024-03-15T21:00:15.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T21:00:15.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2024-03-15T21:00:15.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-15T21:00:17.170Z] $ docker top cfbd702ba4e81cdbf968b012d74b1ab218881504aa036b44c4379c236648bd6e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T21:00:18.054Z] + go version [2024-03-15T21:00:18.054Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-15T21:00:18.094Z] $ docker stop --time=1 cfbd702ba4e81cdbf968b012d74b1ab218881504aa036b44c4379c236648bd6e [2024-03-15T21:00:19.708Z] $ docker rm -f --volumes cfbd702ba4e81cdbf968b012d74b1ab218881504aa036b44c4379c236648bd6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T21:00:20.612Z] + docker inspect -f . ci-base-image-arm64 [2024-03-15T21:00:20.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T21:00:20.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2024-03-15T21:00:20.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-15T21:00:22.252Z] $ docker top aadb9a28e3bc1a3bff3157f4ecd2d05223089d5c4f9b4a1408fa7e4cda631241 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T21:00:23.125Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-15T21:00:23.512Z] + make test [2024-03-15T21:00:23.777Z] go test ./... -coverprofile=coverage.out ./... [2024-03-15T21:00:27.256Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-15T21:02:03.932Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-15T21:02:03.932Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 33.2% of statements [2024-03-15T21:02:03.932Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-15T21:02:03.932Z] go vet ./... [2024-03-15T21:02:13.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-15T21:02:13.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-15T21:02:13.980Z] ./bin/test-attribution-txt.sh [2024-03-15T21:02:13.980Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-15T21:02:14.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-15T21:02:14.063Z] $ docker stop --time=1 aadb9a28e3bc1a3bff3157f4ecd2d05223089d5c4f9b4a1408fa7e4cda631241 [2024-03-15T21:02:15.901Z] $ docker rm -f --volumes aadb9a28e3bc1a3bff3157f4ecd2d05223089d5c4f9b4a1408fa7e4cda631241 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T21:02:17.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-15T21:02:17.160Z] Warning: overwriting stash ‘coverage-report’ [2024-03-15T21:02:17.580Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T21:02:18.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-15T21:02:18.504Z] + ls -al . [2024-03-15T21:02:18.504Z] total 176 [2024-03-15T21:02:18.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:00 . [2024-03-15T21:02:18.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:58 .. [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 20:58 .dockerignore [2024-03-15T21:02:18.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:58 .git [2024-03-15T21:02:18.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:58 .github [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 15 20:58 .gitignore [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 20:58 .golangci.yml [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 15 20:58 Attribution.txt [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 15 20:58 CHANGELOG.md [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 15 20:58 Dockerfile [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:58 GOVERNANCE.md [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 20:58 Jenkinsfile [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 20:58 LICENSE [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 15 20:58 Makefile [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 20:58 OWNERS.md [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 15 20:58 README.md [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 20:55 VERSION [2024-03-15T21:02:18.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:58 bin [2024-03-15T21:02:18.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:58 cmd [2024-03-15T21:02:18.504Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 15 21:01 coverage.out [2024-03-15T21:02:18.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:58 driver [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 3936 Mar 15 20:58 go.mod [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 15 20:58 go.sum [2024-03-15T21:02:18.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:58 openapi [2024-03-15T21:02:18.504Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T21:02:18.927Z] + 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=ab41e8f33476a8c2c47907bc44ee565bca43bd9a --label arch=arm64 --label version=0.0.0 . [2024-03-15T21:02:18.927Z] Sending build context to Docker daemon 142.8kB [2024-03-15T21:02:19.193Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T21:02:19.193Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-15T21:02:19.193Z] ---> 272591446242 [2024-03-15T21:02:19.193Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-15T21:02:19.193Z] ---> Running in fe78e9a2beb5 [2024-03-15T21:02:19.459Z] Removing intermediate container fe78e9a2beb5 [2024-03-15T21:02:19.459Z] ---> e22ccd55f0da [2024-03-15T21:02:19.459Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-15T21:02:19.725Z] ---> Running in 80b581257334 [2024-03-15T21:02:19.991Z] Removing intermediate container 80b581257334 [2024-03-15T21:02:19.991Z] ---> 6063950c6e83 [2024-03-15T21:02:19.991Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-15T21:02:19.991Z] ---> Running in a3f8ea8120ef [2024-03-15T21:02:20.257Z] Removing intermediate container a3f8ea8120ef [2024-03-15T21:02:20.257Z] ---> 8980428b72c4 [2024-03-15T21:02:20.257Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-15T21:02:20.257Z] ---> Running in fe9fb8893bb5 [2024-03-15T21:02:20.839Z] Removing intermediate container fe9fb8893bb5 [2024-03-15T21:02:20.839Z] ---> 4733ba63feaf [2024-03-15T21:02:20.839Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-15T21:02:20.839Z] ---> Running in e560994a3c0a [2024-03-15T21:02:21.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T21:02:22.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T21:02:23.464Z] OK: 271 MiB in 56 packages [2024-03-15T21:02:24.046Z] Removing intermediate container e560994a3c0a [2024-03-15T21:02:24.046Z] ---> b7ea894650dd [2024-03-15T21:02:24.046Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-15T21:02:24.046Z] ---> Running in 8917c4bce0a1 [2024-03-15T21:02:24.312Z] Removing intermediate container 8917c4bce0a1 [2024-03-15T21:02:24.312Z] ---> 33f8a4764678 [2024-03-15T21:02:24.312Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-15T21:02:24.894Z] ---> 84b87768c7f1 [2024-03-15T21:02:24.894Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T21:02:24.894Z] ---> Running in d20f0df68238 [2024-03-15T21:02:26.830Z] Removing intermediate container d20f0df68238 [2024-03-15T21:02:26.830Z] ---> 4f99624d44cd [2024-03-15T21:02:26.830Z] Step 11/26 : COPY . . [2024-03-15T21:02:27.414Z] ---> 49d9debd56d4 [2024-03-15T21:02:27.414Z] Step 12/26 : RUN $MAKE [2024-03-15T21:02:27.414Z] ---> Running in 7d5d8c44a089 [2024-03-15T21:02:28.374Z] 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.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-15T21:04:05.006Z] Removing intermediate container 7d5d8c44a089 [2024-03-15T21:04:05.006Z] ---> 09ffbb8da635 [2024-03-15T21:04:05.006Z] Step 13/26 : FROM alpine:3.18 [2024-03-15T21:04:05.006Z] 3.18: Pulling from library/alpine [2024-03-15T21:04:05.006Z] c6b39de5b339: Pulling fs layer [2024-03-15T21:04:05.589Z] c6b39de5b339: Verifying Checksum [2024-03-15T21:04:05.589Z] c6b39de5b339: Download complete [2024-03-15T21:04:05.991Z] c6b39de5b339: Pull complete [2024-03-15T21:04:05.992Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-15T21:04:05.992Z] Status: Downloaded newer image for alpine:3.18 [2024-03-15T21:04:05.992Z] ---> 33abbf032149 [2024-03-15T21:04:05.992Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-15T21:04:06.260Z] ---> Running in 602617bfd87f [2024-03-15T21:04:06.529Z] Removing intermediate container 602617bfd87f [2024-03-15T21:04:06.529Z] ---> 56369a123465 [2024-03-15T21:04:06.529Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-15T21:04:06.529Z] ---> Running in ee2b513e7a04 [2024-03-15T21:04:06.812Z] Removing intermediate container ee2b513e7a04 [2024-03-15T21:04:06.812Z] ---> 7cb780b3d14b [2024-03-15T21:04:06.812Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-15T21:04:06.812Z] ---> Running in 393adb8891ef [2024-03-15T21:04:07.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T21:04:08.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T21:04:09.317Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-15T21:04:09.317Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T21:04:09.317Z] OK: 8 MiB in 16 packages [2024-03-15T21:04:10.283Z] Removing intermediate container 393adb8891ef [2024-03-15T21:04:10.283Z] ---> dfe99172c4df [2024-03-15T21:04:10.283Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-15T21:04:10.283Z] ---> Running in 7f43ddee3e2b [2024-03-15T21:04:11.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T21:04:11.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T21:04:12.459Z] OK: 8 MiB in 16 packages [2024-03-15T21:04:13.048Z] Removing intermediate container 7f43ddee3e2b [2024-03-15T21:04:13.048Z] ---> 6008db9e458b [2024-03-15T21:04:13.048Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-15T21:04:14.453Z] ---> fe1f1e021d01 [2024-03-15T21:04:14.453Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-15T21:04:14.718Z] ---> 6a2fb5924483 [2024-03-15T21:04:14.718Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-15T21:04:15.300Z] ---> 93165b597653 [2024-03-15T21:04:15.300Z] Step 21/26 : EXPOSE 59986 [2024-03-15T21:04:15.300Z] ---> Running in e52f7cc67ca6 [2024-03-15T21:04:15.566Z] Removing intermediate container e52f7cc67ca6 [2024-03-15T21:04:15.566Z] ---> 9c0127939eec [2024-03-15T21:04:15.566Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-15T21:04:15.566Z] ---> Running in df6b4fc02e15 [2024-03-15T21:04:15.832Z] Removing intermediate container df6b4fc02e15 [2024-03-15T21:04:15.832Z] ---> 83bb34751a43 [2024-03-15T21:04:15.832Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-15T21:04:16.096Z] ---> Running in 6c67ce450d5e [2024-03-15T21:04:16.361Z] Removing intermediate container 6c67ce450d5e [2024-03-15T21:04:16.361Z] ---> 2c83b5688351 [2024-03-15T21:04:16.361Z] Step 24/26 : LABEL arch=arm64 [2024-03-15T21:04:16.361Z] ---> Running in c79b970c1c64 [2024-03-15T21:04:16.627Z] Removing intermediate container c79b970c1c64 [2024-03-15T21:04:16.627Z] ---> 3eda34b0b671 [2024-03-15T21:04:16.627Z] Step 25/26 : LABEL git_sha=ab41e8f33476a8c2c47907bc44ee565bca43bd9a [2024-03-15T21:04:16.627Z] ---> Running in 232504bc1d68 [2024-03-15T21:04:16.892Z] Removing intermediate container 232504bc1d68 [2024-03-15T21:04:16.892Z] ---> 7c78ed6e381f [2024-03-15T21:04:16.892Z] Step 26/26 : LABEL version=0.0.0 [2024-03-15T21:04:17.156Z] ---> Running in df0586dc26cf [2024-03-15T21:04:17.422Z] Removing intermediate container df0586dc26cf [2024-03-15T21:04:17.422Z] ---> d30641917c0d [2024-03-15T21:04:17.422Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-15T21:04:17.422Z] Successfully built d30641917c0d [2024-03-15T21:04:17.422Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T21:04:18.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T21:04:18.271Z] [2024-03-15T21:04:18.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T21:04:18.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T21:04:18.678Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-15T21:04:18.678Z] 8998bd30e6a1: Pulling fs layer [2024-03-15T21:04:18.678Z] 04944245beec: Pulling fs layer [2024-03-15T21:04:18.678Z] 699f458cf7ca: Pulling fs layer [2024-03-15T21:04:18.678Z] 765212b225bb: Pulling fs layer [2024-03-15T21:04:18.678Z] f23df028b6ca: Pulling fs layer [2024-03-15T21:04:18.678Z] d65c8cfc05b1: Pulling fs layer [2024-03-15T21:04:18.678Z] 2437ff75d9bd: Pulling fs layer [2024-03-15T21:04:18.678Z] f23df028b6ca: Waiting [2024-03-15T21:04:18.678Z] d65c8cfc05b1: Waiting [2024-03-15T21:04:18.678Z] 2437ff75d9bd: Waiting [2024-03-15T21:04:18.678Z] 765212b225bb: Waiting [2024-03-15T21:04:18.944Z] 04944245beec: Verifying Checksum [2024-03-15T21:04:18.944Z] 04944245beec: Download complete [2024-03-15T21:04:18.944Z] 765212b225bb: Verifying Checksum [2024-03-15T21:04:18.944Z] 765212b225bb: Download complete [2024-03-15T21:04:18.944Z] f23df028b6ca: Download complete [2024-03-15T21:04:18.944Z] d65c8cfc05b1: Verifying Checksum [2024-03-15T21:04:18.944Z] d65c8cfc05b1: Download complete [2024-03-15T21:04:19.209Z] 699f458cf7ca: Verifying Checksum [2024-03-15T21:04:19.209Z] 699f458cf7ca: Download complete [2024-03-15T21:04:19.476Z] 8998bd30e6a1: Verifying Checksum [2024-03-15T21:04:19.476Z] 8998bd30e6a1: Download complete [2024-03-15T21:04:22.046Z] 2437ff75d9bd: Download complete [2024-03-15T21:04:23.981Z] 8998bd30e6a1: Pull complete [2024-03-15T21:04:24.563Z] 04944245beec: Pull complete [2024-03-15T21:04:25.962Z] 699f458cf7ca: Pull complete [2024-03-15T21:04:26.226Z] 765212b225bb: Pull complete [2024-03-15T21:04:26.808Z] f23df028b6ca: Pull complete [2024-03-15T21:04:27.073Z] d65c8cfc05b1: Pull complete [2024-03-15T21:04:45.277Z] 2437ff75d9bd: Pull complete [2024-03-15T21:04:45.277Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-15T21:04:45.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T21:04:45.277Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T21:04:45.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2024-03-15T21:04:45.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-15T21:04:48.184Z] $ docker top c60ae630e3bf1104a91f36711ae9820dc56ced3a825a0aaaa4ccfd3762f6c94f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:04:49.070Z] ---> job-cost.sh [2024-03-15T21:04:49.070Z] lf-activate-venv: SKIPPING [2024-03-15T21:04:49.070Z] INFO: No Stack... [2024-03-15T21:04:49.651Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-15T21:04:50.229Z] INFO: Archiving Costs [Pipeline] sh [2024-03-15T21:04:50.877Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-03-15T21:04:50.877Z] + cut -d, -f6 [Pipeline] lock [2024-03-15T21:04:50.955Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] [2024-03-15T21:04:50.960Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] did not exist. Created. [2024-03-15T21:04:50.966Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-15T21:04:51.695Z] /w/workspace/device-rest-go/1@tmp/durable-6c27e639/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-15T21:04:52.351Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-15T21:04:52.393Z] Warning: overwriting stash ‘stack-cost’ [2024-03-15T21:04:52.438Z] Stashed 1 file(s) [Pipeline] } [2024-03-15T21:04:52.454Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-386-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-15T21:04:52.542Z] $ docker stop --time=1 c60ae630e3bf1104a91f36711ae9820dc56ced3a825a0aaaa4ccfd3762f6c94f [2024-03-15T21:04:54.013Z] $ docker rm -f --volumes c60ae630e3bf1104a91f36711ae9820dc56ced3a825a0aaaa4ccfd3762f6c94f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-15T21:04:55.087Z] provisioning config files... [2024-03-15T21:04:55.095Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp/config8670705192521432140tmp [Pipeline] { [Pipeline] sh [2024-03-15T21:04:55.437Z] + set +x [2024-03-15T21:04:55.437Z] + curl -s https://codecov.io/bash+ [2024-03-15T21:04:55.438Z] bash -s -- [2024-03-15T21:04:55.438Z] [2024-03-15T21:04:55.438Z] _____ _ [2024-03-15T21:04:55.438Z] / ____| | | [2024-03-15T21:04:55.438Z] | | ___ __| | ___ ___ _____ __ [2024-03-15T21:04:55.438Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-15T21:04:55.438Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-15T21:04:55.438Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-15T21:04:55.438Z] Bash-1.0.6 [2024-03-15T21:04:55.438Z] [2024-03-15T21:04:55.438Z] [2024-03-15T21:04:55.438Z] ==> git version 2.25.1 found [2024-03-15T21:04:55.438Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-15T21:04:55.438Z] Release-Date: 2020-01-08 [2024-03-15T21:04:55.438Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-15T21:04:55.438Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-15T21:04:55.438Z] ==> Jenkins CI detected. [2024-03-15T21:04:55.438Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-386 [2024-03-15T21:04:55.438Z] project root: . [2024-03-15T21:04:55.438Z] --> token set from env [2024-03-15T21:04:55.438Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-15T21:04:55.697Z] ==> Running gcov in . (disable via -X gcov) [2024-03-15T21:04:55.697Z] ==> Python coveragepy not found [2024-03-15T21:04:55.697Z] ==> Searching for coverage reports in: [2024-03-15T21:04:55.697Z] + . [2024-03-15T21:04:55.697Z] -> Found 1 reports [2024-03-15T21:04:55.697Z] ==> Detecting git/mercurial file structure [2024-03-15T21:04:55.697Z] ==> Reading reports [2024-03-15T21:04:55.697Z] + ./coverage.out bytes=14499 [2024-03-15T21:04:55.697Z] ==> Appending adjustments [2024-03-15T21:04:55.697Z] https://docs.codecov.io/docs/fixing-reports [2024-03-15T21:04:55.697Z] + Found adjustments [2024-03-15T21:04:55.697Z] ==> Gzipping contents [2024-03-15T21:04:55.697Z] 4.0K /tmp/codecov.Ud4pqD.gz [2024-03-15T21:04:55.697Z] ==> Uploading reports [2024-03-15T21:04:55.697Z] url: https://codecov.io [2024-03-15T21:04:55.697Z] query: branch=PR-386&commit=ab41e8f33476a8c2c47907bc44ee565bca43bd9a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-386%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=386&job=&cmd_args= [2024-03-15T21:04:55.697Z] -> Pinging Codecov [2024-03-15T21:04:55.697Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-386&commit=ab41e8f33476a8c2c47907bc44ee565bca43bd9a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-386%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=386&job=&cmd_args= [2024-03-15T21:04:55.957Z] -> Uploading to [2024-03-15T21:04:55.957Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-15/4E5D53B4F1F92C436F7061BF334D961C/ab41e8f33476a8c2c47907bc44ee565bca43bd9a/7bfd214b-8c86-45dd-9941-85eafba346d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240315T210455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=964f58e0fde83d9489995990a0d4eeb56da8da5b93c0a79f9e4dfe2a628dfa1a [2024-03-15T21:04:55.957Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-15T21:04:55.957Z] Dload Upload Total Spent Left Speed [2024-03-15T21:04:56.218Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7321 --:--:-- --:--:-- --:--:-- 7321 [2024-03-15T21:04:56.218Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ab41e8f33476a8c2c47907bc44ee565bca43bd9a [Pipeline] } [2024-03-15T21:04:56.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-15T21:04:58.065Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-386/archives ] [2024-03-15T21:04:58.065Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-386/archives [2024-03-15T21:04:58.065Z] total 16 [2024-03-15T21:04:58.065Z] drwxr-xr-x 3 root root 4096 Mar 15 20:57 . [2024-03-15T21:04:58.065Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 20:57 .. [2024-03-15T21:04:58.065Z] drwxr-xr-x 2 root root 4096 Mar 15 20:57 cost [2024-03-15T21:04:58.065Z] -rw-r--r-- 1 root root 86 Mar 15 20:57 cost.csv [2024-03-15T21:04:58.065Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-386/archives [2024-03-15T21:04:58.065Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-386/archives [2024-03-15T21:04:58.065Z] total 16 [2024-03-15T21:04:58.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:57 . [2024-03-15T21:04:58.065Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 20:57 .. [2024-03-15T21:04:58.065Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 20:57 cost [2024-03-15T21:04:58.065Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 20:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:04:58.404Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:04:59.297Z] ---> package-listing.sh [2024-03-15T21:04:59.297Z] ++ facter osfamily [2024-03-15T21:04:59.297Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-15T21:04:59.556Z] + OS_FAMILY=debian [2024-03-15T21:04:59.556Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-386 [2024-03-15T21:04:59.556Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-15T21:04:59.556Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-15T21:04:59.556Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-15T21:04:59.556Z] + PACKAGES=/tmp/packages_start.txt [2024-03-15T21:04:59.556Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-386 ']' [2024-03-15T21:04:59.556Z] + PACKAGES=/tmp/packages_end.txt [2024-03-15T21:04:59.556Z] + case "${OS_FAMILY}" in [2024-03-15T21:04:59.556Z] + dpkg -l [2024-03-15T21:04:59.556Z] + grep '^ii' [2024-03-15T21:04:59.556Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-15T21:04:59.556Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-15T21:04:59.556Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-15T21:04:59.556Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-386 ']' [2024-03-15T21:04:59.556Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-386/archives/ [2024-03-15T21:04:59.556Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-386/archives/ [Pipeline] echo [2024-03-15T21:04:59.592Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-386/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-15T21:04:59.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T21:05:00.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T21:05:00.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T21:05:00.702Z] prd-ubuntu20.04-docker-8c-8g-94 does not seem to be running inside a container [2024-03-15T21:05:00.737Z] $ 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-386/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-386 -v /w/workspace/gexfoundry_device-rest-go_PR-386:/w/workspace/gexfoundry_device-rest-go_PR-386:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-386@tmp:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-15T21:05:01.041Z] $ docker top 2a08a9aebd20f8ec0becc9fbbe9e24c9402847c970fb77b9523c34acfa4bc2bc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T21:05:01.440Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-15T21:05:01.752Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-15T21:05:02.058Z] + ls /var/log/sa-host [2024-03-15T21:05:02.058Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T21:05:02.288Z] provisioning config files... [2024-03-15T21:05:02.296Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-386@tmp/config11473149615519360776tmp [Pipeline] { [Pipeline] echo [2024-03-15T21:05:02.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:05:02.665Z] ---> create-netrc.sh [Pipeline] } [2024-03-15T21:05:02.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:05:03.116Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-15T21:05:03.157Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:05:03.476Z] ---> sudo-logs.sh [2024-03-15T21:05:03.476Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-15T21:05:03.567Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:05:03.890Z] ---> job-cost.sh [2024-03-15T21:05:03.890Z] lf-activate-venv: SKIPPING [2024-03-15T21:05:03.890Z] DEBUG: total: 0.2199999988079071 [2024-03-15T21:05:03.890Z] INFO: Retrieving Stack Cost... [2024-03-15T21:05:04.149Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-15T21:05:04.721Z] INFO: Archiving Costs [Pipeline] echo [2024-03-15T21:05:04.756Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T21:05:05.067Z] ---> logs-deploy.sh [2024-03-15T21:05:05.067Z] lf-activate-venv: SKIPPING [2024-03-15T21:05:05.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-386/1 [2024-03-15T21:05:05.067Z] INFO: archiving workspace using pattern(s): [2024-03-15T21:05:06.007Z] Archives upload complete. [2024-03-15T21:05:06.007Z] INFO: archiving logs to Nexus