Pull request #366 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 cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from c43c269c46c6f6905694d96b27b98d02c951e430+63560b1f091cdd18f74439d048f83e61f0721fcd (2894baafdb619b6c7ca221eb428fad136441e300) 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-ssh7697439830426036511.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh3848869130207120610.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-366/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-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16044453652551812055.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh12206903775228842963.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-366/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-366/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14230089037222743400.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17147 in /w/workspace/gexfoundry_device-rest-go_PR-366 [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-366 # 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/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit c43c269c46c6f6905694d96b27b98d02c951e430 Merge succeeded, producing c43c269c46c6f6905694d96b27b98d02c951e430 Checking out Revision c43c269c46c6f6905694d96b27b98d02c951e430 (PR-366) > git config core.sparsecheckout # timeout=10 > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # 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 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git rev-list --no-walk 3f5745b9430ec2ede972e81d57068a7a4028a5f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-09T15:30:33.780Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-09T15:30:33.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-09T15:30:33.874Z] ========================================================= [2023-11-09T15:30:33.874Z] EdgeX Global Pipelines Version Info [2023-11-09T15:30:33.874Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:30:34.584Z] ------------------- [2023-11-09T15:30:34.585Z] stable info: [2023-11-09T15:30:34.585Z] ------------------- [2023-11-09T15:30:34.585Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-09T15:30:34.585Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T15:30:34.585Z] Message: update stable to v1.0.257 [2023-11-09T15:30:35.157Z] ------------------- [2023-11-09T15:30:35.157Z] experimental info: [2023-11-09T15:30:35.157Z] ------------------- [2023-11-09T15:30:35.157Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-09T15:30:35.157Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T15:30:35.157Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-09T15:30:35.332Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-09T15:30:35.356Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-09T15:30:35.373Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-09T15:30:35.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-09T15:30:35.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-09T15:30:35.419Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-09T15:30:35.440Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-09T15:30:35.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-09T15:30:35.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-09T15:30:35.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-09T15:30:35.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-09T15:30:35.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-09T15:30:35.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-09T15:30:35.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-09T15:30:35.573Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T15:30:35.583Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T15:30:35.602Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T15:30:35.615Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T15:30:35.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-09T15:30:35.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-09T15:30:35.673Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-09T15:30:35.698Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-09T15:30:35.715Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-09T15:30:35.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-09T15:30:35.751Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-09T15:30:35.771Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-09T15:30:35.795Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-09T15:30:35.814Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2023-11-09T15:30:35.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2023-11-09T15:30:35.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2023-11-09T15:30:35.846Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo [2023-11-09T15:30:35.859Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c43c269 [Pipeline] echo [2023-11-09T15:30:35.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T15:30:35.918Z] provisioning config files... [2023-11-09T15:30:35.932Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config10970178864786470796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:30:36.241Z] ---> docker-login.sh [2023-11-09T15:30:36.241Z] nexus3.edgexfoundry.org:10001 [2023-11-09T15:30:36.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:36.503Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:36.503Z] [2023-11-09T15:30:36.503Z] Login Succeeded [2023-11-09T15:30:36.503Z] nexus3.edgexfoundry.org:10002 [2023-11-09T15:30:36.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:36.503Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:36.503Z] [2023-11-09T15:30:36.503Z] Login Succeeded [2023-11-09T15:30:36.503Z] nexus3.edgexfoundry.org:10003 [2023-11-09T15:30:36.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:36.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:36.764Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:36.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:36.764Z] [2023-11-09T15:30:36.764Z] Login Succeeded [2023-11-09T15:30:36.764Z] nexus3.edgexfoundry.org:10004 [2023-11-09T15:30:36.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:36.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:36.764Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:36.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:36.764Z] [2023-11-09T15:30:36.764Z] Login Succeeded [2023-11-09T15:30:36.764Z] docker.io [2023-11-09T15:30:36.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:37.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:37.026Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:37.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:37.026Z] [2023-11-09T15:30:37.026Z] Login Succeeded [2023-11-09T15:30:37.026Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T15:30:37.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-09T15:30:37.421Z] + git rev-list -1 --merges c43c269c46c6f6905694d96b27b98d02c951e430~1..c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo [2023-11-09T15:30:37.466Z] -----------> git rev-list -1 --merges c43c269c46c6f6905694d96b27b98d02c951e430~1..c43c269c46c6f6905694d96b27b98d02c951e430 c43c269c46c6f6905694d96b27b98d02c951e430 [false] [Pipeline] sh [2023-11-09T15:30:37.792Z] + git log --format=format:%s -1 c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo [2023-11-09T15:30:37.807Z] ========================================================= [2023-11-09T15:30:37.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-09T15:30:37.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T15:30:38.137Z] + git log --format=format:%s -1 c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo [2023-11-09T15:30:38.149Z] [semverPrep] GIT_COMMIT: c43c269c46c6f6905694d96b27b98d02c951e430, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo [2023-11-09T15:30:38.159Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-09T15:30:38.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T15:30:38.503Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-09T15:30:38.503Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-09T15:30:38.503Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-09T15:30:38.503Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-09T15:30:38.503Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-09T15:30:38.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:30:38.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T15:30:38.849Z] [2023-11-09T15:30:38.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:30:39.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T15:30:39.147Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-09T15:30:39.147Z] b85a868b505f: Pulling fs layer [2023-11-09T15:30:39.147Z] e2be974225ed: Pulling fs layer [2023-11-09T15:30:39.147Z] 339a4e72a1f5: Pulling fs layer [2023-11-09T15:30:39.147Z] 988bab9f4d93: Pulling fs layer [2023-11-09T15:30:39.147Z] 1469e6f7b9e6: Pulling fs layer [2023-11-09T15:30:39.147Z] eaf3925da568: Pulling fs layer [2023-11-09T15:30:39.147Z] bab4dde63d76: Pulling fs layer [2023-11-09T15:30:39.147Z] bde34c3a00c8: Pulling fs layer [2023-11-09T15:30:39.147Z] b352a97aabf1: Pulling fs layer [2023-11-09T15:30:39.147Z] 4872d77fe225: Pulling fs layer [2023-11-09T15:30:39.147Z] 5851b861e8e6: Pulling fs layer [2023-11-09T15:30:39.147Z] 1469e6f7b9e6: Waiting [2023-11-09T15:30:39.147Z] eaf3925da568: Waiting [2023-11-09T15:30:39.147Z] bde34c3a00c8: Waiting [2023-11-09T15:30:39.147Z] bab4dde63d76: Waiting [2023-11-09T15:30:39.147Z] 5851b861e8e6: Waiting [2023-11-09T15:30:39.147Z] 4872d77fe225: Waiting [2023-11-09T15:30:39.148Z] b352a97aabf1: Waiting [2023-11-09T15:30:39.148Z] e2be974225ed: Verifying Checksum [2023-11-09T15:30:39.148Z] e2be974225ed: Download complete [2023-11-09T15:30:39.148Z] 988bab9f4d93: Verifying Checksum [2023-11-09T15:30:39.148Z] 988bab9f4d93: Download complete [2023-11-09T15:30:39.148Z] 339a4e72a1f5: Verifying Checksum [2023-11-09T15:30:39.148Z] 339a4e72a1f5: Download complete [2023-11-09T15:30:39.148Z] 1469e6f7b9e6: Verifying Checksum [2023-11-09T15:30:39.148Z] 1469e6f7b9e6: Download complete [2023-11-09T15:30:39.148Z] eaf3925da568: Verifying Checksum [2023-11-09T15:30:39.148Z] eaf3925da568: Download complete [2023-11-09T15:30:39.408Z] bde34c3a00c8: Verifying Checksum [2023-11-09T15:30:39.408Z] bde34c3a00c8: Download complete [2023-11-09T15:30:39.408Z] b352a97aabf1: Verifying Checksum [2023-11-09T15:30:39.408Z] b352a97aabf1: Download complete [2023-11-09T15:30:39.408Z] 4872d77fe225: Verifying Checksum [2023-11-09T15:30:39.408Z] 4872d77fe225: Download complete [2023-11-09T15:30:39.408Z] 5851b861e8e6: Download complete [2023-11-09T15:30:39.408Z] b85a868b505f: Verifying Checksum [2023-11-09T15:30:39.408Z] b85a868b505f: Download complete [2023-11-09T15:30:39.667Z] bab4dde63d76: Verifying Checksum [2023-11-09T15:30:39.667Z] bab4dde63d76: Download complete [2023-11-09T15:30:40.603Z] b85a868b505f: Pull complete [2023-11-09T15:30:40.603Z] e2be974225ed: Pull complete [2023-11-09T15:30:41.172Z] 339a4e72a1f5: Pull complete [2023-11-09T15:30:41.172Z] 988bab9f4d93: Pull complete [2023-11-09T15:30:41.430Z] 1469e6f7b9e6: Pull complete [2023-11-09T15:30:41.430Z] eaf3925da568: Pull complete [2023-11-09T15:30:43.336Z] bab4dde63d76: Pull complete [2023-11-09T15:30:43.336Z] bde34c3a00c8: Pull complete [2023-11-09T15:30:43.336Z] b352a97aabf1: Pull complete [2023-11-09T15:30:43.336Z] 4872d77fe225: Pull complete [2023-11-09T15:30:43.336Z] 5851b861e8e6: Pull complete [2023-11-09T15:30:43.336Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-09T15:30:43.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T15:30:43.336Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:30:43.431Z] prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container [2023-11-09T15:30:43.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T15:30:46.523Z] $ docker top 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 -eo pid,comm [2023-11-09T15:30:46.576Z] 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-11-09T15:30:46.576Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T15:30:46.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T15:30:46.617Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T15:30:46.727Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T15:30:46.731Z] $ docker exec 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent [2023-11-09T15:30:46.841Z] SSH_AUTH_SOCK=/tmp/ssh-F7PwUgWlxlGB/agent.33 [2023-11-09T15:30:46.841Z] SSH_AGENT_PID=39 [2023-11-09T15:30:46.849Z] Running ssh-add (command line suppressed) [2023-11-09T15:30:46.950Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_9385486815884252439.key (/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_9385486815884252439.key) [2023-11-09T15:30:46.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T15:30:47.256Z] + git tag --points-at HEAD [Pipeline] } [2023-11-09T15:30:47.271Z] $ docker exec --env ******** --env ******** 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent -k [2023-11-09T15:30:47.367Z] unset SSH_AUTH_SOCK; [2023-11-09T15:30:47.368Z] unset SSH_AGENT_PID; [2023-11-09T15:30:47.368Z] echo Agent pid 39 killed; [2023-11-09T15:30:47.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-09T15:30:47.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T15:30:47.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T15:30:47.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T15:30:47.527Z] $ docker exec 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent [2023-11-09T15:30:47.635Z] SSH_AUTH_SOCK=/tmp/ssh-CKuBtFCmTdEj/agent.71 [2023-11-09T15:30:47.635Z] SSH_AGENT_PID=77 [2023-11-09T15:30:47.640Z] Running ssh-add (command line suppressed) [2023-11-09T15:30:47.782Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_8224600129838239054.key (/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_8224600129838239054.key) [2023-11-09T15:30:47.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T15:30:48.091Z] + git semver init [2023-11-09T15:30:48.351Z] 2023-11-09 15:30:48,256 [run_init] DEBUG init version:0.0.0 force:False [2023-11-09T15:30:48.351Z] 2023-11-09 15:30:48,257 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver [2023-11-09T15:30:48.351Z] 2023-11-09 15:30:48,257 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-366/.semver [2023-11-09T15:30:48.351Z] 2023-11-09 15:30:48,257 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-366/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366, universal_newlines=False, shell=None, istream=None) [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-366/.git/info/exclude [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 with force:False [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,356 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,361 [execute] INFO git cat-file --batch-check [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,367 [execute] INFO git cat-file --batch [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T15:30:49.737Z] 2023-11-09 15:30:49,373 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 [2023-11-09T15:30:49.737Z] 0.0.0 [Pipeline] } [2023-11-09T15:30:49.751Z] $ docker exec --env ******** --env ******** 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent -k [2023-11-09T15:30:49.854Z] unset SSH_AUTH_SOCK; [2023-11-09T15:30:49.855Z] unset SSH_AGENT_PID; [2023-11-09T15:30:49.855Z] echo Agent pid 77 killed; [2023-11-09T15:30:49.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T15:30:50.173Z] + git semver [Pipeline] } [2023-11-09T15:30:50.455Z] $ docker stop --time=1 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 [2023-11-09T15:30:51.771Z] $ docker rm -f --volumes 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T15:30:52.108Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-09T15:30:52.351Z] Stashed 1 file(s) [Pipeline] echo [2023-11-09T15:30:52.355Z] [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-11-09T15:30:52.517Z] provisioning config files... [2023-11-09T15:30:52.527Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config11367140905339258866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:30:52.825Z] ---> docker-login.sh [2023-11-09T15:30:52.825Z] nexus3.edgexfoundry.org:10001 [2023-11-09T15:30:52.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:52.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:52.825Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:52.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:52.825Z] [2023-11-09T15:30:52.825Z] Login Succeeded [2023-11-09T15:30:52.825Z] nexus3.edgexfoundry.org:10002 [2023-11-09T15:30:52.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:52.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:52.826Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:52.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:52.826Z] [2023-11-09T15:30:52.826Z] Login Succeeded [2023-11-09T15:30:52.826Z] nexus3.edgexfoundry.org:10003 [2023-11-09T15:30:53.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:53.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:53.086Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:53.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:53.086Z] [2023-11-09T15:30:53.086Z] Login Succeeded [2023-11-09T15:30:53.086Z] nexus3.edgexfoundry.org:10004 [2023-11-09T15:30:53.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:53.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:53.086Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:53.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:53.086Z] [2023-11-09T15:30:53.086Z] Login Succeeded [2023-11-09T15:30:53.086Z] docker.io [2023-11-09T15:30:53.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:30:53.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:30:53.604Z] Configure a credential helper to remove this warning. See [2023-11-09T15:30:53.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:30:53.604Z] [2023-11-09T15:30:53.604Z] Login Succeeded [2023-11-09T15:30:53.604Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T15:30:53.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T15:30:53.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T15:30:53.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T15:30:53.706Z] ========================================================= [2023-11-09T15:30:53.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-09T15:30:53.706Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:30:54.026Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-09T15:30:54.026Z] Sending build context to Docker daemon 10.94MB [2023-11-09T15:30:54.026Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T15:30:54.026Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T15:30:54.026Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-09T15:30:54.026Z] 7264a8db6415: Pulling fs layer [2023-11-09T15:30:54.026Z] c4d48a809fc2: Pulling fs layer [2023-11-09T15:30:54.026Z] 4f1c88b9dad5: Pulling fs layer [2023-11-09T15:30:54.026Z] ad3a456e5733: Pulling fs layer [2023-11-09T15:30:54.026Z] 33e27b845d1e: Pulling fs layer [2023-11-09T15:30:54.026Z] c68163c4e522: Pulling fs layer [2023-11-09T15:30:54.026Z] 50da416c3ac9: Pulling fs layer [2023-11-09T15:30:54.026Z] 23d2d4c4bb30: Pulling fs layer [2023-11-09T15:30:54.026Z] 23d2d4c4bb30: Waiting [2023-11-09T15:30:54.026Z] 50da416c3ac9: Waiting [2023-11-09T15:30:54.026Z] 33e27b845d1e: Waiting [2023-11-09T15:30:54.026Z] ad3a456e5733: Waiting [2023-11-09T15:30:54.026Z] c68163c4e522: Waiting [2023-11-09T15:30:54.026Z] c4d48a809fc2: Verifying Checksum [2023-11-09T15:30:54.026Z] c4d48a809fc2: Download complete [2023-11-09T15:30:54.026Z] ad3a456e5733: Download complete [2023-11-09T15:30:54.288Z] 33e27b845d1e: Verifying Checksum [2023-11-09T15:30:54.288Z] 33e27b845d1e: Download complete [2023-11-09T15:30:54.288Z] 7264a8db6415: Verifying Checksum [2023-11-09T15:30:54.288Z] 7264a8db6415: Download complete [2023-11-09T15:30:54.288Z] c68163c4e522: Verifying Checksum [2023-11-09T15:30:54.288Z] c68163c4e522: Download complete [2023-11-09T15:30:54.288Z] 7264a8db6415: Pull complete [2023-11-09T15:30:54.548Z] 23d2d4c4bb30: Download complete [2023-11-09T15:30:54.548Z] c4d48a809fc2: Pull complete [2023-11-09T15:30:54.548Z] 4f1c88b9dad5: Verifying Checksum [2023-11-09T15:30:54.548Z] 4f1c88b9dad5: Download complete [2023-11-09T15:30:55.117Z] 50da416c3ac9: Verifying Checksum [2023-11-09T15:30:55.117Z] 50da416c3ac9: Download complete [2023-11-09T15:30:58.403Z] 4f1c88b9dad5: Pull complete [2023-11-09T15:30:58.403Z] ad3a456e5733: Pull complete [2023-11-09T15:30:58.403Z] 33e27b845d1e: Pull complete [2023-11-09T15:30:58.403Z] c68163c4e522: Pull complete [2023-11-09T15:31:00.302Z] 50da416c3ac9: Pull complete [2023-11-09T15:31:00.870Z] 23d2d4c4bb30: Pull complete [2023-11-09T15:31:00.870Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-09T15:31:00.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-09T15:31:00.870Z] ---> 0786185ac409 [2023-11-09T15:31:00.870Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T15:31:06.149Z] ---> Running in bb705900b8d5 [2023-11-09T15:31:06.150Z] Removing intermediate container bb705900b8d5 [2023-11-09T15:31:06.150Z] ---> d5609221d182 [2023-11-09T15:31:06.150Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T15:31:06.150Z] ---> Running in 853ddbf2f8e2 [2023-11-09T15:31:06.150Z] Removing intermediate container 853ddbf2f8e2 [2023-11-09T15:31:06.150Z] ---> 045bb1c04450 [2023-11-09T15:31:06.150Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T15:31:06.150Z] ---> Running in fa7e013f554e [2023-11-09T15:31:06.150Z] Removing intermediate container fa7e013f554e [2023-11-09T15:31:06.150Z] ---> 7d7b53049c79 [2023-11-09T15:31:06.150Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T15:31:06.150Z] ---> Running in 78872079f60a [2023-11-09T15:31:06.150Z] Removing intermediate container 78872079f60a [2023-11-09T15:31:06.150Z] ---> 492302e72388 [2023-11-09T15:31:06.150Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T15:31:06.150Z] ---> Running in cbc04f2eaeac [2023-11-09T15:31:06.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T15:31:06.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T15:31:06.409Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T15:31:06.409Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T15:31:06.409Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T15:31:06.409Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T15:31:06.409Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T15:31:06.409Z] OK: 268 MiB in 56 packages [2023-11-09T15:31:07.010Z] Removing intermediate container cbc04f2eaeac [2023-11-09T15:31:07.010Z] ---> f665c1c34491 [2023-11-09T15:31:07.010Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T15:31:07.010Z] ---> Running in cc66ccf18fd7 [2023-11-09T15:31:07.010Z] Removing intermediate container cc66ccf18fd7 [2023-11-09T15:31:07.010Z] ---> badc269e76cf [2023-11-09T15:31:07.010Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T15:31:07.270Z] ---> 7617edf6d306 [2023-11-09T15:31:07.270Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T15:31:07.270Z] ---> Running in 09179c9b395d [2023-11-09T15:31:07.474Z] Still waiting to schedule task [2023-11-09T15:31:07.474Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-09T15:31:46.021Z] Removing intermediate container 09179c9b395d [2023-11-09T15:31:46.022Z] ---> e40c7b0394d1 [2023-11-09T15:31:46.022Z] Step 11/12 : COPY . . [2023-11-09T15:31:46.022Z] ---> c60a7e99cdbe [2023-11-09T15:31:46.022Z] Step 12/12 : RUN $MAKE [2023-11-09T15:31:46.022Z] ---> Running in 68f00c2b3873 [2023-11-09T15:31:46.022Z] noop [2023-11-09T15:31:46.022Z] Removing intermediate container 68f00c2b3873 [2023-11-09T15:31:46.022Z] ---> 2ac1de71dedc [2023-11-09T15:31:46.022Z] Successfully built 2ac1de71dedc [2023-11-09T15:31:46.022Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:31:46.333Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T15:31:46.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:31:46.407Z] prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container [2023-11-09T15:31:46.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** ci-base-image-x86_64 cat [2023-11-09T15:31:46.783Z] $ docker top 8f4f108c0c77674144f804815955f405d63fb058725e39c9ed849038cc5f39a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T15:31:47.220Z] + go version [2023-11-09T15:31:47.220Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-09T15:31:47.231Z] $ docker stop --time=1 8f4f108c0c77674144f804815955f405d63fb058725e39c9ed849038cc5f39a7 [2023-11-09T15:31:48.499Z] $ docker rm -f --volumes 8f4f108c0c77674144f804815955f405d63fb058725e39c9ed849038cc5f39a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:31:48.925Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T15:31:48.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:31:49.003Z] prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container [2023-11-09T15:31:49.031Z] $ 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-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** ci-base-image-x86_64 cat [2023-11-09T15:31:49.396Z] $ docker top 6999938ed7c1554c4daa33c0068ac6ebbf977107464946b598eed5b3fcb68509 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T15:31:49.735Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] fileExists [Pipeline] sh [2023-11-09T15:31:50.032Z] + make test [2023-11-09T15:31:50.032Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T15:31:51.407Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T15:32:01.364Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T15:32:01.364Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-11-09T15:32:06.624Z] go vet ./... [2023-11-09T15:32:10.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T15:32:10.806Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T15:32:10.806Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T15:32:10.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T15:32:10.839Z] $ docker stop --time=1 6999938ed7c1554c4daa33c0068ac6ebbf977107464946b598eed5b3fcb68509 [2023-11-09T15:32:13.964Z] $ docker rm -f --volumes 6999938ed7c1554c4daa33c0068ac6ebbf977107464946b598eed5b3fcb68509 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T15:32:14.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T15:32:14.477Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-09T15:32:15.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T15:32:15.315Z] + ls -al . [2023-11-09T15:32:15.315Z] total 180 [2023-11-09T15:32:15.315Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:31 . [2023-11-09T15:32:15.315Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:30 .. [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 15:30 .dockerignore [2023-11-09T15:32:15.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:32 .git [2023-11-09T15:32:15.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:30 .github [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 15:30 .gitignore [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:30 .golangci.yml [2023-11-09T15:32:15.315Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:30 .semver [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 15:30 Attribution.txt [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 9 15:30 CHANGELOG.md [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 15:30 Dockerfile [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:30 GOVERNANCE.md [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 15:30 Jenkinsfile [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:30 LICENSE [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 15:30 Makefile [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:30 OWNERS.md [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 15:30 README.md [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:30 VERSION [2023-11-09T15:32:15.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:30 bin [2023-11-09T15:32:15.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:30 cmd [2023-11-09T15:32:15.315Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 15:32 coverage.out [2023-11-09T15:32:15.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:30 driver [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 15:30 go.mod [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 15:30 go.sum [2023-11-09T15:32:15.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:30 openapi [2023-11-09T15:32:15.315Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 15:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:32:15.621Z] + 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=c43c269c46c6f6905694d96b27b98d02c951e430 --label arch=amd64 --label version=0.0.0 . [2023-11-09T15:32:15.621Z] Sending build context to Docker daemon 10.95MB [2023-11-09T15:32:15.621Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T15:32:15.621Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T15:32:15.621Z] ---> 2ac1de71dedc [2023-11-09T15:32:15.621Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T15:32:15.880Z] ---> Running in 5b846e161a59 [2023-11-09T15:32:15.880Z] Removing intermediate container 5b846e161a59 [2023-11-09T15:32:15.880Z] ---> aae1679fc2c2 [2023-11-09T15:32:15.880Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T15:32:15.880Z] ---> Running in 566c96862270 [2023-11-09T15:32:15.880Z] Removing intermediate container 566c96862270 [2023-11-09T15:32:15.880Z] ---> 762ae1367c0a [2023-11-09T15:32:15.880Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T15:32:15.880Z] ---> Running in 047478e7a537 [2023-11-09T15:32:16.138Z] Removing intermediate container 047478e7a537 [2023-11-09T15:32:16.138Z] ---> 580b1174626c [2023-11-09T15:32:16.138Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T15:32:16.138Z] ---> Running in dc54a6d3b4a6 [2023-11-09T15:32:16.138Z] Removing intermediate container dc54a6d3b4a6 [2023-11-09T15:32:16.138Z] ---> 6c32713cdf2f [2023-11-09T15:32:16.138Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T15:32:16.138Z] ---> Running in f7073237ef05 [2023-11-09T15:32:16.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T15:32:16.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T15:32:16.913Z] OK: 268 MiB in 56 packages [2023-11-09T15:32:17.172Z] Removing intermediate container f7073237ef05 [2023-11-09T15:32:17.172Z] ---> 20e36222bba3 [2023-11-09T15:32:17.172Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T15:32:17.172Z] ---> Running in 3fcec3f9910e [2023-11-09T15:32:17.172Z] Removing intermediate container 3fcec3f9910e [2023-11-09T15:32:17.172Z] ---> 67cd9833c580 [2023-11-09T15:32:17.172Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T15:32:17.430Z] ---> aae6c39815e0 [2023-11-09T15:32:17.430Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T15:32:17.430Z] ---> Running in 400e365c149a [2023-11-09T15:32:17.996Z] Removing intermediate container 400e365c149a [2023-11-09T15:32:17.996Z] ---> 420e3ac33ef2 [2023-11-09T15:32:17.996Z] Step 11/25 : COPY . . [2023-11-09T15:32:18.563Z] ---> 03c0e4f4a240 [2023-11-09T15:32:18.563Z] Step 12/25 : RUN $MAKE [2023-11-09T15:32:18.563Z] ---> Running in 80ca3f640808 [2023-11-09T15:32:18.821Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T15:32:36.899Z] Removing intermediate container 80ca3f640808 [2023-11-09T15:32:36.899Z] ---> f6715ebed6e5 [2023-11-09T15:32:36.899Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T15:32:36.899Z] 3.18: Pulling from library/alpine [2023-11-09T15:32:36.899Z] 96526aa774ef: Pulling fs layer [2023-11-09T15:32:36.899Z] 96526aa774ef: Verifying Checksum [2023-11-09T15:32:36.899Z] 96526aa774ef: Download complete [2023-11-09T15:32:37.160Z] 96526aa774ef: Pull complete [2023-11-09T15:32:37.160Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T15:32:37.160Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T15:32:37.160Z] ---> 8ca4688f4f35 [2023-11-09T15:32:37.160Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T15:32:37.420Z] ---> Running in 00571e815dd7 [2023-11-09T15:32:37.420Z] Removing intermediate container 00571e815dd7 [2023-11-09T15:32:37.420Z] ---> a6a1adb42b6f [2023-11-09T15:32:37.420Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T15:32:37.420Z] ---> Running in 0a3ce0ebed5a [2023-11-09T15:32:37.420Z] Removing intermediate container 0a3ce0ebed5a [2023-11-09T15:32:37.420Z] ---> fba0ec7bd564 [2023-11-09T15:32:37.420Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T15:32:37.420Z] ---> Running in d7f3a96000fe [2023-11-09T15:32:37.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T15:32:37.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T15:32:38.198Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T15:32:38.198Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T15:32:38.198Z] OK: 7 MiB in 16 packages [2023-11-09T15:32:38.457Z] Removing intermediate container d7f3a96000fe [2023-11-09T15:32:38.457Z] ---> 85515e52015a [2023-11-09T15:32:38.457Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T15:32:39.393Z] ---> 684ba9865946 [2023-11-09T15:32:39.393Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T15:32:39.393Z] ---> 0a22107d9725 [2023-11-09T15:32:39.393Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T15:32:39.393Z] ---> 796f335f24bf [2023-11-09T15:32:39.393Z] Step 20/25 : EXPOSE 59986 [2023-11-09T15:32:39.393Z] ---> Running in cb833632d9c2 [2023-11-09T15:32:39.650Z] Removing intermediate container cb833632d9c2 [2023-11-09T15:32:39.650Z] ---> 7a0980a3eff3 [2023-11-09T15:32:39.650Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T15:32:39.650Z] ---> Running in aab285c7729f [2023-11-09T15:32:39.650Z] Removing intermediate container aab285c7729f [2023-11-09T15:32:39.650Z] ---> 113ac236803d [2023-11-09T15:32:39.650Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T15:32:39.650Z] ---> Running in b4fbabfa0ce2 [2023-11-09T15:32:39.650Z] Removing intermediate container b4fbabfa0ce2 [2023-11-09T15:32:39.650Z] ---> 6d0561bf174b [2023-11-09T15:32:39.650Z] Step 23/25 : LABEL arch=amd64 [2023-11-09T15:32:39.650Z] ---> Running in b4fe4616b119 [2023-11-09T15:32:39.908Z] Removing intermediate container b4fe4616b119 [2023-11-09T15:32:39.909Z] ---> a359633f2f93 [2023-11-09T15:32:39.909Z] Step 24/25 : LABEL git_sha=c43c269c46c6f6905694d96b27b98d02c951e430 [2023-11-09T15:32:39.909Z] ---> Running in f85c63b7825e [2023-11-09T15:32:39.909Z] Removing intermediate container f85c63b7825e [2023-11-09T15:32:39.909Z] ---> 264a7e3ba9b7 [2023-11-09T15:32:39.909Z] Step 25/25 : LABEL version=0.0.0 [2023-11-09T15:32:39.909Z] ---> Running in 16d5f792463d [2023-11-09T15:32:39.909Z] Removing intermediate container 16d5f792463d [2023-11-09T15:32:39.909Z] ---> 42aa9476b05c [2023-11-09T15:32:39.909Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T15:32:39.909Z] Successfully built 42aa9476b05c [2023-11-09T15:32:39.909Z] 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-11-09T15:32:40.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T15:32:40.341Z] [2023-11-09T15:32:40.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:32:40.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T15:32:40.645Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-09T15:32:40.645Z] 5eb5b503b376: Pulling fs layer [2023-11-09T15:32:40.645Z] 5c69ac0246d0: Pulling fs layer [2023-11-09T15:32:40.645Z] ec43610c2a17: Pulling fs layer [2023-11-09T15:32:40.645Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-09T15:32:40.645Z] 33b1e0a273af: Pulling fs layer [2023-11-09T15:32:40.645Z] 5d3b04190fa2: Pulling fs layer [2023-11-09T15:32:40.645Z] 2f39f015ded8: Pulling fs layer [2023-11-09T15:32:40.645Z] 3a2ae6a8a46f: Waiting [2023-11-09T15:32:40.645Z] 33b1e0a273af: Waiting [2023-11-09T15:32:40.645Z] 5d3b04190fa2: Waiting [2023-11-09T15:32:40.645Z] 2f39f015ded8: Waiting [2023-11-09T15:32:40.645Z] 5c69ac0246d0: Download complete [2023-11-09T15:32:40.645Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-09T15:32:40.645Z] 3a2ae6a8a46f: Download complete [2023-11-09T15:32:40.645Z] 33b1e0a273af: Verifying Checksum [2023-11-09T15:32:40.645Z] 33b1e0a273af: Download complete [2023-11-09T15:32:40.645Z] 5d3b04190fa2: Verifying Checksum [2023-11-09T15:32:40.645Z] 5d3b04190fa2: Download complete [2023-11-09T15:32:40.645Z] ec43610c2a17: Verifying Checksum [2023-11-09T15:32:40.645Z] ec43610c2a17: Download complete [2023-11-09T15:32:40.903Z] 5eb5b503b376: Download complete [2023-11-09T15:32:41.468Z] 2f39f015ded8: Download complete [2023-11-09T15:32:42.036Z] 5eb5b503b376: Pull complete [2023-11-09T15:32:42.036Z] 5c69ac0246d0: Pull complete [2023-11-09T15:32:42.602Z] ec43610c2a17: Pull complete [2023-11-09T15:32:42.602Z] 3a2ae6a8a46f: Pull complete [2023-11-09T15:32:42.861Z] 33b1e0a273af: Pull complete [2023-11-09T15:32:42.861Z] 5d3b04190fa2: Pull complete [2023-11-09T15:32:47.048Z] 2f39f015ded8: Pull complete [2023-11-09T15:32:47.048Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-09T15:32:47.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T15:32:47.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:32:47.141Z] prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container [2023-11-09T15:32:47.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-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T15:32:51.339Z] $ docker top 9685b05448d494b34c5bf4a0dba6d298f56a11d6f5860396d319de976b0df62f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:32:51.713Z] ---> job-cost.sh [2023-11-09T15:32:51.713Z] lf-activate-venv: SKIPPING [2023-11-09T15:32:51.713Z] INFO: No Stack... [2023-11-09T15:32:51.972Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T15:32:52.231Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T15:32:52.520Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-366/archives/cost.csv [2023-11-09T15:32:52.520Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T15:32:52.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [2023-11-09T15:32:52.539Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] did not exist. Created. [2023-11-09T15:32:52.539Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T15:32:52.837Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-09T15:32:52.869Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T15:32:52.876Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T15:32:52.900Z] $ docker stop --time=1 9685b05448d494b34c5bf4a0dba6d298f56a11d6f5860396d319de976b0df62f [2023-11-09T15:32:54.082Z] $ docker rm -f --volumes 9685b05448d494b34c5bf4a0dba6d298f56a11d6f5860396d319de976b0df62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-09T15:34:16.473Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17150 in /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] { [Pipeline] ws [2023-11-09T15:34:16.488Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-11-09T15:34:16.532Z] The recommended git tool is: git [2023-11-09T15:34:24.309Z] using credential edgex-jenkins-ssh [2023-11-09T15:34:24.330Z] Cloning the remote Git repository [2023-11-09T15:34:24.390Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T15:34:24.529Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-11-09T15:34:24.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T15:34:24.868Z] > git --version # timeout=10 [2023-11-09T15:34:24.931Z] > git --version # 'git version 2.25.1' [2023-11-09T15:34:24.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T15:34:25.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T15:34:27.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T15:34:28.081Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T15:34:31.295Z] Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit c43c269c46c6f6905694d96b27b98d02c951e430 [2023-11-09T15:34:30.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T15:34:30.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T15:34:30.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T15:34:30.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-09T15:34:31.337Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T15:34:31.520Z] > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # timeout=10 [2023-11-09T15:34:31.861Z] Merge succeeded, producing c43c269c46c6f6905694d96b27b98d02c951e430 [2023-11-09T15:34:31.862Z] Checking out Revision c43c269c46c6f6905694d96b27b98d02c951e430 (PR-366) [2023-11-09T15:34:31.677Z] > git remote # timeout=10 [2023-11-09T15:34:31.712Z] > git config --get remote.origin.url # timeout=10 [2023-11-09T15:34:31.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T15:34:31.773Z] > git merge 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 [2023-11-09T15:34:31.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-09T15:34:31.875Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T15:34:31.899Z] > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # timeout=10 [2023-11-09T15:34:38.453Z] Commit message: "docs: Update changelog for 3.1 release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T15:34:39.458Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-09T15:34:39.458Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T15:34:39.458Z] Dload Upload Total Spent Left Speed [2023-11-09T15:34:39.458Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh [2023-11-09T15:34:40.482Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-09T15:34:40.875Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-09T15:34:40.876Z] + sudo tee /etc/docker/daemon.new [2023-11-09T15:34:40.876Z] { [2023-11-09T15:34:40.876Z] "registry-mirrors": [ [2023-11-09T15:34:40.876Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-09T15:34:40.876Z] ], [2023-11-09T15:34:40.876Z] "bip": "10.250.0.254/24", [2023-11-09T15:34:40.876Z] "hosts": [ [2023-11-09T15:34:40.876Z] "tcp://0.0.0.0:5555", [2023-11-09T15:34:40.876Z] "unix:///var/run/docker.sock" [2023-11-09T15:34:40.876Z] ], [2023-11-09T15:34:40.876Z] "mtu": 1458, [2023-11-09T15:34:40.876Z] "selinux-enabled": true, [2023-11-09T15:34:40.876Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-09T15:34:40.876Z] } [Pipeline] sh [2023-11-09T15:34:41.233Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-09T15:34:41.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T15:35:00.009Z] provisioning config files... [2023-11-09T15:35:00.038Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config13015831327581792499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:35:00.411Z] ---> docker-login.sh [2023-11-09T15:35:00.411Z] nexus3.edgexfoundry.org:10001 [2023-11-09T15:35:00.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:35:00.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:35:00.958Z] Configure a credential helper to remove this warning. See [2023-11-09T15:35:00.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:35:00.958Z] [2023-11-09T15:35:00.958Z] Login Succeeded [2023-11-09T15:35:00.958Z] nexus3.edgexfoundry.org:10002 [2023-11-09T15:35:01.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:35:01.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:35:01.508Z] Configure a credential helper to remove this warning. See [2023-11-09T15:35:01.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:35:01.508Z] [2023-11-09T15:35:01.508Z] Login Succeeded [2023-11-09T15:35:01.508Z] nexus3.edgexfoundry.org:10003 [2023-11-09T15:35:01.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:35:01.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:35:01.780Z] Configure a credential helper to remove this warning. See [2023-11-09T15:35:01.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:35:01.780Z] [2023-11-09T15:35:01.780Z] Login Succeeded [2023-11-09T15:35:02.054Z] nexus3.edgexfoundry.org:10004 [2023-11-09T15:35:02.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:35:02.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:35:02.332Z] Configure a credential helper to remove this warning. See [2023-11-09T15:35:02.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:35:02.332Z] [2023-11-09T15:35:02.332Z] Login Succeeded [2023-11-09T15:35:02.332Z] docker.io [2023-11-09T15:35:02.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T15:35:02.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T15:35:02.879Z] Configure a credential helper to remove this warning. See [2023-11-09T15:35:02.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T15:35:02.879Z] [2023-11-09T15:35:02.879Z] Login Succeeded [2023-11-09T15:35:02.879Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T15:35:02.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T15:35:03.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T15:35:03.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T15:35:03.192Z] ========================================================= [2023-11-09T15:35:03.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-09T15:35:03.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:35:03.549Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-09T15:35:03.549Z] Sending build context to Docker daemon 127.5kB [2023-11-09T15:35:03.821Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T15:35:03.821Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T15:35:08.116Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-09T15:35:08.116Z] 9fda8d8052c6: Pulling fs layer [2023-11-09T15:35:08.116Z] 5d54e960e981: Pulling fs layer [2023-11-09T15:35:08.116Z] c4a7e357bf2a: Pulling fs layer [2023-11-09T15:35:08.116Z] f0e02332f6b5: Pulling fs layer [2023-11-09T15:35:08.116Z] cefa15bbcfad: Pulling fs layer [2023-11-09T15:35:08.116Z] 17808c966233: Pulling fs layer [2023-11-09T15:35:08.116Z] f4c1fc716caa: Pulling fs layer [2023-11-09T15:35:08.116Z] f0e02332f6b5: Waiting [2023-11-09T15:35:08.116Z] cefa15bbcfad: Waiting [2023-11-09T15:35:08.116Z] 17808c966233: Waiting [2023-11-09T15:35:08.116Z] f4c1fc716caa: Waiting [2023-11-09T15:35:08.116Z] 5d54e960e981: Download complete [2023-11-09T15:35:08.116Z] f0e02332f6b5: Verifying Checksum [2023-11-09T15:35:08.116Z] f0e02332f6b5: Download complete [2023-11-09T15:35:08.116Z] cefa15bbcfad: Verifying Checksum [2023-11-09T15:35:08.116Z] cefa15bbcfad: Download complete [2023-11-09T15:35:08.116Z] 9fda8d8052c6: Download complete [2023-11-09T15:35:08.116Z] f4c1fc716caa: Verifying Checksum [2023-11-09T15:35:08.116Z] f4c1fc716caa: Download complete [2023-11-09T15:35:08.717Z] 9fda8d8052c6: Pull complete [2023-11-09T15:35:09.312Z] 5d54e960e981: Pull complete [2023-11-09T15:35:09.582Z] c4a7e357bf2a: Verifying Checksum [2023-11-09T15:35:09.582Z] c4a7e357bf2a: Download complete [2023-11-09T15:35:10.550Z] 17808c966233: Verifying Checksum [2023-11-09T15:35:10.551Z] 17808c966233: Download complete [2023-11-09T15:35:22.884Z] c4a7e357bf2a: Pull complete [2023-11-09T15:35:22.884Z] f0e02332f6b5: Pull complete [2023-11-09T15:35:22.884Z] cefa15bbcfad: Pull complete [2023-11-09T15:35:33.019Z] 17808c966233: Pull complete [2023-11-09T15:35:36.372Z] f4c1fc716caa: Pull complete [2023-11-09T15:35:36.372Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-09T15:35:36.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-09T15:35:36.372Z] ---> ea914061e18c [2023-11-09T15:35:36.372Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T15:35:37.339Z] ---> Running in 233a5ca9f2eb [2023-11-09T15:35:37.625Z] Removing intermediate container 233a5ca9f2eb [2023-11-09T15:35:37.625Z] ---> 0d2f4fd2015a [2023-11-09T15:35:37.625Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T15:35:37.625Z] ---> Running in 7910b32278cf [2023-11-09T15:35:37.894Z] Removing intermediate container 7910b32278cf [2023-11-09T15:35:37.894Z] ---> 6a0c40e5da74 [2023-11-09T15:35:37.894Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T15:35:38.165Z] ---> Running in 3d8987fe47c9 [2023-11-09T15:35:38.436Z] Removing intermediate container 3d8987fe47c9 [2023-11-09T15:35:38.436Z] ---> 3f7b68bdd353 [2023-11-09T15:35:38.436Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T15:35:38.436Z] ---> Running in 9d5aadc7ae3e [2023-11-09T15:35:38.710Z] Removing intermediate container 9d5aadc7ae3e [2023-11-09T15:35:38.710Z] ---> ce585e0233b0 [2023-11-09T15:35:38.710Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T15:35:38.978Z] ---> Running in 125c19a9409f [2023-11-09T15:35:39.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T15:35:40.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T15:35:41.514Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T15:35:41.794Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T15:35:41.794Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T15:35:41.794Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T15:35:41.794Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T15:35:41.794Z] OK: 270 MiB in 56 packages [2023-11-09T15:35:43.774Z] Removing intermediate container 125c19a9409f [2023-11-09T15:35:43.774Z] ---> ce3b61e70bcc [2023-11-09T15:35:43.774Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T15:35:43.774Z] ---> Running in 74e086793038 [2023-11-09T15:35:44.043Z] Removing intermediate container 74e086793038 [2023-11-09T15:35:44.043Z] ---> 08f64bf07136 [2023-11-09T15:35:44.043Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T15:35:44.655Z] ---> 66704ada724f [2023-11-09T15:35:44.655Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T15:35:44.655Z] ---> Running in 7850285096ba [2023-11-09T15:37:06.399Z] Removing intermediate container 7850285096ba [2023-11-09T15:37:06.399Z] ---> 9fe0448664ef [2023-11-09T15:37:06.399Z] Step 11/12 : COPY . . [2023-11-09T15:37:06.399Z] ---> 8f281b6721db [2023-11-09T15:37:06.399Z] Step 12/12 : RUN $MAKE [2023-11-09T15:37:06.399Z] ---> Running in 8cb911da8336 [2023-11-09T15:37:06.399Z] noop [2023-11-09T15:37:06.399Z] Removing intermediate container 8cb911da8336 [2023-11-09T15:37:06.399Z] ---> 8b6d3e3a4728 [2023-11-09T15:37:06.399Z] Successfully built 8b6d3e3a4728 [2023-11-09T15:37:06.399Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:37:06.810Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T15:37:06.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:37:07.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-17150 does not seem to be running inside a container [2023-11-09T15:37:07.104Z] $ 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 ******** ci-base-image-arm64 cat [2023-11-09T15:37:08.382Z] $ docker top 40e83f2cc2ed09079a8ab2aa6aec98843045fc1289e4fa8ed6d476259f36b6ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T15:37:09.230Z] + go version [2023-11-09T15:37:09.230Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-09T15:37:09.254Z] $ docker stop --time=1 40e83f2cc2ed09079a8ab2aa6aec98843045fc1289e4fa8ed6d476259f36b6ea [2023-11-09T15:37:10.911Z] $ docker rm -f --volumes 40e83f2cc2ed09079a8ab2aa6aec98843045fc1289e4fa8ed6d476259f36b6ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:37:11.491Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T15:37:11.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:37:11.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-17150 does not seem to be running inside a container [2023-11-09T15:37:11.782Z] $ 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 ******** ci-base-image-arm64 cat [2023-11-09T15:37:13.068Z] $ docker top 0fbcc516e53f84d463b9cf82eec09ec1a482c455b8aad8252a5de636894fc2c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T15:37:13.914Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-09T15:37:14.573Z] + make test [2023-11-09T15:37:14.573Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T15:37:18.865Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T15:39:10.559Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T15:39:10.559Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 33.2% of statements [2023-11-09T15:39:10.559Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-09T15:39:10.559Z] go vet ./... [2023-11-09T15:39:28.797Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T15:39:28.797Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T15:39:28.797Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T15:39:28.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T15:39:28.832Z] $ docker stop --time=1 0fbcc516e53f84d463b9cf82eec09ec1a482c455b8aad8252a5de636894fc2c3 [2023-11-09T15:39:30.688Z] $ docker rm -f --volumes 0fbcc516e53f84d463b9cf82eec09ec1a482c455b8aad8252a5de636894fc2c3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T15:39:31.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T15:39:31.891Z] Warning: overwriting stash ‘coverage-report’ [2023-11-09T15:39:32.340Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T15:39:32.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T15:39:33.061Z] + ls -al . [2023-11-09T15:39:33.061Z] total 176 [2023-11-09T15:39:33.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:37 . [2023-11-09T15:39:33.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:34 .. [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 15:34 .dockerignore [2023-11-09T15:39:33.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:34 .git [2023-11-09T15:39:33.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:34 .github [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 15:34 .gitignore [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:34 .golangci.yml [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 15:34 Attribution.txt [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 9 15:34 CHANGELOG.md [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 15:34 Dockerfile [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:34 GOVERNANCE.md [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 15:34 Jenkinsfile [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:34 LICENSE [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 15:34 Makefile [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:34 OWNERS.md [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 15:34 README.md [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:30 VERSION [2023-11-09T15:39:33.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:34 bin [2023-11-09T15:39:33.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:34 cmd [2023-11-09T15:39:33.061Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 15:39 coverage.out [2023-11-09T15:39:33.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:34 driver [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 15:34 go.mod [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 15:34 go.sum [2023-11-09T15:39:33.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:34 openapi [2023-11-09T15:39:33.061Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 15:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:39:33.409Z] + 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=c43c269c46c6f6905694d96b27b98d02c951e430 --label arch=arm64 --label version=0.0.0 . [2023-11-09T15:39:33.410Z] Sending build context to Docker daemon 142.8kB [2023-11-09T15:39:33.676Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T15:39:33.676Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T15:39:33.676Z] ---> 8b6d3e3a4728 [2023-11-09T15:39:33.676Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T15:39:33.676Z] ---> Running in f627d9c88d06 [2023-11-09T15:39:33.944Z] Removing intermediate container f627d9c88d06 [2023-11-09T15:39:33.944Z] ---> 8f606d95912a [2023-11-09T15:39:33.944Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T15:39:34.218Z] ---> Running in 2ced542e6db8 [2023-11-09T15:39:34.487Z] Removing intermediate container 2ced542e6db8 [2023-11-09T15:39:34.487Z] ---> 83711d0f0eff [2023-11-09T15:39:34.487Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T15:39:34.487Z] ---> Running in 03685c4c784d [2023-11-09T15:39:34.754Z] Removing intermediate container 03685c4c784d [2023-11-09T15:39:34.754Z] ---> 572484f6b776 [2023-11-09T15:39:34.754Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T15:39:35.025Z] ---> Running in b14d03a23df5 [2023-11-09T15:39:35.292Z] Removing intermediate container b14d03a23df5 [2023-11-09T15:39:35.292Z] ---> a91e1f7e9cf9 [2023-11-09T15:39:35.292Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T15:39:35.292Z] ---> Running in de6c9f0e6b71 [2023-11-09T15:39:36.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T15:39:36.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T15:39:38.266Z] OK: 270 MiB in 56 packages [2023-11-09T15:39:38.850Z] Removing intermediate container de6c9f0e6b71 [2023-11-09T15:39:38.850Z] ---> 8f2b521c8bc3 [2023-11-09T15:39:38.850Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T15:39:39.123Z] ---> Running in 0a023add39c3 [2023-11-09T15:39:39.391Z] Removing intermediate container 0a023add39c3 [2023-11-09T15:39:39.391Z] ---> 2d23ab0a993e [2023-11-09T15:39:39.391Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T15:39:39.972Z] ---> 062bd5bc1966 [2023-11-09T15:39:39.972Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T15:39:39.972Z] ---> Running in 6f6911168879 [2023-11-09T15:39:41.935Z] Removing intermediate container 6f6911168879 [2023-11-09T15:39:41.935Z] ---> 6309246a3a26 [2023-11-09T15:39:41.935Z] Step 11/25 : COPY . . [2023-11-09T15:39:42.522Z] ---> 9eba66e45d8b [2023-11-09T15:39:42.522Z] Step 12/25 : RUN $MAKE [2023-11-09T15:39:42.800Z] ---> Running in eb8003a9d854 [2023-11-09T15:39:43.782Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T15:41:50.744Z] Removing intermediate container eb8003a9d854 [2023-11-09T15:41:50.744Z] ---> 97fcb8c3d6fe [2023-11-09T15:41:50.744Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T15:41:50.744Z] 3.18: Pulling from library/alpine [2023-11-09T15:41:50.744Z] 579b34f0a95b: Pulling fs layer [2023-11-09T15:41:50.744Z] 579b34f0a95b: Verifying Checksum [2023-11-09T15:41:50.744Z] 579b34f0a95b: Download complete [2023-11-09T15:41:50.744Z] 579b34f0a95b: Pull complete [2023-11-09T15:41:50.744Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T15:41:50.744Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T15:41:50.744Z] ---> 3cc203321400 [2023-11-09T15:41:50.744Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T15:41:50.744Z] ---> Running in ebe47408bd82 [2023-11-09T15:41:50.744Z] Removing intermediate container ebe47408bd82 [2023-11-09T15:41:50.744Z] ---> dc570526c09a [2023-11-09T15:41:50.744Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T15:41:50.744Z] ---> Running in 1bc21aee1d7e [2023-11-09T15:41:50.744Z] Removing intermediate container 1bc21aee1d7e [2023-11-09T15:41:50.744Z] ---> ada0fd7061dd [2023-11-09T15:41:50.744Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T15:41:50.744Z] ---> Running in f6b741fb0697 [2023-11-09T15:41:50.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T15:41:50.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T15:41:50.744Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T15:41:50.744Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T15:41:50.744Z] OK: 8 MiB in 16 packages [2023-11-09T15:41:50.744Z] Removing intermediate container f6b741fb0697 [2023-11-09T15:41:50.744Z] ---> 4008823d7524 [2023-11-09T15:41:50.744Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T15:41:50.744Z] ---> 0b5187f6a7a4 [2023-11-09T15:41:50.745Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T15:41:51.029Z] ---> bb7ac1b095fb [2023-11-09T15:41:51.029Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T15:41:51.664Z] ---> db437227c8ac [2023-11-09T15:41:51.664Z] Step 20/25 : EXPOSE 59986 [2023-11-09T15:41:51.933Z] ---> Running in 4e4ccc9c03f5 [2023-11-09T15:41:52.207Z] Removing intermediate container 4e4ccc9c03f5 [2023-11-09T15:41:52.208Z] ---> 53e07c99bc70 [2023-11-09T15:41:52.208Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T15:41:52.208Z] ---> Running in 23c600da45dc [2023-11-09T15:41:52.797Z] Removing intermediate container 23c600da45dc [2023-11-09T15:41:52.797Z] ---> 14667cd51a63 [2023-11-09T15:41:52.797Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T15:41:52.797Z] ---> Running in 406e61dd5482 [2023-11-09T15:41:53.065Z] Removing intermediate container 406e61dd5482 [2023-11-09T15:41:53.065Z] ---> 8d549ca3aa98 [2023-11-09T15:41:53.065Z] Step 23/25 : LABEL arch=arm64 [2023-11-09T15:41:53.065Z] ---> Running in 4787261069ad [2023-11-09T15:41:53.660Z] Removing intermediate container 4787261069ad [2023-11-09T15:41:53.660Z] ---> 03d00e286d31 [2023-11-09T15:41:53.660Z] Step 24/25 : LABEL git_sha=c43c269c46c6f6905694d96b27b98d02c951e430 [2023-11-09T15:41:53.660Z] ---> Running in 8bef8c88f9a9 [2023-11-09T15:41:53.936Z] Removing intermediate container 8bef8c88f9a9 [2023-11-09T15:41:53.936Z] ---> a378ef8c440b [2023-11-09T15:41:53.936Z] Step 25/25 : LABEL version=0.0.0 [2023-11-09T15:41:53.936Z] ---> Running in 9e69331f7223 [2023-11-09T15:41:54.528Z] Removing intermediate container 9e69331f7223 [2023-11-09T15:41:54.528Z] ---> 98a580c8457e [2023-11-09T15:41:54.528Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T15:41:54.528Z] Successfully built 98a580c8457e [2023-11-09T15:41:54.528Z] 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-11-09T15:41:54.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T15:41:54.996Z] [2023-11-09T15:41:54.997Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:41:55.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T15:41:55.619Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-09T15:41:55.619Z] 8998bd30e6a1: Pulling fs layer [2023-11-09T15:41:55.619Z] 04944245beec: Pulling fs layer [2023-11-09T15:41:55.619Z] 699f458cf7ca: Pulling fs layer [2023-11-09T15:41:55.619Z] 765212b225bb: Pulling fs layer [2023-11-09T15:41:55.619Z] f23df028b6ca: Pulling fs layer [2023-11-09T15:41:55.619Z] d65c8cfc05b1: Pulling fs layer [2023-11-09T15:41:55.619Z] 2437ff75d9bd: Pulling fs layer [2023-11-09T15:41:55.619Z] f23df028b6ca: Waiting [2023-11-09T15:41:55.619Z] d65c8cfc05b1: Waiting [2023-11-09T15:41:55.619Z] 2437ff75d9bd: Waiting [2023-11-09T15:41:55.619Z] 765212b225bb: Waiting [2023-11-09T15:41:55.619Z] 04944245beec: Verifying Checksum [2023-11-09T15:41:55.619Z] 04944245beec: Download complete [2023-11-09T15:41:55.619Z] 765212b225bb: Verifying Checksum [2023-11-09T15:41:55.619Z] 765212b225bb: Download complete [2023-11-09T15:41:55.619Z] f23df028b6ca: Verifying Checksum [2023-11-09T15:41:55.892Z] f23df028b6ca: Download complete [2023-11-09T15:41:55.892Z] d65c8cfc05b1: Verifying Checksum [2023-11-09T15:41:55.892Z] d65c8cfc05b1: Download complete [2023-11-09T15:41:55.892Z] 699f458cf7ca: Verifying Checksum [2023-11-09T15:41:55.892Z] 699f458cf7ca: Download complete [2023-11-09T15:41:56.479Z] 8998bd30e6a1: Verifying Checksum [2023-11-09T15:41:56.479Z] 8998bd30e6a1: Download complete [2023-11-09T15:41:59.067Z] 2437ff75d9bd: Verifying Checksum [2023-11-09T15:41:59.067Z] 2437ff75d9bd: Download complete [2023-11-09T15:42:03.317Z] 8998bd30e6a1: Pull complete [2023-11-09T15:42:03.902Z] 04944245beec: Pull complete [2023-11-09T15:42:05.324Z] 699f458cf7ca: Pull complete [2023-11-09T15:42:05.592Z] 765212b225bb: Pull complete [2023-11-09T15:42:06.551Z] f23df028b6ca: Pull complete [2023-11-09T15:42:06.820Z] d65c8cfc05b1: Pull complete [2023-11-09T15:42:21.839Z] 2437ff75d9bd: Pull complete [2023-11-09T15:42:21.839Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-09T15:42:21.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T15:42:21.839Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:42:22.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-17150 does not seem to be running inside a container [2023-11-09T15:42:22.089Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-09T15:42:24.868Z] $ docker top 5c4e580ee4c645c683105a036ba656504e37a778d985a258cce6248cc08714b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:25.709Z] ---> job-cost.sh [2023-11-09T15:42:25.709Z] lf-activate-venv: SKIPPING [2023-11-09T15:42:25.709Z] INFO: No Stack... [2023-11-09T15:42:25.975Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-09T15:42:26.930Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T15:42:27.572Z] + cut+ -d, -f6 [2023-11-09T15:42:27.572Z] cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2023-11-09T15:42:27.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [2023-11-09T15:42:27.644Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] did not exist. Created. [2023-11-09T15:42:27.644Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T15:42:28.307Z] /w/workspace/device-rest-go/2@tmp/durable-951ea076/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-09T15:42:28.646Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-09T15:42:28.941Z] Warning: overwriting stash ‘stack-cost’ [2023-11-09T15:42:28.993Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T15:42:29.002Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T15:42:29.028Z] $ docker stop --time=1 5c4e580ee4c645c683105a036ba656504e37a778d985a258cce6248cc08714b6 [2023-11-09T15:42:33.314Z] $ docker rm -f --volumes 5c4e580ee4c645c683105a036ba656504e37a778d985a258cce6248cc08714b6 [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-11-09T15:42:33.715Z] provisioning config files... [2023-11-09T15:42:33.721Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config11969620311407192055tmp [Pipeline] { [Pipeline] sh [2023-11-09T15:42:34.009Z] + set +x [2023-11-09T15:42:34.009Z] + curl -s https://codecov.io/bash [2023-11-09T15:42:34.009Z] + bash -s -- [2023-11-09T15:42:34.009Z] [2023-11-09T15:42:34.009Z] _____ _ [2023-11-09T15:42:34.009Z] / ____| | | [2023-11-09T15:42:34.009Z] | | ___ __| | ___ ___ _____ __ [2023-11-09T15:42:34.009Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-09T15:42:34.009Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-09T15:42:34.009Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-09T15:42:34.009Z] Bash-1.0.6 [2023-11-09T15:42:34.009Z] [2023-11-09T15:42:34.009Z] [2023-11-09T15:42:34.009Z] ==> git version 2.25.1 found [2023-11-09T15:42:34.009Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-09T15:42:34.009Z] Release-Date: 2020-01-08 [2023-11-09T15:42:34.009Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-09T15:42:34.009Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-09T15:42:34.009Z] ==> Jenkins CI detected. [2023-11-09T15:42:34.009Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-366 [2023-11-09T15:42:34.009Z] project root: . [2023-11-09T15:42:34.009Z] --> token set from env [2023-11-09T15:42:34.009Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-09T15:42:34.009Z] ==> Running gcov in . (disable via -X gcov) [2023-11-09T15:42:34.009Z] ==> Python coveragepy not found [2023-11-09T15:42:34.009Z] ==> Searching for coverage reports in: [2023-11-09T15:42:34.009Z] + . [2023-11-09T15:42:34.009Z] -> Found 1 reports [2023-11-09T15:42:34.009Z] ==> Detecting git/mercurial file structure [2023-11-09T15:42:34.009Z] ==> Reading reports [2023-11-09T15:42:34.009Z] + ./coverage.out bytes=14499 [2023-11-09T15:42:34.009Z] ==> Appending adjustments [2023-11-09T15:42:34.009Z] https://docs.codecov.io/docs/fixing-reports [2023-11-09T15:42:34.269Z] + Found adjustments [2023-11-09T15:42:34.270Z] ==> Gzipping contents [2023-11-09T15:42:34.270Z] 4.0K /tmp/codecov.jS70YA.gz [2023-11-09T15:42:34.270Z] ==> Uploading reports [2023-11-09T15:42:34.270Z] url: https://codecov.io [2023-11-09T15:42:34.270Z] query: branch=PR-366&commit=c43c269c46c6f6905694d96b27b98d02c951e430&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-366%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=366&job=&cmd_args= [2023-11-09T15:42:34.270Z] -> Pinging Codecov [2023-11-09T15:42:34.270Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-366&commit=c43c269c46c6f6905694d96b27b98d02c951e430&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-366%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=366&job=&cmd_args= [2023-11-09T15:42:34.270Z] -> Uploading to [2023-11-09T15:42:34.270Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/c43c269c46c6f6905694d96b27b98d02c951e430/e01027b2-8911-43ab-85e1-fc70c80d9818.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T154234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9d0bbfb0a21581e654aa036ba1e935230b9055bddb8260662e91ea307861484 [2023-11-09T15:42:34.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T15:42:34.270Z] Dload Upload Total Spent Left Speed [2023-11-09T15:42:34.530Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10224 --:--:-- --:--:-- --:--:-- 10224 [2023-11-09T15:42:34.530Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] } [2023-11-09T15:42:34.537Z] 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-11-09T15:42:35.336Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-366/archives ] [2023-11-09T15:42:35.336Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-366/archives [2023-11-09T15:42:35.336Z] total 16 [2023-11-09T15:42:35.336Z] drwxr-xr-x 3 root root 4096 Nov 9 15:32 . [2023-11-09T15:42:35.336Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 15:32 .. [2023-11-09T15:42:35.336Z] drwxr-xr-x 2 root root 4096 Nov 9 15:32 cost [2023-11-09T15:42:35.336Z] -rw-r--r-- 1 root root 86 Nov 9 15:32 cost.csv [2023-11-09T15:42:35.336Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-366/archives [2023-11-09T15:42:35.336Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-366/archives [2023-11-09T15:42:35.336Z] total 16 [2023-11-09T15:42:35.336Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:32 . [2023-11-09T15:42:35.336Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 15:32 .. [2023-11-09T15:42:35.336Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 15:32 cost [2023-11-09T15:42:35.336Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 9 15:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:35.630Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:36.486Z] ---> package-listing.sh [2023-11-09T15:42:36.486Z] ++ facter osfamily [2023-11-09T15:42:36.486Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-09T15:42:36.744Z] + OS_FAMILY=debian [2023-11-09T15:42:36.744Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-366 [2023-11-09T15:42:36.744Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-09T15:42:36.745Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-09T15:42:36.745Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-09T15:42:36.745Z] + PACKAGES=/tmp/packages_start.txt [2023-11-09T15:42:36.745Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-366 ']' [2023-11-09T15:42:36.745Z] + PACKAGES=/tmp/packages_end.txt [2023-11-09T15:42:36.745Z] + case "${OS_FAMILY}" in [2023-11-09T15:42:36.745Z] + dpkg -l [2023-11-09T15:42:36.745Z] + grep '^ii' [2023-11-09T15:42:36.745Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-09T15:42:36.745Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-09T15:42:36.745Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-09T15:42:36.745Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-366 ']' [2023-11-09T15:42:36.745Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-366/archives/ [2023-11-09T15:42:36.745Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-366/archives/ [Pipeline] echo [2023-11-09T15:42:36.756Z] 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-09T15:42:37.029Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T15:42:37.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T15:42:37.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T15:42:37.656Z] prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container [2023-11-09T15:42:37.687Z] $ 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-366/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-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T15:42:38.140Z] $ docker top 6202ceb6f533378d609ab119b28564d4f85b02d37336416b0e3b92a8cc0917a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T15:42:38.510Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-09T15:42:38.799Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-09T15:42:39.154Z] + ls /var/log/sa-host [2023-11-09T15:42:39.154Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T15:42:39.240Z] provisioning config files... [2023-11-09T15:42:39.249Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config12103799782743393174tmp [Pipeline] { [Pipeline] echo [2023-11-09T15:42:39.265Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:39.548Z] ---> create-netrc.sh [Pipeline] } [2023-11-09T15:42:39.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:39.885Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-09T15:42:39.895Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:40.181Z] ---> sudo-logs.sh [2023-11-09T15:42:40.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-09T15:42:40.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:40.494Z] ---> job-cost.sh [2023-11-09T15:42:40.494Z] lf-activate-venv: SKIPPING [2023-11-09T15:42:40.494Z] DEBUG: total: 0.2199999988079071 [2023-11-09T15:42:40.494Z] INFO: Retrieving Stack Cost... [2023-11-09T15:42:41.063Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T15:42:41.322Z] INFO: Archiving Costs [Pipeline] echo [2023-11-09T15:42:41.337Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T15:42:41.623Z] ---> logs-deploy.sh [2023-11-09T15:42:41.623Z] lf-activate-venv: SKIPPING [2023-11-09T15:42:41.623Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-366/2 [2023-11-09T15:42:41.623Z] INFO: archiving workspace using pattern(s): [2023-11-09T15:42:42.559Z] Archives upload complete. [2023-11-09T15:42:42.559Z] INFO: archiving logs to Nexus