Pull request #289 updated 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 e833a662d185661b816c1daf345506abe605e9fc 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-ssh12073806230931899592.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-ssh9092176270779131215.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-289/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh14997203329833927440.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 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-ssh13312613146328005151.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-289/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh8813551147936836318.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8393’ Running on prd-ubuntu20.04-docker-8c-8g-8396 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 > 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 Merging remotes/origin/main commit 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit e833a662d185661b816c1daf345506abe605e9fc Merge succeeded, producing e833a662d185661b816c1daf345506abe605e9fc Checking out Revision e833a662d185661b816c1daf345506abe605e9fc (PR-289) > git config core.sparsecheckout # timeout=10 > git checkout -f e833a662d185661b816c1daf345506abe605e9fc # 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 e833a662d185661b816c1daf345506abe605e9fc # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T06:15:30.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T06:15:30.528Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T06:15:30.541Z] ========================================================= [2023-04-13T06:15:30.541Z] EdgeX Global Pipelines Version Info [2023-04-13T06:15:30.541Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:15:31.248Z] ------------------- [2023-04-13T06:15:31.248Z] stable info: [2023-04-13T06:15:31.248Z] ------------------- [2023-04-13T06:15:31.248Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T06:15:31.248Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T06:15:31.248Z] Message: update stable to v1.0.248 > git rev-list --no-walk 1016ce9456fa13178f6c2470ebffbab6c8d0e0ba # timeout=10 [2023-04-13T06:15:31.816Z] ------------------- [2023-04-13T06:15:31.816Z] experimental info: [2023-04-13T06:15:31.816Z] ------------------- [2023-04-13T06:15:31.816Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T06:15:31.816Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T06:15:31.816Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T06:15:31.982Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-13T06:15:31.994Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-13T06:15:32.008Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T06:15:32.020Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T06:15:32.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T06:15:32.043Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T06:15:32.054Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T06:15:32.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T06:15:32.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T06:15:32.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T06:15:32.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T06:15:32.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-13T06:15:32.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T06:15:32.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T06:15:32.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T06:15:32.168Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T06:15:32.180Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T06:15:32.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T06:15:32.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T06:15:32.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T06:15:32.229Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T06:15:32.243Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T06:15:32.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T06:15:32.266Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T06:15:32.278Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T06:15:32.294Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T06:15:32.310Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T06:15:32.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-289 [Pipeline] echo [2023-04-13T06:15:32.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-289 [Pipeline] echo [2023-04-13T06:15:32.346Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-289 [Pipeline] echo [2023-04-13T06:15:32.357Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e833a662d185661b816c1daf345506abe605e9fc [Pipeline] echo [2023-04-13T06:15:32.370Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e833a66 [Pipeline] echo [2023-04-13T06:15:32.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T06:15:32.425Z] provisioning config files... [2023-04-13T06:15:32.438Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config573351005058945717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:15:32.774Z] ---> docker-login.sh [2023-04-13T06:15:32.774Z] nexus3.edgexfoundry.org:10001 [2023-04-13T06:15:33.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:33.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:33.034Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:33.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:33.034Z] [2023-04-13T06:15:33.034Z] Login Succeeded [2023-04-13T06:15:33.034Z] nexus3.edgexfoundry.org:10002 [2023-04-13T06:15:33.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:33.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:33.034Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:33.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:33.034Z] [2023-04-13T06:15:33.034Z] Login Succeeded [2023-04-13T06:15:33.034Z] nexus3.edgexfoundry.org:10003 [2023-04-13T06:15:33.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:33.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:33.294Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:33.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:33.294Z] [2023-04-13T06:15:33.294Z] Login Succeeded [2023-04-13T06:15:33.294Z] nexus3.edgexfoundry.org:10004 [2023-04-13T06:15:33.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:33.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:33.294Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:33.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:33.294Z] [2023-04-13T06:15:33.294Z] Login Succeeded [2023-04-13T06:15:33.294Z] docker.io [2023-04-13T06:15:33.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:33.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:33.565Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:33.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:33.565Z] [2023-04-13T06:15:33.565Z] Login Succeeded [2023-04-13T06:15:33.565Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T06:15:33.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T06:15:33.942Z] + git rev-list -1 --merges e833a662d185661b816c1daf345506abe605e9fc~1..e833a662d185661b816c1daf345506abe605e9fc [Pipeline] echo [2023-04-13T06:15:33.990Z] -----------> git rev-list -1 --merges e833a662d185661b816c1daf345506abe605e9fc~1..e833a662d185661b816c1daf345506abe605e9fc e833a662d185661b816c1daf345506abe605e9fc [false] [Pipeline] sh [2023-04-13T06:15:34.278Z] + git log --format=format:%s -1 e833a662d185661b816c1daf345506abe605e9fc [Pipeline] echo [2023-04-13T06:15:34.291Z] ========================================================= [2023-04-13T06:15:34.291Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T06:15:34.291Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T06:15:34.604Z] + git log --format=format:%s -1 e833a662d185661b816c1daf345506abe605e9fc [Pipeline] echo [2023-04-13T06:15:34.614Z] [semverPrep] GIT_COMMIT: e833a662d185661b816c1daf345506abe605e9fc, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo [2023-04-13T06:15:34.622Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T06:15:34.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T06:15:34.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T06:15:34.955Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T06:15:34.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T06:15:34.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T06:15:34.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T06:15:34.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:15:35.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T06:15:35.296Z] [2023-04-13T06:15:35.296Z] 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-13T06:15:35.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T06:15:35.593Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T06:15:35.593Z] b85a868b505f: Pulling fs layer [2023-04-13T06:15:35.593Z] e2be974225ed: Pulling fs layer [2023-04-13T06:15:35.593Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T06:15:35.593Z] 988bab9f4d93: Pulling fs layer [2023-04-13T06:15:35.593Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T06:15:35.593Z] eaf3925da568: Pulling fs layer [2023-04-13T06:15:35.593Z] bab4dde63d76: Pulling fs layer [2023-04-13T06:15:35.593Z] bde34c3a00c8: Pulling fs layer [2023-04-13T06:15:35.593Z] eaf3925da568: Waiting [2023-04-13T06:15:35.593Z] bab4dde63d76: Waiting [2023-04-13T06:15:35.593Z] 1469e6f7b9e6: Waiting [2023-04-13T06:15:35.593Z] 988bab9f4d93: Waiting [2023-04-13T06:15:35.593Z] bde34c3a00c8: Waiting [2023-04-13T06:15:35.593Z] b352a97aabf1: Pulling fs layer [2023-04-13T06:15:35.593Z] 4872d77fe225: Pulling fs layer [2023-04-13T06:15:35.593Z] b352a97aabf1: Waiting [2023-04-13T06:15:35.593Z] 5851b861e8e6: Pulling fs layer [2023-04-13T06:15:35.593Z] 4872d77fe225: Waiting [2023-04-13T06:15:35.593Z] 5851b861e8e6: Waiting [2023-04-13T06:15:35.593Z] e2be974225ed: Verifying Checksum [2023-04-13T06:15:35.593Z] e2be974225ed: Download complete [2023-04-13T06:15:35.593Z] 988bab9f4d93: Verifying Checksum [2023-04-13T06:15:35.593Z] 988bab9f4d93: Download complete [2023-04-13T06:15:35.593Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T06:15:35.593Z] 1469e6f7b9e6: Download complete [2023-04-13T06:15:35.593Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T06:15:35.593Z] 339a4e72a1f5: Download complete [2023-04-13T06:15:35.593Z] eaf3925da568: Download complete [2023-04-13T06:15:35.851Z] bde34c3a00c8: Download complete [2023-04-13T06:15:35.851Z] b352a97aabf1: Verifying Checksum [2023-04-13T06:15:35.851Z] b352a97aabf1: Download complete [2023-04-13T06:15:35.851Z] 4872d77fe225: Verifying Checksum [2023-04-13T06:15:35.851Z] 4872d77fe225: Download complete [2023-04-13T06:15:35.851Z] 5851b861e8e6: Verifying Checksum [2023-04-13T06:15:35.851Z] 5851b861e8e6: Download complete [2023-04-13T06:15:35.851Z] b85a868b505f: Verifying Checksum [2023-04-13T06:15:35.851Z] b85a868b505f: Download complete [2023-04-13T06:15:36.110Z] bab4dde63d76: Verifying Checksum [2023-04-13T06:15:36.110Z] bab4dde63d76: Download complete [2023-04-13T06:15:37.047Z] b85a868b505f: Pull complete [2023-04-13T06:15:37.307Z] e2be974225ed: Pull complete [2023-04-13T06:15:37.574Z] 339a4e72a1f5: Pull complete [2023-04-13T06:15:37.839Z] 988bab9f4d93: Pull complete [2023-04-13T06:15:38.099Z] 1469e6f7b9e6: Pull complete [2023-04-13T06:15:38.099Z] eaf3925da568: Pull complete [2023-04-13T06:15:40.008Z] bab4dde63d76: Pull complete [2023-04-13T06:15:40.008Z] bde34c3a00c8: Pull complete [2023-04-13T06:15:40.008Z] b352a97aabf1: Pull complete [2023-04-13T06:15:40.270Z] 4872d77fe225: Pull complete [2023-04-13T06:15:40.270Z] 5851b861e8e6: Pull complete [2023-04-13T06:15:40.270Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T06:15:40.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T06:15:40.270Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:15:40.368Z] prd-ubuntu20.04-docker-8c-8g-8396 does not seem to be running inside a container [2023-04-13T06:15:40.408Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T06:15:41.502Z] $ docker top bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 -eo pid,comm [2023-04-13T06:15:41.553Z] 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-13T06:15:41.553Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T06:15:41.586Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T06:15:41.586Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T06:15:41.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T06:15:41.712Z] $ docker exec bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 ssh-agent [2023-04-13T06:15:41.817Z] SSH_AUTH_SOCK=/tmp/ssh-2SgBcJ1wexpW/agent.32 [2023-04-13T06:15:41.817Z] SSH_AGENT_PID=38 [2023-04-13T06:15:41.824Z] Running ssh-add (command line suppressed) [2023-04-13T06:15:41.921Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_12895110837883791520.key (/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_12895110837883791520.key) [2023-04-13T06:15:41.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T06:15:42.216Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T06:15:42.232Z] $ docker exec --env ******** --env ******** bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 ssh-agent -k [2023-04-13T06:15:42.331Z] unset SSH_AUTH_SOCK; [2023-04-13T06:15:42.331Z] unset SSH_AGENT_PID; [2023-04-13T06:15:42.331Z] echo Agent pid 38 killed; [2023-04-13T06:15:42.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T06:15:42.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T06:15:42.357Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T06:15:42.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T06:15:42.469Z] $ docker exec bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 ssh-agent [2023-04-13T06:15:42.567Z] SSH_AUTH_SOCK=/tmp/ssh-YvF4Jl46z1v5/agent.70 [2023-04-13T06:15:42.567Z] SSH_AGENT_PID=76 [2023-04-13T06:15:42.572Z] Running ssh-add (command line suppressed) [2023-04-13T06:15:42.671Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_14255540198330088863.key (/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/private_key_14255540198330088863.key) [2023-04-13T06:15:42.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T06:15:42.965Z] + git semver init [2023-04-13T06:15:43.226Z] 2023-04-13 06:15:43,156 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T06:15:43.226Z] 2023-04-13 06:15:43,157 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-289/.semver [2023-04-13T06:15:43.226Z] 2023-04-13 06:15:43,157 [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-13T06:15:43.226Z] 2023-04-13 06:15:43,157 [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-13T06:15:44.164Z] 2023-04-13 06:15:44,046 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-289/.git/info/exclude [2023-04-13T06:15:44.164Z] 2023-04-13 06:15:44,047 [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-13T06:15:44.164Z] 2023-04-13 06:15:44,047 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-289/.semver/PR-289 [2023-04-13T06:15:44.164Z] 2023-04-13 06:15:44,051 [execute] INFO git cat-file --batch-check [2023-04-13T06:15:44.164Z] 2023-04-13 06:15:44,051 [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-13T06:15:44.164Z] 2023-04-13 06:15:44,058 [execute] INFO git cat-file --batch [2023-04-13T06:15:44.164Z] 2023-04-13 06:15:44,058 [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-13T06:15:44.164Z] 2023-04-13 06:15:44,063 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-289/.semver/PR-289 [2023-04-13T06:15:44.164Z] 0.0.0 [Pipeline] } [2023-04-13T06:15:44.177Z] $ docker exec --env ******** --env ******** bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 ssh-agent -k [2023-04-13T06:15:44.291Z] unset SSH_AUTH_SOCK; [2023-04-13T06:15:44.292Z] unset SSH_AGENT_PID; [2023-04-13T06:15:44.292Z] echo Agent pid 76 killed; [2023-04-13T06:15:44.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T06:15:44.598Z] + git semver [Pipeline] } [2023-04-13T06:15:44.875Z] $ docker stop --time=1 bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 [2023-04-13T06:15:46.194Z] $ docker rm -f --volumes bd49c005c17cf1ace44a235c48156e1d7af88f66c95938e12f74c7be3f6d0930 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T06:15:46.540Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T06:15:46.752Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T06:15:46.754Z] [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-13T06:15:46.851Z] provisioning config files... [2023-04-13T06:15:46.860Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config2503001981489413629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:15:47.158Z] ---> docker-login.sh [2023-04-13T06:15:47.158Z] nexus3.edgexfoundry.org:10001 [2023-04-13T06:15:47.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:47.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:47.158Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:47.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:47.158Z] [2023-04-13T06:15:47.158Z] Login Succeeded [2023-04-13T06:15:47.158Z] nexus3.edgexfoundry.org:10002 [2023-04-13T06:15:47.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:47.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:47.158Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:47.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:47.158Z] [2023-04-13T06:15:47.158Z] Login Succeeded [2023-04-13T06:15:47.158Z] nexus3.edgexfoundry.org:10003 [2023-04-13T06:15:47.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:47.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:47.417Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:47.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:47.417Z] [2023-04-13T06:15:47.417Z] Login Succeeded [2023-04-13T06:15:47.417Z] nexus3.edgexfoundry.org:10004 [2023-04-13T06:15:47.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:47.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:47.417Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:47.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:47.417Z] [2023-04-13T06:15:47.417Z] Login Succeeded [2023-04-13T06:15:47.417Z] docker.io [2023-04-13T06:15:47.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:15:47.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:15:47.677Z] Configure a credential helper to remove this warning. See [2023-04-13T06:15:47.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:15:47.677Z] [2023-04-13T06:15:47.677Z] Login Succeeded [2023-04-13T06:15:47.677Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T06:15:47.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T06:15:47.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:15:47.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:15:47.760Z] ========================================================= [2023-04-13T06:15:47.760Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T06:15:47.760Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:15:48.062Z] + 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-13T06:15:48.062Z] Sending build context to Docker daemon 10.88MB [2023-04-13T06:15:48.062Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:15:48.062Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T06:15:48.321Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T06:15:48.321Z] 63b65145d645: Pulling fs layer [2023-04-13T06:15:48.321Z] a2d21d5440eb: Pulling fs layer [2023-04-13T06:15:48.321Z] 935e6c44a52c: Pulling fs layer [2023-04-13T06:15:48.321Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T06:15:48.321Z] 30dea6a524f1: Pulling fs layer [2023-04-13T06:15:48.321Z] a2aff8979fd8: Pulling fs layer [2023-04-13T06:15:48.321Z] 6808be2612f2: Pulling fs layer [2023-04-13T06:15:48.321Z] f25807f1079a: Pulling fs layer [2023-04-13T06:15:48.321Z] a2aff8979fd8: Waiting [2023-04-13T06:15:48.321Z] 6808be2612f2: Waiting [2023-04-13T06:15:48.321Z] 30dea6a524f1: Waiting [2023-04-13T06:15:48.321Z] a2d21d5440eb: Verifying Checksum [2023-04-13T06:15:48.321Z] a2d21d5440eb: Download complete [2023-04-13T06:15:48.321Z] 94cc34f8dd06: Verifying Checksum [2023-04-13T06:15:48.321Z] 94cc34f8dd06: Download complete [2023-04-13T06:15:48.321Z] 30dea6a524f1: Verifying Checksum [2023-04-13T06:15:48.321Z] 30dea6a524f1: Download complete [2023-04-13T06:15:48.321Z] 63b65145d645: Download complete [2023-04-13T06:15:48.321Z] a2aff8979fd8: Verifying Checksum [2023-04-13T06:15:48.321Z] a2aff8979fd8: Download complete [2023-04-13T06:15:48.321Z] 63b65145d645: Pull complete [2023-04-13T06:15:48.581Z] a2d21d5440eb: Pull complete [2023-04-13T06:15:48.840Z] f25807f1079a: Verifying Checksum [2023-04-13T06:15:48.840Z] f25807f1079a: Download complete [2023-04-13T06:15:48.840Z] 935e6c44a52c: Verifying Checksum [2023-04-13T06:15:48.840Z] 935e6c44a52c: Download complete [2023-04-13T06:15:49.098Z] 6808be2612f2: Verifying Checksum [2023-04-13T06:15:49.098Z] 6808be2612f2: Download complete [2023-04-13T06:15:52.386Z] 935e6c44a52c: Pull complete [2023-04-13T06:15:52.387Z] 94cc34f8dd06: Pull complete [2023-04-13T06:15:52.387Z] 30dea6a524f1: Pull complete [2023-04-13T06:15:52.387Z] a2aff8979fd8: Pull complete [2023-04-13T06:15:54.918Z] 6808be2612f2: Pull complete [2023-04-13T06:15:55.496Z] f25807f1079a: Pull complete [2023-04-13T06:15:55.496Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T06:15:55.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T06:15:55.496Z] ---> 3b553350e43f [2023-04-13T06:15:55.496Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:15:56.882Z] ---> Running in b432ae114581 [2023-04-13T06:15:57.141Z] Removing intermediate container b432ae114581 [2023-04-13T06:15:57.141Z] ---> a83fa1d01223 [2023-04-13T06:15:57.141Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:15:57.141Z] ---> Running in f5049270ba50 [2023-04-13T06:15:57.141Z] Removing intermediate container f5049270ba50 [2023-04-13T06:15:57.141Z] ---> 0851ba97ce22 [2023-04-13T06:15:57.141Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:15:57.141Z] ---> Running in 85c3a2255710 [2023-04-13T06:15:57.398Z] Removing intermediate container 85c3a2255710 [2023-04-13T06:15:57.398Z] ---> 6ac53899360a [2023-04-13T06:15:57.398Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:15:57.398Z] ---> Running in 6cb85c991243 [2023-04-13T06:15:57.398Z] Removing intermediate container 6cb85c991243 [2023-04-13T06:15:57.398Z] ---> c8917712d318 [2023-04-13T06:15:57.398Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:15:57.398Z] ---> Running in 8db412aff344 [2023-04-13T06:15:57.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T06:15:57.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T06:15:58.176Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T06:15:58.176Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T06:15:58.176Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T06:15:58.176Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T06:15:58.176Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:15:58.176Z] OK: 269 MiB in 57 packages [2023-04-13T06:15:58.744Z] Removing intermediate container 8db412aff344 [2023-04-13T06:15:58.744Z] ---> 9e19b15c87ce [2023-04-13T06:15:58.744Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-13T06:15:58.744Z] ---> Running in af5fc092b889 [2023-04-13T06:15:58.744Z] Removing intermediate container af5fc092b889 [2023-04-13T06:15:58.744Z] ---> 461e241b4d34 [2023-04-13T06:15:58.744Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T06:15:58.744Z] ---> 9336e9af22ca [2023-04-13T06:15:58.744Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:15:58.744Z] ---> Running in 73ac87efd6a2 [2023-04-13T06:16:01.826Z] Still waiting to schedule task [2023-04-13T06:16:01.826Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8394’ [2023-04-13T06:16:25.288Z] Removing intermediate container 73ac87efd6a2 [2023-04-13T06:16:25.288Z] ---> 83838eb90d60 [2023-04-13T06:16:25.288Z] Step 11/12 : COPY . . [2023-04-13T06:16:25.288Z] ---> a55a764fc519 [2023-04-13T06:16:25.288Z] Step 12/12 : RUN $MAKE [2023-04-13T06:16:25.288Z] ---> Running in 515f7c0df381 [2023-04-13T06:16:25.288Z] noop [2023-04-13T06:16:25.288Z] Removing intermediate container 515f7c0df381 [2023-04-13T06:16:25.288Z] ---> a85213f61622 [2023-04-13T06:16:25.288Z] Successfully built a85213f61622 [2023-04-13T06:16:25.288Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:16:25.605Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T06:16:25.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:16:25.670Z] prd-ubuntu20.04-docker-8c-8g-8396 does not seem to be running inside a container [2023-04-13T06:16:25.697Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T06:16:26.027Z] $ docker top 6806356e896386566f982390aff2a383233fbe6554d84b98486cc5a9abf1c93a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:16:26.365Z] + go version [2023-04-13T06:16:26.365Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T06:16:26.378Z] $ docker stop --time=1 6806356e896386566f982390aff2a383233fbe6554d84b98486cc5a9abf1c93a [2023-04-13T06:16:27.680Z] $ docker rm -f --volumes 6806356e896386566f982390aff2a383233fbe6554d84b98486cc5a9abf1c93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:16:28.082Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T06:16:28.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:16:28.149Z] prd-ubuntu20.04-docker-8c-8g-8396 does not seem to be running inside a container [2023-04-13T06:16:28.180Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T06:16:28.518Z] $ docker top aba9a0db4f60b7e4629b39ecf5d00ec3db899261006b8e66489b63a5f812d07a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:16:28.860Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-289 [Pipeline] fileExists [Pipeline] sh [2023-04-13T06:16:29.149Z] + make test [2023-04-13T06:16:29.149Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T06:16:34.413Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-13T06:16:44.375Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-13T06:16:44.375Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.3% of statements [2023-04-13T06:16:50.938Z] go vet ./... [2023-04-13T06:16:55.123Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T06:16:55.123Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T06:16:55.123Z] ./bin/test-attribution-txt.sh [2023-04-13T06:16:55.123Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T06:16:55.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T06:16:55.155Z] $ docker stop --time=1 aba9a0db4f60b7e4629b39ecf5d00ec3db899261006b8e66489b63a5f812d07a [2023-04-13T06:16:56.806Z] $ docker rm -f --volumes aba9a0db4f60b7e4629b39ecf5d00ec3db899261006b8e66489b63a5f812d07a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T06:16:57.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T06:16:57.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T06:16:57.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T06:16:58.026Z] + ls -al . [2023-04-13T06:16:58.026Z] total 184 [2023-04-13T06:16:58.026Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 06:16 . [2023-04-13T06:16:58.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:15 .. [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 06:15 .dockerignore [2023-04-13T06:16:58.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:15 .git [2023-04-13T06:16:58.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:15 .github [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 06:15 .gitignore [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:15 .golangci.yml [2023-04-13T06:16:58.026Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:15 .semver [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 13 06:15 Attribution.txt [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 13 06:15 CHANGELOG.md [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 13 06:15 Dockerfile [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:15 GOVERNANCE.md [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 06:15 Jenkinsfile [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:15 LICENSE [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 13 06:15 Makefile [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 06:15 OWNERS.md [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 13 06:15 README.md [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:15 VERSION [2023-04-13T06:16:58.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:15 bin [2023-04-13T06:16:58.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:15 cmd [2023-04-13T06:16:58.026Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 13 06:16 coverage.out [2023-04-13T06:16:58.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:15 driver [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 13 06:15 go.mod [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 06:15 go.sum [2023-04-13T06:16:58.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:15 snap [2023-04-13T06:16:58.026Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:16:58.328Z] + 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=e833a662d185661b816c1daf345506abe605e9fc --label arch=amd64 --label version=0.0.0 . [2023-04-13T06:16:58.328Z] Sending build context to Docker daemon 10.89MB [2023-04-13T06:16:58.328Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:16:58.328Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T06:16:58.328Z] ---> a85213f61622 [2023-04-13T06:16:58.328Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:16:58.328Z] ---> Running in d37c489d6c28 [2023-04-13T06:16:58.328Z] Removing intermediate container d37c489d6c28 [2023-04-13T06:16:58.328Z] ---> 8eb48378c4d2 [2023-04-13T06:16:58.328Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:16:58.588Z] ---> Running in ce2c1b0bac0a [2023-04-13T06:16:58.588Z] Removing intermediate container ce2c1b0bac0a [2023-04-13T06:16:58.588Z] ---> 399edfffd91f [2023-04-13T06:16:58.588Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:16:58.588Z] ---> Running in bb3364632b18 [2023-04-13T06:16:58.588Z] Removing intermediate container bb3364632b18 [2023-04-13T06:16:58.588Z] ---> aac7480f16fd [2023-04-13T06:16:58.588Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:16:58.588Z] ---> Running in 81529d0933be [2023-04-13T06:16:58.848Z] Removing intermediate container 81529d0933be [2023-04-13T06:16:58.848Z] ---> fab609b41313 [2023-04-13T06:16:58.848Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:16:58.848Z] ---> Running in 4c97d8f3e897 [2023-04-13T06:16:59.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T06:16:59.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T06:16:59.675Z] OK: 269 MiB in 57 packages [2023-04-13T06:16:59.675Z] Removing intermediate container 4c97d8f3e897 [2023-04-13T06:16:59.675Z] ---> eb26a1f4708b [2023-04-13T06:16:59.675Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-13T06:16:59.675Z] ---> Running in 86b20dfb1f23 [2023-04-13T06:16:59.935Z] Removing intermediate container 86b20dfb1f23 [2023-04-13T06:16:59.935Z] ---> 05ffa7cb8f65 [2023-04-13T06:16:59.935Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-13T06:16:59.935Z] ---> 85537dc63ee8 [2023-04-13T06:16:59.935Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:16:59.935Z] ---> Running in 27b295abbf7d [2023-04-13T06:17:00.874Z] Removing intermediate container 27b295abbf7d [2023-04-13T06:17:00.874Z] ---> edd7c0cca09e [2023-04-13T06:17:00.874Z] Step 11/25 : COPY . . [2023-04-13T06:17:00.874Z] ---> 52f5e58ae9c9 [2023-04-13T06:17:00.874Z] Step 12/25 : RUN $MAKE [2023-04-13T06:17:01.132Z] ---> Running in 52df95540926 [2023-04-13T06:17:01.391Z] 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-13T06:17:19.467Z] Removing intermediate container 52df95540926 [2023-04-13T06:17:19.467Z] ---> d024197ca076 [2023-04-13T06:17:19.467Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T06:17:19.467Z] 3.17: Pulling from library/alpine [2023-04-13T06:17:19.467Z] f56be85fc22e: Pulling fs layer [2023-04-13T06:17:19.467Z] f56be85fc22e: Verifying Checksum [2023-04-13T06:17:19.467Z] f56be85fc22e: Download complete [2023-04-13T06:17:19.467Z] f56be85fc22e: Pull complete [2023-04-13T06:17:19.467Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T06:17:19.467Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T06:17:19.467Z] ---> 9ed4aefc74f6 [2023-04-13T06:17:19.467Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-13T06:17:19.467Z] ---> Running in baeedc07056c [2023-04-13T06:17:19.467Z] Removing intermediate container baeedc07056c [2023-04-13T06:17:19.467Z] ---> ee5fa06946b7 [2023-04-13T06:17:19.467Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-13T06:17:19.467Z] ---> Running in 0093af0755fa [2023-04-13T06:17:19.467Z] Removing intermediate container 0093af0755fa [2023-04-13T06:17:19.467Z] ---> c163fa601ac2 [2023-04-13T06:17:19.467Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-13T06:17:19.467Z] ---> Running in 6c2f574f3aa9 [2023-04-13T06:17:19.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T06:17:19.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T06:17:19.467Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T06:17:19.467Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:17:19.467Z] OK: 7 MiB in 16 packages [2023-04-13T06:17:19.467Z] Removing intermediate container 6c2f574f3aa9 [2023-04-13T06:17:19.467Z] ---> 2f83c3ccb11d [2023-04-13T06:17:19.467Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-13T06:17:19.467Z] ---> b3a46a9b1dd7 [2023-04-13T06:17:19.467Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-13T06:17:19.467Z] ---> ddfa47103e48 [2023-04-13T06:17:19.467Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-13T06:17:19.467Z] ---> 8d6c486fea8a [2023-04-13T06:17:19.467Z] Step 20/25 : EXPOSE 59986 [2023-04-13T06:17:19.467Z] ---> Running in 76a77d02a997 [2023-04-13T06:17:19.467Z] Removing intermediate container 76a77d02a997 [2023-04-13T06:17:19.467Z] ---> c6ff1797e87b [2023-04-13T06:17:19.467Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-13T06:17:19.467Z] ---> Running in fe838af522bf [2023-04-13T06:17:19.726Z] Removing intermediate container fe838af522bf [2023-04-13T06:17:19.726Z] ---> 5258d989e0aa [2023-04-13T06:17:19.726Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T06:17:19.726Z] ---> Running in 14749554280b [2023-04-13T06:17:19.726Z] Removing intermediate container 14749554280b [2023-04-13T06:17:19.726Z] ---> 61bdb5fda9e8 [2023-04-13T06:17:19.726Z] Step 23/25 : LABEL arch=amd64 [2023-04-13T06:17:19.726Z] ---> Running in d38a98b465b5 [2023-04-13T06:17:19.726Z] Removing intermediate container d38a98b465b5 [2023-04-13T06:17:19.726Z] ---> 1b6bfd1b5a30 [2023-04-13T06:17:19.726Z] Step 24/25 : LABEL git_sha=e833a662d185661b816c1daf345506abe605e9fc [2023-04-13T06:17:19.726Z] ---> Running in 00bf103f6715 [2023-04-13T06:17:19.984Z] Removing intermediate container 00bf103f6715 [2023-04-13T06:17:19.984Z] ---> b8947a20e881 [2023-04-13T06:17:19.984Z] Step 25/25 : LABEL version=0.0.0 [2023-04-13T06:17:19.984Z] ---> Running in 6246aea84dd6 [2023-04-13T06:17:19.984Z] Removing intermediate container 6246aea84dd6 [2023-04-13T06:17:19.985Z] ---> dc62be6b94d3 [2023-04-13T06:17:19.985Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T06:17:19.985Z] Successfully built dc62be6b94d3 [2023-04-13T06:17:19.985Z] 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-13T06:17:20.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:17:20.422Z] [2023-04-13T06:17:20.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:17:20.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:17:20.718Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T06:17:20.718Z] 5eb5b503b376: Pulling fs layer [2023-04-13T06:17:20.718Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T06:17:20.718Z] ec43610c2a17: Pulling fs layer [2023-04-13T06:17:20.718Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T06:17:20.718Z] 33b1e0a273af: Pulling fs layer [2023-04-13T06:17:20.718Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T06:17:20.718Z] 2f39f015ded8: Pulling fs layer [2023-04-13T06:17:20.718Z] 3a2ae6a8a46f: Waiting [2023-04-13T06:17:20.718Z] 33b1e0a273af: Waiting [2023-04-13T06:17:20.718Z] 5d3b04190fa2: Waiting [2023-04-13T06:17:20.718Z] 2f39f015ded8: Waiting [2023-04-13T06:17:20.718Z] 5c69ac0246d0: Verifying Checksum [2023-04-13T06:17:20.718Z] 5c69ac0246d0: Download complete [2023-04-13T06:17:20.718Z] 3a2ae6a8a46f: Download complete [2023-04-13T06:17:20.718Z] 33b1e0a273af: Verifying Checksum [2023-04-13T06:17:20.718Z] 33b1e0a273af: Download complete [2023-04-13T06:17:20.718Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T06:17:20.718Z] ec43610c2a17: Verifying Checksum [2023-04-13T06:17:20.718Z] ec43610c2a17: Download complete [2023-04-13T06:17:20.976Z] 5eb5b503b376: Verifying Checksum [2023-04-13T06:17:20.976Z] 5eb5b503b376: Download complete [2023-04-13T06:17:21.541Z] 2f39f015ded8: Download complete [2023-04-13T06:17:22.107Z] 5eb5b503b376: Pull complete [2023-04-13T06:17:22.107Z] 5c69ac0246d0: Pull complete [2023-04-13T06:17:22.365Z] ec43610c2a17: Pull complete [2023-04-13T06:17:22.623Z] 3a2ae6a8a46f: Pull complete [2023-04-13T06:17:22.623Z] 33b1e0a273af: Pull complete [2023-04-13T06:17:22.881Z] 5d3b04190fa2: Pull complete [2023-04-13T06:17:27.062Z] 2f39f015ded8: Pull complete [2023-04-13T06:17:27.062Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T06:17:27.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:17:27.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:17:27.142Z] prd-ubuntu20.04-docker-8c-8g-8396 does not seem to be running inside a container [2023-04-13T06:17:27.170Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T06:17:28.244Z] $ docker top d0c6447cb1e170828162f821349fa8dc2887c8e76448fc1b4465cc229be19773 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:17:28.610Z] ---> job-cost.sh [2023-04-13T06:17:28.610Z] lf-activate-venv: SKIPPING [2023-04-13T06:17:28.610Z] INFO: No Stack... [2023-04-13T06:17:29.176Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T06:17:29.434Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T06:17:29.721Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-289/archives/cost.csv [2023-04-13T06:17:29.721Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T06:17:29.735Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] [2023-04-13T06:17:29.743Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] did not exist. Created. [2023-04-13T06:17:29.743Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T06:17:30.041Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T06:17:30.071Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T06:17:30.080Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T06:17:30.096Z] $ docker stop --time=1 d0c6447cb1e170828162f821349fa8dc2887c8e76448fc1b4465cc229be19773 [2023-04-13T06:17:31.244Z] $ docker rm -f --volumes d0c6447cb1e170828162f821349fa8dc2887c8e76448fc1b4465cc229be19773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T06:19:08.707Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8398 in /w/workspace/gexfoundry_device-rest-go_PR-289 [Pipeline] { [Pipeline] ws [2023-04-13T06:19:08.719Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-04-13T06:19:08.758Z] The recommended git tool is: git [2023-04-13T06:19:14.258Z] using credential edgex-jenkins-ssh [2023-04-13T06:19:14.277Z] Cloning the remote Git repository [2023-04-13T06:19:14.326Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-13T06:19:14.430Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-04-13T06:19:14.585Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-13T06:19:14.587Z] > git --version # timeout=10 [2023-04-13T06:19:14.611Z] > git --version # 'git version 2.25.1' [2023-04-13T06:19:14.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T06:19:14.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T06:19:16.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-13T06:19:16.711Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T06:19:18.255Z] Merging remotes/origin/main commit 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit e833a662d185661b816c1daf345506abe605e9fc [2023-04-13T06:19:18.581Z] Merge succeeded, producing e833a662d185661b816c1daf345506abe605e9fc [2023-04-13T06:19:18.582Z] Checking out Revision e833a662d185661b816c1daf345506abe605e9fc (PR-289) [2023-04-13T06:19:17.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-13T06:19:17.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-13T06:19:17.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T06:19:17.670Z] > 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-13T06:19:18.279Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T06:19:18.366Z] > git checkout -f e833a662d185661b816c1daf345506abe605e9fc # timeout=10 [2023-04-13T06:19:18.468Z] > git remote # timeout=10 [2023-04-13T06:19:18.493Z] > git config --get remote.origin.url # timeout=10 [2023-04-13T06:19:18.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T06:19:18.530Z] > git merge 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 [2023-04-13T06:19:18.563Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-13T06:19:18.599Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T06:19:18.623Z] > git checkout -f e833a662d185661b816c1daf345506abe605e9fc # timeout=10 [2023-04-13T06:19:22.164Z] Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T06:19:23.045Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T06:19:23.045Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T06:19:23.045Z] Dload Upload Total Spent Left Speed [2023-04-13T06:19:23.045Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-04-13T06:19:23.838Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T06:19:24.186Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T06:19:24.186Z] + sudo tee /etc/docker/daemon.new [2023-04-13T06:19:24.186Z] { [2023-04-13T06:19:24.186Z] "registry-mirrors": [ [2023-04-13T06:19:24.186Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T06:19:24.186Z] ], [2023-04-13T06:19:24.186Z] "bip": "10.250.0.254/24", [2023-04-13T06:19:24.186Z] "hosts": [ [2023-04-13T06:19:24.186Z] "tcp://0.0.0.0:5555", [2023-04-13T06:19:24.186Z] "unix:///var/run/docker.sock" [2023-04-13T06:19:24.186Z] ], [2023-04-13T06:19:24.186Z] "mtu": 1458, [2023-04-13T06:19:24.186Z] "selinux-enabled": true, [2023-04-13T06:19:24.186Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T06:19:24.186Z] } [Pipeline] sh [2023-04-13T06:19:24.549Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T06:19:24.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T06:19:43.240Z] provisioning config files... [2023-04-13T06:19:43.270Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config14669382029090187961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:19:43.632Z] ---> docker-login.sh [2023-04-13T06:19:43.632Z] nexus3.edgexfoundry.org:10001 [2023-04-13T06:19:44.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:19:44.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:19:44.225Z] Configure a credential helper to remove this warning. See [2023-04-13T06:19:44.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:19:44.225Z] [2023-04-13T06:19:44.225Z] Login Succeeded [2023-04-13T06:19:44.225Z] nexus3.edgexfoundry.org:10002 [2023-04-13T06:19:44.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:19:44.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:19:44.769Z] Configure a credential helper to remove this warning. See [2023-04-13T06:19:44.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:19:44.769Z] [2023-04-13T06:19:44.769Z] Login Succeeded [2023-04-13T06:19:44.769Z] nexus3.edgexfoundry.org:10003 [2023-04-13T06:19:45.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:19:45.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:19:45.040Z] Configure a credential helper to remove this warning. See [2023-04-13T06:19:45.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:19:45.040Z] [2023-04-13T06:19:45.040Z] Login Succeeded [2023-04-13T06:19:45.040Z] nexus3.edgexfoundry.org:10004 [2023-04-13T06:19:45.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:19:45.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:19:45.581Z] Configure a credential helper to remove this warning. See [2023-04-13T06:19:45.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:19:45.581Z] [2023-04-13T06:19:45.581Z] Login Succeeded [2023-04-13T06:19:45.581Z] docker.io [2023-04-13T06:19:45.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T06:19:46.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T06:19:46.121Z] Configure a credential helper to remove this warning. See [2023-04-13T06:19:46.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T06:19:46.121Z] [2023-04-13T06:19:46.121Z] Login Succeeded [2023-04-13T06:19:46.121Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T06:19:46.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T06:19:46.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:19:46.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T06:19:46.465Z] ========================================================= [2023-04-13T06:19:46.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T06:19:46.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:19:46.814Z] + 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-13T06:19:46.814Z] Sending build context to Docker daemon 137.2kB [2023-04-13T06:19:47.083Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:19:47.083Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T06:19:47.365Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T06:19:47.365Z] af6eaf76a39c: Pulling fs layer [2023-04-13T06:19:47.365Z] 55522c791124: Pulling fs layer [2023-04-13T06:19:47.365Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T06:19:47.365Z] 169dfbe0d373: Pulling fs layer [2023-04-13T06:19:47.365Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T06:19:47.365Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T06:19:47.365Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T06:19:47.365Z] 169dfbe0d373: Waiting [2023-04-13T06:19:47.365Z] e1ff8fa3b103: Waiting [2023-04-13T06:19:47.365Z] 52ebb69f0ebf: Waiting [2023-04-13T06:19:47.365Z] 5abe8eddf0d5: Waiting [2023-04-13T06:19:47.365Z] 55522c791124: Download complete [2023-04-13T06:19:47.365Z] 169dfbe0d373: Verifying Checksum [2023-04-13T06:19:47.365Z] 169dfbe0d373: Download complete [2023-04-13T06:19:47.365Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T06:19:47.365Z] e1ff8fa3b103: Download complete [2023-04-13T06:19:47.365Z] af6eaf76a39c: Verifying Checksum [2023-04-13T06:19:47.365Z] af6eaf76a39c: Download complete [2023-04-13T06:19:48.357Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T06:19:48.357Z] 5abe8eddf0d5: Download complete [2023-04-13T06:19:48.357Z] af6eaf76a39c: Pull complete [2023-04-13T06:19:48.951Z] 55522c791124: Pull complete [2023-04-13T06:19:49.920Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T06:19:49.920Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T06:19:49.920Z] ce5c4a1c91eb: Download complete [2023-04-13T06:20:00.018Z] ce5c4a1c91eb: Pull complete [2023-04-13T06:20:00.287Z] 169dfbe0d373: Pull complete [2023-04-13T06:20:00.555Z] e1ff8fa3b103: Pull complete [2023-04-13T06:20:07.234Z] 52ebb69f0ebf: Pull complete [2023-04-13T06:20:08.682Z] 5abe8eddf0d5: Pull complete [2023-04-13T06:20:08.682Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T06:20:08.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T06:20:08.682Z] ---> 6cb57ee374ae [2023-04-13T06:20:08.682Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:20:10.638Z] ---> Running in cf4fbaa58c21 [2023-04-13T06:20:10.638Z] Removing intermediate container cf4fbaa58c21 [2023-04-13T06:20:10.638Z] ---> 517f990fa90a [2023-04-13T06:20:10.638Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:20:10.918Z] ---> Running in 4c0b11de17bc [2023-04-13T06:20:11.191Z] Removing intermediate container 4c0b11de17bc [2023-04-13T06:20:11.191Z] ---> f181f16943d6 [2023-04-13T06:20:11.191Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:20:11.191Z] ---> Running in 307041e5a9fb [2023-04-13T06:20:11.780Z] Removing intermediate container 307041e5a9fb [2023-04-13T06:20:11.781Z] ---> e0e6933dc9a2 [2023-04-13T06:20:11.781Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:20:11.781Z] ---> Running in 4825de82231a [2023-04-13T06:20:12.054Z] Removing intermediate container 4825de82231a [2023-04-13T06:20:12.054Z] ---> e38268434d23 [2023-04-13T06:20:12.054Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:20:12.054Z] ---> Running in e99c8700ea10 [2023-04-13T06:20:13.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T06:20:14.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T06:20:15.479Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T06:20:15.479Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T06:20:15.479Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T06:20:15.479Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T06:20:15.479Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:20:15.479Z] OK: 268 MiB in 57 packages [2023-04-13T06:20:16.446Z] Removing intermediate container e99c8700ea10 [2023-04-13T06:20:16.446Z] ---> 1802d88ef86f [2023-04-13T06:20:16.446Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-13T06:20:16.446Z] ---> Running in 778a45b296c4 [2023-04-13T06:20:17.040Z] Removing intermediate container 778a45b296c4 [2023-04-13T06:20:17.040Z] ---> 13c18f419f45 [2023-04-13T06:20:17.040Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T06:20:18.006Z] ---> 67bd28282ed6 [2023-04-13T06:20:18.006Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:20:18.277Z] ---> Running in c172195a8f4a [2023-04-13T06:21:26.177Z] Removing intermediate container c172195a8f4a [2023-04-13T06:21:26.177Z] ---> 2ce40da6f479 [2023-04-13T06:21:26.177Z] Step 11/12 : COPY . . [2023-04-13T06:21:26.177Z] ---> cd6916d83ef8 [2023-04-13T06:21:26.177Z] Step 12/12 : RUN $MAKE [2023-04-13T06:21:26.177Z] ---> Running in fb9397e6b79d [2023-04-13T06:21:26.177Z] noop [2023-04-13T06:21:26.177Z] Removing intermediate container fb9397e6b79d [2023-04-13T06:21:26.177Z] ---> 40c928f52610 [2023-04-13T06:21:26.177Z] Successfully built 40c928f52610 [2023-04-13T06:21:26.177Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:21:26.526Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T06:21:26.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:21:26.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-8398 does not seem to be running inside a container [2023-04-13T06:21:26.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-13T06:21:27.959Z] $ docker top 63c713c69e5700a9daa2a44d33933aa58e419f09836edc350e2166f55b2fd24e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:21:28.774Z] + go version [2023-04-13T06:21:28.774Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T06:21:28.794Z] $ docker stop --time=1 63c713c69e5700a9daa2a44d33933aa58e419f09836edc350e2166f55b2fd24e [2023-04-13T06:21:30.380Z] $ docker rm -f --volumes 63c713c69e5700a9daa2a44d33933aa58e419f09836edc350e2166f55b2fd24e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:21:30.923Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T06:21:30.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:21:31.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-8398 does not seem to be running inside a container [2023-04-13T06:21:31.155Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-13T06:21:32.277Z] $ docker top e4bb366a6814efa7b6ab778e084288e730c7e6c35af003326b3bc113703beece -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:21:32.775Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-13T06:21:33.692Z] + make test [2023-04-13T06:21:33.692Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T06:22:05.922Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-13T06:24:12.649Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-13T06:24:13.626Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 32.3% of statements [2023-04-13T06:24:14.608Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T06:24:14.608Z] go vet ./... [2023-04-13T06:24:53.514Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T06:24:53.514Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T06:24:53.514Z] ./bin/test-attribution-txt.sh [2023-04-13T06:24:53.514Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T06:24:53.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T06:24:53.552Z] $ docker stop --time=1 e4bb366a6814efa7b6ab778e084288e730c7e6c35af003326b3bc113703beece [2023-04-13T06:24:55.557Z] $ docker rm -f --volumes e4bb366a6814efa7b6ab778e084288e730c7e6c35af003326b3bc113703beece [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T06:24:56.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T06:24:56.815Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T06:24:57.517Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T06:24:57.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T06:24:58.265Z] + ls -al . [2023-04-13T06:24:58.265Z] total 180 [2023-04-13T06:24:58.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:21 . [2023-04-13T06:24:58.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:19 .. [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 06:19 .dockerignore [2023-04-13T06:24:58.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:19 .git [2023-04-13T06:24:58.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:19 .github [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 06:19 .gitignore [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:19 .golangci.yml [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 13 06:19 Attribution.txt [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 13 06:19 CHANGELOG.md [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 13 06:19 Dockerfile [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:19 GOVERNANCE.md [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 06:19 Jenkinsfile [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:19 LICENSE [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 13 06:19 Makefile [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 06:19 OWNERS.md [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 13 06:19 README.md [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:15 VERSION [2023-04-13T06:24:58.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:19 bin [2023-04-13T06:24:58.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:19 cmd [2023-04-13T06:24:58.265Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 13 06:24 coverage.out [2023-04-13T06:24:58.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:19 driver [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 13 06:19 go.mod [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 06:19 go.sum [2023-04-13T06:24:58.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:19 snap [2023-04-13T06:24:58.265Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:24:58.609Z] + 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=e833a662d185661b816c1daf345506abe605e9fc --label arch=arm64 --label version=0.0.0 . [2023-04-13T06:24:58.609Z] Sending build context to Docker daemon 152.6kB [2023-04-13T06:24:58.885Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T06:24:58.885Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T06:24:58.885Z] ---> 40c928f52610 [2023-04-13T06:24:58.885Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T06:24:59.868Z] ---> Running in c3db51203386 [2023-04-13T06:25:00.153Z] Removing intermediate container c3db51203386 [2023-04-13T06:25:00.153Z] ---> 61e33cbdd6ec [2023-04-13T06:25:00.153Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T06:25:00.153Z] ---> Running in bb6effe74368 [2023-04-13T06:25:00.743Z] Removing intermediate container bb6effe74368 [2023-04-13T06:25:00.743Z] ---> c0ad527fd35b [2023-04-13T06:25:00.743Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T06:25:00.743Z] ---> Running in 1151e38b6de1 [2023-04-13T06:25:01.012Z] Removing intermediate container 1151e38b6de1 [2023-04-13T06:25:01.012Z] ---> 454a2b46ba1a [2023-04-13T06:25:01.012Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T06:25:01.012Z] ---> Running in 9f56bd586691 [2023-04-13T06:25:01.280Z] Removing intermediate container 9f56bd586691 [2023-04-13T06:25:01.280Z] ---> fadb3d8c9a25 [2023-04-13T06:25:01.280Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T06:25:01.552Z] ---> Running in 9fcbda92d628 [2023-04-13T06:25:02.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T06:25:03.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T06:25:04.461Z] OK: 268 MiB in 57 packages [2023-04-13T06:25:05.420Z] Removing intermediate container 9fcbda92d628 [2023-04-13T06:25:05.420Z] ---> 2ab7fd27cfe6 [2023-04-13T06:25:05.420Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-13T06:25:05.420Z] ---> Running in dbb7f9b568ab [2023-04-13T06:25:05.687Z] Removing intermediate container dbb7f9b568ab [2023-04-13T06:25:05.687Z] ---> 1c60cdd8eaac [2023-04-13T06:25:05.687Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-13T06:25:06.271Z] ---> aca73e50eff2 [2023-04-13T06:25:06.271Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T06:25:06.271Z] ---> Running in 2b9a9842a7e9 [2023-04-13T06:25:08.863Z] Removing intermediate container 2b9a9842a7e9 [2023-04-13T06:25:08.863Z] ---> 14cc6cfb38ff [2023-04-13T06:25:08.863Z] Step 11/25 : COPY . . [2023-04-13T06:25:09.447Z] ---> c7a75b93f456 [2023-04-13T06:25:09.447Z] Step 12/25 : RUN $MAKE [2023-04-13T06:25:09.447Z] ---> Running in 182c78c005b3 [2023-04-13T06:25:10.413Z] 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-13T06:27:32.131Z] Removing intermediate container 182c78c005b3 [2023-04-13T06:27:32.131Z] ---> c5b307ea3265 [2023-04-13T06:27:32.131Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T06:27:32.131Z] 3.17: Pulling from library/alpine [2023-04-13T06:27:32.131Z] c41833b44d91: Pulling fs layer [2023-04-13T06:27:32.131Z] c41833b44d91: Download complete [2023-04-13T06:27:32.131Z] c41833b44d91: Pull complete [2023-04-13T06:27:32.131Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T06:27:32.131Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T06:27:32.131Z] ---> 51e60588ff2c [2023-04-13T06:27:32.131Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-13T06:27:32.131Z] ---> Running in 67abeb12831f [2023-04-13T06:27:32.131Z] Removing intermediate container 67abeb12831f [2023-04-13T06:27:32.131Z] ---> f9eb66eadd50 [2023-04-13T06:27:32.131Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-13T06:27:32.131Z] ---> Running in d56d80ea5b0e [2023-04-13T06:27:32.131Z] Removing intermediate container d56d80ea5b0e [2023-04-13T06:27:32.131Z] ---> 19e125d69ac5 [2023-04-13T06:27:32.131Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-13T06:27:32.131Z] ---> Running in 143ed86b810e [2023-04-13T06:27:32.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T06:27:33.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T06:27:34.259Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T06:27:34.259Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T06:27:34.259Z] OK: 8 MiB in 16 packages [2023-04-13T06:27:35.218Z] Removing intermediate container 143ed86b810e [2023-04-13T06:27:35.218Z] ---> 3bc8b11f2382 [2023-04-13T06:27:35.218Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-13T06:27:36.622Z] ---> 273e347b4bc9 [2023-04-13T06:27:36.622Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-13T06:27:36.887Z] ---> b9bbe6dec656 [2023-04-13T06:27:36.887Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-13T06:27:39.472Z] ---> 51583bf69e05 [2023-04-13T06:27:39.472Z] Step 20/25 : EXPOSE 59986 [2023-04-13T06:27:39.472Z] ---> Running in 5149fc30eb4a [2023-04-13T06:27:39.472Z] Removing intermediate container 5149fc30eb4a [2023-04-13T06:27:39.472Z] ---> e1647e931de4 [2023-04-13T06:27:39.472Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-13T06:27:39.472Z] ---> Running in b337e866e639 [2023-04-13T06:27:39.738Z] Removing intermediate container b337e866e639 [2023-04-13T06:27:39.738Z] ---> 74fee3e44fbd [2023-04-13T06:27:39.738Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T06:27:40.011Z] ---> Running in f9a9cf74ac81 [2023-04-13T06:27:40.277Z] Removing intermediate container f9a9cf74ac81 [2023-04-13T06:27:40.277Z] ---> e50faa76191f [2023-04-13T06:27:40.277Z] Step 23/25 : LABEL arch=arm64 [2023-04-13T06:27:40.277Z] ---> Running in 6c3930be5cfa [2023-04-13T06:27:40.544Z] Removing intermediate container 6c3930be5cfa [2023-04-13T06:27:40.544Z] ---> 253838ff7c42 [2023-04-13T06:27:40.544Z] Step 24/25 : LABEL git_sha=e833a662d185661b816c1daf345506abe605e9fc [2023-04-13T06:27:40.544Z] ---> Running in 674d26d04b52 [2023-04-13T06:27:40.810Z] Removing intermediate container 674d26d04b52 [2023-04-13T06:27:40.810Z] ---> 74ef0438000f [2023-04-13T06:27:40.810Z] Step 25/25 : LABEL version=0.0.0 [2023-04-13T06:27:40.810Z] ---> Running in cd6372144891 [2023-04-13T06:27:41.076Z] Removing intermediate container cd6372144891 [2023-04-13T06:27:41.076Z] ---> 258b2310b866 [2023-04-13T06:27:41.076Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T06:27:41.076Z] Successfully built 258b2310b866 [2023-04-13T06:27:41.076Z] 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-13T06:27:41.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T06:27:41.759Z] [2023-04-13T06:27:41.759Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:27:42.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T06:27:42.088Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T06:27:42.088Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T06:27:42.088Z] 04944245beec: Pulling fs layer [2023-04-13T06:27:42.088Z] 699f458cf7ca: Pulling fs layer [2023-04-13T06:27:42.088Z] 765212b225bb: Pulling fs layer [2023-04-13T06:27:42.088Z] f23df028b6ca: Pulling fs layer [2023-04-13T06:27:42.088Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T06:27:42.088Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T06:27:42.088Z] f23df028b6ca: Waiting [2023-04-13T06:27:42.088Z] d65c8cfc05b1: Waiting [2023-04-13T06:27:42.088Z] 2437ff75d9bd: Waiting [2023-04-13T06:27:42.088Z] 765212b225bb: Waiting [2023-04-13T06:27:42.356Z] 04944245beec: Verifying Checksum [2023-04-13T06:27:42.356Z] 04944245beec: Download complete [2023-04-13T06:27:42.356Z] 765212b225bb: Verifying Checksum [2023-04-13T06:27:42.356Z] 765212b225bb: Download complete [2023-04-13T06:27:42.356Z] f23df028b6ca: Verifying Checksum [2023-04-13T06:27:42.356Z] f23df028b6ca: Download complete [2023-04-13T06:27:42.356Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T06:27:42.356Z] d65c8cfc05b1: Download complete [2023-04-13T06:27:42.624Z] 699f458cf7ca: Verifying Checksum [2023-04-13T06:27:42.624Z] 699f458cf7ca: Download complete [2023-04-13T06:27:42.891Z] 8998bd30e6a1: Verifying Checksum [2023-04-13T06:27:42.891Z] 8998bd30e6a1: Download complete [2023-04-13T06:27:45.468Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T06:27:45.468Z] 2437ff75d9bd: Download complete [2023-04-13T06:27:46.427Z] 8998bd30e6a1: Pull complete [2023-04-13T06:27:47.009Z] 04944245beec: Pull complete [2023-04-13T06:27:48.418Z] 699f458cf7ca: Pull complete [2023-04-13T06:27:48.418Z] 765212b225bb: Pull complete [2023-04-13T06:27:49.002Z] f23df028b6ca: Pull complete [2023-04-13T06:27:49.268Z] d65c8cfc05b1: Pull complete [2023-04-13T06:28:01.568Z] 2437ff75d9bd: Pull complete [2023-04-13T06:28:01.568Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T06:28:01.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T06:28:01.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:28:01.762Z] prd-ubuntu20.04-docker-arm64-4c-16g-8398 does not seem to be running inside a container [2023-04-13T06:28:01.829Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-13T06:28:04.503Z] $ docker top a80e77930032edc2846459c160c76997db371e99e506cd73f3e7cd99e7e2072e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:05.325Z] ---> job-cost.sh [2023-04-13T06:28:05.325Z] lf-activate-venv: SKIPPING [2023-04-13T06:28:05.325Z] INFO: No Stack... [2023-04-13T06:28:05.591Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T06:28:06.547Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T06:28:06.864Z] + cut -d, -f6 [2023-04-13T06:28:06.864Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2023-04-13T06:28:06.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] [2023-04-13T06:28:06.943Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] did not exist. Created. [2023-04-13T06:28:06.943Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T06:28:07.282Z] /w/workspace/device-rest-go/2@tmp/durable-f338ae8a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T06:28:07.618Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T06:28:07.639Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T06:28:07.684Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T06:28:07.692Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-289-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T06:28:07.707Z] $ docker stop --time=1 a80e77930032edc2846459c160c76997db371e99e506cd73f3e7cd99e7e2072e [2023-04-13T06:28:09.167Z] $ docker rm -f --volumes a80e77930032edc2846459c160c76997db371e99e506cd73f3e7cd99e7e2072e [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-13T06:28:09.521Z] provisioning config files... [2023-04-13T06:28:09.531Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config9042226865434179512tmp [Pipeline] { [Pipeline] sh [2023-04-13T06:28:09.820Z] + set +x [2023-04-13T06:28:09.820Z] + bash -s -- [2023-04-13T06:28:09.820Z] + curl -s https://codecov.io/bash [2023-04-13T06:28:09.820Z] [2023-04-13T06:28:09.820Z] _____ _ [2023-04-13T06:28:09.820Z] / ____| | | [2023-04-13T06:28:09.820Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T06:28:09.820Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T06:28:09.820Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T06:28:09.820Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T06:28:09.820Z] Bash-1.0.6 [2023-04-13T06:28:09.820Z] [2023-04-13T06:28:09.820Z] [2023-04-13T06:28:09.820Z] ==> git version 2.25.1 found [2023-04-13T06:28:09.820Z] ==> 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-13T06:28:09.820Z] Release-Date: 2020-01-08 [2023-04-13T06:28:09.820Z] 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-13T06:28:09.820Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T06:28:09.820Z] ==> Jenkins CI detected. [2023-04-13T06:28:09.820Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-289 [2023-04-13T06:28:09.820Z] project root: . [2023-04-13T06:28:09.820Z] --> token set from env [2023-04-13T06:28:09.820Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T06:28:09.820Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T06:28:09.820Z] ==> Python coveragepy not found [2023-04-13T06:28:09.820Z] ==> Searching for coverage reports in: [2023-04-13T06:28:09.820Z] + . [2023-04-13T06:28:09.820Z] -> Found 1 reports [2023-04-13T06:28:09.820Z] ==> Detecting git/mercurial file structure [2023-04-13T06:28:09.820Z] ==> Reading reports [2023-04-13T06:28:09.820Z] + ./coverage.out bytes=14587 [2023-04-13T06:28:09.820Z] ==> Appending adjustments [2023-04-13T06:28:09.820Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T06:28:10.078Z] + Found adjustments [2023-04-13T06:28:10.078Z] ==> Gzipping contents [2023-04-13T06:28:10.078Z] 4.0K /tmp/codecov.4KjeSX.gz [2023-04-13T06:28:10.078Z] ==> Uploading reports [2023-04-13T06:28:10.078Z] url: https://codecov.io [2023-04-13T06:28:10.078Z] query: branch=PR-289&commit=e833a662d185661b816c1daf345506abe605e9fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-289%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=289&job=&cmd_args= [2023-04-13T06:28:10.078Z] -> Pinging Codecov [2023-04-13T06:28:10.078Z] 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=e833a662d185661b816c1daf345506abe605e9fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-289%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=289&job=&cmd_args= [2023-04-13T06:28:10.078Z] -> Uploading to [2023-04-13T06:28:10.079Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/4E5D53B4F1F92C436F7061BF334D961C/e833a662d185661b816c1daf345506abe605e9fc/2753a058-aab3-4ea2-9f95-e67e0df3f76e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T062810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a53de0f8e07c7bc87aeb19dcf1efb30c98348d2de3ad47e9bc2b1e5416b37c8c [2023-04-13T06:28:10.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T06:28:10.079Z] Dload Upload Total Spent Left Speed [2023-04-13T06:28:10.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12341 --:--:-- --:--:-- --:--:-- 12280 100 2493 0 0 100 2493 0 10217 --:--:-- --:--:-- --:--:-- 10175 [2023-04-13T06:28:10.338Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e833a662d185661b816c1daf345506abe605e9fc [Pipeline] } [2023-04-13T06:28:10.344Z] 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-13T06:28:11.032Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-289/archives ] [2023-04-13T06:28:11.032Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-289/archives [2023-04-13T06:28:11.032Z] total 16 [2023-04-13T06:28:11.032Z] drwxr-xr-x 3 root root 4096 Apr 13 06:17 . [2023-04-13T06:28:11.032Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:17 .. [2023-04-13T06:28:11.032Z] drwxr-xr-x 2 root root 4096 Apr 13 06:17 cost [2023-04-13T06:28:11.032Z] -rw-r--r-- 1 root root 86 Apr 13 06:17 cost.csv [2023-04-13T06:28:11.032Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-289/archives [2023-04-13T06:28:11.032Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-289/archives [2023-04-13T06:28:11.032Z] total 16 [2023-04-13T06:28:11.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:17 . [2023-04-13T06:28:11.032Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:17 .. [2023-04-13T06:28:11.032Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 06:17 cost [2023-04-13T06:28:11.032Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 13 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:11.319Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:12.174Z] ---> package-listing.sh [2023-04-13T06:28:12.174Z] ++ facter osfamily [2023-04-13T06:28:12.174Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T06:28:12.434Z] + OS_FAMILY=debian [2023-04-13T06:28:12.434Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-289 [2023-04-13T06:28:12.434Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T06:28:12.434Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T06:28:12.434Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T06:28:12.434Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T06:28:12.434Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-289 ']' [2023-04-13T06:28:12.434Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T06:28:12.434Z] + case "${OS_FAMILY}" in [2023-04-13T06:28:12.434Z] + dpkg -l [2023-04-13T06:28:12.434Z] + grep '^ii' [2023-04-13T06:28:12.434Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T06:28:12.434Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T06:28:12.434Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T06:28:12.434Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-289 ']' [2023-04-13T06:28:12.434Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-289/archives/ [2023-04-13T06:28:12.434Z] + 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-13T06:28:12.444Z] 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-13T06:28:12.719Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T06:28:13.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T06:28:13.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T06:28:13.354Z] prd-ubuntu20.04-docker-8c-8g-8396 does not seem to be running inside a container [2023-04-13T06:28:13.391Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T06:28:13.577Z] $ docker top e48ca46d58ea1cc3b22dcab712f28295300a2ab47842737f3edb45198c070c95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T06:28:13.915Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T06:28:14.197Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T06:28:14.478Z] + ls /var/log/sa-host [2023-04-13T06:28:14.478Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T06:28:14.540Z] provisioning config files... [2023-04-13T06:28:14.548Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-289@tmp/config4777805390360897172tmp [Pipeline] { [Pipeline] echo [2023-04-13T06:28:14.559Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:14.836Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T06:28:14.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:15.157Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T06:28:15.166Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:15.445Z] ---> sudo-logs.sh [2023-04-13T06:28:15.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T06:28:15.476Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:15.757Z] ---> job-cost.sh [2023-04-13T06:28:15.757Z] lf-activate-venv: SKIPPING [2023-04-13T06:28:15.757Z] DEBUG: total: 0.2199999988079071 [2023-04-13T06:28:15.757Z] INFO: Retrieving Stack Cost... [2023-04-13T06:28:16.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T06:28:16.583Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T06:28:16.594Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T06:28:16.877Z] ---> logs-deploy.sh [2023-04-13T06:28:16.877Z] lf-activate-venv: SKIPPING [2023-04-13T06:28:16.877Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-289/2 [2023-04-13T06:28:16.877Z] INFO: archiving workspace using pattern(s): [2023-04-13T06:28:17.817Z] Archives upload complete. [2023-04-13T06:28:17.817Z] INFO: archiving logs to Nexus