Pull request #289 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 weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 795c3d665a96d2a485aec9c896c7781dae732fba rather than 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba Obtained Jenkinsfile from 795c3d665a96d2a485aec9c896c7781dae732fba 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-ssh10941886981330568366.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-ssh12643554871538635396.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-289/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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13671196754075104167.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-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10926597254769373044.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-ssh1743374250041770651.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-289/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-289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh798778635506621835.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 Running on prd-ubuntu20.04-docker-8c-8g-7649 in /w/workspace/gexfoundry_device-rest-go_PR-289 [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-289 # 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 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba Merge succeeded, producing 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba Checking out Revision 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba (PR-289) > 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/289/head:refs/remotes/origin/PR-289 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba # 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 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba # timeout=10 Commit message: "feat!: Consume SDK interface changes" 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-13T03:49:44.640Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T03:49:44.825Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T03:49:44.914Z] ========================================================= [2023-04-13T03:49:44.914Z] EdgeX Global Pipelines Version Info [2023-04-13T03:49:44.914Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T03:49:45.697Z] ------------------- [2023-04-13T03:49:45.697Z] stable info: [2023-04-13T03:49:45.697Z] ------------------- [2023-04-13T03:49:45.697Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T03:49:45.697Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T03:49:45.697Z] Message: update stable to v1.0.248 [2023-04-13T03:49:46.284Z] ------------------- [2023-04-13T03:49:46.284Z] experimental info: [2023-04-13T03:49:46.284Z] ------------------- [2023-04-13T03:49:46.284Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T03:49:46.284Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T03:49:46.284Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T03:49:46.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-13T03:49:46.678Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-13T03:49:46.720Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T03:49:46.769Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T03:49:46.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T03:49:46.858Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T03:49:46.901Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T03:49:46.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T03:49:46.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T03:49:47.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T03:49:47.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T03:49:47.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-13T03:49:47.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T03:49:47.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T03:49:47.336Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T03:49:47.381Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T03:49:47.445Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T03:49:47.490Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T03:49:47.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T03:49:47.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T03:49:47.791Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T03:49:47.908Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T03:49:47.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T03:49:48.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T03:49:48.062Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T03:49:48.121Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T03:49:48.162Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T03:49:48.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-289 [Pipeline] echo [2023-04-13T03:49:48.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-289 [Pipeline] echo [2023-04-13T03:49:48.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-289 [Pipeline] echo [2023-04-13T03:49:48.330Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [Pipeline] echo [2023-04-13T03:49:48.367Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1016ce9 [Pipeline] echo [2023-04-13T03:49:48.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T03:49:48.514Z] provisioning config files... [2023-04-13T03:49:48.529Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config1518727207940413060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T03:49:48.880Z] ---> docker-login.sh [2023-04-13T03:49:48.880Z] nexus3.edgexfoundry.org:10001 [2023-04-13T03:49:51.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:49:51.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:49:51.449Z] Configure a credential helper to remove this warning. See [2023-04-13T03:49:51.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:49:51.449Z] [2023-04-13T03:49:51.449Z] Login Succeeded [2023-04-13T03:49:51.449Z] nexus3.edgexfoundry.org:10002 [2023-04-13T03:49:51.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:49:51.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:49:51.449Z] Configure a credential helper to remove this warning. See [2023-04-13T03:49:51.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:49:51.449Z] [2023-04-13T03:49:51.449Z] Login Succeeded [2023-04-13T03:49:51.707Z] nexus3.edgexfoundry.org:10003 [2023-04-13T03:49:51.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:49:51.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:49:51.707Z] Configure a credential helper to remove this warning. See [2023-04-13T03:49:51.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:49:51.707Z] [2023-04-13T03:49:51.707Z] Login Succeeded [2023-04-13T03:49:51.707Z] nexus3.edgexfoundry.org:10004 [2023-04-13T03:49:51.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:49:51.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:49:51.707Z] Configure a credential helper to remove this warning. See [2023-04-13T03:49:51.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:49:51.707Z] [2023-04-13T03:49:51.707Z] Login Succeeded [2023-04-13T03:49:51.707Z] docker.io [2023-04-13T03:49:51.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:49:52.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:49:52.237Z] Configure a credential helper to remove this warning. See [2023-04-13T03:49:52.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:49:52.237Z] [2023-04-13T03:49:52.237Z] Login Succeeded [2023-04-13T03:49:52.237Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T03:49:52.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T03:49:53.253Z] + git rev-list -1 --merges 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba~1..1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [Pipeline] echo [2023-04-13T03:49:53.286Z] -----------> git rev-list -1 --merges 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba~1..1016ce9456fa13178f6c2470ebffbab6c8d0e0ba 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [false] [Pipeline] sh [2023-04-13T03:49:53.595Z] + git log --format=format:%s -1 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [Pipeline] echo [2023-04-13T03:49:53.627Z] ========================================================= [2023-04-13T03:49:53.627Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T03:49:53.627Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T03:49:54.080Z] + git log --format=format:%s -1 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [Pipeline] echo [2023-04-13T03:49:54.118Z] [semverPrep] GIT_COMMIT: 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo [2023-04-13T03:49:54.145Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T03:49:54.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T03:49:54.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T03:49:54.536Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T03:49:54.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T03:49:54.536Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T03:49:54.536Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T03:49:54.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:49:54.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T03:49:54.956Z] [2023-04-13T03:49:54.956Z] 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-13T03:49:55.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T03:49:55.925Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T03:49:55.925Z] b85a868b505f: Pulling fs layer [2023-04-13T03:49:55.925Z] e2be974225ed: Pulling fs layer [2023-04-13T03:49:55.925Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T03:49:55.925Z] 988bab9f4d93: Pulling fs layer [2023-04-13T03:49:55.925Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T03:49:55.925Z] eaf3925da568: Pulling fs layer [2023-04-13T03:49:55.925Z] bab4dde63d76: Pulling fs layer [2023-04-13T03:49:55.925Z] bde34c3a00c8: Pulling fs layer [2023-04-13T03:49:55.925Z] b352a97aabf1: Pulling fs layer [2023-04-13T03:49:55.925Z] 4872d77fe225: Pulling fs layer [2023-04-13T03:49:55.925Z] 5851b861e8e6: Pulling fs layer [2023-04-13T03:49:55.925Z] 1469e6f7b9e6: Waiting [2023-04-13T03:49:55.925Z] eaf3925da568: Waiting [2023-04-13T03:49:55.925Z] bab4dde63d76: Waiting [2023-04-13T03:49:55.925Z] bde34c3a00c8: Waiting [2023-04-13T03:49:55.925Z] b352a97aabf1: Waiting [2023-04-13T03:49:55.925Z] 4872d77fe225: Waiting [2023-04-13T03:49:55.925Z] 988bab9f4d93: Waiting [2023-04-13T03:49:55.925Z] 5851b861e8e6: Waiting [2023-04-13T03:49:55.925Z] e2be974225ed: Download complete [2023-04-13T03:49:55.925Z] 988bab9f4d93: Verifying Checksum [2023-04-13T03:49:55.925Z] 988bab9f4d93: Download complete [2023-04-13T03:49:55.925Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T03:49:55.925Z] 339a4e72a1f5: Download complete [2023-04-13T03:49:55.925Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T03:49:55.925Z] 1469e6f7b9e6: Download complete [2023-04-13T03:49:56.197Z] eaf3925da568: Download complete [2023-04-13T03:49:56.197Z] bde34c3a00c8: Download complete [2023-04-13T03:49:56.197Z] b352a97aabf1: Verifying Checksum [2023-04-13T03:49:56.197Z] b352a97aabf1: Download complete [2023-04-13T03:49:56.197Z] 4872d77fe225: Verifying Checksum [2023-04-13T03:49:56.197Z] 4872d77fe225: Download complete [2023-04-13T03:49:56.197Z] 5851b861e8e6: Download complete [2023-04-13T03:49:56.460Z] bab4dde63d76: Verifying Checksum [2023-04-13T03:49:56.460Z] bab4dde63d76: Download complete [2023-04-13T03:49:56.719Z] b85a868b505f: Download complete [2023-04-13T03:49:58.123Z] b85a868b505f: Pull complete [2023-04-13T03:49:58.382Z] e2be974225ed: Pull complete [2023-04-13T03:49:59.356Z] 339a4e72a1f5: Pull complete [2023-04-13T03:49:59.620Z] 988bab9f4d93: Pull complete [2023-04-13T03:50:00.206Z] 1469e6f7b9e6: Pull complete [2023-04-13T03:50:00.775Z] eaf3925da568: Pull complete [2023-04-13T03:50:03.311Z] bab4dde63d76: Pull complete [2023-04-13T03:50:03.311Z] bde34c3a00c8: Pull complete [2023-04-13T03:50:03.311Z] b352a97aabf1: Pull complete [2023-04-13T03:50:03.311Z] 4872d77fe225: Pull complete [2023-04-13T03:50:03.579Z] 5851b861e8e6: Pull complete [2023-04-13T03:50:03.579Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T03:50:03.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T03:50:03.579Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T03:50:03.830Z] prd-ubuntu20.04-docker-8c-8g-7649 does not seem to be running inside a container [2023-04-13T03:50:03.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-289 -v /w/workspace/gexfoundry_device-rest-go_PR-289:/w/workspace/gexfoundry_device-rest-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-289@tmp:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T03:50:08.524Z] $ docker top ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 -eo pid,comm [2023-04-13T03:50:08.578Z] 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-13T03:50:08.578Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T03:50:08.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T03:50:08.716Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T03:50:08.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T03:50:08.857Z] $ docker exec ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 ssh-agent [2023-04-13T03:50:08.978Z] SSH_AUTH_SOCK=/tmp/ssh-IFTzn4Wmazue/agent.14 [2023-04-13T03:50:08.978Z] SSH_AGENT_PID=21 [2023-04-13T03:50:08.985Z] Running ssh-add (command line suppressed) [2023-04-13T03:50:09.092Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_14378447760835020456.key (/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_14378447760835020456.key) [2023-04-13T03:50:09.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T03:50:09.464Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T03:50:09.500Z] $ docker exec --env ******** --env ******** ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 ssh-agent -k [2023-04-13T03:50:09.602Z] unset SSH_AUTH_SOCK; [2023-04-13T03:50:09.602Z] unset SSH_AGENT_PID; [2023-04-13T03:50:09.603Z] echo Agent pid 21 killed; [2023-04-13T03:50:09.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T03:50:09.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T03:50:09.706Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T03:50:09.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T03:50:09.859Z] $ docker exec ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 ssh-agent [2023-04-13T03:50:09.960Z] SSH_AUTH_SOCK=/tmp/ssh-QMO17TwFUqdJ/agent.71 [2023-04-13T03:50:09.960Z] SSH_AGENT_PID=77 [2023-04-13T03:50:09.966Z] Running ssh-add (command line suppressed) [2023-04-13T03:50:10.085Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_1865339035759739281.key (/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_1865339035759739281.key) [2023-04-13T03:50:10.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T03:50:10.435Z] + git semver init [2023-04-13T03:50:10.696Z] 2023-04-13 03:50:10,660 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T03:50:10.696Z] 2023-04-13 03:50:10,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-289/.semver [2023-04-13T03:50:10.697Z] 2023-04-13 03:50:10,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-289/.semver [2023-04-13T03:50:10.697Z] 2023-04-13 03:50:10,661 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-289/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-289, universal_newlines=False, shell=None, istream=None) [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,704 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-289/.git/info/exclude [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,705 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-289/.semver/PR-289 with force:False [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,705 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-289/.semver/PR-289 [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,710 [execute] INFO git cat-file --batch-check [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-289/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,717 [execute] INFO git cat-file --batch [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-289/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T03:50:12.109Z] 2023-04-13 03:50:11,723 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-289/.semver/PR-289 [2023-04-13T03:50:12.109Z] 0.0.0 [Pipeline] } [2023-04-13T03:50:12.153Z] $ docker exec --env ******** --env ******** ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 ssh-agent -k [2023-04-13T03:50:12.227Z] unset SSH_AUTH_SOCK; [2023-04-13T03:50:12.228Z] unset SSH_AGENT_PID; [2023-04-13T03:50:12.228Z] echo Agent pid 77 killed; [2023-04-13T03:50:12.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T03:50:12.671Z] + git semver [Pipeline] } [2023-04-13T03:50:12.962Z] $ docker stop --time=1 ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 [2023-04-13T03:50:15.441Z] $ docker rm -f --volumes ed2bb9e906084e3c87f044244189717011b12c4e4be30bd21ef226aa717b2ed2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T03:50:15.860Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T03:50:16.211Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T03:50:16.230Z] [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-13T03:50:16.812Z] provisioning config files... [2023-04-13T03:50:16.824Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config13796803294875518029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T03:50:17.180Z] ---> docker-login.sh [2023-04-13T03:50:17.180Z] nexus3.edgexfoundry.org:10001 [2023-04-13T03:50:17.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:50:17.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:50:17.180Z] Configure a credential helper to remove this warning. See [2023-04-13T03:50:17.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:50:17.180Z] [2023-04-13T03:50:17.180Z] Login Succeeded [2023-04-13T03:50:17.180Z] nexus3.edgexfoundry.org:10002 [2023-04-13T03:50:17.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:50:17.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:50:17.180Z] Configure a credential helper to remove this warning. See [2023-04-13T03:50:17.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:50:17.180Z] [2023-04-13T03:50:17.180Z] Login Succeeded [2023-04-13T03:50:17.180Z] nexus3.edgexfoundry.org:10003 [2023-04-13T03:50:17.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:50:17.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:50:17.439Z] Configure a credential helper to remove this warning. See [2023-04-13T03:50:17.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:50:17.439Z] [2023-04-13T03:50:17.439Z] Login Succeeded [2023-04-13T03:50:17.439Z] nexus3.edgexfoundry.org:10004 [2023-04-13T03:50:17.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:50:17.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:50:17.439Z] Configure a credential helper to remove this warning. See [2023-04-13T03:50:17.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:50:17.439Z] [2023-04-13T03:50:17.439Z] Login Succeeded [2023-04-13T03:50:17.439Z] docker.io [2023-04-13T03:50:17.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:50:17.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:50:17.699Z] Configure a credential helper to remove this warning. See [2023-04-13T03:50:17.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:50:17.699Z] [2023-04-13T03:50:17.699Z] Login Succeeded [2023-04-13T03:50:17.699Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T03:50:17.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T03:50:17.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T03:50:17.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T03:50:18.030Z] ========================================================= [2023-04-13T03:50:18.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T03:50:18.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:50:18.568Z] + 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-13T03:50:18.568Z] Sending build context to Docker daemon 10.88MB [2023-04-13T03:50:18.568Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T03:50:18.568Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T03:50:18.568Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T03:50:18.568Z] 63b65145d645: Pulling fs layer [2023-04-13T03:50:18.568Z] a2d21d5440eb: Pulling fs layer [2023-04-13T03:50:18.568Z] 935e6c44a52c: Pulling fs layer [2023-04-13T03:50:18.568Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T03:50:18.568Z] 30dea6a524f1: Pulling fs layer [2023-04-13T03:50:18.568Z] a2aff8979fd8: Pulling fs layer [2023-04-13T03:50:18.568Z] 6808be2612f2: Pulling fs layer [2023-04-13T03:50:18.568Z] f25807f1079a: Pulling fs layer [2023-04-13T03:50:18.568Z] 30dea6a524f1: Waiting [2023-04-13T03:50:18.568Z] a2aff8979fd8: Waiting [2023-04-13T03:50:18.568Z] 6808be2612f2: Waiting [2023-04-13T03:50:18.568Z] 94cc34f8dd06: Waiting [2023-04-13T03:50:18.568Z] f25807f1079a: Waiting [2023-04-13T03:50:18.830Z] a2d21d5440eb: Download complete [2023-04-13T03:50:18.830Z] 94cc34f8dd06: Download complete [2023-04-13T03:50:18.830Z] 30dea6a524f1: Download complete [2023-04-13T03:50:18.830Z] 63b65145d645: Verifying Checksum [2023-04-13T03:50:18.830Z] 63b65145d645: Download complete [2023-04-13T03:50:18.830Z] a2aff8979fd8: Verifying Checksum [2023-04-13T03:50:18.830Z] a2aff8979fd8: Download complete [2023-04-13T03:50:18.830Z] 63b65145d645: Pull complete [2023-04-13T03:50:19.095Z] a2d21d5440eb: Pull complete [2023-04-13T03:50:19.358Z] f25807f1079a: Verifying Checksum [2023-04-13T03:50:19.358Z] f25807f1079a: Download complete [2023-04-13T03:50:19.358Z] 935e6c44a52c: Verifying Checksum [2023-04-13T03:50:19.358Z] 935e6c44a52c: Download complete [2023-04-13T03:50:19.615Z] 6808be2612f2: Verifying Checksum [2023-04-13T03:50:19.615Z] 6808be2612f2: Download complete [2023-04-13T03:50:22.899Z] 935e6c44a52c: Pull complete [2023-04-13T03:50:22.899Z] 94cc34f8dd06: Pull complete [2023-04-13T03:50:22.899Z] 30dea6a524f1: Pull complete [2023-04-13T03:50:22.899Z] a2aff8979fd8: Pull complete [2023-04-13T03:50:24.800Z] 6808be2612f2: Pull complete [2023-04-13T03:50:25.736Z] f25807f1079a: Pull complete [2023-04-13T03:50:25.736Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T03:50:25.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T03:50:25.736Z] ---> 3b553350e43f [2023-04-13T03:50:25.736Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T03:50:27.641Z] ---> Running in d77aef97ea2b [2023-04-13T03:50:27.641Z] Removing intermediate container d77aef97ea2b [2023-04-13T03:50:27.641Z] ---> 908f0986475d [2023-04-13T03:50:27.641Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T03:50:27.641Z] ---> Running in 0d3c6f7a1144 [2023-04-13T03:50:27.641Z] Removing intermediate container 0d3c6f7a1144 [2023-04-13T03:50:27.641Z] ---> 58d3f9776986 [2023-04-13T03:50:27.641Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T03:50:27.641Z] ---> Running in 73ecfeed9466 [2023-04-13T03:50:27.641Z] Removing intermediate container 73ecfeed9466 [2023-04-13T03:50:27.641Z] ---> 8cb8d55d1ba7 [2023-04-13T03:50:27.641Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T03:50:27.901Z] ---> Running in be28cc06a800 [2023-04-13T03:50:27.901Z] Removing intermediate container be28cc06a800 [2023-04-13T03:50:27.901Z] ---> 0d012c08ea68 [2023-04-13T03:50:27.901Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T03:50:27.901Z] ---> Running in 62d73a4c079f [2023-04-13T03:50:28.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T03:50:28.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T03:50:28.679Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T03:50:28.680Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T03:50:28.680Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T03:50:28.680Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T03:50:28.680Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T03:50:28.680Z] OK: 269 MiB in 57 packages [2023-04-13T03:50:29.248Z] Removing intermediate container 62d73a4c079f [2023-04-13T03:50:29.248Z] ---> 7d84260f222d [2023-04-13T03:50:29.248Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-13T03:50:29.248Z] ---> Running in ad114079f3f2 [2023-04-13T03:50:29.248Z] Removing intermediate container ad114079f3f2 [2023-04-13T03:50:29.248Z] ---> 36f6db089abe [2023-04-13T03:50:29.248Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T03:50:29.507Z] ---> 1d2439d70a36 [2023-04-13T03:50:29.507Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T03:50:29.507Z] ---> Running in cfc64e4b64b3 [2023-04-13T03:50:31.637Z] Still waiting to schedule task [2023-04-13T03:50:31.637Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8376’ [2023-04-13T03:50:56.051Z] Removing intermediate container cfc64e4b64b3 [2023-04-13T03:50:56.051Z] ---> 70b1f0cc77e0 [2023-04-13T03:50:56.051Z] Step 11/12 : COPY . . [2023-04-13T03:50:56.051Z] ---> 3f46eb9b8d6c [2023-04-13T03:50:56.051Z] Step 12/12 : RUN $MAKE [2023-04-13T03:50:56.051Z] ---> Running in 7605fe5e4ec1 [2023-04-13T03:50:56.051Z] noop [2023-04-13T03:50:56.051Z] Removing intermediate container 7605fe5e4ec1 [2023-04-13T03:50:56.051Z] ---> f152da171859 [2023-04-13T03:50:56.051Z] Successfully built f152da171859 [2023-04-13T03:50:56.051Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:50:56.672Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T03:50:56.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T03:50:56.824Z] prd-ubuntu20.04-docker-8c-8g-7649 does not seem to be running inside a container [2023-04-13T03:50:56.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-289 -v /w/workspace/gexfoundry_device-rest-go_PR-289:/w/workspace/gexfoundry_device-rest-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-289@tmp:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T03:50:57.214Z] $ docker top 4be4937be7747475f1f8a58c82a26688a2c076d1e297e3b1b669057a2cf091f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T03:50:57.612Z] + go version [2023-04-13T03:50:57.612Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T03:50:57.694Z] $ docker stop --time=1 4be4937be7747475f1f8a58c82a26688a2c076d1e297e3b1b669057a2cf091f1 [2023-04-13T03:50:58.939Z] $ docker rm -f --volumes 4be4937be7747475f1f8a58c82a26688a2c076d1e297e3b1b669057a2cf091f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:50:59.642Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T03:50:59.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T03:50:59.837Z] prd-ubuntu20.04-docker-8c-8g-7649 does not seem to be running inside a container [2023-04-13T03:50:59.879Z] $ 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-289 -v /w/workspace/gexfoundry_device-rest-go_PR-289:/w/workspace/gexfoundry_device-rest-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-289@tmp:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T03:51:00.253Z] $ docker top dc59e069e7fc0f378a4adb074ad83e5d758fda6cc00c0dc0126854e9c8eb9944 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T03:51:00.669Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-289 [Pipeline] fileExists [Pipeline] sh [2023-04-13T03:51:01.031Z] + make test [2023-04-13T03:51:01.031Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T03:51:06.306Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-13T03:51:16.295Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-13T03:51:16.295Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.3% of statements [2023-04-13T03:51:22.855Z] go vet ./... [2023-04-13T03:51:25.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T03:51:25.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T03:51:25.384Z] ./bin/test-attribution-txt.sh [2023-04-13T03:51:25.384Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T03:51:25.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T03:51:25.467Z] $ docker stop --time=1 dc59e069e7fc0f378a4adb074ad83e5d758fda6cc00c0dc0126854e9c8eb9944 [2023-04-13T03:51:27.559Z] $ docker rm -f --volumes dc59e069e7fc0f378a4adb074ad83e5d758fda6cc00c0dc0126854e9c8eb9944 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T03:51:28.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T03:51:28.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T03:51:28.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T03:51:29.119Z] + ls -al . [2023-04-13T03:51:29.119Z] total 184 [2023-04-13T03:51:29.119Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 03:51 . [2023-04-13T03:51:29.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:49 .. [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 03:49 .dockerignore [2023-04-13T03:51:29.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:50 .git [2023-04-13T03:51:29.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:49 .github [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 03:49 .gitignore [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 03:49 .golangci.yml [2023-04-13T03:51:29.119Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:50 .semver [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 13 03:49 Attribution.txt [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 13 03:49 CHANGELOG.md [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 13 03:49 Dockerfile [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:49 GOVERNANCE.md [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 03:49 Jenkinsfile [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 03:49 LICENSE [2023-04-13T03:51:29.119Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 13 03:49 Makefile [2023-04-13T03:51:29.120Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 03:49 OWNERS.md [2023-04-13T03:51:29.120Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 13 03:49 README.md [2023-04-13T03:51:29.120Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:50 VERSION [2023-04-13T03:51:29.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:49 bin [2023-04-13T03:51:29.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:49 cmd [2023-04-13T03:51:29.120Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 13 03:51 coverage.out [2023-04-13T03:51:29.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:49 driver [2023-04-13T03:51:29.120Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 13 03:49 go.mod [2023-04-13T03:51:29.120Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 03:49 go.sum [2023-04-13T03:51:29.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:49 snap [2023-04-13T03:51:29.120Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 03:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:51:29.536Z] + 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=1016ce9456fa13178f6c2470ebffbab6c8d0e0ba --label arch=amd64 --label version=0.0.0 . [2023-04-13T03:51:29.536Z] Sending build context to Docker daemon 10.9MB [2023-04-13T03:51:29.536Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T03:51:29.536Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T03:51:29.536Z] ---> f152da171859 [2023-04-13T03:51:29.536Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T03:51:29.795Z] ---> Running in 7c0534c0c956 [2023-04-13T03:51:29.795Z] Removing intermediate container 7c0534c0c956 [2023-04-13T03:51:29.795Z] ---> 4d59c6de2cc3 [2023-04-13T03:51:29.795Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T03:51:29.795Z] ---> Running in 98e18be98f67 [2023-04-13T03:51:29.795Z] Removing intermediate container 98e18be98f67 [2023-04-13T03:51:29.795Z] ---> 7a28a92f114b [2023-04-13T03:51:29.795Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T03:51:30.053Z] ---> Running in ab70ed3ef793 [2023-04-13T03:51:30.053Z] Removing intermediate container ab70ed3ef793 [2023-04-13T03:51:30.053Z] ---> b362e7ac563c [2023-04-13T03:51:30.053Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T03:51:30.053Z] ---> Running in 6c8bfc99c2d4 [2023-04-13T03:51:30.314Z] Removing intermediate container 6c8bfc99c2d4 [2023-04-13T03:51:30.314Z] ---> bf8f0eef1d95 [2023-04-13T03:51:30.314Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T03:51:30.314Z] ---> Running in 1aed96632ff5 [2023-04-13T03:51:30.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T03:51:30.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T03:51:30.835Z] OK: 269 MiB in 57 packages [2023-04-13T03:51:31.402Z] Removing intermediate container 1aed96632ff5 [2023-04-13T03:51:31.402Z] ---> 8a54b8eeb0d8 [2023-04-13T03:51:31.402Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-13T03:51:31.402Z] ---> Running in 6dd4b9901749 [2023-04-13T03:51:31.402Z] Removing intermediate container 6dd4b9901749 [2023-04-13T03:51:31.402Z] ---> eeca0902827b [2023-04-13T03:51:31.402Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-13T03:51:31.684Z] ---> e981af93874d [2023-04-13T03:51:31.684Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T03:51:31.684Z] ---> Running in c984fceb00d4 [2023-04-13T03:51:32.623Z] Removing intermediate container c984fceb00d4 [2023-04-13T03:51:32.623Z] ---> 3a45fc6e4043 [2023-04-13T03:51:32.623Z] Step 11/25 : COPY . . [2023-04-13T03:51:33.207Z] ---> 9b75e746d5ab [2023-04-13T03:51:33.207Z] Step 12/25 : RUN $MAKE [2023-04-13T03:51:33.469Z] ---> Running in a32f4e376086 [2023-04-13T03:51:33.728Z] 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-13T03:51:51.798Z] Removing intermediate container a32f4e376086 [2023-04-13T03:51:51.798Z] ---> 756721623e1d [2023-04-13T03:51:51.798Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T03:51:51.798Z] 3.17: Pulling from library/alpine [2023-04-13T03:51:51.798Z] f56be85fc22e: Pulling fs layer [2023-04-13T03:51:51.798Z] f56be85fc22e: Verifying Checksum [2023-04-13T03:51:51.798Z] f56be85fc22e: Download complete [2023-04-13T03:51:51.798Z] f56be85fc22e: Pull complete [2023-04-13T03:51:51.798Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T03:51:51.798Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T03:51:51.798Z] ---> 9ed4aefc74f6 [2023-04-13T03:51:51.798Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-13T03:51:51.798Z] ---> Running in 4ff38f25e368 [2023-04-13T03:51:51.798Z] Removing intermediate container 4ff38f25e368 [2023-04-13T03:51:51.798Z] ---> 64e7ae738966 [2023-04-13T03:51:51.798Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-13T03:51:51.798Z] ---> Running in 8c8f5b84c8ed [2023-04-13T03:51:51.798Z] Removing intermediate container 8c8f5b84c8ed [2023-04-13T03:51:51.798Z] ---> bcd70ea8c687 [2023-04-13T03:51:51.798Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-13T03:51:51.798Z] ---> Running in dd3cc9f4993a [2023-04-13T03:51:51.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T03:51:51.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T03:51:51.798Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T03:51:51.798Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T03:51:51.798Z] OK: 7 MiB in 16 packages [2023-04-13T03:51:51.798Z] Removing intermediate container dd3cc9f4993a [2023-04-13T03:51:51.798Z] ---> 4f663897c7f2 [2023-04-13T03:51:51.798Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-13T03:51:51.798Z] ---> 35f5d253283d [2023-04-13T03:51:51.798Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-13T03:51:52.063Z] ---> 96ec66c7fca1 [2023-04-13T03:51:52.063Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-13T03:51:52.063Z] ---> d5dbb5472b6c [2023-04-13T03:51:52.063Z] Step 20/25 : EXPOSE 59986 [2023-04-13T03:51:52.322Z] ---> Running in 8c1295ac1c7d [2023-04-13T03:51:52.322Z] Removing intermediate container 8c1295ac1c7d [2023-04-13T03:51:52.322Z] ---> 219586c71519 [2023-04-13T03:51:52.322Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-13T03:51:52.322Z] ---> Running in 3222559c7a40 [2023-04-13T03:51:52.584Z] Removing intermediate container 3222559c7a40 [2023-04-13T03:51:52.584Z] ---> dead2303999a [2023-04-13T03:51:52.584Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T03:51:52.584Z] ---> Running in 426ed1ea03fd [2023-04-13T03:51:52.584Z] Removing intermediate container 426ed1ea03fd [2023-04-13T03:51:52.584Z] ---> b943e502ebe2 [2023-04-13T03:51:52.584Z] Step 23/25 : LABEL arch=amd64 [2023-04-13T03:51:52.584Z] ---> Running in de901e9a6b21 [2023-04-13T03:51:52.842Z] Removing intermediate container de901e9a6b21 [2023-04-13T03:51:52.842Z] ---> 34b0f3cbac1e [2023-04-13T03:51:52.842Z] Step 24/25 : LABEL git_sha=1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [2023-04-13T03:51:52.842Z] ---> Running in 368915b96eb2 [2023-04-13T03:51:52.842Z] Removing intermediate container 368915b96eb2 [2023-04-13T03:51:52.842Z] ---> b2aa1b9d261e [2023-04-13T03:51:52.842Z] Step 25/25 : LABEL version=0.0.0 [2023-04-13T03:51:52.842Z] ---> Running in 21519428bb91 [2023-04-13T03:51:53.101Z] Removing intermediate container 21519428bb91 [2023-04-13T03:51:53.101Z] ---> 4f34ea32b23b [2023-04-13T03:51:53.101Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T03:51:53.101Z] Successfully built 4f34ea32b23b [2023-04-13T03:51:53.101Z] 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-13T03:51:53.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T03:51:53.974Z] [2023-04-13T03:51:53.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:51:54.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T03:51:54.347Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T03:51:54.347Z] 5eb5b503b376: Pulling fs layer [2023-04-13T03:51:54.347Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T03:51:54.347Z] ec43610c2a17: Pulling fs layer [2023-04-13T03:51:54.347Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T03:51:54.347Z] 33b1e0a273af: Pulling fs layer [2023-04-13T03:51:54.347Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T03:51:54.347Z] 2f39f015ded8: Pulling fs layer [2023-04-13T03:51:54.347Z] 33b1e0a273af: Waiting [2023-04-13T03:51:54.347Z] 3a2ae6a8a46f: Waiting [2023-04-13T03:51:54.347Z] 5d3b04190fa2: Waiting [2023-04-13T03:51:54.347Z] 2f39f015ded8: Waiting [2023-04-13T03:51:54.347Z] 5c69ac0246d0: Download complete [2023-04-13T03:51:54.347Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-13T03:51:54.347Z] 3a2ae6a8a46f: Download complete [2023-04-13T03:51:54.347Z] 33b1e0a273af: Verifying Checksum [2023-04-13T03:51:54.347Z] 33b1e0a273af: Download complete [2023-04-13T03:51:54.347Z] ec43610c2a17: Verifying Checksum [2023-04-13T03:51:54.347Z] ec43610c2a17: Download complete [2023-04-13T03:51:54.606Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T03:51:54.606Z] 5d3b04190fa2: Download complete [2023-04-13T03:51:54.606Z] 5eb5b503b376: Verifying Checksum [2023-04-13T03:51:54.606Z] 5eb5b503b376: Download complete [2023-04-13T03:51:55.172Z] 2f39f015ded8: Download complete [2023-04-13T03:51:55.738Z] 5eb5b503b376: Pull complete [2023-04-13T03:51:55.738Z] 5c69ac0246d0: Pull complete [2023-04-13T03:51:55.996Z] ec43610c2a17: Pull complete [2023-04-13T03:51:56.253Z] 3a2ae6a8a46f: Pull complete [2023-04-13T03:51:56.253Z] 33b1e0a273af: Pull complete [2023-04-13T03:51:56.511Z] 5d3b04190fa2: Pull complete [2023-04-13T03:52:00.696Z] 2f39f015ded8: Pull complete [2023-04-13T03:52:00.696Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T03:52:00.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T03:52:00.696Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T03:52:00.917Z] prd-ubuntu20.04-docker-8c-8g-7649 does not seem to be running inside a container [2023-04-13T03:52:00.956Z] $ 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-289 -v /w/workspace/gexfoundry_device-rest-go_PR-289:/w/workspace/gexfoundry_device-rest-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-289@tmp:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T03:52:02.888Z] $ docker top cfb86685fde50a7a1dfe2a9cebf26f07a089268068a3b993216739a3ab8a9030 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T03:52:03.320Z] ---> job-cost.sh [2023-04-13T03:52:03.321Z] lf-activate-venv: SKIPPING [2023-04-13T03:52:03.321Z] INFO: No Stack... [2023-04-13T03:52:03.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T03:52:04.157Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T03:52:04.475Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-289/archives/cost.csv [2023-04-13T03:52:04.475Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T03:52:04.516Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] [2023-04-13T03:52:04.521Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] did not exist. Created. [2023-04-13T03:52:04.521Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T03:52:04.919Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-04-13T03:52:04.969Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T03:52:04.999Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T03:52:05.090Z] $ docker stop --time=1 cfb86685fde50a7a1dfe2a9cebf26f07a089268068a3b993216739a3ab8a9030 [2023-04-13T03:52:06.288Z] $ docker rm -f --volumes cfb86685fde50a7a1dfe2a9cebf26f07a089268068a3b993216739a3ab8a9030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T03:53:57.692Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8377 in /w/workspace/gexfoundry_device-rest-go_PR-289 [Pipeline] { [Pipeline] ws [2023-04-13T03:53:57.747Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-13T03:53:57.826Z] The recommended git tool is: git [2023-04-13T03:54:03.024Z] using credential edgex-jenkins-ssh [2023-04-13T03:54:03.041Z] Cloning the remote Git repository [2023-04-13T03:54:03.078Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-13T03:54:03.176Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-13T03:54:03.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-13T03:54:03.329Z] > git --version # timeout=10 [2023-04-13T03:54:03.354Z] > git --version # 'git version 2.25.1' [2023-04-13T03:54:03.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T03:54:03.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T03:54:05.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-13T03:54:05.713Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T03:54:06.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-13T03:54:06.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-13T03:54:06.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T03:54:07.139Z] Merging remotes/origin/main commit 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [2023-04-13T03:54:07.404Z] Merge succeeded, producing 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [2023-04-13T03:54:07.405Z] Checking out Revision 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba (PR-289) [2023-04-13T03:54:06.571Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/289/head:refs/remotes/origin/PR-289 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-13T03:54:07.156Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T03:54:07.232Z] > git checkout -f 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba # timeout=10 [2023-04-13T03:54:07.307Z] > git remote # timeout=10 [2023-04-13T03:54:07.324Z] > git config --get remote.origin.url # timeout=10 [2023-04-13T03:54:07.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T03:54:07.355Z] > git merge 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 [2023-04-13T03:54:07.380Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-13T03:54:07.406Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T03:54:07.418Z] > git checkout -f 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba # timeout=10 [2023-04-13T03:54:10.864Z] Commit message: "feat!: Consume SDK interface changes" [2023-04-13T03:54:10.916Z] > git --version # timeout=10 [2023-04-13T03:54:10.926Z] > git --version # 'git version 2.25.1' [2023-04-13T03:54:10.939Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T03:54:12.065Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T03:54:12.065Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T03:54:12.065Z] Dload Upload Total Spent Left Speed [2023-04-13T03:54:12.065Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-04-13T03:54:12.803Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T03:54:13.177Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T03:54:13.177Z] + sudo tee /etc/docker/daemon.new [2023-04-13T03:54:13.177Z] { [2023-04-13T03:54:13.177Z] "registry-mirrors": [ [2023-04-13T03:54:13.177Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T03:54:13.177Z] ], [2023-04-13T03:54:13.177Z] "bip": "10.250.0.254/24", [2023-04-13T03:54:13.177Z] "hosts": [ [2023-04-13T03:54:13.177Z] "tcp://0.0.0.0:5555", [2023-04-13T03:54:13.177Z] "unix:///var/run/docker.sock" [2023-04-13T03:54:13.177Z] ], [2023-04-13T03:54:13.177Z] "mtu": 1458, [2023-04-13T03:54:13.177Z] "selinux-enabled": true, [2023-04-13T03:54:13.177Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T03:54:13.177Z] } [Pipeline] sh [2023-04-13T03:54:13.540Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T03:54:13.898Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T03:54:32.231Z] provisioning config files... [2023-04-13T03:54:32.260Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4932565148684418068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T03:54:32.653Z] ---> docker-login.sh [2023-04-13T03:54:32.653Z] nexus3.edgexfoundry.org:10001 [2023-04-13T03:54:33.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:54:33.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:54:33.253Z] Configure a credential helper to remove this warning. See [2023-04-13T03:54:33.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:54:33.253Z] [2023-04-13T03:54:33.253Z] Login Succeeded [2023-04-13T03:54:33.253Z] nexus3.edgexfoundry.org:10002 [2023-04-13T03:54:33.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:54:33.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:54:33.798Z] Configure a credential helper to remove this warning. See [2023-04-13T03:54:33.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:54:33.798Z] [2023-04-13T03:54:33.798Z] Login Succeeded [2023-04-13T03:54:33.798Z] nexus3.edgexfoundry.org:10003 [2023-04-13T03:54:33.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:54:34.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:54:34.069Z] Configure a credential helper to remove this warning. See [2023-04-13T03:54:34.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:54:34.069Z] [2023-04-13T03:54:34.069Z] Login Succeeded [2023-04-13T03:54:34.069Z] nexus3.edgexfoundry.org:10004 [2023-04-13T03:54:34.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:54:34.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:54:34.342Z] Configure a credential helper to remove this warning. See [2023-04-13T03:54:34.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:54:34.342Z] [2023-04-13T03:54:34.342Z] Login Succeeded [2023-04-13T03:54:34.342Z] docker.io [2023-04-13T03:54:34.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T03:54:34.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T03:54:34.881Z] Configure a credential helper to remove this warning. See [2023-04-13T03:54:34.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T03:54:34.881Z] [2023-04-13T03:54:34.881Z] Login Succeeded [2023-04-13T03:54:34.881Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T03:54:34.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T03:54:35.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T03:54:35.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T03:54:35.351Z] ========================================================= [2023-04-13T03:54:35.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T03:54:35.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:54:35.839Z] + 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-13T03:54:35.839Z] Sending build context to Docker daemon 137.2kB [2023-04-13T03:54:36.108Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T03:54:36.108Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T03:54:36.108Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T03:54:36.108Z] af6eaf76a39c: Pulling fs layer [2023-04-13T03:54:36.108Z] 55522c791124: Pulling fs layer [2023-04-13T03:54:36.108Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T03:54:36.108Z] 169dfbe0d373: Pulling fs layer [2023-04-13T03:54:36.108Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T03:54:36.108Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T03:54:36.108Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T03:54:36.108Z] e1ff8fa3b103: Waiting [2023-04-13T03:54:36.108Z] 52ebb69f0ebf: Waiting [2023-04-13T03:54:36.108Z] 169dfbe0d373: Waiting [2023-04-13T03:54:36.108Z] 5abe8eddf0d5: Waiting [2023-04-13T03:54:36.108Z] 55522c791124: Verifying Checksum [2023-04-13T03:54:36.108Z] 55522c791124: Download complete [2023-04-13T03:54:36.108Z] 169dfbe0d373: Verifying Checksum [2023-04-13T03:54:36.108Z] 169dfbe0d373: Download complete [2023-04-13T03:54:36.376Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T03:54:36.376Z] e1ff8fa3b103: Download complete [2023-04-13T03:54:36.376Z] af6eaf76a39c: Download complete [2023-04-13T03:54:37.347Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T03:54:37.347Z] 5abe8eddf0d5: Download complete [2023-04-13T03:54:37.347Z] af6eaf76a39c: Pull complete [2023-04-13T03:54:37.932Z] 55522c791124: Pull complete [2023-04-13T03:54:38.531Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T03:54:38.531Z] ce5c4a1c91eb: Download complete [2023-04-13T03:54:38.531Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T03:54:38.531Z] 52ebb69f0ebf: Download complete [2023-04-13T03:54:48.755Z] ce5c4a1c91eb: Pull complete [2023-04-13T03:54:48.755Z] 169dfbe0d373: Pull complete [2023-04-13T03:54:48.755Z] e1ff8fa3b103: Pull complete [2023-04-13T03:54:55.394Z] 52ebb69f0ebf: Pull complete [2023-04-13T03:54:55.977Z] 5abe8eddf0d5: Pull complete [2023-04-13T03:54:55.977Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T03:54:55.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T03:54:55.977Z] ---> 6cb57ee374ae [2023-04-13T03:54:55.977Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T03:54:57.923Z] ---> Running in a4593123037e [2023-04-13T03:54:57.923Z] Removing intermediate container a4593123037e [2023-04-13T03:54:57.923Z] ---> f79165692db9 [2023-04-13T03:54:57.923Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T03:54:58.190Z] ---> Running in 86480f577bc6 [2023-04-13T03:54:58.190Z] Removing intermediate container 86480f577bc6 [2023-04-13T03:54:58.190Z] ---> 1bccfc8cb75b [2023-04-13T03:54:58.190Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T03:54:58.457Z] ---> Running in a6854372ab79 [2023-04-13T03:54:58.724Z] Removing intermediate container a6854372ab79 [2023-04-13T03:54:58.724Z] ---> d5847dfa1ef9 [2023-04-13T03:54:58.724Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T03:54:58.724Z] ---> Running in 43fc408dbe9f [2023-04-13T03:54:58.997Z] Removing intermediate container 43fc408dbe9f [2023-04-13T03:54:58.997Z] ---> 5d8bd2414480 [2023-04-13T03:54:58.997Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T03:54:58.997Z] ---> Running in 404f86d62638 [2023-04-13T03:55:00.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T03:55:00.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T03:55:01.626Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T03:55:01.626Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T03:55:01.626Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T03:55:01.893Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T03:55:01.893Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T03:55:01.893Z] OK: 268 MiB in 57 packages [2023-04-13T03:55:02.853Z] Removing intermediate container 404f86d62638 [2023-04-13T03:55:02.853Z] ---> 116f1a3d3f08 [2023-04-13T03:55:02.853Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-13T03:55:02.853Z] ---> Running in e50b83673959 [2023-04-13T03:55:03.125Z] Removing intermediate container e50b83673959 [2023-04-13T03:55:03.125Z] ---> 1fe6f3bbaf68 [2023-04-13T03:55:03.125Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T03:55:03.709Z] ---> 08bf5db67119 [2023-04-13T03:55:03.709Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T03:55:03.709Z] ---> Running in 5b85aa8de9e0 [2023-04-13T03:56:11.575Z] Removing intermediate container 5b85aa8de9e0 [2023-04-13T03:56:11.575Z] ---> 5647759ce001 [2023-04-13T03:56:11.575Z] Step 11/12 : COPY . . [2023-04-13T03:56:11.575Z] ---> e21efe14bba2 [2023-04-13T03:56:11.575Z] Step 12/12 : RUN $MAKE [2023-04-13T03:56:11.575Z] ---> Running in f653e9b77729 [2023-04-13T03:56:11.575Z] noop [2023-04-13T03:56:11.575Z] Removing intermediate container f653e9b77729 [2023-04-13T03:56:11.575Z] ---> d68d0aba5970 [2023-04-13T03:56:11.575Z] Successfully built d68d0aba5970 [2023-04-13T03:56:11.575Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:56:12.066Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T03:56:12.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T03:56:12.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-8377 does not seem to be running inside a container [2023-04-13T03:56:12.423Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-04-13T03:56:13.653Z] $ docker top afc0c37c9f900a6036d8e2be5f44c11677f164ed323e06128727c6edfe2a35d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T03:56:14.516Z] + go version [2023-04-13T03:56:14.516Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T03:56:14.549Z] $ docker stop --time=1 afc0c37c9f900a6036d8e2be5f44c11677f164ed323e06128727c6edfe2a35d8 [2023-04-13T03:56:16.175Z] $ docker rm -f --volumes afc0c37c9f900a6036d8e2be5f44c11677f164ed323e06128727c6edfe2a35d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:56:17.021Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T03:56:17.021Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T03:56:17.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-8377 does not seem to be running inside a container [2023-04-13T03:56:17.356Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-04-13T03:56:18.693Z] $ docker top 143f57214b9be9f60c88bb0a20ac4d4ee2a467233cd19d00eda61e8b72ff3e28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T03:56:19.242Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-13T03:56:19.630Z] + make test [2023-04-13T03:56:19.630Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T03:56:51.845Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-13T03:58:43.542Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-13T03:58:46.896Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 32.3% of statements [2023-04-13T03:58:46.896Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T03:58:46.896Z] go vet ./... [2023-04-13T03:59:25.759Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T03:59:25.759Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T03:59:25.759Z] ./bin/test-attribution-txt.sh [2023-04-13T03:59:25.759Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T03:59:25.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T03:59:25.834Z] $ docker stop --time=1 143f57214b9be9f60c88bb0a20ac4d4ee2a467233cd19d00eda61e8b72ff3e28 [2023-04-13T03:59:27.604Z] $ docker rm -f --volumes 143f57214b9be9f60c88bb0a20ac4d4ee2a467233cd19d00eda61e8b72ff3e28 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T03:59:28.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T03:59:28.742Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T03:59:29.216Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T03:59:29.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T03:59:30.177Z] + ls -al . [2023-04-13T03:59:30.177Z] total 180 [2023-04-13T03:59:30.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:56 . [2023-04-13T03:59:30.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:54 .. [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 03:54 .dockerignore [2023-04-13T03:59:30.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:54 .git [2023-04-13T03:59:30.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:54 .github [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 03:54 .gitignore [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 03:54 .golangci.yml [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 13 03:54 Attribution.txt [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 13 03:54 CHANGELOG.md [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 13 03:54 Dockerfile [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:54 GOVERNANCE.md [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 03:54 Jenkinsfile [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 03:54 LICENSE [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 13 03:54 Makefile [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 03:54 OWNERS.md [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 13 03:54 README.md [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:50 VERSION [2023-04-13T03:59:30.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:54 bin [2023-04-13T03:59:30.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:54 cmd [2023-04-13T03:59:30.177Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 13 03:58 coverage.out [2023-04-13T03:59:30.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:54 driver [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 13 03:54 go.mod [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 03:54 go.sum [2023-04-13T03:59:30.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:54 snap [2023-04-13T03:59:30.177Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T03:59:30.614Z] + 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=1016ce9456fa13178f6c2470ebffbab6c8d0e0ba --label arch=arm64 --label version=0.0.0 . [2023-04-13T03:59:30.614Z] Sending build context to Docker daemon 152.6kB [2023-04-13T03:59:30.890Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T03:59:30.890Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T03:59:30.890Z] ---> d68d0aba5970 [2023-04-13T03:59:30.890Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T03:59:30.890Z] ---> Running in 1f36ccf9a31f [2023-04-13T03:59:31.178Z] Removing intermediate container 1f36ccf9a31f [2023-04-13T03:59:31.178Z] ---> 159e6c39da75 [2023-04-13T03:59:31.178Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T03:59:31.451Z] ---> Running in 29482dbe72d8 [2023-04-13T03:59:31.723Z] Removing intermediate container 29482dbe72d8 [2023-04-13T03:59:31.723Z] ---> e692dd6f5381 [2023-04-13T03:59:31.723Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T03:59:31.723Z] ---> Running in dfc30ca804f5 [2023-04-13T03:59:31.991Z] Removing intermediate container dfc30ca804f5 [2023-04-13T03:59:31.991Z] ---> 494de96f9b38 [2023-04-13T03:59:31.991Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T03:59:31.991Z] ---> Running in b5999dbc9825 [2023-04-13T03:59:32.259Z] Removing intermediate container b5999dbc9825 [2023-04-13T03:59:32.259Z] ---> 50cd35fdec2f [2023-04-13T03:59:32.259Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T03:59:32.259Z] ---> Running in 6c67cef82f54 [2023-04-13T03:59:33.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T03:59:33.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T03:59:34.789Z] OK: 268 MiB in 57 packages [2023-04-13T03:59:35.754Z] Removing intermediate container 6c67cef82f54 [2023-04-13T03:59:35.754Z] ---> fcf3eda2605e [2023-04-13T03:59:35.754Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-13T03:59:35.754Z] ---> Running in 89daf22a9ba4 [2023-04-13T03:59:36.023Z] Removing intermediate container 89daf22a9ba4 [2023-04-13T03:59:36.023Z] ---> bf61f09d18c9 [2023-04-13T03:59:36.023Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-13T03:59:36.611Z] ---> 38aad6a30739 [2023-04-13T03:59:36.611Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T03:59:36.611Z] ---> Running in d4eb28a62880 [2023-04-13T03:59:39.195Z] Removing intermediate container d4eb28a62880 [2023-04-13T03:59:39.195Z] ---> b9fab97c0079 [2023-04-13T03:59:39.195Z] Step 11/25 : COPY . . [2023-04-13T03:59:39.465Z] ---> 34464f55a2dd [2023-04-13T03:59:39.465Z] Step 12/25 : RUN $MAKE [2023-04-13T03:59:39.734Z] ---> Running in c5464fd41567 [2023-04-13T03:59:40.698Z] 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-13T04:01:47.415Z] Removing intermediate container c5464fd41567 [2023-04-13T04:01:47.415Z] ---> 6f64b0b07173 [2023-04-13T04:01:47.415Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T04:01:47.415Z] 3.17: Pulling from library/alpine [2023-04-13T04:01:47.415Z] c41833b44d91: Pulling fs layer [2023-04-13T04:01:47.415Z] c41833b44d91: Verifying Checksum [2023-04-13T04:01:47.415Z] c41833b44d91: Download complete [2023-04-13T04:01:47.415Z] c41833b44d91: Pull complete [2023-04-13T04:01:47.415Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T04:01:47.415Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T04:01:47.415Z] ---> 51e60588ff2c [2023-04-13T04:01:47.415Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-13T04:01:47.415Z] ---> Running in a57d8bccfcb4 [2023-04-13T04:01:47.415Z] Removing intermediate container a57d8bccfcb4 [2023-04-13T04:01:47.415Z] ---> f69100f36903 [2023-04-13T04:01:47.415Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-13T04:01:47.415Z] ---> Running in 1dbc36a650f4 [2023-04-13T04:01:47.415Z] Removing intermediate container 1dbc36a650f4 [2023-04-13T04:01:47.415Z] ---> 8a322f22b483 [2023-04-13T04:01:47.415Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-13T04:01:47.415Z] ---> Running in fb61a88463a2 [2023-04-13T04:01:47.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T04:01:47.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T04:01:48.375Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T04:01:48.375Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T04:01:48.375Z] OK: 8 MiB in 16 packages [2023-04-13T04:01:49.785Z] Removing intermediate container fb61a88463a2 [2023-04-13T04:01:49.785Z] ---> 89d6f084cc58 [2023-04-13T04:01:49.785Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-13T04:01:51.195Z] ---> 341dd25493cb [2023-04-13T04:01:51.195Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-13T04:01:51.462Z] ---> 5b886460e7ac [2023-04-13T04:01:51.462Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-13T04:01:52.047Z] ---> 74fa2191956a [2023-04-13T04:01:52.047Z] Step 20/25 : EXPOSE 59986 [2023-04-13T04:01:52.047Z] ---> Running in 1620ffa173fb [2023-04-13T04:01:52.315Z] Removing intermediate container 1620ffa173fb [2023-04-13T04:01:52.315Z] ---> 65ab3e373658 [2023-04-13T04:01:52.315Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-13T04:01:52.315Z] ---> Running in 6bd3e0ad7c40 [2023-04-13T04:01:52.906Z] Removing intermediate container 6bd3e0ad7c40 [2023-04-13T04:01:52.906Z] ---> 756dab32e1da [2023-04-13T04:01:52.906Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T04:01:52.906Z] ---> Running in 77055f8435bc [2023-04-13T04:01:53.173Z] Removing intermediate container 77055f8435bc [2023-04-13T04:01:53.173Z] ---> c8e3082c588b [2023-04-13T04:01:53.173Z] Step 23/25 : LABEL arch=arm64 [2023-04-13T04:01:53.173Z] ---> Running in e958d5670b0e [2023-04-13T04:01:53.440Z] Removing intermediate container e958d5670b0e [2023-04-13T04:01:53.440Z] ---> 2935b652cba0 [2023-04-13T04:01:53.440Z] Step 24/25 : LABEL git_sha=1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [2023-04-13T04:01:53.440Z] ---> Running in 9deb400e1059 [2023-04-13T04:01:53.708Z] Removing intermediate container 9deb400e1059 [2023-04-13T04:01:53.708Z] ---> 6e28561918d3 [2023-04-13T04:01:53.708Z] Step 25/25 : LABEL version=0.0.0 [2023-04-13T04:01:53.708Z] ---> Running in 120740428d05 [2023-04-13T04:01:53.976Z] Removing intermediate container 120740428d05 [2023-04-13T04:01:53.976Z] ---> cae3fb1568e2 [2023-04-13T04:01:53.976Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T04:01:53.976Z] Successfully built cae3fb1568e2 [2023-04-13T04:01:54.243Z] 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-13T04:01:55.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T04:01:55.037Z] [2023-04-13T04:01:55.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T04:01:55.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T04:01:55.434Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T04:01:55.434Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T04:01:55.434Z] 04944245beec: Pulling fs layer [2023-04-13T04:01:55.435Z] 699f458cf7ca: Pulling fs layer [2023-04-13T04:01:55.435Z] 765212b225bb: Pulling fs layer [2023-04-13T04:01:55.435Z] f23df028b6ca: Pulling fs layer [2023-04-13T04:01:55.435Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T04:01:55.435Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T04:01:55.435Z] f23df028b6ca: Waiting [2023-04-13T04:01:55.435Z] d65c8cfc05b1: Waiting [2023-04-13T04:01:55.435Z] 765212b225bb: Waiting [2023-04-13T04:01:55.435Z] 2437ff75d9bd: Waiting [2023-04-13T04:01:55.703Z] 04944245beec: Verifying Checksum [2023-04-13T04:01:55.703Z] 04944245beec: Download complete [2023-04-13T04:01:55.703Z] 765212b225bb: Verifying Checksum [2023-04-13T04:01:55.703Z] 765212b225bb: Download complete [2023-04-13T04:01:55.703Z] f23df028b6ca: Download complete [2023-04-13T04:01:55.703Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T04:01:55.703Z] d65c8cfc05b1: Download complete [2023-04-13T04:01:55.973Z] 699f458cf7ca: Verifying Checksum [2023-04-13T04:01:55.973Z] 699f458cf7ca: Download complete [2023-04-13T04:01:56.240Z] 8998bd30e6a1: Verifying Checksum [2023-04-13T04:01:56.240Z] 8998bd30e6a1: Download complete [2023-04-13T04:01:58.813Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T04:01:58.813Z] 2437ff75d9bd: Download complete [2023-04-13T04:02:00.218Z] 8998bd30e6a1: Pull complete [2023-04-13T04:02:00.488Z] 04944245beec: Pull complete [2023-04-13T04:02:02.431Z] 699f458cf7ca: Pull complete [2023-04-13T04:02:02.431Z] 765212b225bb: Pull complete [2023-04-13T04:02:03.388Z] f23df028b6ca: Pull complete [2023-04-13T04:02:03.388Z] d65c8cfc05b1: Pull complete [2023-04-13T04:02:18.382Z] 2437ff75d9bd: Pull complete [2023-04-13T04:02:18.382Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T04:02:18.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T04:02:18.382Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T04:02:18.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-8377 does not seem to be running inside a container [2023-04-13T04:02:18.804Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-13T04:02:21.486Z] $ docker top c2f8e8b43c6952147f446044f8b3219d1510c3207f66f415f97dbbc205c2ed29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:22.383Z] ---> job-cost.sh [2023-04-13T04:02:22.384Z] lf-activate-venv: SKIPPING [2023-04-13T04:02:22.384Z] INFO: No Stack... [2023-04-13T04:02:22.649Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T04:02:23.605Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T04:02:23.940Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-13T04:02:23.940Z] [Pipeline] lock [2023-04-13T04:02:24.285Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] [2023-04-13T04:02:24.289Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] did not exist. Created. [2023-04-13T04:02:24.289Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T04:02:25.012Z] /w/workspace/device-rest-go/1@tmp/durable-763873bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T04:02:25.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T04:02:25.720Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T04:02:25.763Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T04:02:25.779Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-289-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T04:02:25.869Z] $ docker stop --time=1 c2f8e8b43c6952147f446044f8b3219d1510c3207f66f415f97dbbc205c2ed29 [2023-04-13T04:02:27.721Z] $ docker rm -f --volumes c2f8e8b43c6952147f446044f8b3219d1510c3207f66f415f97dbbc205c2ed29 [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-13T04:02:28.682Z] provisioning config files... [2023-04-13T04:02:28.689Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config16585234957011792119tmp [Pipeline] { [Pipeline] sh [2023-04-13T04:02:29.017Z] + set +x [2023-04-13T04:02:29.017Z] + curl -s https://codecov.io/bash [2023-04-13T04:02:29.017Z] + bash -s -- [2023-04-13T04:02:29.017Z] [2023-04-13T04:02:29.017Z] _____ _ [2023-04-13T04:02:29.017Z] / ____| | | [2023-04-13T04:02:29.017Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T04:02:29.017Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T04:02:29.017Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T04:02:29.017Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T04:02:29.017Z] Bash-1.0.6 [2023-04-13T04:02:29.017Z] [2023-04-13T04:02:29.017Z] [2023-04-13T04:02:29.017Z] ==> git version 2.25.1 found [2023-04-13T04:02:29.017Z] ==> 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-13T04:02:29.017Z] Release-Date: 2020-01-08 [2023-04-13T04:02:29.017Z] 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-13T04:02:29.018Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T04:02:29.018Z] ==> Jenkins CI detected. [2023-04-13T04:02:29.018Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-289 [2023-04-13T04:02:29.018Z] project root: . [2023-04-13T04:02:29.018Z] --> token set from env [2023-04-13T04:02:29.018Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T04:02:29.018Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T04:02:29.018Z] ==> Python coveragepy not found [2023-04-13T04:02:29.018Z] ==> Searching for coverage reports in: [2023-04-13T04:02:29.018Z] + . [2023-04-13T04:02:29.018Z] -> Found 1 reports [2023-04-13T04:02:29.018Z] ==> Detecting git/mercurial file structure [2023-04-13T04:02:29.276Z] ==> Reading reports [2023-04-13T04:02:29.276Z] + ./coverage.out bytes=14587 [2023-04-13T04:02:29.276Z] ==> Appending adjustments [2023-04-13T04:02:29.276Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T04:02:29.276Z] + Found adjustments [2023-04-13T04:02:29.276Z] ==> Gzipping contents [2023-04-13T04:02:29.276Z] 4.0K /tmp/codecov.jLBzlD.gz [2023-04-13T04:02:29.276Z] ==> Uploading reports [2023-04-13T04:02:29.276Z] url: https://codecov.io [2023-04-13T04:02:29.276Z] query: branch=PR-289&commit=1016ce9456fa13178f6c2470ebffbab6c8d0e0ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=289&job=&cmd_args= [2023-04-13T04:02:29.276Z] -> Pinging Codecov [2023-04-13T04:02:29.276Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-289&commit=1016ce9456fa13178f6c2470ebffbab6c8d0e0ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-289%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=289&job=&cmd_args= [2023-04-13T04:02:29.535Z] -> Uploading to [2023-04-13T04:02:29.535Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/4E5D53B4F1F92C436F7061BF334D961C/1016ce9456fa13178f6c2470ebffbab6c8d0e0ba/aacfac0a-ad14-4e06-9455-978d88f14b0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T040229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=721b52d34022c454fa05c195b93f7efea061f0fede9812c96ba4683fd3f04efd [2023-04-13T04:02:29.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T04:02:29.535Z] Dload Upload Total Spent Left Speed [2023-04-13T04:02:29.795Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9738 --:--:-- --:--:-- --:--:-- 9700 [2023-04-13T04:02:29.795Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1016ce9456fa13178f6c2470ebffbab6c8d0e0ba [Pipeline] } [2023-04-13T04:02:29.823Z] 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-13T04:02:31.527Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-289/archives ] [2023-04-13T04:02:31.527Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-289/archives [2023-04-13T04:02:31.527Z] total 16 [2023-04-13T04:02:31.527Z] drwxr-xr-x 3 root root 4096 Apr 13 03:52 . [2023-04-13T04:02:31.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:52 .. [2023-04-13T04:02:31.527Z] drwxr-xr-x 2 root root 4096 Apr 13 03:52 cost [2023-04-13T04:02:31.527Z] -rw-r--r-- 1 root root 87 Apr 13 03:52 cost.csv [2023-04-13T04:02:31.527Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-289/archives [2023-04-13T04:02:31.527Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-289/archives [2023-04-13T04:02:31.527Z] total 16 [2023-04-13T04:02:31.527Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:52 . [2023-04-13T04:02:31.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:52 .. [2023-04-13T04:02:31.527Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 03:52 cost [2023-04-13T04:02:31.527Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 13 03:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:31.858Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:32.746Z] ---> package-listing.sh [2023-04-13T04:02:32.746Z] ++ facter osfamily [2023-04-13T04:02:32.746Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T04:02:33.006Z] + OS_FAMILY=debian [2023-04-13T04:02:33.006Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-289 [2023-04-13T04:02:33.006Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T04:02:33.006Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T04:02:33.006Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T04:02:33.006Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T04:02:33.006Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-289 ']' [2023-04-13T04:02:33.006Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T04:02:33.006Z] + case "${OS_FAMILY}" in [2023-04-13T04:02:33.006Z] + dpkg -l [2023-04-13T04:02:33.007Z] + grep '^ii' [2023-04-13T04:02:33.007Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T04:02:33.007Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T04:02:33.007Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T04:02:33.007Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-289 ']' [2023-04-13T04:02:33.007Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-289/archives/ [2023-04-13T04:02:33.007Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-289/archives/ [Pipeline] echo [2023-04-13T04:02:33.044Z] 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-289/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-13T04:02:33.337Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T04:02:33.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T04:02:33.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T04:02:34.098Z] prd-ubuntu20.04-docker-8c-8g-7649 does not seem to be running inside a container [2023-04-13T04:02:34.135Z] $ 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-289/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-289 -v /w/workspace/gexfoundry_device-rest-go_PR-289:/w/workspace/gexfoundry_device-rest-go_PR-289:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-289@tmp:/w/workspace/gexfoundry_device-rest-go_PR-289@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-13T04:02:34.354Z] $ docker top ba709e3e61676d3f3742083899b5a96f58749627113ff21aca9ae2ed0d8d90d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T04:02:34.740Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T04:02:35.052Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T04:02:35.362Z] + ls /var/log/sa-host [2023-04-13T04:02:35.362Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T04:02:35.490Z] provisioning config files... [2023-04-13T04:02:35.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config2438904600115256327tmp [Pipeline] { [Pipeline] echo [2023-04-13T04:02:35.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:35.858Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T04:02:35.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:36.286Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T04:02:36.318Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:36.628Z] ---> sudo-logs.sh [2023-04-13T04:02:36.628Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T04:02:36.714Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:37.023Z] ---> job-cost.sh [2023-04-13T04:02:37.023Z] lf-activate-venv: SKIPPING [2023-04-13T04:02:37.023Z] DEBUG: total: 0.4399999976158142 [2023-04-13T04:02:37.023Z] INFO: Retrieving Stack Cost... [2023-04-13T04:02:37.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T04:02:37.851Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T04:02:37.888Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T04:02:38.199Z] ---> logs-deploy.sh [2023-04-13T04:02:38.199Z] lf-activate-venv: SKIPPING [2023-04-13T04:02:38.199Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-289/1 [2023-04-13T04:02:38.199Z] INFO: archiving workspace using pattern(s): [2023-04-13T04:02:39.137Z] Archives upload complete. [2023-04-13T04:02:39.137Z] INFO: archiving logs to Nexus