Pull request #251 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 ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 424aba27d0571c2bb8561e9e363fc6a6db1a06ed+b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (b4e650c2ec7cc1b8009dbbe275562de158def413) 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-ssh15424725136243970799.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10613818858888781974.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-251/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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2211412665534586972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5525419165848580199.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-251/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-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8038636698922686181.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5938 in /w/workspace/gexfoundry_device-rest-go_PR-251 [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-251 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit 424aba27d0571c2bb8561e9e363fc6a6db1a06ed Merge succeeded, producing 424aba27d0571c2bb8561e9e363fc6a6db1a06ed Checking out Revision 424aba27d0571c2bb8561e9e363fc6a6db1a06ed (PR-251) > git config core.sparsecheckout # timeout=10 > git checkout -f 424aba27d0571c2bb8561e9e363fc6a6db1a06ed # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 424aba27d0571c2bb8561e9e363fc6a6db1a06ed # timeout=10 Commit message: "fix: address pr comments" > git rev-list --no-walk 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:07:42.651Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:07:42.694Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:07:42.709Z] ========================================================= [2023-02-15T00:07:42.709Z] EdgeX Global Pipelines Version Info [2023-02-15T00:07:42.709Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:43.428Z] ------------------- [2023-02-15T00:07:43.428Z] stable info: [2023-02-15T00:07:43.428Z] ------------------- [2023-02-15T00:07:43.428Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:07:43.428Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:07:43.428Z] Message: update stable to v1.0.244 [2023-02-15T00:07:44.000Z] ------------------- [2023-02-15T00:07:44.000Z] experimental info: [2023-02-15T00:07:44.000Z] ------------------- [2023-02-15T00:07:44.000Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:07:44.000Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:07:44.000Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:07:44.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T00:07:44.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T00:07:44.196Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:07:44.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:07:44.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:07:44.232Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:07:44.246Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:07:44.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T00:07:44.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:07:44.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:07:44.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:07:44.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T00:07:44.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:07:44.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:07:44.349Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:07:44.366Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:07:44.384Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:07:44.402Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:07:44.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:07:44.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:07:44.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T00:07:44.466Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T00:07:44.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:07:44.492Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:07:44.504Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:07:44.518Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:07:44.534Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:07:44.551Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo [2023-02-15T00:07:44.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo [2023-02-15T00:07:44.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo [2023-02-15T00:07:44.589Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 424aba27d0571c2bb8561e9e363fc6a6db1a06ed [Pipeline] echo [2023-02-15T00:07:44.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 424aba2 [Pipeline] echo [2023-02-15T00:07:44.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:07:44.667Z] provisioning config files... [2023-02-15T00:07:44.680Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config13585355733674323346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:44.995Z] ---> docker-login.sh [2023-02-15T00:07:44.995Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:07:45.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:07:45.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:07:45.255Z] Configure a credential helper to remove this warning. See [2023-02-15T00:07:45.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:07:45.255Z] [2023-02-15T00:07:45.255Z] Login Succeeded [2023-02-15T00:07:45.255Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:07:45.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:07:45.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:07:45.517Z] Configure a credential helper to remove this warning. See [2023-02-15T00:07:45.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:07:45.517Z] [2023-02-15T00:07:45.517Z] Login Succeeded [2023-02-15T00:07:45.517Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:07:45.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:07:45.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:07:45.517Z] Configure a credential helper to remove this warning. See [2023-02-15T00:07:45.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:07:45.517Z] [2023-02-15T00:07:45.517Z] Login Succeeded [2023-02-15T00:07:45.517Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:07:45.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:07:45.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:07:45.780Z] Configure a credential helper to remove this warning. See [2023-02-15T00:07:45.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:07:45.780Z] [2023-02-15T00:07:45.780Z] Login Succeeded [2023-02-15T00:07:45.780Z] docker.io [2023-02-15T00:07:45.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:07:46.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:07:46.042Z] Configure a credential helper to remove this warning. See [2023-02-15T00:07:46.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:07:46.042Z] [2023-02-15T00:07:46.042Z] Login Succeeded [2023-02-15T00:07:46.042Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:07:46.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:07:46.423Z] + git rev-list -1 --merges 424aba27d0571c2bb8561e9e363fc6a6db1a06ed~1..424aba27d0571c2bb8561e9e363fc6a6db1a06ed [Pipeline] echo [2023-02-15T00:07:46.479Z] -----------> git rev-list -1 --merges 424aba27d0571c2bb8561e9e363fc6a6db1a06ed~1..424aba27d0571c2bb8561e9e363fc6a6db1a06ed 424aba27d0571c2bb8561e9e363fc6a6db1a06ed [false] [Pipeline] sh [2023-02-15T00:07:46.772Z] + git log --format=format:%s -1 424aba27d0571c2bb8561e9e363fc6a6db1a06ed [Pipeline] echo [2023-02-15T00:07:46.789Z] ========================================================= [2023-02-15T00:07:46.789Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:07:46.789Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:07:47.143Z] + git log --format=format:%s -1 424aba27d0571c2bb8561e9e363fc6a6db1a06ed [Pipeline] echo [2023-02-15T00:07:47.158Z] [semverPrep] GIT_COMMIT: 424aba27d0571c2bb8561e9e363fc6a6db1a06ed, Commit Message: fix: address pr comments [Pipeline] echo [2023-02-15T00:07:47.168Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:07:47.538Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:07:47.538Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:07:47.538Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:07:47.538Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:07:47.538Z] + sudo tee -a+ /etc/ssh/ssh_known_hosts [2023-02-15T00:07:47.538Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:07:47.538Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:07:47.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:07:47.876Z] [2023-02-15T00:07:47.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:07:48.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:07:48.183Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:07:48.183Z] b85a868b505f: Pulling fs layer [2023-02-15T00:07:48.183Z] e2be974225ed: Pulling fs layer [2023-02-15T00:07:48.183Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:07:48.183Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:07:48.183Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:07:48.183Z] eaf3925da568: Pulling fs layer [2023-02-15T00:07:48.183Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:07:48.183Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:07:48.183Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:07:48.183Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:07:48.183Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:07:48.183Z] bde34c3a00c8: Waiting [2023-02-15T00:07:48.183Z] b352a97aabf1: Waiting [2023-02-15T00:07:48.183Z] 4872d77fe225: Waiting [2023-02-15T00:07:48.183Z] 1469e6f7b9e6: Waiting [2023-02-15T00:07:48.183Z] 5851b861e8e6: Waiting [2023-02-15T00:07:48.183Z] eaf3925da568: Waiting [2023-02-15T00:07:48.183Z] bab4dde63d76: Waiting [2023-02-15T00:07:48.183Z] 988bab9f4d93: Waiting [2023-02-15T00:07:48.183Z] e2be974225ed: Download complete [2023-02-15T00:07:48.183Z] 988bab9f4d93: Verifying Checksum [2023-02-15T00:07:48.183Z] 988bab9f4d93: Download complete [2023-02-15T00:07:48.449Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:07:48.449Z] 1469e6f7b9e6: Download complete [2023-02-15T00:07:48.449Z] eaf3925da568: Download complete [2023-02-15T00:07:48.449Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:07:48.449Z] 339a4e72a1f5: Download complete [2023-02-15T00:07:48.449Z] bde34c3a00c8: Download complete [2023-02-15T00:07:48.710Z] b352a97aabf1: Verifying Checksum [2023-02-15T00:07:48.710Z] b352a97aabf1: Download complete [2023-02-15T00:07:48.710Z] b85a868b505f: Download complete [2023-02-15T00:07:48.710Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:07:48.710Z] 4872d77fe225: Download complete [2023-02-15T00:07:48.710Z] 5851b861e8e6: Verifying Checksum [2023-02-15T00:07:48.710Z] 5851b861e8e6: Download complete [2023-02-15T00:07:48.970Z] bab4dde63d76: Verifying Checksum [2023-02-15T00:07:48.970Z] bab4dde63d76: Download complete [2023-02-15T00:07:49.907Z] b85a868b505f: Pull complete [2023-02-15T00:07:50.166Z] e2be974225ed: Pull complete [2023-02-15T00:07:50.735Z] 339a4e72a1f5: Pull complete [2023-02-15T00:07:50.993Z] 988bab9f4d93: Pull complete [2023-02-15T00:07:51.251Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:07:51.251Z] eaf3925da568: Pull complete [2023-02-15T00:07:53.150Z] bab4dde63d76: Pull complete [2023-02-15T00:07:53.150Z] bde34c3a00c8: Pull complete [2023-02-15T00:07:53.408Z] b352a97aabf1: Pull complete [2023-02-15T00:07:53.408Z] 4872d77fe225: Pull complete [2023-02-15T00:07:53.666Z] 5851b861e8e6: Pull complete [2023-02-15T00:07:53.666Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:07:53.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:07:53.666Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:07:53.743Z] prd-ubuntu20.04-docker-8c-8g-5938 does not seem to be running inside a container [2023-02-15T00:07:53.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:07:55.698Z] $ docker top 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 -eo pid,comm [2023-02-15T00:07:55.754Z] 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-02-15T00:07:55.754Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:07:55.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:07:55.791Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:07:55.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:07:55.912Z] $ docker exec 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 ssh-agent [2023-02-15T00:07:56.014Z] SSH_AUTH_SOCK=/tmp/ssh-TJxwJ842I50I/agent.32 [2023-02-15T00:07:56.014Z] SSH_AGENT_PID=38 [2023-02-15T00:07:56.022Z] Running ssh-add (command line suppressed) [2023-02-15T00:07:56.139Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_7156517913665253048.key (/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_7156517913665253048.key) [2023-02-15T00:07:56.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:07:56.453Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:07:56.464Z] $ docker exec --env ******** --env ******** 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 ssh-agent -k [2023-02-15T00:07:56.559Z] unset SSH_AUTH_SOCK; [2023-02-15T00:07:56.559Z] unset SSH_AGENT_PID; [2023-02-15T00:07:56.560Z] echo Agent pid 38 killed; [2023-02-15T00:07:56.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:07:56.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:07:56.595Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:07:56.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:07:56.702Z] $ docker exec 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 ssh-agent [2023-02-15T00:07:56.802Z] SSH_AUTH_SOCK=/tmp/ssh-4SMfAxVXvBdX/agent.70 [2023-02-15T00:07:56.802Z] SSH_AGENT_PID=76 [2023-02-15T00:07:56.807Z] Running ssh-add (command line suppressed) [2023-02-15T00:07:56.926Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_6498004885592698354.key (/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_6498004885592698354.key) [2023-02-15T00:07:56.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:07:57.231Z] + git semver init [2023-02-15T00:07:57.489Z] 2023-02-15 00:07:57,455 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:07:57.489Z] 2023-02-15 00:07:57,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver [2023-02-15T00:07:57.489Z] 2023-02-15 00:07:57,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-251/.semver [2023-02-15T00:07:57.489Z] 2023-02-15 00:07:57,458 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-251/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,691 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-251/.git/info/exclude [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 with force:False [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,692 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,696 [execute] INFO git cat-file --batch-check [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,704 [execute] INFO git cat-file --batch [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:07:58.867Z] 2023-02-15 00:07:58,710 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 [2023-02-15T00:07:58.867Z] 0.0.0 [Pipeline] } [2023-02-15T00:07:58.876Z] $ docker exec --env ******** --env ******** 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 ssh-agent -k [2023-02-15T00:07:58.988Z] unset SSH_AUTH_SOCK; [2023-02-15T00:07:58.988Z] unset SSH_AGENT_PID; [2023-02-15T00:07:58.988Z] echo Agent pid 76 killed; [2023-02-15T00:07:58.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:07:59.298Z] + git semver [Pipeline] } [2023-02-15T00:07:59.571Z] $ docker stop --time=1 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 [2023-02-15T00:08:00.939Z] $ docker rm -f --volumes 9143bb16f19eac01a6a1677b72ed0df934bbacc3a6716a5442ca7f3c1e878542 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:08:01.281Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:08:01.499Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:08:01.502Z] [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-02-15T00:08:01.653Z] provisioning config files... [2023-02-15T00:08:01.661Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config8015907281876099092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:08:01.958Z] ---> docker-login.sh [2023-02-15T00:08:01.958Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:08:01.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:08:01.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:08:01.958Z] Configure a credential helper to remove this warning. See [2023-02-15T00:08:01.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:08:01.958Z] [2023-02-15T00:08:01.958Z] Login Succeeded [2023-02-15T00:08:01.958Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:08:01.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:08:01.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:08:01.958Z] Configure a credential helper to remove this warning. See [2023-02-15T00:08:01.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:08:01.958Z] [2023-02-15T00:08:01.958Z] Login Succeeded [2023-02-15T00:08:01.958Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:08:02.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:08:02.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:08:02.219Z] Configure a credential helper to remove this warning. See [2023-02-15T00:08:02.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:08:02.219Z] [2023-02-15T00:08:02.219Z] Login Succeeded [2023-02-15T00:08:02.219Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:08:02.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:08:02.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:08:02.219Z] Configure a credential helper to remove this warning. See [2023-02-15T00:08:02.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:08:02.219Z] [2023-02-15T00:08:02.219Z] Login Succeeded [2023-02-15T00:08:02.219Z] docker.io [2023-02-15T00:08:02.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:08:02.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:08:02.738Z] Configure a credential helper to remove this warning. See [2023-02-15T00:08:02.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:08:02.738Z] [2023-02-15T00:08:02.738Z] Login Succeeded [2023-02-15T00:08:02.738Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:08:02.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:08:02.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:08:02.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:08:02.821Z] ========================================================= [2023-02-15T00:08:02.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:08:02.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:08:03.125Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:08:03.125Z] Sending build context to Docker daemon 10.83MB [2023-02-15T00:08:03.125Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:08:03.125Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:08:03.125Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:08:03.125Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:08:03.125Z] 4583459ba037: Pulling fs layer [2023-02-15T00:08:03.125Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:08:03.125Z] 53926ce57604: Pulling fs layer [2023-02-15T00:08:03.125Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:08:03.125Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:08:03.125Z] 53926ce57604: Waiting [2023-02-15T00:08:03.125Z] 21b2b0c7a3f4: Waiting [2023-02-15T00:08:03.125Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:08:03.125Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:08:03.125Z] 22ff95d597cd: Waiting [2023-02-15T00:08:03.125Z] 12d6caf4c0d1: Waiting [2023-02-15T00:08:03.125Z] a7acece74701: Pulling fs layer [2023-02-15T00:08:03.125Z] a7acece74701: Waiting [2023-02-15T00:08:03.125Z] 96b7cbca73a9: Waiting [2023-02-15T00:08:03.125Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T00:08:03.125Z] 93c1e223e6f2: Download complete [2023-02-15T00:08:03.386Z] 4583459ba037: Verifying Checksum [2023-02-15T00:08:03.386Z] 4583459ba037: Download complete [2023-02-15T00:08:03.386Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T00:08:03.386Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:08:03.386Z] 22ff95d597cd: Download complete [2023-02-15T00:08:03.386Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:08:03.386Z] 213ec9aee27d: Download complete [2023-02-15T00:08:03.386Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T00:08:03.386Z] 12d6caf4c0d1: Download complete [2023-02-15T00:08:03.651Z] 213ec9aee27d: Pull complete [2023-02-15T00:08:03.651Z] 4583459ba037: Pull complete [2023-02-15T00:08:03.651Z] 93c1e223e6f2: Pull complete [2023-02-15T00:08:04.273Z] a7acece74701: Verifying Checksum [2023-02-15T00:08:04.273Z] a7acece74701: Download complete [2023-02-15T00:08:04.898Z] 53926ce57604: Verifying Checksum [2023-02-15T00:08:04.898Z] 53926ce57604: Download complete [2023-02-15T00:08:04.898Z] 96b7cbca73a9: Download complete [2023-02-15T00:08:09.086Z] 53926ce57604: Pull complete [2023-02-15T00:08:09.086Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:08:09.086Z] 22ff95d597cd: Pull complete [2023-02-15T00:08:09.086Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:08:10.985Z] 96b7cbca73a9: Pull complete [2023-02-15T00:08:11.551Z] a7acece74701: Pull complete [2023-02-15T00:08:11.551Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:08:11.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:08:11.551Z] ---> db6d94c90886 [2023-02-15T00:08:11.551Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:08:14.104Z] ---> Running in d97881b62035 [2023-02-15T00:08:14.104Z] Removing intermediate container d97881b62035 [2023-02-15T00:08:14.104Z] ---> 83fcb47dcebf [2023-02-15T00:08:14.104Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:08:14.104Z] ---> Running in ed2b359a9721 [2023-02-15T00:08:14.104Z] Removing intermediate container ed2b359a9721 [2023-02-15T00:08:14.104Z] ---> 96529157c609 [2023-02-15T00:08:14.104Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:08:14.104Z] ---> Running in eea2a37033c6 [2023-02-15T00:08:14.104Z] Removing intermediate container eea2a37033c6 [2023-02-15T00:08:14.104Z] ---> 2d2e0cd5b10b [2023-02-15T00:08:14.104Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:08:14.363Z] ---> Running in e918f3b60e35 [2023-02-15T00:08:14.363Z] Removing intermediate container e918f3b60e35 [2023-02-15T00:08:14.363Z] ---> 3496a024d876 [2023-02-15T00:08:14.363Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:08:14.363Z] ---> Running in 42f5ab1aef44 [2023-02-15T00:08:14.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:08:14.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:08:15.139Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:08:15.139Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:08:15.139Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:08:15.139Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:08:15.139Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:08:15.139Z] OK: 216 MiB in 55 packages [2023-02-15T00:08:15.704Z] Removing intermediate container 42f5ab1aef44 [2023-02-15T00:08:15.704Z] ---> a59057882f89 [2023-02-15T00:08:15.704Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:08:15.704Z] ---> Running in e7ed7c70d941 [2023-02-15T00:08:15.961Z] Removing intermediate container e7ed7c70d941 [2023-02-15T00:08:15.962Z] ---> 3a50ee0c3330 [2023-02-15T00:08:15.962Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:08:15.962Z] ---> dcb32e5d2bed [2023-02-15T00:08:15.962Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:08:15.962Z] ---> Running in f6179d6a3412 [2023-02-15T00:08:16.600Z] Still waiting to schedule task [2023-02-15T00:08:16.601Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:09:12.227Z] Removing intermediate container f6179d6a3412 [2023-02-15T00:09:12.227Z] ---> de2f7ba7e793 [2023-02-15T00:09:12.227Z] Step 11/12 : COPY . . [2023-02-15T00:09:12.227Z] ---> fa78364fe077 [2023-02-15T00:09:12.227Z] Step 12/12 : RUN $MAKE [2023-02-15T00:09:12.227Z] ---> Running in 631758f77ef4 [2023-02-15T00:09:12.227Z] noop [2023-02-15T00:09:12.227Z] Removing intermediate container 631758f77ef4 [2023-02-15T00:09:12.227Z] ---> 3efbec2261f7 [2023-02-15T00:09:12.227Z] Successfully built 3efbec2261f7 [2023-02-15T00:09:12.227Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:09:12.536Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:09:12.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:09:12.606Z] prd-ubuntu20.04-docker-8c-8g-5938 does not seem to be running inside a container [2023-02-15T00:09:12.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T00:09:13.025Z] $ docker top a7efbbdb1277543560f75b1594d712358cb90a501ef313d9dd6ef9844469bacc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:09:13.368Z] + go version [2023-02-15T00:09:13.368Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:09:13.383Z] $ docker stop --time=1 a7efbbdb1277543560f75b1594d712358cb90a501ef313d9dd6ef9844469bacc [2023-02-15T00:09:14.709Z] $ docker rm -f --volumes a7efbbdb1277543560f75b1594d712358cb90a501ef313d9dd6ef9844469bacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:09:15.139Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:09:15.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:09:15.217Z] prd-ubuntu20.04-docker-8c-8g-5938 does not seem to be running inside a container [2023-02-15T00:09:15.253Z] $ 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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T00:09:15.611Z] $ docker top 037b266a9b2ad1e225e3f61655a042c5c5592c47ea0289a3b88961ab3b6f4161 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:09:15.955Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-251 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:09:16.266Z] + make test [2023-02-15T00:09:16.266Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:09:16.525Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:09:24.631Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:09:25.565Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-15T00:09:32.118Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T00:09:32.118Z] go vet ./... [2023-02-15T00:09:34.646Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:09:34.646Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:09:34.646Z] ./bin/test-attribution-txt.sh [2023-02-15T00:09:34.646Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:09:34.646Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:09:34.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:09:34.678Z] $ docker stop --time=1 037b266a9b2ad1e225e3f61655a042c5c5592c47ea0289a3b88961ab3b6f4161 [2023-02-15T00:09:36.652Z] $ docker rm -f --volumes 037b266a9b2ad1e225e3f61655a042c5c5592c47ea0289a3b88961ab3b6f4161 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:09:37.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:09:37.135Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T00:09:37.586Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:09:37.870Z] + ls -al . [2023-02-15T00:09:37.870Z] total 188 [2023-02-15T00:09:37.870Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:09 . [2023-02-15T00:09:37.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:07 .. [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:07 .dockerignore [2023-02-15T00:09:37.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:09 .git [2023-02-15T00:09:37.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:07 .github [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:07 .gitignore [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:07 .golangci.yml [2023-02-15T00:09:37.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:07 .semver [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:07 Attribution.txt [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:07 CHANGELOG.md [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:07 Dockerfile [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:07 GOVERNANCE.md [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:07 Jenkinsfile [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:07 LICENSE [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:07 Makefile [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:07 OWNERS.md [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:07 README.md [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:08 VERSION [2023-02-15T00:09:37.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:07 bin [2023-02-15T00:09:37.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:07 cmd [2023-02-15T00:09:37.870Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:09 coverage.out [2023-02-15T00:09:37.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:07 driver [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:07 go.mod [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:07 go.sum [2023-02-15T00:09:37.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:07 snap [2023-02-15T00:09:37.870Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:09:38.174Z] + 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=424aba27d0571c2bb8561e9e363fc6a6db1a06ed --label arch=amd64 --label version=0.0.0 . [2023-02-15T00:09:38.174Z] Sending build context to Docker daemon 10.84MB [2023-02-15T00:09:38.174Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:09:38.174Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:09:38.174Z] ---> 3efbec2261f7 [2023-02-15T00:09:38.174Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:09:38.433Z] ---> Running in 2b888404d81f [2023-02-15T00:09:38.433Z] Removing intermediate container 2b888404d81f [2023-02-15T00:09:38.433Z] ---> e1a3d3afe049 [2023-02-15T00:09:38.433Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:09:38.433Z] ---> Running in d18d5c1fae27 [2023-02-15T00:09:38.433Z] Removing intermediate container d18d5c1fae27 [2023-02-15T00:09:38.433Z] ---> cddaa2cc58a9 [2023-02-15T00:09:38.433Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:09:38.691Z] ---> Running in 5b91acfcea75 [2023-02-15T00:09:38.691Z] Removing intermediate container 5b91acfcea75 [2023-02-15T00:09:38.691Z] ---> 16a9de8cb5fb [2023-02-15T00:09:38.691Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:09:38.691Z] ---> Running in 58526b8b59a8 [2023-02-15T00:09:38.950Z] Removing intermediate container 58526b8b59a8 [2023-02-15T00:09:38.950Z] ---> 2457fb699dde [2023-02-15T00:09:38.950Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:09:38.950Z] ---> Running in 011239bb7039 [2023-02-15T00:09:39.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:09:39.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:09:39.466Z] OK: 216 MiB in 55 packages [2023-02-15T00:09:40.034Z] Removing intermediate container 011239bb7039 [2023-02-15T00:09:40.034Z] ---> 2aa751515cb4 [2023-02-15T00:09:40.034Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:09:40.034Z] ---> Running in 775af8913d8b [2023-02-15T00:09:40.034Z] Removing intermediate container 775af8913d8b [2023-02-15T00:09:40.034Z] ---> d2b9c8216d7d [2023-02-15T00:09:40.034Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:09:40.292Z] ---> 69cf64b9c116 [2023-02-15T00:09:40.292Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:09:40.292Z] ---> Running in 63091fc68c98 [2023-02-15T00:09:41.297Z] Removing intermediate container 63091fc68c98 [2023-02-15T00:09:41.297Z] ---> fd96408f1c99 [2023-02-15T00:09:41.297Z] Step 11/25 : COPY . . [2023-02-15T00:09:41.557Z] ---> 7ab09220ad53 [2023-02-15T00:09:41.557Z] Step 12/25 : RUN $MAKE [2023-02-15T00:09:41.557Z] ---> Running in 8faaa8283af5 [2023-02-15T00:09:41.816Z] 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-02-15T00:09:59.885Z] Removing intermediate container 8faaa8283af5 [2023-02-15T00:09:59.885Z] ---> 50bb4897179f [2023-02-15T00:09:59.885Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:09:59.885Z] 3.16: Pulling from library/alpine [2023-02-15T00:09:59.885Z] ef5531b6e74e: Pulling fs layer [2023-02-15T00:09:59.886Z] ef5531b6e74e: Verifying Checksum [2023-02-15T00:09:59.886Z] ef5531b6e74e: Download complete [2023-02-15T00:09:59.886Z] ef5531b6e74e: Pull complete [2023-02-15T00:09:59.886Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:09:59.886Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:09:59.886Z] ---> dfd21b5a31f5 [2023-02-15T00:09:59.886Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:10:00.145Z] ---> Running in 468cdab70fa5 [2023-02-15T00:10:00.145Z] Removing intermediate container 468cdab70fa5 [2023-02-15T00:10:00.145Z] ---> a307c568a4b3 [2023-02-15T00:10:00.145Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:10:00.145Z] ---> Running in 391c51cc51dd [2023-02-15T00:10:00.403Z] Removing intermediate container 391c51cc51dd [2023-02-15T00:10:00.403Z] ---> dbddee5b924a [2023-02-15T00:10:00.403Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:10:00.403Z] ---> Running in 6df73e715a2d [2023-02-15T00:10:00.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:10:00.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:10:01.179Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:10:01.179Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:10:01.179Z] OK: 6 MiB in 15 packages [2023-02-15T00:10:01.747Z] Removing intermediate container 6df73e715a2d [2023-02-15T00:10:01.747Z] ---> db066def7c0f [2023-02-15T00:10:01.747Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:10:02.315Z] ---> 96499a3ecadb [2023-02-15T00:10:02.315Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:10:02.315Z] ---> e58a91cd6b9d [2023-02-15T00:10:02.315Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:10:02.582Z] ---> 376753c9d8ac [2023-02-15T00:10:02.582Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:10:02.582Z] ---> Running in f8e12ab0ccd3 [2023-02-15T00:10:02.582Z] Removing intermediate container f8e12ab0ccd3 [2023-02-15T00:10:02.582Z] ---> 1a99c79d53b1 [2023-02-15T00:10:02.582Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:10:02.582Z] ---> Running in 0bf562cc5885 [2023-02-15T00:10:02.843Z] Removing intermediate container 0bf562cc5885 [2023-02-15T00:10:02.843Z] ---> 6b16d0f31ac3 [2023-02-15T00:10:02.843Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:10:02.843Z] ---> Running in fce437307d5f [2023-02-15T00:10:02.843Z] Removing intermediate container fce437307d5f [2023-02-15T00:10:02.843Z] ---> 7794a8444bd1 [2023-02-15T00:10:02.843Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T00:10:02.843Z] ---> Running in 7ba68a7fbf2c [2023-02-15T00:10:03.105Z] Removing intermediate container 7ba68a7fbf2c [2023-02-15T00:10:03.105Z] ---> 4f236d90a764 [2023-02-15T00:10:03.105Z] Step 24/25 : LABEL git_sha=424aba27d0571c2bb8561e9e363fc6a6db1a06ed [2023-02-15T00:10:03.105Z] ---> Running in 5fc9ed211b9a [2023-02-15T00:10:03.105Z] Removing intermediate container 5fc9ed211b9a [2023-02-15T00:10:03.105Z] ---> ac0412bd570b [2023-02-15T00:10:03.105Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T00:10:03.364Z] ---> Running in f026e256393a [2023-02-15T00:10:03.364Z] Removing intermediate container f026e256393a [2023-02-15T00:10:03.364Z] ---> cdf2aa341119 [2023-02-15T00:10:03.364Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:10:03.364Z] Successfully built cdf2aa341119 [2023-02-15T00:10:03.364Z] 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-02-15T00:10:03.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:10:03.797Z] [2023-02-15T00:10:03.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:10:04.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:10:04.094Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:10:04.094Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:10:04.094Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:10:04.094Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:10:04.094Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:10:04.094Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:10:04.094Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:10:04.094Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:10:04.094Z] 33b1e0a273af: Waiting [2023-02-15T00:10:04.094Z] 5d3b04190fa2: Waiting [2023-02-15T00:10:04.094Z] 2f39f015ded8: Waiting [2023-02-15T00:10:04.094Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:10:04.094Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T00:10:04.094Z] 5c69ac0246d0: Download complete [2023-02-15T00:10:04.094Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T00:10:04.094Z] 3a2ae6a8a46f: Download complete [2023-02-15T00:10:04.357Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:10:04.357Z] 33b1e0a273af: Download complete [2023-02-15T00:10:04.357Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T00:10:04.618Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:10:04.618Z] ec43610c2a17: Download complete [2023-02-15T00:10:04.880Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:10:04.880Z] 5eb5b503b376: Download complete [2023-02-15T00:10:05.449Z] 2f39f015ded8: Download complete [2023-02-15T00:10:05.709Z] 5eb5b503b376: Pull complete [2023-02-15T00:10:05.968Z] 5c69ac0246d0: Pull complete [2023-02-15T00:10:06.227Z] ec43610c2a17: Pull complete [2023-02-15T00:10:06.227Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:10:06.486Z] 33b1e0a273af: Pull complete [2023-02-15T00:10:06.486Z] 5d3b04190fa2: Pull complete [2023-02-15T00:10:10.677Z] 2f39f015ded8: Pull complete [2023-02-15T00:10:10.677Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:10:10.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:10:10.677Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:10:10.746Z] prd-ubuntu20.04-docker-8c-8g-5938 does not seem to be running inside a container [2023-02-15T00:10:10.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/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:10:12.676Z] $ docker top 3ec0bf75cb244d9ad840b1ac48ac9bc7a34141e7d41f4dae528abe3acc780c39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:10:13.057Z] ---> job-cost.sh [2023-02-15T00:10:13.057Z] lf-activate-venv: SKIPPING [2023-02-15T00:10:13.057Z] INFO: No Stack... [2023-02-15T00:10:13.315Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:10:13.885Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:10:14.173Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-251/archives/cost.csv [2023-02-15T00:10:14.173Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:10:14.188Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] [2023-02-15T00:10:14.197Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] did not exist. Created. [2023-02-15T00:10:14.197Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:10:14.494Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:10:14.522Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:10:14.529Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:10:14.552Z] $ docker stop --time=1 3ec0bf75cb244d9ad840b1ac48ac9bc7a34141e7d41f4dae528abe3acc780c39 [2023-02-15T00:10:15.749Z] $ docker rm -f --volumes 3ec0bf75cb244d9ad840b1ac48ac9bc7a34141e7d41f4dae528abe3acc780c39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:11:31.944Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5941 in /w/workspace/gexfoundry_device-rest-go_PR-251 [Pipeline] { [Pipeline] ws [2023-02-15T00:11:31.957Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-02-15T00:11:31.992Z] The recommended git tool is: git [2023-02-15T00:11:39.203Z] using credential edgex-jenkins-ssh [2023-02-15T00:11:39.223Z] Cloning the remote Git repository [2023-02-15T00:11:39.278Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:11:39.365Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-02-15T00:11:39.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:11:39.567Z] > git --version # timeout=10 [2023-02-15T00:11:39.595Z] > git --version # 'git version 2.25.1' [2023-02-15T00:11:39.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:11:39.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:11:41.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:11:41.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:11:43.786Z] Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit 424aba27d0571c2bb8561e9e363fc6a6db1a06ed [2023-02-15T00:11:43.064Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:11:43.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:11:43.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:11:43.145Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T00:11:43.810Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:11:44.035Z] Merge succeeded, producing 424aba27d0571c2bb8561e9e363fc6a6db1a06ed [2023-02-15T00:11:44.035Z] Checking out Revision 424aba27d0571c2bb8561e9e363fc6a6db1a06ed (PR-251) [2023-02-15T00:11:43.833Z] > git checkout -f 424aba27d0571c2bb8561e9e363fc6a6db1a06ed # timeout=10 [2023-02-15T00:11:43.929Z] > git remote # timeout=10 [2023-02-15T00:11:43.949Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T00:11:43.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:11:43.986Z] > git merge b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 [2023-02-15T00:11:44.015Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T00:11:44.045Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:11:44.068Z] > git checkout -f 424aba27d0571c2bb8561e9e363fc6a6db1a06ed # timeout=10 [2023-02-15T00:11:47.647Z] Commit message: "fix: address pr comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:11:48.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:11:48.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:11:48.542Z] Dload Upload Total Spent Left Speed [2023-02-15T00:11:48.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-02-15T00:11:49.246Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:11:49.619Z] + sudo tee /etc/docker/daemon.new [2023-02-15T00:11:49.619Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T00:11:49.619Z] { [2023-02-15T00:11:49.619Z] "registry-mirrors": [ [2023-02-15T00:11:49.619Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:11:49.619Z] ], [2023-02-15T00:11:49.619Z] "bip": "10.250.0.254/24", [2023-02-15T00:11:49.619Z] "hosts": [ [2023-02-15T00:11:49.619Z] "tcp://0.0.0.0:5555", [2023-02-15T00:11:49.619Z] "unix:///var/run/docker.sock" [2023-02-15T00:11:49.619Z] ], [2023-02-15T00:11:49.619Z] "mtu": 1458, [2023-02-15T00:11:49.619Z] "selinux-enabled": true, [2023-02-15T00:11:49.619Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:11:49.619Z] } [Pipeline] sh [2023-02-15T00:11:49.970Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:11:50.325Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:12:08.625Z] provisioning config files... [2023-02-15T00:12:08.659Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config15876677650227690191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:12:09.044Z] ---> docker-login.sh [2023-02-15T00:12:09.044Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:12:09.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:12:09.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:12:09.923Z] Configure a credential helper to remove this warning. See [2023-02-15T00:12:09.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:12:09.923Z] [2023-02-15T00:12:09.923Z] Login Succeeded [2023-02-15T00:12:09.923Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:12:10.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:12:10.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:12:10.475Z] Configure a credential helper to remove this warning. See [2023-02-15T00:12:10.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:12:10.475Z] [2023-02-15T00:12:10.475Z] Login Succeeded [2023-02-15T00:12:10.475Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:12:10.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:12:10.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:12:10.749Z] Configure a credential helper to remove this warning. See [2023-02-15T00:12:10.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:12:10.749Z] [2023-02-15T00:12:10.749Z] Login Succeeded [2023-02-15T00:12:10.749Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:12:11.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:12:11.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:12:11.306Z] Configure a credential helper to remove this warning. See [2023-02-15T00:12:11.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:12:11.306Z] [2023-02-15T00:12:11.306Z] Login Succeeded [2023-02-15T00:12:11.306Z] docker.io [2023-02-15T00:12:11.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:12:11.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:12:11.855Z] Configure a credential helper to remove this warning. See [2023-02-15T00:12:11.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:12:11.855Z] [2023-02-15T00:12:11.855Z] Login Succeeded [2023-02-15T00:12:11.855Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:12:11.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:12:12.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:12:12.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:12:12.256Z] ========================================================= [2023-02-15T00:12:12.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:12:12.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:12:12.619Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:12:12.619Z] Sending build context to Docker daemon 139.8kB [2023-02-15T00:12:12.891Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:12:12.891Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:12:13.170Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:12:13.170Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:12:13.170Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:12:13.170Z] e16973657156: Pulling fs layer [2023-02-15T00:12:13.170Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:12:13.170Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:12:13.170Z] dda99020689f: Pulling fs layer [2023-02-15T00:12:13.170Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:12:13.170Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:12:13.170Z] dda99020689f: Waiting [2023-02-15T00:12:13.170Z] fc693d55d65f: Waiting [2023-02-15T00:12:13.170Z] 7e9fc2657dce: Waiting [2023-02-15T00:12:13.170Z] 891c053d2c06: Waiting [2023-02-15T00:12:13.170Z] db1c61fa0a46: Waiting [2023-02-15T00:12:13.170Z] e16973657156: Verifying Checksum [2023-02-15T00:12:13.170Z] e16973657156: Download complete [2023-02-15T00:12:13.170Z] 35d82f9e3411: Verifying Checksum [2023-02-15T00:12:13.170Z] 35d82f9e3411: Download complete [2023-02-15T00:12:13.170Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T00:12:13.170Z] 7e9fc2657dce: Download complete [2023-02-15T00:12:13.170Z] dda99020689f: Verifying Checksum [2023-02-15T00:12:13.170Z] dda99020689f: Download complete [2023-02-15T00:12:13.170Z] 9b18e9b68314: Verifying Checksum [2023-02-15T00:12:13.170Z] 9b18e9b68314: Download complete [2023-02-15T00:12:14.170Z] 9b18e9b68314: Pull complete [2023-02-15T00:12:14.453Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:12:14.453Z] 891c053d2c06: Download complete [2023-02-15T00:12:15.074Z] 35d82f9e3411: Pull complete [2023-02-15T00:12:15.350Z] e16973657156: Pull complete [2023-02-15T00:12:16.328Z] db1c61fa0a46: Verifying Checksum [2023-02-15T00:12:16.920Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:12:16.920Z] fc693d55d65f: Download complete [2023-02-15T00:12:29.303Z] fc693d55d65f: Pull complete [2023-02-15T00:12:29.304Z] 7e9fc2657dce: Pull complete [2023-02-15T00:12:29.575Z] dda99020689f: Pull complete [2023-02-15T00:12:36.248Z] db1c61fa0a46: Pull complete [2023-02-15T00:12:37.665Z] 891c053d2c06: Pull complete [2023-02-15T00:12:37.665Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:12:37.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:12:37.665Z] ---> f96f9c87975a [2023-02-15T00:12:37.665Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:12:38.641Z] ---> Running in cf3a9a90f126 [2023-02-15T00:12:38.911Z] Removing intermediate container cf3a9a90f126 [2023-02-15T00:12:38.911Z] ---> d36382783eda [2023-02-15T00:12:38.911Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:12:39.181Z] ---> Running in b2c6c641a2ec [2023-02-15T00:12:39.461Z] Removing intermediate container b2c6c641a2ec [2023-02-15T00:12:39.461Z] ---> b21c60b98176 [2023-02-15T00:12:39.461Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:12:39.461Z] ---> Running in 34409af71bf3 [2023-02-15T00:12:39.731Z] Removing intermediate container 34409af71bf3 [2023-02-15T00:12:39.731Z] ---> 6c5e993d1079 [2023-02-15T00:12:39.731Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:12:40.004Z] ---> Running in 281b06214182 [2023-02-15T00:12:40.275Z] Removing intermediate container 281b06214182 [2023-02-15T00:12:40.275Z] ---> 54eafb357b30 [2023-02-15T00:12:40.275Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:12:40.275Z] ---> Running in 8a4bf081bb97 [2023-02-15T00:12:41.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:12:41.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:12:43.123Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:12:43.123Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:12:43.123Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:12:43.123Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:12:43.123Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:12:43.123Z] OK: 226 MiB in 55 packages [2023-02-15T00:12:44.104Z] Removing intermediate container 8a4bf081bb97 [2023-02-15T00:12:44.104Z] ---> 511c2e580cdc [2023-02-15T00:12:44.104Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:12:44.104Z] ---> Running in f33824775684 [2023-02-15T00:12:44.384Z] Removing intermediate container f33824775684 [2023-02-15T00:12:44.384Z] ---> ff75a6b02c18 [2023-02-15T00:12:44.384Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:12:44.972Z] ---> 8f1be040c26a [2023-02-15T00:12:44.972Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:12:44.972Z] ---> Running in a354d388fe2d [2023-02-15T00:14:06.647Z] Removing intermediate container a354d388fe2d [2023-02-15T00:14:06.647Z] ---> 3703a0a9e787 [2023-02-15T00:14:06.647Z] Step 11/12 : COPY . . [2023-02-15T00:14:06.647Z] ---> 8f5372b92547 [2023-02-15T00:14:06.647Z] Step 12/12 : RUN $MAKE [2023-02-15T00:14:06.647Z] ---> Running in 8a03873c60ba [2023-02-15T00:14:06.647Z] noop [2023-02-15T00:14:06.647Z] Removing intermediate container 8a03873c60ba [2023-02-15T00:14:06.647Z] ---> c833d110f2a8 [2023-02-15T00:14:06.647Z] Successfully built c833d110f2a8 [2023-02-15T00:14:06.647Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:14:06.999Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:14:06.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:14:07.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-5941 does not seem to be running inside a container [2023-02-15T00:14:07.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T00:14:08.517Z] $ docker top 74b535a51cd860c20da939975d7555e1a36cb879c1467052e021e32811036213 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:14:09.350Z] + go version [2023-02-15T00:14:09.350Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:14:09.373Z] $ docker stop --time=1 74b535a51cd860c20da939975d7555e1a36cb879c1467052e021e32811036213 [2023-02-15T00:14:11.778Z] $ docker rm -f --volumes 74b535a51cd860c20da939975d7555e1a36cb879c1467052e021e32811036213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:14:12.340Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:14:12.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:14:12.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-5941 does not seem to be running inside a container [2023-02-15T00:14:12.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T00:14:13.867Z] $ docker top 538c75852ae0ebaf6799044878b978b07b7865c4222f0322ec4577f89da8393f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:14:14.719Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:14:15.386Z] + make test [2023-02-15T00:14:15.386Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:14:16.799Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:15:53.522Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:15:53.522Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 33.9% of statements [2023-02-15T00:15:53.522Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:15:53.522Z] go vet ./... [2023-02-15T00:16:08.526Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:16:08.526Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:16:08.526Z] ./bin/test-attribution-txt.sh [2023-02-15T00:16:08.526Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:16:08.526Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:16:08.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:16:08.562Z] $ docker stop --time=1 538c75852ae0ebaf6799044878b978b07b7865c4222f0322ec4577f89da8393f [2023-02-15T00:16:10.396Z] $ docker rm -f --volumes 538c75852ae0ebaf6799044878b978b07b7865c4222f0322ec4577f89da8393f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:16:11.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:16:11.367Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:16:11.870Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:16:12.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:16:12.586Z] + ls -al . [2023-02-15T00:16:12.586Z] total 184 [2023-02-15T00:16:12.586Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:14 . [2023-02-15T00:16:12.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:11 .. [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:11 .dockerignore [2023-02-15T00:16:12.586Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:11 .git [2023-02-15T00:16:12.586Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:11 .github [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:11 .gitignore [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:11 .golangci.yml [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:11 Attribution.txt [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:11 CHANGELOG.md [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:11 Dockerfile [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:11 GOVERNANCE.md [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:11 Jenkinsfile [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:11 LICENSE [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:11 Makefile [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:11 OWNERS.md [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:11 README.md [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:08 VERSION [2023-02-15T00:16:12.586Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:11 bin [2023-02-15T00:16:12.586Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:11 cmd [2023-02-15T00:16:12.586Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:15 coverage.out [2023-02-15T00:16:12.586Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:11 driver [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:11 go.mod [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:11 go.sum [2023-02-15T00:16:12.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:11 snap [2023-02-15T00:16:12.586Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:16:12.928Z] + 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=424aba27d0571c2bb8561e9e363fc6a6db1a06ed --label arch=arm64 --label version=0.0.0 . [2023-02-15T00:16:12.928Z] Sending build context to Docker daemon 154.1kB [2023-02-15T00:16:13.196Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:16:13.196Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:16:13.196Z] ---> c833d110f2a8 [2023-02-15T00:16:13.196Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:16:13.196Z] ---> Running in ab8a695605c4 [2023-02-15T00:16:13.465Z] Removing intermediate container ab8a695605c4 [2023-02-15T00:16:13.465Z] ---> 92dd1888c119 [2023-02-15T00:16:13.465Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:16:13.465Z] ---> Running in d326da0b0504 [2023-02-15T00:16:14.051Z] Removing intermediate container d326da0b0504 [2023-02-15T00:16:14.051Z] ---> f6a66193d157 [2023-02-15T00:16:14.051Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:16:14.051Z] ---> Running in 70c751741148 [2023-02-15T00:16:14.320Z] Removing intermediate container 70c751741148 [2023-02-15T00:16:14.320Z] ---> d799cfb6753b [2023-02-15T00:16:14.320Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:16:14.320Z] ---> Running in 2b0a6b82bb3d [2023-02-15T00:16:14.594Z] Removing intermediate container 2b0a6b82bb3d [2023-02-15T00:16:14.594Z] ---> 69ff90be6366 [2023-02-15T00:16:14.594Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:16:14.594Z] ---> Running in 0ad4c856d0d7 [2023-02-15T00:16:15.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:16:16.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:16:17.120Z] OK: 226 MiB in 55 packages [2023-02-15T00:16:18.529Z] Removing intermediate container 0ad4c856d0d7 [2023-02-15T00:16:18.529Z] ---> 8d4263194424 [2023-02-15T00:16:18.529Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:16:18.796Z] ---> Running in 7fcd25e8d4a0 [2023-02-15T00:16:19.064Z] Removing intermediate container 7fcd25e8d4a0 [2023-02-15T00:16:19.064Z] ---> 45ea5faaedb6 [2023-02-15T00:16:19.064Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:16:19.650Z] ---> 602680a3325f [2023-02-15T00:16:19.650Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:16:19.650Z] ---> Running in 3bc956bcac76 [2023-02-15T00:16:22.235Z] Removing intermediate container 3bc956bcac76 [2023-02-15T00:16:22.235Z] ---> 18b668abedaa [2023-02-15T00:16:22.235Z] Step 11/25 : COPY . . [2023-02-15T00:16:22.520Z] ---> 9a9d838bd779 [2023-02-15T00:16:22.520Z] Step 12/25 : RUN $MAKE [2023-02-15T00:16:22.789Z] ---> Running in 06c3574254d3 [2023-02-15T00:16:23.751Z] 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-02-15T00:18:30.428Z] Removing intermediate container 06c3574254d3 [2023-02-15T00:18:30.428Z] ---> 3bcb654222e2 [2023-02-15T00:18:30.428Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:18:30.428Z] 3.16: Pulling from library/alpine [2023-02-15T00:18:30.428Z] 3760b48202b3: Pulling fs layer [2023-02-15T00:18:30.428Z] 3760b48202b3: Verifying Checksum [2023-02-15T00:18:30.428Z] 3760b48202b3: Download complete [2023-02-15T00:18:30.428Z] 3760b48202b3: Pull complete [2023-02-15T00:18:30.428Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:18:30.428Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:18:30.428Z] ---> 4c81e5bf8899 [2023-02-15T00:18:30.428Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:18:30.428Z] ---> Running in 132b9f41e6aa [2023-02-15T00:18:30.428Z] Removing intermediate container 132b9f41e6aa [2023-02-15T00:18:30.428Z] ---> a85ae1585c71 [2023-02-15T00:18:30.428Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:18:30.428Z] ---> Running in a9710731a3c6 [2023-02-15T00:18:30.428Z] Removing intermediate container a9710731a3c6 [2023-02-15T00:18:30.428Z] ---> 19b27a240129 [2023-02-15T00:18:30.428Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:18:30.428Z] ---> Running in 7cb707dc7830 [2023-02-15T00:18:30.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:18:30.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:18:30.428Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:18:30.428Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:18:30.428Z] OK: 5 MiB in 15 packages [2023-02-15T00:18:31.392Z] Removing intermediate container 7cb707dc7830 [2023-02-15T00:18:31.392Z] ---> 1a00a74be75d [2023-02-15T00:18:31.392Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:18:32.896Z] ---> e1e1e6242619 [2023-02-15T00:18:32.897Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:18:33.182Z] ---> 92df53a6809f [2023-02-15T00:18:33.182Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:18:33.776Z] ---> cc7fa2bedea6 [2023-02-15T00:18:33.776Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:18:33.776Z] ---> Running in c8a80d1b4b88 [2023-02-15T00:18:34.048Z] Removing intermediate container c8a80d1b4b88 [2023-02-15T00:18:34.048Z] ---> 227320c21e46 [2023-02-15T00:18:34.048Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:18:34.048Z] ---> Running in b15086fcd2a8 [2023-02-15T00:18:34.337Z] Removing intermediate container b15086fcd2a8 [2023-02-15T00:18:34.337Z] ---> 08dad3637871 [2023-02-15T00:18:34.337Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:18:34.621Z] ---> Running in 7b00602d22d7 [2023-02-15T00:18:34.904Z] Removing intermediate container 7b00602d22d7 [2023-02-15T00:18:34.904Z] ---> cd345f85144b [2023-02-15T00:18:34.904Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T00:18:34.904Z] ---> Running in 98757040ab61 [2023-02-15T00:18:35.185Z] Removing intermediate container 98757040ab61 [2023-02-15T00:18:35.185Z] ---> 71107e18d8d6 [2023-02-15T00:18:35.185Z] Step 24/25 : LABEL git_sha=424aba27d0571c2bb8561e9e363fc6a6db1a06ed [2023-02-15T00:18:35.185Z] ---> Running in cd92a5d50d8e [2023-02-15T00:18:35.452Z] Removing intermediate container cd92a5d50d8e [2023-02-15T00:18:35.452Z] ---> 5a17840a3aa8 [2023-02-15T00:18:35.452Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T00:18:35.720Z] ---> Running in ec8e8ba1210b [2023-02-15T00:18:35.987Z] Removing intermediate container ec8e8ba1210b [2023-02-15T00:18:35.987Z] ---> bc65b859b3ea [2023-02-15T00:18:35.987Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:18:35.987Z] Successfully built bc65b859b3ea [2023-02-15T00:18:35.987Z] 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-02-15T00:18:36.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:18:36.419Z] [2023-02-15T00:18:36.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:18:36.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:18:36.760Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:18:36.760Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:18:36.760Z] 04944245beec: Pulling fs layer [2023-02-15T00:18:36.760Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:18:36.760Z] 765212b225bb: Pulling fs layer [2023-02-15T00:18:36.760Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:18:36.760Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:18:36.760Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:18:36.760Z] f23df028b6ca: Waiting [2023-02-15T00:18:36.760Z] d65c8cfc05b1: Waiting [2023-02-15T00:18:36.760Z] 2437ff75d9bd: Waiting [2023-02-15T00:18:36.760Z] 765212b225bb: Waiting [2023-02-15T00:18:37.031Z] 04944245beec: Verifying Checksum [2023-02-15T00:18:37.031Z] 04944245beec: Download complete [2023-02-15T00:18:37.031Z] 765212b225bb: Verifying Checksum [2023-02-15T00:18:37.031Z] 765212b225bb: Download complete [2023-02-15T00:18:37.031Z] f23df028b6ca: Download complete [2023-02-15T00:18:37.031Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:18:37.031Z] d65c8cfc05b1: Download complete [2023-02-15T00:18:37.301Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:18:37.301Z] 699f458cf7ca: Download complete [2023-02-15T00:18:37.571Z] 8998bd30e6a1: Download complete [2023-02-15T00:18:40.160Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:18:40.160Z] 2437ff75d9bd: Download complete [2023-02-15T00:18:41.118Z] 8998bd30e6a1: Pull complete [2023-02-15T00:18:41.699Z] 04944245beec: Pull complete [2023-02-15T00:18:43.103Z] 699f458cf7ca: Pull complete [2023-02-15T00:18:43.103Z] 765212b225bb: Pull complete [2023-02-15T00:18:43.687Z] f23df028b6ca: Pull complete [2023-02-15T00:18:43.954Z] d65c8cfc05b1: Pull complete [2023-02-15T00:18:56.262Z] 2437ff75d9bd: Pull complete [2023-02-15T00:18:56.262Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:18:56.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:18:56.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:18:56.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-5941 does not seem to be running inside a container [2023-02-15T00:18:56.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T00:18:59.194Z] $ docker top e2309d80a5ced835c871bc177424d67b2755ed72540492558b2e51f39d60f608 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:00.033Z] ---> job-cost.sh [2023-02-15T00:19:00.033Z] lf-activate-venv: SKIPPING [2023-02-15T00:19:00.033Z] INFO: No Stack... [2023-02-15T00:19:00.299Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:19:01.256Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:19:01.899Z] + + cut -d, -f6 [2023-02-15T00:19:01.899Z] cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2023-02-15T00:19:01.970Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] [2023-02-15T00:19:01.976Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] did not exist. Created. [2023-02-15T00:19:01.976Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:19:02.323Z] /w/workspace/device-rest-go/2@tmp/durable-8a5f892c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:19:02.979Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:19:03.005Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:19:03.052Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:19:03.061Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-251-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:19:03.083Z] $ docker stop --time=1 e2309d80a5ced835c871bc177424d67b2755ed72540492558b2e51f39d60f608 [2023-02-15T00:19:04.590Z] $ docker rm -f --volumes e2309d80a5ced835c871bc177424d67b2755ed72540492558b2e51f39d60f608 [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-02-15T00:19:04.977Z] provisioning config files... [2023-02-15T00:19:04.983Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config10424344279961339372tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:19:05.277Z] + set +x [2023-02-15T00:19:05.277Z] + curl -s https://codecov.io/bash [2023-02-15T00:19:05.277Z] + bash -s -- [2023-02-15T00:19:05.277Z] [2023-02-15T00:19:05.277Z] _____ _ [2023-02-15T00:19:05.277Z] / ____| | | [2023-02-15T00:19:05.277Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:19:05.277Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:19:05.277Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:19:05.277Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:19:05.277Z] Bash-1.0.6 [2023-02-15T00:19:05.277Z] [2023-02-15T00:19:05.277Z] [2023-02-15T00:19:05.277Z] ==> git version 2.25.1 found [2023-02-15T00:19:05.277Z] ==> 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-02-15T00:19:05.277Z] Release-Date: 2020-01-08 [2023-02-15T00:19:05.277Z] 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-02-15T00:19:05.277Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:19:05.277Z] ==> Jenkins CI detected. [2023-02-15T00:19:05.277Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-251 [2023-02-15T00:19:05.277Z] project root: . [2023-02-15T00:19:05.277Z] --> token set from env [2023-02-15T00:19:05.277Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:19:05.277Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:19:05.277Z] ==> Python coveragepy not found [2023-02-15T00:19:05.277Z] ==> Searching for coverage reports in: [2023-02-15T00:19:05.277Z] + . [2023-02-15T00:19:05.277Z] -> Found 1 reports [2023-02-15T00:19:05.277Z] ==> Detecting git/mercurial file structure [2023-02-15T00:19:05.277Z] ==> Reading reports [2023-02-15T00:19:05.277Z] + ./coverage.out bytes=13744 [2023-02-15T00:19:05.277Z] ==> Appending adjustments [2023-02-15T00:19:05.277Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:19:05.535Z] + Found adjustments [2023-02-15T00:19:05.535Z] ==> Gzipping contents [2023-02-15T00:19:05.535Z] 4.0K /tmp/codecov.Ryyz22.gz [2023-02-15T00:19:05.535Z] ==> Uploading reports [2023-02-15T00:19:05.535Z] url: https://codecov.io [2023-02-15T00:19:05.535Z] query: branch=PR-251&commit=424aba27d0571c2bb8561e9e363fc6a6db1a06ed&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-251%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-02-15T00:19:05.535Z] -> Pinging Codecov [2023-02-15T00:19:05.535Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-251&commit=424aba27d0571c2bb8561e9e363fc6a6db1a06ed&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-251%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-02-15T00:19:05.535Z] -> Uploading to [2023-02-15T00:19:05.535Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/424aba27d0571c2bb8561e9e363fc6a6db1a06ed/b460cf03-d96b-439a-aca6-116d5d69c002.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T001905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ab935d8c3144bd9ede5c2155cac5c8b60723f6a10869f0b9097c9300403b2a6 [2023-02-15T00:19:05.794Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:19:05.794Z] Dload Upload Total Spent Left Speed [2023-02-15T00:19:06.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9253 --:--:-- --:--:-- --:--:-- 9288 [2023-02-15T00:19:06.052Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/424aba27d0571c2bb8561e9e363fc6a6db1a06ed [Pipeline] } [2023-02-15T00:19:06.060Z] 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-02-15T00:19:06.695Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-251/archives ] [2023-02-15T00:19:06.695Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-251/archives [2023-02-15T00:19:06.695Z] total 16 [2023-02-15T00:19:06.695Z] drwxr-xr-x 3 root root 4096 Feb 15 00:10 . [2023-02-15T00:19:06.695Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:10 .. [2023-02-15T00:19:06.695Z] drwxr-xr-x 2 root root 4096 Feb 15 00:10 cost [2023-02-15T00:19:06.695Z] -rw-r--r-- 1 root root 86 Feb 15 00:10 cost.csv [2023-02-15T00:19:06.695Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-251/archives [2023-02-15T00:19:06.695Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-251/archives [2023-02-15T00:19:06.695Z] total 16 [2023-02-15T00:19:06.695Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:10 . [2023-02-15T00:19:06.695Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:10 .. [2023-02-15T00:19:06.695Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:10 cost [2023-02-15T00:19:06.695Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 00:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:06.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:07.834Z] ---> package-listing.sh [2023-02-15T00:19:07.834Z] ++ facter osfamily [2023-02-15T00:19:07.834Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:19:08.092Z] + OS_FAMILY=debian [2023-02-15T00:19:08.092Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-251 [2023-02-15T00:19:08.092Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:19:08.092Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:19:08.092Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:19:08.092Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:19:08.092Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-251 ']' [2023-02-15T00:19:08.092Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:19:08.092Z] + case "${OS_FAMILY}" in [2023-02-15T00:19:08.092Z] + dpkg -l [2023-02-15T00:19:08.092Z] + grep '^ii' [2023-02-15T00:19:08.092Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:19:08.092Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:19:08.092Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:19:08.092Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-251 ']' [2023-02-15T00:19:08.092Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-251/archives/ [2023-02-15T00:19:08.092Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-251/archives/ [Pipeline] echo [2023-02-15T00:19:08.103Z] 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:19:08.376Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:19:08.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:19:08.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:19:09.011Z] prd-ubuntu20.04-docker-8c-8g-5938 does not seem to be running inside a container [2023-02-15T00:19:09.044Z] $ 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-251/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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:19:09.266Z] $ docker top b7f4f0ae42a29e6c574c085809c914c87dfc2b97dcc3b15d6a20676e01bf1d72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:19:09.603Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:19:09.885Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:19:10.166Z] + ls /var/log/sa-host [2023-02-15T00:19:10.166Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:19:10.238Z] provisioning config files... [2023-02-15T00:19:10.246Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config12212230800899151525tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:19:10.260Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:10.539Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:19:10.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:10.858Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:19:10.867Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:11.150Z] ---> sudo-logs.sh [2023-02-15T00:19:11.150Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:19:11.180Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:11.460Z] ---> job-cost.sh [2023-02-15T00:19:11.460Z] lf-activate-venv: SKIPPING [2023-02-15T00:19:11.460Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:19:11.460Z] INFO: Retrieving Stack Cost... [2023-02-15T00:19:12.026Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:19:12.286Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:19:12.299Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:19:12.580Z] ---> logs-deploy.sh [2023-02-15T00:19:12.580Z] lf-activate-venv: SKIPPING [2023-02-15T00:19:12.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-251/2 [2023-02-15T00:19:12.580Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:19:13.515Z] Archives upload complete. [2023-02-15T00:19:13.515Z] INFO: archiving logs to Nexus