Pull request #231 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8608e49fa043929ca3c866d9fd83ae94c6836335+92bd9c00148e5243a860f84a1cf80326c22a5698 (78d3f9529ae876e6dfd8b573c76194062590300f) 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-ssh724268745605434928.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-ssh5035208675694607890.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7969622533511877585.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17108837231042286666.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14094163104319613361.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10601628518079681963.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-166’ Running on prd-ubuntu20.04-docker-8c-8g-171 in /w/workspace/gexfoundry_device-rest-go_PR-231 [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-231 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 92bd9c00148e5243a860f84a1cf80326c22a5698 into PR head commit 8608e49fa043929ca3c866d9fd83ae94c6836335 > 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/231/head:refs/remotes/origin/PR-231 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 8608e49fa043929ca3c866d9fd83ae94c6836335 Checking out Revision 8608e49fa043929ca3c866d9fd83ae94c6836335 (PR-231) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-19T20:02:51.350Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-19T20:02:51.509Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-19T20:02:51.597Z] ========================================================= [2022-12-19T20:02:51.597Z] EdgeX Global Pipelines Version Info [2022-12-19T20:02:51.597Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 8608e49fa043929ca3c866d9fd83ae94c6836335 # 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 92bd9c00148e5243a860f84a1cf80326c22a5698 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8608e49fa043929ca3c866d9fd83ae94c6836335 # timeout=10 [2022-12-19T20:02:52.345Z] ------------------- [2022-12-19T20:02:52.345Z] stable info: [2022-12-19T20:02:52.345Z] ------------------- [2022-12-19T20:02:52.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-19T20:02:52.345Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T20:02:52.345Z] Message: update stable to v1.0.244 [2022-12-19T20:02:52.919Z] ------------------- [2022-12-19T20:02:52.919Z] experimental info: [2022-12-19T20:02:52.919Z] ------------------- [2022-12-19T20:02:52.919Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-19T20:02:52.919Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T20:02:52.919Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-19T20:02:53.205Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-19T20:02:53.249Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-19T20:02:53.294Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-19T20:02:53.338Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-19T20:02:53.379Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-19T20:02:53.424Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-19T20:02:53.469Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-19T20:02:53.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-19T20:02:53.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-19T20:02:53.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-19T20:02:53.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-19T20:02:53.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-19T20:02:53.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-19T20:02:53.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-19T20:02:53.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T20:02:53.862Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T20:02:53.907Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T20:02:53.947Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T20:02:53.985Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-19T20:02:54.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-19T20:02:54.067Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-19T20:02:54.107Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-19T20:02:54.152Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-19T20:02:54.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-19T20:02:54.235Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-19T20:02:54.280Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-19T20:02:54.324Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-19T20:02:54.368Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2022-12-19T20:02:54.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2022-12-19T20:02:54.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2022-12-19T20:02:54.502Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8608e49fa043929ca3c866d9fd83ae94c6836335 [Pipeline] echo [2022-12-19T20:02:54.548Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8608e49 [Pipeline] echo [2022-12-19T20:02:54.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T20:02:54.716Z] provisioning config files... [2022-12-19T20:02:54.735Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-231@tmp/config10411029238173515375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:02:55.089Z] ---> docker-login.sh [2022-12-19T20:02:55.089Z] nexus3.edgexfoundry.org:10001 [2022-12-19T20:02:55.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:02:55.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:02:55.348Z] Configure a credential helper to remove this warning. See [2022-12-19T20:02:55.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:02:55.348Z] [2022-12-19T20:02:55.348Z] Login Succeeded [2022-12-19T20:02:55.348Z] nexus3.edgexfoundry.org:10002 [2022-12-19T20:02:55.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:02:55.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:02:55.348Z] Configure a credential helper to remove this warning. See [2022-12-19T20:02:55.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:02:55.348Z] [2022-12-19T20:02:55.348Z] Login Succeeded [2022-12-19T20:02:55.348Z] nexus3.edgexfoundry.org:10003 [2022-12-19T20:02:55.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:02:55.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:02:55.609Z] Configure a credential helper to remove this warning. See [2022-12-19T20:02:55.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:02:55.609Z] [2022-12-19T20:02:55.609Z] Login Succeeded [2022-12-19T20:02:55.609Z] nexus3.edgexfoundry.org:10004 [2022-12-19T20:02:55.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:02:55.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:02:55.609Z] Configure a credential helper to remove this warning. See [2022-12-19T20:02:55.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:02:55.609Z] [2022-12-19T20:02:55.609Z] Login Succeeded [2022-12-19T20:02:55.609Z] docker.io [2022-12-19T20:02:55.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:02:55.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:02:55.869Z] Configure a credential helper to remove this warning. See [2022-12-19T20:02:55.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:02:55.869Z] [2022-12-19T20:02:55.869Z] Login Succeeded [2022-12-19T20:02:55.869Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T20:02:55.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-19T20:02:56.539Z] + git rev-list -1 --merges 8608e49fa043929ca3c866d9fd83ae94c6836335~1..8608e49fa043929ca3c866d9fd83ae94c6836335 [Pipeline] echo [2022-12-19T20:02:56.603Z] -----------> git rev-list -1 --merges 8608e49fa043929ca3c866d9fd83ae94c6836335~1..8608e49fa043929ca3c866d9fd83ae94c6836335 8608e49fa043929ca3c866d9fd83ae94c6836335 [false] [Pipeline] sh [2022-12-19T20:02:56.911Z] + git log --format=format:%s -1 8608e49fa043929ca3c866d9fd83ae94c6836335 [Pipeline] echo [2022-12-19T20:02:56.946Z] ========================================================= [2022-12-19T20:02:56.946Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-19T20:02:56.946Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T20:02:57.373Z] + git log --format=format:%s -1 8608e49fa043929ca3c866d9fd83ae94c6836335 [Pipeline] echo [2022-12-19T20:02:57.406Z] [semverPrep] GIT_COMMIT: 8608e49fa043929ca3c866d9fd83ae94c6836335, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2022-12-19T20:02:57.436Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-19T20:02:57.833Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T20:02:57.833Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-19T20:02:57.833Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-19T20:02:57.833Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-19T20:02:57.833Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-19T20:02:57.833Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-19T20:02:57.833Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:02:58.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T20:02:58.322Z] [2022-12-19T20:02:58.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:02:58.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T20:02:58.700Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-19T20:02:58.700Z] b85a868b505f: Pulling fs layer [2022-12-19T20:02:58.700Z] e2be974225ed: Pulling fs layer [2022-12-19T20:02:58.700Z] 339a4e72a1f5: Pulling fs layer [2022-12-19T20:02:58.700Z] 988bab9f4d93: Pulling fs layer [2022-12-19T20:02:58.700Z] 1469e6f7b9e6: Pulling fs layer [2022-12-19T20:02:58.700Z] eaf3925da568: Pulling fs layer [2022-12-19T20:02:58.700Z] bab4dde63d76: Pulling fs layer [2022-12-19T20:02:58.700Z] bde34c3a00c8: Pulling fs layer [2022-12-19T20:02:58.700Z] b352a97aabf1: Pulling fs layer [2022-12-19T20:02:58.700Z] 4872d77fe225: Pulling fs layer [2022-12-19T20:02:58.700Z] 5851b861e8e6: Pulling fs layer [2022-12-19T20:02:58.700Z] 1469e6f7b9e6: Waiting [2022-12-19T20:02:58.700Z] eaf3925da568: Waiting [2022-12-19T20:02:58.700Z] bab4dde63d76: Waiting [2022-12-19T20:02:58.700Z] 4872d77fe225: Waiting [2022-12-19T20:02:58.700Z] bde34c3a00c8: Waiting [2022-12-19T20:02:58.700Z] 5851b861e8e6: Waiting [2022-12-19T20:02:58.700Z] 988bab9f4d93: Waiting [2022-12-19T20:02:58.700Z] b352a97aabf1: Waiting [2022-12-19T20:02:58.700Z] e2be974225ed: Download complete [2022-12-19T20:02:58.700Z] 988bab9f4d93: Download complete [2022-12-19T20:02:58.960Z] 1469e6f7b9e6: Verifying Checksum [2022-12-19T20:02:58.960Z] 1469e6f7b9e6: Download complete [2022-12-19T20:02:58.960Z] eaf3925da568: Download complete [2022-12-19T20:02:58.960Z] 339a4e72a1f5: Verifying Checksum [2022-12-19T20:02:58.960Z] 339a4e72a1f5: Download complete [2022-12-19T20:02:58.960Z] bde34c3a00c8: Download complete [2022-12-19T20:02:58.960Z] b352a97aabf1: Verifying Checksum [2022-12-19T20:02:58.960Z] 4872d77fe225: Download complete [2022-12-19T20:02:58.960Z] 5851b861e8e6: Verifying Checksum [2022-12-19T20:02:58.960Z] 5851b861e8e6: Download complete [2022-12-19T20:02:58.960Z] b85a868b505f: Verifying Checksum [2022-12-19T20:02:58.960Z] b85a868b505f: Download complete [2022-12-19T20:02:59.220Z] bab4dde63d76: Verifying Checksum [2022-12-19T20:02:59.220Z] bab4dde63d76: Download complete [2022-12-19T20:03:00.157Z] b85a868b505f: Pull complete [2022-12-19T20:03:00.417Z] e2be974225ed: Pull complete [2022-12-19T20:03:00.676Z] 339a4e72a1f5: Pull complete [2022-12-19T20:03:00.935Z] 988bab9f4d93: Pull complete [2022-12-19T20:03:01.197Z] 1469e6f7b9e6: Pull complete [2022-12-19T20:03:01.197Z] eaf3925da568: Pull complete [2022-12-19T20:03:03.109Z] bab4dde63d76: Pull complete [2022-12-19T20:03:03.109Z] bde34c3a00c8: Pull complete [2022-12-19T20:03:03.109Z] b352a97aabf1: Pull complete [2022-12-19T20:03:03.109Z] 4872d77fe225: Pull complete [2022-12-19T20:03:03.109Z] 5851b861e8e6: Pull complete [2022-12-19T20:03:03.109Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-19T20:03:03.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T20:03:03.109Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:03:03.324Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2022-12-19T20:03:03.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-231 -v /w/workspace/gexfoundry_device-rest-go_PR-231:/w/workspace/gexfoundry_device-rest-go_PR-231:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-231@tmp:/w/workspace/gexfoundry_device-rest-go_PR-231@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T20:03:04.546Z] $ docker top e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa -eo pid,comm [2022-12-19T20:03:04.599Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-19T20:03:04.599Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T20:03:04.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T20:03:04.727Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T20:03:04.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T20:03:04.856Z] $ docker exec e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa ssh-agent [2022-12-19T20:03:04.966Z] SSH_AUTH_SOCK=/tmp/ssh-FPykjLgD81G5/agent.32 [2022-12-19T20:03:04.966Z] SSH_AGENT_PID=38 [2022-12-19T20:03:04.973Z] Running ssh-add (command line suppressed) [2022-12-19T20:03:05.078Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-231@tmp/private_key_15789454742832031681.key (/w/workspace/gexfoundry_device-rest-go_PR-231@tmp/private_key_15789454742832031681.key) [2022-12-19T20:03:05.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T20:03:05.421Z] + git tag --points-at HEAD [Pipeline] } [2022-12-19T20:03:05.449Z] $ docker exec --env ******** --env ******** e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa ssh-agent -k [2022-12-19T20:03:05.561Z] unset SSH_AUTH_SOCK; [2022-12-19T20:03:05.561Z] unset SSH_AGENT_PID; [2022-12-19T20:03:05.561Z] echo Agent pid 38 killed; [2022-12-19T20:03:05.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-19T20:03:05.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T20:03:05.657Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T20:03:05.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T20:03:05.783Z] $ docker exec e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa ssh-agent [2022-12-19T20:03:05.892Z] SSH_AUTH_SOCK=/tmp/ssh-BfwuLBgMHZZH/agent.70 [2022-12-19T20:03:05.892Z] SSH_AGENT_PID=76 [2022-12-19T20:03:05.897Z] Running ssh-add (command line suppressed) [2022-12-19T20:03:06.012Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-231@tmp/private_key_15382924517868460178.key (/w/workspace/gexfoundry_device-rest-go_PR-231@tmp/private_key_15382924517868460178.key) [2022-12-19T20:03:06.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T20:03:06.349Z] + git semver init [2022-12-19T20:03:06.609Z] 2022-12-19 20:03:06,531 [run_init] DEBUG init version:0.0.0 force:False [2022-12-19T20:03:06.609Z] 2022-12-19 20:03:06,532 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-231/.semver [2022-12-19T20:03:06.609Z] 2022-12-19 20:03:06,532 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-231/.semver [2022-12-19T20:03:06.609Z] 2022-12-19 20:03:06,533 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-231/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-231, universal_newlines=False, shell=None, istream=None) [2022-12-19T20:03:07.991Z] 2022-12-19 20:03:07,592 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-231/.git/info/exclude [2022-12-19T20:03:07.991Z] 2022-12-19 20:03:07,592 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-231/.semver/PR-231 with force:False [2022-12-19T20:03:07.991Z] 2022-12-19 20:03:07,592 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-231/.semver/PR-231 [2022-12-19T20:03:07.991Z] 2022-12-19 20:03:07,596 [execute] INFO git cat-file --batch-check [2022-12-19T20:03:07.992Z] 2022-12-19 20:03:07,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-231/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T20:03:07.992Z] 2022-12-19 20:03:07,603 [execute] INFO git cat-file --batch [2022-12-19T20:03:07.992Z] 2022-12-19 20:03:07,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-231/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T20:03:07.992Z] 2022-12-19 20:03:07,608 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-231/.semver/PR-231 [2022-12-19T20:03:07.992Z] 0.0.0 [Pipeline] } [2022-12-19T20:03:08.023Z] $ docker exec --env ******** --env ******** e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa ssh-agent -k [2022-12-19T20:03:08.124Z] unset SSH_AUTH_SOCK; [2022-12-19T20:03:08.125Z] unset SSH_AGENT_PID; [2022-12-19T20:03:08.125Z] echo Agent pid 76 killed; [2022-12-19T20:03:08.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T20:03:08.574Z] + git semver [Pipeline] } [2022-12-19T20:03:08.862Z] $ docker stop --time=1 e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa [2022-12-19T20:03:10.358Z] $ docker rm -f --volumes e0f6a21d56aaa0c52823e53fee0c0713a27cbf657e6b60a8e00ef0c34b3142aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T20:03:10.759Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-19T20:03:11.028Z] Stashed 1 file(s) [Pipeline] echo [2022-12-19T20:03:11.043Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T20:03:11.643Z] provisioning config files... [2022-12-19T20:03:11.656Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-231@tmp/config15402918624537174884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:03:12.000Z] ---> docker-login.sh [2022-12-19T20:03:12.000Z] nexus3.edgexfoundry.org:10001 [2022-12-19T20:03:12.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:03:12.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:03:12.000Z] Configure a credential helper to remove this warning. See [2022-12-19T20:03:12.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:03:12.000Z] [2022-12-19T20:03:12.000Z] Login Succeeded [2022-12-19T20:03:12.000Z] nexus3.edgexfoundry.org:10002 [2022-12-19T20:03:12.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:03:12.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:03:12.000Z] Configure a credential helper to remove this warning. See [2022-12-19T20:03:12.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:03:12.000Z] [2022-12-19T20:03:12.000Z] Login Succeeded [2022-12-19T20:03:12.000Z] nexus3.edgexfoundry.org:10003 [2022-12-19T20:03:12.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:03:12.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:03:12.261Z] Configure a credential helper to remove this warning. See [2022-12-19T20:03:12.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:03:12.261Z] [2022-12-19T20:03:12.261Z] Login Succeeded [2022-12-19T20:03:12.262Z] nexus3.edgexfoundry.org:10004 [2022-12-19T20:03:12.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:03:12.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:03:12.262Z] Configure a credential helper to remove this warning. See [2022-12-19T20:03:12.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:03:12.262Z] [2022-12-19T20:03:12.262Z] Login Succeeded [2022-12-19T20:03:12.262Z] docker.io [2022-12-19T20:03:12.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:03:12.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:03:12.524Z] Configure a credential helper to remove this warning. See [2022-12-19T20:03:12.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:03:12.524Z] [2022-12-19T20:03:12.524Z] Login Succeeded [2022-12-19T20:03:12.524Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T20:03:12.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T20:03:12.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T20:03:12.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T20:03:12.818Z] ========================================================= [2022-12-19T20:03:12.818Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-19T20:03:12.818Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:03:13.284Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-19T20:03:13.284Z] Sending build context to Docker daemon 10.78MB [2022-12-19T20:03:13.284Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T20:03:13.284Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-19T20:03:13.284Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-19T20:03:13.284Z] 213ec9aee27d: Pulling fs layer [2022-12-19T20:03:13.284Z] 4583459ba037: Pulling fs layer [2022-12-19T20:03:13.284Z] 93c1e223e6f2: Pulling fs layer [2022-12-19T20:03:13.284Z] 53926ce57604: Pulling fs layer [2022-12-19T20:03:13.284Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-19T20:03:13.284Z] 53926ce57604: Waiting [2022-12-19T20:03:13.284Z] 22ff95d597cd: Pulling fs layer [2022-12-19T20:03:13.284Z] 12d6caf4c0d1: Pulling fs layer [2022-12-19T20:03:13.284Z] 96b7cbca73a9: Pulling fs layer [2022-12-19T20:03:13.284Z] 12d6caf4c0d1: Waiting [2022-12-19T20:03:13.284Z] 21b2b0c7a3f4: Waiting [2022-12-19T20:03:13.284Z] 22ff95d597cd: Waiting [2022-12-19T20:03:13.284Z] a7acece74701: Pulling fs layer [2022-12-19T20:03:13.284Z] 96b7cbca73a9: Waiting [2022-12-19T20:03:13.284Z] 93c1e223e6f2: Download complete [2022-12-19T20:03:13.284Z] 4583459ba037: Download complete [2022-12-19T20:03:13.284Z] 21b2b0c7a3f4: Download complete [2022-12-19T20:03:13.544Z] 22ff95d597cd: Verifying Checksum [2022-12-19T20:03:13.544Z] 22ff95d597cd: Download complete [2022-12-19T20:03:13.544Z] 213ec9aee27d: Verifying Checksum [2022-12-19T20:03:13.544Z] 213ec9aee27d: Download complete [2022-12-19T20:03:13.544Z] 12d6caf4c0d1: Verifying Checksum [2022-12-19T20:03:13.544Z] 12d6caf4c0d1: Download complete [2022-12-19T20:03:13.544Z] 213ec9aee27d: Pull complete [2022-12-19T20:03:13.803Z] 4583459ba037: Pull complete [2022-12-19T20:03:13.803Z] 93c1e223e6f2: Pull complete [2022-12-19T20:03:15.186Z] 53926ce57604: Verifying Checksum [2022-12-19T20:03:15.186Z] 53926ce57604: Download complete [2022-12-19T20:03:15.186Z] a7acece74701: Verifying Checksum [2022-12-19T20:03:15.186Z] a7acece74701: Download complete [2022-12-19T20:03:15.186Z] 96b7cbca73a9: Verifying Checksum [2022-12-19T20:03:15.186Z] 96b7cbca73a9: Download complete [2022-12-19T20:03:18.481Z] 53926ce57604: Pull complete [2022-12-19T20:03:18.740Z] 21b2b0c7a3f4: Pull complete [2022-12-19T20:03:18.740Z] 22ff95d597cd: Pull complete [2022-12-19T20:03:18.740Z] 12d6caf4c0d1: Pull complete [2022-12-19T20:03:21.275Z] 96b7cbca73a9: Pull complete [2022-12-19T20:03:21.843Z] a7acece74701: Pull complete [2022-12-19T20:03:21.843Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-19T20:03:21.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-19T20:03:21.843Z] ---> db6d94c90886 [2022-12-19T20:03:21.843Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-19T20:03:23.222Z] ---> Running in bc58ebf56703 [2022-12-19T20:03:23.222Z] Removing intermediate container bc58ebf56703 [2022-12-19T20:03:23.222Z] ---> 393bda3e3aab [2022-12-19T20:03:23.222Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T20:03:23.222Z] ---> Running in 6708e33fab8e [2022-12-19T20:03:23.222Z] Removing intermediate container 6708e33fab8e [2022-12-19T20:03:23.222Z] ---> 73e463c7c6ef [2022-12-19T20:03:23.222Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T20:03:23.222Z] ---> Running in 515440366ae0 [2022-12-19T20:03:23.222Z] Removing intermediate container 515440366ae0 [2022-12-19T20:03:23.222Z] ---> 768b26c226ab [2022-12-19T20:03:23.222Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T20:03:23.483Z] ---> Running in f9c4c1b5844d [2022-12-19T20:03:23.483Z] Removing intermediate container f9c4c1b5844d [2022-12-19T20:03:23.483Z] ---> afcc27a49d7d [2022-12-19T20:03:23.483Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T20:03:23.483Z] ---> Running in 82b9129922f4 [2022-12-19T20:03:23.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T20:03:24.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T20:03:24.259Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-19T20:03:24.259Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-19T20:03:24.259Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-19T20:03:24.259Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-19T20:03:24.259Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T20:03:24.259Z] OK: 216 MiB in 55 packages [2022-12-19T20:03:24.519Z] Removing intermediate container 82b9129922f4 [2022-12-19T20:03:24.519Z] ---> 2f16b84ccca8 [2022-12-19T20:03:24.519Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-19T20:03:24.779Z] ---> Running in cb163165c469 [2022-12-19T20:03:24.779Z] Removing intermediate container cb163165c469 [2022-12-19T20:03:24.779Z] ---> 6d5003e09cc5 [2022-12-19T20:03:24.779Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-19T20:03:24.779Z] ---> cce742a60848 [2022-12-19T20:03:24.779Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T20:03:24.779Z] ---> Running in 6ca1c478ee95 [2022-12-19T20:03:26.457Z] Still waiting to schedule task [2022-12-19T20:03:26.457Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-169’ [2022-12-19T20:03:46.727Z] Removing intermediate container 6ca1c478ee95 [2022-12-19T20:03:46.727Z] ---> 4012a3be0520 [2022-12-19T20:03:46.727Z] Step 11/12 : COPY . . [2022-12-19T20:03:46.727Z] ---> be672bea414e [2022-12-19T20:03:46.727Z] Step 12/12 : RUN $MAKE [2022-12-19T20:03:46.727Z] ---> Running in cbda75132726 [2022-12-19T20:03:46.727Z] noop [2022-12-19T20:03:46.727Z] Removing intermediate container cbda75132726 [2022-12-19T20:03:46.727Z] ---> 5017de4b515e [2022-12-19T20:03:46.727Z] Successfully built 5017de4b515e [2022-12-19T20:03:46.727Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:03:47.173Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T20:03:47.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:03:47.325Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2022-12-19T20:03:47.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-231 -v /w/workspace/gexfoundry_device-rest-go_PR-231:/w/workspace/gexfoundry_device-rest-go_PR-231:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-231@tmp:/w/workspace/gexfoundry_device-rest-go_PR-231@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 ******** ci-base-image-x86_64 cat [2022-12-19T20:03:47.694Z] $ docker top dcbb24aa05f1b5dc4cdec75a4e961de70d632161d36dcccdbcfa05fe16cc66f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T20:03:48.076Z] + go version [2022-12-19T20:03:48.076Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-19T20:03:48.111Z] $ docker stop --time=1 dcbb24aa05f1b5dc4cdec75a4e961de70d632161d36dcccdbcfa05fe16cc66f4 [2022-12-19T20:03:49.408Z] $ docker rm -f --volumes dcbb24aa05f1b5dc4cdec75a4e961de70d632161d36dcccdbcfa05fe16cc66f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:03:50.230Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T20:03:50.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:03:50.451Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2022-12-19T20:03:50.485Z] $ 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-231 -v /w/workspace/gexfoundry_device-rest-go_PR-231:/w/workspace/gexfoundry_device-rest-go_PR-231:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-231@tmp:/w/workspace/gexfoundry_device-rest-go_PR-231@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 ******** ci-base-image-x86_64 cat [2022-12-19T20:03:50.806Z] $ docker top d49887f2f753f855e4e898d408e9397f49459eb7eeb5f472295bfee50e9f6f85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T20:03:51.194Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-231 [Pipeline] fileExists [Pipeline] sh [2022-12-19T20:03:51.546Z] + make test [2022-12-19T20:03:51.546Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T20:03:51.805Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-19T20:04:01.785Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-19T20:04:01.785Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-12-19T20:04:08.351Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-19T20:04:08.351Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T20:04:11.634Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T20:04:11.634Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T20:04:11.634Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T20:04:11.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T20:04:11.698Z] $ docker stop --time=1 d49887f2f753f855e4e898d408e9397f49459eb7eeb5f472295bfee50e9f6f85 [2022-12-19T20:04:13.289Z] $ docker rm -f --volumes d49887f2f753f855e4e898d408e9397f49459eb7eeb5f472295bfee50e9f6f85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T20:04:13.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T20:04:13.858Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-19T20:04:14.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T20:04:14.826Z] + ls -al . [2022-12-19T20:04:14.826Z] total 188 [2022-12-19T20:04:14.826Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 20:03 . [2022-12-19T20:04:14.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 20:02 .. [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 19 20:02 .dockerignore [2022-12-19T20:04:14.826Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 20:04 .git [2022-12-19T20:04:14.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 20:02 .github [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 19 20:02 .gitignore [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 20:02 .golangci.yml [2022-12-19T20:04:14.826Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 20:03 .semver [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 9100 Dec 19 20:02 Attribution.txt [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 13085 Dec 19 20:02 CHANGELOG.md [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 1641 Dec 19 20:02 Dockerfile [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 20:02 GOVERNANCE.md [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 20:02 Jenkinsfile [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 20:02 LICENSE [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 2173 Dec 19 20:02 Makefile [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 19 20:02 OWNERS.md [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 8667 Dec 19 20:02 README.md [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 20:03 VERSION [2022-12-19T20:04:14.826Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 20:02 bin [2022-12-19T20:04:14.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 20:02 cmd [2022-12-19T20:04:14.826Z] -rw-r--r-- 1 jenkins jenkins 9355 Dec 19 20:04 coverage.out [2022-12-19T20:04:14.826Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 20:02 driver [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 19 20:02 go.mod [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 19 20:02 go.sum [2022-12-19T20:04:14.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 20:02 snap [2022-12-19T20:04:14.826Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 19 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:04:15.266Z] + 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=8608e49fa043929ca3c866d9fd83ae94c6836335 --label arch=amd64 --label version=0.0.0 . [2022-12-19T20:04:15.266Z] Sending build context to Docker daemon 10.79MB [2022-12-19T20:04:15.266Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T20:04:15.266Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-19T20:04:15.266Z] ---> 5017de4b515e [2022-12-19T20:04:15.266Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-12-19T20:04:15.266Z] ---> Running in 2553004e2be2 [2022-12-19T20:04:15.266Z] Removing intermediate container 2553004e2be2 [2022-12-19T20:04:15.266Z] ---> 8e33870924be [2022-12-19T20:04:15.266Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T20:04:15.550Z] ---> Running in 09ff8b482f3d [2022-12-19T20:04:15.550Z] Removing intermediate container 09ff8b482f3d [2022-12-19T20:04:15.550Z] ---> 6d3eea3f3d7f [2022-12-19T20:04:15.550Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T20:04:15.550Z] ---> Running in b9949b9dddac [2022-12-19T20:04:15.550Z] Removing intermediate container b9949b9dddac [2022-12-19T20:04:15.550Z] ---> a4a6f156c0f7 [2022-12-19T20:04:15.550Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T20:04:15.550Z] ---> Running in 16d3754f8a33 [2022-12-19T20:04:15.835Z] Removing intermediate container 16d3754f8a33 [2022-12-19T20:04:15.835Z] ---> 12e89243091d [2022-12-19T20:04:15.835Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T20:04:15.835Z] ---> Running in 6c220bc13969 [2022-12-19T20:04:16.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T20:04:16.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T20:04:16.359Z] OK: 216 MiB in 55 packages [2022-12-19T20:04:16.926Z] Removing intermediate container 6c220bc13969 [2022-12-19T20:04:16.926Z] ---> c7ee6c7ba06e [2022-12-19T20:04:16.926Z] Step 8/25 : WORKDIR /device-rest-go [2022-12-19T20:04:16.926Z] ---> Running in 855bbd544ee5 [2022-12-19T20:04:16.926Z] Removing intermediate container 855bbd544ee5 [2022-12-19T20:04:16.926Z] ---> 2d3d2b382612 [2022-12-19T20:04:16.926Z] Step 9/25 : COPY go.mod vendor* ./ [2022-12-19T20:04:16.926Z] ---> 12d6582ac779 [2022-12-19T20:04:16.926Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T20:04:16.926Z] ---> Running in 459512bf6e3b [2022-12-19T20:04:17.865Z] Removing intermediate container 459512bf6e3b [2022-12-19T20:04:17.865Z] ---> 189562f5ad30 [2022-12-19T20:04:17.865Z] Step 11/25 : COPY . . [2022-12-19T20:04:17.865Z] ---> d6151c715817 [2022-12-19T20:04:17.865Z] Step 12/25 : RUN $MAKE [2022-12-19T20:04:17.865Z] ---> Running in 5bd3da8f0612 [2022-12-19T20:04:18.125Z] 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 [2022-12-19T20:04:40.062Z] Removing intermediate container 5bd3da8f0612 [2022-12-19T20:04:40.062Z] ---> 7e74ff17d665 [2022-12-19T20:04:40.062Z] Step 13/25 : FROM alpine:3.16 [2022-12-19T20:04:40.062Z] 3.16: Pulling from library/alpine [2022-12-19T20:04:40.062Z] ca7dd9ec2225: Pulling fs layer [2022-12-19T20:04:40.062Z] ca7dd9ec2225: Verifying Checksum [2022-12-19T20:04:40.062Z] ca7dd9ec2225: Download complete [2022-12-19T20:04:40.062Z] ca7dd9ec2225: Pull complete [2022-12-19T20:04:40.062Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T20:04:40.062Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T20:04:40.062Z] ---> bfe296a52501 [2022-12-19T20:04:40.062Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-19T20:04:40.062Z] ---> Running in 8e996ced5756 [2022-12-19T20:04:40.062Z] Removing intermediate container 8e996ced5756 [2022-12-19T20:04:40.062Z] ---> 007ab40c4c81 [2022-12-19T20:04:40.062Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-12-19T20:04:40.062Z] ---> Running in 2ba9afcaf439 [2022-12-19T20:04:40.062Z] Removing intermediate container 2ba9afcaf439 [2022-12-19T20:04:40.062Z] ---> 4471fbd1b269 [2022-12-19T20:04:40.062Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T20:04:40.062Z] ---> Running in 9ad2267c005f [2022-12-19T20:04:40.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T20:04:40.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T20:04:40.062Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T20:04:40.062Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T20:04:40.062Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T20:04:40.062Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T20:04:40.062Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T20:04:40.062Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T20:04:40.062Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T20:04:40.062Z] OK: 8 MiB in 20 packages [2022-12-19T20:04:40.062Z] Removing intermediate container 9ad2267c005f [2022-12-19T20:04:40.062Z] ---> 8584003b6e80 [2022-12-19T20:04:40.062Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-12-19T20:04:40.062Z] ---> 523f8714c0a1 [2022-12-19T20:04:40.062Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-12-19T20:04:40.062Z] ---> cb6963a48c8b [2022-12-19T20:04:40.062Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-12-19T20:04:40.062Z] ---> 087c62b6146c [2022-12-19T20:04:40.062Z] Step 20/25 : EXPOSE 59986 [2022-12-19T20:04:40.062Z] ---> Running in 2e9de30ea03f [2022-12-19T20:04:40.322Z] Removing intermediate container 2e9de30ea03f [2022-12-19T20:04:40.322Z] ---> d5e1fad40973 [2022-12-19T20:04:40.322Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-12-19T20:04:40.322Z] ---> Running in 11b69cc4d6fc [2022-12-19T20:04:40.322Z] Removing intermediate container 11b69cc4d6fc [2022-12-19T20:04:40.322Z] ---> eb3e29c7bf63 [2022-12-19T20:04:40.322Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-12-19T20:04:40.322Z] ---> Running in ecc90ec5a712 [2022-12-19T20:04:40.322Z] Removing intermediate container ecc90ec5a712 [2022-12-19T20:04:40.322Z] ---> ab7be982b0a0 [2022-12-19T20:04:40.322Z] Step 23/25 : LABEL arch=amd64 [2022-12-19T20:04:40.322Z] ---> Running in ff3a257f948a [2022-12-19T20:04:40.581Z] Removing intermediate container ff3a257f948a [2022-12-19T20:04:40.581Z] ---> a075bbfb711d [2022-12-19T20:04:40.581Z] Step 24/25 : LABEL git_sha=8608e49fa043929ca3c866d9fd83ae94c6836335 [2022-12-19T20:04:40.581Z] ---> Running in 3972eab9510f [2022-12-19T20:04:40.581Z] Removing intermediate container 3972eab9510f [2022-12-19T20:04:40.581Z] ---> 697005bc84cb [2022-12-19T20:04:40.581Z] Step 25/25 : LABEL version=0.0.0 [2022-12-19T20:04:40.581Z] ---> Running in 1933fd5dd05c [2022-12-19T20:04:40.581Z] Removing intermediate container 1933fd5dd05c [2022-12-19T20:04:40.581Z] ---> a3323f046a5e [2022-12-19T20:04:40.581Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T20:04:40.581Z] Successfully built a3323f046a5e [2022-12-19T20:04:40.581Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:04:41.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T20:04:41.483Z] [2022-12-19T20:04:41.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:04:41.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T20:04:41.859Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-19T20:04:41.859Z] 5eb5b503b376: Pulling fs layer [2022-12-19T20:04:41.859Z] 5c69ac0246d0: Pulling fs layer [2022-12-19T20:04:41.859Z] ec43610c2a17: Pulling fs layer [2022-12-19T20:04:41.859Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-19T20:04:41.859Z] 33b1e0a273af: Pulling fs layer [2022-12-19T20:04:41.859Z] 5d3b04190fa2: Pulling fs layer [2022-12-19T20:04:41.859Z] 2f39f015ded8: Pulling fs layer [2022-12-19T20:04:41.859Z] 2f39f015ded8: Waiting [2022-12-19T20:04:41.859Z] 3a2ae6a8a46f: Waiting [2022-12-19T20:04:41.859Z] 5d3b04190fa2: Waiting [2022-12-19T20:04:41.859Z] 33b1e0a273af: Waiting [2022-12-19T20:04:41.859Z] 5c69ac0246d0: Verifying Checksum [2022-12-19T20:04:41.859Z] 5c69ac0246d0: Download complete [2022-12-19T20:04:41.859Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-19T20:04:41.859Z] 3a2ae6a8a46f: Download complete [2022-12-19T20:04:42.118Z] 33b1e0a273af: Verifying Checksum [2022-12-19T20:04:42.118Z] 33b1e0a273af: Download complete [2022-12-19T20:04:42.118Z] 5d3b04190fa2: Download complete [2022-12-19T20:04:42.118Z] ec43610c2a17: Verifying Checksum [2022-12-19T20:04:42.118Z] ec43610c2a17: Download complete [2022-12-19T20:04:42.118Z] 5eb5b503b376: Verifying Checksum [2022-12-19T20:04:42.118Z] 5eb5b503b376: Download complete [2022-12-19T20:04:42.683Z] 2f39f015ded8: Download complete [2022-12-19T20:04:43.251Z] 5eb5b503b376: Pull complete [2022-12-19T20:04:43.509Z] 5c69ac0246d0: Pull complete [2022-12-19T20:04:44.079Z] ec43610c2a17: Pull complete [2022-12-19T20:04:44.079Z] 3a2ae6a8a46f: Pull complete [2022-12-19T20:04:44.339Z] 33b1e0a273af: Pull complete [2022-12-19T20:04:44.339Z] 5d3b04190fa2: Pull complete [2022-12-19T20:04:48.522Z] 2f39f015ded8: Pull complete [2022-12-19T20:04:48.522Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-19T20:04:48.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T20:04:48.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:04:48.747Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2022-12-19T20:04:48.774Z] $ 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-231 -v /w/workspace/gexfoundry_device-rest-go_PR-231:/w/workspace/gexfoundry_device-rest-go_PR-231:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-231@tmp:/w/workspace/gexfoundry_device-rest-go_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T20:04:49.809Z] $ docker top b654aa2a5e1c3ab71372853f2bcd171ec717c224f1fd70ab84690299e819c370 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:04:50.283Z] ---> job-cost.sh [2022-12-19T20:04:50.283Z] lf-activate-venv: SKIPPING [2022-12-19T20:04:50.283Z] INFO: No Stack... [2022-12-19T20:04:50.543Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T20:04:50.802Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T20:04:51.146Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-231/archives/cost.csv [2022-12-19T20:04:51.146Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T20:04:51.196Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] [2022-12-19T20:04:51.201Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] did not exist. Created. [2022-12-19T20:04:51.201Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T20:04:51.592Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-19T20:04:51.641Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T20:04:51.673Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T20:04:51.753Z] $ docker stop --time=1 b654aa2a5e1c3ab71372853f2bcd171ec717c224f1fd70ab84690299e819c370 [2022-12-19T20:04:52.915Z] $ docker rm -f --volumes b654aa2a5e1c3ab71372853f2bcd171ec717c224f1fd70ab84690299e819c370 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-19T20:06:21.191Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-173 in /w/workspace/gexfoundry_device-rest-go_PR-231 [Pipeline] { [Pipeline] ws [2022-12-19T20:06:21.246Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-12-19T20:06:21.324Z] The recommended git tool is: git [2022-12-19T20:06:26.333Z] using credential edgex-jenkins-ssh [2022-12-19T20:06:26.348Z] Cloning the remote Git repository [2022-12-19T20:06:26.393Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-19T20:06:26.461Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-12-19T20:06:26.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-19T20:06:26.597Z] > git --version # timeout=10 [2022-12-19T20:06:26.617Z] > git --version # 'git version 2.25.1' [2022-12-19T20:06:26.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T20:06:26.676Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T20:06:28.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-19T20:06:28.506Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T20:06:30.001Z] Merging remotes/origin/main commit 92bd9c00148e5243a860f84a1cf80326c22a5698 into PR head commit 8608e49fa043929ca3c866d9fd83ae94c6836335 [2022-12-19T20:06:29.344Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-19T20:06:29.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-19T20:06:29.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T20:06:29.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-19T20:06:30.019Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T20:06:30.037Z] > git checkout -f 8608e49fa043929ca3c866d9fd83ae94c6836335 # timeout=10 [2022-12-19T20:06:30.118Z] > git remote # timeout=10 [2022-12-19T20:06:30.138Z] > git config --get remote.origin.url # timeout=10 [2022-12-19T20:06:30.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T20:06:30.178Z] > git merge 92bd9c00148e5243a860f84a1cf80326c22a5698 # timeout=10 [2022-12-19T20:06:30.223Z] Merge succeeded, producing 8608e49fa043929ca3c866d9fd83ae94c6836335 [2022-12-19T20:06:30.224Z] Checking out Revision 8608e49fa043929ca3c866d9fd83ae94c6836335 (PR-231) [2022-12-19T20:06:30.691Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2022-12-19T20:06:30.744Z] > git --version # timeout=10 [2022-12-19T20:06:30.756Z] > git --version # 'git version 2.25.1' [2022-12-19T20:06:30.775Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T20:06:30.206Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-19T20:06:30.232Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T20:06:30.251Z] > git checkout -f 8608e49fa043929ca3c866d9fd83ae94c6836335 # timeout=10 [2022-12-19T20:06:31.947Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-19T20:06:31.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T20:06:31.947Z] Dload Upload Total Spent Left Speed [2022-12-19T20:06:31.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2022-12-19T20:06:32.655Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-19T20:06:33.001Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-19T20:06:33.001Z] + sudo tee /etc/docker/daemon.new [2022-12-19T20:06:33.001Z] { [2022-12-19T20:06:33.001Z] "registry-mirrors": [ [2022-12-19T20:06:33.001Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-19T20:06:33.001Z] ], [2022-12-19T20:06:33.001Z] "bip": "10.250.0.254/24", [2022-12-19T20:06:33.001Z] "hosts": [ [2022-12-19T20:06:33.001Z] "tcp://0.0.0.0:5555", [2022-12-19T20:06:33.001Z] "unix:///var/run/docker.sock" [2022-12-19T20:06:33.001Z] ], [2022-12-19T20:06:33.001Z] "mtu": 1458, [2022-12-19T20:06:33.001Z] "selinux-enabled": true, [2022-12-19T20:06:33.001Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-19T20:06:33.001Z] } [Pipeline] sh [2022-12-19T20:06:33.405Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-19T20:06:33.752Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T20:06:52.092Z] provisioning config files... [2022-12-19T20:06:52.121Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8656236565104629129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:06:52.500Z] ---> docker-login.sh [2022-12-19T20:06:52.501Z] nexus3.edgexfoundry.org:10001 [2022-12-19T20:06:52.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:06:53.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:06:53.046Z] Configure a credential helper to remove this warning. See [2022-12-19T20:06:53.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:06:53.046Z] [2022-12-19T20:06:53.046Z] Login Succeeded [2022-12-19T20:06:53.046Z] nexus3.edgexfoundry.org:10002 [2022-12-19T20:06:53.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:06:53.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:06:53.586Z] Configure a credential helper to remove this warning. See [2022-12-19T20:06:53.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:06:53.586Z] [2022-12-19T20:06:53.586Z] Login Succeeded [2022-12-19T20:06:53.586Z] nexus3.edgexfoundry.org:10003 [2022-12-19T20:06:53.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:06:53.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:06:53.859Z] Configure a credential helper to remove this warning. See [2022-12-19T20:06:53.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:06:53.859Z] [2022-12-19T20:06:53.859Z] Login Succeeded [2022-12-19T20:06:53.859Z] nexus3.edgexfoundry.org:10004 [2022-12-19T20:06:54.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:06:54.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:06:54.133Z] Configure a credential helper to remove this warning. See [2022-12-19T20:06:54.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:06:54.133Z] [2022-12-19T20:06:54.133Z] Login Succeeded [2022-12-19T20:06:54.133Z] docker.io [2022-12-19T20:06:54.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T20:06:54.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T20:06:54.670Z] Configure a credential helper to remove this warning. See [2022-12-19T20:06:54.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T20:06:54.670Z] [2022-12-19T20:06:54.670Z] Login Succeeded [2022-12-19T20:06:54.670Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T20:06:54.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T20:06:55.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T20:06:55.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T20:06:55.146Z] ========================================================= [2022-12-19T20:06:55.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-19T20:06:55.146Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:06:55.656Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-19T20:06:55.656Z] Sending build context to Docker daemon 129.5kB [2022-12-19T20:06:55.928Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T20:06:55.928Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-19T20:06:55.928Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-19T20:06:55.928Z] 9b18e9b68314: Pulling fs layer [2022-12-19T20:06:55.928Z] 35d82f9e3411: Pulling fs layer [2022-12-19T20:06:55.928Z] e16973657156: Pulling fs layer [2022-12-19T20:06:55.928Z] fc693d55d65f: Pulling fs layer [2022-12-19T20:06:55.928Z] 7e9fc2657dce: Pulling fs layer [2022-12-19T20:06:55.928Z] dda99020689f: Pulling fs layer [2022-12-19T20:06:55.928Z] fc693d55d65f: Waiting [2022-12-19T20:06:55.928Z] db1c61fa0a46: Pulling fs layer [2022-12-19T20:06:55.928Z] dda99020689f: Waiting [2022-12-19T20:06:55.928Z] 891c053d2c06: Pulling fs layer [2022-12-19T20:06:55.928Z] db1c61fa0a46: Waiting [2022-12-19T20:06:55.928Z] 891c053d2c06: Waiting [2022-12-19T20:06:55.928Z] e16973657156: Verifying Checksum [2022-12-19T20:06:55.928Z] e16973657156: Download complete [2022-12-19T20:06:56.206Z] 35d82f9e3411: Verifying Checksum [2022-12-19T20:06:56.206Z] 35d82f9e3411: Download complete [2022-12-19T20:06:56.206Z] 7e9fc2657dce: Verifying Checksum [2022-12-19T20:06:56.206Z] 7e9fc2657dce: Download complete [2022-12-19T20:06:56.206Z] dda99020689f: Verifying Checksum [2022-12-19T20:06:56.206Z] dda99020689f: Download complete [2022-12-19T20:06:56.206Z] 9b18e9b68314: Verifying Checksum [2022-12-19T20:06:56.206Z] 9b18e9b68314: Download complete [2022-12-19T20:06:57.184Z] 9b18e9b68314: Pull complete [2022-12-19T20:06:57.184Z] 891c053d2c06: Verifying Checksum [2022-12-19T20:06:57.184Z] 891c053d2c06: Download complete [2022-12-19T20:06:57.771Z] 35d82f9e3411: Pull complete [2022-12-19T20:06:58.043Z] e16973657156: Pull complete [2022-12-19T20:06:58.641Z] db1c61fa0a46: Download complete [2022-12-19T20:06:59.233Z] fc693d55d65f: Verifying Checksum [2022-12-19T20:06:59.233Z] fc693d55d65f: Download complete [2022-12-19T20:07:11.571Z] fc693d55d65f: Pull complete [2022-12-19T20:07:11.571Z] 7e9fc2657dce: Pull complete [2022-12-19T20:07:11.571Z] dda99020689f: Pull complete [2022-12-19T20:07:16.940Z] db1c61fa0a46: Pull complete [2022-12-19T20:07:20.297Z] 891c053d2c06: Pull complete [2022-12-19T20:07:20.297Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-19T20:07:20.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-19T20:07:20.297Z] ---> f96f9c87975a [2022-12-19T20:07:20.297Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-19T20:07:21.707Z] ---> Running in e60450426363 [2022-12-19T20:07:21.981Z] Removing intermediate container e60450426363 [2022-12-19T20:07:21.981Z] ---> 1d658c7344f6 [2022-12-19T20:07:21.981Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T20:07:22.252Z] ---> Running in b15eb435e819 [2022-12-19T20:07:22.520Z] Removing intermediate container b15eb435e819 [2022-12-19T20:07:22.520Z] ---> feedfb97ef52 [2022-12-19T20:07:22.520Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T20:07:22.520Z] ---> Running in fe8a8d2853ef [2022-12-19T20:07:22.785Z] Removing intermediate container fe8a8d2853ef [2022-12-19T20:07:22.785Z] ---> c5765ec88276 [2022-12-19T20:07:22.785Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T20:07:23.052Z] ---> Running in 5a6368a069aa [2022-12-19T20:07:23.320Z] Removing intermediate container 5a6368a069aa [2022-12-19T20:07:23.320Z] ---> e013589317e6 [2022-12-19T20:07:23.320Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T20:07:23.320Z] ---> Running in 22b75dcb9569 [2022-12-19T20:07:24.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T20:07:24.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T20:07:25.503Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-19T20:07:25.504Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-19T20:07:25.504Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-19T20:07:25.504Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-19T20:07:25.770Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T20:07:25.770Z] OK: 226 MiB in 55 packages [2022-12-19T20:07:26.730Z] Removing intermediate container 22b75dcb9569 [2022-12-19T20:07:26.730Z] ---> 270a0e6ef299 [2022-12-19T20:07:26.730Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-19T20:07:26.730Z] ---> Running in 9489aa518856 [2022-12-19T20:07:26.998Z] Removing intermediate container 9489aa518856 [2022-12-19T20:07:26.998Z] ---> 20da0d0c8627 [2022-12-19T20:07:26.998Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-19T20:07:27.590Z] ---> 568aa1b85cd7 [2022-12-19T20:07:27.590Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T20:07:27.590Z] ---> Running in 8922d5a79265 [2022-12-19T20:08:24.021Z] Removing intermediate container 8922d5a79265 [2022-12-19T20:08:24.021Z] ---> c2ca427aa168 [2022-12-19T20:08:24.021Z] Step 11/12 : COPY . . [2022-12-19T20:08:24.021Z] ---> 1e717f8a265d [2022-12-19T20:08:24.021Z] Step 12/12 : RUN $MAKE [2022-12-19T20:08:24.021Z] ---> Running in fc27634f537b [2022-12-19T20:08:24.021Z] noop [2022-12-19T20:08:24.021Z] Removing intermediate container fc27634f537b [2022-12-19T20:08:24.021Z] ---> 0dc27ab2a05f [2022-12-19T20:08:24.021Z] Successfully built 0dc27ab2a05f [2022-12-19T20:08:24.021Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:08:24.521Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T20:08:24.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:08:24.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-173 does not seem to be running inside a container [2022-12-19T20:08:24.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-12-19T20:08:26.113Z] $ docker top b2081ebc96d45b31fc076be18b9191657b9a0769ca2814d1ac74bf7b19a22b0b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T20:08:27.003Z] + go version [2022-12-19T20:08:27.003Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-19T20:08:27.039Z] $ docker stop --time=1 b2081ebc96d45b31fc076be18b9191657b9a0769ca2814d1ac74bf7b19a22b0b [2022-12-19T20:08:28.623Z] $ docker rm -f --volumes b2081ebc96d45b31fc076be18b9191657b9a0769ca2814d1ac74bf7b19a22b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:08:29.469Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T20:08:29.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:08:29.777Z] prd-ubuntu20.04-docker-arm64-4c-16g-173 does not seem to be running inside a container [2022-12-19T20:08:29.842Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-12-19T20:08:31.026Z] $ docker top f8c66b4803ca1fa208cb97963e31827600fd10fdcafca12f5c7c158a668d3a66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T20:08:31.891Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-19T20:08:32.277Z] + make test [2022-12-19T20:08:32.277Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T20:08:33.686Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-19T20:09:55.327Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-19T20:09:55.328Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 55.2% of statements [2022-12-19T20:09:55.328Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-19T20:09:55.328Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T20:10:10.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T20:10:10.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T20:10:10.338Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T20:10:10.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T20:10:10.424Z] $ docker stop --time=1 f8c66b4803ca1fa208cb97963e31827600fd10fdcafca12f5c7c158a668d3a66 [2022-12-19T20:10:13.467Z] $ docker rm -f --volumes f8c66b4803ca1fa208cb97963e31827600fd10fdcafca12f5c7c158a668d3a66 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T20:10:14.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T20:10:14.496Z] Warning: overwriting stash ‘coverage-report’ [2022-12-19T20:10:14.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T20:10:15.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T20:10:15.839Z] + ls -al . [2022-12-19T20:10:15.839Z] total 184 [2022-12-19T20:10:15.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 20:08 . [2022-12-19T20:10:15.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 20:06 .. [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 19 20:06 .dockerignore [2022-12-19T20:10:15.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 20:06 .git [2022-12-19T20:10:15.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 20:06 .github [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 19 20:06 .gitignore [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 20:06 .golangci.yml [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 9100 Dec 19 20:06 Attribution.txt [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 13085 Dec 19 20:06 CHANGELOG.md [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 1641 Dec 19 20:06 Dockerfile [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 20:06 GOVERNANCE.md [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 20:06 Jenkinsfile [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 20:06 LICENSE [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 2173 Dec 19 20:06 Makefile [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 19 20:06 OWNERS.md [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 8667 Dec 19 20:06 README.md [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 20:03 VERSION [2022-12-19T20:10:15.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 20:06 bin [2022-12-19T20:10:15.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 20:06 cmd [2022-12-19T20:10:15.839Z] -rw-r--r-- 1 jenkins jenkins 9355 Dec 19 20:09 coverage.out [2022-12-19T20:10:15.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 20:06 driver [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 19 20:06 go.mod [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 19 20:06 go.sum [2022-12-19T20:10:15.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 20:06 snap [2022-12-19T20:10:15.839Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 19 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:10:16.257Z] + 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=8608e49fa043929ca3c866d9fd83ae94c6836335 --label arch=arm64 --label version=0.0.0 . [2022-12-19T20:10:16.257Z] Sending build context to Docker daemon 139.8kB [2022-12-19T20:10:16.525Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T20:10:16.525Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-19T20:10:16.525Z] ---> 0dc27ab2a05f [2022-12-19T20:10:16.525Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-12-19T20:10:16.525Z] ---> Running in 4d55946c648b [2022-12-19T20:10:16.794Z] Removing intermediate container 4d55946c648b [2022-12-19T20:10:16.794Z] ---> 4e6abfc99cee [2022-12-19T20:10:16.794Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T20:10:16.794Z] ---> Running in f997790d76ce [2022-12-19T20:10:17.065Z] Removing intermediate container f997790d76ce [2022-12-19T20:10:17.065Z] ---> 3417d5bd59dd [2022-12-19T20:10:17.065Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T20:10:17.334Z] ---> Running in ab68c2750e47 [2022-12-19T20:10:17.602Z] Removing intermediate container ab68c2750e47 [2022-12-19T20:10:17.602Z] ---> 058dd1bb02d2 [2022-12-19T20:10:17.602Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T20:10:17.602Z] ---> Running in 660396ac69cd [2022-12-19T20:10:17.871Z] Removing intermediate container 660396ac69cd [2022-12-19T20:10:17.872Z] ---> 0cb0bf055d60 [2022-12-19T20:10:17.872Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T20:10:17.872Z] ---> Running in cb5382bf28fa [2022-12-19T20:10:18.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T20:10:19.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T20:10:20.394Z] OK: 226 MiB in 55 packages [2022-12-19T20:10:20.977Z] Removing intermediate container cb5382bf28fa [2022-12-19T20:10:20.977Z] ---> bb71a6b96265 [2022-12-19T20:10:20.977Z] Step 8/25 : WORKDIR /device-rest-go [2022-12-19T20:10:20.977Z] ---> Running in c3ea2bea88a8 [2022-12-19T20:10:21.245Z] Removing intermediate container c3ea2bea88a8 [2022-12-19T20:10:21.245Z] ---> 1cbdbd49f438 [2022-12-19T20:10:21.245Z] Step 9/25 : COPY go.mod vendor* ./ [2022-12-19T20:10:21.832Z] ---> e268b5bbd9d9 [2022-12-19T20:10:21.832Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T20:10:21.832Z] ---> Running in eaf5e754a9f1 [2022-12-19T20:10:23.786Z] Removing intermediate container eaf5e754a9f1 [2022-12-19T20:10:23.786Z] ---> 6049044cb019 [2022-12-19T20:10:23.786Z] Step 11/25 : COPY . . [2022-12-19T20:10:24.374Z] ---> 7e8794121577 [2022-12-19T20:10:24.374Z] Step 12/25 : RUN $MAKE [2022-12-19T20:10:25.786Z] ---> Running in 93cb22da6ee9 [2022-12-19T20:10:26.752Z] 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 [2022-12-19T20:13:03.519Z] Removing intermediate container 93cb22da6ee9 [2022-12-19T20:13:03.519Z] ---> 71f73947a3bd [2022-12-19T20:13:03.519Z] Step 13/25 : FROM alpine:3.16 [2022-12-19T20:13:03.519Z] 3.16: Pulling from library/alpine [2022-12-19T20:13:03.519Z] 6875df1f5354: Pulling fs layer [2022-12-19T20:13:03.519Z] 6875df1f5354: Verifying Checksum [2022-12-19T20:13:03.519Z] 6875df1f5354: Download complete [2022-12-19T20:13:03.519Z] 6875df1f5354: Pull complete [2022-12-19T20:13:03.519Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T20:13:03.519Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T20:13:03.519Z] ---> 2b4661558fb8 [2022-12-19T20:13:03.519Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-19T20:13:03.519Z] ---> Running in 342a06c64ec4 [2022-12-19T20:13:03.519Z] Removing intermediate container 342a06c64ec4 [2022-12-19T20:13:03.519Z] ---> 25d5619b0665 [2022-12-19T20:13:03.519Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-12-19T20:13:03.519Z] ---> Running in 480ce1d90017 [2022-12-19T20:13:03.519Z] Removing intermediate container 480ce1d90017 [2022-12-19T20:13:03.519Z] ---> 35d97cfbbc68 [2022-12-19T20:13:03.519Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T20:13:03.519Z] ---> Running in 244f7d364b38 [2022-12-19T20:13:03.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T20:13:03.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T20:13:03.519Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T20:13:03.519Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T20:13:03.519Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T20:13:03.519Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T20:13:03.519Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T20:13:03.519Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T20:13:03.519Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T20:13:03.519Z] OK: 8 MiB in 20 packages [2022-12-19T20:13:03.519Z] Removing intermediate container 244f7d364b38 [2022-12-19T20:13:03.519Z] ---> 80a22b41a9ff [2022-12-19T20:13:03.519Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-12-19T20:13:03.519Z] ---> 442029087b14 [2022-12-19T20:13:03.519Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-12-19T20:13:03.519Z] ---> 053421247f23 [2022-12-19T20:13:03.519Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-12-19T20:13:03.519Z] ---> 310f08a8e48b [2022-12-19T20:13:03.519Z] Step 20/25 : EXPOSE 59986 [2022-12-19T20:13:03.519Z] ---> Running in 11c1a1049e58 [2022-12-19T20:13:03.519Z] Removing intermediate container 11c1a1049e58 [2022-12-19T20:13:03.519Z] ---> 23189293fa21 [2022-12-19T20:13:03.519Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-12-19T20:13:03.519Z] ---> Running in 7557af2b2327 [2022-12-19T20:13:03.519Z] Removing intermediate container 7557af2b2327 [2022-12-19T20:13:03.519Z] ---> b66d93851e21 [2022-12-19T20:13:03.519Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-12-19T20:13:03.519Z] ---> Running in 827abf73da0e [2022-12-19T20:13:03.519Z] Removing intermediate container 827abf73da0e [2022-12-19T20:13:03.519Z] ---> 39cc1e06bb55 [2022-12-19T20:13:03.519Z] Step 23/25 : LABEL arch=arm64 [2022-12-19T20:13:03.519Z] ---> Running in acdb038a2876 [2022-12-19T20:13:03.519Z] Removing intermediate container acdb038a2876 [2022-12-19T20:13:03.519Z] ---> 0bbc42aa8fe8 [2022-12-19T20:13:03.519Z] Step 24/25 : LABEL git_sha=8608e49fa043929ca3c866d9fd83ae94c6836335 [2022-12-19T20:13:03.519Z] ---> Running in feccb3a7a316 [2022-12-19T20:13:03.519Z] Removing intermediate container feccb3a7a316 [2022-12-19T20:13:03.519Z] ---> cb4e8b6a54d3 [2022-12-19T20:13:03.519Z] Step 25/25 : LABEL version=0.0.0 [2022-12-19T20:13:03.519Z] ---> Running in ea236d347843 [2022-12-19T20:13:03.519Z] Removing intermediate container ea236d347843 [2022-12-19T20:13:03.519Z] ---> 6285cc2e7bda [2022-12-19T20:13:03.519Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T20:13:03.519Z] Successfully built 6285cc2e7bda [2022-12-19T20:13:03.519Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:13:04.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T20:13:04.346Z] [2022-12-19T20:13:04.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:13:04.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T20:13:05.000Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-19T20:13:05.000Z] 8998bd30e6a1: Pulling fs layer [2022-12-19T20:13:05.000Z] 04944245beec: Pulling fs layer [2022-12-19T20:13:05.000Z] 699f458cf7ca: Pulling fs layer [2022-12-19T20:13:05.000Z] 765212b225bb: Pulling fs layer [2022-12-19T20:13:05.000Z] f23df028b6ca: Pulling fs layer [2022-12-19T20:13:05.000Z] d65c8cfc05b1: Pulling fs layer [2022-12-19T20:13:05.000Z] 2437ff75d9bd: Pulling fs layer [2022-12-19T20:13:05.000Z] f23df028b6ca: Waiting [2022-12-19T20:13:05.000Z] 765212b225bb: Waiting [2022-12-19T20:13:05.000Z] d65c8cfc05b1: Waiting [2022-12-19T20:13:05.000Z] 2437ff75d9bd: Waiting [2022-12-19T20:13:05.000Z] 04944245beec: Verifying Checksum [2022-12-19T20:13:05.000Z] 04944245beec: Download complete [2022-12-19T20:13:05.000Z] 765212b225bb: Verifying Checksum [2022-12-19T20:13:05.000Z] 765212b225bb: Download complete [2022-12-19T20:13:05.000Z] f23df028b6ca: Verifying Checksum [2022-12-19T20:13:05.000Z] f23df028b6ca: Download complete [2022-12-19T20:13:05.000Z] d65c8cfc05b1: Verifying Checksum [2022-12-19T20:13:05.000Z] d65c8cfc05b1: Download complete [2022-12-19T20:13:05.266Z] 699f458cf7ca: Verifying Checksum [2022-12-19T20:13:05.266Z] 699f458cf7ca: Download complete [2022-12-19T20:13:05.532Z] 8998bd30e6a1: Verifying Checksum [2022-12-19T20:13:05.532Z] 8998bd30e6a1: Download complete [2022-12-19T20:13:07.479Z] 2437ff75d9bd: Verifying Checksum [2022-12-19T20:13:07.479Z] 2437ff75d9bd: Download complete [2022-12-19T20:13:09.436Z] 8998bd30e6a1: Pull complete [2022-12-19T20:13:09.436Z] 04944245beec: Pull complete [2022-12-19T20:13:10.840Z] 699f458cf7ca: Pull complete [2022-12-19T20:13:10.840Z] 765212b225bb: Pull complete [2022-12-19T20:13:11.420Z] f23df028b6ca: Pull complete [2022-12-19T20:13:11.687Z] d65c8cfc05b1: Pull complete [2022-12-19T20:13:24.010Z] 2437ff75d9bd: Pull complete [2022-12-19T20:13:24.010Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-19T20:13:24.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T20:13:24.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:13:24.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-173 does not seem to be running inside a container [2022-12-19T20:13:24.381Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-19T20:13:26.711Z] $ docker top 1644020b62eeff574dafae002895c18ec0ab5241925df8ff4ca252266ea95452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:27.276Z] ---> job-cost.sh [2022-12-19T20:13:27.540Z] lf-activate-venv: SKIPPING [2022-12-19T20:13:27.540Z] INFO: No Stack... [2022-12-19T20:13:27.806Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-19T20:13:28.763Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T20:13:29.104Z] + cut -d, -f6 [2022-12-19T20:13:29.104Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-12-19T20:13:29.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] [2022-12-19T20:13:29.189Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] did not exist. Created. [2022-12-19T20:13:29.190Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T20:13:29.595Z] /w/workspace/device-rest-go/1@tmp/durable-e944656a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-19T20:13:29.942Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-19T20:13:29.982Z] Warning: overwriting stash ‘stack-cost’ [2022-12-19T20:13:30.023Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T20:13:30.039Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T20:13:30.124Z] $ docker stop --time=1 1644020b62eeff574dafae002895c18ec0ab5241925df8ff4ca252266ea95452 [2022-12-19T20:13:31.590Z] $ docker rm -f --volumes 1644020b62eeff574dafae002895c18ec0ab5241925df8ff4ca252266ea95452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-19T20:13:32.621Z] provisioning config files... [2022-12-19T20:13:32.630Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-231@tmp/config15447433588249739113tmp [Pipeline] { [Pipeline] sh [2022-12-19T20:13:32.961Z] + set +x [2022-12-19T20:13:32.961Z] + curl -s https://codecov.io/bash [2022-12-19T20:13:32.961Z] + bash -s -- [2022-12-19T20:13:32.961Z] [2022-12-19T20:13:32.961Z] _____ _ [2022-12-19T20:13:32.961Z] / ____| | | [2022-12-19T20:13:32.961Z] | | ___ __| | ___ ___ _____ __ [2022-12-19T20:13:32.961Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-19T20:13:32.961Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-19T20:13:32.961Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-19T20:13:32.961Z] Bash-1.0.6 [2022-12-19T20:13:32.961Z] [2022-12-19T20:13:32.961Z] [2022-12-19T20:13:32.961Z] ==> git version 2.25.1 found [2022-12-19T20:13:32.961Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-19T20:13:32.961Z] Release-Date: 2020-01-08 [2022-12-19T20:13:32.961Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-19T20:13:32.961Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-19T20:13:32.961Z] ==> Jenkins CI detected. [2022-12-19T20:13:32.961Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-231 [2022-12-19T20:13:32.961Z] project root: . [2022-12-19T20:13:32.961Z] --> token set from env [2022-12-19T20:13:32.961Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-19T20:13:32.961Z] ==> Running gcov in . (disable via -X gcov) [2022-12-19T20:13:32.961Z] ==> Python coveragepy not found [2022-12-19T20:13:32.961Z] ==> Searching for coverage reports in: [2022-12-19T20:13:32.961Z] + . [2022-12-19T20:13:32.961Z] -> Found 1 reports [2022-12-19T20:13:32.961Z] ==> Detecting git/mercurial file structure [2022-12-19T20:13:32.961Z] ==> Reading reports [2022-12-19T20:13:32.961Z] + ./coverage.out bytes=9355 [2022-12-19T20:13:32.962Z] ==> Appending adjustments [2022-12-19T20:13:32.962Z] https://docs.codecov.io/docs/fixing-reports [2022-12-19T20:13:33.222Z] + Found adjustments [2022-12-19T20:13:33.222Z] ==> Gzipping contents [2022-12-19T20:13:33.222Z] 4.0K /tmp/codecov.esqZY0.gz [2022-12-19T20:13:33.222Z] ==> Uploading reports [2022-12-19T20:13:33.222Z] url: https://codecov.io [2022-12-19T20:13:33.222Z] query: branch=PR-231&commit=8608e49fa043929ca3c866d9fd83ae94c6836335&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2022-12-19T20:13:33.222Z] -> Pinging Codecov [2022-12-19T20:13:33.222Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-231&commit=8608e49fa043929ca3c866d9fd83ae94c6836335&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2022-12-19T20:13:33.483Z] -> Uploading to [2022-12-19T20:13:33.483Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-19/4E5D53B4F1F92C436F7061BF334D961C/8608e49fa043929ca3c866d9fd83ae94c6836335/b8b3d952-7286-4851-9ad5-87f3b2c191f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T201333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cb204ddb5cb492f487de5a32a675a7d31917841ba99d06b50274716c199ae70 [2022-12-19T20:13:33.483Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T20:13:33.483Z] Dload Upload Total Spent Left Speed [2022-12-19T20:13:33.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 7741 --:--:-- --:--:-- --:--:-- 7741 [2022-12-19T20:13:33.743Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8608e49fa043929ca3c866d9fd83ae94c6836335 [Pipeline] } [2022-12-19T20:13:33.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-19T20:13:35.737Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-231/archives ] [2022-12-19T20:13:35.738Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-231/archives [2022-12-19T20:13:35.738Z] total 16 [2022-12-19T20:13:35.738Z] drwxr-xr-x 3 root root 4096 Dec 19 20:04 . [2022-12-19T20:13:35.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 20:04 .. [2022-12-19T20:13:35.738Z] drwxr-xr-x 2 root root 4096 Dec 19 20:04 cost [2022-12-19T20:13:35.738Z] -rw-r--r-- 1 root root 86 Dec 19 20:04 cost.csv [2022-12-19T20:13:35.738Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-231/archives [2022-12-19T20:13:35.738Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-231/archives [2022-12-19T20:13:35.738Z] total 16 [2022-12-19T20:13:35.738Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 20:04 . [2022-12-19T20:13:35.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 20:04 .. [2022-12-19T20:13:35.738Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 20:04 cost [2022-12-19T20:13:35.738Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 19 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:36.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:37.089Z] ---> package-listing.sh [2022-12-19T20:13:37.090Z] ++ facter osfamily [2022-12-19T20:13:37.090Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-19T20:13:37.349Z] + OS_FAMILY=debian [2022-12-19T20:13:37.349Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-231 [2022-12-19T20:13:37.349Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-19T20:13:37.349Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-19T20:13:37.349Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-19T20:13:37.349Z] + PACKAGES=/tmp/packages_start.txt [2022-12-19T20:13:37.349Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-231 ']' [2022-12-19T20:13:37.349Z] + PACKAGES=/tmp/packages_end.txt [2022-12-19T20:13:37.350Z] + case "${OS_FAMILY}" in [2022-12-19T20:13:37.350Z] + dpkg -l [2022-12-19T20:13:37.350Z] + grep '^ii' [2022-12-19T20:13:37.350Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-19T20:13:37.350Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-19T20:13:37.350Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-19T20:13:37.350Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-231 ']' [2022-12-19T20:13:37.350Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-231/archives/ [2022-12-19T20:13:37.350Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-231/archives/ [Pipeline] echo [2022-12-19T20:13:37.381Z] 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-231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-19T20:13:37.673Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T20:13:38.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T20:13:38.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T20:13:38.444Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2022-12-19T20:13:38.476Z] $ 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-231/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-231 -v /w/workspace/gexfoundry_device-rest-go_PR-231:/w/workspace/gexfoundry_device-rest-go_PR-231:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-231@tmp:/w/workspace/gexfoundry_device-rest-go_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T20:13:38.680Z] $ docker top f6052c8695b18e786481188556bec9687523bf398db0731c5b12e20934dc4e6d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T20:13:39.069Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-19T20:13:39.379Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-19T20:13:39.691Z] + ls /var/log/sa-host [2022-12-19T20:13:39.691Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T20:13:39.851Z] provisioning config files... [2022-12-19T20:13:39.861Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-231@tmp/config16897012340572042582tmp [Pipeline] { [Pipeline] echo [2022-12-19T20:13:39.917Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:40.227Z] ---> create-netrc.sh [Pipeline] } [2022-12-19T20:13:40.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:40.672Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-19T20:13:40.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:41.017Z] ---> sudo-logs.sh [2022-12-19T20:13:41.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-19T20:13:41.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:41.432Z] ---> job-cost.sh [2022-12-19T20:13:41.432Z] lf-activate-venv: SKIPPING [2022-12-19T20:13:41.432Z] DEBUG: total: 0.2199999988079071 [2022-12-19T20:13:41.432Z] INFO: Retrieving Stack Cost... [2022-12-19T20:13:41.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T20:13:42.265Z] INFO: Archiving Costs [Pipeline] echo [2022-12-19T20:13:42.310Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T20:13:42.627Z] ---> logs-deploy.sh [2022-12-19T20:13:42.627Z] lf-activate-venv: SKIPPING [2022-12-19T20:13:42.627Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-231/1 [2022-12-19T20:13:42.627Z] INFO: archiving workspace using pattern(s): [2022-12-19T20:13:43.565Z] Archives upload complete. [2022-12-19T20:13:43.565Z] INFO: archiving logs to Nexus