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-ssh11827814155013102746.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-ssh3471891530711512726.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-ssh280999962516149631.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-ssh9788753414825674052.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-ssh18167710741180939394.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19494 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-12T00:12:40.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T00:12:40.176Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T00:12:40.196Z] ========================================================= [2022-07-12T00:12:40.196Z] EdgeX Global Pipelines Version Info [2022-07-12T00:12:40.196Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:12:40.931Z] ------------------- [2022-07-12T00:12:40.932Z] stable info: [2022-07-12T00:12:40.932Z] ------------------- [2022-07-12T00:12:40.932Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T00:12:40.932Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T00:12:40.932Z] Message: update stable to v1.0.237 [2022-07-12T00:12:41.509Z] ------------------- [2022-07-12T00:12:41.509Z] experimental info: [2022-07-12T00:12:41.509Z] ------------------- [2022-07-12T00:12:41.509Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T00:12:41.509Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T00:12:41.509Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T00:12:41.774Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-12T00:12:41.791Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-12T00:12:41.807Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T00:12:41.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T00:12:41.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T00:12:41.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T00:12:41.856Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T00:12:41.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T00:12:41.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T00:12:41.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T00:12:41.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T00:12:41.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-12T00:12:41.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T00:12:41.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T00:12:41.971Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T00:12:41.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T00:12:41.993Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T00:12:42.002Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T00:12:42.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T00:12:42.021Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T00:12:42.030Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T00:12:42.043Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T00:12:42.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T00:12:42.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T00:12:42.085Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T00:12:42.096Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T00:12:42.107Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T00:12:42.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo [2022-07-12T00:12:42.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo [2022-07-12T00:12:42.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo [2022-07-12T00:12:42.165Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T00:12:42.181Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12e1899 [Pipeline] echo [2022-07-12T00:12:42.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T00:12:42.246Z] provisioning config files... [2022-07-12T00:12:42.261Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config4959019220838258517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:12:42.567Z] ---> docker-login.sh [2022-07-12T00:12:42.567Z] nexus3.edgexfoundry.org:10001 [2022-07-12T00:12:42.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:43.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:43.093Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:43.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:43.093Z] [2022-07-12T00:12:43.093Z] Login Succeeded [2022-07-12T00:12:43.093Z] nexus3.edgexfoundry.org:10002 [2022-07-12T00:12:43.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:43.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:43.093Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:43.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:43.093Z] [2022-07-12T00:12:43.093Z] Login Succeeded [2022-07-12T00:12:43.093Z] nexus3.edgexfoundry.org:10003 [2022-07-12T00:12:43.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:43.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:43.361Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:43.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:43.361Z] [2022-07-12T00:12:43.361Z] Login Succeeded [2022-07-12T00:12:43.361Z] nexus3.edgexfoundry.org:10004 [2022-07-12T00:12:43.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:43.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:43.623Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:43.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:43.623Z] [2022-07-12T00:12:43.623Z] Login Succeeded [2022-07-12T00:12:43.623Z] docker.io [2022-07-12T00:12:43.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:43.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:43.886Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:43.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:43.886Z] [2022-07-12T00:12:43.886Z] Login Succeeded [2022-07-12T00:12:43.886Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T00:12:43.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T00:12:44.281Z] + git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T00:12:44.314Z] -----------> git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a 12e18996c0c91e8b0504df444ed4729b65be514a [false] [Pipeline] sh [2022-07-12T00:12:44.603Z] + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T00:12:44.616Z] ========================================================= [2022-07-12T00:12:44.616Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T00:12:44.616Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T00:12:44.942Z] + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo [2022-07-12T00:12:44.956Z] [semverPrep] GIT_COMMIT: 12e18996c0c91e8b0504df444ed4729b65be514a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-12T00:12:44.967Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T00:12:45.331Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T00:12:45.332Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T00:12:45.332Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T00:12:45.332Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T00:12:45.332Z] + + echosudo tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts [2022-07-12T00:12:45.332Z] [2022-07-12T00:12:45.332Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:12:45.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T00:12:45.748Z] [2022-07-12T00:12:45.748Z] 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-12T00:12:46.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T00:12:46.058Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T00:12:46.058Z] b85a868b505f: Pulling fs layer [2022-07-12T00:12:46.058Z] e2be974225ed: Pulling fs layer [2022-07-12T00:12:46.058Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T00:12:46.058Z] 988bab9f4d93: Pulling fs layer [2022-07-12T00:12:46.058Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T00:12:46.058Z] eaf3925da568: Pulling fs layer [2022-07-12T00:12:46.058Z] bab4dde63d76: Pulling fs layer [2022-07-12T00:12:46.058Z] bde34c3a00c8: Pulling fs layer [2022-07-12T00:12:46.058Z] b352a97aabf1: Pulling fs layer [2022-07-12T00:12:46.058Z] 4872d77fe225: Pulling fs layer [2022-07-12T00:12:46.058Z] 5851b861e8e6: Pulling fs layer [2022-07-12T00:12:46.058Z] eaf3925da568: Waiting [2022-07-12T00:12:46.058Z] bab4dde63d76: Waiting [2022-07-12T00:12:46.058Z] bde34c3a00c8: Waiting [2022-07-12T00:12:46.058Z] 5851b861e8e6: Waiting [2022-07-12T00:12:46.058Z] b352a97aabf1: Waiting [2022-07-12T00:12:46.058Z] 988bab9f4d93: Waiting [2022-07-12T00:12:46.058Z] 1469e6f7b9e6: Waiting [2022-07-12T00:12:46.058Z] e2be974225ed: Verifying Checksum [2022-07-12T00:12:46.058Z] e2be974225ed: Download complete [2022-07-12T00:12:46.058Z] 988bab9f4d93: Verifying Checksum [2022-07-12T00:12:46.058Z] 988bab9f4d93: Download complete [2022-07-12T00:12:46.323Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T00:12:46.323Z] 1469e6f7b9e6: Download complete [2022-07-12T00:12:46.323Z] eaf3925da568: Verifying Checksum [2022-07-12T00:12:46.323Z] eaf3925da568: Download complete [2022-07-12T00:12:46.323Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T00:12:46.323Z] 339a4e72a1f5: Download complete [2022-07-12T00:12:46.323Z] bde34c3a00c8: Download complete [2022-07-12T00:12:46.323Z] b352a97aabf1: Download complete [2022-07-12T00:12:46.323Z] 4872d77fe225: Verifying Checksum [2022-07-12T00:12:46.323Z] 4872d77fe225: Download complete [2022-07-12T00:12:46.323Z] 5851b861e8e6: Download complete [2022-07-12T00:12:46.323Z] b85a868b505f: Verifying Checksum [2022-07-12T00:12:46.323Z] b85a868b505f: Download complete [2022-07-12T00:12:46.583Z] bab4dde63d76: Verifying Checksum [2022-07-12T00:12:46.583Z] bab4dde63d76: Download complete [2022-07-12T00:12:47.529Z] b85a868b505f: Pull complete [2022-07-12T00:12:47.790Z] e2be974225ed: Pull complete [2022-07-12T00:12:48.365Z] 339a4e72a1f5: Pull complete [2022-07-12T00:12:48.365Z] 988bab9f4d93: Pull complete [2022-07-12T00:12:48.941Z] 1469e6f7b9e6: Pull complete [2022-07-12T00:12:48.941Z] eaf3925da568: Pull complete [2022-07-12T00:12:50.854Z] bab4dde63d76: Pull complete [2022-07-12T00:12:51.117Z] bde34c3a00c8: Pull complete [2022-07-12T00:12:51.117Z] b352a97aabf1: Pull complete [2022-07-12T00:12:51.117Z] 4872d77fe225: Pull complete [2022-07-12T00:12:51.379Z] 5851b861e8e6: Pull complete [2022-07-12T00:12:51.379Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T00:12:51.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T00:12:51.379Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:12:51.487Z] prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container [2022-07-12T00:12:51.531Z] $ 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-12T00:12:52.928Z] $ docker top e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 -eo pid,comm [2022-07-12T00:12:53.007Z] 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-12T00:12:53.007Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T00:12:53.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T00:12:53.041Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T00:12:53.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T00:12:53.185Z] $ docker exec e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent [2022-07-12T00:12:53.317Z] SSH_AUTH_SOCK=/tmp/ssh-q4d5psaZhxGz/agent.32 [2022-07-12T00:12:53.317Z] SSH_AGENT_PID=38 [2022-07-12T00:12:53.323Z] Running ssh-add (command line suppressed) [2022-07-12T00:12:53.460Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_939239004107093991.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_939239004107093991.key) [2022-07-12T00:12:53.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T00:12:53.762Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T00:12:53.777Z] $ docker exec --env ******** --env ******** e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent -k [2022-07-12T00:12:53.893Z] unset SSH_AUTH_SOCK; [2022-07-12T00:12:53.893Z] unset SSH_AGENT_PID; [2022-07-12T00:12:53.894Z] echo Agent pid 38 killed; [2022-07-12T00:12:53.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T00:12:53.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T00:12:53.930Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T00:12:54.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T00:12:54.076Z] $ docker exec e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent [2022-07-12T00:12:54.198Z] SSH_AUTH_SOCK=/tmp/ssh-z99duSYZ7hhs/agent.71 [2022-07-12T00:12:54.198Z] SSH_AGENT_PID=77 [2022-07-12T00:12:54.204Z] Running ssh-add (command line suppressed) [2022-07-12T00:12:54.334Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_6730262025733211932.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_6730262025733211932.key) [2022-07-12T00:12:54.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T00:12:54.638Z] + git semver init [2022-07-12T00:12:54.900Z] 2022-07-12 00:12:54,853 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T00:12:54.900Z] 2022-07-12 00:12:54,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver [2022-07-12T00:12:54.900Z] 2022-07-12 00:12:54,854 [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-12T00:12:54.900Z] 2022-07-12 00:12:54,855 [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-12T00:12:55.843Z] 2022-07-12 00:12:55,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.git/info/exclude [2022-07-12T00:12:55.843Z] 2022-07-12 00:12:55,778 [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-12T00:12:55.843Z] 2022-07-12 00:12:55,778 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 [2022-07-12T00:12:55.843Z] 2022-07-12 00:12:55,782 [execute] INFO git cat-file --batch-check [2022-07-12T00:12:55.843Z] 2022-07-12 00:12:55,782 [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-12T00:12:55.843Z] 2022-07-12 00:12:55,789 [execute] INFO git cat-file --batch [2022-07-12T00:12:55.843Z] 2022-07-12 00:12:55,789 [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-12T00:12:55.843Z] 2022-07-12 00:12:55,795 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 [2022-07-12T00:12:55.843Z] 0.0.0 [Pipeline] } [2022-07-12T00:12:55.857Z] $ docker exec --env ******** --env ******** e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent -k [2022-07-12T00:12:55.973Z] unset SSH_AUTH_SOCK; [2022-07-12T00:12:55.973Z] unset SSH_AGENT_PID; [2022-07-12T00:12:55.973Z] echo Agent pid 77 killed; [2022-07-12T00:12:55.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T00:12:56.296Z] + git semver [Pipeline] } [2022-07-12T00:12:56.577Z] $ docker stop --time=1 e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 [2022-07-12T00:12:57.875Z] $ docker rm -f e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T00:12:58.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T00:12:58.494Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T00:12:58.497Z] [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-12T00:12:58.647Z] provisioning config files... [2022-07-12T00:12:58.659Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config7852331705907793537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:12:58.963Z] ---> docker-login.sh [2022-07-12T00:12:58.963Z] nexus3.edgexfoundry.org:10001 [2022-07-12T00:12:58.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:58.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:58.963Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:58.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:58.963Z] [2022-07-12T00:12:58.963Z] Login Succeeded [2022-07-12T00:12:58.963Z] nexus3.edgexfoundry.org:10002 [2022-07-12T00:12:58.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:59.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:59.225Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:59.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:59.225Z] [2022-07-12T00:12:59.225Z] Login Succeeded [2022-07-12T00:12:59.225Z] nexus3.edgexfoundry.org:10003 [2022-07-12T00:12:59.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:59.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:59.225Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:59.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:59.225Z] [2022-07-12T00:12:59.225Z] Login Succeeded [2022-07-12T00:12:59.225Z] nexus3.edgexfoundry.org:10004 [2022-07-12T00:12:59.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:59.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:59.487Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:59.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:59.487Z] [2022-07-12T00:12:59.487Z] Login Succeeded [2022-07-12T00:12:59.487Z] docker.io [2022-07-12T00:12:59.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:12:59.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:12:59.750Z] Configure a credential helper to remove this warning. See [2022-07-12T00:12:59.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:12:59.750Z] [2022-07-12T00:12:59.750Z] Login Succeeded [2022-07-12T00:12:59.750Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T00:12:59.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T00:12:59.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T00:12:59.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T00:12:59.847Z] ========================================================= [2022-07-12T00:12:59.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T00:12:59.847Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:13:00.158Z] + 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-12T00:13:00.158Z] Sending build context to Docker daemon 10.69MB [2022-07-12T00:13:00.158Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T00:13:00.158Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T00:13:00.158Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T00:13:00.158Z] 2408cc74d12b: Pulling fs layer [2022-07-12T00:13:00.158Z] ea60b727a1ce: Pulling fs layer [2022-07-12T00:13:00.158Z] 30c4a7721957: Pulling fs layer [2022-07-12T00:13:00.158Z] 370296b7ddb6: Pulling fs layer [2022-07-12T00:13:00.158Z] 7c6cee850709: Pulling fs layer [2022-07-12T00:13:00.158Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T00:13:00.158Z] d94ebbe4e438: Pulling fs layer [2022-07-12T00:13:00.158Z] 370296b7ddb6: Waiting [2022-07-12T00:13:00.158Z] 39a5fcdaea64: Waiting [2022-07-12T00:13:00.158Z] 7c6cee850709: Waiting [2022-07-12T00:13:00.158Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T00:13:00.158Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T00:13:00.158Z] bcfd1f05c69d: Waiting [2022-07-12T00:13:00.158Z] 30c4a7721957: Download complete [2022-07-12T00:13:00.422Z] ea60b727a1ce: Verifying Checksum [2022-07-12T00:13:00.422Z] ea60b727a1ce: Download complete [2022-07-12T00:13:00.422Z] 7c6cee850709: Verifying Checksum [2022-07-12T00:13:00.422Z] 7c6cee850709: Download complete [2022-07-12T00:13:00.422Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T00:13:00.422Z] 39a5fcdaea64: Download complete [2022-07-12T00:13:00.422Z] 2408cc74d12b: Download complete [2022-07-12T00:13:00.422Z] d94ebbe4e438: Verifying Checksum [2022-07-12T00:13:00.422Z] d94ebbe4e438: Download complete [2022-07-12T00:13:00.422Z] 2408cc74d12b: Pull complete [2022-07-12T00:13:00.695Z] ea60b727a1ce: Pull complete [2022-07-12T00:13:00.695Z] 30c4a7721957: Pull complete [2022-07-12T00:13:00.967Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T00:13:00.967Z] 59ccb84bbe0f: Download complete [2022-07-12T00:13:01.230Z] 370296b7ddb6: Verifying Checksum [2022-07-12T00:13:01.230Z] 370296b7ddb6: Download complete [2022-07-12T00:13:01.230Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T00:13:01.230Z] bcfd1f05c69d: Download complete [2022-07-12T00:13:06.512Z] 370296b7ddb6: Pull complete [2022-07-12T00:13:06.512Z] 7c6cee850709: Pull complete [2022-07-12T00:13:06.512Z] 39a5fcdaea64: Pull complete [2022-07-12T00:13:06.512Z] d94ebbe4e438: Pull complete [2022-07-12T00:13:08.420Z] bcfd1f05c69d: Pull complete [2022-07-12T00:13:08.991Z] 59ccb84bbe0f: Pull complete [2022-07-12T00:13:08.991Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T00:13:08.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T00:13:08.991Z] ---> a4fb48ad2a94 [2022-07-12T00:13:08.991Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T00:13:10.910Z] ---> Running in cecdbf0728e0 [2022-07-12T00:13:10.910Z] Removing intermediate container cecdbf0728e0 [2022-07-12T00:13:10.910Z] ---> 16b38bc1a07c [2022-07-12T00:13:10.910Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T00:13:10.910Z] ---> Running in 1a21ace6eb17 [2022-07-12T00:13:10.910Z] Removing intermediate container 1a21ace6eb17 [2022-07-12T00:13:10.910Z] ---> 05cb22b01d26 [2022-07-12T00:13:10.910Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T00:13:10.910Z] ---> Running in 4269fe7a9855 [2022-07-12T00:13:11.170Z] Removing intermediate container 4269fe7a9855 [2022-07-12T00:13:11.171Z] ---> c814532edc92 [2022-07-12T00:13:11.171Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T00:13:11.171Z] ---> Running in 48595921f126 [2022-07-12T00:13:11.749Z] Removing intermediate container 48595921f126 [2022-07-12T00:13:11.749Z] ---> d9b4a161e94f [2022-07-12T00:13:11.749Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T00:13:11.749Z] ---> Running in f865fc8d1fd1 [2022-07-12T00:13:12.009Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T00:13:12.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T00:13:13.226Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T00:13:13.226Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T00:13:13.487Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T00:13:13.487Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T00:13:13.487Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T00:13:13.605Z] Still waiting to schedule task [2022-07-12T00:13:13.605Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-12T00:13:13.764Z] OK: 216 MiB in 55 packages [2022-07-12T00:13:14.025Z] Removing intermediate container f865fc8d1fd1 [2022-07-12T00:13:14.025Z] ---> a96a90a5563b [2022-07-12T00:13:14.025Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-12T00:13:14.025Z] ---> Running in 75d44e51656d [2022-07-12T00:13:14.284Z] Removing intermediate container 75d44e51656d [2022-07-12T00:13:14.284Z] ---> 42c14cdfb082 [2022-07-12T00:13:14.284Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T00:13:14.284Z] ---> ddf37c169b6a [2022-07-12T00:13:14.284Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T00:13:14.284Z] ---> Running in 4bd0a0c6ce1e [2022-07-12T00:13:32.422Z] Removing intermediate container 4bd0a0c6ce1e [2022-07-12T00:13:32.422Z] ---> ae9cf751fc91 [2022-07-12T00:13:32.422Z] Step 11/12 : COPY . . [2022-07-12T00:13:32.422Z] ---> 28e5d952a0ef [2022-07-12T00:13:32.422Z] Step 12/12 : RUN $MAKE [2022-07-12T00:13:32.422Z] ---> Running in d89631901b41 [2022-07-12T00:13:32.422Z] noop [2022-07-12T00:13:32.422Z] Removing intermediate container d89631901b41 [2022-07-12T00:13:32.422Z] ---> e560f9917687 [2022-07-12T00:13:32.422Z] Successfully built e560f9917687 [2022-07-12T00:13:32.422Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:13:32.738Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T00:13:32.738Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:13:32.838Z] prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container [2022-07-12T00:13:32.880Z] $ 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-12T00:13:33.295Z] $ docker top c19a08cecdbe8f91f98e1147990128e17880d526cbba8b88d54a032f9aad7f35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T00:13:33.655Z] + go version [2022-07-12T00:13:33.655Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T00:13:33.672Z] $ docker stop --time=1 c19a08cecdbe8f91f98e1147990128e17880d526cbba8b88d54a032f9aad7f35 [2022-07-12T00:13:34.987Z] $ docker rm -f c19a08cecdbe8f91f98e1147990128e17880d526cbba8b88d54a032f9aad7f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:13:35.416Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T00:13:35.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:13:35.522Z] prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container [2022-07-12T00:13:35.605Z] $ 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-12T00:13:36.040Z] $ docker top a745627557eec080fd51ccfb50956ad89261b4a0f5b50439a891b72951aaf5f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T00:13:36.399Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] fileExists [Pipeline] sh [2022-07-12T00:13:36.698Z] + make test [2022-07-12T00:13:36.698Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T00:13:36.959Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-12T00:13:46.952Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-12T00:13:47.525Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2022-07-12T00:13:55.652Z] 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-12T00:13:55.652Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T00:13:58.194Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T00:13:58.194Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T00:13:58.194Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T00:13:58.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T00:13:58.230Z] $ docker stop --time=1 a745627557eec080fd51ccfb50956ad89261b4a0f5b50439a891b72951aaf5f0 [2022-07-12T00:14:00.079Z] $ docker rm -f a745627557eec080fd51ccfb50956ad89261b4a0f5b50439a891b72951aaf5f0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T00:14:00.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T00:14:00.578Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T00:14:01.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T00:14:01.401Z] + ls -al . [2022-07-12T00:14:01.401Z] total 172 [2022-07-12T00:14:01.401Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 00:13 . [2022-07-12T00:14:01.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:12 .. [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 00:12 .dockerignore [2022-07-12T00:14:01.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 00:13 .git [2022-07-12T00:14:01.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:12 .github [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 00:12 .gitignore [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 00:12 .golangci.yml [2022-07-12T00:14:01.401Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 00:12 .semver [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 00:12 Attribution.txt [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 00:12 CHANGELOG.md [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 00:12 Dockerfile [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 00:12 GOVERNANCE.md [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 00:12 Jenkinsfile [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 00:12 LICENSE [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 00:12 Makefile [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 00:12 OWNERS.md [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 00:12 README.md [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 00:12 VERSION [2022-07-12T00:14:01.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:12 bin [2022-07-12T00:14:01.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:12 cmd [2022-07-12T00:14:01.401Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 00:13 coverage.out [2022-07-12T00:14:01.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:12 driver [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 00:12 go.mod [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 00:12 go.sum [2022-07-12T00:14:01.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:12 snap [2022-07-12T00:14:01.401Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:14:01.717Z] + 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-12T00:14:01.718Z] Sending build context to Docker daemon 10.7MB [2022-07-12T00:14:01.718Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T00:14:01.718Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T00:14:01.718Z] ---> e560f9917687 [2022-07-12T00:14:01.718Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T00:14:01.994Z] ---> Running in 55f4958d9c75 [2022-07-12T00:14:01.994Z] Removing intermediate container 55f4958d9c75 [2022-07-12T00:14:01.994Z] ---> b934ab0d118a [2022-07-12T00:14:01.994Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T00:14:01.994Z] ---> Running in 261cbafc9da0 [2022-07-12T00:14:01.994Z] Removing intermediate container 261cbafc9da0 [2022-07-12T00:14:01.994Z] ---> 54ec28e9fa70 [2022-07-12T00:14:01.994Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T00:14:02.255Z] ---> Running in e3e9f2faa417 [2022-07-12T00:14:02.255Z] Removing intermediate container e3e9f2faa417 [2022-07-12T00:14:02.255Z] ---> 52137f32b563 [2022-07-12T00:14:02.255Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T00:14:02.255Z] ---> Running in 605efd3b1b01 [2022-07-12T00:14:02.827Z] Removing intermediate container 605efd3b1b01 [2022-07-12T00:14:02.827Z] ---> 8db76aeada40 [2022-07-12T00:14:02.827Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T00:14:02.827Z] ---> Running in 617eda33e1f6 [2022-07-12T00:14:03.398Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T00:14:03.969Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T00:14:04.539Z] OK: 216 MiB in 55 packages [2022-07-12T00:14:04.799Z] Removing intermediate container 617eda33e1f6 [2022-07-12T00:14:04.799Z] ---> 47ed2f9b4c2f [2022-07-12T00:14:04.799Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-12T00:14:04.799Z] ---> Running in fa2c2bd812b7 [2022-07-12T00:14:04.799Z] Removing intermediate container fa2c2bd812b7 [2022-07-12T00:14:04.799Z] ---> fcf61aacd577 [2022-07-12T00:14:04.799Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T00:14:05.060Z] ---> 6deee9b9c940 [2022-07-12T00:14:05.060Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T00:14:05.060Z] ---> Running in 664d4dc62b84 [2022-07-12T00:14:06.006Z] Removing intermediate container 664d4dc62b84 [2022-07-12T00:14:06.006Z] ---> 2007f7a393a2 [2022-07-12T00:14:06.006Z] Step 11/25 : COPY . . [2022-07-12T00:14:06.006Z] ---> f00a0ab7915a [2022-07-12T00:14:06.006Z] Step 12/25 : RUN $MAKE [2022-07-12T00:14:06.267Z] ---> Running in 506b602442f3 [2022-07-12T00:14:06.527Z] 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-12T00:14:28.483Z] Removing intermediate container 506b602442f3 [2022-07-12T00:14:28.483Z] ---> dd008a092b66 [2022-07-12T00:14:28.483Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T00:14:28.483Z] 3.16: Pulling from library/alpine [2022-07-12T00:14:28.483Z] 2408cc74d12b: Already exists [2022-07-12T00:14:28.483Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T00:14:28.483Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T00:14:28.483Z] ---> e66264b98777 [2022-07-12T00:14:28.483Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T00:14:28.483Z] ---> Running in 21ce53c352c6 [2022-07-12T00:14:28.483Z] Removing intermediate container 21ce53c352c6 [2022-07-12T00:14:28.483Z] ---> 97b7217a8c44 [2022-07-12T00:14:28.483Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-12T00:14:28.483Z] ---> Running in 8f40c0eedba5 [2022-07-12T00:14:28.483Z] Removing intermediate container 8f40c0eedba5 [2022-07-12T00:14:28.483Z] ---> cc1ffe3cf721 [2022-07-12T00:14:28.483Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T00:14:28.483Z] ---> Running in e873bbe1c456 [2022-07-12T00:14:28.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T00:14:28.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T00:14:28.748Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T00:14:28.748Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T00:14:28.748Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T00:14:28.748Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T00:14:28.748Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T00:14:28.748Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T00:14:28.748Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T00:14:28.748Z] OK: 8 MiB in 20 packages [2022-07-12T00:14:29.008Z] Removing intermediate container e873bbe1c456 [2022-07-12T00:14:29.008Z] ---> a61b1f7259ee [2022-07-12T00:14:29.008Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-12T00:14:29.579Z] ---> 100aedec2607 [2022-07-12T00:14:29.579Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-12T00:14:29.838Z] ---> 64ce4573b3d3 [2022-07-12T00:14:29.838Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-12T00:14:29.838Z] ---> 428564a83e01 [2022-07-12T00:14:29.838Z] Step 20/25 : EXPOSE 59986 [2022-07-12T00:14:30.098Z] ---> Running in 025994565da9 [2022-07-12T00:14:30.098Z] Removing intermediate container 025994565da9 [2022-07-12T00:14:30.098Z] ---> e9df2a7d4dd5 [2022-07-12T00:14:30.098Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-12T00:14:30.098Z] ---> Running in 52cc9aadfea8 [2022-07-12T00:14:30.367Z] Removing intermediate container 52cc9aadfea8 [2022-07-12T00:14:30.367Z] ---> 490071b0ba8e [2022-07-12T00:14:30.367Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T00:14:30.367Z] ---> Running in dd50d81b5f06 [2022-07-12T00:14:30.367Z] Removing intermediate container dd50d81b5f06 [2022-07-12T00:14:30.367Z] ---> c883fc243df9 [2022-07-12T00:14:30.367Z] Step 23/25 : LABEL arch=amd64 [2022-07-12T00:14:30.367Z] ---> Running in 1169bf404f10 [2022-07-12T00:14:30.629Z] Removing intermediate container 1169bf404f10 [2022-07-12T00:14:30.629Z] ---> 11b1f2f1e4b5 [2022-07-12T00:14:30.629Z] Step 24/25 : LABEL git_sha=12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T00:14:30.629Z] ---> Running in e24e71fa86ab [2022-07-12T00:14:30.629Z] Removing intermediate container e24e71fa86ab [2022-07-12T00:14:30.629Z] ---> 17c7ed05581b [2022-07-12T00:14:30.629Z] Step 25/25 : LABEL version=0.0.0 [2022-07-12T00:14:30.629Z] ---> Running in 9ac2ca8e38ec [2022-07-12T00:14:30.889Z] Removing intermediate container 9ac2ca8e38ec [2022-07-12T00:14:30.889Z] ---> de315c405523 [2022-07-12T00:14:30.889Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T00:14:30.889Z] Successfully built de315c405523 [2022-07-12T00:14:30.889Z] 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-12T00:14:31.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T00:14:31.325Z] [2022-07-12T00:14:31.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:14:31.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T00:14:31.626Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T00:14:31.626Z] 5eb5b503b376: Pulling fs layer [2022-07-12T00:14:31.626Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T00:14:31.626Z] ec43610c2a17: Pulling fs layer [2022-07-12T00:14:31.626Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T00:14:31.626Z] 33b1e0a273af: Pulling fs layer [2022-07-12T00:14:31.626Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T00:14:31.626Z] 2f39f015ded8: Pulling fs layer [2022-07-12T00:14:31.626Z] 33b1e0a273af: Waiting [2022-07-12T00:14:31.626Z] 2f39f015ded8: Waiting [2022-07-12T00:14:31.626Z] 5d3b04190fa2: Waiting [2022-07-12T00:14:31.626Z] 3a2ae6a8a46f: Waiting [2022-07-12T00:14:31.626Z] 5c69ac0246d0: Download complete [2022-07-12T00:14:31.626Z] 3a2ae6a8a46f: Download complete [2022-07-12T00:14:31.626Z] 33b1e0a273af: Verifying Checksum [2022-07-12T00:14:31.626Z] 33b1e0a273af: Download complete [2022-07-12T00:14:31.626Z] 5d3b04190fa2: Download complete [2022-07-12T00:14:31.886Z] ec43610c2a17: Verifying Checksum [2022-07-12T00:14:31.886Z] ec43610c2a17: Download complete [2022-07-12T00:14:31.886Z] 5eb5b503b376: Verifying Checksum [2022-07-12T00:14:31.886Z] 5eb5b503b376: Download complete [2022-07-12T00:14:32.454Z] 2f39f015ded8: Download complete [2022-07-12T00:14:33.026Z] 5eb5b503b376: Pull complete [2022-07-12T00:14:33.287Z] 5c69ac0246d0: Pull complete [2022-07-12T00:14:33.857Z] ec43610c2a17: Pull complete [2022-07-12T00:14:33.857Z] 3a2ae6a8a46f: Pull complete [2022-07-12T00:14:34.115Z] 33b1e0a273af: Pull complete [2022-07-12T00:14:34.115Z] 5d3b04190fa2: Pull complete [2022-07-12T00:14:39.399Z] 2f39f015ded8: Pull complete [2022-07-12T00:14:39.400Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T00:14:39.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T00:14:39.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:14:39.507Z] prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container [2022-07-12T00:14:39.560Z] $ 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-12T00:14:41.597Z] $ docker top d96f08dfb82811d03706587286eecf044740ec713bb28c97f6b86d4fef0c0719 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:14:42.009Z] ---> job-cost.sh [2022-07-12T00:14:42.009Z] lf-activate-venv: SKIPPING [2022-07-12T00:14:42.009Z] INFO: No Stack... [2022-07-12T00:14:42.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T00:14:42.838Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T00:14:43.130Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-206/archives/cost.csv [2022-07-12T00:14:43.130Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T00:14:43.144Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [2022-07-12T00:14:43.150Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] did not exist. Created. [2022-07-12T00:14:43.150Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T00:14:43.459Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T00:14:43.482Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T00:14:43.493Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T00:14:43.519Z] $ docker stop --time=1 d96f08dfb82811d03706587286eecf044740ec713bb28c97f6b86d4fef0c0719 [2022-07-12T00:14:44.688Z] $ docker rm -f d96f08dfb82811d03706587286eecf044740ec713bb28c97f6b86d4fef0c0719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T00:14:49.740Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19495 in /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] { [Pipeline] ws [2022-07-12T00:14:49.755Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-07-12T00:14:49.781Z] The recommended git tool is: git [2022-07-12T00:14:54.277Z] using credential edgex-jenkins-ssh [2022-07-12T00:14:54.293Z] Cloning the remote Git repository [2022-07-12T00:14:54.350Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T00:14:54.419Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-07-12T00:14:54.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T00:14:54.496Z] > git --version # timeout=10 [2022-07-12T00:14:54.515Z] > git --version # 'git version 2.25.1' [2022-07-12T00:14:54.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T00:14:54.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T00:14:56.786Z] Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T00:14:56.991Z] Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a [2022-07-12T00:14:56.992Z] Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) [2022-07-12T00:14:56.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-12T00:14:56.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T00:14:56.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-12T00:14:56.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T00:14:56.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T00:14:56.355Z] > 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-12T00:14:56.805Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T00:14:56.829Z] > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [2022-07-12T00:14:56.908Z] > git remote # timeout=10 [2022-07-12T00:14:56.924Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T00:14:56.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T00:14:56.954Z] > git merge 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [2022-07-12T00:14:56.977Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T00:14:57.001Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T00:14:57.014Z] > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [2022-07-12T00:15:01.187Z] 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-12T00:15:02.155Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T00:15:02.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T00:15:02.155Z] Dload Upload Total Spent Left Speed [2022-07-12T00:15:02.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 62000 0 --:--:-- --:--:-- --:--:-- 61688 100 12276 100 12276 0 0 61688 0 --:--:-- --:--:-- --:--:-- 61380 [Pipeline] sh [2022-07-12T00:15:02.788Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T00:15:03.129Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-07-12T00:15:03.129Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T00:15:03.129Z] { [2022-07-12T00:15:03.129Z] "registry-mirrors": [ [2022-07-12T00:15:03.129Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T00:15:03.129Z] ], [2022-07-12T00:15:03.129Z] "bip": "10.250.0.254/24", [2022-07-12T00:15:03.129Z] "hosts": [ [2022-07-12T00:15:03.129Z] "tcp://0.0.0.0:5555", [2022-07-12T00:15:03.129Z] "unix:///var/run/docker.sock" [2022-07-12T00:15:03.129Z] ], [2022-07-12T00:15:03.129Z] "mtu": 1458, [2022-07-12T00:15:03.129Z] "selinux-enabled": true, [2022-07-12T00:15:03.129Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T00:15:03.129Z] } [Pipeline] sh [2022-07-12T00:15:03.475Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T00:15:03.825Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T00:15:22.170Z] provisioning config files... [2022-07-12T00:15:22.195Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config558487976345004684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:15:22.730Z] ---> docker-login.sh [2022-07-12T00:15:22.730Z] nexus3.edgexfoundry.org:10001 [2022-07-12T00:15:23.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:15:23.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:15:23.606Z] Configure a credential helper to remove this warning. See [2022-07-12T00:15:23.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:15:23.606Z] [2022-07-12T00:15:23.606Z] Login Succeeded [2022-07-12T00:15:23.606Z] nexus3.edgexfoundry.org:10002 [2022-07-12T00:15:23.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:15:24.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:15:24.157Z] Configure a credential helper to remove this warning. See [2022-07-12T00:15:24.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:15:24.157Z] [2022-07-12T00:15:24.157Z] Login Succeeded [2022-07-12T00:15:24.157Z] nexus3.edgexfoundry.org:10003 [2022-07-12T00:15:24.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:15:24.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:15:24.433Z] Configure a credential helper to remove this warning. See [2022-07-12T00:15:24.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:15:24.433Z] [2022-07-12T00:15:24.433Z] Login Succeeded [2022-07-12T00:15:24.433Z] nexus3.edgexfoundry.org:10004 [2022-07-12T00:15:25.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:15:25.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:15:25.041Z] Configure a credential helper to remove this warning. See [2022-07-12T00:15:25.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:15:25.041Z] [2022-07-12T00:15:25.041Z] Login Succeeded [2022-07-12T00:15:25.041Z] docker.io [2022-07-12T00:15:25.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T00:15:25.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T00:15:25.912Z] Configure a credential helper to remove this warning. See [2022-07-12T00:15:25.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T00:15:25.912Z] [2022-07-12T00:15:25.912Z] Login Succeeded [2022-07-12T00:15:25.912Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T00:15:25.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T00:15:26.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T00:15:26.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T00:15:26.210Z] ========================================================= [2022-07-12T00:15:26.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T00:15:26.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:15:26.572Z] + 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-12T00:15:26.572Z] Sending build context to Docker daemon 126.5kB [2022-07-12T00:15:26.846Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T00:15:26.846Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T00:15:27.125Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T00:15:27.125Z] b3c136eddcbf: Pulling fs layer [2022-07-12T00:15:27.125Z] c0a3192eca97: Pulling fs layer [2022-07-12T00:15:27.125Z] a050256f5b6f: Pulling fs layer [2022-07-12T00:15:27.125Z] 656be50a0ddc: Pulling fs layer [2022-07-12T00:15:27.125Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T00:15:27.125Z] 46d945488cbd: Pulling fs layer [2022-07-12T00:15:27.125Z] 8a5474983e97: Pulling fs layer [2022-07-12T00:15:27.125Z] 329c88fbcd65: Pulling fs layer [2022-07-12T00:15:27.125Z] 656be50a0ddc: Waiting [2022-07-12T00:15:27.125Z] 2bbca73fdf42: Waiting [2022-07-12T00:15:27.125Z] 46d945488cbd: Waiting [2022-07-12T00:15:27.125Z] 8a5474983e97: Waiting [2022-07-12T00:15:27.125Z] 329c88fbcd65: Waiting [2022-07-12T00:15:27.125Z] a050256f5b6f: Verifying Checksum [2022-07-12T00:15:27.125Z] a050256f5b6f: Download complete [2022-07-12T00:15:27.125Z] c0a3192eca97: Verifying Checksum [2022-07-12T00:15:27.125Z] c0a3192eca97: Download complete [2022-07-12T00:15:27.125Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T00:15:27.125Z] 2bbca73fdf42: Download complete [2022-07-12T00:15:27.125Z] 46d945488cbd: Verifying Checksum [2022-07-12T00:15:27.125Z] 46d945488cbd: Download complete [2022-07-12T00:15:27.125Z] b3c136eddcbf: Verifying Checksum [2022-07-12T00:15:27.125Z] b3c136eddcbf: Download complete [2022-07-12T00:15:28.116Z] b3c136eddcbf: Pull complete [2022-07-12T00:15:28.116Z] 329c88fbcd65: Verifying Checksum [2022-07-12T00:15:28.116Z] 329c88fbcd65: Download complete [2022-07-12T00:15:28.724Z] c0a3192eca97: Pull complete [2022-07-12T00:15:29.002Z] a050256f5b6f: Pull complete [2022-07-12T00:15:29.277Z] 8a5474983e97: Verifying Checksum [2022-07-12T00:15:29.277Z] 8a5474983e97: Download complete [2022-07-12T00:15:29.876Z] 656be50a0ddc: Download complete [2022-07-12T00:15:44.972Z] 656be50a0ddc: Pull complete [2022-07-12T00:15:44.972Z] 2bbca73fdf42: Pull complete [2022-07-12T00:15:44.972Z] 46d945488cbd: Pull complete [2022-07-12T00:15:49.291Z] 8a5474983e97: Pull complete [2022-07-12T00:15:51.289Z] 329c88fbcd65: Pull complete [2022-07-12T00:15:51.289Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T00:15:51.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T00:15:51.289Z] ---> ff4287adb874 [2022-07-12T00:15:51.289Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T00:15:53.275Z] ---> Running in 7ddffc376973 [2022-07-12T00:15:53.275Z] Removing intermediate container 7ddffc376973 [2022-07-12T00:15:53.275Z] ---> 2f66c5b57715 [2022-07-12T00:15:53.275Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T00:15:53.554Z] ---> Running in f1fc269e8a7c [2022-07-12T00:15:53.829Z] Removing intermediate container f1fc269e8a7c [2022-07-12T00:15:53.829Z] ---> 6d2de409fee3 [2022-07-12T00:15:53.829Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T00:15:53.829Z] ---> Running in f72183c5cb25 [2022-07-12T00:15:54.113Z] Removing intermediate container f72183c5cb25 [2022-07-12T00:15:54.113Z] ---> df8bcd1a6635 [2022-07-12T00:15:54.113Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T00:15:54.389Z] ---> Running in 0921fbb9b8f3 [2022-07-12T00:15:56.376Z] Removing intermediate container 0921fbb9b8f3 [2022-07-12T00:15:56.376Z] ---> c71e98c9102a [2022-07-12T00:15:56.376Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T00:15:56.376Z] ---> Running in 939234cc7a71 [2022-07-12T00:15:56.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T00:15:57.960Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T00:15:59.392Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T00:15:59.392Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T00:15:59.392Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T00:15:59.669Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T00:15:59.669Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T00:15:59.669Z] OK: 226 MiB in 55 packages [2022-07-12T00:16:00.656Z] Removing intermediate container 939234cc7a71 [2022-07-12T00:16:00.656Z] ---> 7e7c50a1f6c5 [2022-07-12T00:16:00.656Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-12T00:16:00.656Z] ---> Running in 9f8722973c80 [2022-07-12T00:16:00.933Z] Removing intermediate container 9f8722973c80 [2022-07-12T00:16:00.933Z] ---> 7b1c313a8022 [2022-07-12T00:16:00.933Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T00:16:01.550Z] ---> a57a8a34ad54 [2022-07-12T00:16:01.550Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T00:16:01.550Z] ---> Running in b761d5e03b39 [2022-07-12T00:16:48.550Z] Removing intermediate container b761d5e03b39 [2022-07-12T00:16:48.550Z] ---> 7df0fa300421 [2022-07-12T00:16:48.550Z] Step 11/12 : COPY . . [2022-07-12T00:16:48.550Z] ---> 018891cf8020 [2022-07-12T00:16:48.550Z] Step 12/12 : RUN $MAKE [2022-07-12T00:16:48.550Z] ---> Running in 1d5b3633ed68 [2022-07-12T00:16:48.550Z] noop [2022-07-12T00:16:48.550Z] Removing intermediate container 1d5b3633ed68 [2022-07-12T00:16:48.550Z] ---> 693d8893af1e [2022-07-12T00:16:48.550Z] Successfully built 693d8893af1e [2022-07-12T00:16:48.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:16:48.926Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T00:16:48.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:16:49.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-19495 does not seem to be running inside a container [2022-07-12T00:16:49.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T00:16:50.586Z] $ docker top aab3f4afac72ce2a5e41f323bbbbdb5ed5b520e1a625e8021473acb21ec0f60c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T00:16:51.505Z] + go version [2022-07-12T00:16:51.505Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T00:16:51.530Z] $ docker stop --time=1 aab3f4afac72ce2a5e41f323bbbbdb5ed5b520e1a625e8021473acb21ec0f60c [2022-07-12T00:16:53.186Z] $ docker rm -f aab3f4afac72ce2a5e41f323bbbbdb5ed5b520e1a625e8021473acb21ec0f60c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:16:53.787Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T00:16:53.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:16:54.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-19495 does not seem to be running inside a container [2022-07-12T00:16:54.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T00:16:55.361Z] $ docker top 7374162c18956a3138b3c9e8dccfe617e2390d2d1efbd523f65c263bcf5c24e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T00:16:56.288Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2022-07-12T00:16:56.962Z] + make test [2022-07-12T00:16:56.962Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T00:16:58.413Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-12T00:18:20.251Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-12T00:18:20.251Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements [2022-07-12T00:18:20.251Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T00:18:20.251Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T00:18:38.600Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T00:18:38.600Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T00:18:38.600Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T00:18:38.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T00:18:38.639Z] $ docker stop --time=1 7374162c18956a3138b3c9e8dccfe617e2390d2d1efbd523f65c263bcf5c24e5 [2022-07-12T00:18:40.415Z] $ docker rm -f 7374162c18956a3138b3c9e8dccfe617e2390d2d1efbd523f65c263bcf5c24e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T00:18:41.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T00:18:41.384Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T00:18:41.831Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T00:18:42.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T00:18:42.683Z] + ls -al . [2022-07-12T00:18:42.684Z] total 168 [2022-07-12T00:18:42.684Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 00:16 . [2022-07-12T00:18:42.684Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:14 .. [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 00:14 .dockerignore [2022-07-12T00:18:42.684Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 00:15 .git [2022-07-12T00:18:42.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:14 .github [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 00:14 .gitignore [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 00:14 .golangci.yml [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 00:14 Attribution.txt [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 00:14 CHANGELOG.md [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 00:14 Dockerfile [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 00:14 GOVERNANCE.md [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 00:14 Jenkinsfile [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 00:14 LICENSE [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 00:14 Makefile [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 00:14 OWNERS.md [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 00:14 README.md [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 00:12 VERSION [2022-07-12T00:18:42.684Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:14 bin [2022-07-12T00:18:42.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:14 cmd [2022-07-12T00:18:42.684Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 00:18 coverage.out [2022-07-12T00:18:42.684Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:14 driver [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 00:14 go.mod [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 00:14 go.sum [2022-07-12T00:18:42.684Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:14 snap [2022-07-12T00:18:42.684Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:18:43.058Z] + 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-12T00:18:43.058Z] Sending build context to Docker daemon 136.7kB [2022-07-12T00:18:43.335Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T00:18:43.335Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T00:18:43.335Z] ---> 693d8893af1e [2022-07-12T00:18:43.335Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T00:18:43.624Z] ---> Running in 8afa2774bf9c [2022-07-12T00:18:43.911Z] Removing intermediate container 8afa2774bf9c [2022-07-12T00:18:43.911Z] ---> 10b4b4034079 [2022-07-12T00:18:43.911Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T00:18:43.911Z] ---> Running in e62d6c7f8fc7 [2022-07-12T00:18:44.227Z] Removing intermediate container e62d6c7f8fc7 [2022-07-12T00:18:44.227Z] ---> 51a8f78b178e [2022-07-12T00:18:44.227Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T00:18:44.514Z] ---> Running in 25fd5da84d83 [2022-07-12T00:18:44.792Z] Removing intermediate container 25fd5da84d83 [2022-07-12T00:18:44.792Z] ---> 79709be7de72 [2022-07-12T00:18:44.792Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T00:18:44.792Z] ---> Running in 4b849cdf4a78 [2022-07-12T00:18:46.789Z] Removing intermediate container 4b849cdf4a78 [2022-07-12T00:18:46.789Z] ---> 670d5f06a15a [2022-07-12T00:18:46.789Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T00:18:46.789Z] ---> Running in 8f05940e07d0 [2022-07-12T00:18:47.386Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T00:18:48.372Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T00:18:49.360Z] OK: 226 MiB in 55 packages [2022-07-12T00:18:49.967Z] Removing intermediate container 8f05940e07d0 [2022-07-12T00:18:49.967Z] ---> 82d90c87f7da [2022-07-12T00:18:49.967Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-12T00:18:49.967Z] ---> Running in 0be5d75be4fc [2022-07-12T00:18:50.243Z] Removing intermediate container 0be5d75be4fc [2022-07-12T00:18:50.243Z] ---> 9752a6705685 [2022-07-12T00:18:50.243Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T00:18:50.842Z] ---> 55d55bb2dd73 [2022-07-12T00:18:50.842Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T00:18:50.842Z] ---> Running in faf1ee569850 [2022-07-12T00:18:52.832Z] Removing intermediate container faf1ee569850 [2022-07-12T00:18:52.832Z] ---> c20309ef1134 [2022-07-12T00:18:52.832Z] Step 11/25 : COPY . . [2022-07-12T00:18:53.432Z] ---> aa2e2cd294aa [2022-07-12T00:18:53.432Z] Step 12/25 : RUN $MAKE [2022-07-12T00:18:53.432Z] ---> Running in 1e6cef4df813 [2022-07-12T00:18:54.416Z] 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-12T00:21:01.321Z] Removing intermediate container 1e6cef4df813 [2022-07-12T00:21:01.321Z] ---> 1f57b6faead8 [2022-07-12T00:21:01.321Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T00:21:01.321Z] 3.16: Pulling from library/alpine [2022-07-12T00:21:01.321Z] b3c136eddcbf: Already exists [2022-07-12T00:21:01.321Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T00:21:01.321Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T00:21:01.321Z] ---> 6e30ab57aeee [2022-07-12T00:21:01.321Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T00:21:01.321Z] ---> Running in 5326600257a1 [2022-07-12T00:21:01.321Z] Removing intermediate container 5326600257a1 [2022-07-12T00:21:01.321Z] ---> 8e1d8127b29f [2022-07-12T00:21:01.321Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-12T00:21:01.321Z] ---> Running in 108c8a7375ac [2022-07-12T00:21:01.321Z] Removing intermediate container 108c8a7375ac [2022-07-12T00:21:01.321Z] ---> f7c1b5315a94 [2022-07-12T00:21:01.321Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T00:21:01.321Z] ---> Running in 31f680ad7eb4 [2022-07-12T00:21:01.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T00:21:01.321Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: temporary error (try again later) [2022-07-12T00:21:01.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T00:21:06.722Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) [2022-07-12T00:21:06.722Z] ERROR: unable to select packages: [2022-07-12T00:21:06.722Z]  dumb-init (no such package): [2022-07-12T00:21:06.722Z] required by: world[dumb-init] [2022-07-12T00:21:06.722Z] zeromq (no such package): [2022-07-12T00:21:06.722Z] required by: world[zeromq] [2022-07-12T00:21:06.722Z] The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:21:07.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T00:21:07.193Z] [2022-07-12T00:21:07.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:21:07.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T00:21:07.820Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T00:21:07.820Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T00:21:07.820Z] 04944245beec: Pulling fs layer [2022-07-12T00:21:07.820Z] 699f458cf7ca: Pulling fs layer [2022-07-12T00:21:07.820Z] 765212b225bb: Pulling fs layer [2022-07-12T00:21:07.820Z] f23df028b6ca: Pulling fs layer [2022-07-12T00:21:07.820Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T00:21:07.820Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T00:21:07.820Z] f23df028b6ca: Waiting [2022-07-12T00:21:07.820Z] d65c8cfc05b1: Waiting [2022-07-12T00:21:07.820Z] 2437ff75d9bd: Waiting [2022-07-12T00:21:07.820Z] 765212b225bb: Waiting [2022-07-12T00:21:07.820Z] 04944245beec: Verifying Checksum [2022-07-12T00:21:07.820Z] 04944245beec: Download complete [2022-07-12T00:21:07.820Z] 765212b225bb: Verifying Checksum [2022-07-12T00:21:07.820Z] 765212b225bb: Download complete [2022-07-12T00:21:07.820Z] f23df028b6ca: Verifying Checksum [2022-07-12T00:21:07.820Z] f23df028b6ca: Download complete [2022-07-12T00:21:07.820Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T00:21:07.820Z] d65c8cfc05b1: Download complete [2022-07-12T00:21:08.097Z] 699f458cf7ca: Verifying Checksum [2022-07-12T00:21:08.097Z] 699f458cf7ca: Download complete [2022-07-12T00:21:08.374Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T00:21:08.374Z] 8998bd30e6a1: Download complete [2022-07-12T00:21:11.012Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T00:21:11.012Z] 2437ff75d9bd: Download complete [2022-07-12T00:21:12.466Z] 8998bd30e6a1: Pull complete [2022-07-12T00:21:13.064Z] 04944245beec: Pull complete [2022-07-12T00:21:14.499Z] 699f458cf7ca: Pull complete [2022-07-12T00:21:14.772Z] 765212b225bb: Pull complete [2022-07-12T00:21:15.750Z] f23df028b6ca: Pull complete [2022-07-12T00:21:16.024Z] d65c8cfc05b1: Pull complete [2022-07-12T00:21:31.111Z] 2437ff75d9bd: Pull complete [2022-07-12T00:21:31.111Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T00:21:31.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T00:21:31.111Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:21:31.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-19495 does not seem to be running inside a container [2022-07-12T00:21:31.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T00:21:33.852Z] $ docker top 5ec3b3702e6ed285694e43afaa6d0c88afb352203058dafbd9db611868b26121 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:34.753Z] ---> job-cost.sh [2022-07-12T00:21:34.754Z] lf-activate-venv: SKIPPING [2022-07-12T00:21:34.754Z] INFO: No Stack... [2022-07-12T00:21:35.345Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T00:21:36.324Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T00:21:36.985Z] + cut -d, -f6 [2022-07-12T00:21:36.985Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2022-07-12T00:21:37.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [2022-07-12T00:21:37.054Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] did not exist. Created. [2022-07-12T00:21:37.054Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T00:21:37.728Z] /w/workspace/device-rest-go/2@tmp/durable-626f13fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T00:21:38.401Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T00:21:38.428Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T00:21:38.470Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T00:21:38.477Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T00:21:38.496Z] $ docker stop --time=1 5ec3b3702e6ed285694e43afaa6d0c88afb352203058dafbd9db611868b26121 [2022-07-12T00:21:39.961Z] $ docker rm -f 5ec3b3702e6ed285694e43afaa6d0c88afb352203058dafbd9db611868b26121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T00:21:40.265Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-12T00:21:41.033Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-206/archives ] [2022-07-12T00:21:41.034Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives [2022-07-12T00:21:41.034Z] total 16 [2022-07-12T00:21:41.034Z] drwxr-xr-x 3 root root 4096 Jul 12 00:14 . [2022-07-12T00:21:41.034Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 00:14 .. [2022-07-12T00:21:41.034Z] drwxr-xr-x 2 root root 4096 Jul 12 00:14 cost [2022-07-12T00:21:41.034Z] -rw-r--r-- 1 root root 85 Jul 12 00:14 cost.csv [2022-07-12T00:21:41.034Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-206/archives [2022-07-12T00:21:41.034Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives [2022-07-12T00:21:41.034Z] total 16 [2022-07-12T00:21:41.034Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 00:14 . [2022-07-12T00:21:41.034Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 00:14 .. [2022-07-12T00:21:41.034Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 00:14 cost [2022-07-12T00:21:41.034Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 12 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:41.332Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:42.198Z] ---> package-listing.sh [2022-07-12T00:21:42.198Z] ++ facter osfamily [2022-07-12T00:21:42.198Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T00:21:42.458Z] + OS_FAMILY=debian [2022-07-12T00:21:42.458Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-206 [2022-07-12T00:21:42.458Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T00:21:42.458Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T00:21:42.458Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T00:21:42.458Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T00:21:42.458Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' [2022-07-12T00:21:42.458Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T00:21:42.459Z] + case "${OS_FAMILY}" in [2022-07-12T00:21:42.459Z] + dpkg -l [2022-07-12T00:21:42.459Z] + grep '^ii' [2022-07-12T00:21:42.459Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T00:21:42.459Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T00:21:42.459Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T00:21:42.459Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' [2022-07-12T00:21:42.459Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ [2022-07-12T00:21:42.459Z] + 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-12T00:21:42.470Z] 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-12T00:21:42.751Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T00:21:43.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T00:21:43.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T00:21:43.400Z] prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container [2022-07-12T00:21:43.440Z] $ 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-12T00:21:43.674Z] $ docker top 9d854f3f96042b54232c9df4f4cb44577cb5c53de60ae59430bda2878695b5c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T00:21:44.039Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T00:21:44.329Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T00:21:44.620Z] + ls /var/log/sa-host [2022-07-12T00:21:44.620Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T00:21:44.745Z] provisioning config files... [2022-07-12T00:21:44.756Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config1683839781349937113tmp [Pipeline] { [Pipeline] echo [2022-07-12T00:21:44.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:45.057Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T00:21:45.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:45.398Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T00:21:45.407Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:45.692Z] ---> sudo-logs.sh [2022-07-12T00:21:45.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T00:21:45.726Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:46.015Z] ---> job-cost.sh [2022-07-12T00:21:46.015Z] lf-activate-venv: SKIPPING [2022-07-12T00:21:46.015Z] DEBUG: total: 0.2199999988079071 [2022-07-12T00:21:46.015Z] INFO: Retrieving Stack Cost... [2022-07-12T00:21:46.276Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T00:21:46.848Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T00:21:46.859Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T00:21:47.145Z] ---> logs-deploy.sh [2022-07-12T00:21:47.145Z] lf-activate-venv: SKIPPING [2022-07-12T00:21:47.145Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-206/2 [2022-07-12T00:21:47.145Z] INFO: archiving workspace using pattern(s): [2022-07-12T00:21:48.085Z] Archives upload complete. [2022-07-12T00:21:48.345Z] INFO: archiving logs to Nexus