cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12e18996c0c91e8b0504df444ed4729b65be514a+328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (504bb5c1da6ce1dbb51e961e729afe19e4f3ba2e) 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-ssh18414912741661081227.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh5278781622808472692.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-206/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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1223980005911049380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh9548933565129557407.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-206/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-206/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5655507409994719123.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19505 in /w/workspace/gexfoundry_device-rest-go_PR-206 [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-206 # 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 Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) > 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/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # 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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T01:37:40.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T01:37:40.338Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T01:37:40.357Z] ========================================================= [2022-07-12T01:37:40.357Z] EdgeX Global Pipelines Version Info [2022-07-12T01:37:40.357Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:37:41.105Z] ------------------- [2022-07-12T01:37:41.105Z] stable info: [2022-07-12T01:37:41.105Z] ------------------- [2022-07-12T01:37:41.105Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T01:37:41.105Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T01:37:41.105Z] Message: update stable to v1.0.237 [2022-07-12T01:37:41.680Z] ------------------- [2022-07-12T01:37:41.680Z] experimental info: [2022-07-12T01:37:41.680Z] ------------------- [2022-07-12T01:37:41.680Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T01:37:41.680Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T01:37:41.680Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T01:37:41.964Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-12T01:37:41.974Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-12T01:37:41.983Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T01:37:41.992Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T01:37:42.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T01:37:42.010Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T01:37:42.018Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T01:37:42.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T01:37:42.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T01:37:42.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T01:37:42.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T01:37:42.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-12T01:37:42.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T01:37:42.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T01:37:42.087Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T01:37:42.096Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T01:37:42.107Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T01:37:42.119Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T01:37:42.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T01:37:42.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T01:37:42.153Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T01:37:42.168Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T01:37:42.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T01:37:42.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T01:37:42.225Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T01:37:42.237Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T01:37:42.246Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T01:37:42.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo [2022-07-12T01:37:42.268Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo [2022-07-12T01:37:42.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo [2022-07-12T01:37:42.291Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T01:37:42.304Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12e1899 [Pipeline] echo [2022-07-12T01:37:42.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:37:42.363Z] provisioning config files... [2022-07-12T01:37:42.380Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config5001558735881768066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:37:42.688Z] ---> docker-login.sh [2022-07-12T01:37:42.688Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:37:42.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:43.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:43.213Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:43.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:43.213Z] [2022-07-12T01:37:43.213Z] Login Succeeded [2022-07-12T01:37:43.213Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:37:43.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:43.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:43.474Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:43.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:43.474Z] [2022-07-12T01:37:43.474Z] Login Succeeded [2022-07-12T01:37:43.474Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:37:43.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:43.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:43.474Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:43.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:43.474Z] [2022-07-12T01:37:43.474Z] Login Succeeded [2022-07-12T01:37:43.474Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:37:43.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:43.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:43.738Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:43.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:43.738Z] [2022-07-12T01:37:43.738Z] Login Succeeded [2022-07-12T01:37:43.738Z] docker.io [2022-07-12T01:37:43.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:44.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:44.311Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:44.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:44.311Z] [2022-07-12T01:37:44.311Z] Login Succeeded [2022-07-12T01:37:44.311Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:37:44.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T01:37:44.690Z] + git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T01:37:44.727Z] -----------> git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a 12e18996c0c91e8b0504df444ed4729b65be514a [false] [Pipeline] sh [2022-07-12T01:37:45.023Z] + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T01:37:45.041Z] ========================================================= [2022-07-12T01:37:45.041Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T01:37:45.041Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T01:37:45.363Z] + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T01:37:45.385Z] [semverPrep] GIT_COMMIT: 12e18996c0c91e8b0504df444ed4729b65be514a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-12T01:37:45.395Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T01:37:45.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T01:37:45.761Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T01:37:45.761Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T01:37:45.761Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T01:37:45.761Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T01:37:45.761Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T01:37:45.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:37:46.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T01:37:46.180Z] [2022-07-12T01:37:46.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:37:46.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T01:37:46.499Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T01:37:46.499Z] b85a868b505f: Pulling fs layer [2022-07-12T01:37:46.499Z] e2be974225ed: Pulling fs layer [2022-07-12T01:37:46.499Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T01:37:46.499Z] 988bab9f4d93: Pulling fs layer [2022-07-12T01:37:46.499Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T01:37:46.500Z] eaf3925da568: Pulling fs layer [2022-07-12T01:37:46.500Z] bab4dde63d76: Pulling fs layer [2022-07-12T01:37:46.500Z] bde34c3a00c8: Pulling fs layer [2022-07-12T01:37:46.500Z] b352a97aabf1: Pulling fs layer [2022-07-12T01:37:46.500Z] 4872d77fe225: Pulling fs layer [2022-07-12T01:37:46.500Z] 5851b861e8e6: Pulling fs layer [2022-07-12T01:37:46.500Z] 988bab9f4d93: Waiting [2022-07-12T01:37:46.500Z] bab4dde63d76: Waiting [2022-07-12T01:37:46.500Z] 4872d77fe225: Waiting [2022-07-12T01:37:46.500Z] bde34c3a00c8: Waiting [2022-07-12T01:37:46.500Z] 5851b861e8e6: Waiting [2022-07-12T01:37:46.500Z] b352a97aabf1: Waiting [2022-07-12T01:37:46.500Z] eaf3925da568: Waiting [2022-07-12T01:37:46.500Z] e2be974225ed: Verifying Checksum [2022-07-12T01:37:46.500Z] e2be974225ed: Download complete [2022-07-12T01:37:46.500Z] 988bab9f4d93: Verifying Checksum [2022-07-12T01:37:46.500Z] 988bab9f4d93: Download complete [2022-07-12T01:37:46.762Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T01:37:46.762Z] 1469e6f7b9e6: Download complete [2022-07-12T01:37:46.762Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T01:37:46.762Z] 339a4e72a1f5: Download complete [2022-07-12T01:37:46.762Z] eaf3925da568: Verifying Checksum [2022-07-12T01:37:46.762Z] eaf3925da568: Download complete [2022-07-12T01:37:46.762Z] bde34c3a00c8: Download complete [2022-07-12T01:37:46.762Z] b352a97aabf1: Verifying Checksum [2022-07-12T01:37:46.762Z] b352a97aabf1: Download complete [2022-07-12T01:37:46.762Z] 4872d77fe225: Download complete [2022-07-12T01:37:46.762Z] 5851b861e8e6: Verifying Checksum [2022-07-12T01:37:46.762Z] 5851b861e8e6: Download complete [2022-07-12T01:37:46.762Z] b85a868b505f: Verifying Checksum [2022-07-12T01:37:46.762Z] b85a868b505f: Download complete [2022-07-12T01:37:47.023Z] bab4dde63d76: Verifying Checksum [2022-07-12T01:37:47.023Z] bab4dde63d76: Download complete [2022-07-12T01:37:48.421Z] b85a868b505f: Pull complete [2022-07-12T01:37:48.421Z] e2be974225ed: Pull complete [2022-07-12T01:37:48.993Z] 339a4e72a1f5: Pull complete [2022-07-12T01:37:48.993Z] 988bab9f4d93: Pull complete [2022-07-12T01:37:49.277Z] 1469e6f7b9e6: Pull complete [2022-07-12T01:37:49.277Z] eaf3925da568: Pull complete [2022-07-12T01:37:51.833Z] bab4dde63d76: Pull complete [2022-07-12T01:37:51.833Z] bde34c3a00c8: Pull complete [2022-07-12T01:37:51.833Z] b352a97aabf1: Pull complete [2022-07-12T01:37:51.833Z] 4872d77fe225: Pull complete [2022-07-12T01:37:51.833Z] 5851b861e8e6: Pull complete [2022-07-12T01:37:51.833Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T01:37:51.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T01:37:51.833Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:37:51.938Z] prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container [2022-07-12T01:37:51.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T01:37:53.374Z] $ docker top 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 -eo pid,comm [2022-07-12T01:37:53.455Z] 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). [2022-07-12T01:37:53.455Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T01:37:53.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T01:37:53.495Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T01:37:53.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T01:37:53.638Z] $ docker exec 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent [2022-07-12T01:37:53.765Z] SSH_AUTH_SOCK=/tmp/ssh-lJratEkvZQMZ/agent.33 [2022-07-12T01:37:53.765Z] SSH_AGENT_PID=39 [2022-07-12T01:37:53.773Z] Running ssh-add (command line suppressed) [2022-07-12T01:37:53.909Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_3081204637252774208.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_3081204637252774208.key) [2022-07-12T01:37:53.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T01:37:54.214Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T01:37:54.232Z] $ docker exec --env ******** --env ******** 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent -k [2022-07-12T01:37:54.333Z] unset SSH_AUTH_SOCK; [2022-07-12T01:37:54.334Z] unset SSH_AGENT_PID; [2022-07-12T01:37:54.334Z] echo Agent pid 39 killed; [2022-07-12T01:37:54.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T01:37:54.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T01:37:54.365Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T01:37:54.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T01:37:54.511Z] $ docker exec 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent [2022-07-12T01:37:54.636Z] SSH_AUTH_SOCK=/tmp/ssh-vWAUZMPsrV7G/agent.72 [2022-07-12T01:37:54.636Z] SSH_AGENT_PID=79 [2022-07-12T01:37:54.642Z] Running ssh-add (command line suppressed) [2022-07-12T01:37:54.776Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_4803132748552565002.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_4803132748552565002.key) [2022-07-12T01:37:54.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T01:37:55.081Z] + git semver init [2022-07-12T01:37:55.342Z] 2022-07-12 01:37:55,275 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T01:37:55.342Z] 2022-07-12 01:37:55,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver [2022-07-12T01:37:55.342Z] 2022-07-12 01:37:55,277 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-206/.semver [2022-07-12T01:37:55.342Z] 2022-07-12 01:37:55,277 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-206/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206, universal_newlines=False, shell=None, istream=None) [2022-07-12T01:37:56.283Z] 2022-07-12 01:37:56,223 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.git/info/exclude [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 with force:False [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,223 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,228 [execute] INFO git cat-file --batch-check [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,236 [execute] INFO git cat-file --batch [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T01:37:56.284Z] 2022-07-12 01:37:56,241 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 [2022-07-12T01:37:56.284Z] 0.0.0 [Pipeline] } [2022-07-12T01:37:56.299Z] $ docker exec --env ******** --env ******** 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 ssh-agent -k [2022-07-12T01:37:56.413Z] unset SSH_AUTH_SOCK; [2022-07-12T01:37:56.414Z] unset SSH_AGENT_PID; [2022-07-12T01:37:56.414Z] echo Agent pid 79 killed; [2022-07-12T01:37:56.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T01:37:56.737Z] + git semver [Pipeline] } [2022-07-12T01:37:57.013Z] $ docker stop --time=1 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 [2022-07-12T01:37:58.324Z] $ docker rm -f 23712ffd0fc68ba0afdc64ad1e8d4fea3b895749ef92c08fc5b8b122adf140c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T01:37:58.686Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T01:37:58.960Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T01:37:58.963Z] [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 [2022-07-12T01:37:59.126Z] provisioning config files... [2022-07-12T01:37:59.137Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config415867132698962662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:37:59.435Z] ---> docker-login.sh [2022-07-12T01:37:59.435Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:37:59.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:59.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:59.435Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:59.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:59.435Z] [2022-07-12T01:37:59.435Z] Login Succeeded [2022-07-12T01:37:59.435Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:37:59.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:59.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:59.699Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:59.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:59.699Z] [2022-07-12T01:37:59.699Z] Login Succeeded [2022-07-12T01:37:59.699Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:37:59.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:59.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:59.700Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:59.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:59.700Z] [2022-07-12T01:37:59.700Z] Login Succeeded [2022-07-12T01:37:59.700Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:37:59.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:37:59.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:37:59.961Z] Configure a credential helper to remove this warning. See [2022-07-12T01:37:59.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:37:59.961Z] [2022-07-12T01:37:59.961Z] Login Succeeded [2022-07-12T01:37:59.961Z] docker.io [2022-07-12T01:37:59.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:38:00.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:38:00.223Z] Configure a credential helper to remove this warning. See [2022-07-12T01:38:00.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:38:00.223Z] [2022-07-12T01:38:00.223Z] Login Succeeded [2022-07-12T01:38:00.223Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:38:00.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T01:38:00.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:38:00.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:38:00.315Z] ========================================================= [2022-07-12T01:38:00.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T01:38:00.315Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:38:00.635Z] + 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 . [2022-07-12T01:38:00.635Z] Sending build context to Docker daemon 10.69MB [2022-07-12T01:38:00.635Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:38:00.635Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T01:38:00.635Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T01:38:00.635Z] 2408cc74d12b: Pulling fs layer [2022-07-12T01:38:00.635Z] ea60b727a1ce: Pulling fs layer [2022-07-12T01:38:00.636Z] 30c4a7721957: Pulling fs layer [2022-07-12T01:38:00.636Z] 370296b7ddb6: Pulling fs layer [2022-07-12T01:38:00.636Z] 7c6cee850709: Pulling fs layer [2022-07-12T01:38:00.636Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T01:38:00.636Z] 370296b7ddb6: Waiting [2022-07-12T01:38:00.636Z] 7c6cee850709: Waiting [2022-07-12T01:38:00.636Z] d94ebbe4e438: Pulling fs layer [2022-07-12T01:38:00.636Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T01:38:00.636Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T01:38:00.636Z] d94ebbe4e438: Waiting [2022-07-12T01:38:00.636Z] 59ccb84bbe0f: Waiting [2022-07-12T01:38:00.636Z] 30c4a7721957: Verifying Checksum [2022-07-12T01:38:00.636Z] 30c4a7721957: Download complete [2022-07-12T01:38:00.900Z] ea60b727a1ce: Verifying Checksum [2022-07-12T01:38:00.900Z] ea60b727a1ce: Download complete [2022-07-12T01:38:00.900Z] 7c6cee850709: Download complete [2022-07-12T01:38:00.900Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T01:38:00.900Z] 39a5fcdaea64: Download complete [2022-07-12T01:38:00.900Z] 2408cc74d12b: Verifying Checksum [2022-07-12T01:38:00.900Z] 2408cc74d12b: Download complete [2022-07-12T01:38:00.900Z] d94ebbe4e438: Download complete [2022-07-12T01:38:00.900Z] 2408cc74d12b: Pull complete [2022-07-12T01:38:01.163Z] ea60b727a1ce: Pull complete [2022-07-12T01:38:01.163Z] 30c4a7721957: Pull complete [2022-07-12T01:38:01.163Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T01:38:01.163Z] 59ccb84bbe0f: Download complete [2022-07-12T01:38:01.735Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T01:38:01.735Z] bcfd1f05c69d: Download complete [2022-07-12T01:38:01.735Z] 370296b7ddb6: Verifying Checksum [2022-07-12T01:38:01.735Z] 370296b7ddb6: Download complete [2022-07-12T01:38:05.937Z] 370296b7ddb6: Pull complete [2022-07-12T01:38:05.937Z] 7c6cee850709: Pull complete [2022-07-12T01:38:06.205Z] 39a5fcdaea64: Pull complete [2022-07-12T01:38:06.205Z] d94ebbe4e438: Pull complete [2022-07-12T01:38:08.750Z] bcfd1f05c69d: Pull complete [2022-07-12T01:38:09.319Z] 59ccb84bbe0f: Pull complete [2022-07-12T01:38:09.319Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T01:38:09.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T01:38:09.319Z] ---> a4fb48ad2a94 [2022-07-12T01:38:09.319Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T01:38:11.234Z] ---> Running in 92f4ef74a6a3 [2022-07-12T01:38:11.234Z] Removing intermediate container 92f4ef74a6a3 [2022-07-12T01:38:11.234Z] ---> 73761139f73d [2022-07-12T01:38:11.234Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:38:11.234Z] ---> Running in 165a67d67096 [2022-07-12T01:38:11.234Z] Removing intermediate container 165a67d67096 [2022-07-12T01:38:11.234Z] ---> daa5efa9b401 [2022-07-12T01:38:11.234Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:38:11.234Z] ---> Running in ff14dde99180 [2022-07-12T01:38:11.234Z] Removing intermediate container ff14dde99180 [2022-07-12T01:38:11.234Z] ---> 82d28e19fce5 [2022-07-12T01:38:11.234Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:38:11.234Z] ---> Running in 5da7a64bddd3 [2022-07-12T01:38:11.804Z] Removing intermediate container 5da7a64bddd3 [2022-07-12T01:38:11.804Z] ---> 6c7876048f96 [2022-07-12T01:38:11.804Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:38:12.065Z] ---> Running in 7b2335ab086a [2022-07-12T01:38:12.325Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T01:38:13.268Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T01:38:13.529Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T01:38:13.529Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T01:38:13.789Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T01:38:13.789Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T01:38:13.789Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:38:13.789Z] OK: 216 MiB in 55 packages [2022-07-12T01:38:14.076Z] Still waiting to schedule task [2022-07-12T01:38:14.077Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-12T01:38:14.360Z] Removing intermediate container 7b2335ab086a [2022-07-12T01:38:14.361Z] ---> 942febd6e3d6 [2022-07-12T01:38:14.361Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-12T01:38:14.361Z] ---> Running in 64a3fedba220 [2022-07-12T01:38:14.361Z] Removing intermediate container 64a3fedba220 [2022-07-12T01:38:14.361Z] ---> dbcd7aa8c4be [2022-07-12T01:38:14.361Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T01:38:14.622Z] ---> bffdceca2302 [2022-07-12T01:38:14.622Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:38:14.622Z] ---> Running in e066ad3366bb [2022-07-12T01:38:29.567Z] Removing intermediate container e066ad3366bb [2022-07-12T01:38:29.567Z] ---> 27eb301b583d [2022-07-12T01:38:29.567Z] Step 11/12 : COPY . . [2022-07-12T01:38:30.142Z] ---> a9e9ce6215b3 [2022-07-12T01:38:30.142Z] Step 12/12 : RUN $MAKE [2022-07-12T01:38:30.142Z] ---> Running in 0e937d60d97c [2022-07-12T01:38:30.403Z] noop [2022-07-12T01:38:30.664Z] Removing intermediate container 0e937d60d97c [2022-07-12T01:38:30.664Z] ---> 176fc65f5275 [2022-07-12T01:38:30.664Z] Successfully built 176fc65f5275 [2022-07-12T01:38:30.664Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:38:30.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T01:38:30.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:38:31.081Z] prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container [2022-07-12T01:38:31.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 ******** ci-base-image-x86_64 cat [2022-07-12T01:38:31.516Z] $ docker top f8153c24a20d33d4c9200767e5fd01046bbdea3f1540364bcbe54fa582d30991 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:38:31.881Z] + go version [2022-07-12T01:38:31.881Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T01:38:31.900Z] $ docker stop --time=1 f8153c24a20d33d4c9200767e5fd01046bbdea3f1540364bcbe54fa582d30991 [2022-07-12T01:38:33.206Z] $ docker rm -f f8153c24a20d33d4c9200767e5fd01046bbdea3f1540364bcbe54fa582d30991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:38:33.690Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T01:38:33.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:38:33.810Z] prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container [2022-07-12T01:38:33.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 ******** ci-base-image-x86_64 cat [2022-07-12T01:38:34.251Z] $ docker top 1d173848516f73fca8554565c9a85964906326e60d82fc7a2731f35c49cba76f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:38:34.606Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] fileExists [Pipeline] sh [2022-07-12T01:38:34.908Z] + make test [2022-07-12T01:38:34.909Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T01:38:35.167Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-12T01:38:45.142Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-12T01:38:45.710Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-07-12T01:38:52.287Z] 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." [2022-07-12T01:38:52.287Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T01:38:55.577Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T01:38:55.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T01:38:55.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T01:38:55.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T01:38:55.872Z] $ docker stop --time=1 1d173848516f73fca8554565c9a85964906326e60d82fc7a2731f35c49cba76f [2022-07-12T01:38:57.771Z] $ docker rm -f 1d173848516f73fca8554565c9a85964906326e60d82fc7a2731f35c49cba76f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T01:38:58.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T01:38:58.269Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T01:38:58.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T01:38:59.081Z] + ls -al . [2022-07-12T01:38:59.081Z] total 172 [2022-07-12T01:38:59.081Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:38 . [2022-07-12T01:38:59.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:37 .. [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:37 .dockerignore [2022-07-12T01:38:59.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:38 .git [2022-07-12T01:38:59.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:37 .github [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:37 .gitignore [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:37 .golangci.yml [2022-07-12T01:38:59.081Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:37 .semver [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:37 Attribution.txt [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:37 CHANGELOG.md [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:37 Dockerfile [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:37 GOVERNANCE.md [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:37 Jenkinsfile [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:37 LICENSE [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:37 Makefile [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:37 OWNERS.md [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:37 README.md [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:37 VERSION [2022-07-12T01:38:59.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:37 bin [2022-07-12T01:38:59.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:37 cmd [2022-07-12T01:38:59.081Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:38 coverage.out [2022-07-12T01:38:59.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:37 driver [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:37 go.mod [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:37 go.sum [2022-07-12T01:38:59.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:37 snap [2022-07-12T01:38:59.081Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:38:59.392Z] + 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=12e18996c0c91e8b0504df444ed4729b65be514a --label arch=amd64 --label version=0.0.0 . [2022-07-12T01:38:59.392Z] Sending build context to Docker daemon 10.7MB [2022-07-12T01:38:59.392Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:38:59.392Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T01:38:59.392Z] ---> 176fc65f5275 [2022-07-12T01:38:59.392Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T01:38:59.653Z] ---> Running in 25f4b5dec195 [2022-07-12T01:38:59.653Z] Removing intermediate container 25f4b5dec195 [2022-07-12T01:38:59.653Z] ---> 304eae3cfd85 [2022-07-12T01:38:59.653Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:38:59.653Z] ---> Running in d1ed685135f1 [2022-07-12T01:38:59.653Z] Removing intermediate container d1ed685135f1 [2022-07-12T01:38:59.653Z] ---> 6a511a291908 [2022-07-12T01:38:59.653Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:38:59.913Z] ---> Running in 7acd240f1d29 [2022-07-12T01:38:59.913Z] Removing intermediate container 7acd240f1d29 [2022-07-12T01:38:59.913Z] ---> 399d379acc38 [2022-07-12T01:38:59.913Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:38:59.913Z] ---> Running in 68b0e5490dd5 [2022-07-12T01:39:00.483Z] Removing intermediate container 68b0e5490dd5 [2022-07-12T01:39:00.483Z] ---> 0372e92b9984 [2022-07-12T01:39:00.483Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:39:00.483Z] ---> Running in d339b394e1ee [2022-07-12T01:39:00.747Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T01:39:01.690Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T01:39:01.957Z] OK: 216 MiB in 55 packages [2022-07-12T01:39:02.530Z] Removing intermediate container d339b394e1ee [2022-07-12T01:39:02.530Z] ---> fd24446958e0 [2022-07-12T01:39:02.530Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-12T01:39:02.530Z] ---> Running in c3d36f192ff5 [2022-07-12T01:39:02.530Z] Removing intermediate container c3d36f192ff5 [2022-07-12T01:39:02.530Z] ---> b20dbe3cc6aa [2022-07-12T01:39:02.530Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T01:39:02.790Z] ---> 9d699e82d46d [2022-07-12T01:39:02.790Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:39:02.790Z] ---> Running in d5dac0e8d49c [2022-07-12T01:39:03.365Z] Removing intermediate container d5dac0e8d49c [2022-07-12T01:39:03.365Z] ---> c800ca100555 [2022-07-12T01:39:03.365Z] Step 11/25 : COPY . . [2022-07-12T01:39:03.625Z] ---> 976da6ecdb3a [2022-07-12T01:39:03.625Z] Step 12/25 : RUN $MAKE [2022-07-12T01:39:03.885Z] ---> Running in 8cc17fe20446 [2022-07-12T01:39:04.144Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-12T01:39:26.099Z] Removing intermediate container 8cc17fe20446 [2022-07-12T01:39:26.099Z] ---> 669e76463e4a [2022-07-12T01:39:26.099Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T01:39:26.099Z] 3.16: Pulling from library/alpine [2022-07-12T01:39:26.099Z] 2408cc74d12b: Already exists [2022-07-12T01:39:26.099Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T01:39:26.099Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T01:39:26.099Z] ---> e66264b98777 [2022-07-12T01:39:26.099Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T01:39:26.099Z] ---> Running in 9231eaadd291 [2022-07-12T01:39:26.099Z] Removing intermediate container 9231eaadd291 [2022-07-12T01:39:26.099Z] ---> 4d0341055532 [2022-07-12T01:39:26.099Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-12T01:39:26.099Z] ---> Running in 7fa8a8c31b8a [2022-07-12T01:39:26.099Z] Removing intermediate container 7fa8a8c31b8a [2022-07-12T01:39:26.099Z] ---> 9239d292add2 [2022-07-12T01:39:26.099Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T01:39:26.099Z] ---> Running in 0d9e9f66e781 [2022-07-12T01:39:26.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T01:39:26.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T01:39:26.099Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T01:39:26.099Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T01:39:26.099Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T01:39:26.099Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T01:39:26.099Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T01:39:26.099Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T01:39:26.099Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:39:26.099Z] OK: 8 MiB in 20 packages [2022-07-12T01:39:26.099Z] Removing intermediate container 0d9e9f66e781 [2022-07-12T01:39:26.099Z] ---> e34e19b55384 [2022-07-12T01:39:26.099Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-12T01:39:26.666Z] ---> d35c8118111c [2022-07-12T01:39:26.666Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-12T01:39:26.934Z] ---> 738394edfdde [2022-07-12T01:39:26.934Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-12T01:39:26.934Z] ---> 4a8ce766590c [2022-07-12T01:39:26.934Z] Step 20/25 : EXPOSE 59986 [2022-07-12T01:39:27.194Z] ---> Running in bfddbaf6857b [2022-07-12T01:39:27.194Z] Removing intermediate container bfddbaf6857b [2022-07-12T01:39:27.194Z] ---> d3e9029fc1d3 [2022-07-12T01:39:27.194Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-12T01:39:27.194Z] ---> Running in ad6b0b46bf02 [2022-07-12T01:39:27.454Z] Removing intermediate container ad6b0b46bf02 [2022-07-12T01:39:27.454Z] ---> e08033714b69 [2022-07-12T01:39:27.454Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T01:39:27.454Z] ---> Running in 1fe594705b16 [2022-07-12T01:39:27.454Z] Removing intermediate container 1fe594705b16 [2022-07-12T01:39:27.454Z] ---> c7a2ab6a9039 [2022-07-12T01:39:27.454Z] Step 23/25 : LABEL arch=amd64 [2022-07-12T01:39:27.713Z] ---> Running in 5f3ffac33ad9 [2022-07-12T01:39:27.713Z] Removing intermediate container 5f3ffac33ad9 [2022-07-12T01:39:27.713Z] ---> cb2f675db45d [2022-07-12T01:39:27.713Z] Step 24/25 : LABEL git_sha=12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T01:39:27.713Z] ---> Running in d97eb2c8f8cd [2022-07-12T01:39:27.713Z] Removing intermediate container d97eb2c8f8cd [2022-07-12T01:39:27.713Z] ---> fe15102cfc93 [2022-07-12T01:39:27.713Z] Step 25/25 : LABEL version=0.0.0 [2022-07-12T01:39:27.976Z] ---> Running in 4207bbff0f01 [2022-07-12T01:39:27.976Z] Removing intermediate container 4207bbff0f01 [2022-07-12T01:39:27.976Z] ---> 661b1cfbb7bb [2022-07-12T01:39:27.976Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T01:39:27.976Z] Successfully built 661b1cfbb7bb [2022-07-12T01:39:27.976Z] 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 [2022-07-12T01:39:28.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:39:28.402Z] [2022-07-12T01:39:28.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:39:28.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:39:28.709Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T01:39:28.709Z] 5eb5b503b376: Pulling fs layer [2022-07-12T01:39:28.709Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T01:39:28.709Z] ec43610c2a17: Pulling fs layer [2022-07-12T01:39:28.709Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T01:39:28.709Z] 33b1e0a273af: Pulling fs layer [2022-07-12T01:39:28.709Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T01:39:28.709Z] 2f39f015ded8: Pulling fs layer [2022-07-12T01:39:28.709Z] 33b1e0a273af: Waiting [2022-07-12T01:39:28.709Z] 5d3b04190fa2: Waiting [2022-07-12T01:39:28.709Z] 2f39f015ded8: Waiting [2022-07-12T01:39:28.709Z] 3a2ae6a8a46f: Waiting [2022-07-12T01:39:28.709Z] 5c69ac0246d0: Download complete [2022-07-12T01:39:28.709Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T01:39:28.709Z] 3a2ae6a8a46f: Download complete [2022-07-12T01:39:28.709Z] 33b1e0a273af: Verifying Checksum [2022-07-12T01:39:28.709Z] 33b1e0a273af: Download complete [2022-07-12T01:39:28.709Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T01:39:28.709Z] 5d3b04190fa2: Download complete [2022-07-12T01:39:28.709Z] ec43610c2a17: Verifying Checksum [2022-07-12T01:39:28.709Z] ec43610c2a17: Download complete [2022-07-12T01:39:28.969Z] 5eb5b503b376: Verifying Checksum [2022-07-12T01:39:28.969Z] 5eb5b503b376: Download complete [2022-07-12T01:39:29.536Z] 2f39f015ded8: Download complete [2022-07-12T01:39:30.105Z] 5eb5b503b376: Pull complete [2022-07-12T01:39:30.365Z] 5c69ac0246d0: Pull complete [2022-07-12T01:39:30.934Z] ec43610c2a17: Pull complete [2022-07-12T01:39:30.934Z] 3a2ae6a8a46f: Pull complete [2022-07-12T01:39:31.195Z] 33b1e0a273af: Pull complete [2022-07-12T01:39:31.195Z] 5d3b04190fa2: Pull complete [2022-07-12T01:39:36.476Z] 2f39f015ded8: Pull complete [2022-07-12T01:39:36.476Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T01:39:36.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:39:36.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:39:36.577Z] prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container [2022-07-12T01:39:36.613Z] $ 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-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 [2022-07-12T01:39:38.301Z] $ docker top 461e23bae27f66353b05995c65f13e1c0ede6a50b2e5adc2acc7b62e4d0eef2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:39:38.709Z] ---> job-cost.sh [2022-07-12T01:39:38.709Z] lf-activate-venv: SKIPPING [2022-07-12T01:39:38.709Z] INFO: No Stack... [2022-07-12T01:39:38.970Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T01:39:39.541Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T01:39:39.913Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-206/archives/cost.csv [2022-07-12T01:39:39.913Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T01:39:39.929Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [2022-07-12T01:39:39.936Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] did not exist. Created. [2022-07-12T01:39:39.936Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T01:39:40.260Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T01:39:40.292Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T01:39:40.299Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T01:39:40.329Z] $ docker stop --time=1 461e23bae27f66353b05995c65f13e1c0ede6a50b2e5adc2acc7b62e4d0eef2b [2022-07-12T01:39:41.493Z] $ docker rm -f 461e23bae27f66353b05995c65f13e1c0ede6a50b2e5adc2acc7b62e4d0eef2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T01:41:50.326Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19506 in /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] { [Pipeline] ws [2022-07-12T01:41:50.342Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-07-12T01:41:50.395Z] The recommended git tool is: git [2022-07-12T01:41:55.579Z] using credential edgex-jenkins-ssh [2022-07-12T01:41:55.595Z] Cloning the remote Git repository [2022-07-12T01:41:55.666Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T01:41:55.740Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-07-12T01:41:55.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T01:41:55.825Z] > git --version # timeout=10 [2022-07-12T01:41:55.845Z] > git --version # 'git version 2.25.1' [2022-07-12T01:41:55.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T01:41:55.923Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T01:41:57.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-12T01:41:57.642Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T01:41:57.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-12T01:41:57.792Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T01:41:57.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T01:41:57.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T01:41:58.302Z] Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T01:41:58.513Z] Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T01:41:58.513Z] Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) [2022-07-12T01:41:58.325Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T01:41:58.345Z] > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [2022-07-12T01:41:58.424Z] > git remote # timeout=10 [2022-07-12T01:41:58.439Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T01:41:58.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T01:41:58.467Z] > git merge 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [2022-07-12T01:41:58.491Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T01:41:58.523Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T01:41:58.536Z] > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [2022-07-12T01:42:02.658Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T01:42:03.609Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T01:42:03.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T01:42:03.609Z] Dload Upload Total Spent Left Speed [2022-07-12T01:42:03.609Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 97428 0 --:--:-- --:--:-- --:--:-- 97428 [Pipeline] sh [2022-07-12T01:42:04.410Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T01:42:04.761Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T01:42:04.761Z] + sudo tee /etc/docker/daemon.new [2022-07-12T01:42:04.761Z] { [2022-07-12T01:42:04.761Z] "registry-mirrors": [ [2022-07-12T01:42:04.761Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T01:42:04.761Z] ], [2022-07-12T01:42:04.761Z] "bip": "10.250.0.254/24", [2022-07-12T01:42:04.761Z] "hosts": [ [2022-07-12T01:42:04.761Z] "tcp://0.0.0.0:5555", [2022-07-12T01:42:04.761Z] "unix:///var/run/docker.sock" [2022-07-12T01:42:04.761Z] ], [2022-07-12T01:42:04.761Z] "mtu": 1458, [2022-07-12T01:42:04.761Z] "selinux-enabled": true, [2022-07-12T01:42:04.761Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T01:42:04.761Z] } [Pipeline] sh [2022-07-12T01:42:05.103Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T01:42:05.447Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:42:23.800Z] provisioning config files... [2022-07-12T01:42:23.826Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7941298516498376425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:42:24.380Z] ---> docker-login.sh [2022-07-12T01:42:24.380Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:42:24.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:42:25.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:42:25.252Z] Configure a credential helper to remove this warning. See [2022-07-12T01:42:25.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:42:25.252Z] [2022-07-12T01:42:25.252Z] Login Succeeded [2022-07-12T01:42:25.252Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:42:25.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:42:25.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:42:25.802Z] Configure a credential helper to remove this warning. See [2022-07-12T01:42:25.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:42:25.802Z] [2022-07-12T01:42:25.802Z] Login Succeeded [2022-07-12T01:42:25.802Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:42:26.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:42:26.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:42:26.354Z] Configure a credential helper to remove this warning. See [2022-07-12T01:42:26.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:42:26.354Z] [2022-07-12T01:42:26.354Z] Login Succeeded [2022-07-12T01:42:26.354Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:42:26.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:42:26.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:42:26.628Z] Configure a credential helper to remove this warning. See [2022-07-12T01:42:26.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:42:26.628Z] [2022-07-12T01:42:26.628Z] Login Succeeded [2022-07-12T01:42:26.628Z] docker.io [2022-07-12T01:42:27.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:42:27.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:42:27.503Z] Configure a credential helper to remove this warning. See [2022-07-12T01:42:27.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:42:27.503Z] [2022-07-12T01:42:27.503Z] Login Succeeded [2022-07-12T01:42:27.503Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:42:27.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T01:42:27.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:42:27.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:42:27.834Z] ========================================================= [2022-07-12T01:42:27.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T01:42:27.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:42:28.204Z] + 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 . [2022-07-12T01:42:28.204Z] Sending build context to Docker daemon 126.5kB [2022-07-12T01:42:28.480Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:42:28.480Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T01:42:28.756Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T01:42:28.756Z] b3c136eddcbf: Pulling fs layer [2022-07-12T01:42:28.756Z] c0a3192eca97: Pulling fs layer [2022-07-12T01:42:28.756Z] a050256f5b6f: Pulling fs layer [2022-07-12T01:42:28.756Z] 656be50a0ddc: Pulling fs layer [2022-07-12T01:42:28.756Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T01:42:28.756Z] 46d945488cbd: Pulling fs layer [2022-07-12T01:42:28.756Z] 8a5474983e97: Pulling fs layer [2022-07-12T01:42:28.756Z] 329c88fbcd65: Pulling fs layer [2022-07-12T01:42:28.756Z] 46d945488cbd: Waiting [2022-07-12T01:42:28.756Z] 656be50a0ddc: Waiting [2022-07-12T01:42:28.756Z] 2bbca73fdf42: Waiting [2022-07-12T01:42:28.756Z] 8a5474983e97: Waiting [2022-07-12T01:42:28.756Z] 329c88fbcd65: Waiting [2022-07-12T01:42:28.756Z] a050256f5b6f: Verifying Checksum [2022-07-12T01:42:28.756Z] a050256f5b6f: Download complete [2022-07-12T01:42:28.756Z] c0a3192eca97: Verifying Checksum [2022-07-12T01:42:28.756Z] c0a3192eca97: Download complete [2022-07-12T01:42:28.756Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T01:42:28.756Z] 2bbca73fdf42: Download complete [2022-07-12T01:42:28.756Z] 46d945488cbd: Verifying Checksum [2022-07-12T01:42:28.756Z] 46d945488cbd: Download complete [2022-07-12T01:42:28.756Z] b3c136eddcbf: Download complete [2022-07-12T01:42:29.756Z] b3c136eddcbf: Pull complete [2022-07-12T01:42:29.756Z] 329c88fbcd65: Verifying Checksum [2022-07-12T01:42:29.756Z] 329c88fbcd65: Download complete [2022-07-12T01:42:30.360Z] c0a3192eca97: Pull complete [2022-07-12T01:42:30.636Z] a050256f5b6f: Pull complete [2022-07-12T01:42:30.912Z] 8a5474983e97: Verifying Checksum [2022-07-12T01:42:30.912Z] 8a5474983e97: Download complete [2022-07-12T01:42:31.888Z] 656be50a0ddc: Verifying Checksum [2022-07-12T01:42:31.888Z] 656be50a0ddc: Download complete [2022-07-12T01:42:44.295Z] 656be50a0ddc: Pull complete [2022-07-12T01:42:44.895Z] 2bbca73fdf42: Pull complete [2022-07-12T01:42:44.895Z] 46d945488cbd: Pull complete [2022-07-12T01:42:50.296Z] 8a5474983e97: Pull complete [2022-07-12T01:42:52.263Z] 329c88fbcd65: Pull complete [2022-07-12T01:42:52.263Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T01:42:52.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T01:42:52.263Z] ---> ff4287adb874 [2022-07-12T01:42:52.263Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T01:42:54.252Z] ---> Running in 9e0344031481 [2022-07-12T01:42:54.538Z] Removing intermediate container 9e0344031481 [2022-07-12T01:42:54.538Z] ---> cfc1ae583767 [2022-07-12T01:42:54.538Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:42:54.538Z] ---> Running in 3ca1beab93db [2022-07-12T01:42:54.818Z] Removing intermediate container 3ca1beab93db [2022-07-12T01:42:54.818Z] ---> 5f8ec276d74c [2022-07-12T01:42:54.818Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:42:55.091Z] ---> Running in 204a703c10cd [2022-07-12T01:42:55.366Z] Removing intermediate container 204a703c10cd [2022-07-12T01:42:55.366Z] ---> 67e8d10af755 [2022-07-12T01:42:55.366Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:42:55.366Z] ---> Running in 3eba5b97c1e2 [2022-07-12T01:42:57.356Z] Removing intermediate container 3eba5b97c1e2 [2022-07-12T01:42:57.356Z] ---> dfe7eb0a0da0 [2022-07-12T01:42:57.356Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:42:57.356Z] ---> Running in 37e299aca2eb [2022-07-12T01:42:58.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T01:42:59.320Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T01:42:59.918Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T01:43:00.195Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T01:43:00.195Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T01:43:00.470Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T01:43:00.471Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:43:00.471Z] OK: 226 MiB in 55 packages [2022-07-12T01:43:01.463Z] Removing intermediate container 37e299aca2eb [2022-07-12T01:43:01.463Z] ---> af112c88822b [2022-07-12T01:43:01.463Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-12T01:43:01.738Z] ---> Running in 206184ffcec1 [2022-07-12T01:43:02.011Z] Removing intermediate container 206184ffcec1 [2022-07-12T01:43:02.011Z] ---> 597143fbf980 [2022-07-12T01:43:02.011Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T01:43:02.608Z] ---> 9ccd0b2cf22c [2022-07-12T01:43:02.608Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:43:02.608Z] ---> Running in 44efe35854c8 [2022-07-12T01:43:49.581Z] Removing intermediate container 44efe35854c8 [2022-07-12T01:43:49.581Z] ---> 9e9195e37222 [2022-07-12T01:43:49.581Z] Step 11/12 : COPY . . [2022-07-12T01:43:49.581Z] ---> bc0c0ad9a303 [2022-07-12T01:43:49.581Z] Step 12/12 : RUN $MAKE [2022-07-12T01:43:49.581Z] ---> Running in 2c634863ec6d [2022-07-12T01:43:49.581Z] noop [2022-07-12T01:43:49.581Z] Removing intermediate container 2c634863ec6d [2022-07-12T01:43:49.581Z] ---> 109a793cdccf [2022-07-12T01:43:49.581Z] Successfully built 109a793cdccf [2022-07-12T01:43:49.581Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:43:49.966Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T01:43:49.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:43:50.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-19506 does not seem to be running inside a container [2022-07-12T01:43:50.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 [2022-07-12T01:43:51.803Z] $ docker top 6f644e6b38ac62ac3f721e4254d87d711c5b1929b9f361d8fac7dc4cdbc4d8fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:43:52.749Z] + go version [2022-07-12T01:43:52.749Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T01:43:52.781Z] $ docker stop --time=1 6f644e6b38ac62ac3f721e4254d87d711c5b1929b9f361d8fac7dc4cdbc4d8fd [2022-07-12T01:43:54.494Z] $ docker rm -f 6f644e6b38ac62ac3f721e4254d87d711c5b1929b9f361d8fac7dc4cdbc4d8fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:43:55.151Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T01:43:55.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:43:55.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-19506 does not seem to be running inside a container [2022-07-12T01:43:55.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 [2022-07-12T01:43:56.807Z] $ docker top c2d5854eb3a5723bb03fce2f6dd2df564de48ef85483da565b353bf7af71adea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:43:57.729Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2022-07-12T01:43:58.409Z] + make test [2022-07-12T01:43:58.410Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T01:43:59.860Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-12T01:45:21.778Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-12T01:45:22.373Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-07-12T01:45:22.972Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T01:45:22.972Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T01:45:45.202Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T01:45:45.202Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T01:45:45.202Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T01:45:45.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T01:45:45.247Z] $ docker stop --time=1 c2d5854eb3a5723bb03fce2f6dd2df564de48ef85483da565b353bf7af71adea [2022-07-12T01:45:47.065Z] $ docker rm -f c2d5854eb3a5723bb03fce2f6dd2df564de48ef85483da565b353bf7af71adea [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T01:45:48.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T01:45:48.073Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T01:45:48.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T01:45:48.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T01:45:49.256Z] + ls -al . [2022-07-12T01:45:49.256Z] total 168 [2022-07-12T01:45:49.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:43 . [2022-07-12T01:45:49.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:41 .. [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:41 .dockerignore [2022-07-12T01:45:49.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:42 .git [2022-07-12T01:45:49.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:41 .github [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:41 .gitignore [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:41 .golangci.yml [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:41 Attribution.txt [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:41 CHANGELOG.md [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:41 Dockerfile [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:41 GOVERNANCE.md [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:41 Jenkinsfile [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:41 LICENSE [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:41 Makefile [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:41 OWNERS.md [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:41 README.md [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:37 VERSION [2022-07-12T01:45:49.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:41 bin [2022-07-12T01:45:49.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:41 cmd [2022-07-12T01:45:49.256Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:45 coverage.out [2022-07-12T01:45:49.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:41 driver [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:41 go.mod [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:41 go.sum [2022-07-12T01:45:49.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:41 snap [2022-07-12T01:45:49.256Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:45:49.606Z] + 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=12e18996c0c91e8b0504df444ed4729b65be514a --label arch=arm64 --label version=0.0.0 . [2022-07-12T01:45:49.606Z] Sending build context to Docker daemon 136.7kB [2022-07-12T01:45:49.885Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:45:49.885Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T01:45:49.885Z] ---> 109a793cdccf [2022-07-12T01:45:49.885Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T01:45:50.159Z] ---> Running in 6565cacf0920 [2022-07-12T01:45:50.431Z] Removing intermediate container 6565cacf0920 [2022-07-12T01:45:50.431Z] ---> bb1f85c68cb5 [2022-07-12T01:45:50.431Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:45:50.431Z] ---> Running in fdae02631e5f [2022-07-12T01:45:50.706Z] Removing intermediate container fdae02631e5f [2022-07-12T01:45:50.706Z] ---> 252f26ae3f2a [2022-07-12T01:45:50.706Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:45:50.983Z] ---> Running in d7179eccca5c [2022-07-12T01:45:51.266Z] Removing intermediate container d7179eccca5c [2022-07-12T01:45:51.266Z] ---> 9526c85cabaa [2022-07-12T01:45:51.266Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:45:51.266Z] ---> Running in 89a8e09cd6e1 [2022-07-12T01:45:53.251Z] Removing intermediate container 89a8e09cd6e1 [2022-07-12T01:45:53.251Z] ---> 2dddc077f4d9 [2022-07-12T01:45:53.251Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:45:53.251Z] ---> Running in 934eae878aa6 [2022-07-12T01:45:53.845Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T01:45:54.824Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T01:45:55.808Z] OK: 226 MiB in 55 packages [2022-07-12T01:45:56.405Z] Removing intermediate container 934eae878aa6 [2022-07-12T01:45:56.405Z] ---> be813a541c29 [2022-07-12T01:45:56.405Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-12T01:45:56.405Z] ---> Running in 2a7fa0979d0f [2022-07-12T01:45:57.004Z] Removing intermediate container 2a7fa0979d0f [2022-07-12T01:45:57.005Z] ---> b50c26c03163 [2022-07-12T01:45:57.005Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T01:45:57.279Z] ---> d467d4cfa078 [2022-07-12T01:45:57.279Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:45:57.563Z] ---> Running in aac702b48aab [2022-07-12T01:45:59.536Z] Removing intermediate container aac702b48aab [2022-07-12T01:45:59.536Z] ---> 3950ff57c588 [2022-07-12T01:45:59.536Z] Step 11/25 : COPY . . [2022-07-12T01:45:59.813Z] ---> 6feae875ae36 [2022-07-12T01:45:59.813Z] Step 12/25 : RUN $MAKE [2022-07-12T01:46:00.093Z] ---> Running in f3d4c8707104 [2022-07-12T01:46:01.076Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-12T01:48:07.945Z] Removing intermediate container f3d4c8707104 [2022-07-12T01:48:07.945Z] ---> a1a038c3180d [2022-07-12T01:48:07.945Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T01:48:07.945Z] 3.16: Pulling from library/alpine [2022-07-12T01:48:07.945Z] b3c136eddcbf: Already exists [2022-07-12T01:48:07.945Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T01:48:07.945Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T01:48:07.945Z] ---> 6e30ab57aeee [2022-07-12T01:48:07.945Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T01:48:07.945Z] ---> Running in 38855d36c049 [2022-07-12T01:48:07.945Z] Removing intermediate container 38855d36c049 [2022-07-12T01:48:07.945Z] ---> 58ee223870cd [2022-07-12T01:48:07.945Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-12T01:48:07.945Z] ---> Running in c1552614dd4d [2022-07-12T01:48:07.945Z] Removing intermediate container c1552614dd4d [2022-07-12T01:48:07.945Z] ---> bb86a01663b1 [2022-07-12T01:48:07.945Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T01:48:07.945Z] ---> Running in 25877df228e9 [2022-07-12T01:48:07.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T01:48:07.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T01:48:08.223Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T01:48:08.223Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T01:48:08.223Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T01:48:08.223Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T01:48:08.223Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T01:48:08.223Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T01:48:08.223Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:48:08.223Z] OK: 8 MiB in 20 packages [2022-07-12T01:48:09.202Z] Removing intermediate container 25877df228e9 [2022-07-12T01:48:09.202Z] ---> bae8c62ffbaf [2022-07-12T01:48:09.202Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-12T01:48:10.638Z] ---> abe8e09fce5f [2022-07-12T01:48:10.638Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-12T01:48:11.236Z] ---> 7a828c66cb5a [2022-07-12T01:48:11.236Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-12T01:48:11.834Z] ---> f6ec0eb34098 [2022-07-12T01:48:11.834Z] Step 20/25 : EXPOSE 59986 [2022-07-12T01:48:11.834Z] ---> Running in f03e9ef035a3 [2022-07-12T01:48:12.108Z] Removing intermediate container f03e9ef035a3 [2022-07-12T01:48:12.108Z] ---> a0e18b92188a [2022-07-12T01:48:12.108Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-12T01:48:12.389Z] ---> Running in 1450a4610552 [2022-07-12T01:48:12.665Z] Removing intermediate container 1450a4610552 [2022-07-12T01:48:12.665Z] ---> a7828ef78ad4 [2022-07-12T01:48:12.665Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T01:48:12.665Z] ---> Running in fa5288f4db78 [2022-07-12T01:48:12.946Z] Removing intermediate container fa5288f4db78 [2022-07-12T01:48:12.946Z] ---> 7a991343b8a2 [2022-07-12T01:48:12.946Z] Step 23/25 : LABEL arch=arm64 [2022-07-12T01:48:12.946Z] ---> Running in e136cc34650a [2022-07-12T01:48:13.546Z] Removing intermediate container e136cc34650a [2022-07-12T01:48:13.546Z] ---> 426ccde7c5bf [2022-07-12T01:48:13.546Z] Step 24/25 : LABEL git_sha=12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T01:48:13.546Z] ---> Running in 97aadba202e8 [2022-07-12T01:48:13.820Z] Removing intermediate container 97aadba202e8 [2022-07-12T01:48:13.820Z] ---> 682ad80aa5bb [2022-07-12T01:48:13.820Z] Step 25/25 : LABEL version=0.0.0 [2022-07-12T01:48:13.820Z] ---> Running in 5ccc49598196 [2022-07-12T01:48:14.093Z] Removing intermediate container 5ccc49598196 [2022-07-12T01:48:14.093Z] ---> fd35e4c16488 [2022-07-12T01:48:14.093Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T01:48:14.093Z] Successfully built fd35e4c16488 [2022-07-12T01:48:14.093Z] 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 [2022-07-12T01:48:14.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T01:48:14.553Z] [2022-07-12T01:48:14.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:48:14.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T01:48:15.182Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T01:48:15.182Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T01:48:15.182Z] 04944245beec: Pulling fs layer [2022-07-12T01:48:15.182Z] 699f458cf7ca: Pulling fs layer [2022-07-12T01:48:15.182Z] 765212b225bb: Pulling fs layer [2022-07-12T01:48:15.182Z] f23df028b6ca: Pulling fs layer [2022-07-12T01:48:15.182Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T01:48:15.182Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T01:48:15.182Z] f23df028b6ca: Waiting [2022-07-12T01:48:15.182Z] d65c8cfc05b1: Waiting [2022-07-12T01:48:15.182Z] 2437ff75d9bd: Waiting [2022-07-12T01:48:15.182Z] 765212b225bb: Waiting [2022-07-12T01:48:15.182Z] 04944245beec: Verifying Checksum [2022-07-12T01:48:15.182Z] 04944245beec: Download complete [2022-07-12T01:48:15.182Z] 765212b225bb: Verifying Checksum [2022-07-12T01:48:15.182Z] 765212b225bb: Download complete [2022-07-12T01:48:15.182Z] f23df028b6ca: Verifying Checksum [2022-07-12T01:48:15.182Z] f23df028b6ca: Download complete [2022-07-12T01:48:15.182Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T01:48:15.182Z] d65c8cfc05b1: Download complete [2022-07-12T01:48:15.459Z] 699f458cf7ca: Verifying Checksum [2022-07-12T01:48:15.459Z] 699f458cf7ca: Download complete [2022-07-12T01:48:15.733Z] 8998bd30e6a1: Download complete [2022-07-12T01:48:18.362Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T01:48:18.362Z] 2437ff75d9bd: Download complete [2022-07-12T01:48:20.357Z] 8998bd30e6a1: Pull complete [2022-07-12T01:48:20.357Z] 04944245beec: Pull complete [2022-07-12T01:48:22.345Z] 699f458cf7ca: Pull complete [2022-07-12T01:48:22.345Z] 765212b225bb: Pull complete [2022-07-12T01:48:23.326Z] f23df028b6ca: Pull complete [2022-07-12T01:48:23.326Z] d65c8cfc05b1: Pull complete [2022-07-12T01:48:38.425Z] 2437ff75d9bd: Pull complete [2022-07-12T01:48:38.425Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T01:48:38.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T01:48:38.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:48:38.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-19506 does not seem to be running inside a container [2022-07-12T01:48:38.786Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 [2022-07-12T01:48:41.424Z] $ docker top d767b4cf269df909968e7d82e8420e5f1beb81a20d5284594a7cfd581a4c54b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:42.455Z] ---> job-cost.sh [2022-07-12T01:48:42.455Z] lf-activate-venv: SKIPPING [2022-07-12T01:48:42.455Z] INFO: No Stack... [2022-07-12T01:48:43.059Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T01:48:43.676Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T01:48:44.336Z] + + cut -d, -f6 [2022-07-12T01:48:44.337Z] cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock [2022-07-12T01:48:44.399Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [2022-07-12T01:48:44.406Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] did not exist. Created. [2022-07-12T01:48:44.406Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T01:48:45.082Z] /w/workspace/device-rest-go/3@tmp/durable-2728561c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T01:48:45.757Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T01:48:45.785Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T01:48:45.825Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T01:48:45.834Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T01:48:45.857Z] $ docker stop --time=1 d767b4cf269df909968e7d82e8420e5f1beb81a20d5284594a7cfd581a4c54b8 [2022-07-12T01:48:47.359Z] $ docker rm -f d767b4cf269df909968e7d82e8420e5f1beb81a20d5284594a7cfd581a4c54b8 [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 [2022-07-12T01:48:47.871Z] provisioning config files... [2022-07-12T01:48:47.879Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config6000981084459792447tmp [Pipeline] { [Pipeline] sh [2022-07-12T01:48:48.176Z] + set +x [2022-07-12T01:48:48.176Z] + curl -s https://codecov.io/bash [2022-07-12T01:48:48.176Z] + bash -s -- [2022-07-12T01:48:48.176Z] [2022-07-12T01:48:48.176Z] _____ _ [2022-07-12T01:48:48.176Z] / ____| | | [2022-07-12T01:48:48.176Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T01:48:48.176Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T01:48:48.176Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T01:48:48.176Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T01:48:48.176Z] Bash-1.0.6 [2022-07-12T01:48:48.176Z] [2022-07-12T01:48:48.176Z] [2022-07-12T01:48:48.176Z] ==> git version 2.25.1 found [2022-07-12T01:48:48.176Z] ==> 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 [2022-07-12T01:48:48.176Z] Release-Date: 2020-01-08 [2022-07-12T01:48:48.176Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T01:48:48.176Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T01:48:48.176Z] ==> Jenkins CI detected. [2022-07-12T01:48:48.176Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-206 [2022-07-12T01:48:48.176Z] project root: . [2022-07-12T01:48:48.176Z] --> token set from env [2022-07-12T01:48:48.176Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T01:48:48.176Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T01:48:48.176Z] ==> Python coveragepy not found [2022-07-12T01:48:48.176Z] ==> Searching for coverage reports in: [2022-07-12T01:48:48.176Z] + . [2022-07-12T01:48:48.176Z] -> Found 1 reports [2022-07-12T01:48:48.176Z] ==> Detecting git/mercurial file structure [2022-07-12T01:48:48.176Z] ==> Reading reports [2022-07-12T01:48:48.437Z] + ./coverage.out bytes=9355 [2022-07-12T01:48:48.437Z] ==> Appending adjustments [2022-07-12T01:48:48.437Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T01:48:48.437Z] + Found adjustments [2022-07-12T01:48:48.437Z] ==> Gzipping contents [2022-07-12T01:48:48.437Z] 4.0K /tmp/codecov.e6acnA.gz [2022-07-12T01:48:48.437Z] ==> Uploading reports [2022-07-12T01:48:48.437Z] url: https://codecov.io [2022-07-12T01:48:48.437Z] query: branch=PR-206&commit=12e18996c0c91e8b0504df444ed4729b65be514a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-206%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=206&job=&cmd_args= [2022-07-12T01:48:48.437Z] -> Pinging Codecov [2022-07-12T01:48:48.438Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-206&commit=12e18996c0c91e8b0504df444ed4729b65be514a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-206%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=206&job=&cmd_args= [2022-07-12T01:48:48.699Z] -> Uploading to [2022-07-12T01:48:48.699Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/4E5D53B4F1F92C436F7061BF334D961C/12e18996c0c91e8b0504df444ed4729b65be514a/5e19b6a7-431b-401d-b98a-28946625276f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T014848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2ce54cf037e70754cca625c751144c43b82eb5e25b15f75619f5dd6c553a47d [2022-07-12T01:48:48.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T01:48:48.699Z] Dload Upload Total Spent Left Speed [2022-07-12T01:48:48.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 6905 --:--:-- --:--:-- --:--:-- 6877 [2022-07-12T01:48:48.960Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] } [2022-07-12T01:48:48.969Z] 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 [2022-07-12T01:48:49.686Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-206/archives ] [2022-07-12T01:48:49.686Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives [2022-07-12T01:48:49.686Z] total 16 [2022-07-12T01:48:49.686Z] drwxr-xr-x 3 root root 4096 Jul 12 01:39 . [2022-07-12T01:48:49.686Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:39 .. [2022-07-12T01:48:49.686Z] drwxr-xr-x 2 root root 4096 Jul 12 01:39 cost [2022-07-12T01:48:49.686Z] -rw-r--r-- 1 root root 85 Jul 12 01:39 cost.csv [2022-07-12T01:48:49.686Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-206/archives [2022-07-12T01:48:49.686Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives [2022-07-12T01:48:49.686Z] total 16 [2022-07-12T01:48:49.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:39 . [2022-07-12T01:48:49.686Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:39 .. [2022-07-12T01:48:49.686Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:39 cost [2022-07-12T01:48:49.686Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 12 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:49.979Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:50.844Z] ---> package-listing.sh [2022-07-12T01:48:50.844Z] ++ facter osfamily [2022-07-12T01:48:50.844Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T01:48:51.105Z] + OS_FAMILY=debian [2022-07-12T01:48:51.105Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-206 [2022-07-12T01:48:51.105Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T01:48:51.105Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T01:48:51.105Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T01:48:51.105Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T01:48:51.105Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' [2022-07-12T01:48:51.105Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T01:48:51.106Z] + case "${OS_FAMILY}" in [2022-07-12T01:48:51.106Z] + dpkg -l [2022-07-12T01:48:51.106Z] + grep '^ii' [2022-07-12T01:48:51.106Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T01:48:51.106Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T01:48:51.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T01:48:51.106Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' [2022-07-12T01:48:51.106Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ [2022-07-12T01:48:51.106Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ [Pipeline] echo [2022-07-12T01:48:51.118Z] 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T01:48:51.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:48:51.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:48:51.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:48:52.043Z] prd-ubuntu20.04-docker-8c-8g-19505 does not seem to be running inside a container [2022-07-12T01:48:52.080Z] $ 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-206/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-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T01:48:52.296Z] $ docker top ec5cfa76bcb26c468faf581984e240ed4d62032643e7fbd658c2268859bf86ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:48:52.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T01:48:52.939Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T01:48:53.223Z] + ls /var/log/sa-host [2022-07-12T01:48:53.223Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:48:53.351Z] provisioning config files... [2022-07-12T01:48:53.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config6933473279540314926tmp [Pipeline] { [Pipeline] echo [2022-07-12T01:48:53.376Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:53.656Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T01:48:53.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:53.994Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T01:48:54.004Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:54.293Z] ---> sudo-logs.sh [2022-07-12T01:48:54.293Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T01:48:54.317Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:54.609Z] ---> job-cost.sh [2022-07-12T01:48:54.609Z] lf-activate-venv: SKIPPING [2022-07-12T01:48:54.609Z] DEBUG: total: 0.2199999988079071 [2022-07-12T01:48:54.609Z] INFO: Retrieving Stack Cost... [2022-07-12T01:48:55.190Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T01:48:55.451Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T01:48:55.466Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:48:55.752Z] ---> logs-deploy.sh [2022-07-12T01:48:55.752Z] lf-activate-venv: SKIPPING [2022-07-12T01:48:55.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-206/3 [2022-07-12T01:48:55.752Z] INFO: archiving workspace using pattern(s): [2022-07-12T01:48:56.693Z] Archives upload complete. [2022-07-12T01:48:56.952Z] INFO: archiving logs to Nexus [2022-07-12T01:48:57.523Z] ---> uname -a: [2022-07-12T01:48:57.523Z] Linux prd-ubuntu20-04-docker-8c-8g-19505 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-12T01:48:57.523Z] [2022-07-12T01:48:57.523Z] [2022-07-12T01:48:57.523Z] ---> lscpu: [2022-07-12T01:48:57.523Z] Architecture: x86_64 [2022-07-12T01:48:57.523Z] CPU op-mode(s): 32-bit, 64-bit [2022-07-12T01:48:57.523Z] Byte Order: Little Endian [2022-07-12T01:48:57.523Z] Address sizes: 40 bits physical, 48 bits virtual [2022-07-12T01:48:57.523Z] CPU(s): 8 [2022-07-12T01:48:57.523Z] On-line CPU(s) list: 0-7 [2022-07-12T01:48:57.523Z] Thread(s) per core: 1 [2022-07-12T01:48:57.523Z] Core(s) per socket: 1 [2022-07-12T01:48:57.523Z] Socket(s): 8 [2022-07-12T01:48:57.523Z] NUMA node(s): 1 [2022-07-12T01:48:57.523Z] Vendor ID: AuthenticAMD [2022-07-12T01:48:57.523Z] CPU family: 23 [2022-07-12T01:48:57.523Z] Model: 49 [2022-07-12T01:48:57.523Z] Model name: AMD EPYC-Rome Processor [2022-07-12T01:48:57.523Z] Stepping: 0 [2022-07-12T01:48:57.523Z] CPU MHz: 2799.976 [2022-07-12T01:48:57.523Z] BogoMIPS: 5599.95 [2022-07-12T01:48:57.523Z] Virtualization: AMD-V [2022-07-12T01:48:57.523Z] Hypervisor vendor: KVM [2022-07-12T01:48:57.523Z] Virtualization type: full [2022-07-12T01:48:57.523Z] L1d cache: 256 KiB [2022-07-12T01:48:57.523Z] L1i cache: 256 KiB [2022-07-12T01:48:57.523Z] L2 cache: 4 MiB [2022-07-12T01:48:57.523Z] L3 cache: 128 MiB [2022-07-12T01:48:57.523Z] NUMA node0 CPU(s): 0-7 [2022-07-12T01:48:57.523Z] Vulnerability Itlb multihit: Not affected [2022-07-12T01:48:57.523Z] Vulnerability L1tf: Not affected [2022-07-12T01:48:57.523Z] Vulnerability Mds: Not affected [2022-07-12T01:48:57.523Z] Vulnerability Meltdown: Not affected [2022-07-12T01:48:57.523Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-07-12T01:48:57.523Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-07-12T01:48:57.523Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-07-12T01:48:57.523Z] Vulnerability Srbds: Not affected [2022-07-12T01:48:57.523Z] Vulnerability Tsx async abort: Not affected [2022-07-12T01:48:57.523Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-07-12T01:48:57.523Z] [2022-07-12T01:48:57.523Z]