Pull request #299 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Obtained Jenkinsfile from 34d263e190d02da8071ad4dd96196eccae48709b+f5cefbfc3079018690f325d1bed071e9846b5efb (5ae7d8ec0b4d0d2e1cfa262465e400739e6fd1df) 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-ssh10626075997873450588.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh17274863835749107435.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-299/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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3721391891327233108.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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh42026669420585213.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12569966442939953543.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-299/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-299/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11294350875921430818.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9534 in /w/workspace/gexfoundry_device-rest-go_PR-299 [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-299 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f5cefbfc3079018690f325d1bed071e9846b5efb into PR head commit 34d263e190d02da8071ad4dd96196eccae48709b Merge succeeded, producing 34d263e190d02da8071ad4dd96196eccae48709b Checking out Revision 34d263e190d02da8071ad4dd96196eccae48709b (PR-299) > 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/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34d263e190d02da8071ad4dd96196eccae48709b # 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 f5cefbfc3079018690f325d1bed071e9846b5efb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34d263e190d02da8071ad4dd96196eccae48709b # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T13:12:58.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T13:12:58.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T13:12:58.595Z] ========================================================= [2023-04-24T13:12:58.595Z] EdgeX Global Pipelines Version Info [2023-04-24T13:12:58.595Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:12:59.324Z] ------------------- [2023-04-24T13:12:59.324Z] stable info: [2023-04-24T13:12:59.324Z] ------------------- [2023-04-24T13:12:59.324Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T13:12:59.324Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T13:12:59.324Z] Message: update stable to v1.0.248 [2023-04-24T13:12:59.895Z] ------------------- [2023-04-24T13:12:59.895Z] experimental info: [2023-04-24T13:12:59.895Z] ------------------- [2023-04-24T13:12:59.895Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T13:12:59.895Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T13:12:59.895Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T13:13:00.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-24T13:13:00.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-24T13:13:00.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T13:13:00.333Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T13:13:00.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T13:13:00.414Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T13:13:00.451Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T13:13:00.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T13:13:00.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T13:13:00.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T13:13:00.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T13:13:00.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-24T13:13:00.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T13:13:00.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T13:13:00.799Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T13:13:00.846Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T13:13:00.890Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T13:13:00.935Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T13:13:00.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T13:13:01.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T13:13:01.069Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T13:13:01.111Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T13:13:01.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T13:13:01.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T13:13:01.253Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T13:13:01.298Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T13:13:01.343Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T13:13:01.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-299 [Pipeline] echo [2023-04-24T13:13:01.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-299 [Pipeline] echo [2023-04-24T13:13:01.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-299 [Pipeline] echo [2023-04-24T13:13:01.519Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34d263e190d02da8071ad4dd96196eccae48709b [Pipeline] echo [2023-04-24T13:13:01.567Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34d263e [Pipeline] echo [2023-04-24T13:13:01.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T13:13:01.723Z] provisioning config files... [2023-04-24T13:13:01.737Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp/config2473090915269145657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:13:02.075Z] ---> docker-login.sh [2023-04-24T13:13:02.075Z] nexus3.edgexfoundry.org:10001 [2023-04-24T13:13:02.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:02.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:02.335Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:02.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:02.335Z] [2023-04-24T13:13:02.335Z] Login Succeeded [2023-04-24T13:13:02.335Z] nexus3.edgexfoundry.org:10002 [2023-04-24T13:13:02.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:02.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:02.335Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:02.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:02.335Z] [2023-04-24T13:13:02.335Z] Login Succeeded [2023-04-24T13:13:02.335Z] nexus3.edgexfoundry.org:10003 [2023-04-24T13:13:02.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:02.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:02.595Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:02.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:02.595Z] [2023-04-24T13:13:02.595Z] Login Succeeded [2023-04-24T13:13:02.595Z] nexus3.edgexfoundry.org:10004 [2023-04-24T13:13:02.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:02.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:02.595Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:02.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:02.595Z] [2023-04-24T13:13:02.595Z] Login Succeeded [2023-04-24T13:13:02.595Z] docker.io [2023-04-24T13:13:02.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:02.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:02.856Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:02.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:02.856Z] [2023-04-24T13:13:02.856Z] Login Succeeded [2023-04-24T13:13:02.856Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T13:13:02.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T13:13:03.523Z] + git rev-list -1 --merges 34d263e190d02da8071ad4dd96196eccae48709b~1..34d263e190d02da8071ad4dd96196eccae48709b [Pipeline] echo [2023-04-24T13:13:03.585Z] -----------> git rev-list -1 --merges 34d263e190d02da8071ad4dd96196eccae48709b~1..34d263e190d02da8071ad4dd96196eccae48709b 34d263e190d02da8071ad4dd96196eccae48709b [false] [Pipeline] sh [2023-04-24T13:13:03.897Z] + git log --format=format:%s -1 34d263e190d02da8071ad4dd96196eccae48709b [Pipeline] echo [2023-04-24T13:13:03.936Z] ========================================================= [2023-04-24T13:13:03.936Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T13:13:03.936Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T13:13:04.379Z] + git log --format=format:%s -1 34d263e190d02da8071ad4dd96196eccae48709b [Pipeline] echo [2023-04-24T13:13:04.420Z] [semverPrep] GIT_COMMIT: 34d263e190d02da8071ad4dd96196eccae48709b, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo [2023-04-24T13:13:04.454Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T13:13:04.855Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T13:13:04.855Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T13:13:04.855Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T13:13:04.855Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T13:13:04.855Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T13:13:04.855Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T13:13:04.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:13:05.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T13:13:05.274Z] [2023-04-24T13:13:05.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:13:05.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T13:13:05.656Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T13:13:05.656Z] b85a868b505f: Pulling fs layer [2023-04-24T13:13:05.656Z] e2be974225ed: Pulling fs layer [2023-04-24T13:13:05.656Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T13:13:05.656Z] 988bab9f4d93: Pulling fs layer [2023-04-24T13:13:05.656Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T13:13:05.656Z] eaf3925da568: Pulling fs layer [2023-04-24T13:13:05.656Z] bab4dde63d76: Pulling fs layer [2023-04-24T13:13:05.656Z] bde34c3a00c8: Pulling fs layer [2023-04-24T13:13:05.656Z] b352a97aabf1: Pulling fs layer [2023-04-24T13:13:05.656Z] 4872d77fe225: Pulling fs layer [2023-04-24T13:13:05.656Z] 5851b861e8e6: Pulling fs layer [2023-04-24T13:13:05.656Z] bab4dde63d76: Waiting [2023-04-24T13:13:05.656Z] bde34c3a00c8: Waiting [2023-04-24T13:13:05.656Z] b352a97aabf1: Waiting [2023-04-24T13:13:05.656Z] 988bab9f4d93: Waiting [2023-04-24T13:13:05.656Z] 4872d77fe225: Waiting [2023-04-24T13:13:05.656Z] 1469e6f7b9e6: Waiting [2023-04-24T13:13:05.656Z] eaf3925da568: Waiting [2023-04-24T13:13:05.656Z] 5851b861e8e6: Waiting [2023-04-24T13:13:05.656Z] e2be974225ed: Download complete [2023-04-24T13:13:05.656Z] 988bab9f4d93: Download complete [2023-04-24T13:13:05.656Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T13:13:05.656Z] 1469e6f7b9e6: Download complete [2023-04-24T13:13:05.656Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T13:13:05.656Z] 339a4e72a1f5: Download complete [2023-04-24T13:13:05.656Z] eaf3925da568: Verifying Checksum [2023-04-24T13:13:05.656Z] eaf3925da568: Download complete [2023-04-24T13:13:05.916Z] bde34c3a00c8: Verifying Checksum [2023-04-24T13:13:05.916Z] bde34c3a00c8: Download complete [2023-04-24T13:13:05.916Z] b352a97aabf1: Download complete [2023-04-24T13:13:05.916Z] 4872d77fe225: Download complete [2023-04-24T13:13:05.916Z] 5851b861e8e6: Verifying Checksum [2023-04-24T13:13:05.916Z] 5851b861e8e6: Download complete [2023-04-24T13:13:05.916Z] b85a868b505f: Verifying Checksum [2023-04-24T13:13:05.916Z] b85a868b505f: Download complete [2023-04-24T13:13:06.176Z] bab4dde63d76: Verifying Checksum [2023-04-24T13:13:06.176Z] bab4dde63d76: Download complete [2023-04-24T13:13:07.115Z] b85a868b505f: Pull complete [2023-04-24T13:13:07.115Z] e2be974225ed: Pull complete [2023-04-24T13:13:07.683Z] 339a4e72a1f5: Pull complete [2023-04-24T13:13:07.683Z] 988bab9f4d93: Pull complete [2023-04-24T13:13:07.943Z] 1469e6f7b9e6: Pull complete [2023-04-24T13:13:07.943Z] eaf3925da568: Pull complete [2023-04-24T13:13:09.847Z] bab4dde63d76: Pull complete [2023-04-24T13:13:09.847Z] bde34c3a00c8: Pull complete [2023-04-24T13:13:09.847Z] b352a97aabf1: Pull complete [2023-04-24T13:13:09.847Z] 4872d77fe225: Pull complete [2023-04-24T13:13:09.847Z] 5851b861e8e6: Pull complete [2023-04-24T13:13:09.847Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T13:13:09.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T13:13:09.847Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:13:10.082Z] prd-ubuntu20.04-docker-8c-8g-9534 does not seem to be running inside a container [2023-04-24T13:13:10.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-299 -v /w/workspace/gexfoundry_device-rest-go_PR-299:/w/workspace/gexfoundry_device-rest-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-299@tmp:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T13:13:13.446Z] $ docker top ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 -eo pid,comm [2023-04-24T13:13:13.505Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T13:13:13.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T13:13:13.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T13:13:13.649Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T13:13:13.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T13:13:13.745Z] $ docker exec ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 ssh-agent [2023-04-24T13:13:13.857Z] SSH_AUTH_SOCK=/tmp/ssh-dPM4QQuR10VG/agent.33 [2023-04-24T13:13:13.857Z] SSH_AGENT_PID=39 [2023-04-24T13:13:13.863Z] Running ssh-add (command line suppressed) [2023-04-24T13:13:13.961Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-299@tmp/private_key_6984533057965788875.key (/w/workspace/gexfoundry_device-rest-go_PR-299@tmp/private_key_6984533057965788875.key) [2023-04-24T13:13:13.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T13:13:14.319Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T13:13:14.344Z] $ docker exec --env ******** --env ******** ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 ssh-agent -k [2023-04-24T13:13:14.444Z] unset SSH_AUTH_SOCK; [2023-04-24T13:13:14.444Z] unset SSH_AGENT_PID; [2023-04-24T13:13:14.444Z] echo Agent pid 39 killed; [2023-04-24T13:13:14.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T13:13:14.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T13:13:14.550Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T13:13:14.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T13:13:14.659Z] $ docker exec ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 ssh-agent [2023-04-24T13:13:14.772Z] SSH_AUTH_SOCK=/tmp/ssh-FJaigKLsEHgs/agent.71 [2023-04-24T13:13:14.772Z] SSH_AGENT_PID=77 [2023-04-24T13:13:14.777Z] Running ssh-add (command line suppressed) [2023-04-24T13:13:14.862Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-299@tmp/private_key_17654696239161268133.key (/w/workspace/gexfoundry_device-rest-go_PR-299@tmp/private_key_17654696239161268133.key) [2023-04-24T13:13:14.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T13:13:15.219Z] + git semver init [2023-04-24T13:13:15.478Z] 2023-04-24 13:13:15,377 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T13:13:15.478Z] 2023-04-24 13:13:15,377 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-299/.semver [2023-04-24T13:13:15.478Z] 2023-04-24 13:13:15,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-299/.semver [2023-04-24T13:13:15.478Z] 2023-04-24 13:13:15,378 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-299/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-299, universal_newlines=False, shell=None, istream=None) [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,532 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-299/.git/info/exclude [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-299/.semver/PR-299 with force:False [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,533 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-299/.semver/PR-299 [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,537 [execute] INFO git cat-file --batch-check [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-299/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,545 [execute] INFO git cat-file --batch [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-299/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T13:13:16.871Z] 2023-04-24 13:13:16,550 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-299/.semver/PR-299 [2023-04-24T13:13:16.871Z] 0.0.0 [Pipeline] } [2023-04-24T13:13:16.891Z] $ docker exec --env ******** --env ******** ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 ssh-agent -k [2023-04-24T13:13:16.985Z] unset SSH_AUTH_SOCK; [2023-04-24T13:13:16.986Z] unset SSH_AGENT_PID; [2023-04-24T13:13:16.986Z] echo Agent pid 77 killed; [2023-04-24T13:13:17.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T13:13:17.435Z] + git semver [Pipeline] } [2023-04-24T13:13:17.715Z] $ docker stop --time=1 ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 [2023-04-24T13:13:18.996Z] $ docker rm -f --volumes ad83a667f7a3eea91c338d18f9badafc7cf414695792d24313e06f15e29b1a89 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T13:13:19.396Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T13:13:19.656Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T13:13:19.675Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T13:13:20.296Z] provisioning config files... [2023-04-24T13:13:20.306Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp/config10691708609486955495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:13:20.665Z] ---> docker-login.sh [2023-04-24T13:13:20.665Z] nexus3.edgexfoundry.org:10001 [2023-04-24T13:13:20.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:20.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:20.665Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:20.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:20.665Z] [2023-04-24T13:13:20.665Z] Login Succeeded [2023-04-24T13:13:20.665Z] nexus3.edgexfoundry.org:10002 [2023-04-24T13:13:20.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:20.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:20.665Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:20.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:20.665Z] [2023-04-24T13:13:20.665Z] Login Succeeded [2023-04-24T13:13:20.665Z] nexus3.edgexfoundry.org:10003 [2023-04-24T13:13:20.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:20.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:20.926Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:20.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:20.926Z] [2023-04-24T13:13:20.926Z] Login Succeeded [2023-04-24T13:13:20.926Z] nexus3.edgexfoundry.org:10004 [2023-04-24T13:13:20.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:20.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:20.926Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:20.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:20.926Z] [2023-04-24T13:13:20.926Z] Login Succeeded [2023-04-24T13:13:20.926Z] docker.io [2023-04-24T13:13:21.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:13:21.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:13:21.186Z] Configure a credential helper to remove this warning. See [2023-04-24T13:13:21.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:13:21.186Z] [2023-04-24T13:13:21.186Z] Login Succeeded [2023-04-24T13:13:21.186Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T13:13:21.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T13:13:21.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T13:13:21.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T13:13:21.486Z] ========================================================= [2023-04-24T13:13:21.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T13:13:21.486Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:13:21.951Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T13:13:21.951Z] Sending build context to Docker daemon 10.9MB [2023-04-24T13:13:21.951Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T13:13:21.951Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T13:13:21.951Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T13:13:21.951Z] 63b65145d645: Pulling fs layer [2023-04-24T13:13:21.951Z] a2d21d5440eb: Pulling fs layer [2023-04-24T13:13:21.951Z] 935e6c44a52c: Pulling fs layer [2023-04-24T13:13:21.951Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T13:13:21.951Z] 30dea6a524f1: Pulling fs layer [2023-04-24T13:13:21.951Z] a2aff8979fd8: Pulling fs layer [2023-04-24T13:13:21.951Z] 6808be2612f2: Pulling fs layer [2023-04-24T13:13:21.951Z] f25807f1079a: Pulling fs layer [2023-04-24T13:13:21.951Z] 94cc34f8dd06: Waiting [2023-04-24T13:13:21.951Z] 30dea6a524f1: Waiting [2023-04-24T13:13:21.951Z] a2aff8979fd8: Waiting [2023-04-24T13:13:21.951Z] 6808be2612f2: Waiting [2023-04-24T13:13:21.951Z] f25807f1079a: Waiting [2023-04-24T13:13:22.210Z] a2d21d5440eb: Download complete [2023-04-24T13:13:22.210Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T13:13:22.210Z] 94cc34f8dd06: Download complete [2023-04-24T13:13:22.210Z] 30dea6a524f1: Verifying Checksum [2023-04-24T13:13:22.210Z] 30dea6a524f1: Download complete [2023-04-24T13:13:22.210Z] 63b65145d645: Verifying Checksum [2023-04-24T13:13:22.210Z] 63b65145d645: Download complete [2023-04-24T13:13:22.210Z] a2aff8979fd8: Verifying Checksum [2023-04-24T13:13:22.210Z] a2aff8979fd8: Download complete [2023-04-24T13:13:22.210Z] 63b65145d645: Pull complete [2023-04-24T13:13:22.469Z] a2d21d5440eb: Pull complete [2023-04-24T13:13:22.727Z] f25807f1079a: Verifying Checksum [2023-04-24T13:13:22.727Z] f25807f1079a: Download complete [2023-04-24T13:13:22.727Z] 935e6c44a52c: Verifying Checksum [2023-04-24T13:13:22.727Z] 935e6c44a52c: Download complete [2023-04-24T13:13:22.985Z] 6808be2612f2: Verifying Checksum [2023-04-24T13:13:22.985Z] 6808be2612f2: Download complete [2023-04-24T13:13:26.266Z] 935e6c44a52c: Pull complete [2023-04-24T13:13:26.266Z] 94cc34f8dd06: Pull complete [2023-04-24T13:13:26.266Z] 30dea6a524f1: Pull complete [2023-04-24T13:13:26.266Z] a2aff8979fd8: Pull complete [2023-04-24T13:13:28.169Z] 6808be2612f2: Pull complete [2023-04-24T13:13:28.735Z] f25807f1079a: Pull complete [2023-04-24T13:13:28.735Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T13:13:28.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T13:13:28.735Z] ---> 3b553350e43f [2023-04-24T13:13:28.735Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T13:13:34.016Z] ---> Running in 59bfe8856e34 [2023-04-24T13:13:34.016Z] Removing intermediate container 59bfe8856e34 [2023-04-24T13:13:34.016Z] ---> 9a1bb0a68d4a [2023-04-24T13:13:34.016Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T13:13:34.016Z] ---> Running in d912a74ae9f0 [2023-04-24T13:13:34.016Z] Removing intermediate container d912a74ae9f0 [2023-04-24T13:13:34.016Z] ---> f8b69d394155 [2023-04-24T13:13:34.016Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T13:13:34.016Z] ---> Running in 0db6f281e578 [2023-04-24T13:13:34.016Z] Removing intermediate container 0db6f281e578 [2023-04-24T13:13:34.016Z] ---> 4c43980892cd [2023-04-24T13:13:34.016Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T13:13:34.016Z] ---> Running in 26764dad2632 [2023-04-24T13:13:34.275Z] Removing intermediate container 26764dad2632 [2023-04-24T13:13:34.275Z] ---> e958b1bf346f [2023-04-24T13:13:34.275Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T13:13:34.275Z] ---> Running in 29cb53bea7c1 [2023-04-24T13:13:34.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T13:13:34.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T13:13:34.794Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T13:13:34.794Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T13:13:34.794Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T13:13:34.794Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T13:13:34.794Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T13:13:34.794Z] OK: 269 MiB in 57 packages [2023-04-24T13:13:35.114Z] Still waiting to schedule task [2023-04-24T13:13:35.115Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-24T13:13:35.362Z] Removing intermediate container 29cb53bea7c1 [2023-04-24T13:13:35.362Z] ---> 8b313f5acfe6 [2023-04-24T13:13:35.362Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-24T13:13:35.362Z] ---> Running in 6bc54dc3392a [2023-04-24T13:13:35.362Z] Removing intermediate container 6bc54dc3392a [2023-04-24T13:13:35.362Z] ---> 8494aee40e03 [2023-04-24T13:13:35.362Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T13:13:35.362Z] ---> 5a33a3445938 [2023-04-24T13:13:35.362Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T13:13:35.362Z] ---> Running in 6b96abbe343f [2023-04-24T13:14:31.599Z] Removing intermediate container 6b96abbe343f [2023-04-24T13:14:31.599Z] ---> 9fd1b6b65947 [2023-04-24T13:14:31.599Z] Step 11/12 : COPY . . [2023-04-24T13:14:31.599Z] ---> e74eb83d9160 [2023-04-24T13:14:31.599Z] Step 12/12 : RUN $MAKE [2023-04-24T13:14:31.599Z] ---> Running in 43a206b82d71 [2023-04-24T13:14:31.599Z] noop [2023-04-24T13:14:31.599Z] Removing intermediate container 43a206b82d71 [2023-04-24T13:14:31.599Z] ---> d49d4d676790 [2023-04-24T13:14:31.599Z] Successfully built d49d4d676790 [2023-04-24T13:14:31.599Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:14:32.038Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T13:14:32.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:14:32.190Z] prd-ubuntu20.04-docker-8c-8g-9534 does not seem to be running inside a container [2023-04-24T13:14:32.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-299 -v /w/workspace/gexfoundry_device-rest-go_PR-299:/w/workspace/gexfoundry_device-rest-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-299@tmp:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T13:14:33.047Z] $ docker top 80d8f6bac2f6c25e82f9560bd39f18e920d22f0cce110411e9ca0a1c789fa6e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T13:14:33.420Z] + go version [2023-04-24T13:14:33.420Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T13:14:33.462Z] $ docker stop --time=1 80d8f6bac2f6c25e82f9560bd39f18e920d22f0cce110411e9ca0a1c789fa6e4 [2023-04-24T13:14:35.207Z] $ docker rm -f --volumes 80d8f6bac2f6c25e82f9560bd39f18e920d22f0cce110411e9ca0a1c789fa6e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:14:35.976Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T13:14:35.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:14:36.122Z] prd-ubuntu20.04-docker-8c-8g-9534 does not seem to be running inside a container [2023-04-24T13:14:36.162Z] $ 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-299 -v /w/workspace/gexfoundry_device-rest-go_PR-299:/w/workspace/gexfoundry_device-rest-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-299@tmp:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T13:14:36.483Z] $ docker top 049cf2916f333129b4bbc9edd8847b177daa64b72325d570fce9937d44d2aaa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T13:14:36.871Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-299 [Pipeline] fileExists [Pipeline] sh [2023-04-24T13:14:37.229Z] + make test [2023-04-24T13:14:37.230Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T13:14:42.496Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-24T13:14:50.599Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-24T13:14:50.599Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-04-24T13:14:57.163Z] go vet ./... [2023-04-24T13:14:59.694Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T13:14:59.694Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T13:14:59.694Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T13:14:59.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T13:14:59.772Z] $ docker stop --time=1 049cf2916f333129b4bbc9edd8847b177daa64b72325d570fce9937d44d2aaa0 [2023-04-24T13:15:03.017Z] $ docker rm -f --volumes 049cf2916f333129b4bbc9edd8847b177daa64b72325d570fce9937d44d2aaa0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T13:15:03.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T13:15:03.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T13:15:04.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T13:15:04.621Z] + ls -al . [2023-04-24T13:15:04.621Z] total 184 [2023-04-24T13:15:04.621Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 13:14 . [2023-04-24T13:15:04.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:12 .. [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 13:12 .dockerignore [2023-04-24T13:15:04.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 13:13 .git [2023-04-24T13:15:04.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:12 .github [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 13:12 .gitignore [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 13:12 .golangci.yml [2023-04-24T13:15:04.621Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 13:13 .semver [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 13:12 Attribution.txt [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 13:12 CHANGELOG.md [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 13:12 Dockerfile [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 13:12 GOVERNANCE.md [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 13:12 Jenkinsfile [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 13:12 LICENSE [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 13:12 Makefile [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 13:12 OWNERS.md [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 13:12 README.md [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 13:13 VERSION [2023-04-24T13:15:04.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 13:12 bin [2023-04-24T13:15:04.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:12 cmd [2023-04-24T13:15:04.621Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 13:14 coverage.out [2023-04-24T13:15:04.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 13:12 driver [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 13:12 go.mod [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 13:12 go.sum [2023-04-24T13:15:04.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:12 snap [2023-04-24T13:15:04.621Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 13:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:15:05.038Z] + 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=34d263e190d02da8071ad4dd96196eccae48709b --label arch=amd64 --label version=0.0.0 . [2023-04-24T13:15:05.038Z] Sending build context to Docker daemon 10.92MB [2023-04-24T13:15:05.038Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T13:15:05.038Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T13:15:05.038Z] ---> d49d4d676790 [2023-04-24T13:15:05.038Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T13:15:05.295Z] ---> Running in 24eb0b3d875a [2023-04-24T13:15:05.295Z] Removing intermediate container 24eb0b3d875a [2023-04-24T13:15:05.295Z] ---> f64d7f57683c [2023-04-24T13:15:05.295Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T13:15:05.295Z] ---> Running in bb6b8e51e4f0 [2023-04-24T13:15:05.295Z] Removing intermediate container bb6b8e51e4f0 [2023-04-24T13:15:05.295Z] ---> 7a04425446f9 [2023-04-24T13:15:05.295Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T13:15:05.554Z] ---> Running in 79fe6dcd3170 [2023-04-24T13:15:05.554Z] Removing intermediate container 79fe6dcd3170 [2023-04-24T13:15:05.554Z] ---> 25c7bfaf3c5c [2023-04-24T13:15:05.554Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T13:15:05.554Z] ---> Running in f3aa8bb35a60 [2023-04-24T13:15:05.554Z] Removing intermediate container f3aa8bb35a60 [2023-04-24T13:15:05.554Z] ---> 179c69ef6115 [2023-04-24T13:15:05.554Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T13:15:05.554Z] ---> Running in 5a9eec04d2b2 [2023-04-24T13:15:05.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T13:15:06.064Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9535 in /w/workspace/gexfoundry_device-rest-go_PR-299 [Pipeline] { [2023-04-24T13:15:06.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T13:15:06.072Z] OK: 269 MiB in 57 packages [Pipeline] ws [2023-04-24T13:15:06.144Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-24T13:15:06.232Z] The recommended git tool is: git [2023-04-24T13:15:06.330Z] Removing intermediate container 5a9eec04d2b2 [2023-04-24T13:15:06.330Z] ---> 0a8ef29fabe0 [2023-04-24T13:15:06.330Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-24T13:15:06.330Z] ---> Running in 59f382009dbc [2023-04-24T13:15:06.589Z] Removing intermediate container 59f382009dbc [2023-04-24T13:15:06.589Z] ---> 8151877a5ad5 [2023-04-24T13:15:06.589Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T13:15:06.589Z] ---> b19b0eb19d7d [2023-04-24T13:15:06.589Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T13:15:06.589Z] ---> Running in 3863d9a82ec1 [2023-04-24T13:15:07.705Z] Removing intermediate container 3863d9a82ec1 [2023-04-24T13:15:07.705Z] ---> 96b7a9a15a18 [2023-04-24T13:15:07.705Z] Step 11/25 : COPY . . [2023-04-24T13:15:07.965Z] ---> 6471bfd07ccd [2023-04-24T13:15:07.965Z] Step 12/25 : RUN $MAKE [2023-04-24T13:15:07.965Z] ---> Running in b7d54e032d1e [2023-04-24T13:15:08.223Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-24T13:15:11.878Z] using credential edgex-jenkins-ssh [2023-04-24T13:15:11.900Z] Cloning the remote Git repository [2023-04-24T13:15:11.963Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-24T13:15:12.063Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-24T13:15:12.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-24T13:15:12.211Z] > git --version # timeout=10 [2023-04-24T13:15:12.233Z] > git --version # 'git version 2.25.1' [2023-04-24T13:15:12.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T13:15:12.371Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T13:15:14.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-24T13:15:14.194Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T13:15:15.641Z] Merging remotes/origin/main commit f5cefbfc3079018690f325d1bed071e9846b5efb into PR head commit 34d263e190d02da8071ad4dd96196eccae48709b [2023-04-24T13:15:15.908Z] Merge succeeded, producing 34d263e190d02da8071ad4dd96196eccae48709b [2023-04-24T13:15:15.908Z] Checking out Revision 34d263e190d02da8071ad4dd96196eccae48709b (PR-299) [2023-04-24T13:15:15.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-24T13:15:15.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-24T13:15:15.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T13:15:15.065Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T13:15:15.657Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T13:15:15.720Z] > git checkout -f 34d263e190d02da8071ad4dd96196eccae48709b # timeout=10 [2023-04-24T13:15:15.802Z] > git remote # timeout=10 [2023-04-24T13:15:15.821Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T13:15:15.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T13:15:15.859Z] > git merge f5cefbfc3079018690f325d1bed071e9846b5efb # timeout=10 [2023-04-24T13:15:15.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T13:15:15.916Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T13:15:15.935Z] > git checkout -f 34d263e190d02da8071ad4dd96196eccae48709b # timeout=10 [2023-04-24T13:15:19.382Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" [2023-04-24T13:15:19.423Z] > git --version # timeout=10 [2023-04-24T13:15:19.433Z] > git --version # 'git version 2.25.1' [2023-04-24T13:15:19.445Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T13:15:20.678Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T13:15:20.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T13:15:20.678Z] Dload Upload Total Spent Left Speed [2023-04-24T13:15:20.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-04-24T13:15:21.371Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T13:15:21.712Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T13:15:21.712Z] + sudo tee /etc/docker/daemon.new [2023-04-24T13:15:21.712Z] { [2023-04-24T13:15:21.712Z] "registry-mirrors": [ [2023-04-24T13:15:21.712Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T13:15:21.712Z] ], [2023-04-24T13:15:21.712Z] "bip": "10.250.0.254/24", [2023-04-24T13:15:21.712Z] "hosts": [ [2023-04-24T13:15:21.712Z] "tcp://0.0.0.0:5555", [2023-04-24T13:15:21.712Z] "unix:///var/run/docker.sock" [2023-04-24T13:15:21.712Z] ], [2023-04-24T13:15:21.712Z] "mtu": 1458, [2023-04-24T13:15:21.712Z] "selinux-enabled": true, [2023-04-24T13:15:21.712Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T13:15:21.712Z] } [Pipeline] sh [2023-04-24T13:15:22.061Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T13:15:22.402Z] + sudo service docker restart [2023-04-24T13:15:30.166Z] Removing intermediate container b7d54e032d1e [2023-04-24T13:15:30.166Z] ---> ccb93d62afdd [2023-04-24T13:15:30.166Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T13:15:30.166Z] 3.17: Pulling from library/alpine [2023-04-24T13:15:30.166Z] f56be85fc22e: Pulling fs layer [2023-04-24T13:15:30.166Z] f56be85fc22e: Verifying Checksum [2023-04-24T13:15:30.166Z] f56be85fc22e: Download complete [2023-04-24T13:15:30.166Z] f56be85fc22e: Pull complete [2023-04-24T13:15:30.166Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T13:15:30.166Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T13:15:30.166Z] ---> 9ed4aefc74f6 [2023-04-24T13:15:30.166Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-24T13:15:30.166Z] ---> Running in aae6943356c0 [2023-04-24T13:15:30.166Z] Removing intermediate container aae6943356c0 [2023-04-24T13:15:30.166Z] ---> 307bf7029cfd [2023-04-24T13:15:30.166Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-24T13:15:30.166Z] ---> Running in 07c4bd664da9 [2023-04-24T13:15:30.166Z] Removing intermediate container 07c4bd664da9 [2023-04-24T13:15:30.166Z] ---> 9bc7e681a5e4 [2023-04-24T13:15:30.166Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-24T13:15:30.166Z] ---> Running in ddd3e68db991 [2023-04-24T13:15:30.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T13:15:30.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T13:15:30.166Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T13:15:30.166Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T13:15:30.166Z] OK: 7 MiB in 16 packages [2023-04-24T13:15:30.166Z] Removing intermediate container ddd3e68db991 [2023-04-24T13:15:30.166Z] ---> c3e639848685 [2023-04-24T13:15:30.166Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-24T13:15:30.166Z] ---> caa05b5c5541 [2023-04-24T13:15:30.166Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-24T13:15:30.166Z] ---> 4cca84b3e356 [2023-04-24T13:15:30.166Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-24T13:15:30.425Z] ---> 6a7d0f834739 [2023-04-24T13:15:30.425Z] Step 20/25 : EXPOSE 59986 [2023-04-24T13:15:30.425Z] ---> Running in 418fae937937 [2023-04-24T13:15:30.425Z] Removing intermediate container 418fae937937 [2023-04-24T13:15:30.425Z] ---> 9f0a4eb21252 [2023-04-24T13:15:30.425Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-24T13:15:30.425Z] ---> Running in 5ae33d091092 [2023-04-24T13:15:30.425Z] Removing intermediate container 5ae33d091092 [2023-04-24T13:15:30.425Z] ---> 739454207266 [2023-04-24T13:15:30.425Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T13:15:30.425Z] ---> Running in 83ff3420629a [2023-04-24T13:15:30.693Z] Removing intermediate container 83ff3420629a [2023-04-24T13:15:30.693Z] ---> 47eaa916d506 [2023-04-24T13:15:30.693Z] Step 23/25 : LABEL arch=amd64 [2023-04-24T13:15:30.693Z] ---> Running in 9caaf91d15b8 [2023-04-24T13:15:30.693Z] Removing intermediate container 9caaf91d15b8 [2023-04-24T13:15:30.693Z] ---> f48aad0dc94b [2023-04-24T13:15:30.693Z] Step 24/25 : LABEL git_sha=34d263e190d02da8071ad4dd96196eccae48709b [2023-04-24T13:15:30.693Z] ---> Running in 123cbf713ccd [2023-04-24T13:15:30.952Z] Removing intermediate container 123cbf713ccd [2023-04-24T13:15:30.952Z] ---> 4569fe72f5ec [2023-04-24T13:15:30.952Z] Step 25/25 : LABEL version=0.0.0 [2023-04-24T13:15:30.952Z] ---> Running in bc73e26f8133 [2023-04-24T13:15:30.952Z] Removing intermediate container bc73e26f8133 [2023-04-24T13:15:30.952Z] ---> 5824f29b0689 [2023-04-24T13:15:30.952Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T13:15:30.952Z] Successfully built 5824f29b0689 [2023-04-24T13:15:30.952Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:15:31.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T13:15:31.870Z] [2023-04-24T13:15:31.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:15:32.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T13:15:32.255Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T13:15:32.255Z] 5eb5b503b376: Pulling fs layer [2023-04-24T13:15:32.255Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T13:15:32.255Z] ec43610c2a17: Pulling fs layer [2023-04-24T13:15:32.255Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T13:15:32.255Z] 33b1e0a273af: Pulling fs layer [2023-04-24T13:15:32.255Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T13:15:32.255Z] 2f39f015ded8: Pulling fs layer [2023-04-24T13:15:32.255Z] 33b1e0a273af: Waiting [2023-04-24T13:15:32.255Z] 5d3b04190fa2: Waiting [2023-04-24T13:15:32.255Z] 2f39f015ded8: Waiting [2023-04-24T13:15:32.255Z] 3a2ae6a8a46f: Waiting [2023-04-24T13:15:32.255Z] 5c69ac0246d0: Download complete [2023-04-24T13:15:32.255Z] 3a2ae6a8a46f: Download complete [2023-04-24T13:15:32.255Z] 33b1e0a273af: Verifying Checksum [2023-04-24T13:15:32.255Z] 33b1e0a273af: Download complete [2023-04-24T13:15:32.255Z] ec43610c2a17: Verifying Checksum [2023-04-24T13:15:32.255Z] ec43610c2a17: Download complete [2023-04-24T13:15:32.255Z] 5d3b04190fa2: Download complete [2023-04-24T13:15:32.513Z] 5eb5b503b376: Verifying Checksum [2023-04-24T13:15:32.513Z] 5eb5b503b376: Download complete [2023-04-24T13:15:33.080Z] 2f39f015ded8: Verifying Checksum [2023-04-24T13:15:33.080Z] 2f39f015ded8: Download complete [2023-04-24T13:15:33.645Z] 5eb5b503b376: Pull complete [2023-04-24T13:15:33.902Z] 5c69ac0246d0: Pull complete [2023-04-24T13:15:34.161Z] ec43610c2a17: Pull complete [2023-04-24T13:15:34.161Z] 3a2ae6a8a46f: Pull complete [2023-04-24T13:15:34.419Z] 33b1e0a273af: Pull complete [2023-04-24T13:15:34.678Z] 5d3b04190fa2: Pull complete [2023-04-24T13:15:38.862Z] 2f39f015ded8: Pull complete [2023-04-24T13:15:38.862Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T13:15:38.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T13:15:38.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:15:39.098Z] prd-ubuntu20.04-docker-8c-8g-9534 does not seem to be running inside a container [2023-04-24T13:15:39.142Z] $ 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-299 -v /w/workspace/gexfoundry_device-rest-go_PR-299:/w/workspace/gexfoundry_device-rest-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-299@tmp:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T13:15:43.319Z] $ docker top 36634c346bf33ac20775f8fbe8df66d41bc3c0eba25d7f5915c64f35669465cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-04-24T13:15:43.549Z] provisioning config files... [2023-04-24T13:15:43.578Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17675391532246594107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:15:43.787Z] ---> job-cost.sh [2023-04-24T13:15:43.787Z] lf-activate-venv: SKIPPING [2023-04-24T13:15:43.787Z] INFO: No Stack... [2023-04-24T13:15:43.962Z] ---> docker-login.sh [2023-04-24T13:15:43.962Z] nexus3.edgexfoundry.org:10001 [2023-04-24T13:15:44.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T13:15:44.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:15:44.304Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T13:15:44.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:15:44.499Z] Configure a credential helper to remove this warning. See [2023-04-24T13:15:44.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:15:44.499Z] [2023-04-24T13:15:44.499Z] Login Succeeded [2023-04-24T13:15:44.499Z] nexus3.edgexfoundry.org:10002 [2023-04-24T13:15:44.612Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-299/archives/cost.csv [2023-04-24T13:15:44.612Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T13:15:44.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] [2023-04-24T13:15:44.657Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] did not exist. Created. [2023-04-24T13:15:44.657Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-04-24T13:15:44.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2023-04-24T13:15:45.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:15:45.038Z] Configure a credential helper to remove this warning. See [2023-04-24T13:15:45.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:15:45.038Z] [2023-04-24T13:15:45.038Z] Login Succeeded [2023-04-24T13:15:45.038Z] nexus3.edgexfoundry.org:10003 [2023-04-24T13:15:45.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:15:45.049Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T13:15:45.111Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T13:15:45.140Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T13:15:45.233Z] $ docker stop --time=1 36634c346bf33ac20775f8fbe8df66d41bc3c0eba25d7f5915c64f35669465cc [2023-04-24T13:15:45.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:15:45.318Z] Configure a credential helper to remove this warning. See [2023-04-24T13:15:45.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:15:45.318Z] [2023-04-24T13:15:45.318Z] Login Succeeded [2023-04-24T13:15:45.318Z] nexus3.edgexfoundry.org:10004 [2023-04-24T13:15:45.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:15:45.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:15:45.590Z] Configure a credential helper to remove this warning. See [2023-04-24T13:15:45.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:15:45.590Z] [2023-04-24T13:15:45.590Z] Login Succeeded [2023-04-24T13:15:45.590Z] docker.io [2023-04-24T13:15:45.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T13:15:46.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T13:15:46.128Z] Configure a credential helper to remove this warning. See [2023-04-24T13:15:46.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T13:15:46.128Z] [2023-04-24T13:15:46.128Z] Login Succeeded [2023-04-24T13:15:46.128Z] ---> docker-login.sh ends [2023-04-24T13:15:46.371Z] $ docker rm -f --volumes 36634c346bf33ac20775f8fbe8df66d41bc3c0eba25d7f5915c64f35669465cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-04-24T13:15:46.559Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-04-24T13:15:47.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T13:15:47.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T13:15:47.119Z] ========================================================= [2023-04-24T13:15:47.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T13:15:47.119Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:15:47.642Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T13:15:47.642Z] Sending build context to Docker daemon 138.8kB [2023-04-24T13:15:47.911Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T13:15:47.911Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T13:15:48.180Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T13:15:48.180Z] af6eaf76a39c: Pulling fs layer [2023-04-24T13:15:48.180Z] 55522c791124: Pulling fs layer [2023-04-24T13:15:48.180Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T13:15:48.180Z] 169dfbe0d373: Pulling fs layer [2023-04-24T13:15:48.180Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T13:15:48.180Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T13:15:48.180Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T13:15:48.180Z] 169dfbe0d373: Waiting [2023-04-24T13:15:48.180Z] e1ff8fa3b103: Waiting [2023-04-24T13:15:48.180Z] 5abe8eddf0d5: Waiting [2023-04-24T13:15:48.180Z] 52ebb69f0ebf: Waiting [2023-04-24T13:15:48.180Z] 55522c791124: Verifying Checksum [2023-04-24T13:15:48.180Z] 55522c791124: Download complete [2023-04-24T13:15:48.180Z] 169dfbe0d373: Verifying Checksum [2023-04-24T13:15:48.180Z] 169dfbe0d373: Download complete [2023-04-24T13:15:48.180Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T13:15:48.180Z] e1ff8fa3b103: Download complete [2023-04-24T13:15:48.180Z] af6eaf76a39c: Verifying Checksum [2023-04-24T13:15:48.180Z] af6eaf76a39c: Download complete [2023-04-24T13:15:49.167Z] af6eaf76a39c: Pull complete [2023-04-24T13:15:49.167Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T13:15:49.167Z] 5abe8eddf0d5: Download complete [2023-04-24T13:15:49.761Z] 55522c791124: Pull complete [2023-04-24T13:15:50.732Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T13:15:50.732Z] ce5c4a1c91eb: Download complete [2023-04-24T13:15:50.732Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T13:15:50.732Z] 52ebb69f0ebf: Download complete [2023-04-24T13:16:03.059Z] ce5c4a1c91eb: Pull complete [2023-04-24T13:16:03.059Z] 169dfbe0d373: Pull complete [2023-04-24T13:16:03.059Z] e1ff8fa3b103: Pull complete [2023-04-24T13:16:09.724Z] 52ebb69f0ebf: Pull complete [2023-04-24T13:16:11.702Z] 5abe8eddf0d5: Pull complete [2023-04-24T13:16:11.702Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T13:16:11.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T13:16:11.702Z] ---> 6cb57ee374ae [2023-04-24T13:16:11.702Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T13:16:13.671Z] ---> Running in 22a0880f631f [2023-04-24T13:16:13.671Z] Removing intermediate container 22a0880f631f [2023-04-24T13:16:13.671Z] ---> 475dd935f751 [2023-04-24T13:16:13.671Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T13:16:13.671Z] ---> Running in 8b4e337cff1c [2023-04-24T13:16:14.257Z] Removing intermediate container 8b4e337cff1c [2023-04-24T13:16:14.257Z] ---> 6baa192f0320 [2023-04-24T13:16:14.257Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T13:16:14.257Z] ---> Running in 949b592f3618 [2023-04-24T13:16:14.526Z] Removing intermediate container 949b592f3618 [2023-04-24T13:16:14.526Z] ---> 4b5de1594c7f [2023-04-24T13:16:14.526Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T13:16:14.526Z] ---> Running in 048b5283b058 [2023-04-24T13:16:14.792Z] Removing intermediate container 048b5283b058 [2023-04-24T13:16:14.792Z] ---> 8fbac343f6bc [2023-04-24T13:16:14.792Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T13:16:14.792Z] ---> Running in 4e2bbea8a62e [2023-04-24T13:16:16.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T13:16:16.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T13:16:17.750Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T13:16:17.750Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T13:16:17.750Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T13:16:17.750Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T13:16:17.750Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T13:16:17.750Z] OK: 268 MiB in 57 packages [2023-04-24T13:16:18.713Z] Removing intermediate container 4e2bbea8a62e [2023-04-24T13:16:18.713Z] ---> dc1f996bec67 [2023-04-24T13:16:18.713Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-24T13:16:18.713Z] ---> Running in 8887fafe210f [2023-04-24T13:16:18.980Z] Removing intermediate container 8887fafe210f [2023-04-24T13:16:18.980Z] ---> c8a099ce8f98 [2023-04-24T13:16:18.980Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T13:16:19.569Z] ---> 9c4091ccbed6 [2023-04-24T13:16:19.569Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T13:16:19.569Z] ---> Running in 910e83136392 [2023-04-24T13:17:27.528Z] Removing intermediate container 910e83136392 [2023-04-24T13:17:27.528Z] ---> 9c2bfaf3a97f [2023-04-24T13:17:27.528Z] Step 11/12 : COPY . . [2023-04-24T13:17:27.528Z] ---> 6ad6505374f0 [2023-04-24T13:17:27.528Z] Step 12/12 : RUN $MAKE [2023-04-24T13:17:27.528Z] ---> Running in 6e03231152a7 [2023-04-24T13:17:27.528Z] noop [2023-04-24T13:17:27.528Z] Removing intermediate container 6e03231152a7 [2023-04-24T13:17:27.528Z] ---> 046bbbe4d766 [2023-04-24T13:17:27.528Z] Successfully built 046bbbe4d766 [2023-04-24T13:17:27.528Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:17:28.017Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T13:17:28.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:17:28.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-9535 does not seem to be running inside a container [2023-04-24T13:17:28.366Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T13:17:29.552Z] $ docker top 0cb21ef1098a2eeb02f354656fe1fe03501d4165d17df5af10baac283105bb47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T13:17:30.549Z] + go version [2023-04-24T13:17:30.549Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T13:17:30.582Z] $ docker stop --time=1 0cb21ef1098a2eeb02f354656fe1fe03501d4165d17df5af10baac283105bb47 [2023-04-24T13:17:32.217Z] $ docker rm -f --volumes 0cb21ef1098a2eeb02f354656fe1fe03501d4165d17df5af10baac283105bb47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:17:33.081Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T13:17:33.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:17:33.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-9535 does not seem to be running inside a container [2023-04-24T13:17:33.409Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T13:17:34.529Z] $ docker top 4358a8a0f8de6b98dd089b68cd5a443b53b37c24359df0bcb063413e987f23ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T13:17:35.088Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T13:17:35.481Z] + make test [2023-04-24T13:17:35.481Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T13:18:08.183Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-24T13:20:14.867Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-24T13:20:14.867Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 32.2% of statements [2023-04-24T13:20:14.867Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T13:20:14.867Z] go vet ./... [2023-04-24T13:20:33.088Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T13:20:33.088Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T13:20:33.088Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T13:20:33.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T13:20:33.153Z] $ docker stop --time=1 4358a8a0f8de6b98dd089b68cd5a443b53b37c24359df0bcb063413e987f23ba [2023-04-24T13:20:34.965Z] $ docker rm -f --volumes 4358a8a0f8de6b98dd089b68cd5a443b53b37c24359df0bcb063413e987f23ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T13:20:36.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T13:20:36.162Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T13:20:36.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T13:20:37.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T13:20:37.630Z] + ls -al . [2023-04-24T13:20:37.631Z] total 180 [2023-04-24T13:20:37.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 13:17 . [2023-04-24T13:20:37.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:15 .. [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 13:15 .dockerignore [2023-04-24T13:20:37.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 13:15 .git [2023-04-24T13:20:37.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:15 .github [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 13:15 .gitignore [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 13:15 .golangci.yml [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 13:15 Attribution.txt [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 13:15 CHANGELOG.md [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 13:15 Dockerfile [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 13:15 GOVERNANCE.md [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 13:15 Jenkinsfile [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 13:15 LICENSE [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 13:15 Makefile [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 13:15 OWNERS.md [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 13:15 README.md [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 13:13 VERSION [2023-04-24T13:20:37.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 13:15 bin [2023-04-24T13:20:37.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 13:15 cmd [2023-04-24T13:20:37.631Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 13:20 coverage.out [2023-04-24T13:20:37.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 13:15 driver [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 13:15 go.mod [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 13:15 go.sum [2023-04-24T13:20:37.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 13:15 snap [2023-04-24T13:20:37.631Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:20:38.071Z] + 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=34d263e190d02da8071ad4dd96196eccae48709b --label arch=arm64 --label version=0.0.0 . [2023-04-24T13:20:38.071Z] Sending build context to Docker daemon 154.1kB [2023-04-24T13:20:38.348Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T13:20:38.349Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T13:20:38.349Z] ---> 046bbbe4d766 [2023-04-24T13:20:38.349Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T13:20:38.349Z] ---> Running in 792b4372474e [2023-04-24T13:20:38.626Z] Removing intermediate container 792b4372474e [2023-04-24T13:20:38.626Z] ---> fa81f268c8c8 [2023-04-24T13:20:38.626Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T13:20:38.926Z] ---> Running in b563838fdfa1 [2023-04-24T13:20:38.926Z] Removing intermediate container b563838fdfa1 [2023-04-24T13:20:38.926Z] ---> 3b5f83f18732 [2023-04-24T13:20:38.926Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T13:20:39.207Z] ---> Running in 9e327ef23b14 [2023-04-24T13:20:39.479Z] Removing intermediate container 9e327ef23b14 [2023-04-24T13:20:39.479Z] ---> 86cb17247453 [2023-04-24T13:20:39.479Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T13:20:39.479Z] ---> Running in 86309c666517 [2023-04-24T13:20:39.770Z] Removing intermediate container 86309c666517 [2023-04-24T13:20:39.770Z] ---> df4d70157c33 [2023-04-24T13:20:39.770Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T13:20:39.770Z] ---> Running in 5835b56b2462 [2023-04-24T13:20:40.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T13:20:41.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T13:20:42.318Z] OK: 268 MiB in 57 packages [2023-04-24T13:20:43.294Z] Removing intermediate container 5835b56b2462 [2023-04-24T13:20:43.294Z] ---> 8533eca1b0ba [2023-04-24T13:20:43.294Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-24T13:20:43.294Z] ---> Running in 099858e75351 [2023-04-24T13:20:43.564Z] Removing intermediate container 099858e75351 [2023-04-24T13:20:43.564Z] ---> 6d0a3c66a2a9 [2023-04-24T13:20:43.564Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T13:20:44.159Z] ---> a6f8d020568d [2023-04-24T13:20:44.159Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T13:20:44.159Z] ---> Running in ac1919a498af [2023-04-24T13:20:48.431Z] Removing intermediate container ac1919a498af [2023-04-24T13:20:48.431Z] ---> f7bc8f26b439 [2023-04-24T13:20:48.431Z] Step 11/25 : COPY . . [2023-04-24T13:20:48.704Z] ---> c1fe1e241ab2 [2023-04-24T13:20:48.704Z] Step 12/25 : RUN $MAKE [2023-04-24T13:20:48.973Z] ---> Running in 19b8d7b9b456 [2023-04-24T13:20:49.937Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-24T13:22:56.642Z] Removing intermediate container 19b8d7b9b456 [2023-04-24T13:22:56.642Z] ---> 1db76dc74004 [2023-04-24T13:22:56.642Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T13:22:56.642Z] 3.17: Pulling from library/alpine [2023-04-24T13:22:56.642Z] c41833b44d91: Pulling fs layer [2023-04-24T13:22:56.642Z] c41833b44d91: Verifying Checksum [2023-04-24T13:22:56.642Z] c41833b44d91: Download complete [2023-04-24T13:22:56.642Z] c41833b44d91: Pull complete [2023-04-24T13:22:56.642Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T13:22:56.642Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T13:22:56.642Z] ---> 51e60588ff2c [2023-04-24T13:22:56.642Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-24T13:22:56.642Z] ---> Running in 8084d8a02f64 [2023-04-24T13:22:56.642Z] Removing intermediate container 8084d8a02f64 [2023-04-24T13:22:56.642Z] ---> 751860740d37 [2023-04-24T13:22:56.642Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-24T13:22:56.642Z] ---> Running in 2791b986023f [2023-04-24T13:22:56.642Z] Removing intermediate container 2791b986023f [2023-04-24T13:22:56.642Z] ---> 34bfbe6b4c07 [2023-04-24T13:22:56.642Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-24T13:22:56.642Z] ---> Running in 81f33ff25c67 [2023-04-24T13:22:56.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T13:22:57.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T13:22:58.828Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T13:22:58.828Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T13:22:58.828Z] OK: 8 MiB in 16 packages [2023-04-24T13:22:59.790Z] Removing intermediate container 81f33ff25c67 [2023-04-24T13:22:59.790Z] ---> 0f0def5ffe71 [2023-04-24T13:22:59.790Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-24T13:23:01.197Z] ---> dc3a67d4c3ef [2023-04-24T13:23:01.197Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-24T13:23:01.465Z] ---> 89e068f606da [2023-04-24T13:23:01.465Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-24T13:23:02.054Z] ---> f938914e83f4 [2023-04-24T13:23:02.054Z] Step 20/25 : EXPOSE 59986 [2023-04-24T13:23:02.054Z] ---> Running in 716501d660b1 [2023-04-24T13:23:02.321Z] Removing intermediate container 716501d660b1 [2023-04-24T13:23:02.321Z] ---> d6392878d75a [2023-04-24T13:23:02.321Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-24T13:23:02.321Z] ---> Running in d8f01664bdfe [2023-04-24T13:23:02.590Z] Removing intermediate container d8f01664bdfe [2023-04-24T13:23:02.590Z] ---> d62ca9efe485 [2023-04-24T13:23:02.590Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T13:23:02.590Z] ---> Running in d381dac171cb [2023-04-24T13:23:03.175Z] Removing intermediate container d381dac171cb [2023-04-24T13:23:03.175Z] ---> 29609a57bb2f [2023-04-24T13:23:03.175Z] Step 23/25 : LABEL arch=arm64 [2023-04-24T13:23:03.175Z] ---> Running in 53ed5157f2ca [2023-04-24T13:23:03.441Z] Removing intermediate container 53ed5157f2ca [2023-04-24T13:23:03.441Z] ---> 499e5a0b8157 [2023-04-24T13:23:03.441Z] Step 24/25 : LABEL git_sha=34d263e190d02da8071ad4dd96196eccae48709b [2023-04-24T13:23:03.441Z] ---> Running in a6b9caf1e0a3 [2023-04-24T13:23:03.707Z] Removing intermediate container a6b9caf1e0a3 [2023-04-24T13:23:03.707Z] ---> 84b797f24d78 [2023-04-24T13:23:03.707Z] Step 25/25 : LABEL version=0.0.0 [2023-04-24T13:23:03.707Z] ---> Running in 5157de8738e5 [2023-04-24T13:23:03.972Z] Removing intermediate container 5157de8738e5 [2023-04-24T13:23:03.972Z] ---> 8fa6549206ab [2023-04-24T13:23:03.972Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T13:23:03.972Z] Successfully built 8fa6549206ab [2023-04-24T13:23:03.972Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:23:04.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T13:23:04.762Z] [2023-04-24T13:23:04.762Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:23:05.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T13:23:05.152Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T13:23:05.152Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T13:23:05.152Z] 04944245beec: Pulling fs layer [2023-04-24T13:23:05.152Z] 699f458cf7ca: Pulling fs layer [2023-04-24T13:23:05.152Z] 765212b225bb: Pulling fs layer [2023-04-24T13:23:05.152Z] f23df028b6ca: Pulling fs layer [2023-04-24T13:23:05.152Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T13:23:05.152Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T13:23:05.152Z] f23df028b6ca: Waiting [2023-04-24T13:23:05.152Z] d65c8cfc05b1: Waiting [2023-04-24T13:23:05.152Z] 2437ff75d9bd: Waiting [2023-04-24T13:23:05.152Z] 765212b225bb: Waiting [2023-04-24T13:23:05.420Z] 04944245beec: Verifying Checksum [2023-04-24T13:23:05.420Z] 04944245beec: Download complete [2023-04-24T13:23:05.420Z] 765212b225bb: Verifying Checksum [2023-04-24T13:23:05.420Z] 765212b225bb: Download complete [2023-04-24T13:23:05.420Z] f23df028b6ca: Verifying Checksum [2023-04-24T13:23:05.420Z] f23df028b6ca: Download complete [2023-04-24T13:23:05.420Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T13:23:05.420Z] d65c8cfc05b1: Download complete [2023-04-24T13:23:05.420Z] 699f458cf7ca: Verifying Checksum [2023-04-24T13:23:05.420Z] 699f458cf7ca: Download complete [2023-04-24T13:23:06.003Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T13:23:06.004Z] 8998bd30e6a1: Download complete [2023-04-24T13:23:07.955Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T13:23:07.955Z] 2437ff75d9bd: Download complete [2023-04-24T13:23:09.364Z] 8998bd30e6a1: Pull complete [2023-04-24T13:23:09.947Z] 04944245beec: Pull complete [2023-04-24T13:23:10.904Z] 699f458cf7ca: Pull complete [2023-04-24T13:23:11.171Z] 765212b225bb: Pull complete [2023-04-24T13:23:13.743Z] f23df028b6ca: Pull complete [2023-04-24T13:23:13.743Z] d65c8cfc05b1: Pull complete [2023-04-24T13:23:28.732Z] 2437ff75d9bd: Pull complete [2023-04-24T13:23:28.732Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T13:23:28.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T13:23:28.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:23:29.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-9535 does not seem to be running inside a container [2023-04-24T13:23:29.127Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T13:23:32.073Z] $ docker top e6c20e4370e16dd9747e627b0f7781368391b9b4439d8774adde63b68914cc65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:32.976Z] ---> job-cost.sh [2023-04-24T13:23:32.976Z] lf-activate-venv: SKIPPING [2023-04-24T13:23:32.976Z] INFO: No Stack... [2023-04-24T13:23:33.557Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T13:23:34.139Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T13:23:34.802Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-24T13:23:34.802Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T13:23:34.878Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] [2023-04-24T13:23:34.885Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] did not exist. Created. [2023-04-24T13:23:34.885Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T13:23:35.312Z] /w/workspace/device-rest-go/1@tmp/durable-6c3dd1b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T13:23:35.991Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T13:23:36.030Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T13:23:36.072Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T13:23:36.086Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-299-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T13:23:36.167Z] $ docker stop --time=1 e6c20e4370e16dd9747e627b0f7781368391b9b4439d8774adde63b68914cc65 [2023-04-24T13:23:37.668Z] $ docker rm -f --volumes e6c20e4370e16dd9747e627b0f7781368391b9b4439d8774adde63b68914cc65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-24T13:23:38.667Z] provisioning config files... [2023-04-24T13:23:38.674Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp/config14627651028734902620tmp [Pipeline] { [Pipeline] sh [2023-04-24T13:23:39.009Z] + set +x [2023-04-24T13:23:39.009Z] + + curlbash -s -s https://codecov.io/bash -- [2023-04-24T13:23:39.009Z] [2023-04-24T13:23:39.009Z] [2023-04-24T13:23:39.009Z] _____ _ [2023-04-24T13:23:39.009Z] / ____| | | [2023-04-24T13:23:39.009Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T13:23:39.009Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T13:23:39.009Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T13:23:39.009Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T13:23:39.009Z] Bash-1.0.6 [2023-04-24T13:23:39.009Z] [2023-04-24T13:23:39.009Z] [2023-04-24T13:23:39.009Z] ==> git version 2.25.1 found [2023-04-24T13:23:39.009Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-24T13:23:39.009Z] Release-Date: 2020-01-08 [2023-04-24T13:23:39.009Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-24T13:23:39.009Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T13:23:39.009Z] ==> Jenkins CI detected. [2023-04-24T13:23:39.009Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-299 [2023-04-24T13:23:39.009Z] project root: . [2023-04-24T13:23:39.009Z] --> token set from env [2023-04-24T13:23:39.009Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T13:23:39.009Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T13:23:39.009Z] ==> Python coveragepy not found [2023-04-24T13:23:39.009Z] ==> Searching for coverage reports in: [2023-04-24T13:23:39.009Z] + . [2023-04-24T13:23:39.009Z] -> Found 1 reports [2023-04-24T13:23:39.009Z] ==> Detecting git/mercurial file structure [2023-04-24T13:23:39.269Z] ==> Reading reports [2023-04-24T13:23:39.269Z] + ./coverage.out bytes=14663 [2023-04-24T13:23:39.269Z] ==> Appending adjustments [2023-04-24T13:23:39.269Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T13:23:39.269Z] + Found adjustments [2023-04-24T13:23:39.269Z] ==> Gzipping contents [2023-04-24T13:23:39.269Z] 4.0K /tmp/codecov.zRKMhR.gz [2023-04-24T13:23:39.269Z] ==> Uploading reports [2023-04-24T13:23:39.269Z] url: https://codecov.io [2023-04-24T13:23:39.269Z] query: branch=PR-299&commit=34d263e190d02da8071ad4dd96196eccae48709b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-299%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=299&job=&cmd_args= [2023-04-24T13:23:39.269Z] -> Pinging Codecov [2023-04-24T13:23:39.269Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-299&commit=34d263e190d02da8071ad4dd96196eccae48709b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-299%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=299&job=&cmd_args= [2023-04-24T13:23:39.528Z] -> Uploading to [2023-04-24T13:23:39.528Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/4E5D53B4F1F92C436F7061BF334D961C/34d263e190d02da8071ad4dd96196eccae48709b/83d37fd0-6caf-4453-9e08-a9093f66f3ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T132339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92e5ff51ffe6b49d4a3a2895ed6f9126aad2d59e1cfa1c0b4d742dc5cb88ca68 [2023-04-24T13:23:39.528Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T13:23:39.528Z] Dload Upload Total Spent Left Speed [2023-04-24T13:23:39.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11895 [2023-04-24T13:23:39.528Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/34d263e190d02da8071ad4dd96196eccae48709b [Pipeline] } [2023-04-24T13:23:39.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-24T13:23:41.326Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-299/archives ] [2023-04-24T13:23:41.326Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-299/archives [2023-04-24T13:23:41.326Z] total 16 [2023-04-24T13:23:41.326Z] drwxr-xr-x 3 root root 4096 Apr 24 13:15 . [2023-04-24T13:23:41.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 13:15 .. [2023-04-24T13:23:41.326Z] drwxr-xr-x 2 root root 4096 Apr 24 13:15 cost [2023-04-24T13:23:41.326Z] -rw-r--r-- 1 root root 86 Apr 24 13:15 cost.csv [2023-04-24T13:23:41.326Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-299/archives [2023-04-24T13:23:41.326Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-299/archives [2023-04-24T13:23:41.326Z] total 16 [2023-04-24T13:23:41.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 13:15 . [2023-04-24T13:23:41.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 13:15 .. [2023-04-24T13:23:41.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 13:15 cost [2023-04-24T13:23:41.326Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 24 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:41.657Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:42.551Z] ---> package-listing.sh [2023-04-24T13:23:42.551Z] ++ facter osfamily [2023-04-24T13:23:42.551Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T13:23:42.811Z] + OS_FAMILY=debian [2023-04-24T13:23:42.811Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-299 [2023-04-24T13:23:42.811Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T13:23:42.811Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T13:23:42.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T13:23:42.811Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T13:23:42.811Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-299 ']' [2023-04-24T13:23:42.811Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T13:23:42.811Z] + case "${OS_FAMILY}" in [2023-04-24T13:23:42.811Z] + dpkg -l [2023-04-24T13:23:42.811Z] + grep '^ii' [2023-04-24T13:23:42.811Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T13:23:42.811Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T13:23:42.811Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T13:23:42.811Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-299 ']' [2023-04-24T13:23:42.811Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-299/archives/ [2023-04-24T13:23:42.811Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-299/archives/ [Pipeline] echo [2023-04-24T13:23:42.854Z] 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-299/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T13:23:43.145Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T13:23:43.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T13:23:43.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T13:23:43.696Z] prd-ubuntu20.04-docker-8c-8g-9534 does not seem to be running inside a container [2023-04-24T13:23:43.741Z] $ 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-299/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-299 -v /w/workspace/gexfoundry_device-rest-go_PR-299:/w/workspace/gexfoundry_device-rest-go_PR-299:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-299@tmp:/w/workspace/gexfoundry_device-rest-go_PR-299@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 [2023-04-24T13:23:43.920Z] $ docker top 6db6ca2b1d5ef960264018a4b5bb0d89fd7366baeab45802d02e40874f106c8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T13:23:44.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T13:23:44.602Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T13:23:44.912Z] + ls /var/log/sa-host [2023-04-24T13:23:44.912Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T13:23:45.049Z] provisioning config files... [2023-04-24T13:23:45.057Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-299@tmp/config365499073910592088tmp [Pipeline] { [Pipeline] echo [2023-04-24T13:23:45.113Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:45.428Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T13:23:45.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:45.861Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T13:23:45.892Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:46.198Z] ---> sudo-logs.sh [2023-04-24T13:23:46.198Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T13:23:46.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:46.598Z] ---> job-cost.sh [2023-04-24T13:23:46.598Z] lf-activate-venv: SKIPPING [2023-04-24T13:23:46.598Z] DEBUG: total: 0.2199999988079071 [2023-04-24T13:23:46.598Z] INFO: Retrieving Stack Cost... [2023-04-24T13:23:46.864Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T13:23:47.432Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T13:23:47.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T13:23:47.773Z] ---> logs-deploy.sh [2023-04-24T13:23:47.773Z] lf-activate-venv: SKIPPING [2023-04-24T13:23:47.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-299/1 [2023-04-24T13:23:47.773Z] INFO: archiving workspace using pattern(s): [2023-04-24T13:23:48.709Z] Archives upload complete. [2023-04-24T13:23:48.709Z] INFO: archiving logs to Nexus