Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (6de453fec255fbe93d0edeb778f5894dfd48e8d4) 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-ssh5240978457565182172.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8576838691967073363.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5272291442942959194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7294591980048632891.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17317805154313587770.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1095 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 Merge succeeded, producing 622498a9feb7e761d2cf8f7fd4628f3bf92b349e Checking out Revision 622498a9feb7e761d2cf8f7fd4628f3bf92b349e (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # 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 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 622498a9feb7e761d2cf8f7fd4628f3bf92b349e # timeout=10 Commit message: "Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD" > git rev-list --no-walk 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-04T15:07:17.492Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-04T15:07:17.556Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-04T15:07:17.571Z] ========================================================= [2023-01-04T15:07:17.571Z] EdgeX Global Pipelines Version Info [2023-01-04T15:07:17.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:07:18.292Z] ------------------- [2023-01-04T15:07:18.292Z] stable info: [2023-01-04T15:07:18.292Z] ------------------- [2023-01-04T15:07:18.292Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-04T15:07:18.292Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T15:07:18.292Z] Message: update stable to v1.0.244 [2023-01-04T15:07:18.865Z] ------------------- [2023-01-04T15:07:18.865Z] experimental info: [2023-01-04T15:07:18.865Z] ------------------- [2023-01-04T15:07:18.865Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-04T15:07:18.865Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T15:07:18.865Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-04T15:07:19.044Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-04T15:07:19.056Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-04T15:07:19.066Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-04T15:07:19.077Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-04T15:07:19.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-04T15:07:19.103Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-04T15:07:19.120Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-04T15:07:19.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-04T15:07:19.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-04T15:07:19.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-04T15:07:19.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-04T15:07:19.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-04T15:07:19.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-04T15:07:19.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-04T15:07:19.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T15:07:19.241Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T15:07:19.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T15:07:19.263Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T15:07:19.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-04T15:07:19.280Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-04T15:07:19.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-04T15:07:19.303Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-04T15:07:19.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-04T15:07:19.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-04T15:07:19.343Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-04T15:07:19.357Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-04T15:07:19.371Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-04T15:07:19.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2023-01-04T15:07:19.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2023-01-04T15:07:19.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2023-01-04T15:07:19.418Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 622498a9feb7e761d2cf8f7fd4628f3bf92b349e [Pipeline] echo [2023-01-04T15:07:19.430Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 622498a [Pipeline] echo [2023-01-04T15:07:19.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T15:07:19.484Z] provisioning config files... [2023-01-04T15:07:19.498Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config9974825761625796524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:07:19.800Z] ---> docker-login.sh [2023-01-04T15:07:19.801Z] nexus3.edgexfoundry.org:10001 [2023-01-04T15:07:20.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:20.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:20.335Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:20.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:20.335Z] [2023-01-04T15:07:20.335Z] Login Succeeded [2023-01-04T15:07:20.335Z] nexus3.edgexfoundry.org:10002 [2023-01-04T15:07:20.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:20.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:20.595Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:20.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:20.595Z] [2023-01-04T15:07:20.595Z] Login Succeeded [2023-01-04T15:07:20.595Z] nexus3.edgexfoundry.org:10003 [2023-01-04T15:07:20.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:20.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:20.595Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:20.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:20.595Z] [2023-01-04T15:07:20.595Z] Login Succeeded [2023-01-04T15:07:20.595Z] nexus3.edgexfoundry.org:10004 [2023-01-04T15:07:20.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:20.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:20.856Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:20.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:20.856Z] [2023-01-04T15:07:20.856Z] Login Succeeded [2023-01-04T15:07:20.856Z] docker.io [2023-01-04T15:07:20.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:21.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:21.116Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:21.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:21.116Z] [2023-01-04T15:07:21.116Z] Login Succeeded [2023-01-04T15:07:21.116Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T15:07:21.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-04T15:07:21.497Z] + git rev-list -1 --merges 622498a9feb7e761d2cf8f7fd4628f3bf92b349e~1..622498a9feb7e761d2cf8f7fd4628f3bf92b349e [Pipeline] echo [2023-01-04T15:07:21.543Z] -----------> git rev-list -1 --merges 622498a9feb7e761d2cf8f7fd4628f3bf92b349e~1..622498a9feb7e761d2cf8f7fd4628f3bf92b349e 622498a9feb7e761d2cf8f7fd4628f3bf92b349e [2023-01-04T15:07:21.543Z] 622498a9feb7e761d2cf8f7fd4628f3bf92b349e [false] [Pipeline] sh [2023-01-04T15:07:21.828Z] + git log --format=format:%s -1 622498a9feb7e761d2cf8f7fd4628f3bf92b349e [Pipeline] echo [2023-01-04T15:07:21.844Z] ========================================================= [2023-01-04T15:07:21.844Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-04T15:07:21.844Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T15:07:22.182Z] + git log --format=format:%s -1 622498a9feb7e761d2cf8f7fd4628f3bf92b349e [Pipeline] echo [2023-01-04T15:07:22.196Z] [semverPrep] GIT_COMMIT: 622498a9feb7e761d2cf8f7fd4628f3bf92b349e, Commit Message: Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD [Pipeline] echo [2023-01-04T15:07:22.207Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-04T15:07:22.572Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-04T15:07:22.572Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-04T15:07:22.572Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-04T15:07:22.572Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-04T15:07:22.572Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-04T15:07:22.572Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-04T15:07:22.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:07:22.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T15:07:22.982Z] [2023-01-04T15:07:22.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:07:23.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T15:07:23.293Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-04T15:07:23.293Z] b85a868b505f: Pulling fs layer [2023-01-04T15:07:23.293Z] e2be974225ed: Pulling fs layer [2023-01-04T15:07:23.293Z] 339a4e72a1f5: Pulling fs layer [2023-01-04T15:07:23.293Z] 988bab9f4d93: Pulling fs layer [2023-01-04T15:07:23.293Z] 1469e6f7b9e6: Pulling fs layer [2023-01-04T15:07:23.293Z] eaf3925da568: Pulling fs layer [2023-01-04T15:07:23.293Z] bab4dde63d76: Pulling fs layer [2023-01-04T15:07:23.294Z] bde34c3a00c8: Pulling fs layer [2023-01-04T15:07:23.294Z] b352a97aabf1: Pulling fs layer [2023-01-04T15:07:23.294Z] 4872d77fe225: Pulling fs layer [2023-01-04T15:07:23.294Z] 5851b861e8e6: Pulling fs layer [2023-01-04T15:07:23.294Z] 988bab9f4d93: Waiting [2023-01-04T15:07:23.294Z] 1469e6f7b9e6: Waiting [2023-01-04T15:07:23.294Z] eaf3925da568: Waiting [2023-01-04T15:07:23.294Z] bab4dde63d76: Waiting [2023-01-04T15:07:23.294Z] bde34c3a00c8: Waiting [2023-01-04T15:07:23.294Z] 5851b861e8e6: Waiting [2023-01-04T15:07:23.294Z] b352a97aabf1: Waiting [2023-01-04T15:07:23.294Z] 4872d77fe225: Waiting [2023-01-04T15:07:23.294Z] e2be974225ed: Verifying Checksum [2023-01-04T15:07:23.294Z] 988bab9f4d93: Verifying Checksum [2023-01-04T15:07:23.294Z] 988bab9f4d93: Download complete [2023-01-04T15:07:23.555Z] 339a4e72a1f5: Verifying Checksum [2023-01-04T15:07:23.555Z] 339a4e72a1f5: Download complete [2023-01-04T15:07:23.555Z] 1469e6f7b9e6: Verifying Checksum [2023-01-04T15:07:23.555Z] 1469e6f7b9e6: Download complete [2023-01-04T15:07:23.555Z] eaf3925da568: Verifying Checksum [2023-01-04T15:07:23.555Z] eaf3925da568: Download complete [2023-01-04T15:07:23.555Z] bde34c3a00c8: Download complete [2023-01-04T15:07:23.555Z] b352a97aabf1: Verifying Checksum [2023-01-04T15:07:23.555Z] b352a97aabf1: Download complete [2023-01-04T15:07:23.555Z] 4872d77fe225: Verifying Checksum [2023-01-04T15:07:23.555Z] 4872d77fe225: Download complete [2023-01-04T15:07:23.555Z] 5851b861e8e6: Verifying Checksum [2023-01-04T15:07:23.555Z] 5851b861e8e6: Download complete [2023-01-04T15:07:23.555Z] b85a868b505f: Verifying Checksum [2023-01-04T15:07:23.555Z] b85a868b505f: Download complete [2023-01-04T15:07:23.814Z] bab4dde63d76: Download complete [2023-01-04T15:07:24.751Z] b85a868b505f: Pull complete [2023-01-04T15:07:24.751Z] e2be974225ed: Pull complete [2023-01-04T15:07:25.320Z] 339a4e72a1f5: Pull complete [2023-01-04T15:07:25.320Z] 988bab9f4d93: Pull complete [2023-01-04T15:07:25.580Z] 1469e6f7b9e6: Pull complete [2023-01-04T15:07:25.580Z] eaf3925da568: Pull complete [2023-01-04T15:07:27.482Z] bab4dde63d76: Pull complete [2023-01-04T15:07:27.482Z] bde34c3a00c8: Pull complete [2023-01-04T15:07:27.482Z] b352a97aabf1: Pull complete [2023-01-04T15:07:27.482Z] 4872d77fe225: Pull complete [2023-01-04T15:07:27.743Z] 5851b861e8e6: Pull complete [2023-01-04T15:07:27.743Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-04T15:07:27.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T15:07:27.743Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:07:27.825Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2023-01-04T15:07:27.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-devops/py-git-semver:0.1.4 cat [2023-01-04T15:07:29.340Z] $ docker top 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e -eo pid,comm [2023-01-04T15:07:29.396Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-04T15:07:29.396Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-04T15:07:29.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T15:07:29.434Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T15:07:29.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T15:07:29.559Z] $ docker exec 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e ssh-agent [2023-01-04T15:07:29.662Z] SSH_AUTH_SOCK=/tmp/ssh-rdVdRpblRQsk/agent.32 [2023-01-04T15:07:29.662Z] SSH_AGENT_PID=38 [2023-01-04T15:07:29.669Z] Running ssh-add (command line suppressed) [2023-01-04T15:07:29.786Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_482044588167717409.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_482044588167717409.key) [2023-01-04T15:07:29.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T15:07:30.087Z] + git tag --points-at HEAD [Pipeline] } [2023-01-04T15:07:30.108Z] $ docker exec --env ******** --env ******** 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e ssh-agent -k [2023-01-04T15:07:30.210Z] unset SSH_AUTH_SOCK; [2023-01-04T15:07:30.211Z] unset SSH_AGENT_PID; [2023-01-04T15:07:30.211Z] echo Agent pid 38 killed; [2023-01-04T15:07:30.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-04T15:07:30.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T15:07:30.242Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T15:07:30.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T15:07:30.366Z] $ docker exec 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e ssh-agent [2023-01-04T15:07:30.484Z] SSH_AUTH_SOCK=/tmp/ssh-WqF4QlDeU9OF/agent.70 [2023-01-04T15:07:30.484Z] SSH_AGENT_PID=76 [2023-01-04T15:07:30.489Z] Running ssh-add (command line suppressed) [2023-01-04T15:07:30.595Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_1941335532944087610.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_1941335532944087610.key) [2023-01-04T15:07:30.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T15:07:30.898Z] + git semver init [2023-01-04T15:07:31.157Z] 2023-01-04 15:07:31,080 [run_init] DEBUG init version:0.0.0 force:False [2023-01-04T15:07:31.157Z] 2023-01-04 15:07:31,080 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-04T15:07:31.157Z] 2023-01-04 15:07:31,081 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-04T15:07:31.157Z] 2023-01-04 15:07:31,081 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,062 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,063 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,068 [execute] INFO git cat-file --batch-check [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,076 [execute] INFO git cat-file --batch [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T15:07:32.093Z] 2023-01-04 15:07:32,081 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-04T15:07:32.093Z] 0.0.0 [Pipeline] } [2023-01-04T15:07:32.363Z] $ docker exec --env ******** --env ******** 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e ssh-agent -k [2023-01-04T15:07:32.464Z] unset SSH_AUTH_SOCK; [2023-01-04T15:07:32.464Z] unset SSH_AGENT_PID; [2023-01-04T15:07:32.464Z] echo Agent pid 76 killed; [2023-01-04T15:07:32.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-04T15:07:32.780Z] + git semver [Pipeline] } [2023-01-04T15:07:33.056Z] $ docker stop --time=1 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e [2023-01-04T15:07:34.394Z] $ docker rm -f --volumes 863b622939678eb0f4608c885ca4e584f8ce30518af06a5eaf89a80540e1e89e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T15:07:34.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-04T15:07:34.951Z] Stashed 1 file(s) [Pipeline] echo [2023-01-04T15:07:34.955Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T15:07:35.116Z] provisioning config files... [2023-01-04T15:07:35.125Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config9399958800124795298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:07:35.426Z] ---> docker-login.sh [2023-01-04T15:07:35.426Z] nexus3.edgexfoundry.org:10001 [2023-01-04T15:07:35.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:35.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:35.426Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:35.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:35.426Z] [2023-01-04T15:07:35.426Z] Login Succeeded [2023-01-04T15:07:35.426Z] nexus3.edgexfoundry.org:10002 [2023-01-04T15:07:35.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:35.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:35.426Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:35.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:35.426Z] [2023-01-04T15:07:35.426Z] Login Succeeded [2023-01-04T15:07:35.426Z] nexus3.edgexfoundry.org:10003 [2023-01-04T15:07:35.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:35.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:35.686Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:35.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:35.686Z] [2023-01-04T15:07:35.686Z] Login Succeeded [2023-01-04T15:07:35.686Z] nexus3.edgexfoundry.org:10004 [2023-01-04T15:07:35.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:35.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:35.686Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:35.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:35.686Z] [2023-01-04T15:07:35.686Z] Login Succeeded [2023-01-04T15:07:35.686Z] docker.io [2023-01-04T15:07:35.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:07:36.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:07:36.207Z] Configure a credential helper to remove this warning. See [2023-01-04T15:07:36.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:07:36.207Z] [2023-01-04T15:07:36.207Z] Login Succeeded [2023-01-04T15:07:36.207Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T15:07:36.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T15:07:36.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T15:07:36.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T15:07:36.317Z] ========================================================= [2023-01-04T15:07:36.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-04T15:07:36.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:07:36.639Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-04T15:07:36.639Z] Sending build context to Docker daemon 10.81MB [2023-01-04T15:07:36.639Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T15:07:36.639Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T15:07:36.639Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-04T15:07:36.639Z] 213ec9aee27d: Pulling fs layer [2023-01-04T15:07:36.639Z] 4583459ba037: Pulling fs layer [2023-01-04T15:07:36.639Z] 93c1e223e6f2: Pulling fs layer [2023-01-04T15:07:36.639Z] 53926ce57604: Pulling fs layer [2023-01-04T15:07:36.639Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-04T15:07:36.639Z] 22ff95d597cd: Pulling fs layer [2023-01-04T15:07:36.639Z] 12d6caf4c0d1: Pulling fs layer [2023-01-04T15:07:36.639Z] 96b7cbca73a9: Pulling fs layer [2023-01-04T15:07:36.639Z] a7acece74701: Pulling fs layer [2023-01-04T15:07:36.639Z] 53926ce57604: Waiting [2023-01-04T15:07:36.639Z] 21b2b0c7a3f4: Waiting [2023-01-04T15:07:36.639Z] 22ff95d597cd: Waiting [2023-01-04T15:07:36.639Z] 12d6caf4c0d1: Waiting [2023-01-04T15:07:36.639Z] 96b7cbca73a9: Waiting [2023-01-04T15:07:36.639Z] a7acece74701: Waiting [2023-01-04T15:07:36.639Z] 93c1e223e6f2: Verifying Checksum [2023-01-04T15:07:36.639Z] 93c1e223e6f2: Download complete [2023-01-04T15:07:36.639Z] 4583459ba037: Download complete [2023-01-04T15:07:36.897Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-04T15:07:36.897Z] 21b2b0c7a3f4: Download complete [2023-01-04T15:07:36.897Z] 22ff95d597cd: Verifying Checksum [2023-01-04T15:07:36.897Z] 22ff95d597cd: Download complete [2023-01-04T15:07:36.897Z] 213ec9aee27d: Verifying Checksum [2023-01-04T15:07:36.897Z] 213ec9aee27d: Download complete [2023-01-04T15:07:36.897Z] 12d6caf4c0d1: Verifying Checksum [2023-01-04T15:07:36.897Z] 12d6caf4c0d1: Download complete [2023-01-04T15:07:36.897Z] 213ec9aee27d: Pull complete [2023-01-04T15:07:37.155Z] 4583459ba037: Pull complete [2023-01-04T15:07:37.155Z] 93c1e223e6f2: Pull complete [2023-01-04T15:07:37.723Z] a7acece74701: Verifying Checksum [2023-01-04T15:07:37.723Z] a7acece74701: Download complete [2023-01-04T15:07:37.982Z] 53926ce57604: Verifying Checksum [2023-01-04T15:07:37.982Z] 53926ce57604: Download complete [2023-01-04T15:07:37.982Z] 96b7cbca73a9: Verifying Checksum [2023-01-04T15:07:37.982Z] 96b7cbca73a9: Download complete [2023-01-04T15:07:42.180Z] 53926ce57604: Pull complete [2023-01-04T15:07:42.180Z] 21b2b0c7a3f4: Pull complete [2023-01-04T15:07:42.180Z] 22ff95d597cd: Pull complete [2023-01-04T15:07:42.180Z] 12d6caf4c0d1: Pull complete [2023-01-04T15:07:44.085Z] 96b7cbca73a9: Pull complete [2023-01-04T15:07:44.652Z] a7acece74701: Pull complete [2023-01-04T15:07:44.652Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-04T15:07:44.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-04T15:07:44.652Z] ---> db6d94c90886 [2023-01-04T15:07:44.652Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T15:07:46.556Z] ---> Running in 525508eed4b3 [2023-01-04T15:07:46.556Z] Removing intermediate container 525508eed4b3 [2023-01-04T15:07:46.556Z] ---> 220e452dcc31 [2023-01-04T15:07:46.556Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T15:07:46.556Z] ---> Running in 1e1b169367f1 [2023-01-04T15:07:46.556Z] Removing intermediate container 1e1b169367f1 [2023-01-04T15:07:46.556Z] ---> 8a7d12226f80 [2023-01-04T15:07:46.556Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T15:07:46.556Z] ---> Running in 02414f02d8e5 [2023-01-04T15:07:46.815Z] Removing intermediate container 02414f02d8e5 [2023-01-04T15:07:46.815Z] ---> cccf37583139 [2023-01-04T15:07:46.815Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T15:07:46.815Z] ---> Running in d1be5dfd7941 [2023-01-04T15:07:46.815Z] Removing intermediate container d1be5dfd7941 [2023-01-04T15:07:46.815Z] ---> b87da633ab27 [2023-01-04T15:07:46.815Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T15:07:46.815Z] ---> Running in 36d53e8f01d6 [2023-01-04T15:07:47.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T15:07:47.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T15:07:47.594Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T15:07:47.594Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T15:07:47.594Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T15:07:47.594Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T15:07:47.594Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T15:07:47.594Z] OK: 216 MiB in 55 packages [2023-01-04T15:07:48.161Z] Removing intermediate container 36d53e8f01d6 [2023-01-04T15:07:48.161Z] ---> 12e48f990d9a [2023-01-04T15:07:48.161Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-04T15:07:48.161Z] ---> Running in dc594bb51134 [2023-01-04T15:07:48.161Z] Removing intermediate container dc594bb51134 [2023-01-04T15:07:48.161Z] ---> 9515b2109fff [2023-01-04T15:07:48.161Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T15:07:48.421Z] ---> 3ba21d6caf7c [2023-01-04T15:07:48.421Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T15:07:48.421Z] ---> Running in 9079f7694ca7 [2023-01-04T15:07:50.065Z] Still waiting to schedule task [2023-01-04T15:07:50.065Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-04T15:08:10.398Z] Removing intermediate container 9079f7694ca7 [2023-01-04T15:08:10.398Z] ---> 3366bbb517a3 [2023-01-04T15:08:10.398Z] Step 11/12 : COPY . . [2023-01-04T15:08:10.398Z] ---> 675ee626ee93 [2023-01-04T15:08:10.398Z] Step 12/12 : RUN $MAKE [2023-01-04T15:08:10.398Z] ---> Running in b790848b68bb [2023-01-04T15:08:10.398Z] noop [2023-01-04T15:08:10.398Z] Removing intermediate container b790848b68bb [2023-01-04T15:08:10.398Z] ---> 164e89d62d13 [2023-01-04T15:08:10.398Z] Successfully built 164e89d62d13 [2023-01-04T15:08:10.398Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:08:10.713Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T15:08:10.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:08:10.789Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2023-01-04T15:08:10.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T15:08:11.219Z] $ docker top df8153f100d452c39ae6d2eaf5560bade3605b0f6741c570faa43f0b2dcf6ce1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T15:08:11.552Z] + go version [2023-01-04T15:08:11.552Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-04T15:08:11.565Z] $ docker stop --time=1 df8153f100d452c39ae6d2eaf5560bade3605b0f6741c570faa43f0b2dcf6ce1 [2023-01-04T15:08:12.881Z] $ docker rm -f --volumes df8153f100d452c39ae6d2eaf5560bade3605b0f6741c570faa43f0b2dcf6ce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:08:13.287Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T15:08:13.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:08:13.357Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2023-01-04T15:08:13.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T15:08:13.734Z] $ docker top 21395102d5f82b0c3cad3cca0c7fc7e09b056b5c4ca10ba97a8cd9f0953e1535 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T15:08:14.085Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2023-01-04T15:08:14.381Z] + make test [2023-01-04T15:08:14.381Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T15:08:14.639Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-04T15:08:24.603Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-04T15:08:24.603Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 26.8% of statements [2023-01-04T15:08:31.159Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-04T15:08:31.159Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T15:08:33.690Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T15:08:33.690Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T15:08:33.690Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T15:08:33.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T15:08:33.717Z] $ docker stop --time=1 21395102d5f82b0c3cad3cca0c7fc7e09b056b5c4ca10ba97a8cd9f0953e1535 [2023-01-04T15:08:35.596Z] $ docker rm -f --volumes 21395102d5f82b0c3cad3cca0c7fc7e09b056b5c4ca10ba97a8cd9f0953e1535 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T15:08:36.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T15:08:36.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-04T15:08:36.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T15:08:36.866Z] + ls -al . [2023-01-04T15:08:36.866Z] total 200 [2023-01-04T15:08:36.866Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 15:08 . [2023-01-04T15:08:36.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 15:07 .. [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 15:07 .dockerignore [2023-01-04T15:08:36.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 15:08 .git [2023-01-04T15:08:36.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 15:07 .github [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 15:07 .gitignore [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 15:07 .golangci.yml [2023-01-04T15:08:36.866Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 15:07 .semver [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 4 15:07 Attribution.txt [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 4 15:07 CHANGELOG.md [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 4 15:07 Dockerfile [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 15:07 GOVERNANCE.md [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 15:07 Jenkinsfile [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 15:07 LICENSE [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 4 15:07 Makefile [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 15:07 OWNERS.md [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 12657 Jan 4 15:07 README.md [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 15:07 VERSION [2023-01-04T15:08:36.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 15:07 bin [2023-01-04T15:08:36.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 15:07 cmd [2023-01-04T15:08:36.866Z] -rw-r--r-- 1 jenkins jenkins 18351 Jan 4 15:08 coverage.out [2023-01-04T15:08:36.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 15:07 driver [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 4 15:07 go.mod [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 15:07 go.sum [2023-01-04T15:08:36.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 15:07 snap [2023-01-04T15:08:36.866Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:08:37.177Z] + 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=622498a9feb7e761d2cf8f7fd4628f3bf92b349e --label arch=amd64 --label version=0.0.0 . [2023-01-04T15:08:37.177Z] Sending build context to Docker daemon 10.83MB [2023-01-04T15:08:37.177Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T15:08:37.177Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-04T15:08:37.177Z] ---> 164e89d62d13 [2023-01-04T15:08:37.177Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-04T15:08:37.177Z] ---> Running in 0d6ead3de5d9 [2023-01-04T15:08:37.436Z] Removing intermediate container 0d6ead3de5d9 [2023-01-04T15:08:37.436Z] ---> 3788a356784d [2023-01-04T15:08:37.436Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T15:08:37.436Z] ---> Running in 925c81f42415 [2023-01-04T15:08:37.436Z] Removing intermediate container 925c81f42415 [2023-01-04T15:08:37.436Z] ---> df17616f0d5e [2023-01-04T15:08:37.436Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T15:08:37.436Z] ---> Running in a3966476e9a9 [2023-01-04T15:08:37.693Z] Removing intermediate container a3966476e9a9 [2023-01-04T15:08:37.693Z] ---> f4fc98fa72ca [2023-01-04T15:08:37.693Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T15:08:37.693Z] ---> Running in 92f62d32ad78 [2023-01-04T15:08:37.693Z] Removing intermediate container 92f62d32ad78 [2023-01-04T15:08:37.693Z] ---> d7880d26c4ac [2023-01-04T15:08:37.693Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T15:08:37.693Z] ---> Running in 524b355ea28d [2023-01-04T15:08:37.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T15:08:38.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T15:08:38.471Z] OK: 216 MiB in 55 packages [2023-01-04T15:08:38.731Z] Removing intermediate container 524b355ea28d [2023-01-04T15:08:38.731Z] ---> 614cae95d25b [2023-01-04T15:08:38.731Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-04T15:08:38.731Z] ---> Running in df01909d2846 [2023-01-04T15:08:38.990Z] Removing intermediate container df01909d2846 [2023-01-04T15:08:38.990Z] ---> b39dc6908caf [2023-01-04T15:08:38.990Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-04T15:08:38.990Z] ---> dbfdf5149603 [2023-01-04T15:08:38.990Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T15:08:38.990Z] ---> Running in ac552ad07633 [2023-01-04T15:08:39.928Z] Removing intermediate container ac552ad07633 [2023-01-04T15:08:39.928Z] ---> 1c12d5bfb1a1 [2023-01-04T15:08:39.928Z] Step 11/25 : COPY . . [2023-01-04T15:08:39.928Z] ---> 729ad12811b1 [2023-01-04T15:08:39.928Z] Step 12/25 : RUN $MAKE [2023-01-04T15:08:40.186Z] ---> Running in ca5b25297432 [2023-01-04T15:08:40.444Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-04T15:08:58.528Z] Removing intermediate container ca5b25297432 [2023-01-04T15:08:58.528Z] ---> 2a24ed4fbb25 [2023-01-04T15:08:58.528Z] Step 13/25 : FROM alpine:3.16 [2023-01-04T15:08:59.096Z] 3.16: Pulling from library/alpine [2023-01-04T15:08:59.096Z] ca7dd9ec2225: Pulling fs layer [2023-01-04T15:08:59.096Z] ca7dd9ec2225: Download complete [2023-01-04T15:08:59.358Z] ca7dd9ec2225: Pull complete [2023-01-04T15:08:59.358Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T15:08:59.358Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T15:08:59.358Z] ---> bfe296a52501 [2023-01-04T15:08:59.358Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-04T15:08:59.358Z] ---> Running in 798490a663d4 [2023-01-04T15:08:59.618Z] Removing intermediate container 798490a663d4 [2023-01-04T15:08:59.618Z] ---> bdbde19df27e [2023-01-04T15:08:59.618Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-04T15:08:59.618Z] ---> Running in e26753b7a86a [2023-01-04T15:08:59.618Z] Removing intermediate container e26753b7a86a [2023-01-04T15:08:59.618Z] ---> 7880ea28b940 [2023-01-04T15:08:59.618Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T15:08:59.618Z] ---> Running in be6ed7859709 [2023-01-04T15:08:59.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T15:09:00.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T15:09:00.396Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T15:09:00.396Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T15:09:00.396Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T15:09:00.656Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T15:09:00.656Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T15:09:00.656Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T15:09:00.656Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T15:09:00.656Z] OK: 8 MiB in 20 packages [2023-01-04T15:09:01.223Z] Removing intermediate container be6ed7859709 [2023-01-04T15:09:01.223Z] ---> 96b60b8d1b1b [2023-01-04T15:09:01.223Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-04T15:09:01.791Z] ---> 8fb182141e17 [2023-01-04T15:09:01.791Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-04T15:09:01.791Z] ---> 8fe31757e85a [2023-01-04T15:09:01.791Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-04T15:09:01.791Z] ---> a6397373ffeb [2023-01-04T15:09:01.791Z] Step 20/25 : EXPOSE 59986 [2023-01-04T15:09:02.050Z] ---> Running in d5ab0b83bfcc [2023-01-04T15:09:02.050Z] Removing intermediate container d5ab0b83bfcc [2023-01-04T15:09:02.050Z] ---> 4b69aa2846e6 [2023-01-04T15:09:02.050Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-04T15:09:02.050Z] ---> Running in 836658c371f3 [2023-01-04T15:09:02.050Z] Removing intermediate container 836658c371f3 [2023-01-04T15:09:02.050Z] ---> 104006314552 [2023-01-04T15:09:02.050Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T15:09:02.308Z] ---> Running in 81382162b51f [2023-01-04T15:09:02.309Z] Removing intermediate container 81382162b51f [2023-01-04T15:09:02.309Z] ---> bbf5acfd992a [2023-01-04T15:09:02.309Z] Step 23/25 : LABEL arch=amd64 [2023-01-04T15:09:02.309Z] ---> Running in 5b0937660714 [2023-01-04T15:09:02.309Z] Removing intermediate container 5b0937660714 [2023-01-04T15:09:02.309Z] ---> 633f118b91c6 [2023-01-04T15:09:02.309Z] Step 24/25 : LABEL git_sha=622498a9feb7e761d2cf8f7fd4628f3bf92b349e [2023-01-04T15:09:02.569Z] ---> Running in 2e9d7c3f867b [2023-01-04T15:09:02.569Z] Removing intermediate container 2e9d7c3f867b [2023-01-04T15:09:02.569Z] ---> 6807f6f7df9b [2023-01-04T15:09:02.569Z] Step 25/25 : LABEL version=0.0.0 [2023-01-04T15:09:02.569Z] ---> Running in f9b1474f4490 [2023-01-04T15:09:02.569Z] Removing intermediate container f9b1474f4490 [2023-01-04T15:09:02.569Z] ---> 133190e0caa8 [2023-01-04T15:09:02.569Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T15:09:02.569Z] Successfully built 133190e0caa8 [2023-01-04T15:09:02.569Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:09:03.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T15:09:03.008Z] [2023-01-04T15:09:03.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:09:03.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T15:09:03.307Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-04T15:09:03.308Z] 5eb5b503b376: Pulling fs layer [2023-01-04T15:09:03.308Z] 5c69ac0246d0: Pulling fs layer [2023-01-04T15:09:03.308Z] ec43610c2a17: Pulling fs layer [2023-01-04T15:09:03.308Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-04T15:09:03.308Z] 33b1e0a273af: Pulling fs layer [2023-01-04T15:09:03.308Z] 5d3b04190fa2: Pulling fs layer [2023-01-04T15:09:03.308Z] 2f39f015ded8: Pulling fs layer [2023-01-04T15:09:03.308Z] 5d3b04190fa2: Waiting [2023-01-04T15:09:03.308Z] 2f39f015ded8: Waiting [2023-01-04T15:09:03.308Z] 33b1e0a273af: Waiting [2023-01-04T15:09:03.308Z] 5c69ac0246d0: Verifying Checksum [2023-01-04T15:09:03.308Z] 5c69ac0246d0: Download complete [2023-01-04T15:09:03.308Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-04T15:09:03.308Z] 3a2ae6a8a46f: Download complete [2023-01-04T15:09:03.566Z] 33b1e0a273af: Verifying Checksum [2023-01-04T15:09:03.566Z] 33b1e0a273af: Download complete [2023-01-04T15:09:03.566Z] 5d3b04190fa2: Verifying Checksum [2023-01-04T15:09:03.566Z] 5d3b04190fa2: Download complete [2023-01-04T15:09:03.566Z] ec43610c2a17: Verifying Checksum [2023-01-04T15:09:03.566Z] ec43610c2a17: Download complete [2023-01-04T15:09:03.566Z] 5eb5b503b376: Verifying Checksum [2023-01-04T15:09:03.566Z] 5eb5b503b376: Download complete [2023-01-04T15:09:04.134Z] 2f39f015ded8: Verifying Checksum [2023-01-04T15:09:04.134Z] 2f39f015ded8: Download complete [2023-01-04T15:09:04.703Z] 5eb5b503b376: Pull complete [2023-01-04T15:09:04.703Z] 5c69ac0246d0: Pull complete [2023-01-04T15:09:05.267Z] ec43610c2a17: Pull complete [2023-01-04T15:09:05.267Z] 3a2ae6a8a46f: Pull complete [2023-01-04T15:09:05.525Z] 33b1e0a273af: Pull complete [2023-01-04T15:09:05.525Z] 5d3b04190fa2: Pull complete [2023-01-04T15:09:09.714Z] 2f39f015ded8: Pull complete [2023-01-04T15:09:09.714Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-04T15:09:09.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T15:09:09.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:09:09.791Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2023-01-04T15:09:09.827Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T15:09:11.687Z] $ docker top f5a40e3c019a7809447ca75c8492c258abb086e7678dbf3fe7f79e92507a7abc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:09:12.088Z] ---> job-cost.sh [2023-01-04T15:09:12.088Z] lf-activate-venv: SKIPPING [2023-01-04T15:09:12.088Z] INFO: No Stack... [2023-01-04T15:09:12.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T15:09:12.606Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T15:09:12.897Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2023-01-04T15:09:12.897Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T15:09:12.911Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] [2023-01-04T15:09:12.920Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] did not exist. Created. [2023-01-04T15:09:12.920Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T15:09:13.228Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-04T15:09:13.257Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T15:09:13.263Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T15:09:13.281Z] $ docker stop --time=1 f5a40e3c019a7809447ca75c8492c258abb086e7678dbf3fe7f79e92507a7abc [2023-01-04T15:09:14.451Z] $ docker rm -f --volumes f5a40e3c019a7809447ca75c8492c258abb086e7678dbf3fe7f79e92507a7abc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-04T15:09:20.822Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1096 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2023-01-04T15:09:20.835Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2023-01-04T15:09:20.867Z] The recommended git tool is: git [2023-01-04T15:09:25.924Z] using credential edgex-jenkins-ssh [2023-01-04T15:09:25.942Z] Cloning the remote Git repository [2023-01-04T15:09:25.975Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-04T15:09:26.046Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2023-01-04T15:09:26.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-04T15:09:26.193Z] > git --version # timeout=10 [2023-01-04T15:09:26.219Z] > git --version # 'git version 2.25.1' [2023-01-04T15:09:26.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T15:09:26.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T15:09:28.115Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-04T15:09:28.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T15:09:29.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-04T15:09:29.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-04T15:09:29.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T15:09:29.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-04T15:09:29.665Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 [2023-01-04T15:09:29.902Z] Merge succeeded, producing b4ca460becdb547ca408c942b95ba0db9bd330ac [2023-01-04T15:09:29.902Z] Checking out Revision b4ca460becdb547ca408c942b95ba0db9bd330ac (PR-229) [2023-01-04T15:09:29.676Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T15:09:29.694Z] > git checkout -f 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # timeout=10 [2023-01-04T15:09:29.768Z] > git remote # timeout=10 [2023-01-04T15:09:29.791Z] > git config --get remote.origin.url # timeout=10 [2023-01-04T15:09:29.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T15:09:29.822Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-04T15:09:29.880Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-04T15:09:29.905Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T15:09:29.919Z] > git checkout -f b4ca460becdb547ca408c942b95ba0db9bd330ac # timeout=10 [2023-01-04T15:09:33.397Z] Commit message: "Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD" [2023-01-04T15:09:33.406Z] > git rev-list --no-walk 5c60b50d94fa2ef6db2325155cb3d6b0ceca87d5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T15:09:34.289Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-04T15:09:34.289Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T15:09:34.289Z] Dload Upload Total Spent Left Speed [2023-01-04T15:09:34.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62200 0 --:--:-- --:--:-- --:--:-- 62504 [Pipeline] sh [2023-01-04T15:09:35.012Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-04T15:09:35.333Z] + sudo tee /etc/docker/daemon.new [2023-01-04T15:09:35.333Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-04T15:09:35.333Z] { [2023-01-04T15:09:35.333Z] "registry-mirrors": [ [2023-01-04T15:09:35.333Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-04T15:09:35.333Z] ], [2023-01-04T15:09:35.333Z] "bip": "10.250.0.254/24", [2023-01-04T15:09:35.333Z] "hosts": [ [2023-01-04T15:09:35.333Z] "tcp://0.0.0.0:5555", [2023-01-04T15:09:35.333Z] "unix:///var/run/docker.sock" [2023-01-04T15:09:35.333Z] ], [2023-01-04T15:09:35.333Z] "mtu": 1458, [2023-01-04T15:09:35.333Z] "selinux-enabled": true, [2023-01-04T15:09:35.333Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-04T15:09:35.333Z] } [Pipeline] sh [2023-01-04T15:09:35.654Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-04T15:09:35.975Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T15:09:54.233Z] provisioning config files... [2023-01-04T15:09:54.256Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config17648887953140882906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:09:54.589Z] ---> docker-login.sh [2023-01-04T15:09:54.589Z] nexus3.edgexfoundry.org:10001 [2023-01-04T15:09:54.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:09:55.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:09:55.130Z] Configure a credential helper to remove this warning. See [2023-01-04T15:09:55.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:09:55.130Z] [2023-01-04T15:09:55.130Z] Login Succeeded [2023-01-04T15:09:55.130Z] nexus3.edgexfoundry.org:10002 [2023-01-04T15:09:55.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:09:55.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:09:55.402Z] Configure a credential helper to remove this warning. See [2023-01-04T15:09:55.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:09:55.402Z] [2023-01-04T15:09:55.402Z] Login Succeeded [2023-01-04T15:09:55.402Z] nexus3.edgexfoundry.org:10003 [2023-01-04T15:09:55.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:09:55.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:09:55.942Z] Configure a credential helper to remove this warning. See [2023-01-04T15:09:55.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:09:55.942Z] [2023-01-04T15:09:55.942Z] Login Succeeded [2023-01-04T15:09:55.942Z] nexus3.edgexfoundry.org:10004 [2023-01-04T15:09:56.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:09:56.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:09:56.210Z] Configure a credential helper to remove this warning. See [2023-01-04T15:09:56.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:09:56.210Z] [2023-01-04T15:09:56.210Z] Login Succeeded [2023-01-04T15:09:56.210Z] docker.io [2023-01-04T15:09:56.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T15:09:56.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T15:09:56.745Z] Configure a credential helper to remove this warning. See [2023-01-04T15:09:56.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T15:09:56.745Z] [2023-01-04T15:09:56.745Z] Login Succeeded [2023-01-04T15:09:56.745Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T15:09:56.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T15:09:57.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T15:09:57.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T15:09:57.037Z] ========================================================= [2023-01-04T15:09:57.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-04T15:09:57.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:09:57.373Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-04T15:09:57.373Z] Sending build context to Docker daemon 150kB [2023-01-04T15:09:57.643Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T15:09:57.643Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T15:09:57.643Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-04T15:09:57.643Z] 9b18e9b68314: Pulling fs layer [2023-01-04T15:09:57.643Z] 35d82f9e3411: Pulling fs layer [2023-01-04T15:09:57.643Z] e16973657156: Pulling fs layer [2023-01-04T15:09:57.643Z] fc693d55d65f: Pulling fs layer [2023-01-04T15:09:57.643Z] 7e9fc2657dce: Pulling fs layer [2023-01-04T15:09:57.643Z] dda99020689f: Pulling fs layer [2023-01-04T15:09:57.643Z] db1c61fa0a46: Pulling fs layer [2023-01-04T15:09:57.643Z] 891c053d2c06: Pulling fs layer [2023-01-04T15:09:57.643Z] 7e9fc2657dce: Waiting [2023-01-04T15:09:57.643Z] dda99020689f: Waiting [2023-01-04T15:09:57.643Z] db1c61fa0a46: Waiting [2023-01-04T15:09:57.643Z] 891c053d2c06: Waiting [2023-01-04T15:09:57.643Z] fc693d55d65f: Waiting [2023-01-04T15:09:57.643Z] e16973657156: Download complete [2023-01-04T15:09:57.912Z] 35d82f9e3411: Verifying Checksum [2023-01-04T15:09:57.912Z] 35d82f9e3411: Download complete [2023-01-04T15:09:57.912Z] 7e9fc2657dce: Verifying Checksum [2023-01-04T15:09:57.912Z] 7e9fc2657dce: Download complete [2023-01-04T15:09:57.912Z] dda99020689f: Verifying Checksum [2023-01-04T15:09:57.912Z] dda99020689f: Download complete [2023-01-04T15:09:57.912Z] 9b18e9b68314: Verifying Checksum [2023-01-04T15:09:57.912Z] 9b18e9b68314: Download complete [2023-01-04T15:09:58.896Z] 9b18e9b68314: Pull complete [2023-01-04T15:09:58.896Z] 891c053d2c06: Verifying Checksum [2023-01-04T15:09:58.896Z] 891c053d2c06: Download complete [2023-01-04T15:09:59.176Z] 35d82f9e3411: Pull complete [2023-01-04T15:09:59.765Z] e16973657156: Pull complete [2023-01-04T15:10:00.034Z] db1c61fa0a46: Verifying Checksum [2023-01-04T15:10:00.034Z] db1c61fa0a46: Download complete [2023-01-04T15:10:00.623Z] fc693d55d65f: Verifying Checksum [2023-01-04T15:10:00.623Z] fc693d55d65f: Download complete [2023-01-04T15:10:12.960Z] fc693d55d65f: Pull complete [2023-01-04T15:10:12.960Z] 7e9fc2657dce: Pull complete [2023-01-04T15:10:12.960Z] dda99020689f: Pull complete [2023-01-04T15:10:19.603Z] db1c61fa0a46: Pull complete [2023-01-04T15:10:21.016Z] 891c053d2c06: Pull complete [2023-01-04T15:10:21.016Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-04T15:10:21.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-04T15:10:21.016Z] ---> f96f9c87975a [2023-01-04T15:10:21.016Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T15:10:22.964Z] ---> Running in 76cb7945f612 [2023-01-04T15:10:22.964Z] Removing intermediate container 76cb7945f612 [2023-01-04T15:10:22.964Z] ---> 650f58e80c71 [2023-01-04T15:10:22.964Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T15:10:22.964Z] ---> Running in 11213a685518 [2023-01-04T15:10:23.231Z] Removing intermediate container 11213a685518 [2023-01-04T15:10:23.231Z] ---> a7c66e31035c [2023-01-04T15:10:23.231Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T15:10:23.501Z] ---> Running in a1d8647a8b7a [2023-01-04T15:10:23.769Z] Removing intermediate container a1d8647a8b7a [2023-01-04T15:10:23.769Z] ---> 16b34878f96d [2023-01-04T15:10:23.769Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T15:10:23.769Z] ---> Running in ab012e4f668e [2023-01-04T15:10:24.047Z] Removing intermediate container ab012e4f668e [2023-01-04T15:10:24.047Z] ---> 4907d1523d1b [2023-01-04T15:10:24.047Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T15:10:24.047Z] ---> Running in ab8dcd87e08e [2023-01-04T15:10:25.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T15:10:25.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T15:10:26.438Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T15:10:26.438Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T15:10:26.709Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T15:10:26.709Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T15:10:26.709Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T15:10:26.709Z] OK: 226 MiB in 55 packages [2023-01-04T15:10:27.672Z] Removing intermediate container ab8dcd87e08e [2023-01-04T15:10:27.672Z] ---> c9aaeed2e5a5 [2023-01-04T15:10:27.672Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-04T15:10:27.672Z] ---> Running in 2b0fea59fbfc [2023-01-04T15:10:27.940Z] Removing intermediate container 2b0fea59fbfc [2023-01-04T15:10:27.940Z] ---> f6e3b1c56927 [2023-01-04T15:10:27.940Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T15:10:28.531Z] ---> 510584e6a5ce [2023-01-04T15:10:28.531Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T15:10:28.531Z] ---> Running in e5f4395d462c [2023-01-04T15:11:24.992Z] Removing intermediate container e5f4395d462c [2023-01-04T15:11:24.992Z] ---> 7dcb865bfbd1 [2023-01-04T15:11:24.992Z] Step 11/12 : COPY . . [2023-01-04T15:11:24.992Z] ---> 7709215e6db8 [2023-01-04T15:11:24.992Z] Step 12/12 : RUN $MAKE [2023-01-04T15:11:24.992Z] ---> Running in c998a62e1c40 [2023-01-04T15:11:24.992Z] noop [2023-01-04T15:11:24.992Z] Removing intermediate container c998a62e1c40 [2023-01-04T15:11:24.992Z] ---> 03550350b94e [2023-01-04T15:11:24.992Z] Successfully built 03550350b94e [2023-01-04T15:11:24.992Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:11:25.333Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T15:11:25.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:11:25.519Z] prd-ubuntu20.04-docker-arm64-4c-16g-1096 does not seem to be running inside a container [2023-01-04T15:11:25.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T15:11:26.775Z] $ docker top c3de69d48f7a521b4735e1803b72c89b7e81ef2a4c6200ebeafd37dfd3c3c19d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T15:11:27.599Z] + go version [2023-01-04T15:11:27.599Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-04T15:11:27.627Z] $ docker stop --time=1 c3de69d48f7a521b4735e1803b72c89b7e81ef2a4c6200ebeafd37dfd3c3c19d [2023-01-04T15:11:29.282Z] $ docker rm -f --volumes c3de69d48f7a521b4735e1803b72c89b7e81ef2a4c6200ebeafd37dfd3c3c19d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:11:29.790Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T15:11:29.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:11:29.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-1096 does not seem to be running inside a container [2023-01-04T15:11:30.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T15:11:31.172Z] $ docker top 4816fb91bf67edcedc1ed5bf92ecd47f4de5770e23a77bf5c4bd69adadf8cdb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T15:11:31.682Z] + git config --global --add safe.directory /w/workspace/device-rest-go/7 [Pipeline] fileExists [Pipeline] sh [2023-01-04T15:11:32.601Z] + make test [2023-01-04T15:11:32.601Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T15:11:34.013Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-04T15:12:55.692Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-04T15:12:55.692Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 26.8% of statements [2023-01-04T15:12:55.692Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-04T15:12:55.692Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T15:13:13.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T15:13:13.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T15:13:13.918Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T15:13:13.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T15:13:13.965Z] $ docker stop --time=1 4816fb91bf67edcedc1ed5bf92ecd47f4de5770e23a77bf5c4bd69adadf8cdb5 [2023-01-04T15:13:16.417Z] $ docker rm -f --volumes 4816fb91bf67edcedc1ed5bf92ecd47f4de5770e23a77bf5c4bd69adadf8cdb5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T15:13:17.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T15:13:17.339Z] Warning: overwriting stash ‘coverage-report’ [2023-01-04T15:13:17.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T15:13:18.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T15:13:18.479Z] + ls -al . [2023-01-04T15:13:18.479Z] total 196 [2023-01-04T15:13:18.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 15:11 . [2023-01-04T15:13:18.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 15:09 .. [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 15:09 .dockerignore [2023-01-04T15:13:18.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 15:09 .git [2023-01-04T15:13:18.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 15:09 .github [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 15:09 .gitignore [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 15:09 .golangci.yml [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 4 15:09 Attribution.txt [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 4 15:09 CHANGELOG.md [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 4 15:09 Dockerfile [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 15:09 GOVERNANCE.md [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 15:09 Jenkinsfile [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 15:09 LICENSE [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 4 15:09 Makefile [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 15:09 OWNERS.md [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 12657 Jan 4 15:09 README.md [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 15:07 VERSION [2023-01-04T15:13:18.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 15:09 bin [2023-01-04T15:13:18.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 15:09 cmd [2023-01-04T15:13:18.479Z] -rw-r--r-- 1 jenkins jenkins 18351 Jan 4 15:12 coverage.out [2023-01-04T15:13:18.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 15:09 driver [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 4 15:09 go.mod [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 15:09 go.sum [2023-01-04T15:13:18.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 15:09 snap [2023-01-04T15:13:18.479Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:13:18.814Z] + 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=b4ca460becdb547ca408c942b95ba0db9bd330ac --label arch=arm64 --label version=0.0.0 . [2023-01-04T15:13:18.814Z] Sending build context to Docker daemon 169kB [2023-01-04T15:13:19.081Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T15:13:19.081Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-04T15:13:19.081Z] ---> 03550350b94e [2023-01-04T15:13:19.081Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-04T15:13:19.081Z] ---> Running in 785fcbe25316 [2023-01-04T15:13:19.348Z] Removing intermediate container 785fcbe25316 [2023-01-04T15:13:19.348Z] ---> f8d00b3f6d23 [2023-01-04T15:13:19.348Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T15:13:19.348Z] ---> Running in 44cd97936c21 [2023-01-04T15:13:19.931Z] Removing intermediate container 44cd97936c21 [2023-01-04T15:13:19.931Z] ---> a411a8e5ae91 [2023-01-04T15:13:19.931Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T15:13:19.931Z] ---> Running in 11e117a21b0d [2023-01-04T15:13:20.206Z] Removing intermediate container 11e117a21b0d [2023-01-04T15:13:20.206Z] ---> c266e40a096e [2023-01-04T15:13:20.206Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T15:13:20.206Z] ---> Running in 4ed21db0cc50 [2023-01-04T15:13:20.477Z] Removing intermediate container 4ed21db0cc50 [2023-01-04T15:13:20.477Z] ---> f5af67a78c72 [2023-01-04T15:13:20.477Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T15:13:20.477Z] ---> Running in 9c2ff90eb0f3 [2023-01-04T15:13:21.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T15:13:21.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T15:13:23.126Z] OK: 226 MiB in 55 packages [2023-01-04T15:13:23.709Z] Removing intermediate container 9c2ff90eb0f3 [2023-01-04T15:13:23.709Z] ---> 39c434f6df92 [2023-01-04T15:13:23.709Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-04T15:13:23.709Z] ---> Running in 2e11fd76ba9e [2023-01-04T15:13:24.055Z] Removing intermediate container 2e11fd76ba9e [2023-01-04T15:13:24.055Z] ---> 0d5eb49386fb [2023-01-04T15:13:24.055Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-04T15:13:24.680Z] ---> f2bc2aa748bc [2023-01-04T15:13:24.680Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T15:13:24.680Z] ---> Running in 6790ddf9eaac [2023-01-04T15:13:26.670Z] Removing intermediate container 6790ddf9eaac [2023-01-04T15:13:26.670Z] ---> fcfc63db82b9 [2023-01-04T15:13:26.670Z] Step 11/25 : COPY . . [2023-01-04T15:13:28.640Z] ---> 4d0f131d3287 [2023-01-04T15:13:28.640Z] Step 12/25 : RUN $MAKE [2023-01-04T15:13:28.640Z] ---> Running in e7db7a90d748 [2023-01-04T15:13:29.228Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-04T15:16:06.009Z] Removing intermediate container e7db7a90d748 [2023-01-04T15:16:06.009Z] ---> e33f8d030c58 [2023-01-04T15:16:06.009Z] Step 13/25 : FROM alpine:3.16 [2023-01-04T15:16:06.009Z] 3.16: Pulling from library/alpine [2023-01-04T15:16:06.009Z] 6875df1f5354: Pulling fs layer [2023-01-04T15:16:06.009Z] 6875df1f5354: Verifying Checksum [2023-01-04T15:16:06.009Z] 6875df1f5354: Download complete [2023-01-04T15:16:06.009Z] 6875df1f5354: Pull complete [2023-01-04T15:16:06.009Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T15:16:06.009Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T15:16:06.009Z] ---> 2b4661558fb8 [2023-01-04T15:16:06.009Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-04T15:16:06.009Z] ---> Running in 00e611d1346a [2023-01-04T15:16:06.009Z] Removing intermediate container 00e611d1346a [2023-01-04T15:16:06.010Z] ---> 5849b0ae2ec5 [2023-01-04T15:16:06.010Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-04T15:16:06.010Z] ---> Running in bba867a08539 [2023-01-04T15:16:06.010Z] Removing intermediate container bba867a08539 [2023-01-04T15:16:06.010Z] ---> 52a45bc6a1a5 [2023-01-04T15:16:06.010Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T15:16:06.010Z] ---> Running in 27a8e9717695 [2023-01-04T15:16:06.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T15:16:06.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T15:16:06.010Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T15:16:06.010Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T15:16:06.010Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T15:16:06.010Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T15:16:06.010Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T15:16:06.010Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T15:16:06.010Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T15:16:06.010Z] OK: 8 MiB in 20 packages [2023-01-04T15:16:06.010Z] Removing intermediate container 27a8e9717695 [2023-01-04T15:16:06.010Z] ---> 5ea97aa4c91c [2023-01-04T15:16:06.010Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-04T15:16:06.010Z] ---> 240ff742ee8e [2023-01-04T15:16:06.010Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-04T15:16:06.010Z] ---> 976a6203b71d [2023-01-04T15:16:06.010Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-04T15:16:06.010Z] ---> ab47158e941d [2023-01-04T15:16:06.010Z] Step 20/25 : EXPOSE 59986 [2023-01-04T15:16:06.010Z] ---> Running in db2e13476786 [2023-01-04T15:16:06.010Z] Removing intermediate container db2e13476786 [2023-01-04T15:16:06.010Z] ---> e45b1712ffc6 [2023-01-04T15:16:06.010Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-04T15:16:06.010Z] ---> Running in 0fece397ee6a [2023-01-04T15:16:06.010Z] Removing intermediate container 0fece397ee6a [2023-01-04T15:16:06.010Z] ---> 2bb14c53651f [2023-01-04T15:16:06.010Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T15:16:06.010Z] ---> Running in a8637048dc5c [2023-01-04T15:16:06.010Z] Removing intermediate container a8637048dc5c [2023-01-04T15:16:06.010Z] ---> 26f27c6575cb [2023-01-04T15:16:06.010Z] Step 23/25 : LABEL arch=arm64 [2023-01-04T15:16:06.010Z] ---> Running in d3659e63001e [2023-01-04T15:16:06.279Z] Removing intermediate container d3659e63001e [2023-01-04T15:16:06.279Z] ---> 6ac2b2080685 [2023-01-04T15:16:06.279Z] Step 24/25 : LABEL git_sha=b4ca460becdb547ca408c942b95ba0db9bd330ac [2023-01-04T15:16:06.279Z] ---> Running in e1fad06c81a3 [2023-01-04T15:16:06.548Z] Removing intermediate container e1fad06c81a3 [2023-01-04T15:16:06.548Z] ---> 17482d3d033b [2023-01-04T15:16:06.548Z] Step 25/25 : LABEL version=0.0.0 [2023-01-04T15:16:06.818Z] ---> Running in 18ade3cd866d [2023-01-04T15:16:07.086Z] Removing intermediate container 18ade3cd866d [2023-01-04T15:16:07.086Z] ---> 15c9d90450ab [2023-01-04T15:16:07.086Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T15:16:07.086Z] Successfully built 15c9d90450ab [2023-01-04T15:16:07.086Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:16:07.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T15:16:07.521Z] [2023-01-04T15:16:07.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:16:07.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T15:16:07.857Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-04T15:16:07.857Z] 8998bd30e6a1: Pulling fs layer [2023-01-04T15:16:07.857Z] 04944245beec: Pulling fs layer [2023-01-04T15:16:07.857Z] 699f458cf7ca: Pulling fs layer [2023-01-04T15:16:07.857Z] 765212b225bb: Pulling fs layer [2023-01-04T15:16:07.857Z] f23df028b6ca: Pulling fs layer [2023-01-04T15:16:07.857Z] d65c8cfc05b1: Pulling fs layer [2023-01-04T15:16:07.857Z] 2437ff75d9bd: Pulling fs layer [2023-01-04T15:16:07.857Z] 765212b225bb: Waiting [2023-01-04T15:16:07.857Z] f23df028b6ca: Waiting [2023-01-04T15:16:07.857Z] d65c8cfc05b1: Waiting [2023-01-04T15:16:07.857Z] 2437ff75d9bd: Waiting [2023-01-04T15:16:08.125Z] 04944245beec: Verifying Checksum [2023-01-04T15:16:08.125Z] 04944245beec: Download complete [2023-01-04T15:16:08.125Z] 765212b225bb: Verifying Checksum [2023-01-04T15:16:08.125Z] 765212b225bb: Download complete [2023-01-04T15:16:08.125Z] f23df028b6ca: Download complete [2023-01-04T15:16:08.125Z] d65c8cfc05b1: Verifying Checksum [2023-01-04T15:16:08.125Z] d65c8cfc05b1: Download complete [2023-01-04T15:16:08.394Z] 699f458cf7ca: Verifying Checksum [2023-01-04T15:16:08.394Z] 699f458cf7ca: Download complete [2023-01-04T15:16:08.662Z] 8998bd30e6a1: Verifying Checksum [2023-01-04T15:16:08.662Z] 8998bd30e6a1: Download complete [2023-01-04T15:16:11.241Z] 2437ff75d9bd: Verifying Checksum [2023-01-04T15:16:11.241Z] 2437ff75d9bd: Download complete [2023-01-04T15:16:12.215Z] 8998bd30e6a1: Pull complete [2023-01-04T15:16:12.805Z] 04944245beec: Pull complete [2023-01-04T15:16:14.219Z] 699f458cf7ca: Pull complete [2023-01-04T15:16:14.219Z] 765212b225bb: Pull complete [2023-01-04T15:16:15.185Z] f23df028b6ca: Pull complete [2023-01-04T15:16:15.457Z] d65c8cfc05b1: Pull complete [2023-01-04T15:16:27.763Z] 2437ff75d9bd: Pull complete [2023-01-04T15:16:27.763Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-04T15:16:27.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T15:16:27.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:16:27.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-1096 does not seem to be running inside a container [2023-01-04T15:16:28.023Z] $ 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/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-04T15:16:30.411Z] $ docker top e4ad7df33b4586da041a5b993bbf2d28967e020a8e59f171763f99a32a254076 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:31.237Z] ---> job-cost.sh [2023-01-04T15:16:31.237Z] lf-activate-venv: SKIPPING [2023-01-04T15:16:31.237Z] INFO: No Stack... [2023-01-04T15:16:31.818Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-04T15:16:32.402Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T15:16:33.047Z] + cut -d, -f6 [2023-01-04T15:16:33.047Z] + cat /w/workspace/device-rest-go/7/archives/cost.csv [Pipeline] lock [2023-01-04T15:16:33.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] [2023-01-04T15:16:33.125Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] did not exist. Created. [2023-01-04T15:16:33.125Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T15:16:33.789Z] /w/workspace/device-rest-go/7@tmp/durable-b952075c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-04T15:16:34.439Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-04T15:16:34.462Z] Warning: overwriting stash ‘stack-cost’ [2023-01-04T15:16:34.502Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T15:16:34.509Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T15:16:34.544Z] $ docker stop --time=1 e4ad7df33b4586da041a5b993bbf2d28967e020a8e59f171763f99a32a254076 [2023-01-04T15:16:36.043Z] $ docker rm -f --volumes e4ad7df33b4586da041a5b993bbf2d28967e020a8e59f171763f99a32a254076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-04T15:16:36.387Z] provisioning config files... [2023-01-04T15:16:36.395Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config10367580951161852285tmp [Pipeline] { [Pipeline] sh [2023-01-04T15:16:36.689Z] + set +x [2023-01-04T15:16:36.689Z] + curl+ -s https://codecov.io/bash [2023-01-04T15:16:36.689Z] bash -s -- [2023-01-04T15:16:36.689Z] [2023-01-04T15:16:36.689Z] _____ _ [2023-01-04T15:16:36.690Z] / ____| | | [2023-01-04T15:16:36.690Z] | | ___ __| | ___ ___ _____ __ [2023-01-04T15:16:36.690Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-04T15:16:36.690Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-04T15:16:36.690Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-04T15:16:36.690Z] Bash-1.0.6 [2023-01-04T15:16:36.690Z] [2023-01-04T15:16:36.690Z] [2023-01-04T15:16:36.690Z] ==> git version 2.25.1 found [2023-01-04T15:16:36.690Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-04T15:16:36.690Z] Release-Date: 2020-01-08 [2023-01-04T15:16:36.690Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-04T15:16:36.690Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-04T15:16:36.690Z] ==> Jenkins CI detected. [2023-01-04T15:16:36.690Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-04T15:16:36.690Z] project root: . [2023-01-04T15:16:36.690Z] --> token set from env [2023-01-04T15:16:36.690Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-04T15:16:36.690Z] ==> Running gcov in . (disable via -X gcov) [2023-01-04T15:16:36.690Z] ==> Python coveragepy not found [2023-01-04T15:16:36.690Z] ==> Searching for coverage reports in: [2023-01-04T15:16:36.690Z] + . [2023-01-04T15:16:36.690Z] -> Found 1 reports [2023-01-04T15:16:36.690Z] ==> Detecting git/mercurial file structure [2023-01-04T15:16:36.690Z] ==> Reading reports [2023-01-04T15:16:36.690Z] + ./coverage.out bytes=18351 [2023-01-04T15:16:36.690Z] ==> Appending adjustments [2023-01-04T15:16:36.690Z] https://docs.codecov.io/docs/fixing-reports [2023-01-04T15:16:36.951Z] + Found adjustments [2023-01-04T15:16:36.951Z] ==> Gzipping contents [2023-01-04T15:16:36.951Z] 4.0K /tmp/codecov.kMwefo.gz [2023-01-04T15:16:36.951Z] ==> Uploading reports [2023-01-04T15:16:36.951Z] url: https://codecov.io [2023-01-04T15:16:36.951Z] query: branch=PR-229&commit=622498a9feb7e761d2cf8f7fd4628f3bf92b349e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-04T15:16:36.951Z] -> Pinging Codecov [2023-01-04T15:16:36.951Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=622498a9feb7e761d2cf8f7fd4628f3bf92b349e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-04T15:16:37.211Z] -> Uploading to [2023-01-04T15:16:37.211Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-04/4E5D53B4F1F92C436F7061BF334D961C/622498a9feb7e761d2cf8f7fd4628f3bf92b349e/8531fd47-8b98-416c-b5ec-fdf62fef24f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T151636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5e818efb4ff18f6e5a8c176d661cafa8958599fb4cfbf70e858065c025a2a62 [2023-01-04T15:16:37.211Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T15:16:37.211Z] Dload Upload Total Spent Left Speed [2023-01-04T15:16:37.471Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3013 0 0 100 3013 0 13391 --:--:-- --:--:-- --:--:-- 13391 [2023-01-04T15:16:37.471Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/622498a9feb7e761d2cf8f7fd4628f3bf92b349e [Pipeline] } [2023-01-04T15:16:37.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-04T15:16:38.130Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2023-01-04T15:16:38.130Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-04T15:16:38.130Z] total 16 [2023-01-04T15:16:38.130Z] drwxr-xr-x 3 root root 4096 Jan 4 15:09 . [2023-01-04T15:16:38.130Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 15:09 .. [2023-01-04T15:16:38.130Z] drwxr-xr-x 2 root root 4096 Jan 4 15:09 cost [2023-01-04T15:16:38.130Z] -rw-r--r-- 1 root root 86 Jan 4 15:09 cost.csv [2023-01-04T15:16:38.130Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-04T15:16:38.130Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-04T15:16:38.130Z] total 16 [2023-01-04T15:16:38.130Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 15:09 . [2023-01-04T15:16:38.130Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 15:09 .. [2023-01-04T15:16:38.130Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 15:09 cost [2023-01-04T15:16:38.130Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 4 15:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:38.420Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:39.276Z] ---> package-listing.sh [2023-01-04T15:16:39.276Z] ++ facter osfamily [2023-01-04T15:16:39.276Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-04T15:16:39.535Z] + OS_FAMILY=debian [2023-01-04T15:16:39.535Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-04T15:16:39.535Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-04T15:16:39.535Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-04T15:16:39.535Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-04T15:16:39.535Z] + PACKAGES=/tmp/packages_start.txt [2023-01-04T15:16:39.535Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-04T15:16:39.535Z] + PACKAGES=/tmp/packages_end.txt [2023-01-04T15:16:39.535Z] + case "${OS_FAMILY}" in [2023-01-04T15:16:39.535Z] + dpkg -l [2023-01-04T15:16:39.535Z] + grep '^ii' [2023-01-04T15:16:39.535Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-04T15:16:39.535Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-04T15:16:39.535Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-04T15:16:39.535Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-04T15:16:39.535Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2023-01-04T15:16:39.535Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2023-01-04T15:16:39.547Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-04T15:16:39.822Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T15:16:40.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T15:16:40.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T15:16:40.457Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2023-01-04T15:16:40.485Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T15:16:40.710Z] $ docker top 542130e5dc3e7720b34b849dcada93fbab34b36ccba11cd8467fa5e18df3893f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T15:16:41.051Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-04T15:16:41.334Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-04T15:16:41.618Z] + ls /var/log/sa-host [2023-01-04T15:16:41.618Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T15:16:41.794Z] provisioning config files... [2023-01-04T15:16:41.802Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config464586171756862672tmp [Pipeline] { [Pipeline] echo [2023-01-04T15:16:41.814Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:42.101Z] ---> create-netrc.sh [Pipeline] } [2023-01-04T15:16:42.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:42.446Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-04T15:16:42.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:42.743Z] ---> sudo-logs.sh [2023-01-04T15:16:42.743Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-04T15:16:42.781Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:43.066Z] ---> job-cost.sh [2023-01-04T15:16:43.066Z] lf-activate-venv: SKIPPING [2023-01-04T15:16:43.066Z] DEBUG: total: 0.2199999988079071 [2023-01-04T15:16:43.066Z] INFO: Retrieving Stack Cost... [2023-01-04T15:16:43.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T15:16:43.897Z] INFO: Archiving Costs [Pipeline] echo [2023-01-04T15:16:43.911Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T15:16:44.195Z] ---> logs-deploy.sh [2023-01-04T15:16:44.195Z] lf-activate-venv: SKIPPING [2023-01-04T15:16:44.195Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/7 [2023-01-04T15:16:44.195Z] INFO: archiving workspace using pattern(s): [2023-01-04T15:16:45.134Z] Archives upload complete. [2023-01-04T15:16:45.134Z] INFO: archiving logs to Nexus