Pull request #291 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 38612c1158141c024a0c36193ce1288c0f682681+2da8002a0f90c09723ed576a82490c9132775745 (7b700620dc419265b318822f9467adc635ec0931) 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-ssh11210179445615656082.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5513797851954851230.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-291/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-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10531355802169373438.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8113120662790192119.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-291/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-291/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11528786435542511692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8737’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8739 in /w/workspace/gexfoundry_device-rest-go_PR-291 [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-291 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2da8002a0f90c09723ed576a82490c9132775745 into PR head commit 38612c1158141c024a0c36193ce1288c0f682681 Merge succeeded, producing 38612c1158141c024a0c36193ce1288c0f682681 Checking out Revision 38612c1158141c024a0c36193ce1288c0f682681 (PR-291) > 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/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38612c1158141c024a0c36193ce1288c0f682681 # 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 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38612c1158141c024a0c36193ce1288c0f682681 # timeout=10 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T16:50:45.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T16:50:45.818Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T16:50:45.831Z] ========================================================= [2023-04-17T16:50:45.831Z] EdgeX Global Pipelines Version Info [2023-04-17T16:50:45.831Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T16:50:46.512Z] ------------------- [2023-04-17T16:50:46.512Z] stable info: [2023-04-17T16:50:46.512Z] ------------------- [2023-04-17T16:50:46.512Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T16:50:46.512Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T16:50:46.512Z] Message: update stable to v1.0.248 > git rev-list --no-walk 22c70faaf00cd146e1beab04f1d274f2567ac7a8 # timeout=10 [2023-04-17T16:50:47.093Z] ------------------- [2023-04-17T16:50:47.093Z] experimental info: [2023-04-17T16:50:47.093Z] ------------------- [2023-04-17T16:50:47.093Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T16:50:47.093Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T16:50:47.093Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T16:50:47.288Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-17T16:50:47.299Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-17T16:50:47.311Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T16:50:47.324Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T16:50:47.335Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T16:50:47.347Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T16:50:47.359Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T16:50:47.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T16:50:47.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T16:50:47.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T16:50:47.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T16:50:47.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-17T16:50:47.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T16:50:47.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T16:50:47.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T16:50:47.464Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T16:50:47.479Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T16:50:47.489Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T16:50:47.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T16:50:47.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T16:50:47.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T16:50:47.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T16:50:47.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T16:50:47.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T16:50:47.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T16:50:47.600Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T16:50:47.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T16:50:47.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo [2023-04-17T16:50:47.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo [2023-04-17T16:50:47.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo [2023-04-17T16:50:47.661Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38612c1158141c024a0c36193ce1288c0f682681 [Pipeline] echo [2023-04-17T16:50:47.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38612c1 [Pipeline] echo [2023-04-17T16:50:47.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T16:50:47.718Z] provisioning config files... [2023-04-17T16:50:47.731Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config19544067326808157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T16:50:48.025Z] ---> docker-login.sh [2023-04-17T16:50:48.025Z] nexus3.edgexfoundry.org:10001 [2023-04-17T16:50:48.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:50:48.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:50:48.285Z] Configure a credential helper to remove this warning. See [2023-04-17T16:50:48.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:50:48.285Z] [2023-04-17T16:50:48.285Z] Login Succeeded [2023-04-17T16:50:48.285Z] nexus3.edgexfoundry.org:10002 [2023-04-17T16:50:48.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:50:48.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:50:48.285Z] Configure a credential helper to remove this warning. See [2023-04-17T16:50:48.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:50:48.285Z] [2023-04-17T16:50:48.285Z] Login Succeeded [2023-04-17T16:50:48.285Z] nexus3.edgexfoundry.org:10003 [2023-04-17T16:50:48.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:50:48.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:50:48.547Z] Configure a credential helper to remove this warning. See [2023-04-17T16:50:48.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:50:48.547Z] [2023-04-17T16:50:48.547Z] Login Succeeded [2023-04-17T16:50:48.547Z] nexus3.edgexfoundry.org:10004 [2023-04-17T16:50:48.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:50:48.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:50:48.547Z] Configure a credential helper to remove this warning. See [2023-04-17T16:50:48.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:50:48.547Z] [2023-04-17T16:50:48.547Z] Login Succeeded [2023-04-17T16:50:48.547Z] docker.io [2023-04-17T16:50:48.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:50:48.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:50:48.807Z] Configure a credential helper to remove this warning. See [2023-04-17T16:50:48.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:50:48.807Z] [2023-04-17T16:50:48.807Z] Login Succeeded [2023-04-17T16:50:48.807Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T16:50:48.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T16:50:49.190Z] + git rev-list -1 --merges 38612c1158141c024a0c36193ce1288c0f682681~1..38612c1158141c024a0c36193ce1288c0f682681 [Pipeline] echo [2023-04-17T16:50:49.252Z] -----------> git rev-list -1 --merges 38612c1158141c024a0c36193ce1288c0f682681~1..38612c1158141c024a0c36193ce1288c0f682681 38612c1158141c024a0c36193ce1288c0f682681 [false] [Pipeline] sh [2023-04-17T16:50:49.544Z] + git log --format=format:%s -1 38612c1158141c024a0c36193ce1288c0f682681 [Pipeline] echo [2023-04-17T16:50:49.559Z] ========================================================= [2023-04-17T16:50:49.559Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T16:50:49.559Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T16:50:49.877Z] + git log --format=format:%s -1 38612c1158141c024a0c36193ce1288c0f682681 [Pipeline] echo [2023-04-17T16:50:49.887Z] [semverPrep] GIT_COMMIT: 38612c1158141c024a0c36193ce1288c0f682681, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config [Pipeline] echo [2023-04-17T16:50:49.896Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T16:50:50.233Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T16:50:50.233Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T16:50:50.233Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T16:50:50.233Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T16:50:50.233Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T16:50:50.233Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T16:50:50.233Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:50:50.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T16:50:50.613Z] [2023-04-17T16:50:50.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:50:50.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T16:50:50.920Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T16:50:50.920Z] b85a868b505f: Pulling fs layer [2023-04-17T16:50:50.920Z] e2be974225ed: Pulling fs layer [2023-04-17T16:50:50.920Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T16:50:50.920Z] 988bab9f4d93: Pulling fs layer [2023-04-17T16:50:50.920Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T16:50:50.920Z] eaf3925da568: Pulling fs layer [2023-04-17T16:50:50.920Z] 988bab9f4d93: Waiting [2023-04-17T16:50:50.920Z] bab4dde63d76: Pulling fs layer [2023-04-17T16:50:50.920Z] bde34c3a00c8: Pulling fs layer [2023-04-17T16:50:50.920Z] b352a97aabf1: Pulling fs layer [2023-04-17T16:50:50.920Z] eaf3925da568: Waiting [2023-04-17T16:50:50.920Z] bab4dde63d76: Waiting [2023-04-17T16:50:50.920Z] bde34c3a00c8: Waiting [2023-04-17T16:50:50.920Z] 4872d77fe225: Pulling fs layer [2023-04-17T16:50:50.920Z] 5851b861e8e6: Pulling fs layer [2023-04-17T16:50:50.920Z] b352a97aabf1: Waiting [2023-04-17T16:50:50.920Z] 5851b861e8e6: Waiting [2023-04-17T16:50:50.920Z] 4872d77fe225: Waiting [2023-04-17T16:50:50.920Z] e2be974225ed: Verifying Checksum [2023-04-17T16:50:50.920Z] e2be974225ed: Download complete [2023-04-17T16:50:50.920Z] 988bab9f4d93: Verifying Checksum [2023-04-17T16:50:50.920Z] 988bab9f4d93: Download complete [2023-04-17T16:50:50.920Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T16:50:50.920Z] 1469e6f7b9e6: Download complete [2023-04-17T16:50:50.920Z] 339a4e72a1f5: Download complete [2023-04-17T16:50:51.178Z] eaf3925da568: Verifying Checksum [2023-04-17T16:50:51.178Z] eaf3925da568: Download complete [2023-04-17T16:50:51.178Z] bde34c3a00c8: Download complete [2023-04-17T16:50:51.178Z] b352a97aabf1: Verifying Checksum [2023-04-17T16:50:51.178Z] b352a97aabf1: Download complete [2023-04-17T16:50:51.178Z] 4872d77fe225: Download complete [2023-04-17T16:50:51.178Z] 5851b861e8e6: Verifying Checksum [2023-04-17T16:50:51.178Z] 5851b861e8e6: Download complete [2023-04-17T16:50:51.178Z] b85a868b505f: Verifying Checksum [2023-04-17T16:50:51.178Z] b85a868b505f: Download complete [2023-04-17T16:50:51.437Z] bab4dde63d76: Verifying Checksum [2023-04-17T16:50:51.437Z] bab4dde63d76: Download complete [2023-04-17T16:50:52.372Z] b85a868b505f: Pull complete [2023-04-17T16:50:52.372Z] e2be974225ed: Pull complete [2023-04-17T16:50:52.940Z] 339a4e72a1f5: Pull complete [2023-04-17T16:50:52.940Z] 988bab9f4d93: Pull complete [2023-04-17T16:50:53.198Z] 1469e6f7b9e6: Pull complete [2023-04-17T16:50:53.198Z] eaf3925da568: Pull complete [2023-04-17T16:50:55.104Z] bab4dde63d76: Pull complete [2023-04-17T16:50:55.104Z] bde34c3a00c8: Pull complete [2023-04-17T16:50:55.104Z] b352a97aabf1: Pull complete [2023-04-17T16:50:55.104Z] 4872d77fe225: Pull complete [2023-04-17T16:50:55.104Z] 5851b861e8e6: Pull complete [2023-04-17T16:50:55.104Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T16:50:55.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T16:50:55.104Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T16:50:55.200Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2023-04-17T16:50:55.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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-04-17T16:50:57.856Z] $ docker top dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b -eo pid,comm [2023-04-17T16:50:57.909Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-17T16:50:57.909Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T16:50:57.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T16:50:57.946Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T16:50:58.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T16:50:58.062Z] $ docker exec dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b ssh-agent [2023-04-17T16:50:58.187Z] SSH_AUTH_SOCK=/tmp/ssh-TkDjjYBAEb68/agent.32 [2023-04-17T16:50:58.187Z] SSH_AGENT_PID=38 [2023-04-17T16:50:58.193Z] Running ssh-add (command line suppressed) [2023-04-17T16:50:58.296Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_13216767196076433047.key (/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_13216767196076433047.key) [2023-04-17T16:50:58.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T16:50:58.590Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T16:50:58.608Z] $ docker exec --env ******** --env ******** dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b ssh-agent -k [2023-04-17T16:50:58.721Z] unset SSH_AUTH_SOCK; [2023-04-17T16:50:58.722Z] unset SSH_AGENT_PID; [2023-04-17T16:50:58.722Z] echo Agent pid 38 killed; [2023-04-17T16:50:58.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T16:50:58.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T16:50:58.751Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T16:50:58.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T16:50:58.887Z] $ docker exec dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b ssh-agent [2023-04-17T16:50:58.979Z] SSH_AUTH_SOCK=/tmp/ssh-M03agghBrAEA/agent.70 [2023-04-17T16:50:58.979Z] SSH_AGENT_PID=76 [2023-04-17T16:50:58.984Z] Running ssh-add (command line suppressed) [2023-04-17T16:50:59.086Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_6617370920756338768.key (/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/private_key_6617370920756338768.key) [2023-04-17T16:50:59.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T16:50:59.379Z] + git semver init [2023-04-17T16:50:59.639Z] 2023-04-17 16:50:59,559 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T16:50:59.640Z] 2023-04-17 16:50:59,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-291/.semver [2023-04-17T16:50:59.640Z] 2023-04-17 16:50:59,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-291/.semver [2023-04-17T16:50:59.640Z] 2023-04-17 16:50:59,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-291/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-291, universal_newlines=False, shell=None, istream=None) [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,604 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-291/.git/info/exclude [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-291/.semver/PR-291 with force:False [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,605 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-291/.semver/PR-291 [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,609 [execute] INFO git cat-file --batch-check [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-291/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,616 [execute] INFO git cat-file --batch [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-291/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T16:51:01.018Z] 2023-04-17 16:51:00,621 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-291/.semver/PR-291 [2023-04-17T16:51:01.018Z] 0.0.0 [Pipeline] } [2023-04-17T16:51:01.031Z] $ docker exec --env ******** --env ******** dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b ssh-agent -k [2023-04-17T16:51:01.126Z] unset SSH_AUTH_SOCK; [2023-04-17T16:51:01.126Z] unset SSH_AGENT_PID; [2023-04-17T16:51:01.126Z] echo Agent pid 76 killed; [2023-04-17T16:51:01.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T16:51:01.434Z] + git semver [Pipeline] } [2023-04-17T16:51:01.710Z] $ docker stop --time=1 dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b [2023-04-17T16:51:03.002Z] $ docker rm -f --volumes dbbf1a36de979893b55761446c8936f57b982b6c654782d7982fc5e9181ef96b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T16:51:03.339Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T16:51:03.539Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T16:51:03.543Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T16:51:03.685Z] provisioning config files... [2023-04-17T16:51:03.693Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config3619585762897405771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T16:51:03.991Z] ---> docker-login.sh [2023-04-17T16:51:03.992Z] nexus3.edgexfoundry.org:10001 [2023-04-17T16:51:03.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:51:03.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:51:03.992Z] Configure a credential helper to remove this warning. See [2023-04-17T16:51:03.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:51:03.992Z] [2023-04-17T16:51:03.992Z] Login Succeeded [2023-04-17T16:51:03.992Z] nexus3.edgexfoundry.org:10002 [2023-04-17T16:51:03.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:51:03.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:51:03.992Z] Configure a credential helper to remove this warning. See [2023-04-17T16:51:03.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:51:03.992Z] [2023-04-17T16:51:03.992Z] Login Succeeded [2023-04-17T16:51:03.992Z] nexus3.edgexfoundry.org:10003 [2023-04-17T16:51:04.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:51:04.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:51:04.252Z] Configure a credential helper to remove this warning. See [2023-04-17T16:51:04.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:51:04.252Z] [2023-04-17T16:51:04.252Z] Login Succeeded [2023-04-17T16:51:04.252Z] nexus3.edgexfoundry.org:10004 [2023-04-17T16:51:04.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:51:04.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:51:04.252Z] Configure a credential helper to remove this warning. See [2023-04-17T16:51:04.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:51:04.252Z] [2023-04-17T16:51:04.252Z] Login Succeeded [2023-04-17T16:51:04.252Z] docker.io [2023-04-17T16:51:04.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:51:04.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:51:04.511Z] Configure a credential helper to remove this warning. See [2023-04-17T16:51:04.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:51:04.511Z] [2023-04-17T16:51:04.511Z] Login Succeeded [2023-04-17T16:51:04.511Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T16:51:04.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T16:51:04.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T16:51:04.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T16:51:04.593Z] ========================================================= [2023-04-17T16:51:04.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T16:51:04.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:51:04.901Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T16:51:04.901Z] Sending build context to Docker daemon 10.89MB [2023-04-17T16:51:04.901Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T16:51:04.901Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T16:51:04.901Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T16:51:04.901Z] 63b65145d645: Pulling fs layer [2023-04-17T16:51:04.901Z] a2d21d5440eb: Pulling fs layer [2023-04-17T16:51:04.901Z] 935e6c44a52c: Pulling fs layer [2023-04-17T16:51:04.901Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T16:51:04.901Z] 30dea6a524f1: Pulling fs layer [2023-04-17T16:51:04.901Z] a2aff8979fd8: Pulling fs layer [2023-04-17T16:51:04.901Z] 6808be2612f2: Pulling fs layer [2023-04-17T16:51:04.901Z] f25807f1079a: Pulling fs layer [2023-04-17T16:51:04.901Z] 6808be2612f2: Waiting [2023-04-17T16:51:04.901Z] a2aff8979fd8: Waiting [2023-04-17T16:51:04.901Z] 94cc34f8dd06: Waiting [2023-04-17T16:51:04.901Z] 30dea6a524f1: Waiting [2023-04-17T16:51:04.901Z] f25807f1079a: Waiting [2023-04-17T16:51:04.901Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T16:51:04.901Z] 94cc34f8dd06: Download complete [2023-04-17T16:51:05.160Z] 30dea6a524f1: Verifying Checksum [2023-04-17T16:51:05.160Z] 30dea6a524f1: Download complete [2023-04-17T16:51:05.160Z] 63b65145d645: Verifying Checksum [2023-04-17T16:51:05.160Z] 63b65145d645: Download complete [2023-04-17T16:51:05.160Z] a2aff8979fd8: Verifying Checksum [2023-04-17T16:51:05.160Z] a2aff8979fd8: Download complete [2023-04-17T16:51:05.160Z] 63b65145d645: Pull complete [2023-04-17T16:51:05.419Z] a2d21d5440eb: Pull complete [2023-04-17T16:51:05.419Z] f25807f1079a: Verifying Checksum [2023-04-17T16:51:05.419Z] f25807f1079a: Download complete [2023-04-17T16:51:05.678Z] 935e6c44a52c: Verifying Checksum [2023-04-17T16:51:05.678Z] 935e6c44a52c: Download complete [2023-04-17T16:51:05.936Z] 6808be2612f2: Verifying Checksum [2023-04-17T16:51:05.936Z] 6808be2612f2: Download complete [2023-04-17T16:51:09.214Z] 935e6c44a52c: Pull complete [2023-04-17T16:51:09.214Z] 94cc34f8dd06: Pull complete [2023-04-17T16:51:09.214Z] 30dea6a524f1: Pull complete [2023-04-17T16:51:09.214Z] a2aff8979fd8: Pull complete [2023-04-17T16:51:11.113Z] 6808be2612f2: Pull complete [2023-04-17T16:51:12.048Z] f25807f1079a: Pull complete [2023-04-17T16:51:12.048Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T16:51:12.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T16:51:12.048Z] ---> 3b553350e43f [2023-04-17T16:51:12.048Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T16:51:16.241Z] ---> Running in 7ff063776718 [2023-04-17T16:51:16.241Z] Removing intermediate container 7ff063776718 [2023-04-17T16:51:16.241Z] ---> 63a4b9fc306e [2023-04-17T16:51:16.241Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T16:51:16.241Z] ---> Running in 48b6677bb9d6 [2023-04-17T16:51:16.241Z] Removing intermediate container 48b6677bb9d6 [2023-04-17T16:51:16.241Z] ---> cab51aa76152 [2023-04-17T16:51:16.241Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T16:51:16.241Z] ---> Running in 9eed65eb3eb5 [2023-04-17T16:51:16.241Z] Removing intermediate container 9eed65eb3eb5 [2023-04-17T16:51:16.241Z] ---> 1ba7dbfc1708 [2023-04-17T16:51:16.241Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T16:51:16.241Z] ---> Running in 1c681f147c5e [2023-04-17T16:51:16.241Z] Removing intermediate container 1c681f147c5e [2023-04-17T16:51:16.241Z] ---> a5aaa0cfb815 [2023-04-17T16:51:16.241Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T16:51:16.241Z] ---> Running in e997a58dc025 [2023-04-17T16:51:16.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T16:51:16.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T16:51:16.760Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T16:51:16.760Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T16:51:16.760Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T16:51:16.760Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T16:51:16.760Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T16:51:16.760Z] OK: 269 MiB in 57 packages [2023-04-17T16:51:17.330Z] Removing intermediate container e997a58dc025 [2023-04-17T16:51:17.330Z] ---> 6d5e86114595 [2023-04-17T16:51:17.330Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-17T16:51:17.330Z] ---> Running in a1895b05ab2f [2023-04-17T16:51:17.330Z] Removing intermediate container a1895b05ab2f [2023-04-17T16:51:17.330Z] ---> 33e5d7fdbec3 [2023-04-17T16:51:17.330Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T16:51:17.330Z] ---> 32481eb1c684 [2023-04-17T16:51:17.330Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T16:51:17.590Z] ---> Running in ff4befd25c63 [2023-04-17T16:51:18.655Z] Still waiting to schedule task [2023-04-17T16:51:18.656Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8738’ is offline [2023-04-17T16:51:44.131Z] Removing intermediate container ff4befd25c63 [2023-04-17T16:51:44.131Z] ---> f00d71462f53 [2023-04-17T16:51:44.131Z] Step 11/12 : COPY . . [2023-04-17T16:51:44.131Z] ---> 8c2801681360 [2023-04-17T16:51:44.131Z] Step 12/12 : RUN $MAKE [2023-04-17T16:51:44.131Z] ---> Running in e72aeff201ca [2023-04-17T16:51:44.131Z] noop [2023-04-17T16:51:44.131Z] Removing intermediate container e72aeff201ca [2023-04-17T16:51:44.131Z] ---> fe20025d0b75 [2023-04-17T16:51:44.131Z] Successfully built fe20025d0b75 [2023-04-17T16:51:44.131Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:51:44.436Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T16:51:44.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T16:51:44.499Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2023-04-17T16:51:44.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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-04-17T16:51:44.844Z] $ docker top 9da49f5d08def268c82b7abafdae0a9096e4dcc292188ba814b799cfb24d86b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T16:51:45.170Z] + go version [2023-04-17T16:51:45.170Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T16:51:45.186Z] $ docker stop --time=1 9da49f5d08def268c82b7abafdae0a9096e4dcc292188ba814b799cfb24d86b7 [2023-04-17T16:51:46.431Z] $ docker rm -f --volumes 9da49f5d08def268c82b7abafdae0a9096e4dcc292188ba814b799cfb24d86b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:51:46.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T16:51:46.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T16:51:46.904Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2023-04-17T16:51:46.939Z] $ 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-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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-04-17T16:51:47.254Z] $ docker top e511f5580db46eeb59754331fb4d8c45a351ee599a3afd5f29018362160ae69d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T16:51:47.589Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-291 [Pipeline] fileExists [Pipeline] sh [2023-04-17T16:51:47.890Z] + make test [2023-04-17T16:51:47.890Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T16:51:52.073Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-17T16:52:02.038Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-17T16:52:02.038Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.3% of statements [2023-04-17T16:52:06.224Z] go vet ./... [2023-04-17T16:52:09.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T16:52:09.513Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T16:52:09.513Z] ./bin/test-attribution-txt.sh [2023-04-17T16:52:09.513Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T16:52:09.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T16:52:09.539Z] $ docker stop --time=1 e511f5580db46eeb59754331fb4d8c45a351ee599a3afd5f29018362160ae69d [2023-04-17T16:52:12.755Z] $ docker rm -f --volumes e511f5580db46eeb59754331fb4d8c45a351ee599a3afd5f29018362160ae69d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T16:52:13.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T16:52:13.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T16:52:13.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T16:52:13.972Z] + ls -al . [2023-04-17T16:52:13.972Z] total 184 [2023-04-17T16:52:13.972Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 16:51 . [2023-04-17T16:52:13.972Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:50 .. [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 16:50 .dockerignore [2023-04-17T16:52:13.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:51 .git [2023-04-17T16:52:13.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:50 .github [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 16:50 .gitignore [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 16:50 .golangci.yml [2023-04-17T16:52:13.972Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 16:51 .semver [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 16:50 Attribution.txt [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 16:50 CHANGELOG.md [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 16:50 Dockerfile [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 16:50 GOVERNANCE.md [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 16:50 Jenkinsfile [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 16:50 LICENSE [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 16:50 Makefile [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 16:50 OWNERS.md [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 16:50 README.md [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 16:51 VERSION [2023-04-17T16:52:13.972Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:50 bin [2023-04-17T16:52:13.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:50 cmd [2023-04-17T16:52:13.972Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 16:52 coverage.out [2023-04-17T16:52:13.972Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:50 driver [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 16:50 go.mod [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 16:50 go.sum [2023-04-17T16:52:13.972Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:50 snap [2023-04-17T16:52:13.972Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 16:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:52:14.280Z] + 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=38612c1158141c024a0c36193ce1288c0f682681 --label arch=amd64 --label version=0.0.0 . [2023-04-17T16:52:14.281Z] Sending build context to Docker daemon 10.9MB [2023-04-17T16:52:14.281Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T16:52:14.281Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-17T16:52:14.281Z] ---> fe20025d0b75 [2023-04-17T16:52:14.281Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-17T16:52:14.552Z] ---> Running in 56d8cdf39f5c [2023-04-17T16:52:14.552Z] Removing intermediate container 56d8cdf39f5c [2023-04-17T16:52:14.552Z] ---> 5bc033aecec8 [2023-04-17T16:52:14.552Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T16:52:14.552Z] ---> Running in ff0505920c94 [2023-04-17T16:52:14.552Z] Removing intermediate container ff0505920c94 [2023-04-17T16:52:14.552Z] ---> af8dd479df6c [2023-04-17T16:52:14.552Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T16:52:14.552Z] ---> Running in 0e3dc5e427e3 [2023-04-17T16:52:14.811Z] Removing intermediate container 0e3dc5e427e3 [2023-04-17T16:52:14.811Z] ---> 1986a21fce88 [2023-04-17T16:52:14.811Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T16:52:14.811Z] ---> Running in 94228a8ebe21 [2023-04-17T16:52:14.811Z] Removing intermediate container 94228a8ebe21 [2023-04-17T16:52:14.811Z] ---> 51e7e2c52a43 [2023-04-17T16:52:14.811Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T16:52:14.811Z] ---> Running in b4726f4a5b42 [2023-04-17T16:52:15.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T16:52:15.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T16:52:15.327Z] OK: 269 MiB in 57 packages [2023-04-17T16:52:15.893Z] Removing intermediate container b4726f4a5b42 [2023-04-17T16:52:15.893Z] ---> 47244950e2f6 [2023-04-17T16:52:15.893Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-17T16:52:15.893Z] ---> Running in ba05c75e8272 [2023-04-17T16:52:15.893Z] Removing intermediate container ba05c75e8272 [2023-04-17T16:52:15.893Z] ---> 8958ed64672e [2023-04-17T16:52:15.893Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-17T16:52:15.893Z] ---> b50b4b9584b8 [2023-04-17T16:52:15.893Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T16:52:15.893Z] ---> Running in 0e627145b110 [2023-04-17T16:52:16.961Z] Removing intermediate container 0e627145b110 [2023-04-17T16:52:16.961Z] ---> 7bf821b57820 [2023-04-17T16:52:16.961Z] Step 11/25 : COPY . . [2023-04-17T16:52:17.221Z] ---> d31982733915 [2023-04-17T16:52:17.221Z] Step 12/25 : RUN $MAKE [2023-04-17T16:52:17.221Z] ---> Running in ba0e2ddb6a46 [2023-04-17T16:52:17.478Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-17T16:52:35.555Z] Removing intermediate container ba0e2ddb6a46 [2023-04-17T16:52:35.555Z] ---> a7f6798b9113 [2023-04-17T16:52:35.555Z] Step 13/25 : FROM alpine:3.17 [2023-04-17T16:52:35.555Z] 3.17: Pulling from library/alpine [2023-04-17T16:52:35.555Z] f56be85fc22e: Pulling fs layer [2023-04-17T16:52:35.555Z] f56be85fc22e: Verifying Checksum [2023-04-17T16:52:35.555Z] f56be85fc22e: Pull complete [2023-04-17T16:52:35.555Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T16:52:35.555Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T16:52:35.555Z] ---> 9ed4aefc74f6 [2023-04-17T16:52:35.555Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-17T16:52:35.555Z] ---> Running in f12d3c23c420 [2023-04-17T16:52:35.813Z] Removing intermediate container f12d3c23c420 [2023-04-17T16:52:35.813Z] ---> bf8e1b6b6f4b [2023-04-17T16:52:35.813Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-17T16:52:35.814Z] ---> Running in 6b3c420dca30 [2023-04-17T16:52:35.814Z] Removing intermediate container 6b3c420dca30 [2023-04-17T16:52:35.814Z] ---> ddba31538142 [2023-04-17T16:52:35.814Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-17T16:52:35.814Z] ---> Running in cea2ee936750 [2023-04-17T16:52:36.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T16:52:36.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T16:52:36.332Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T16:52:36.332Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T16:52:36.592Z] OK: 7 MiB in 16 packages [2023-04-17T16:52:36.850Z] Removing intermediate container cea2ee936750 [2023-04-17T16:52:36.850Z] ---> 1a1458c15da9 [2023-04-17T16:52:36.850Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-17T16:52:37.415Z] ---> 5c20ecdf851f [2023-04-17T16:52:37.415Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-17T16:52:37.415Z] ---> b1da28e3b709 [2023-04-17T16:52:37.415Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-17T16:52:37.672Z] ---> 28b90f1968f0 [2023-04-17T16:52:37.672Z] Step 20/25 : EXPOSE 59986 [2023-04-17T16:52:37.672Z] ---> Running in 26914b1154a2 [2023-04-17T16:52:37.672Z] Removing intermediate container 26914b1154a2 [2023-04-17T16:52:37.672Z] ---> 545af82bb065 [2023-04-17T16:52:37.672Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-17T16:52:37.672Z] ---> Running in 3eb3fdd667b7 [2023-04-17T16:52:37.930Z] Removing intermediate container 3eb3fdd667b7 [2023-04-17T16:52:37.930Z] ---> e586e79544ea [2023-04-17T16:52:37.930Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T16:52:37.930Z] ---> Running in 5e384709165e [2023-04-17T16:52:37.930Z] Removing intermediate container 5e384709165e [2023-04-17T16:52:37.930Z] ---> 2ff98695adc9 [2023-04-17T16:52:37.930Z] Step 23/25 : LABEL arch=amd64 [2023-04-17T16:52:37.930Z] ---> Running in ee95cdaf0044 [2023-04-17T16:52:37.930Z] Removing intermediate container ee95cdaf0044 [2023-04-17T16:52:37.930Z] ---> 0c0c376b79ba [2023-04-17T16:52:37.930Z] Step 24/25 : LABEL git_sha=38612c1158141c024a0c36193ce1288c0f682681 [2023-04-17T16:52:37.930Z] ---> Running in 6561244ae5b6 [2023-04-17T16:52:38.190Z] Removing intermediate container 6561244ae5b6 [2023-04-17T16:52:38.190Z] ---> fe045c813e28 [2023-04-17T16:52:38.190Z] Step 25/25 : LABEL version=0.0.0 [2023-04-17T16:52:38.190Z] ---> Running in 09341df8de04 [2023-04-17T16:52:38.453Z] Removing intermediate container 09341df8de04 [2023-04-17T16:52:38.453Z] ---> 56b672185eff [2023-04-17T16:52:38.453Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T16:52:38.453Z] Successfully built 56b672185eff [2023-04-17T16:52:38.453Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:52:38.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T16:52:38.884Z] [2023-04-17T16:52:38.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:52:39.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T16:52:39.183Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T16:52:39.183Z] 5eb5b503b376: Pulling fs layer [2023-04-17T16:52:39.183Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T16:52:39.183Z] ec43610c2a17: Pulling fs layer [2023-04-17T16:52:39.183Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T16:52:39.183Z] 33b1e0a273af: Pulling fs layer [2023-04-17T16:52:39.183Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T16:52:39.183Z] 2f39f015ded8: Pulling fs layer [2023-04-17T16:52:39.183Z] 5d3b04190fa2: Waiting [2023-04-17T16:52:39.183Z] 33b1e0a273af: Waiting [2023-04-17T16:52:39.183Z] 2f39f015ded8: Waiting [2023-04-17T16:52:39.183Z] 3a2ae6a8a46f: Waiting [2023-04-17T16:52:39.183Z] 5c69ac0246d0: Download complete [2023-04-17T16:52:39.183Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T16:52:39.183Z] 3a2ae6a8a46f: Download complete [2023-04-17T16:52:39.441Z] ec43610c2a17: Verifying Checksum [2023-04-17T16:52:39.441Z] ec43610c2a17: Download complete [2023-04-17T16:52:39.441Z] 33b1e0a273af: Verifying Checksum [2023-04-17T16:52:39.441Z] 33b1e0a273af: Download complete [2023-04-17T16:52:39.441Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T16:52:39.441Z] 5d3b04190fa2: Download complete [2023-04-17T16:52:39.441Z] 5eb5b503b376: Verifying Checksum [2023-04-17T16:52:39.441Z] 5eb5b503b376: Download complete [2023-04-17T16:52:40.004Z] 2f39f015ded8: Download complete [2023-04-17T16:52:40.570Z] 5eb5b503b376: Pull complete [2023-04-17T16:52:40.829Z] 5c69ac0246d0: Pull complete [2023-04-17T16:52:41.394Z] ec43610c2a17: Pull complete [2023-04-17T16:52:41.651Z] 3a2ae6a8a46f: Pull complete [2023-04-17T16:52:41.911Z] 33b1e0a273af: Pull complete [2023-04-17T16:52:42.171Z] 5d3b04190fa2: Pull complete [2023-04-17T16:52:46.350Z] 2f39f015ded8: Pull complete [2023-04-17T16:52:46.350Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T16:52:46.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T16:52:46.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T16:52:46.432Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2023-04-17T16:52:46.465Z] $ 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-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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-04-17T16:52:49.646Z] $ docker top b7e3947966e9415e1e3ab15f925611390e8ad775f5469ccf0dc26e755ef8e956 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T16:52:50.027Z] ---> job-cost.sh [2023-04-17T16:52:50.027Z] lf-activate-venv: SKIPPING [2023-04-17T16:52:50.027Z] INFO: No Stack... [2023-04-17T16:52:50.284Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T16:52:50.542Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T16:52:50.831Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-291/archives/cost.csv [2023-04-17T16:52:50.832Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T16:52:50.845Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] [2023-04-17T16:52:50.853Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] did not exist. Created. [2023-04-17T16:52:50.853Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T16:52:51.157Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T16:52:51.178Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T16:52:51.185Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T16:52:51.205Z] $ docker stop --time=1 b7e3947966e9415e1e3ab15f925611390e8ad775f5469ccf0dc26e755ef8e956 [2023-04-17T16:52:52.342Z] $ docker rm -f --volumes b7e3947966e9415e1e3ab15f925611390e8ad775f5469ccf0dc26e755ef8e956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T16:52:54.138Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8740 in /w/workspace/gexfoundry_device-rest-go_PR-291 [Pipeline] { [Pipeline] ws [2023-04-17T16:52:54.152Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-04-17T16:52:54.186Z] The recommended git tool is: git [2023-04-17T16:52:59.834Z] using credential edgex-jenkins-ssh [2023-04-17T16:52:59.852Z] Cloning the remote Git repository [2023-04-17T16:52:59.902Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T16:52:59.997Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-04-17T16:53:00.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T16:53:00.159Z] > git --version # timeout=10 [2023-04-17T16:53:00.193Z] > git --version # 'git version 2.25.1' [2023-04-17T16:53:00.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T16:53:00.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T16:53:02.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-17T16:53:02.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T16:53:04.324Z] Merging remotes/origin/main commit 2da8002a0f90c09723ed576a82490c9132775745 into PR head commit 38612c1158141c024a0c36193ce1288c0f682681 [2023-04-17T16:53:03.644Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-17T16:53:03.690Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T16:53:03.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T16:53:03.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T16:53:04.348Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T16:53:04.601Z] Merge succeeded, producing 38612c1158141c024a0c36193ce1288c0f682681 [2023-04-17T16:53:04.601Z] Checking out Revision 38612c1158141c024a0c36193ce1288c0f682681 (PR-291) [2023-04-17T16:53:04.427Z] > git checkout -f 38612c1158141c024a0c36193ce1288c0f682681 # timeout=10 [2023-04-17T16:53:04.506Z] > git remote # timeout=10 [2023-04-17T16:53:04.525Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T16:53:04.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T16:53:04.559Z] > git merge 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 [2023-04-17T16:53:04.586Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T16:53:04.611Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T16:53:04.627Z] > git checkout -f 38612c1158141c024a0c36193ce1288c0f682681 # timeout=10 [2023-04-17T16:53:08.141Z] Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T16:53:09.068Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T16:53:09.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T16:53:09.068Z] Dload Upload Total Spent Left Speed [2023-04-17T16:53:09.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-04-17T16:53:09.830Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T16:53:10.164Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-04-17T16:53:10.164Z] sudo tee /etc/docker/daemon.new [2023-04-17T16:53:10.164Z] { [2023-04-17T16:53:10.164Z] "registry-mirrors": [ [2023-04-17T16:53:10.164Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T16:53:10.164Z] ], [2023-04-17T16:53:10.164Z] "bip": "10.250.0.254/24", [2023-04-17T16:53:10.164Z] "hosts": [ [2023-04-17T16:53:10.164Z] "tcp://0.0.0.0:5555", [2023-04-17T16:53:10.164Z] "unix:///var/run/docker.sock" [2023-04-17T16:53:10.164Z] ], [2023-04-17T16:53:10.164Z] "mtu": 1458, [2023-04-17T16:53:10.164Z] "selinux-enabled": true, [2023-04-17T16:53:10.164Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T16:53:10.164Z] } [Pipeline] sh [2023-04-17T16:53:10.491Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T16:53:10.825Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T16:53:29.104Z] provisioning config files... [2023-04-17T16:53:29.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7269088155022530295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T16:53:29.514Z] ---> docker-login.sh [2023-04-17T16:53:29.514Z] nexus3.edgexfoundry.org:10001 [2023-04-17T16:53:30.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:53:30.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:53:30.101Z] Configure a credential helper to remove this warning. See [2023-04-17T16:53:30.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:53:30.101Z] [2023-04-17T16:53:30.101Z] Login Succeeded [2023-04-17T16:53:30.101Z] nexus3.edgexfoundry.org:10002 [2023-04-17T16:53:30.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:53:30.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:53:30.374Z] Configure a credential helper to remove this warning. See [2023-04-17T16:53:30.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:53:30.374Z] [2023-04-17T16:53:30.374Z] Login Succeeded [2023-04-17T16:53:30.374Z] nexus3.edgexfoundry.org:10003 [2023-04-17T16:53:30.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:53:30.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:53:30.922Z] Configure a credential helper to remove this warning. See [2023-04-17T16:53:30.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:53:30.922Z] [2023-04-17T16:53:30.922Z] Login Succeeded [2023-04-17T16:53:30.922Z] nexus3.edgexfoundry.org:10004 [2023-04-17T16:53:31.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:53:31.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:53:31.194Z] Configure a credential helper to remove this warning. See [2023-04-17T16:53:31.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:53:31.194Z] [2023-04-17T16:53:31.194Z] Login Succeeded [2023-04-17T16:53:31.194Z] docker.io [2023-04-17T16:53:31.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T16:53:31.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T16:53:31.732Z] Configure a credential helper to remove this warning. See [2023-04-17T16:53:31.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T16:53:31.732Z] [2023-04-17T16:53:31.732Z] Login Succeeded [2023-04-17T16:53:31.732Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T16:53:31.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T16:53:32.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T16:53:32.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T16:53:32.043Z] ========================================================= [2023-04-17T16:53:32.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T16:53:32.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:53:32.380Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T16:53:32.380Z] Sending build context to Docker daemon 137.7kB [2023-04-17T16:53:32.661Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T16:53:32.661Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T16:53:32.661Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T16:53:32.661Z] af6eaf76a39c: Pulling fs layer [2023-04-17T16:53:32.661Z] 55522c791124: Pulling fs layer [2023-04-17T16:53:32.661Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T16:53:32.661Z] 169dfbe0d373: Pulling fs layer [2023-04-17T16:53:32.661Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T16:53:32.661Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T16:53:32.661Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T16:53:32.661Z] 52ebb69f0ebf: Waiting [2023-04-17T16:53:32.661Z] 5abe8eddf0d5: Waiting [2023-04-17T16:53:32.930Z] 55522c791124: Verifying Checksum [2023-04-17T16:53:32.930Z] 55522c791124: Download complete [2023-04-17T16:53:32.930Z] 169dfbe0d373: Verifying Checksum [2023-04-17T16:53:32.930Z] 169dfbe0d373: Download complete [2023-04-17T16:53:32.930Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T16:53:32.930Z] e1ff8fa3b103: Download complete [2023-04-17T16:53:32.930Z] af6eaf76a39c: Verifying Checksum [2023-04-17T16:53:32.930Z] af6eaf76a39c: Download complete [2023-04-17T16:53:33.919Z] af6eaf76a39c: Pull complete [2023-04-17T16:53:34.206Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T16:53:34.206Z] 5abe8eddf0d5: Download complete [2023-04-17T16:53:34.484Z] 55522c791124: Pull complete [2023-04-17T16:53:35.460Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T16:53:35.460Z] ce5c4a1c91eb: Download complete [2023-04-17T16:53:35.460Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T16:53:35.460Z] 52ebb69f0ebf: Download complete [2023-04-17T16:53:47.812Z] ce5c4a1c91eb: Pull complete [2023-04-17T16:53:47.812Z] 169dfbe0d373: Pull complete [2023-04-17T16:53:47.812Z] e1ff8fa3b103: Pull complete [2023-04-17T16:53:54.477Z] 52ebb69f0ebf: Pull complete [2023-04-17T16:53:55.902Z] 5abe8eddf0d5: Pull complete [2023-04-17T16:53:55.902Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T16:53:55.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T16:53:55.902Z] ---> 6cb57ee374ae [2023-04-17T16:53:55.902Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T16:53:57.327Z] ---> Running in e35d7f7764fb [2023-04-17T16:53:57.915Z] Removing intermediate container e35d7f7764fb [2023-04-17T16:53:57.915Z] ---> 3d0dacd50531 [2023-04-17T16:53:57.915Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T16:53:57.915Z] ---> Running in 3405888771b7 [2023-04-17T16:53:58.183Z] Removing intermediate container 3405888771b7 [2023-04-17T16:53:58.183Z] ---> 2e1ab32fcfd6 [2023-04-17T16:53:58.183Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T16:53:58.183Z] ---> Running in 4ef43d487931 [2023-04-17T16:53:58.452Z] Removing intermediate container 4ef43d487931 [2023-04-17T16:53:58.452Z] ---> 003f7c481159 [2023-04-17T16:53:58.452Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T16:53:58.452Z] ---> Running in 6b5dfdc39e4b [2023-04-17T16:53:58.720Z] Removing intermediate container 6b5dfdc39e4b [2023-04-17T16:53:58.720Z] ---> b2a3648a731e [2023-04-17T16:53:58.720Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T16:53:58.989Z] ---> Running in 9e6c2c44e70e [2023-04-17T16:53:59.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T16:54:00.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T16:54:01.500Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T16:54:01.500Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T16:54:01.500Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T16:54:01.500Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T16:54:01.500Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T16:54:01.766Z] OK: 268 MiB in 57 packages [2023-04-17T16:54:04.342Z] Removing intermediate container 9e6c2c44e70e [2023-04-17T16:54:04.342Z] ---> e701fa59e512 [2023-04-17T16:54:04.342Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-17T16:54:04.342Z] ---> Running in a75d19c6af6a [2023-04-17T16:54:04.342Z] Removing intermediate container a75d19c6af6a [2023-04-17T16:54:04.342Z] ---> 093262cdfabf [2023-04-17T16:54:04.342Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T16:54:04.940Z] ---> 45163a3fc0b6 [2023-04-17T16:54:04.940Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T16:54:04.940Z] ---> Running in 6cff81bac729 [2023-04-17T16:55:12.838Z] Removing intermediate container 6cff81bac729 [2023-04-17T16:55:12.838Z] ---> b2a7b1089876 [2023-04-17T16:55:12.838Z] Step 11/12 : COPY . . [2023-04-17T16:55:12.838Z] ---> e568b41ba0e4 [2023-04-17T16:55:12.838Z] Step 12/12 : RUN $MAKE [2023-04-17T16:55:12.838Z] ---> Running in 3a554ca0dad7 [2023-04-17T16:55:12.838Z] noop [2023-04-17T16:55:12.838Z] Removing intermediate container 3a554ca0dad7 [2023-04-17T16:55:12.838Z] ---> 154a659bed89 [2023-04-17T16:55:12.838Z] Successfully built 154a659bed89 [2023-04-17T16:55:12.838Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:55:13.200Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T16:55:13.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T16:55:13.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-8740 does not seem to be running inside a container [2023-04-17T16:55:13.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T16:55:14.668Z] $ docker top 99560a3651aec8664c525cad437e9c05f1d74ff19613146907f356ad9c722910 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T16:55:15.469Z] + go version [2023-04-17T16:55:15.469Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T16:55:15.492Z] $ docker stop --time=1 99560a3651aec8664c525cad437e9c05f1d74ff19613146907f356ad9c722910 [2023-04-17T16:55:17.033Z] $ docker rm -f --volumes 99560a3651aec8664c525cad437e9c05f1d74ff19613146907f356ad9c722910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:55:17.561Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T16:55:17.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T16:55:17.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-8740 does not seem to be running inside a container [2023-04-17T16:55:17.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T16:55:18.980Z] $ docker top b101a50c2a8ca40f9478c78aa20eaab109204e403048462a71d7e3182234a0e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T16:55:19.489Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-17T16:55:20.143Z] + make test [2023-04-17T16:55:20.143Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T16:55:52.383Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-17T16:57:59.128Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-17T16:57:59.128Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 32.3% of statements [2023-04-17T16:57:59.128Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T16:57:59.128Z] go vet ./... [2023-04-17T16:58:31.379Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T16:58:31.379Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T16:58:31.379Z] ./bin/test-attribution-txt.sh [2023-04-17T16:58:31.379Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T16:58:31.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T16:58:31.413Z] $ docker stop --time=1 b101a50c2a8ca40f9478c78aa20eaab109204e403048462a71d7e3182234a0e1 [2023-04-17T16:58:33.240Z] $ docker rm -f --volumes b101a50c2a8ca40f9478c78aa20eaab109204e403048462a71d7e3182234a0e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T16:58:34.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T16:58:34.385Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T16:58:34.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T16:58:35.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T16:58:35.600Z] + ls -al . [2023-04-17T16:58:35.601Z] total 180 [2023-04-17T16:58:35.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:55 . [2023-04-17T16:58:35.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:53 .. [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 16:53 .dockerignore [2023-04-17T16:58:35.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:53 .git [2023-04-17T16:58:35.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:53 .github [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 16:53 .gitignore [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 16:53 .golangci.yml [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 16:53 Attribution.txt [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 16:53 CHANGELOG.md [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 16:53 Dockerfile [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 16:53 GOVERNANCE.md [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 16:53 Jenkinsfile [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 16:53 LICENSE [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 16:53 Makefile [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 16:53 OWNERS.md [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 16:53 README.md [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 16:51 VERSION [2023-04-17T16:58:35.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:53 bin [2023-04-17T16:58:35.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:53 cmd [2023-04-17T16:58:35.601Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 16:57 coverage.out [2023-04-17T16:58:35.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:53 driver [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 16:53 go.mod [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 16:53 go.sum [2023-04-17T16:58:35.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:53 snap [2023-04-17T16:58:35.601Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 16:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T16:58:35.945Z] + 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=38612c1158141c024a0c36193ce1288c0f682681 --label arch=arm64 --label version=0.0.0 . [2023-04-17T16:58:35.945Z] Sending build context to Docker daemon 153.1kB [2023-04-17T16:58:36.222Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T16:58:36.222Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-17T16:58:36.222Z] ---> 154a659bed89 [2023-04-17T16:58:36.222Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-17T16:58:36.222Z] ---> Running in b11add2fb7e5 [2023-04-17T16:58:36.496Z] Removing intermediate container b11add2fb7e5 [2023-04-17T16:58:36.496Z] ---> 473e958becca [2023-04-17T16:58:36.496Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T16:58:36.783Z] ---> Running in b011f60697ef [2023-04-17T16:58:37.053Z] Removing intermediate container b011f60697ef [2023-04-17T16:58:37.053Z] ---> ae0bc6627d98 [2023-04-17T16:58:37.053Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T16:58:37.053Z] ---> Running in 41be8eff562d [2023-04-17T16:58:37.322Z] Removing intermediate container 41be8eff562d [2023-04-17T16:58:37.322Z] ---> 4e3524082173 [2023-04-17T16:58:37.322Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T16:58:37.322Z] ---> Running in 8292bc40aa9f [2023-04-17T16:58:37.591Z] Removing intermediate container 8292bc40aa9f [2023-04-17T16:58:37.591Z] ---> 9be8cdf40694 [2023-04-17T16:58:37.591Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T16:58:37.591Z] ---> Running in 30590601ec47 [2023-04-17T16:58:39.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T16:58:39.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T16:58:40.687Z] OK: 268 MiB in 57 packages [2023-04-17T16:58:41.548Z] Removing intermediate container 30590601ec47 [2023-04-17T16:58:41.548Z] ---> 5d195042c010 [2023-04-17T16:58:41.548Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-17T16:58:41.816Z] ---> Running in c268fd788c53 [2023-04-17T16:58:42.082Z] Removing intermediate container c268fd788c53 [2023-04-17T16:58:42.082Z] ---> f2fa82a89c00 [2023-04-17T16:58:42.082Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-17T16:58:42.663Z] ---> 5aa50beb650e [2023-04-17T16:58:42.663Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T16:58:42.663Z] ---> Running in 01f3c3242b9f [2023-04-17T16:58:45.243Z] Removing intermediate container 01f3c3242b9f [2023-04-17T16:58:45.243Z] ---> af7b86827e00 [2023-04-17T16:58:45.243Z] Step 11/25 : COPY . . [2023-04-17T16:58:45.509Z] ---> 3f9fd93239d3 [2023-04-17T16:58:45.509Z] Step 12/25 : RUN $MAKE [2023-04-17T16:58:45.510Z] ---> Running in 0b00b7ddb1f4 [2023-04-17T16:58:46.471Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-17T17:00:53.141Z] Removing intermediate container 0b00b7ddb1f4 [2023-04-17T17:00:53.141Z] ---> c04e95d3217a [2023-04-17T17:00:53.141Z] Step 13/25 : FROM alpine:3.17 [2023-04-17T17:00:53.141Z] 3.17: Pulling from library/alpine [2023-04-17T17:00:53.141Z] c41833b44d91: Pulling fs layer [2023-04-17T17:00:53.141Z] c41833b44d91: Verifying Checksum [2023-04-17T17:00:53.141Z] c41833b44d91: Download complete [2023-04-17T17:00:53.141Z] c41833b44d91: Pull complete [2023-04-17T17:00:53.141Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T17:00:53.141Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T17:00:53.141Z] ---> 51e60588ff2c [2023-04-17T17:00:53.141Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-17T17:00:53.141Z] ---> Running in d19040e4c05f [2023-04-17T17:00:53.141Z] Removing intermediate container d19040e4c05f [2023-04-17T17:00:53.141Z] ---> 98740174ee2c [2023-04-17T17:00:53.141Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-17T17:00:53.141Z] ---> Running in 465cd06dda6f [2023-04-17T17:00:53.141Z] Removing intermediate container 465cd06dda6f [2023-04-17T17:00:53.141Z] ---> 8dca0ea12797 [2023-04-17T17:00:53.141Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-17T17:00:53.141Z] ---> Running in 3b7566f6ef47 [2023-04-17T17:00:53.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T17:00:53.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T17:00:54.942Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T17:00:54.943Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T17:00:54.943Z] OK: 8 MiB in 16 packages [2023-04-17T17:00:55.912Z] Removing intermediate container 3b7566f6ef47 [2023-04-17T17:00:55.912Z] ---> 812dc9bd4494 [2023-04-17T17:00:55.912Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-17T17:00:57.320Z] ---> 1cb857f54acf [2023-04-17T17:00:57.320Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-17T17:00:57.587Z] ---> fe1dd3856874 [2023-04-17T17:00:57.587Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-17T17:00:58.170Z] ---> 09613ba7f6f4 [2023-04-17T17:00:58.170Z] Step 20/25 : EXPOSE 59986 [2023-04-17T17:00:58.170Z] ---> Running in 8e174f01016c [2023-04-17T17:00:58.436Z] Removing intermediate container 8e174f01016c [2023-04-17T17:00:58.436Z] ---> db5401a072bb [2023-04-17T17:00:58.436Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-17T17:00:58.436Z] ---> Running in 6e63746513b7 [2023-04-17T17:00:58.703Z] Removing intermediate container 6e63746513b7 [2023-04-17T17:00:58.703Z] ---> 5374afc7fabb [2023-04-17T17:00:58.703Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T17:00:58.703Z] ---> Running in 7a41d07f6a81 [2023-04-17T17:00:58.979Z] Removing intermediate container 7a41d07f6a81 [2023-04-17T17:00:58.979Z] ---> 0a291ddf3347 [2023-04-17T17:00:58.979Z] Step 23/25 : LABEL arch=arm64 [2023-04-17T17:00:58.979Z] ---> Running in a2a45ca883cf [2023-04-17T17:00:59.252Z] Removing intermediate container a2a45ca883cf [2023-04-17T17:00:59.252Z] ---> 1eb7edc8aca8 [2023-04-17T17:00:59.252Z] Step 24/25 : LABEL git_sha=38612c1158141c024a0c36193ce1288c0f682681 [2023-04-17T17:00:59.517Z] ---> Running in 06739e195469 [2023-04-17T17:00:59.786Z] Removing intermediate container 06739e195469 [2023-04-17T17:00:59.786Z] ---> 43f3085374a0 [2023-04-17T17:00:59.786Z] Step 25/25 : LABEL version=0.0.0 [2023-04-17T17:00:59.786Z] ---> Running in 54dbd51a12ae [2023-04-17T17:01:00.053Z] Removing intermediate container 54dbd51a12ae [2023-04-17T17:01:00.053Z] ---> 29d39846363b [2023-04-17T17:01:00.053Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T17:01:00.053Z] Successfully built 29d39846363b [2023-04-17T17:01:00.053Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:01:00.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T17:01:00.473Z] [2023-04-17T17:01:00.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:01:00.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T17:01:00.797Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T17:01:00.797Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T17:01:00.797Z] 04944245beec: Pulling fs layer [2023-04-17T17:01:00.797Z] 699f458cf7ca: Pulling fs layer [2023-04-17T17:01:00.797Z] 765212b225bb: Pulling fs layer [2023-04-17T17:01:00.797Z] f23df028b6ca: Pulling fs layer [2023-04-17T17:01:00.798Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T17:01:00.798Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T17:01:00.798Z] d65c8cfc05b1: Waiting [2023-04-17T17:01:00.798Z] 765212b225bb: Waiting [2023-04-17T17:01:00.798Z] f23df028b6ca: Waiting [2023-04-17T17:01:00.798Z] 2437ff75d9bd: Waiting [2023-04-17T17:01:01.065Z] 04944245beec: Verifying Checksum [2023-04-17T17:01:01.065Z] 04944245beec: Download complete [2023-04-17T17:01:01.065Z] 765212b225bb: Download complete [2023-04-17T17:01:01.065Z] f23df028b6ca: Verifying Checksum [2023-04-17T17:01:01.065Z] f23df028b6ca: Download complete [2023-04-17T17:01:01.065Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T17:01:01.065Z] d65c8cfc05b1: Download complete [2023-04-17T17:01:01.065Z] 699f458cf7ca: Verifying Checksum [2023-04-17T17:01:01.065Z] 699f458cf7ca: Download complete [2023-04-17T17:01:01.652Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T17:01:01.652Z] 8998bd30e6a1: Download complete [2023-04-17T17:01:04.236Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T17:01:04.236Z] 2437ff75d9bd: Download complete [2023-04-17T17:01:05.654Z] 8998bd30e6a1: Pull complete [2023-04-17T17:01:05.921Z] 04944245beec: Pull complete [2023-04-17T17:01:07.330Z] 699f458cf7ca: Pull complete [2023-04-17T17:01:07.596Z] 765212b225bb: Pull complete [2023-04-17T17:01:08.558Z] f23df028b6ca: Pull complete [2023-04-17T17:01:08.558Z] d65c8cfc05b1: Pull complete [2023-04-17T17:01:23.547Z] 2437ff75d9bd: Pull complete [2023-04-17T17:01:23.547Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T17:01:23.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T17:01:23.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:01:23.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-8740 does not seem to be running inside a container [2023-04-17T17:01:23.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T17:01:26.351Z] $ docker top e6e05ece4cefc4898e723278d8edcb2dfddb1870ecb630c5fcac5111c57aba29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:26.854Z] ---> job-cost.sh [2023-04-17T17:01:27.119Z] lf-activate-venv: SKIPPING [2023-04-17T17:01:27.119Z] INFO: No Stack... [2023-04-17T17:01:27.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T17:01:28.338Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T17:01:28.658Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-04-17T17:01:28.658Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T17:01:28.727Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] [2023-04-17T17:01:28.736Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] did not exist. Created. [2023-04-17T17:01:28.736Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T17:01:29.393Z] /w/workspace/device-rest-go/2@tmp/durable-87b9eaf7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T17:01:29.719Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T17:01:30.009Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T17:01:30.047Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T17:01:30.056Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-291-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T17:01:30.074Z] $ docker stop --time=1 e6e05ece4cefc4898e723278d8edcb2dfddb1870ecb630c5fcac5111c57aba29 [2023-04-17T17:01:31.565Z] $ docker rm -f --volumes e6e05ece4cefc4898e723278d8edcb2dfddb1870ecb630c5fcac5111c57aba29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-17T17:01:31.966Z] provisioning config files... [2023-04-17T17:01:31.973Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config3100934327332572983tmp [Pipeline] { [Pipeline] sh [2023-04-17T17:01:32.266Z] + set +x [2023-04-17T17:01:32.266Z] + + curlbash -s -s https://codecov.io/bash -- [2023-04-17T17:01:32.266Z] [2023-04-17T17:01:32.266Z] [2023-04-17T17:01:32.266Z] _____ _ [2023-04-17T17:01:32.266Z] / ____| | | [2023-04-17T17:01:32.266Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T17:01:32.266Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T17:01:32.266Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T17:01:32.266Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T17:01:32.266Z] Bash-1.0.6 [2023-04-17T17:01:32.266Z] [2023-04-17T17:01:32.266Z] [2023-04-17T17:01:32.266Z] ==> git version 2.25.1 found [2023-04-17T17:01:32.266Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-17T17:01:32.266Z] Release-Date: 2020-01-08 [2023-04-17T17:01:32.266Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-17T17:01:32.266Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T17:01:32.266Z] ==> Jenkins CI detected. [2023-04-17T17:01:32.266Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-291 [2023-04-17T17:01:32.266Z] project root: . [2023-04-17T17:01:32.266Z] --> token set from env [2023-04-17T17:01:32.266Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T17:01:32.266Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T17:01:32.266Z] ==> Python coveragepy not found [2023-04-17T17:01:32.266Z] ==> Searching for coverage reports in: [2023-04-17T17:01:32.266Z] + . [2023-04-17T17:01:32.266Z] -> Found 1 reports [2023-04-17T17:01:32.266Z] ==> Detecting git/mercurial file structure [2023-04-17T17:01:32.524Z] ==> Reading reports [2023-04-17T17:01:32.524Z] + ./coverage.out bytes=14587 [2023-04-17T17:01:32.524Z] ==> Appending adjustments [2023-04-17T17:01:32.524Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T17:01:32.524Z] + Found adjustments [2023-04-17T17:01:32.524Z] ==> Gzipping contents [2023-04-17T17:01:32.524Z] 4.0K /tmp/codecov.LpF4v7.gz [2023-04-17T17:01:32.524Z] ==> Uploading reports [2023-04-17T17:01:32.524Z] url: https://codecov.io [2023-04-17T17:01:32.524Z] query: branch=PR-291&commit=38612c1158141c024a0c36193ce1288c0f682681&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-291%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=291&job=&cmd_args= [2023-04-17T17:01:32.524Z] -> Pinging Codecov [2023-04-17T17:01:32.524Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-291&commit=38612c1158141c024a0c36193ce1288c0f682681&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-291%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=291&job=&cmd_args= [2023-04-17T17:01:32.524Z] -> Uploading to [2023-04-17T17:01:32.524Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/4E5D53B4F1F92C436F7061BF334D961C/38612c1158141c024a0c36193ce1288c0f682681/4337a6d9-f847-4420-9f3e-4c1f8c922584.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T170132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63d257929cf3f3e2598b65aaf24fc46793c0b6682a0c3698d1cfb74f5b3782bf [2023-04-17T17:01:32.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T17:01:32.524Z] Dload Upload Total Spent Left Speed [2023-04-17T17:01:32.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10886 --:--:-- --:--:-- --:--:-- 10886 [2023-04-17T17:01:32.785Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/38612c1158141c024a0c36193ce1288c0f682681 [Pipeline] } [2023-04-17T17:01:32.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-17T17:01:33.484Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-291/archives ] [2023-04-17T17:01:33.485Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-291/archives [2023-04-17T17:01:33.485Z] total 16 [2023-04-17T17:01:33.485Z] drwxr-xr-x 3 root root 4096 Apr 17 16:52 . [2023-04-17T17:01:33.485Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 16:52 .. [2023-04-17T17:01:33.485Z] drwxr-xr-x 2 root root 4096 Apr 17 16:52 cost [2023-04-17T17:01:33.485Z] -rw-r--r-- 1 root root 86 Apr 17 16:52 cost.csv [2023-04-17T17:01:33.485Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-291/archives [2023-04-17T17:01:33.485Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-291/archives [2023-04-17T17:01:33.485Z] total 16 [2023-04-17T17:01:33.485Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 16:52 . [2023-04-17T17:01:33.485Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 16:52 .. [2023-04-17T17:01:33.485Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 16:52 cost [2023-04-17T17:01:33.485Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 17 16:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:33.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:34.622Z] ---> package-listing.sh [2023-04-17T17:01:34.622Z] ++ facter osfamily [2023-04-17T17:01:34.622Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T17:01:34.882Z] + OS_FAMILY=debian [2023-04-17T17:01:34.882Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-291 [2023-04-17T17:01:34.882Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T17:01:34.882Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T17:01:34.882Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T17:01:34.882Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T17:01:34.882Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-291 ']' [2023-04-17T17:01:34.882Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T17:01:34.882Z] + case "${OS_FAMILY}" in [2023-04-17T17:01:34.882Z] + dpkg -l [2023-04-17T17:01:34.882Z] + grep '^ii' [2023-04-17T17:01:34.882Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T17:01:34.882Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T17:01:34.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T17:01:34.882Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-291 ']' [2023-04-17T17:01:34.882Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-291/archives/ [2023-04-17T17:01:34.882Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-291/archives/ [Pipeline] echo [2023-04-17T17:01:34.892Z] 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-291/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T17:01:35.167Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:01:35.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T17:01:35.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:01:35.796Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2023-04-17T17:01:35.821Z] $ 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-291/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-291 -v /w/workspace/gexfoundry_device-rest-go_PR-291:/w/workspace/gexfoundry_device-rest-go_PR-291:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-291@tmp:/w/workspace/gexfoundry_device-rest-go_PR-291@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-04-17T17:01:35.994Z] $ docker top 06eb3c7b7a5782475180bde9d3bcc9d030bc0ee65264076f1f4008d4c5658ed9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T17:01:36.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T17:01:36.618Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T17:01:36.902Z] + ls /var/log/sa-host [2023-04-17T17:01:36.902Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T17:01:36.964Z] provisioning config files... [2023-04-17T17:01:36.971Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-291@tmp/config7582768775973138044tmp [Pipeline] { [Pipeline] echo [2023-04-17T17:01:36.982Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:37.260Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T17:01:37.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:37.580Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T17:01:37.588Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:37.870Z] ---> sudo-logs.sh [2023-04-17T17:01:37.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T17:01:37.896Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:38.174Z] ---> job-cost.sh [2023-04-17T17:01:38.174Z] lf-activate-venv: SKIPPING [2023-04-17T17:01:38.174Z] DEBUG: total: 0.2199999988079071 [2023-04-17T17:01:38.174Z] INFO: Retrieving Stack Cost... [2023-04-17T17:01:38.740Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T17:01:38.999Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T17:01:39.009Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:01:39.288Z] ---> logs-deploy.sh [2023-04-17T17:01:39.288Z] lf-activate-venv: SKIPPING [2023-04-17T17:01:39.288Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-291/2 [2023-04-17T17:01:39.288Z] INFO: archiving workspace using pattern(s): [2023-04-17T17:01:40.219Z] Archives upload complete. [2023-04-17T17:01:40.219Z] INFO: archiving logs to Nexus