Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d86d417b1b1776140d69a231b2ecf52b2e28b3e9+eeb2727d50df763d785a8885935756adc9e2bce2 (4c1051a26b9f802091c714abe380aaf82e878a57) 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-ssh1138184799225404203.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-ssh12606718247075609592.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-256/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-256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15906447344338946301.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-ssh5647289354891202537.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-256/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-256/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8220265724622376859.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6891 in /w/workspace/gexfoundry_device-rest-go_PR-256 [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-256 # 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/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eeb2727d50df763d785a8885935756adc9e2bce2 into PR head commit d86d417b1b1776140d69a231b2ecf52b2e28b3e9 Merge succeeded, producing 22038d534899e2a27f9b5608812392a6f542f4e9 Checking out Revision 22038d534899e2a27f9b5608812392a6f542f4e9 (PR-256) > git config core.sparsecheckout # timeout=10 > git checkout -f d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # 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 eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22038d534899e2a27f9b5608812392a6f542f4e9 # timeout=10 Commit message: "Merge commit 'eeb2727d50df763d785a8885935756adc9e2bce2' into HEAD" > git rev-list --no-walk d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-21T15:07:20.030Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-21T15:07:20.076Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-21T15:07:20.091Z] ========================================================= [2023-02-21T15:07:20.091Z] EdgeX Global Pipelines Version Info [2023-02-21T15:07:20.091Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:07:20.805Z] ------------------- [2023-02-21T15:07:20.805Z] stable info: [2023-02-21T15:07:20.805Z] ------------------- [2023-02-21T15:07:20.805Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-21T15:07:20.805Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T15:07:20.805Z] Message: update stable to v1.0.244 [2023-02-21T15:07:21.375Z] ------------------- [2023-02-21T15:07:21.375Z] experimental info: [2023-02-21T15:07:21.375Z] ------------------- [2023-02-21T15:07:21.375Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-21T15:07:21.375Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T15:07:21.375Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-21T15:07:21.541Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-21T15:07:21.556Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-21T15:07:21.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-21T15:07:21.580Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-21T15:07:21.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-21T15:07:21.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-21T15:07:21.615Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-21T15:07:21.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-21T15:07:21.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-21T15:07:21.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-21T15:07:21.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-21T15:07:21.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-21T15:07:21.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-21T15:07:21.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-21T15:07:21.712Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T15:07:21.734Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T15:07:21.753Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T15:07:21.771Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T15:07:21.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-21T15:07:21.797Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-21T15:07:21.809Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-21T15:07:21.821Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-21T15:07:21.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-21T15:07:21.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-21T15:07:21.857Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-21T15:07:21.868Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-21T15:07:21.881Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-21T15:07:21.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-256 [Pipeline] echo [2023-02-21T15:07:21.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-256 [Pipeline] echo [2023-02-21T15:07:21.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-256 [Pipeline] echo [2023-02-21T15:07:21.935Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22038d534899e2a27f9b5608812392a6f542f4e9 [Pipeline] echo [2023-02-21T15:07:21.952Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22038d5 [Pipeline] echo [2023-02-21T15:07:21.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T15:07:22.007Z] provisioning config files... [2023-02-21T15:07:22.018Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config17636191605549040900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:07:22.315Z] ---> docker-login.sh [2023-02-21T15:07:22.315Z] nexus3.edgexfoundry.org:10001 [2023-02-21T15:07:22.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:22.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:22.578Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:22.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:22.578Z] [2023-02-21T15:07:22.578Z] Login Succeeded [2023-02-21T15:07:22.578Z] nexus3.edgexfoundry.org:10002 [2023-02-21T15:07:22.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:22.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:22.838Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:22.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:22.838Z] [2023-02-21T15:07:22.838Z] Login Succeeded [2023-02-21T15:07:22.838Z] nexus3.edgexfoundry.org:10003 [2023-02-21T15:07:22.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:22.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:22.838Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:22.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:22.838Z] [2023-02-21T15:07:22.838Z] Login Succeeded [2023-02-21T15:07:22.838Z] nexus3.edgexfoundry.org:10004 [2023-02-21T15:07:23.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:23.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:23.102Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:23.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:23.102Z] [2023-02-21T15:07:23.102Z] Login Succeeded [2023-02-21T15:07:23.102Z] docker.io [2023-02-21T15:07:23.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:23.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:23.362Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:23.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:23.362Z] [2023-02-21T15:07:23.362Z] Login Succeeded [2023-02-21T15:07:23.362Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T15:07:23.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-21T15:07:23.764Z] + git rev-list -1 --merges 22038d534899e2a27f9b5608812392a6f542f4e9~1..22038d534899e2a27f9b5608812392a6f542f4e9 [Pipeline] echo [2023-02-21T15:07:23.812Z] -----------> git rev-list -1 --merges 22038d534899e2a27f9b5608812392a6f542f4e9~1..22038d534899e2a27f9b5608812392a6f542f4e9 22038d534899e2a27f9b5608812392a6f542f4e9 [2023-02-21T15:07:23.812Z] 22038d534899e2a27f9b5608812392a6f542f4e9 [false] [Pipeline] sh [2023-02-21T15:07:24.103Z] + git log --format=format:%s -1 22038d534899e2a27f9b5608812392a6f542f4e9 [Pipeline] echo [2023-02-21T15:07:24.118Z] ========================================================= [2023-02-21T15:07:24.118Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-21T15:07:24.118Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T15:07:24.437Z] + git log --format=format:%s -1 22038d534899e2a27f9b5608812392a6f542f4e9 [Pipeline] echo [2023-02-21T15:07:24.449Z] [semverPrep] GIT_COMMIT: 22038d534899e2a27f9b5608812392a6f542f4e9, Commit Message: Merge commit 'eeb2727d50df763d785a8885935756adc9e2bce2' into HEAD [Pipeline] echo [2023-02-21T15:07:24.459Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-21T15:07:24.831Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T15:07:24.831Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-21T15:07:24.831Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-21T15:07:24.831Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-21T15:07:24.831Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-02-21T15:07:24.831Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-21T15:07:24.831Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:07:25.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T15:07:25.289Z] [2023-02-21T15:07:25.289Z] 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-21T15:07:25.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T15:07:25.600Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-21T15:07:25.600Z] b85a868b505f: Pulling fs layer [2023-02-21T15:07:25.600Z] e2be974225ed: Pulling fs layer [2023-02-21T15:07:25.600Z] 339a4e72a1f5: Pulling fs layer [2023-02-21T15:07:25.600Z] 988bab9f4d93: Pulling fs layer [2023-02-21T15:07:25.600Z] 1469e6f7b9e6: Pulling fs layer [2023-02-21T15:07:25.600Z] eaf3925da568: Pulling fs layer [2023-02-21T15:07:25.600Z] bab4dde63d76: Pulling fs layer [2023-02-21T15:07:25.600Z] bde34c3a00c8: Pulling fs layer [2023-02-21T15:07:25.600Z] b352a97aabf1: Pulling fs layer [2023-02-21T15:07:25.600Z] 4872d77fe225: Pulling fs layer [2023-02-21T15:07:25.600Z] 5851b861e8e6: Pulling fs layer [2023-02-21T15:07:25.600Z] bab4dde63d76: Waiting [2023-02-21T15:07:25.600Z] bde34c3a00c8: Waiting [2023-02-21T15:07:25.600Z] b352a97aabf1: Waiting [2023-02-21T15:07:25.600Z] 4872d77fe225: Waiting [2023-02-21T15:07:25.600Z] 5851b861e8e6: Waiting [2023-02-21T15:07:25.600Z] 988bab9f4d93: Waiting [2023-02-21T15:07:25.600Z] 1469e6f7b9e6: Waiting [2023-02-21T15:07:25.600Z] eaf3925da568: Waiting [2023-02-21T15:07:25.600Z] e2be974225ed: Verifying Checksum [2023-02-21T15:07:25.600Z] e2be974225ed: Download complete [2023-02-21T15:07:25.600Z] 988bab9f4d93: Verifying Checksum [2023-02-21T15:07:25.600Z] 988bab9f4d93: Download complete [2023-02-21T15:07:25.863Z] 1469e6f7b9e6: Verifying Checksum [2023-02-21T15:07:25.864Z] 1469e6f7b9e6: Download complete [2023-02-21T15:07:25.864Z] 339a4e72a1f5: Verifying Checksum [2023-02-21T15:07:25.864Z] 339a4e72a1f5: Download complete [2023-02-21T15:07:25.864Z] eaf3925da568: Verifying Checksum [2023-02-21T15:07:25.864Z] eaf3925da568: Download complete [2023-02-21T15:07:25.864Z] bde34c3a00c8: Download complete [2023-02-21T15:07:25.864Z] b352a97aabf1: Verifying Checksum [2023-02-21T15:07:25.864Z] b352a97aabf1: Download complete [2023-02-21T15:07:25.864Z] 4872d77fe225: Verifying Checksum [2023-02-21T15:07:25.864Z] 4872d77fe225: Download complete [2023-02-21T15:07:25.864Z] 5851b861e8e6: Download complete [2023-02-21T15:07:25.864Z] b85a868b505f: Verifying Checksum [2023-02-21T15:07:25.864Z] b85a868b505f: Download complete [2023-02-21T15:07:26.433Z] bab4dde63d76: Verifying Checksum [2023-02-21T15:07:26.433Z] bab4dde63d76: Download complete [2023-02-21T15:07:27.001Z] b85a868b505f: Pull complete [2023-02-21T15:07:27.259Z] e2be974225ed: Pull complete [2023-02-21T15:07:27.828Z] 339a4e72a1f5: Pull complete [2023-02-21T15:07:27.828Z] 988bab9f4d93: Pull complete [2023-02-21T15:07:28.088Z] 1469e6f7b9e6: Pull complete [2023-02-21T15:07:28.089Z] eaf3925da568: Pull complete [2023-02-21T15:07:29.995Z] bab4dde63d76: Pull complete [2023-02-21T15:07:29.995Z] bde34c3a00c8: Pull complete [2023-02-21T15:07:29.995Z] b352a97aabf1: Pull complete [2023-02-21T15:07:29.995Z] 4872d77fe225: Pull complete [2023-02-21T15:07:29.995Z] 5851b861e8e6: Pull complete [2023-02-21T15:07:29.995Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-21T15:07:29.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T15:07:29.995Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:07:30.125Z] prd-ubuntu20.04-docker-8c-8g-6891 does not seem to be running inside a container [2023-02-21T15:07:30.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-21T15:07:31.681Z] $ docker top 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 -eo pid,comm [2023-02-21T15:07:31.734Z] 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-21T15:07:31.734Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T15:07:31.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T15:07:31.781Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T15:07:31.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T15:07:31.896Z] $ docker exec 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 ssh-agent [2023-02-21T15:07:32.003Z] SSH_AUTH_SOCK=/tmp/ssh-WLdBEt5pbgvv/agent.31 [2023-02-21T15:07:32.003Z] SSH_AGENT_PID=37 [2023-02-21T15:07:32.010Z] Running ssh-add (command line suppressed) [2023-02-21T15:07:32.116Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_11016725033209104244.key (/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_11016725033209104244.key) [2023-02-21T15:07:32.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T15:07:32.419Z] + git tag --points-at HEAD [Pipeline] } [2023-02-21T15:07:32.438Z] $ docker exec --env ******** --env ******** 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 ssh-agent -k [2023-02-21T15:07:32.540Z] unset SSH_AUTH_SOCK; [2023-02-21T15:07:32.541Z] unset SSH_AGENT_PID; [2023-02-21T15:07:32.541Z] echo Agent pid 37 killed; [2023-02-21T15:07:32.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-21T15:07:32.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T15:07:32.582Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T15:07:32.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T15:07:32.696Z] $ docker exec 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 ssh-agent [2023-02-21T15:07:32.807Z] SSH_AUTH_SOCK=/tmp/ssh-Nck37GtOCDAZ/agent.70 [2023-02-21T15:07:32.807Z] SSH_AGENT_PID=76 [2023-02-21T15:07:32.812Z] Running ssh-add (command line suppressed) [2023-02-21T15:07:32.920Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_14269925763512651782.key (/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/private_key_14269925763512651782.key) [2023-02-21T15:07:32.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T15:07:33.231Z] + git semver init [2023-02-21T15:07:33.491Z] 2023-02-21 15:07:33,414 [run_init] DEBUG init version:0.0.0 force:False [2023-02-21T15:07:33.491Z] 2023-02-21 15:07:33,415 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-256/.semver [2023-02-21T15:07:33.491Z] 2023-02-21 15:07:33,415 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-256/.semver [2023-02-21T15:07:33.491Z] 2023-02-21 15:07:33,415 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-256/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-256, universal_newlines=False, shell=None, istream=None) [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,497 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-256/.git/info/exclude [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,497 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-256/.semver/PR-256 with force:False [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,497 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-256/.semver/PR-256 [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,502 [execute] INFO git cat-file --batch-check [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-256/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,508 [execute] INFO git cat-file --batch [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-256/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T15:07:34.870Z] 2023-02-21 15:07:34,513 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-256/.semver/PR-256 [2023-02-21T15:07:34.870Z] 0.0.0 [Pipeline] } [2023-02-21T15:07:34.883Z] $ docker exec --env ******** --env ******** 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 ssh-agent -k [2023-02-21T15:07:34.979Z] unset SSH_AUTH_SOCK; [2023-02-21T15:07:34.980Z] unset SSH_AGENT_PID; [2023-02-21T15:07:34.980Z] echo Agent pid 76 killed; [2023-02-21T15:07:34.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T15:07:35.291Z] + git semver [Pipeline] } [2023-02-21T15:07:35.568Z] $ docker stop --time=1 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 [2023-02-21T15:07:36.956Z] $ docker rm -f --volumes 30c10d95c191c80b3ce28cfe27ccec142c26402e54b5d180336e340a2d4ed2c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T15:07:37.297Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-21T15:07:37.518Z] Stashed 1 file(s) [Pipeline] echo [2023-02-21T15:07:37.523Z] [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-21T15:07:37.641Z] provisioning config files... [2023-02-21T15:07:37.651Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config5789003367656272119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:07:37.949Z] ---> docker-login.sh [2023-02-21T15:07:37.949Z] nexus3.edgexfoundry.org:10001 [2023-02-21T15:07:37.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:37.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:37.949Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:37.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:37.949Z] [2023-02-21T15:07:37.949Z] Login Succeeded [2023-02-21T15:07:37.949Z] nexus3.edgexfoundry.org:10002 [2023-02-21T15:07:37.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:37.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:37.949Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:37.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:37.949Z] [2023-02-21T15:07:37.949Z] Login Succeeded [2023-02-21T15:07:37.949Z] nexus3.edgexfoundry.org:10003 [2023-02-21T15:07:38.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:38.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:38.212Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:38.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:38.212Z] [2023-02-21T15:07:38.212Z] Login Succeeded [2023-02-21T15:07:38.212Z] nexus3.edgexfoundry.org:10004 [2023-02-21T15:07:38.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:38.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:38.212Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:38.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:38.212Z] [2023-02-21T15:07:38.212Z] Login Succeeded [2023-02-21T15:07:38.212Z] docker.io [2023-02-21T15:07:38.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:07:38.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:07:38.472Z] Configure a credential helper to remove this warning. See [2023-02-21T15:07:38.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:07:38.472Z] [2023-02-21T15:07:38.472Z] Login Succeeded [2023-02-21T15:07:38.472Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T15:07:38.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T15:07:38.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:07:38.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:07:38.564Z] ========================================================= [2023-02-21T15:07:38.564Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-21T15:07:38.564Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:07:38.873Z] + 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-21T15:07:38.873Z] Sending build context to Docker daemon 10.83MB [2023-02-21T15:07:38.873Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:07:38.873Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-21T15:07:38.873Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-21T15:07:38.873Z] 213ec9aee27d: Pulling fs layer [2023-02-21T15:07:38.873Z] 4583459ba037: Pulling fs layer [2023-02-21T15:07:38.873Z] 93c1e223e6f2: Pulling fs layer [2023-02-21T15:07:38.873Z] 53926ce57604: Pulling fs layer [2023-02-21T15:07:38.873Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-21T15:07:38.873Z] 22ff95d597cd: Pulling fs layer [2023-02-21T15:07:38.873Z] 12d6caf4c0d1: Pulling fs layer [2023-02-21T15:07:38.873Z] 96b7cbca73a9: Pulling fs layer [2023-02-21T15:07:38.873Z] a7acece74701: Pulling fs layer [2023-02-21T15:07:38.873Z] 53926ce57604: Waiting [2023-02-21T15:07:38.873Z] 21b2b0c7a3f4: Waiting [2023-02-21T15:07:38.873Z] 22ff95d597cd: Waiting [2023-02-21T15:07:38.873Z] 12d6caf4c0d1: Waiting [2023-02-21T15:07:38.873Z] 96b7cbca73a9: Waiting [2023-02-21T15:07:38.873Z] a7acece74701: Waiting [2023-02-21T15:07:38.873Z] 93c1e223e6f2: Verifying Checksum [2023-02-21T15:07:38.873Z] 93c1e223e6f2: Download complete [2023-02-21T15:07:38.873Z] 4583459ba037: Download complete [2023-02-21T15:07:38.873Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-21T15:07:38.873Z] 21b2b0c7a3f4: Download complete [2023-02-21T15:07:39.135Z] 22ff95d597cd: Download complete [2023-02-21T15:07:39.135Z] 213ec9aee27d: Verifying Checksum [2023-02-21T15:07:39.135Z] 213ec9aee27d: Download complete [2023-02-21T15:07:39.136Z] 12d6caf4c0d1: Download complete [2023-02-21T15:07:39.136Z] 213ec9aee27d: Pull complete [2023-02-21T15:07:39.404Z] 4583459ba037: Pull complete [2023-02-21T15:07:39.404Z] 93c1e223e6f2: Pull complete [2023-02-21T15:07:39.690Z] a7acece74701: Verifying Checksum [2023-02-21T15:07:39.690Z] a7acece74701: Download complete [2023-02-21T15:07:39.952Z] 96b7cbca73a9: Download complete [2023-02-21T15:07:39.952Z] 53926ce57604: Verifying Checksum [2023-02-21T15:07:39.952Z] 53926ce57604: Download complete [2023-02-21T15:07:44.149Z] 53926ce57604: Pull complete [2023-02-21T15:07:44.149Z] 21b2b0c7a3f4: Pull complete [2023-02-21T15:07:44.149Z] 22ff95d597cd: Pull complete [2023-02-21T15:07:44.149Z] 12d6caf4c0d1: Pull complete [2023-02-21T15:07:46.050Z] 96b7cbca73a9: Pull complete [2023-02-21T15:07:46.989Z] a7acece74701: Pull complete [2023-02-21T15:07:46.989Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-21T15:07:46.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-21T15:07:46.989Z] ---> db6d94c90886 [2023-02-21T15:07:46.989Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-21T15:07:48.900Z] ---> Running in 9144b3fa2fc6 [2023-02-21T15:07:48.900Z] Removing intermediate container 9144b3fa2fc6 [2023-02-21T15:07:48.900Z] ---> e05722332647 [2023-02-21T15:07:48.900Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T15:07:48.900Z] ---> Running in 983304e8e9b1 [2023-02-21T15:07:48.900Z] Removing intermediate container 983304e8e9b1 [2023-02-21T15:07:48.900Z] ---> fd74987dbba1 [2023-02-21T15:07:48.900Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T15:07:49.159Z] ---> Running in b8338d7aa3ee [2023-02-21T15:07:49.159Z] Removing intermediate container b8338d7aa3ee [2023-02-21T15:07:49.159Z] ---> 340d495628b7 [2023-02-21T15:07:49.159Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T15:07:49.159Z] ---> Running in 45d2033bc7ef [2023-02-21T15:07:49.419Z] Removing intermediate container 45d2033bc7ef [2023-02-21T15:07:49.419Z] ---> 24ac5c7a7eae [2023-02-21T15:07:49.419Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T15:07:49.419Z] ---> Running in 093579b4ca1d [2023-02-21T15:07:49.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T15:07:49.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T15:07:50.199Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-21T15:07:50.199Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-21T15:07:50.199Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-21T15:07:50.199Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-21T15:07:50.199Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T15:07:50.200Z] OK: 216 MiB in 55 packages [2023-02-21T15:07:50.771Z] Removing intermediate container 093579b4ca1d [2023-02-21T15:07:50.771Z] ---> 1331684de818 [2023-02-21T15:07:50.771Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-21T15:07:50.771Z] ---> Running in 6c1068088451 [2023-02-21T15:07:50.771Z] Removing intermediate container 6c1068088451 [2023-02-21T15:07:50.771Z] ---> 48618447aeb5 [2023-02-21T15:07:50.771Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-21T15:07:50.771Z] ---> 487674a54985 [2023-02-21T15:07:50.771Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:07:51.030Z] ---> Running in 89395c9b470b [2023-02-21T15:07:52.606Z] Still waiting to schedule task [2023-02-21T15:07:52.607Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-21T15:08:23.114Z] Removing intermediate container 89395c9b470b [2023-02-21T15:08:23.114Z] ---> c43383a15cc9 [2023-02-21T15:08:23.114Z] Step 11/12 : COPY . . [2023-02-21T15:08:23.114Z] ---> edbed01e5aa5 [2023-02-21T15:08:23.114Z] Step 12/12 : RUN $MAKE [2023-02-21T15:08:23.114Z] ---> Running in 88f63618da01 [2023-02-21T15:08:23.114Z] noop [2023-02-21T15:08:23.114Z] Removing intermediate container 88f63618da01 [2023-02-21T15:08:23.114Z] ---> 16124110a4e2 [2023-02-21T15:08:23.114Z] Successfully built 16124110a4e2 [2023-02-21T15:08:23.114Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:08:23.423Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T15:08:23.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:08:23.488Z] prd-ubuntu20.04-docker-8c-8g-6891 does not seem to be running inside a container [2023-02-21T15:08:23.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-21T15:08:23.890Z] $ docker top 844ce82fb7203558a795fbd29012a5174dbaa7028e6be13f17c60fb8c9b78557 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:08:24.225Z] + go version [2023-02-21T15:08:24.225Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-21T15:08:24.243Z] $ docker stop --time=1 844ce82fb7203558a795fbd29012a5174dbaa7028e6be13f17c60fb8c9b78557 [2023-02-21T15:08:25.526Z] $ docker rm -f --volumes 844ce82fb7203558a795fbd29012a5174dbaa7028e6be13f17c60fb8c9b78557 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:08:25.950Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T15:08:25.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:08:26.020Z] prd-ubuntu20.04-docker-8c-8g-6891 does not seem to be running inside a container [2023-02-21T15:08:26.058Z] $ 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-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-21T15:08:26.414Z] $ docker top 722960a8125d7529bfb9be6069c0c1908c566b4f8c3887e3cb9dabaea12ba8a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:08:26.750Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-256 [Pipeline] fileExists [Pipeline] sh [2023-02-21T15:08:27.043Z] + make test [2023-02-21T15:08:27.043Z] go test ./... -coverprofile=coverage.out ./... [2023-02-21T15:08:27.302Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-21T15:08:35.405Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-21T15:08:35.973Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.9% of statements [2023-02-21T15:08:42.534Z] 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-21T15:08:42.534Z] go vet ./... [2023-02-21T15:08:45.063Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T15:08:45.063Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T15:08:45.063Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T15:08:45.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T15:08:45.091Z] $ docker stop --time=1 722960a8125d7529bfb9be6069c0c1908c566b4f8c3887e3cb9dabaea12ba8a7 [2023-02-21T15:08:46.858Z] $ docker rm -f --volumes 722960a8125d7529bfb9be6069c0c1908c566b4f8c3887e3cb9dabaea12ba8a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T15:08:47.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T15:08:47.326Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-21T15:08:47.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T15:08:48.104Z] + ls -al . [2023-02-21T15:08:48.104Z] total 188 [2023-02-21T15:08:48.104Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 15:08 . [2023-02-21T15:08:48.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:07 .. [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 21 15:07 .dockerignore [2023-02-21T15:08:48.104Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 15:08 .git [2023-02-21T15:08:48.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 15:07 .github [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 21 15:07 .gitignore [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 15:07 .golangci.yml [2023-02-21T15:08:48.104Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 15:07 .semver [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 21 15:07 Attribution.txt [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 21 15:07 CHANGELOG.md [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 21 15:07 Dockerfile [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 15:07 GOVERNANCE.md [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 15:07 Jenkinsfile [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 15:07 LICENSE [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 21 15:07 Makefile [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 15:07 OWNERS.md [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 21 15:07 README.md [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 15:07 VERSION [2023-02-21T15:08:48.104Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:07 bin [2023-02-21T15:08:48.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 15:07 cmd [2023-02-21T15:08:48.104Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 21 15:08 coverage.out [2023-02-21T15:08:48.104Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:07 driver [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 21 15:07 go.mod [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 21 15:07 go.sum [2023-02-21T15:08:48.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:07 snap [2023-02-21T15:08:48.104Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 21 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:08:48.407Z] + 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=22038d534899e2a27f9b5608812392a6f542f4e9 --label arch=amd64 --label version=0.0.0 . [2023-02-21T15:08:48.407Z] Sending build context to Docker daemon 10.84MB [2023-02-21T15:08:48.407Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:08:48.407Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-21T15:08:48.407Z] ---> 16124110a4e2 [2023-02-21T15:08:48.407Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-21T15:08:48.407Z] ---> Running in 3d22a5b97df3 [2023-02-21T15:08:48.666Z] Removing intermediate container 3d22a5b97df3 [2023-02-21T15:08:48.666Z] ---> 8db69129f7ee [2023-02-21T15:08:48.666Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T15:08:48.666Z] ---> Running in 40f0be70787a [2023-02-21T15:08:48.666Z] Removing intermediate container 40f0be70787a [2023-02-21T15:08:48.666Z] ---> 2af73729ed9f [2023-02-21T15:08:48.666Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T15:08:48.666Z] ---> Running in 9101627de6c8 [2023-02-21T15:08:48.925Z] Removing intermediate container 9101627de6c8 [2023-02-21T15:08:48.925Z] ---> ea8e7484eb57 [2023-02-21T15:08:48.925Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T15:08:48.925Z] ---> Running in b8156e80ee37 [2023-02-21T15:08:48.925Z] Removing intermediate container b8156e80ee37 [2023-02-21T15:08:48.925Z] ---> af6016bdc4e0 [2023-02-21T15:08:48.925Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T15:08:48.925Z] ---> Running in f7378df4c996 [2023-02-21T15:08:49.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T15:08:49.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T15:08:49.701Z] OK: 216 MiB in 55 packages [2023-02-21T15:08:49.961Z] Removing intermediate container f7378df4c996 [2023-02-21T15:08:49.961Z] ---> ad5aac1f1c2b [2023-02-21T15:08:49.961Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-21T15:08:50.222Z] ---> Running in 942e38554586 [2023-02-21T15:08:50.222Z] Removing intermediate container 942e38554586 [2023-02-21T15:08:50.222Z] ---> 3ea69566d067 [2023-02-21T15:08:50.222Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-21T15:08:50.222Z] ---> de4d55d05f0c [2023-02-21T15:08:50.222Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:08:50.481Z] ---> Running in d49f8b4f8bbe [2023-02-21T15:08:51.421Z] Removing intermediate container d49f8b4f8bbe [2023-02-21T15:08:51.421Z] ---> 879d898ef2d8 [2023-02-21T15:08:51.421Z] Step 11/25 : COPY . . [2023-02-21T15:08:51.421Z] ---> 027690b705c2 [2023-02-21T15:08:51.421Z] Step 12/25 : RUN $MAKE [2023-02-21T15:08:51.679Z] ---> Running in e541c589cacf [2023-02-21T15:08:51.938Z] 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-21T15:09:10.007Z] Removing intermediate container e541c589cacf [2023-02-21T15:09:10.007Z] ---> 9d86a0a0d66b [2023-02-21T15:09:10.007Z] Step 13/25 : FROM alpine:3.16 [2023-02-21T15:09:10.007Z] 3.16: Pulling from library/alpine [2023-02-21T15:09:10.007Z] ef5531b6e74e: Pulling fs layer [2023-02-21T15:09:10.007Z] ef5531b6e74e: Verifying Checksum [2023-02-21T15:09:10.007Z] ef5531b6e74e: Download complete [2023-02-21T15:09:10.007Z] ef5531b6e74e: Pull complete [2023-02-21T15:09:10.007Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-21T15:09:10.007Z] Status: Downloaded newer image for alpine:3.16 [2023-02-21T15:09:10.007Z] ---> dfd21b5a31f5 [2023-02-21T15:09:10.007Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-21T15:09:10.007Z] ---> Running in df27ff876cd2 [2023-02-21T15:09:10.007Z] Removing intermediate container df27ff876cd2 [2023-02-21T15:09:10.007Z] ---> 8b83f9370e9d [2023-02-21T15:09:10.007Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-21T15:09:10.007Z] ---> Running in d24865f48118 [2023-02-21T15:09:10.007Z] Removing intermediate container d24865f48118 [2023-02-21T15:09:10.007Z] ---> 1cc09a688fd3 [2023-02-21T15:09:10.007Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-21T15:09:10.007Z] ---> Running in c6540339173f [2023-02-21T15:09:10.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T15:09:10.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T15:09:10.783Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-21T15:09:10.783Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T15:09:10.783Z] OK: 6 MiB in 15 packages [2023-02-21T15:09:11.041Z] Removing intermediate container c6540339173f [2023-02-21T15:09:11.041Z] ---> 2e575eb8c67d [2023-02-21T15:09:11.041Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-21T15:09:11.607Z] ---> cbede1f14d30 [2023-02-21T15:09:11.607Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-21T15:09:11.864Z] ---> a18f1bbe6aa5 [2023-02-21T15:09:11.865Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-21T15:09:11.865Z] ---> f39647c1bc49 [2023-02-21T15:09:11.865Z] Step 20/25 : EXPOSE 59986 [2023-02-21T15:09:11.865Z] ---> Running in fdf0bfef72f7 [2023-02-21T15:09:12.123Z] Removing intermediate container fdf0bfef72f7 [2023-02-21T15:09:12.123Z] ---> 95fcf960e095 [2023-02-21T15:09:12.123Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-21T15:09:12.123Z] ---> Running in 9f1fdfd4f134 [2023-02-21T15:09:12.123Z] Removing intermediate container 9f1fdfd4f134 [2023-02-21T15:09:12.123Z] ---> 68c6d8bb31d6 [2023-02-21T15:09:12.123Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-21T15:09:12.123Z] ---> Running in ec8d4ab0e05c [2023-02-21T15:09:12.381Z] Removing intermediate container ec8d4ab0e05c [2023-02-21T15:09:12.381Z] ---> cb0bb44b3d2c [2023-02-21T15:09:12.381Z] Step 23/25 : LABEL arch=amd64 [2023-02-21T15:09:12.381Z] ---> Running in 5e538a92826c [2023-02-21T15:09:12.381Z] Removing intermediate container 5e538a92826c [2023-02-21T15:09:12.381Z] ---> de8ff4ccfbe6 [2023-02-21T15:09:12.381Z] Step 24/25 : LABEL git_sha=22038d534899e2a27f9b5608812392a6f542f4e9 [2023-02-21T15:09:12.381Z] ---> Running in 3162e5e22ac2 [2023-02-21T15:09:12.640Z] Removing intermediate container 3162e5e22ac2 [2023-02-21T15:09:12.640Z] ---> f38d37912d29 [2023-02-21T15:09:12.640Z] Step 25/25 : LABEL version=0.0.0 [2023-02-21T15:09:12.640Z] ---> Running in 9a84a4e0205d [2023-02-21T15:09:12.640Z] Removing intermediate container 9a84a4e0205d [2023-02-21T15:09:12.640Z] ---> 5c8bc01c805d [2023-02-21T15:09:12.640Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T15:09:12.640Z] Successfully built 5c8bc01c805d [2023-02-21T15:09:12.640Z] 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-21T15:09:13.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:09:13.075Z] [2023-02-21T15:09:13.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:09:13.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:09:13.372Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-21T15:09:13.372Z] 5eb5b503b376: Pulling fs layer [2023-02-21T15:09:13.372Z] 5c69ac0246d0: Pulling fs layer [2023-02-21T15:09:13.372Z] ec43610c2a17: Pulling fs layer [2023-02-21T15:09:13.372Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-21T15:09:13.372Z] 33b1e0a273af: Pulling fs layer [2023-02-21T15:09:13.372Z] 5d3b04190fa2: Pulling fs layer [2023-02-21T15:09:13.372Z] 2f39f015ded8: Pulling fs layer [2023-02-21T15:09:13.372Z] 3a2ae6a8a46f: Waiting [2023-02-21T15:09:13.372Z] 33b1e0a273af: Waiting [2023-02-21T15:09:13.372Z] 5d3b04190fa2: Waiting [2023-02-21T15:09:13.372Z] 2f39f015ded8: Waiting [2023-02-21T15:09:13.372Z] 5c69ac0246d0: Verifying Checksum [2023-02-21T15:09:13.372Z] 5c69ac0246d0: Download complete [2023-02-21T15:09:13.372Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-21T15:09:13.372Z] 3a2ae6a8a46f: Download complete [2023-02-21T15:09:13.632Z] 33b1e0a273af: Verifying Checksum [2023-02-21T15:09:13.632Z] 33b1e0a273af: Download complete [2023-02-21T15:09:13.632Z] 5d3b04190fa2: Download complete [2023-02-21T15:09:13.632Z] ec43610c2a17: Verifying Checksum [2023-02-21T15:09:13.632Z] ec43610c2a17: Download complete [2023-02-21T15:09:13.632Z] 5eb5b503b376: Verifying Checksum [2023-02-21T15:09:13.632Z] 5eb5b503b376: Download complete [2023-02-21T15:09:14.198Z] 2f39f015ded8: Verifying Checksum [2023-02-21T15:09:14.198Z] 2f39f015ded8: Download complete [2023-02-21T15:09:14.764Z] 5eb5b503b376: Pull complete [2023-02-21T15:09:14.764Z] 5c69ac0246d0: Pull complete [2023-02-21T15:09:15.328Z] ec43610c2a17: Pull complete [2023-02-21T15:09:15.328Z] 3a2ae6a8a46f: Pull complete [2023-02-21T15:09:15.588Z] 33b1e0a273af: Pull complete [2023-02-21T15:09:15.588Z] 5d3b04190fa2: Pull complete [2023-02-21T15:09:15.816Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6892 in /w/workspace/gexfoundry_device-rest-go_PR-256 [Pipeline] { [Pipeline] ws [2023-02-21T15:09:15.830Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-02-21T15:09:15.859Z] The recommended git tool is: git [2023-02-21T15:09:19.771Z] 2f39f015ded8: Pull complete [2023-02-21T15:09:19.771Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-21T15:09:19.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:09:19.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:09:19.855Z] prd-ubuntu20.04-docker-8c-8g-6891 does not seem to be running inside a container [2023-02-21T15:09:19.889Z] $ 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-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-21T15:09:21.085Z] using credential edgex-jenkins-ssh [2023-02-21T15:09:21.134Z] Cloning the remote Git repository [2023-02-21T15:09:21.165Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-21T15:09:21.218Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-02-21T15:09:21.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-21T15:09:21.352Z] > git --version # timeout=10 [2023-02-21T15:09:21.370Z] > git --version # 'git version 2.25.1' [2023-02-21T15:09:21.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T15:09:21.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T15:09:23.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-21T15:09:23.381Z] $ docker top fbf1afff58c83288697c3d357ebf9dd12af64a3dde676f29c058d08e3001dc46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:09:23.775Z] ---> job-cost.sh [2023-02-21T15:09:23.775Z] lf-activate-venv: SKIPPING [2023-02-21T15:09:23.775Z] INFO: No Stack... [2023-02-21T15:09:24.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T15:09:24.600Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T15:09:23.367Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T15:09:24.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-21T15:09:24.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-21T15:09:24.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T15:09:24.241Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-21T15:09:24.834Z] Merging remotes/origin/main commit eeb2727d50df763d785a8885935756adc9e2bce2 into PR head commit d86d417b1b1776140d69a231b2ecf52b2e28b3e9 [2023-02-21T15:09:24.890Z] + cut -d, -f6 [2023-02-21T15:09:24.891Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-256/archives/cost.csv [Pipeline] lock [2023-02-21T15:09:24.906Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] [2023-02-21T15:09:24.913Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] did not exist. Created. [2023-02-21T15:09:24.913Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T15:09:25.066Z] Merge succeeded, producing 13aaab068db02b00b8534a07944c8362132f6609 [2023-02-21T15:09:25.066Z] Checking out Revision 13aaab068db02b00b8534a07944c8362132f6609 (PR-256) [2023-02-21T15:09:25.215Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-21T15:09:25.246Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T15:09:25.253Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T15:09:25.274Z] $ docker stop --time=1 fbf1afff58c83288697c3d357ebf9dd12af64a3dde676f29c058d08e3001dc46 [2023-02-21T15:09:24.845Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T15:09:24.864Z] > git checkout -f d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # timeout=10 [2023-02-21T15:09:24.943Z] > git remote # timeout=10 [2023-02-21T15:09:24.959Z] > git config --get remote.origin.url # timeout=10 [2023-02-21T15:09:24.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T15:09:24.992Z] > git merge eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 [2023-02-21T15:09:25.047Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-21T15:09:25.067Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T15:09:25.082Z] > git checkout -f 13aaab068db02b00b8534a07944c8362132f6609 # timeout=10 [2023-02-21T15:09:26.453Z] $ docker rm -f --volumes fbf1afff58c83288697c3d357ebf9dd12af64a3dde676f29c058d08e3001dc46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-21T15:09:28.571Z] Commit message: "Merge commit 'eeb2727d50df763d785a8885935756adc9e2bce2' into HEAD" [2023-02-21T15:09:28.577Z] > git rev-list --no-walk d86d417b1b1776140d69a231b2ecf52b2e28b3e9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T15:09:29.674Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-21T15:09:29.674Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T15:09:29.674Z] Dload Upload Total Spent Left Speed [2023-02-21T15:09:29.674Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-02-21T15:09:30.266Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-21T15:09:30.594Z] + sudo tee /etc/docker/daemon.new [2023-02-21T15:09:30.594Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-21T15:09:30.594Z] { [2023-02-21T15:09:30.594Z] "registry-mirrors": [ [2023-02-21T15:09:30.594Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-21T15:09:30.594Z] ], [2023-02-21T15:09:30.595Z] "bip": "10.250.0.254/24", [2023-02-21T15:09:30.595Z] "hosts": [ [2023-02-21T15:09:30.595Z] "tcp://0.0.0.0:5555", [2023-02-21T15:09:30.595Z] "unix:///var/run/docker.sock" [2023-02-21T15:09:30.595Z] ], [2023-02-21T15:09:30.595Z] "mtu": 1458, [2023-02-21T15:09:30.595Z] "selinux-enabled": true, [2023-02-21T15:09:30.595Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-21T15:09:30.595Z] } [Pipeline] sh [2023-02-21T15:09:30.929Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-21T15:09:31.256Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T15:09:49.520Z] provisioning config files... [2023-02-21T15:09:49.549Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5393155495901270619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:09:49.900Z] ---> docker-login.sh [2023-02-21T15:09:49.900Z] nexus3.edgexfoundry.org:10001 [2023-02-21T15:09:50.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:09:50.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:09:50.487Z] Configure a credential helper to remove this warning. See [2023-02-21T15:09:50.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:09:50.487Z] [2023-02-21T15:09:50.487Z] Login Succeeded [2023-02-21T15:09:50.487Z] nexus3.edgexfoundry.org:10002 [2023-02-21T15:09:50.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:09:50.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:09:50.760Z] Configure a credential helper to remove this warning. See [2023-02-21T15:09:50.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:09:50.760Z] [2023-02-21T15:09:50.760Z] Login Succeeded [2023-02-21T15:09:50.760Z] nexus3.edgexfoundry.org:10003 [2023-02-21T15:09:51.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:09:51.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:09:51.301Z] Configure a credential helper to remove this warning. See [2023-02-21T15:09:51.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:09:51.301Z] [2023-02-21T15:09:51.301Z] Login Succeeded [2023-02-21T15:09:51.301Z] nexus3.edgexfoundry.org:10004 [2023-02-21T15:09:51.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:09:51.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:09:51.570Z] Configure a credential helper to remove this warning. See [2023-02-21T15:09:51.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:09:51.570Z] [2023-02-21T15:09:51.570Z] Login Succeeded [2023-02-21T15:09:51.570Z] docker.io [2023-02-21T15:09:51.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:09:52.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:09:52.105Z] Configure a credential helper to remove this warning. See [2023-02-21T15:09:52.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:09:52.105Z] [2023-02-21T15:09:52.105Z] Login Succeeded [2023-02-21T15:09:52.105Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T15:09:52.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T15:09:52.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:09:52.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:09:52.335Z] ========================================================= [2023-02-21T15:09:52.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-21T15:09:52.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:09:52.679Z] + 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-21T15:09:52.679Z] Sending build context to Docker daemon 139.8kB [2023-02-21T15:09:52.948Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:09:52.948Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-21T15:09:52.948Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-21T15:09:52.948Z] 9b18e9b68314: Pulling fs layer [2023-02-21T15:09:52.948Z] 35d82f9e3411: Pulling fs layer [2023-02-21T15:09:52.948Z] e16973657156: Pulling fs layer [2023-02-21T15:09:52.948Z] fc693d55d65f: Pulling fs layer [2023-02-21T15:09:52.948Z] 7e9fc2657dce: Pulling fs layer [2023-02-21T15:09:52.948Z] dda99020689f: Pulling fs layer [2023-02-21T15:09:52.948Z] db1c61fa0a46: Pulling fs layer [2023-02-21T15:09:52.948Z] 891c053d2c06: Pulling fs layer [2023-02-21T15:09:52.948Z] fc693d55d65f: Waiting [2023-02-21T15:09:52.948Z] dda99020689f: Waiting [2023-02-21T15:09:52.948Z] db1c61fa0a46: Waiting [2023-02-21T15:09:52.948Z] 891c053d2c06: Waiting [2023-02-21T15:09:52.948Z] 7e9fc2657dce: Waiting [2023-02-21T15:09:52.948Z] e16973657156: Verifying Checksum [2023-02-21T15:09:52.948Z] e16973657156: Download complete [2023-02-21T15:09:52.948Z] 35d82f9e3411: Download complete [2023-02-21T15:09:53.221Z] 7e9fc2657dce: Verifying Checksum [2023-02-21T15:09:53.221Z] 7e9fc2657dce: Download complete [2023-02-21T15:09:53.221Z] dda99020689f: Verifying Checksum [2023-02-21T15:09:53.221Z] dda99020689f: Download complete [2023-02-21T15:09:53.221Z] 9b18e9b68314: Verifying Checksum [2023-02-21T15:09:53.813Z] 9b18e9b68314: Pull complete [2023-02-21T15:09:54.083Z] 891c053d2c06: Verifying Checksum [2023-02-21T15:09:54.083Z] 891c053d2c06: Download complete [2023-02-21T15:09:54.352Z] 35d82f9e3411: Pull complete [2023-02-21T15:09:54.943Z] e16973657156: Pull complete [2023-02-21T15:09:55.544Z] db1c61fa0a46: Verifying Checksum [2023-02-21T15:09:55.544Z] db1c61fa0a46: Download complete [2023-02-21T15:09:55.811Z] fc693d55d65f: Verifying Checksum [2023-02-21T15:09:55.811Z] fc693d55d65f: Download complete [2023-02-21T15:10:08.208Z] fc693d55d65f: Pull complete [2023-02-21T15:10:08.208Z] 7e9fc2657dce: Pull complete [2023-02-21T15:10:08.208Z] dda99020689f: Pull complete [2023-02-21T15:10:13.580Z] db1c61fa0a46: Pull complete [2023-02-21T15:10:14.991Z] 891c053d2c06: Pull complete [2023-02-21T15:10:14.991Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-21T15:10:14.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-21T15:10:14.991Z] ---> f96f9c87975a [2023-02-21T15:10:14.991Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-21T15:10:15.962Z] ---> Running in 4cd38c410ded [2023-02-21T15:10:16.229Z] Removing intermediate container 4cd38c410ded [2023-02-21T15:10:16.229Z] ---> f77dbc1c43cb [2023-02-21T15:10:16.229Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T15:10:16.229Z] ---> Running in dc375730d9f7 [2023-02-21T15:10:16.509Z] Removing intermediate container dc375730d9f7 [2023-02-21T15:10:16.509Z] ---> 17d19e6dd92f [2023-02-21T15:10:16.509Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T15:10:16.509Z] ---> Running in 6f02a1429219 [2023-02-21T15:10:17.093Z] Removing intermediate container 6f02a1429219 [2023-02-21T15:10:17.093Z] ---> bfa6d7259468 [2023-02-21T15:10:17.093Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T15:10:17.093Z] ---> Running in 2e7825b0703b [2023-02-21T15:10:17.362Z] Removing intermediate container 2e7825b0703b [2023-02-21T15:10:17.362Z] ---> 6a3e68b33c1a [2023-02-21T15:10:17.362Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T15:10:17.362Z] ---> Running in bd188ecf3496 [2023-02-21T15:10:18.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T15:10:18.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T15:10:19.758Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-21T15:10:19.758Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-21T15:10:19.758Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-21T15:10:19.758Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-21T15:10:19.758Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T15:10:19.758Z] OK: 226 MiB in 55 packages [2023-02-21T15:10:21.181Z] Removing intermediate container bd188ecf3496 [2023-02-21T15:10:21.181Z] ---> 124b64848c03 [2023-02-21T15:10:21.181Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-21T15:10:21.181Z] ---> Running in 3ca7055f7ab1 [2023-02-21T15:10:21.181Z] Removing intermediate container 3ca7055f7ab1 [2023-02-21T15:10:21.181Z] ---> 049a67d79826 [2023-02-21T15:10:21.181Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-21T15:10:21.767Z] ---> 7b173f5ae807 [2023-02-21T15:10:21.767Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:10:21.767Z] ---> Running in 7af01b6e9a34 [2023-02-21T15:11:29.644Z] Removing intermediate container 7af01b6e9a34 [2023-02-21T15:11:29.644Z] ---> 158d337a148b [2023-02-21T15:11:29.644Z] Step 11/12 : COPY . . [2023-02-21T15:11:29.644Z] ---> 4c0445484275 [2023-02-21T15:11:29.644Z] Step 12/12 : RUN $MAKE [2023-02-21T15:11:29.644Z] ---> Running in a33ef89c0383 [2023-02-21T15:11:29.644Z] noop [2023-02-21T15:11:29.644Z] Removing intermediate container a33ef89c0383 [2023-02-21T15:11:29.644Z] ---> dbfd1dc67c1a [2023-02-21T15:11:29.644Z] Successfully built dbfd1dc67c1a [2023-02-21T15:11:29.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:11:29.988Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T15:11:29.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:11:30.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-6892 does not seem to be running inside a container [2023-02-21T15:11:30.249Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-21T15:11:31.528Z] $ docker top 2924633b706b3d541017c53decec53bcab9e97db2c05ca09e4367a8851db973c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:11:32.349Z] + go version [2023-02-21T15:11:32.349Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-21T15:11:32.375Z] $ docker stop --time=1 2924633b706b3d541017c53decec53bcab9e97db2c05ca09e4367a8851db973c [2023-02-21T15:11:33.991Z] $ docker rm -f --volumes 2924633b706b3d541017c53decec53bcab9e97db2c05ca09e4367a8851db973c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:11:34.547Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T15:11:34.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:11:34.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-6892 does not seem to be running inside a container [2023-02-21T15:11:34.812Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-21T15:11:36.027Z] $ docker top 21f6ae9ea43ee209caf6a0c0fd231197e247d7f49b7ff80981490d28e0dd39ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:11:36.520Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-21T15:11:37.165Z] + make test [2023-02-21T15:11:37.165Z] go test ./... -coverprofile=coverage.out ./... [2023-02-21T15:11:38.578Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-21T15:13:03.317Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-21T15:13:03.317Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.9% of statements [2023-02-21T15:13:03.317Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-21T15:13:03.317Z] go vet ./... [2023-02-21T15:13:21.862Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T15:13:21.862Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T15:13:21.862Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T15:13:21.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T15:13:21.903Z] $ docker stop --time=1 21f6ae9ea43ee209caf6a0c0fd231197e247d7f49b7ff80981490d28e0dd39ff [2023-02-21T15:13:23.663Z] $ docker rm -f --volumes 21f6ae9ea43ee209caf6a0c0fd231197e247d7f49b7ff80981490d28e0dd39ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T15:13:24.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T15:13:24.582Z] Warning: overwriting stash ‘coverage-report’ [2023-02-21T15:13:25.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T15:13:25.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T15:13:25.753Z] + ls -al . [2023-02-21T15:13:25.753Z] total 184 [2023-02-21T15:13:25.753Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 15:11 . [2023-02-21T15:13:25.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:09 .. [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 21 15:09 .dockerignore [2023-02-21T15:13:25.753Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 15:09 .git [2023-02-21T15:13:25.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 15:09 .github [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 21 15:09 .gitignore [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 15:09 .golangci.yml [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 21 15:09 Attribution.txt [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 21 15:09 CHANGELOG.md [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 21 15:09 Dockerfile [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 15:09 GOVERNANCE.md [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 15:09 Jenkinsfile [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 15:09 LICENSE [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 21 15:09 Makefile [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 15:09 OWNERS.md [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 21 15:09 README.md [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 15:07 VERSION [2023-02-21T15:13:25.753Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:09 bin [2023-02-21T15:13:25.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 15:09 cmd [2023-02-21T15:13:25.753Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 21 15:12 coverage.out [2023-02-21T15:13:25.753Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:09 driver [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 21 15:09 go.mod [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 21 15:09 go.sum [2023-02-21T15:13:25.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:09 snap [2023-02-21T15:13:25.753Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 21 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:13:26.101Z] + 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=13aaab068db02b00b8534a07944c8362132f6609 --label arch=arm64 --label version=0.0.0 . [2023-02-21T15:13:26.101Z] Sending build context to Docker daemon 154.1kB [2023-02-21T15:13:26.370Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:13:26.370Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-21T15:13:26.370Z] ---> dbfd1dc67c1a [2023-02-21T15:13:26.370Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-21T15:13:26.370Z] ---> Running in 87a26a811c74 [2023-02-21T15:13:26.641Z] Removing intermediate container 87a26a811c74 [2023-02-21T15:13:26.641Z] ---> 08798b808bda [2023-02-21T15:13:26.641Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T15:13:26.921Z] ---> Running in 443b4b578972 [2023-02-21T15:13:27.192Z] Removing intermediate container 443b4b578972 [2023-02-21T15:13:27.192Z] ---> 02ab8b93e767 [2023-02-21T15:13:27.192Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T15:13:27.192Z] ---> Running in 96ef1cb6e0d3 [2023-02-21T15:13:27.462Z] Removing intermediate container 96ef1cb6e0d3 [2023-02-21T15:13:27.462Z] ---> 6d8adf2567cb [2023-02-21T15:13:27.462Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T15:13:27.462Z] ---> Running in 1063c6726256 [2023-02-21T15:13:27.732Z] Removing intermediate container 1063c6726256 [2023-02-21T15:13:27.732Z] ---> 7bbb61dc5030 [2023-02-21T15:13:27.732Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T15:13:28.004Z] ---> Running in a996b6fb65e0 [2023-02-21T15:13:28.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T15:13:29.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T15:13:30.203Z] OK: 226 MiB in 55 packages [2023-02-21T15:13:31.166Z] Removing intermediate container a996b6fb65e0 [2023-02-21T15:13:31.166Z] ---> 30e40fc94f72 [2023-02-21T15:13:31.166Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-21T15:13:31.166Z] ---> Running in 1a7975d7d405 [2023-02-21T15:13:31.441Z] Removing intermediate container 1a7975d7d405 [2023-02-21T15:13:31.441Z] ---> a93c6c2952fb [2023-02-21T15:13:31.441Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-21T15:13:32.027Z] ---> aa72db954cdf [2023-02-21T15:13:32.027Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:13:32.027Z] ---> Running in c79a3c9ee24e [2023-02-21T15:13:34.616Z] Removing intermediate container c79a3c9ee24e [2023-02-21T15:13:34.616Z] ---> c7a46047e12b [2023-02-21T15:13:34.616Z] Step 11/25 : COPY . . [2023-02-21T15:13:35.199Z] ---> fcfe321cac11 [2023-02-21T15:13:35.200Z] Step 12/25 : RUN $MAKE [2023-02-21T15:13:35.200Z] ---> Running in d11794c28b40 [2023-02-21T15:13:36.173Z] 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-21T15:15:57.915Z] Removing intermediate container d11794c28b40 [2023-02-21T15:15:57.915Z] ---> 422191ed5527 [2023-02-21T15:15:57.915Z] Step 13/25 : FROM alpine:3.16 [2023-02-21T15:15:57.915Z] 3.16: Pulling from library/alpine [2023-02-21T15:15:57.915Z] 3760b48202b3: Pulling fs layer [2023-02-21T15:15:57.915Z] 3760b48202b3: Verifying Checksum [2023-02-21T15:15:57.915Z] 3760b48202b3: Download complete [2023-02-21T15:15:57.915Z] 3760b48202b3: Pull complete [2023-02-21T15:15:57.915Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-21T15:15:57.915Z] Status: Downloaded newer image for alpine:3.16 [2023-02-21T15:15:57.915Z] ---> 4c81e5bf8899 [2023-02-21T15:15:57.915Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-21T15:15:57.915Z] ---> Running in 07007aeaa288 [2023-02-21T15:15:57.915Z] Removing intermediate container 07007aeaa288 [2023-02-21T15:15:57.915Z] ---> f7ba814fcc55 [2023-02-21T15:15:57.915Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-21T15:15:57.915Z] ---> Running in 54c2617d1ed7 [2023-02-21T15:15:57.915Z] Removing intermediate container 54c2617d1ed7 [2023-02-21T15:15:57.915Z] ---> b6023ac43b4d [2023-02-21T15:15:57.915Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-21T15:15:57.915Z] ---> Running in 433d37a651bf [2023-02-21T15:15:57.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T15:15:57.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T15:15:57.915Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-21T15:15:57.915Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T15:15:57.915Z] OK: 5 MiB in 15 packages [2023-02-21T15:15:58.502Z] Removing intermediate container 433d37a651bf [2023-02-21T15:15:58.502Z] ---> d2b3470a8b90 [2023-02-21T15:15:58.502Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-21T15:15:59.914Z] ---> 139ee6dd442a [2023-02-21T15:15:59.914Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-21T15:16:00.497Z] ---> 1ad8163d0f41 [2023-02-21T15:16:00.498Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-21T15:16:03.080Z] ---> 39b2a89659ac [2023-02-21T15:16:03.080Z] Step 20/25 : EXPOSE 59986 [2023-02-21T15:16:03.080Z] ---> Running in 24d2e7169065 [2023-02-21T15:16:03.080Z] Removing intermediate container 24d2e7169065 [2023-02-21T15:16:03.080Z] ---> dce0a3f4d0a9 [2023-02-21T15:16:03.080Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-21T15:16:03.080Z] ---> Running in 9740dea51f0a [2023-02-21T15:16:03.347Z] Removing intermediate container 9740dea51f0a [2023-02-21T15:16:03.347Z] ---> 1b4f71c38a95 [2023-02-21T15:16:03.347Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-21T15:16:03.347Z] ---> Running in 7d979e5b6dd5 [2023-02-21T15:16:03.616Z] Removing intermediate container 7d979e5b6dd5 [2023-02-21T15:16:03.616Z] ---> 46e552afda5f [2023-02-21T15:16:03.616Z] Step 23/25 : LABEL arch=arm64 [2023-02-21T15:16:03.616Z] ---> Running in da233bd3b689 [2023-02-21T15:16:04.201Z] Removing intermediate container da233bd3b689 [2023-02-21T15:16:04.201Z] ---> 553c9ba7dabe [2023-02-21T15:16:04.201Z] Step 24/25 : LABEL git_sha=13aaab068db02b00b8534a07944c8362132f6609 [2023-02-21T15:16:04.201Z] ---> Running in 236b629fdbea [2023-02-21T15:16:04.467Z] Removing intermediate container 236b629fdbea [2023-02-21T15:16:04.467Z] ---> 9cf277347270 [2023-02-21T15:16:04.467Z] Step 25/25 : LABEL version=0.0.0 [2023-02-21T15:16:04.467Z] ---> Running in 70863ee92be3 [2023-02-21T15:16:04.734Z] Removing intermediate container 70863ee92be3 [2023-02-21T15:16:04.734Z] ---> 66bda0affe16 [2023-02-21T15:16:04.734Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T15:16:04.734Z] Successfully built 66bda0affe16 [2023-02-21T15:16:04.734Z] 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-21T15:16:05.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T15:16:05.187Z] [2023-02-21T15:16:05.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:16:05.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T15:16:05.514Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-21T15:16:05.514Z] 8998bd30e6a1: Pulling fs layer [2023-02-21T15:16:05.514Z] 04944245beec: Pulling fs layer [2023-02-21T15:16:05.514Z] 699f458cf7ca: Pulling fs layer [2023-02-21T15:16:05.514Z] 765212b225bb: Pulling fs layer [2023-02-21T15:16:05.514Z] f23df028b6ca: Pulling fs layer [2023-02-21T15:16:05.514Z] d65c8cfc05b1: Pulling fs layer [2023-02-21T15:16:05.514Z] 2437ff75d9bd: Pulling fs layer [2023-02-21T15:16:05.514Z] f23df028b6ca: Waiting [2023-02-21T15:16:05.514Z] 765212b225bb: Waiting [2023-02-21T15:16:05.514Z] d65c8cfc05b1: Waiting [2023-02-21T15:16:05.514Z] 2437ff75d9bd: Waiting [2023-02-21T15:16:05.781Z] 04944245beec: Verifying Checksum [2023-02-21T15:16:05.781Z] 04944245beec: Download complete [2023-02-21T15:16:05.781Z] 765212b225bb: Download complete [2023-02-21T15:16:05.781Z] f23df028b6ca: Verifying Checksum [2023-02-21T15:16:05.781Z] f23df028b6ca: Download complete [2023-02-21T15:16:05.781Z] d65c8cfc05b1: Verifying Checksum [2023-02-21T15:16:05.781Z] d65c8cfc05b1: Download complete [2023-02-21T15:16:05.781Z] 699f458cf7ca: Verifying Checksum [2023-02-21T15:16:05.781Z] 699f458cf7ca: Download complete [2023-02-21T15:16:06.365Z] 8998bd30e6a1: Verifying Checksum [2023-02-21T15:16:06.365Z] 8998bd30e6a1: Download complete [2023-02-21T15:16:08.311Z] 2437ff75d9bd: Verifying Checksum [2023-02-21T15:16:08.311Z] 2437ff75d9bd: Download complete [2023-02-21T15:16:10.260Z] 8998bd30e6a1: Pull complete [2023-02-21T15:16:10.845Z] 04944245beec: Pull complete [2023-02-21T15:16:12.255Z] 699f458cf7ca: Pull complete [2023-02-21T15:16:12.255Z] 765212b225bb: Pull complete [2023-02-21T15:16:13.216Z] f23df028b6ca: Pull complete [2023-02-21T15:16:13.216Z] d65c8cfc05b1: Pull complete [2023-02-21T15:16:31.422Z] 2437ff75d9bd: Pull complete [2023-02-21T15:16:31.422Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-21T15:16:31.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T15:16:31.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:16:31.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-6892 does not seem to be running inside a container [2023-02-21T15:16:31.679Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-21T15:16:33.977Z] $ docker top 8da892be1c1a77dabd7e76250db558868785401997f4d6c5870922c35c6f98ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:34.797Z] ---> job-cost.sh [2023-02-21T15:16:34.797Z] lf-activate-venv: SKIPPING [2023-02-21T15:16:34.797Z] INFO: No Stack... [2023-02-21T15:16:35.063Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-21T15:16:36.018Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T15:16:36.340Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-02-21T15:16:36.340Z] + cut -d, -f6 [Pipeline] lock [2023-02-21T15:16:36.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] [2023-02-21T15:16:36.387Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] did not exist. Created. [2023-02-21T15:16:36.387Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T15:16:37.122Z] /w/workspace/device-rest-go/2@tmp/durable-cd1e9791/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-21T15:16:37.447Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-21T15:16:37.471Z] Warning: overwriting stash ‘stack-cost’ [2023-02-21T15:16:37.512Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T15:16:37.518Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-256-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T15:16:37.547Z] $ docker stop --time=1 8da892be1c1a77dabd7e76250db558868785401997f4d6c5870922c35c6f98ba [2023-02-21T15:16:38.998Z] $ docker rm -f --volumes 8da892be1c1a77dabd7e76250db558868785401997f4d6c5870922c35c6f98ba [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-21T15:16:39.387Z] provisioning config files... [2023-02-21T15:16:39.394Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config17865301814452612335tmp [Pipeline] { [Pipeline] sh [2023-02-21T15:16:39.687Z] + set +x [2023-02-21T15:16:39.687Z] + curl -s https://codecov.io/bash [2023-02-21T15:16:39.687Z] + bash -s -- [2023-02-21T15:16:39.687Z] [2023-02-21T15:16:39.687Z] _____ _ [2023-02-21T15:16:39.687Z] / ____| | | [2023-02-21T15:16:39.687Z] | | ___ __| | ___ ___ _____ __ [2023-02-21T15:16:39.687Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-21T15:16:39.687Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-21T15:16:39.687Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-21T15:16:39.687Z] Bash-1.0.6 [2023-02-21T15:16:39.687Z] [2023-02-21T15:16:39.687Z] [2023-02-21T15:16:39.687Z] ==> git version 2.25.1 found [2023-02-21T15:16:39.687Z] ==> 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-21T15:16:39.687Z] Release-Date: 2020-01-08 [2023-02-21T15:16:39.687Z] 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-21T15:16:39.687Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-21T15:16:39.687Z] ==> Jenkins CI detected. [2023-02-21T15:16:39.687Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-256 [2023-02-21T15:16:39.687Z] project root: . [2023-02-21T15:16:39.687Z] --> token set from env [2023-02-21T15:16:39.687Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-21T15:16:39.947Z] ==> Running gcov in . (disable via -X gcov) [2023-02-21T15:16:39.947Z] ==> Python coveragepy not found [2023-02-21T15:16:39.947Z] ==> Searching for coverage reports in: [2023-02-21T15:16:39.947Z] + . [2023-02-21T15:16:39.947Z] -> Found 1 reports [2023-02-21T15:16:39.947Z] ==> Detecting git/mercurial file structure [2023-02-21T15:16:39.947Z] ==> Reading reports [2023-02-21T15:16:39.947Z] + ./coverage.out bytes=13744 [2023-02-21T15:16:39.947Z] ==> Appending adjustments [2023-02-21T15:16:39.947Z] https://docs.codecov.io/docs/fixing-reports [2023-02-21T15:16:39.947Z] + Found adjustments [2023-02-21T15:16:39.947Z] ==> Gzipping contents [2023-02-21T15:16:39.947Z] 4.0K /tmp/codecov.3IA3dM.gz [2023-02-21T15:16:39.947Z] ==> Uploading reports [2023-02-21T15:16:39.947Z] url: https://codecov.io [2023-02-21T15:16:39.947Z] query: branch=PR-256&commit=22038d534899e2a27f9b5608812392a6f542f4e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-256%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=256&job=&cmd_args= [2023-02-21T15:16:39.947Z] -> Pinging Codecov [2023-02-21T15:16:39.947Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-256&commit=22038d534899e2a27f9b5608812392a6f542f4e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-256%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=256&job=&cmd_args= [2023-02-21T15:16:40.206Z] -> Uploading to [2023-02-21T15:16:40.206Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-21/4E5D53B4F1F92C436F7061BF334D961C/22038d534899e2a27f9b5608812392a6f542f4e9/1f07a18c-a393-4724-8a90-4fe2125bec79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230221T151639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4851d4f897062480b6cc6635f5ef76f2bfdbe59788fc1db212719e3fd691096 [2023-02-21T15:16:40.206Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T15:16:40.206Z] Dload Upload Total Spent Left Speed [2023-02-21T15:16:40.465Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9396 --:--:-- --:--:-- --:--:-- 9396 [2023-02-21T15:16:40.465Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/22038d534899e2a27f9b5608812392a6f542f4e9 [Pipeline] } [2023-02-21T15:16:40.473Z] 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-21T15:16:41.135Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-256/archives ] [2023-02-21T15:16:41.135Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-256/archives [2023-02-21T15:16:41.135Z] total 16 [2023-02-21T15:16:41.135Z] drwxr-xr-x 3 root root 4096 Feb 21 15:09 . [2023-02-21T15:16:41.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 15:09 .. [2023-02-21T15:16:41.135Z] drwxr-xr-x 2 root root 4096 Feb 21 15:09 cost [2023-02-21T15:16:41.135Z] -rw-r--r-- 1 root root 86 Feb 21 15:09 cost.csv [2023-02-21T15:16:41.135Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-256/archives [2023-02-21T15:16:41.135Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-256/archives [2023-02-21T15:16:41.135Z] total 16 [2023-02-21T15:16:41.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 15:09 . [2023-02-21T15:16:41.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 15:09 .. [2023-02-21T15:16:41.135Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 15:09 cost [2023-02-21T15:16:41.135Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 21 15:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:41.423Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:42.284Z] ---> package-listing.sh [2023-02-21T15:16:42.284Z] ++ facter osfamily [2023-02-21T15:16:42.284Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-21T15:16:42.543Z] + OS_FAMILY=debian [2023-02-21T15:16:42.543Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-256 [2023-02-21T15:16:42.543Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-21T15:16:42.543Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-21T15:16:42.543Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-21T15:16:42.543Z] + PACKAGES=/tmp/packages_start.txt [2023-02-21T15:16:42.543Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-256 ']' [2023-02-21T15:16:42.543Z] + PACKAGES=/tmp/packages_end.txt [2023-02-21T15:16:42.543Z] + case "${OS_FAMILY}" in [2023-02-21T15:16:42.543Z] + dpkg -l [2023-02-21T15:16:42.543Z] + grep '^ii' [2023-02-21T15:16:42.543Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-21T15:16:42.543Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-21T15:16:42.543Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-21T15:16:42.543Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-256 ']' [2023-02-21T15:16:42.543Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-256/archives/ [2023-02-21T15:16:42.543Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-256/archives/ [Pipeline] echo [2023-02-21T15:16:42.556Z] 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-256/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-21T15:16:42.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:16:43.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:16:43.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:16:43.460Z] prd-ubuntu20.04-docker-8c-8g-6891 does not seem to be running inside a container [2023-02-21T15:16:43.492Z] $ 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-256/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-256 -v /w/workspace/gexfoundry_device-rest-go_PR-256:/w/workspace/gexfoundry_device-rest-go_PR-256:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-256@tmp:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-21T15:16:43.695Z] $ docker top 78ba83e297ea17d8a8f57fb8b8e6e8cdc44a6618d8d54251f64b33ce3b8527ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:16:44.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-21T15:16:44.317Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-21T15:16:44.603Z] + ls /var/log/sa-host [2023-02-21T15:16:44.603Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T15:16:44.759Z] provisioning config files... [2023-02-21T15:16:44.770Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-256@tmp/config18002168096320573060tmp [Pipeline] { [Pipeline] echo [2023-02-21T15:16:44.783Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:45.068Z] ---> create-netrc.sh [Pipeline] } [2023-02-21T15:16:45.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:45.406Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-21T15:16:45.415Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:45.701Z] ---> sudo-logs.sh [2023-02-21T15:16:45.701Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-21T15:16:45.733Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:46.015Z] ---> job-cost.sh [2023-02-21T15:16:46.015Z] lf-activate-venv: SKIPPING [2023-02-21T15:16:46.015Z] DEBUG: total: 0.2199999988079071 [2023-02-21T15:16:46.015Z] INFO: Retrieving Stack Cost... [2023-02-21T15:16:46.275Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T15:16:46.535Z] INFO: Archiving Costs [Pipeline] echo [2023-02-21T15:16:46.547Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:16:46.829Z] ---> logs-deploy.sh [2023-02-21T15:16:46.829Z] lf-activate-venv: SKIPPING [2023-02-21T15:16:46.829Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-256/2 [2023-02-21T15:16:46.829Z] INFO: archiving workspace using pattern(s): [2023-02-21T15:16:47.766Z] Archives upload complete. [2023-02-21T15:16:47.766Z] INFO: archiving logs to Nexus