Pull request #230 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 25ab274ba158ce86e1c829ba66da33aae2d39e44+ea2635875d50d8674d03123d64d8d0373faddc1b (47d27fb9bc43a251c01978886396615a78911640) 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-ssh14300281595089237876.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-ssh16852495417344536336.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-230/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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7169308681742203767.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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5328714183783023489.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-ssh15919428071340041042.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-230/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-230/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3122494098238873959.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-121210’ Running on prd-ubuntu20.04-docker-8c-8g-121213 in /w/workspace/gexfoundry_device-rest-go_PR-230 [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-230 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit 25ab274ba158ce86e1c829ba66da33aae2d39e44 Merge succeeded, producing 25ab274ba158ce86e1c829ba66da33aae2d39e44 Checking out Revision 25ab274ba158ce86e1c829ba66da33aae2d39e44 (PR-230) > git config core.sparsecheckout # timeout=10 > git checkout -f 25ab274ba158ce86e1c829ba66da33aae2d39e44 # 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 ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25ab274ba158ce86e1c829ba66da33aae2d39e44 # timeout=10 Commit message: "refactor!: use latest SDK for flattened config stem" 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-14T16:27:28.657Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-14T16:27:28.834Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-14T16:27:28.938Z] ========================================================= [2022-12-14T16:27:28.938Z] EdgeX Global Pipelines Version Info [2022-12-14T16:27:28.938Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:27:29.690Z] ------------------- [2022-12-14T16:27:29.690Z] stable info: [2022-12-14T16:27:29.690Z] ------------------- [2022-12-14T16:27:29.690Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-14T16:27:29.690Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-14T16:27:29.690Z] Message: update stable to v1.0.244 [2022-12-14T16:27:30.285Z] ------------------- [2022-12-14T16:27:30.285Z] experimental info: [2022-12-14T16:27:30.285Z] ------------------- [2022-12-14T16:27:30.285Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-14T16:27:30.285Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-14T16:27:30.285Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-14T16:27:30.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-14T16:27:30.653Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-14T16:27:30.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-14T16:27:30.739Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-14T16:27:30.786Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-14T16:27:30.825Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-14T16:27:30.863Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-14T16:27:30.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-14T16:27:30.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-14T16:27:30.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-14T16:27:31.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-14T16:27:31.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-14T16:27:31.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-14T16:27:31.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-14T16:27:31.194Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-14T16:27:31.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-14T16:27:31.269Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-14T16:27:31.317Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-14T16:27:31.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-14T16:27:31.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-14T16:27:31.449Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-14T16:27:31.493Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-14T16:27:31.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-14T16:27:31.586Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-14T16:27:31.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-14T16:27:31.665Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-14T16:27:31.705Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-14T16:27:31.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-230 [Pipeline] echo [2022-12-14T16:27:31.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-230 [Pipeline] echo [2022-12-14T16:27:31.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-230 [Pipeline] echo [2022-12-14T16:27:31.858Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25ab274ba158ce86e1c829ba66da33aae2d39e44 [Pipeline] echo [2022-12-14T16:27:31.898Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25ab274 [Pipeline] echo [2022-12-14T16:27:31.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T16:27:32.055Z] provisioning config files... [2022-12-14T16:27:32.068Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp/config10990560015695171835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:27:32.406Z] ---> docker-login.sh [2022-12-14T16:27:32.407Z] nexus3.edgexfoundry.org:10001 [2022-12-14T16:27:32.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:32.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:32.666Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:32.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:32.666Z] [2022-12-14T16:27:32.666Z] Login Succeeded [2022-12-14T16:27:32.666Z] nexus3.edgexfoundry.org:10002 [2022-12-14T16:27:32.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:32.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:32.666Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:32.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:32.666Z] [2022-12-14T16:27:32.666Z] Login Succeeded [2022-12-14T16:27:32.926Z] nexus3.edgexfoundry.org:10003 [2022-12-14T16:27:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:32.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:32.926Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:32.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:32.926Z] [2022-12-14T16:27:32.926Z] Login Succeeded [2022-12-14T16:27:32.926Z] nexus3.edgexfoundry.org:10004 [2022-12-14T16:27:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:32.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:32.926Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:32.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:32.926Z] [2022-12-14T16:27:32.926Z] Login Succeeded [2022-12-14T16:27:32.926Z] docker.io [2022-12-14T16:27:33.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:33.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:33.445Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:33.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:33.445Z] [2022-12-14T16:27:33.445Z] Login Succeeded [2022-12-14T16:27:33.445Z] ---> docker-login.sh ends [Pipeline] } [2022-12-14T16:27:33.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-14T16:27:34.073Z] + git rev-list -1 --merges 25ab274ba158ce86e1c829ba66da33aae2d39e44~1..25ab274ba158ce86e1c829ba66da33aae2d39e44 [Pipeline] echo [2022-12-14T16:27:34.121Z] -----------> git rev-list -1 --merges 25ab274ba158ce86e1c829ba66da33aae2d39e44~1..25ab274ba158ce86e1c829ba66da33aae2d39e44 25ab274ba158ce86e1c829ba66da33aae2d39e44 [false] [Pipeline] sh [2022-12-14T16:27:34.429Z] + git log --format=format:%s -1 25ab274ba158ce86e1c829ba66da33aae2d39e44 [Pipeline] echo [2022-12-14T16:27:34.461Z] ========================================================= [2022-12-14T16:27:34.461Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-14T16:27:34.461Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-14T16:27:34.880Z] + git log --format=format:%s -1 25ab274ba158ce86e1c829ba66da33aae2d39e44 [Pipeline] echo [2022-12-14T16:27:34.913Z] [semverPrep] GIT_COMMIT: 25ab274ba158ce86e1c829ba66da33aae2d39e44, Commit Message: refactor!: use latest SDK for flattened config stem [Pipeline] echo [2022-12-14T16:27:34.942Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-14T16:27:35.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-14T16:27:35.320Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-14T16:27:35.320Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-14T16:27:35.320Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-14T16:27:35.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-14T16:27:35.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-14T16:27:35.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:27:35.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-14T16:27:35.750Z] [2022-12-14T16:27:35.750Z] 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-14T16:27:36.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-14T16:27:36.125Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-14T16:27:36.125Z] b85a868b505f: Pulling fs layer [2022-12-14T16:27:36.125Z] e2be974225ed: Pulling fs layer [2022-12-14T16:27:36.125Z] 339a4e72a1f5: Pulling fs layer [2022-12-14T16:27:36.125Z] 988bab9f4d93: Pulling fs layer [2022-12-14T16:27:36.125Z] 1469e6f7b9e6: Pulling fs layer [2022-12-14T16:27:36.125Z] eaf3925da568: Pulling fs layer [2022-12-14T16:27:36.125Z] bab4dde63d76: Pulling fs layer [2022-12-14T16:27:36.125Z] bde34c3a00c8: Pulling fs layer [2022-12-14T16:27:36.125Z] eaf3925da568: Waiting [2022-12-14T16:27:36.125Z] bab4dde63d76: Waiting [2022-12-14T16:27:36.125Z] 988bab9f4d93: Waiting [2022-12-14T16:27:36.125Z] 1469e6f7b9e6: Waiting [2022-12-14T16:27:36.125Z] b352a97aabf1: Pulling fs layer [2022-12-14T16:27:36.125Z] 4872d77fe225: Pulling fs layer [2022-12-14T16:27:36.125Z] bde34c3a00c8: Waiting [2022-12-14T16:27:36.125Z] b352a97aabf1: Waiting [2022-12-14T16:27:36.125Z] 5851b861e8e6: Pulling fs layer [2022-12-14T16:27:36.125Z] 5851b861e8e6: Waiting [2022-12-14T16:27:36.125Z] 4872d77fe225: Waiting [2022-12-14T16:27:36.125Z] e2be974225ed: Download complete [2022-12-14T16:27:36.125Z] 988bab9f4d93: Verifying Checksum [2022-12-14T16:27:36.387Z] 1469e6f7b9e6: Verifying Checksum [2022-12-14T16:27:36.387Z] 1469e6f7b9e6: Download complete [2022-12-14T16:27:36.387Z] 339a4e72a1f5: Verifying Checksum [2022-12-14T16:27:36.387Z] 339a4e72a1f5: Download complete [2022-12-14T16:27:36.387Z] eaf3925da568: Verifying Checksum [2022-12-14T16:27:36.387Z] eaf3925da568: Download complete [2022-12-14T16:27:36.387Z] bde34c3a00c8: Verifying Checksum [2022-12-14T16:27:36.387Z] bde34c3a00c8: Download complete [2022-12-14T16:27:36.387Z] b352a97aabf1: Verifying Checksum [2022-12-14T16:27:36.387Z] b352a97aabf1: Download complete [2022-12-14T16:27:36.387Z] 4872d77fe225: Verifying Checksum [2022-12-14T16:27:36.387Z] 4872d77fe225: Download complete [2022-12-14T16:27:36.387Z] 5851b861e8e6: Verifying Checksum [2022-12-14T16:27:36.387Z] 5851b861e8e6: Download complete [2022-12-14T16:27:36.387Z] b85a868b505f: Download complete [2022-12-14T16:27:36.646Z] bab4dde63d76: Verifying Checksum [2022-12-14T16:27:36.646Z] bab4dde63d76: Download complete [2022-12-14T16:27:37.583Z] b85a868b505f: Pull complete [2022-12-14T16:27:37.842Z] e2be974225ed: Pull complete [2022-12-14T16:27:38.410Z] 339a4e72a1f5: Pull complete [2022-12-14T16:27:38.410Z] 988bab9f4d93: Pull complete [2022-12-14T16:27:38.672Z] 1469e6f7b9e6: Pull complete [2022-12-14T16:27:38.672Z] eaf3925da568: Pull complete [2022-12-14T16:27:40.581Z] bab4dde63d76: Pull complete [2022-12-14T16:27:40.581Z] bde34c3a00c8: Pull complete [2022-12-14T16:27:40.581Z] b352a97aabf1: Pull complete [2022-12-14T16:27:40.581Z] 4872d77fe225: Pull complete [2022-12-14T16:27:40.847Z] 5851b861e8e6: Pull complete [2022-12-14T16:27:40.847Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-14T16:27:40.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-14T16:27:40.847Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:27:41.078Z] prd-ubuntu20.04-docker-8c-8g-121213 does not seem to be running inside a container [2022-12-14T16:27:41.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-230 -v /w/workspace/gexfoundry_device-rest-go_PR-230:/w/workspace/gexfoundry_device-rest-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-230@tmp:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-14T16:27:43.833Z] $ docker top e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae -eo pid,comm [2022-12-14T16:27:43.895Z] 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-14T16:27:43.895Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-14T16:27:44.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-14T16:27:44.019Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-14T16:27:44.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-14T16:27:44.138Z] $ docker exec e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae ssh-agent [2022-12-14T16:27:44.243Z] SSH_AUTH_SOCK=/tmp/ssh-FJwVz1BmIYs7/agent.32 [2022-12-14T16:27:44.243Z] SSH_AGENT_PID=38 [2022-12-14T16:27:44.249Z] Running ssh-add (command line suppressed) [2022-12-14T16:27:44.373Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-230@tmp/private_key_9069633269058859408.key (/w/workspace/gexfoundry_device-rest-go_PR-230@tmp/private_key_9069633269058859408.key) [2022-12-14T16:27:44.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-14T16:27:44.719Z] + git tag --points-at HEAD [Pipeline] } [2022-12-14T16:27:44.743Z] $ docker exec --env ******** --env ******** e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae ssh-agent -k [2022-12-14T16:27:44.840Z] unset SSH_AUTH_SOCK; [2022-12-14T16:27:44.840Z] unset SSH_AGENT_PID; [2022-12-14T16:27:44.841Z] echo Agent pid 38 killed; [2022-12-14T16:27:44.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-14T16:27:44.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-14T16:27:44.934Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-14T16:27:45.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-14T16:27:45.049Z] $ docker exec e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae ssh-agent [2022-12-14T16:27:45.158Z] SSH_AUTH_SOCK=/tmp/ssh-dKm6him5GlMN/agent.70 [2022-12-14T16:27:45.158Z] SSH_AGENT_PID=76 [2022-12-14T16:27:45.162Z] Running ssh-add (command line suppressed) [2022-12-14T16:27:45.276Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-230@tmp/private_key_16666506795763479039.key (/w/workspace/gexfoundry_device-rest-go_PR-230@tmp/private_key_16666506795763479039.key) [2022-12-14T16:27:45.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-14T16:27:45.615Z] + git semver init [2022-12-14T16:27:45.875Z] 2022-12-14 16:27:45,792 [run_init] DEBUG init version:0.0.0 force:False [2022-12-14T16:27:45.875Z] 2022-12-14 16:27:45,793 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-230/.semver [2022-12-14T16:27:45.875Z] 2022-12-14 16:27:45,793 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-230/.semver [2022-12-14T16:27:45.875Z] 2022-12-14 16:27:45,794 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-230/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-230, universal_newlines=False, shell=None, istream=None) [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,916 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-230/.git/info/exclude [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-230/.semver/PR-230 with force:False [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,917 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-230/.semver/PR-230 [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,921 [execute] INFO git cat-file --batch-check [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,927 [execute] INFO git cat-file --batch [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2022-12-14T16:27:47.278Z] 2022-12-14 16:27:46,932 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-230/.semver/PR-230 [2022-12-14T16:27:47.278Z] 0.0.0 [Pipeline] } [2022-12-14T16:27:47.307Z] $ docker exec --env ******** --env ******** e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae ssh-agent -k [2022-12-14T16:27:47.415Z] unset SSH_AUTH_SOCK; [2022-12-14T16:27:47.415Z] unset SSH_AGENT_PID; [2022-12-14T16:27:47.416Z] echo Agent pid 76 killed; [2022-12-14T16:27:47.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-14T16:27:47.847Z] + git semver [Pipeline] } [2022-12-14T16:27:48.130Z] $ docker stop --time=1 e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae [2022-12-14T16:27:49.399Z] $ docker rm -f e9b2771f4110531a4f39c09166df76db917c200c611b4336362486f519f9f9ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-14T16:27:49.797Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-14T16:27:50.067Z] Stashed 1 file(s) [Pipeline] echo [2022-12-14T16:27:50.085Z] [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-14T16:27:50.705Z] provisioning config files... [2022-12-14T16:27:50.715Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp/config5410360063395760266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:27:51.057Z] ---> docker-login.sh [2022-12-14T16:27:51.058Z] nexus3.edgexfoundry.org:10001 [2022-12-14T16:27:51.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:51.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:51.058Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:51.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:51.058Z] [2022-12-14T16:27:51.058Z] Login Succeeded [2022-12-14T16:27:51.058Z] nexus3.edgexfoundry.org:10002 [2022-12-14T16:27:51.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:51.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:51.058Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:51.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:51.058Z] [2022-12-14T16:27:51.058Z] Login Succeeded [2022-12-14T16:27:51.058Z] nexus3.edgexfoundry.org:10003 [2022-12-14T16:27:51.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:51.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:51.317Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:51.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:51.317Z] [2022-12-14T16:27:51.317Z] Login Succeeded [2022-12-14T16:27:51.317Z] nexus3.edgexfoundry.org:10004 [2022-12-14T16:27:51.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:51.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:51.317Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:51.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:51.317Z] [2022-12-14T16:27:51.317Z] Login Succeeded [2022-12-14T16:27:51.317Z] docker.io [2022-12-14T16:27:51.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:27:51.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:27:51.576Z] Configure a credential helper to remove this warning. See [2022-12-14T16:27:51.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:27:51.576Z] [2022-12-14T16:27:51.576Z] Login Succeeded [2022-12-14T16:27:51.576Z] ---> docker-login.sh ends [Pipeline] } [2022-12-14T16:27:51.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-14T16:27:51.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T16:27:51.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T16:27:51.868Z] ========================================================= [2022-12-14T16:27:51.868Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-14T16:27:51.868Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:27:52.328Z] + 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-14T16:27:52.328Z] Sending build context to Docker daemon 10.77MB [2022-12-14T16:27:52.328Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T16:27:52.328Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-14T16:27:52.328Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-14T16:27:52.328Z] 213ec9aee27d: Pulling fs layer [2022-12-14T16:27:52.328Z] 4583459ba037: Pulling fs layer [2022-12-14T16:27:52.328Z] 93c1e223e6f2: Pulling fs layer [2022-12-14T16:27:52.328Z] 53926ce57604: Pulling fs layer [2022-12-14T16:27:52.328Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-14T16:27:52.328Z] 22ff95d597cd: Pulling fs layer [2022-12-14T16:27:52.328Z] 12d6caf4c0d1: Pulling fs layer [2022-12-14T16:27:52.328Z] 96b7cbca73a9: Pulling fs layer [2022-12-14T16:27:52.328Z] a7acece74701: Pulling fs layer [2022-12-14T16:27:52.328Z] 21b2b0c7a3f4: Waiting [2022-12-14T16:27:52.328Z] 22ff95d597cd: Waiting [2022-12-14T16:27:52.328Z] 12d6caf4c0d1: Waiting [2022-12-14T16:27:52.328Z] 96b7cbca73a9: Waiting [2022-12-14T16:27:52.328Z] a7acece74701: Waiting [2022-12-14T16:27:52.328Z] 53926ce57604: Waiting [2022-12-14T16:27:52.328Z] 4583459ba037: Download complete [2022-12-14T16:27:52.595Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-14T16:27:52.595Z] 21b2b0c7a3f4: Download complete [2022-12-14T16:27:52.595Z] 22ff95d597cd: Verifying Checksum [2022-12-14T16:27:52.595Z] 22ff95d597cd: Download complete [2022-12-14T16:27:52.595Z] 213ec9aee27d: Verifying Checksum [2022-12-14T16:27:52.595Z] 213ec9aee27d: Download complete [2022-12-14T16:27:52.595Z] 12d6caf4c0d1: Download complete [2022-12-14T16:27:52.595Z] 213ec9aee27d: Pull complete [2022-12-14T16:27:52.862Z] 4583459ba037: Pull complete [2022-12-14T16:27:52.862Z] 93c1e223e6f2: Pull complete [2022-12-14T16:27:53.124Z] a7acece74701: Verifying Checksum [2022-12-14T16:27:53.124Z] a7acece74701: Download complete [2022-12-14T16:27:53.124Z] 96b7cbca73a9: Verifying Checksum [2022-12-14T16:27:53.124Z] 96b7cbca73a9: Download complete [2022-12-14T16:27:53.124Z] 53926ce57604: Verifying Checksum [2022-12-14T16:27:53.124Z] 53926ce57604: Download complete [2022-12-14T16:27:57.309Z] 53926ce57604: Pull complete [2022-12-14T16:27:57.309Z] 21b2b0c7a3f4: Pull complete [2022-12-14T16:27:57.309Z] 22ff95d597cd: Pull complete [2022-12-14T16:27:57.309Z] 12d6caf4c0d1: Pull complete [2022-12-14T16:27:59.319Z] 96b7cbca73a9: Pull complete [2022-12-14T16:28:00.255Z] a7acece74701: Pull complete [2022-12-14T16:28:00.255Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-14T16:28:00.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-14T16:28:00.255Z] ---> db6d94c90886 [2022-12-14T16:28:00.255Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-14T16:28:05.514Z] Still waiting to schedule task [2022-12-14T16:28:05.515Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121211’ [2022-12-14T16:28:05.552Z] ---> Running in aae7033791df [2022-12-14T16:28:05.552Z] Removing intermediate container aae7033791df [2022-12-14T16:28:05.552Z] ---> bcdc7d151eb4 [2022-12-14T16:28:05.552Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T16:28:05.552Z] ---> Running in 005ff1e54df9 [2022-12-14T16:28:05.552Z] Removing intermediate container 005ff1e54df9 [2022-12-14T16:28:05.552Z] ---> 0293e7922cde [2022-12-14T16:28:05.552Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T16:28:05.552Z] ---> Running in 3fe332bbf7e5 [2022-12-14T16:28:05.552Z] Removing intermediate container 3fe332bbf7e5 [2022-12-14T16:28:05.552Z] ---> b42733ba3cb4 [2022-12-14T16:28:05.552Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T16:28:05.552Z] ---> Running in 4e112106c69d [2022-12-14T16:28:05.552Z] Removing intermediate container 4e112106c69d [2022-12-14T16:28:05.552Z] ---> 7ccf2677f097 [2022-12-14T16:28:05.552Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T16:28:05.552Z] ---> Running in 534b0472b77b [2022-12-14T16:28:05.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-14T16:28:06.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-14T16:28:06.329Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-14T16:28:06.329Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-14T16:28:06.329Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-14T16:28:06.329Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-14T16:28:06.329Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T16:28:06.329Z] OK: 216 MiB in 55 packages [2022-12-14T16:28:06.897Z] Removing intermediate container 534b0472b77b [2022-12-14T16:28:06.897Z] ---> ea414e97682e [2022-12-14T16:28:06.897Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-14T16:28:06.897Z] ---> Running in 421b5b2a64af [2022-12-14T16:28:06.897Z] Removing intermediate container 421b5b2a64af [2022-12-14T16:28:06.897Z] ---> f6d1e99cdaba [2022-12-14T16:28:06.897Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-14T16:28:07.156Z] ---> bfb6edc80876 [2022-12-14T16:28:07.156Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T16:28:07.156Z] ---> Running in ad4a6b1c475c [2022-12-14T16:28:33.704Z] Removing intermediate container ad4a6b1c475c [2022-12-14T16:28:33.704Z] ---> 563a37310693 [2022-12-14T16:28:33.704Z] Step 11/12 : COPY . . [2022-12-14T16:28:33.704Z] ---> 2578a4c9e8ca [2022-12-14T16:28:33.704Z] Step 12/12 : RUN $MAKE [2022-12-14T16:28:33.704Z] ---> Running in 2a1cf173e0be [2022-12-14T16:28:33.704Z] noop [2022-12-14T16:28:33.704Z] Removing intermediate container 2a1cf173e0be [2022-12-14T16:28:33.704Z] ---> c41240210d96 [2022-12-14T16:28:33.704Z] Successfully built c41240210d96 [2022-12-14T16:28:33.704Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:28:34.150Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-14T16:28:34.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:28:34.304Z] prd-ubuntu20.04-docker-8c-8g-121213 does not seem to be running inside a container [2022-12-14T16:28:34.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-230 -v /w/workspace/gexfoundry_device-rest-go_PR-230:/w/workspace/gexfoundry_device-rest-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-230@tmp:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-14T16:28:34.667Z] $ docker top 06652d00f7de22fa9a81e424d673936cb1d9c2e6b673f3e793ed2cc1d3dffec7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T16:28:35.058Z] + go version [2022-12-14T16:28:35.058Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-14T16:28:35.102Z] $ docker stop --time=1 06652d00f7de22fa9a81e424d673936cb1d9c2e6b673f3e793ed2cc1d3dffec7 [2022-12-14T16:28:36.398Z] $ docker rm -f 06652d00f7de22fa9a81e424d673936cb1d9c2e6b673f3e793ed2cc1d3dffec7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:28:37.118Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-14T16:28:37.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:28:37.264Z] prd-ubuntu20.04-docker-8c-8g-121213 does not seem to be running inside a container [2022-12-14T16:28:37.297Z] $ 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-230 -v /w/workspace/gexfoundry_device-rest-go_PR-230:/w/workspace/gexfoundry_device-rest-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-230@tmp:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-14T16:28:37.624Z] $ docker top 1b3b1c3c0c0e530fdb10585c925dc42be1d95eb65223febc854b50a64f80725e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T16:28:38.013Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-230 [Pipeline] fileExists [Pipeline] sh [2022-12-14T16:28:38.373Z] + make test [2022-12-14T16:28:38.373Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-14T16:28:38.632Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-14T16:28:48.595Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-14T16:28:48.595Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-12-14T16:28:55.158Z] 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-14T16:28:55.158Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-14T16:28:57.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-14T16:28:57.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-14T16:28:57.685Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-14T16:28:57.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-14T16:28:57.757Z] $ docker stop --time=1 1b3b1c3c0c0e530fdb10585c925dc42be1d95eb65223febc854b50a64f80725e [2022-12-14T16:29:00.285Z] $ docker rm -f 1b3b1c3c0c0e530fdb10585c925dc42be1d95eb65223febc854b50a64f80725e [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-14T16:29:00.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-14T16:29:00.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-14T16:29:01.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-14T16:29:01.741Z] + ls -al . [2022-12-14T16:29:01.741Z] total 188 [2022-12-14T16:29:01.741Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 16:28 . [2022-12-14T16:29:01.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:27 .. [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 16:27 .dockerignore [2022-12-14T16:29:01.741Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:28 .git [2022-12-14T16:29:01.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:27 .github [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 14 16:27 .gitignore [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 16:27 .golangci.yml [2022-12-14T16:29:01.741Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:27 .semver [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 9100 Dec 14 16:27 Attribution.txt [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 13085 Dec 14 16:27 CHANGELOG.md [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 1641 Dec 14 16:27 Dockerfile [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:27 GOVERNANCE.md [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 16:27 Jenkinsfile [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 16:27 LICENSE [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 2173 Dec 14 16:27 Makefile [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 16:27 OWNERS.md [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 8667 Dec 14 16:27 README.md [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 16:27 VERSION [2022-12-14T16:29:01.741Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:27 bin [2022-12-14T16:29:01.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:27 cmd [2022-12-14T16:29:01.741Z] -rw-r--r-- 1 jenkins jenkins 9355 Dec 14 16:28 coverage.out [2022-12-14T16:29:01.741Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:27 driver [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 14 16:27 go.mod [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 14 16:27 go.sum [2022-12-14T16:29:01.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:27 snap [2022-12-14T16:29:01.741Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 16:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:29:02.134Z] + 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=25ab274ba158ce86e1c829ba66da33aae2d39e44 --label arch=amd64 --label version=0.0.0 . [2022-12-14T16:29:02.134Z] Sending build context to Docker daemon 10.78MB [2022-12-14T16:29:02.134Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T16:29:02.134Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-14T16:29:02.134Z] ---> c41240210d96 [2022-12-14T16:29:02.134Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-12-14T16:29:02.392Z] ---> Running in 906b1fcaa8ad [2022-12-14T16:29:02.392Z] Removing intermediate container 906b1fcaa8ad [2022-12-14T16:29:02.392Z] ---> 77fb02abef36 [2022-12-14T16:29:02.392Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T16:29:02.392Z] ---> Running in 603e1488d9e5 [2022-12-14T16:29:02.392Z] Removing intermediate container 603e1488d9e5 [2022-12-14T16:29:02.392Z] ---> dc1201f2f517 [2022-12-14T16:29:02.392Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T16:29:02.651Z] ---> Running in 976eaa51bc88 [2022-12-14T16:29:02.651Z] Removing intermediate container 976eaa51bc88 [2022-12-14T16:29:02.651Z] ---> 33fc1a9b70cd [2022-12-14T16:29:02.651Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T16:29:02.651Z] ---> Running in 958c8751c3ef [2022-12-14T16:29:02.651Z] Removing intermediate container 958c8751c3ef [2022-12-14T16:29:02.651Z] ---> e618ec227726 [2022-12-14T16:29:02.651Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T16:29:02.651Z] ---> Running in 63f0a1a6703b [2022-12-14T16:29:02.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-14T16:29:03.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-14T16:29:03.425Z] OK: 216 MiB in 55 packages [2022-12-14T16:29:03.686Z] Removing intermediate container 63f0a1a6703b [2022-12-14T16:29:03.686Z] ---> f836e7fd6553 [2022-12-14T16:29:03.686Z] Step 8/25 : WORKDIR /device-rest-go [2022-12-14T16:29:03.947Z] ---> Running in 119c0c053c67 [2022-12-14T16:29:03.947Z] Removing intermediate container 119c0c053c67 [2022-12-14T16:29:03.947Z] ---> fe07b19dd9b4 [2022-12-14T16:29:03.947Z] Step 9/25 : COPY go.mod vendor* ./ [2022-12-14T16:29:03.947Z] ---> 2a7cdeb3895f [2022-12-14T16:29:03.947Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T16:29:03.947Z] ---> Running in 84c3aea04394 [2022-12-14T16:29:04.910Z] Removing intermediate container 84c3aea04394 [2022-12-14T16:29:04.910Z] ---> a318dca8c813 [2022-12-14T16:29:04.910Z] Step 11/25 : COPY . . [2022-12-14T16:29:05.171Z] ---> 376437520638 [2022-12-14T16:29:05.171Z] Step 12/25 : RUN $MAKE [2022-12-14T16:29:05.171Z] ---> Running in 302d3d457176 [2022-12-14T16:29:05.430Z] 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-14T16:29:27.394Z] Removing intermediate container 302d3d457176 [2022-12-14T16:29:27.394Z] ---> da7074641ce5 [2022-12-14T16:29:27.394Z] Step 13/25 : FROM alpine:3.16 [2022-12-14T16:29:27.653Z] 3.16: Pulling from library/alpine [2022-12-14T16:29:27.911Z] ca7dd9ec2225: Pulling fs layer [2022-12-14T16:29:27.911Z] ca7dd9ec2225: Verifying Checksum [2022-12-14T16:29:27.911Z] ca7dd9ec2225: Download complete [2022-12-14T16:29:28.170Z] ca7dd9ec2225: Pull complete [2022-12-14T16:29:28.170Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-14T16:29:28.170Z] Status: Downloaded newer image for alpine:3.16 [2022-12-14T16:29:28.170Z] ---> bfe296a52501 [2022-12-14T16:29:28.170Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-14T16:29:28.170Z] ---> Running in 5c0503f6bbcd [2022-12-14T16:29:28.428Z] Removing intermediate container 5c0503f6bbcd [2022-12-14T16:29:28.428Z] ---> 51da29e9295d [2022-12-14T16:29:28.428Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-12-14T16:29:28.428Z] ---> Running in 528866eadd54 [2022-12-14T16:29:28.428Z] Removing intermediate container 528866eadd54 [2022-12-14T16:29:28.428Z] ---> 53d9b44bdada [2022-12-14T16:29:28.428Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-14T16:29:28.428Z] ---> Running in 19167c70f16c [2022-12-14T16:29:28.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-14T16:29:28.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-14T16:29:29.209Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-14T16:29:29.209Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-14T16:29:29.209Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-14T16:29:29.209Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-14T16:29:29.209Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-14T16:29:29.209Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-14T16:29:29.209Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T16:29:29.209Z] OK: 8 MiB in 20 packages [2022-12-14T16:29:29.777Z] Removing intermediate container 19167c70f16c [2022-12-14T16:29:29.777Z] ---> 4b26fd1190fd [2022-12-14T16:29:29.777Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-12-14T16:29:30.717Z] ---> 2537aefde54e [2022-12-14T16:29:30.717Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-12-14T16:29:30.717Z] ---> d1b787affc49 [2022-12-14T16:29:30.717Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-12-14T16:29:30.717Z] ---> 1b78c74ebe64 [2022-12-14T16:29:30.717Z] Step 20/25 : EXPOSE 59986 [2022-12-14T16:29:30.976Z] ---> Running in e55d1ffa00ed [2022-12-14T16:29:30.976Z] Removing intermediate container e55d1ffa00ed [2022-12-14T16:29:30.976Z] ---> d3e24f1075ae [2022-12-14T16:29:30.976Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-12-14T16:29:30.976Z] ---> Running in 751f989c8d15 [2022-12-14T16:29:30.976Z] Removing intermediate container 751f989c8d15 [2022-12-14T16:29:30.976Z] ---> 9a133c264828 [2022-12-14T16:29:30.976Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-12-14T16:29:30.976Z] ---> Running in 7b94d770a5da [2022-12-14T16:29:30.976Z] Removing intermediate container 7b94d770a5da [2022-12-14T16:29:30.976Z] ---> 33e3e63d1250 [2022-12-14T16:29:30.976Z] Step 23/25 : LABEL arch=amd64 [2022-12-14T16:29:31.234Z] ---> Running in 0abfe337e58d [2022-12-14T16:29:31.234Z] Removing intermediate container 0abfe337e58d [2022-12-14T16:29:31.234Z] ---> 114ad4a33c59 [2022-12-14T16:29:31.234Z] Step 24/25 : LABEL git_sha=25ab274ba158ce86e1c829ba66da33aae2d39e44 [2022-12-14T16:29:31.234Z] ---> Running in e258effb5e5e [2022-12-14T16:29:31.234Z] Removing intermediate container e258effb5e5e [2022-12-14T16:29:31.234Z] ---> c85defdfeafc [2022-12-14T16:29:31.234Z] Step 25/25 : LABEL version=0.0.0 [2022-12-14T16:29:31.234Z] ---> Running in 46495d2084a1 [2022-12-14T16:29:31.497Z] Removing intermediate container 46495d2084a1 [2022-12-14T16:29:31.497Z] ---> 7f3ea908169c [2022-12-14T16:29:31.497Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-14T16:29:31.497Z] Successfully built 7f3ea908169c [2022-12-14T16:29:31.497Z] 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-14T16:29:32.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T16:29:32.354Z] [2022-12-14T16:29:32.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:29:32.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T16:29:32.744Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-14T16:29:32.744Z] 5eb5b503b376: Pulling fs layer [2022-12-14T16:29:32.744Z] 5c69ac0246d0: Pulling fs layer [2022-12-14T16:29:32.744Z] ec43610c2a17: Pulling fs layer [2022-12-14T16:29:32.744Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-14T16:29:32.744Z] 33b1e0a273af: Pulling fs layer [2022-12-14T16:29:32.744Z] 5d3b04190fa2: Pulling fs layer [2022-12-14T16:29:32.744Z] 2f39f015ded8: Pulling fs layer [2022-12-14T16:29:32.744Z] 3a2ae6a8a46f: Waiting [2022-12-14T16:29:32.744Z] 5d3b04190fa2: Waiting [2022-12-14T16:29:32.744Z] 33b1e0a273af: Waiting [2022-12-14T16:29:32.744Z] 2f39f015ded8: Waiting [2022-12-14T16:29:32.744Z] 5c69ac0246d0: Verifying Checksum [2022-12-14T16:29:32.744Z] 5c69ac0246d0: Download complete [2022-12-14T16:29:32.744Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-14T16:29:32.744Z] 3a2ae6a8a46f: Download complete [2022-12-14T16:29:33.014Z] 33b1e0a273af: Verifying Checksum [2022-12-14T16:29:33.014Z] 33b1e0a273af: Download complete [2022-12-14T16:29:33.014Z] ec43610c2a17: Verifying Checksum [2022-12-14T16:29:33.014Z] ec43610c2a17: Download complete [2022-12-14T16:29:33.014Z] 5d3b04190fa2: Verifying Checksum [2022-12-14T16:29:33.014Z] 5d3b04190fa2: Download complete [2022-12-14T16:29:33.014Z] 5eb5b503b376: Verifying Checksum [2022-12-14T16:29:33.014Z] 5eb5b503b376: Download complete [2022-12-14T16:29:33.591Z] 2f39f015ded8: Download complete [2022-12-14T16:29:34.166Z] 5eb5b503b376: Pull complete [2022-12-14T16:29:34.429Z] 5c69ac0246d0: Pull complete [2022-12-14T16:29:35.002Z] ec43610c2a17: Pull complete [2022-12-14T16:29:35.002Z] 3a2ae6a8a46f: Pull complete [2022-12-14T16:29:35.260Z] 33b1e0a273af: Pull complete [2022-12-14T16:29:35.260Z] 5d3b04190fa2: Pull complete [2022-12-14T16:29:39.446Z] 2f39f015ded8: Pull complete [2022-12-14T16:29:39.446Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-14T16:29:39.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T16:29:39.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:29:39.682Z] prd-ubuntu20.04-docker-8c-8g-121213 does not seem to be running inside a container [2022-12-14T16:29:39.719Z] $ 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-230 -v /w/workspace/gexfoundry_device-rest-go_PR-230:/w/workspace/gexfoundry_device-rest-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-230@tmp:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-14T16:29:43.368Z] $ docker top 07ef9114f55834ef6c3599be35a2099fa77346426f47eb9ea3bf97a56f182c55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:29:43.820Z] ---> job-cost.sh [2022-12-14T16:29:43.820Z] lf-activate-venv: SKIPPING [2022-12-14T16:29:43.820Z] INFO: No Stack... [2022-12-14T16:29:44.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-14T16:29:44.649Z] INFO: Archiving Costs [Pipeline] sh [2022-12-14T16:29:44.963Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-230/archives/cost.csv [2022-12-14T16:29:44.964Z] + cut -d, -f6 [Pipeline] lock [2022-12-14T16:29:45.006Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] [2022-12-14T16:29:45.012Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] did not exist. Created. [2022-12-14T16:29:45.012Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-14T16:29:45.394Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-14T16:29:45.452Z] Stashed 1 file(s) [Pipeline] } [2022-12-14T16:29:45.472Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-14T16:29:45.556Z] $ docker stop --time=1 07ef9114f55834ef6c3599be35a2099fa77346426f47eb9ea3bf97a56f182c55 [2022-12-14T16:29:46.732Z] $ docker rm -f 07ef9114f55834ef6c3599be35a2099fa77346426f47eb9ea3bf97a56f182c55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-14T16:31:07.848Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121215 in /w/workspace/gexfoundry_device-rest-go_PR-230 [Pipeline] { [Pipeline] ws [2022-12-14T16:31:07.891Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-12-14T16:31:07.960Z] The recommended git tool is: git [2022-12-14T16:31:13.222Z] using credential edgex-jenkins-ssh [2022-12-14T16:31:13.243Z] Cloning the remote Git repository [2022-12-14T16:31:13.292Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-14T16:31:13.372Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-12-14T16:31:13.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-14T16:31:13.517Z] > git --version # timeout=10 [2022-12-14T16:31:13.542Z] > git --version # 'git version 2.25.1' [2022-12-14T16:31:13.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-14T16:31:13.620Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-14T16:31:15.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-14T16:31:15.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-14T16:31:16.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-14T16:31:16.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-14T16:31:16.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-14T16:31:16.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-14T16:31:16.991Z] Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit 25ab274ba158ce86e1c829ba66da33aae2d39e44 [2022-12-14T16:31:17.220Z] Merge succeeded, producing 25ab274ba158ce86e1c829ba66da33aae2d39e44 [2022-12-14T16:31:17.221Z] Checking out Revision 25ab274ba158ce86e1c829ba66da33aae2d39e44 (PR-230) [2022-12-14T16:31:17.012Z] > git config core.sparsecheckout # timeout=10 [2022-12-14T16:31:17.028Z] > git checkout -f 25ab274ba158ce86e1c829ba66da33aae2d39e44 # timeout=10 [2022-12-14T16:31:17.113Z] > git remote # timeout=10 [2022-12-14T16:31:17.136Z] > git config --get remote.origin.url # timeout=10 [2022-12-14T16:31:17.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-14T16:31:17.173Z] > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [2022-12-14T16:31:17.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-14T16:31:17.230Z] > git config core.sparsecheckout # timeout=10 [2022-12-14T16:31:17.247Z] > git checkout -f 25ab274ba158ce86e1c829ba66da33aae2d39e44 # timeout=10 [2022-12-14T16:31:20.791Z] Commit message: "refactor!: use latest SDK for flattened config stem" [2022-12-14T16:31:20.851Z] > git --version # timeout=10 [2022-12-14T16:31:20.864Z] > git --version # 'git version 2.25.1' [2022-12-14T16:31:20.881Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-14T16:31:22.036Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-14T16:31:22.036Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-14T16:31:22.036Z] Dload Upload Total Spent Left Speed [2022-12-14T16:31:22.036Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2022-12-14T16:31:22.791Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-14T16:31:23.151Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-14T16:31:23.151Z] + sudo tee /etc/docker/daemon.new [2022-12-14T16:31:23.151Z] { [2022-12-14T16:31:23.151Z] "registry-mirrors": [ [2022-12-14T16:31:23.151Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-14T16:31:23.151Z] ], [2022-12-14T16:31:23.151Z] "bip": "10.250.0.254/24", [2022-12-14T16:31:23.151Z] "hosts": [ [2022-12-14T16:31:23.151Z] "tcp://0.0.0.0:5555", [2022-12-14T16:31:23.151Z] "unix:///var/run/docker.sock" [2022-12-14T16:31:23.151Z] ], [2022-12-14T16:31:23.151Z] "mtu": 1458, [2022-12-14T16:31:23.151Z] "selinux-enabled": true, [2022-12-14T16:31:23.151Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-14T16:31:23.151Z] } [Pipeline] sh [2022-12-14T16:31:23.509Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-14T16:31:23.867Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T16:31:42.204Z] provisioning config files... [2022-12-14T16:31:42.239Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13021137487828071123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:31:42.637Z] ---> docker-login.sh [2022-12-14T16:31:42.637Z] nexus3.edgexfoundry.org:10001 [2022-12-14T16:31:43.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:31:43.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:31:43.234Z] Configure a credential helper to remove this warning. See [2022-12-14T16:31:43.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:31:43.234Z] [2022-12-14T16:31:43.234Z] Login Succeeded [2022-12-14T16:31:43.234Z] nexus3.edgexfoundry.org:10002 [2022-12-14T16:31:43.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:31:43.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:31:43.778Z] Configure a credential helper to remove this warning. See [2022-12-14T16:31:43.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:31:43.778Z] [2022-12-14T16:31:43.778Z] Login Succeeded [2022-12-14T16:31:43.778Z] nexus3.edgexfoundry.org:10003 [2022-12-14T16:31:44.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:31:44.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:31:44.049Z] Configure a credential helper to remove this warning. See [2022-12-14T16:31:44.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:31:44.049Z] [2022-12-14T16:31:44.049Z] Login Succeeded [2022-12-14T16:31:44.049Z] nexus3.edgexfoundry.org:10004 [2022-12-14T16:31:44.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:31:44.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:31:44.591Z] Configure a credential helper to remove this warning. See [2022-12-14T16:31:44.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:31:44.591Z] [2022-12-14T16:31:44.591Z] Login Succeeded [2022-12-14T16:31:44.591Z] docker.io [2022-12-14T16:31:44.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T16:31:45.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T16:31:45.128Z] Configure a credential helper to remove this warning. See [2022-12-14T16:31:45.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T16:31:45.128Z] [2022-12-14T16:31:45.128Z] Login Succeeded [2022-12-14T16:31:45.128Z] ---> docker-login.sh ends [Pipeline] } [2022-12-14T16:31:45.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-14T16:31:45.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T16:31:45.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T16:31:45.571Z] ========================================================= [2022-12-14T16:31:45.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-14T16:31:45.571Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:31:46.053Z] + 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-14T16:31:46.053Z] Sending build context to Docker daemon 129.5kB [2022-12-14T16:31:46.322Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T16:31:46.322Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-14T16:31:46.593Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-14T16:31:46.593Z] 9b18e9b68314: Pulling fs layer [2022-12-14T16:31:46.593Z] 35d82f9e3411: Pulling fs layer [2022-12-14T16:31:46.593Z] e16973657156: Pulling fs layer [2022-12-14T16:31:46.593Z] fc693d55d65f: Pulling fs layer [2022-12-14T16:31:46.593Z] 7e9fc2657dce: Pulling fs layer [2022-12-14T16:31:46.593Z] dda99020689f: Pulling fs layer [2022-12-14T16:31:46.593Z] db1c61fa0a46: Pulling fs layer [2022-12-14T16:31:46.593Z] 891c053d2c06: Pulling fs layer [2022-12-14T16:31:46.593Z] dda99020689f: Waiting [2022-12-14T16:31:46.593Z] db1c61fa0a46: Waiting [2022-12-14T16:31:46.593Z] fc693d55d65f: Waiting [2022-12-14T16:31:46.593Z] 7e9fc2657dce: Waiting [2022-12-14T16:31:46.593Z] 891c053d2c06: Waiting [2022-12-14T16:31:46.593Z] e16973657156: Verifying Checksum [2022-12-14T16:31:46.593Z] e16973657156: Download complete [2022-12-14T16:31:46.593Z] 35d82f9e3411: Verifying Checksum [2022-12-14T16:31:46.593Z] 7e9fc2657dce: Verifying Checksum [2022-12-14T16:31:46.593Z] 7e9fc2657dce: Download complete [2022-12-14T16:31:46.593Z] dda99020689f: Download complete [2022-12-14T16:31:46.593Z] 9b18e9b68314: Verifying Checksum [2022-12-14T16:31:46.593Z] 9b18e9b68314: Download complete [2022-12-14T16:31:47.567Z] 9b18e9b68314: Pull complete [2022-12-14T16:31:47.842Z] 891c053d2c06: Verifying Checksum [2022-12-14T16:31:47.843Z] 891c053d2c06: Download complete [2022-12-14T16:31:48.119Z] 35d82f9e3411: Pull complete [2022-12-14T16:31:48.718Z] e16973657156: Pull complete [2022-12-14T16:31:48.988Z] db1c61fa0a46: Verifying Checksum [2022-12-14T16:31:48.988Z] db1c61fa0a46: Download complete [2022-12-14T16:31:49.579Z] fc693d55d65f: Verifying Checksum [2022-12-14T16:31:49.579Z] fc693d55d65f: Download complete [2022-12-14T16:32:01.924Z] fc693d55d65f: Pull complete [2022-12-14T16:32:01.924Z] 7e9fc2657dce: Pull complete [2022-12-14T16:32:01.924Z] dda99020689f: Pull complete [2022-12-14T16:32:08.602Z] db1c61fa0a46: Pull complete [2022-12-14T16:32:09.575Z] 891c053d2c06: Pull complete [2022-12-14T16:32:09.844Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-14T16:32:09.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-14T16:32:09.844Z] ---> f96f9c87975a [2022-12-14T16:32:09.844Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-14T16:32:10.815Z] ---> Running in 4da58193b13a [2022-12-14T16:32:11.399Z] Removing intermediate container 4da58193b13a [2022-12-14T16:32:11.399Z] ---> 4809726bbc4b [2022-12-14T16:32:11.399Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T16:32:11.399Z] ---> Running in 25584e01933a [2022-12-14T16:32:11.666Z] Removing intermediate container 25584e01933a [2022-12-14T16:32:11.666Z] ---> 2695fe33eca7 [2022-12-14T16:32:11.666Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T16:32:11.666Z] ---> Running in ce8b7e74449f [2022-12-14T16:32:11.943Z] Removing intermediate container ce8b7e74449f [2022-12-14T16:32:11.943Z] ---> d00e4e3b7b39 [2022-12-14T16:32:11.943Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T16:32:12.214Z] ---> Running in 4c53aff8c675 [2022-12-14T16:32:12.486Z] Removing intermediate container 4c53aff8c675 [2022-12-14T16:32:12.486Z] ---> 717809682c3a [2022-12-14T16:32:12.486Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T16:32:12.486Z] ---> Running in 1ad02c68bbf8 [2022-12-14T16:32:13.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-14T16:32:14.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-14T16:32:14.619Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-14T16:32:14.619Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-14T16:32:14.619Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-14T16:32:14.886Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-14T16:32:14.886Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T16:32:14.886Z] OK: 226 MiB in 55 packages [2022-12-14T16:32:15.854Z] Removing intermediate container 1ad02c68bbf8 [2022-12-14T16:32:15.854Z] ---> 3c6c5449ad41 [2022-12-14T16:32:15.854Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-14T16:32:15.854Z] ---> Running in 5713eff26ca3 [2022-12-14T16:32:16.440Z] Removing intermediate container 5713eff26ca3 [2022-12-14T16:32:16.440Z] ---> ec1ee1baa0bc [2022-12-14T16:32:16.440Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-14T16:32:16.723Z] ---> 21b9ca981fe9 [2022-12-14T16:32:16.723Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T16:32:16.723Z] ---> Running in 3e9c76b1a14a [2022-12-14T16:33:13.184Z] Removing intermediate container 3e9c76b1a14a [2022-12-14T16:33:13.184Z] ---> 6ce37ee702a6 [2022-12-14T16:33:13.184Z] Step 11/12 : COPY . . [2022-12-14T16:33:13.184Z] ---> f1d9b53b889e [2022-12-14T16:33:13.184Z] Step 12/12 : RUN $MAKE [2022-12-14T16:33:13.184Z] ---> Running in 5632d7563660 [2022-12-14T16:33:13.184Z] noop [2022-12-14T16:33:13.184Z] Removing intermediate container 5632d7563660 [2022-12-14T16:33:13.184Z] ---> a3735e1ee954 [2022-12-14T16:33:13.184Z] Successfully built a3735e1ee954 [2022-12-14T16:33:13.184Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:33:13.667Z] + docker inspect -f . ci-base-image-arm64 [2022-12-14T16:33:13.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:33:13.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-121215 does not seem to be running inside a container [2022-12-14T16:33:13.998Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-14T16:33:15.294Z] $ docker top ad56132e38cb0662d71a1253905aa21c8f12cdeafcbde5c55d581886c34e8689 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T16:33:16.193Z] + go version [2022-12-14T16:33:16.193Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-14T16:33:16.231Z] $ docker stop --time=1 ad56132e38cb0662d71a1253905aa21c8f12cdeafcbde5c55d581886c34e8689 [2022-12-14T16:33:17.917Z] $ docker rm -f ad56132e38cb0662d71a1253905aa21c8f12cdeafcbde5c55d581886c34e8689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:33:18.808Z] + docker inspect -f . ci-base-image-arm64 [2022-12-14T16:33:18.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:33:19.056Z] prd-ubuntu20.04-docker-arm64-4c-16g-121215 does not seem to be running inside a container [2022-12-14T16:33:19.126Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-14T16:33:20.358Z] $ docker top 04eedfccbe743af1dcf3b6aca58f72305f5c7895092b8d290a920d6d7437d1f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T16:33:21.245Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-14T16:33:21.648Z] + make test [2022-12-14T16:33:21.919Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-14T16:33:23.347Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-14T16:34:45.055Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-14T16:34:47.642Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 55.2% of statements [2022-12-14T16:34:47.910Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-14T16:34:47.910Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-14T16:35:10.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-14T16:35:10.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-14T16:35:10.000Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-14T16:35:10.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-14T16:35:10.074Z] $ docker stop --time=1 04eedfccbe743af1dcf3b6aca58f72305f5c7895092b8d290a920d6d7437d1f7 [2022-12-14T16:35:11.872Z] $ docker rm -f 04eedfccbe743af1dcf3b6aca58f72305f5c7895092b8d290a920d6d7437d1f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-14T16:35:12.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-14T16:35:12.950Z] Warning: overwriting stash ‘coverage-report’ [2022-12-14T16:35:13.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-14T16:35:14.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-14T16:35:14.359Z] + ls -al . [2022-12-14T16:35:14.359Z] total 184 [2022-12-14T16:35:14.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:33 . [2022-12-14T16:35:14.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:31 .. [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 14 16:31 .dockerignore [2022-12-14T16:35:14.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:31 .git [2022-12-14T16:35:14.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:31 .github [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 14 16:31 .gitignore [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 16:31 .golangci.yml [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 9100 Dec 14 16:31 Attribution.txt [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 13085 Dec 14 16:31 CHANGELOG.md [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 1641 Dec 14 16:31 Dockerfile [2022-12-14T16:35:14.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:31 GOVERNANCE.md [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 14 16:31 Jenkinsfile [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 16:31 LICENSE [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 2173 Dec 14 16:31 Makefile [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 14 16:31 OWNERS.md [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 8667 Dec 14 16:31 README.md [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 16:27 VERSION [2022-12-14T16:35:14.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:31 bin [2022-12-14T16:35:14.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:31 cmd [2022-12-14T16:35:14.360Z] -rw-r--r-- 1 jenkins jenkins 9355 Dec 14 16:34 coverage.out [2022-12-14T16:35:14.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:31 driver [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 14 16:31 go.mod [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 14 16:31 go.sum [2022-12-14T16:35:14.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:31 snap [2022-12-14T16:35:14.360Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 14 16:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:35:14.772Z] + 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=25ab274ba158ce86e1c829ba66da33aae2d39e44 --label arch=arm64 --label version=0.0.0 . [2022-12-14T16:35:14.772Z] Sending build context to Docker daemon 139.8kB [2022-12-14T16:35:15.042Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T16:35:15.042Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-14T16:35:15.042Z] ---> a3735e1ee954 [2022-12-14T16:35:15.042Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-12-14T16:35:15.042Z] ---> Running in 7f21498ef125 [2022-12-14T16:35:15.311Z] Removing intermediate container 7f21498ef125 [2022-12-14T16:35:15.311Z] ---> 4d64eb03c443 [2022-12-14T16:35:15.311Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T16:35:15.579Z] ---> Running in f256d21deaa9 [2022-12-14T16:35:15.851Z] Removing intermediate container f256d21deaa9 [2022-12-14T16:35:15.851Z] ---> 19d46c070de5 [2022-12-14T16:35:15.851Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T16:35:15.851Z] ---> Running in 49201ddeaa14 [2022-12-14T16:35:16.124Z] Removing intermediate container 49201ddeaa14 [2022-12-14T16:35:16.124Z] ---> 172fc0375941 [2022-12-14T16:35:16.124Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T16:35:16.124Z] ---> Running in 04b57e43be39 [2022-12-14T16:35:16.714Z] Removing intermediate container 04b57e43be39 [2022-12-14T16:35:16.714Z] ---> de43939817f5 [2022-12-14T16:35:16.714Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T16:35:16.714Z] ---> Running in a12fdfdda4c6 [2022-12-14T16:35:17.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-14T16:35:17.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-14T16:35:18.911Z] OK: 226 MiB in 55 packages [2022-12-14T16:35:19.874Z] Removing intermediate container a12fdfdda4c6 [2022-12-14T16:35:19.874Z] ---> 9d08d5ecd3da [2022-12-14T16:35:19.874Z] Step 8/25 : WORKDIR /device-rest-go [2022-12-14T16:35:20.142Z] ---> Running in c75550a3aebb [2022-12-14T16:35:20.412Z] Removing intermediate container c75550a3aebb [2022-12-14T16:35:20.412Z] ---> 93d92da813ac [2022-12-14T16:35:20.412Z] Step 9/25 : COPY go.mod vendor* ./ [2022-12-14T16:35:20.996Z] ---> a9dbba64e7bb [2022-12-14T16:35:20.996Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T16:35:20.996Z] ---> Running in 8b2ca3b02f9d [2022-12-14T16:35:23.585Z] Removing intermediate container 8b2ca3b02f9d [2022-12-14T16:35:23.585Z] ---> d6f7bd0549b7 [2022-12-14T16:35:23.585Z] Step 11/25 : COPY . . [2022-12-14T16:35:23.854Z] ---> 351c3b0fd2dc [2022-12-14T16:35:23.854Z] Step 12/25 : RUN $MAKE [2022-12-14T16:35:23.854Z] ---> Running in f9a8b5dac618 [2022-12-14T16:35:25.267Z] 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-14T16:38:02.405Z] Removing intermediate container f9a8b5dac618 [2022-12-14T16:38:02.405Z] ---> 7b39c7af87ec [2022-12-14T16:38:02.405Z] Step 13/25 : FROM alpine:3.16 [2022-12-14T16:38:02.405Z] 3.16: Pulling from library/alpine [2022-12-14T16:38:02.405Z] 6875df1f5354: Pulling fs layer [2022-12-14T16:38:02.405Z] 6875df1f5354: Verifying Checksum [2022-12-14T16:38:02.405Z] 6875df1f5354: Download complete [2022-12-14T16:38:02.405Z] 6875df1f5354: Pull complete [2022-12-14T16:38:02.405Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-14T16:38:02.405Z] Status: Downloaded newer image for alpine:3.16 [2022-12-14T16:38:02.405Z] ---> 2b4661558fb8 [2022-12-14T16:38:02.405Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-14T16:38:02.405Z] ---> Running in 6bfb2c9b490a [2022-12-14T16:38:02.405Z] Removing intermediate container 6bfb2c9b490a [2022-12-14T16:38:02.405Z] ---> 935eb5e98d67 [2022-12-14T16:38:02.405Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-12-14T16:38:02.405Z] ---> Running in bcd8e8d006e9 [2022-12-14T16:38:02.405Z] Removing intermediate container bcd8e8d006e9 [2022-12-14T16:38:02.405Z] ---> 7ed82d381fdc [2022-12-14T16:38:02.405Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-14T16:38:02.405Z] ---> Running in 1caab1a0e475 [2022-12-14T16:38:02.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-14T16:38:02.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-14T16:38:02.405Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-14T16:38:02.405Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-14T16:38:02.405Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-14T16:38:02.405Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-14T16:38:02.405Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-14T16:38:02.405Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-14T16:38:02.405Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T16:38:02.405Z] OK: 8 MiB in 20 packages [2022-12-14T16:38:03.365Z] Removing intermediate container 1caab1a0e475 [2022-12-14T16:38:03.365Z] ---> 549d0a6a9545 [2022-12-14T16:38:03.365Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-12-14T16:38:04.782Z] ---> 00c3d30e241d [2022-12-14T16:38:04.782Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-12-14T16:38:05.365Z] ---> 6c2972dbb82f [2022-12-14T16:38:05.365Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-12-14T16:38:08.250Z] ---> 0d04b34eb777 [2022-12-14T16:38:08.250Z] Step 20/25 : EXPOSE 59986 [2022-12-14T16:38:08.250Z] ---> Running in d48ffc0af45b [2022-12-14T16:38:08.250Z] Removing intermediate container d48ffc0af45b [2022-12-14T16:38:08.250Z] ---> af1b6181fc60 [2022-12-14T16:38:08.250Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-12-14T16:38:08.517Z] ---> Running in 8247ec110de3 [2022-12-14T16:38:08.783Z] Removing intermediate container 8247ec110de3 [2022-12-14T16:38:08.783Z] ---> 0531e9e9084a [2022-12-14T16:38:08.783Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-12-14T16:38:08.783Z] ---> Running in 1da6925ff8f3 [2022-12-14T16:38:09.050Z] Removing intermediate container 1da6925ff8f3 [2022-12-14T16:38:09.051Z] ---> 7cfe65ed76f6 [2022-12-14T16:38:09.051Z] Step 23/25 : LABEL arch=arm64 [2022-12-14T16:38:09.051Z] ---> Running in 27790526cce6 [2022-12-14T16:38:09.318Z] Removing intermediate container 27790526cce6 [2022-12-14T16:38:09.318Z] ---> b4be36da4f9e [2022-12-14T16:38:09.318Z] Step 24/25 : LABEL git_sha=25ab274ba158ce86e1c829ba66da33aae2d39e44 [2022-12-14T16:38:09.591Z] ---> Running in 5b01a7214c1e [2022-12-14T16:38:09.858Z] Removing intermediate container 5b01a7214c1e [2022-12-14T16:38:09.858Z] ---> ffeeb6c3e2b3 [2022-12-14T16:38:09.858Z] Step 25/25 : LABEL version=0.0.0 [2022-12-14T16:38:09.858Z] ---> Running in 749d33f6790b [2022-12-14T16:38:10.125Z] Removing intermediate container 749d33f6790b [2022-12-14T16:38:10.125Z] ---> 9758aa8e8255 [2022-12-14T16:38:10.125Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-14T16:38:10.125Z] Successfully built 9758aa8e8255 [2022-12-14T16:38:10.125Z] 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-14T16:38:10.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-14T16:38:10.958Z] [2022-12-14T16:38:10.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:38:11.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-14T16:38:11.361Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-14T16:38:11.361Z] 8998bd30e6a1: Pulling fs layer [2022-12-14T16:38:11.361Z] 04944245beec: Pulling fs layer [2022-12-14T16:38:11.361Z] 699f458cf7ca: Pulling fs layer [2022-12-14T16:38:11.361Z] 765212b225bb: Pulling fs layer [2022-12-14T16:38:11.361Z] f23df028b6ca: Pulling fs layer [2022-12-14T16:38:11.361Z] d65c8cfc05b1: Pulling fs layer [2022-12-14T16:38:11.361Z] 2437ff75d9bd: Pulling fs layer [2022-12-14T16:38:11.361Z] 765212b225bb: Waiting [2022-12-14T16:38:11.361Z] f23df028b6ca: Waiting [2022-12-14T16:38:11.361Z] d65c8cfc05b1: Waiting [2022-12-14T16:38:11.361Z] 2437ff75d9bd: Waiting [2022-12-14T16:38:11.629Z] 04944245beec: Verifying Checksum [2022-12-14T16:38:11.629Z] 04944245beec: Download complete [2022-12-14T16:38:11.629Z] 765212b225bb: Verifying Checksum [2022-12-14T16:38:11.629Z] 765212b225bb: Download complete [2022-12-14T16:38:11.629Z] f23df028b6ca: Verifying Checksum [2022-12-14T16:38:11.629Z] f23df028b6ca: Download complete [2022-12-14T16:38:11.629Z] d65c8cfc05b1: Verifying Checksum [2022-12-14T16:38:11.629Z] d65c8cfc05b1: Download complete [2022-12-14T16:38:11.629Z] 699f458cf7ca: Verifying Checksum [2022-12-14T16:38:11.629Z] 699f458cf7ca: Download complete [2022-12-14T16:38:12.224Z] 8998bd30e6a1: Verifying Checksum [2022-12-14T16:38:12.224Z] 8998bd30e6a1: Download complete [2022-12-14T16:38:14.814Z] 2437ff75d9bd: Verifying Checksum [2022-12-14T16:38:14.814Z] 2437ff75d9bd: Download complete [2022-12-14T16:38:16.223Z] 8998bd30e6a1: Pull complete [2022-12-14T16:38:16.490Z] 04944245beec: Pull complete [2022-12-14T16:38:17.909Z] 699f458cf7ca: Pull complete [2022-12-14T16:38:18.177Z] 765212b225bb: Pull complete [2022-12-14T16:38:18.761Z] f23df028b6ca: Pull complete [2022-12-14T16:38:19.030Z] d65c8cfc05b1: Pull complete [2022-12-14T16:38:34.048Z] 2437ff75d9bd: Pull complete [2022-12-14T16:38:34.048Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-14T16:38:34.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-14T16:38:34.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:38:34.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-121215 does not seem to be running inside a container [2022-12-14T16:38:34.436Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-14T16:38:37.011Z] $ docker top a0def025bef426f71a9fd99f35692223c115afcb04629ce95332f14e0dd876f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:37.597Z] ---> job-cost.sh [2022-12-14T16:38:37.862Z] lf-activate-venv: SKIPPING [2022-12-14T16:38:37.862Z] INFO: No Stack... [2022-12-14T16:38:38.127Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-14T16:38:39.084Z] INFO: Archiving Costs [Pipeline] sh [2022-12-14T16:38:39.426Z] + cut -d, -f6 [2022-12-14T16:38:39.426Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-12-14T16:38:39.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] [2022-12-14T16:38:39.777Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] did not exist. Created. [2022-12-14T16:38:39.777Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-14T16:38:40.500Z] /w/workspace/device-rest-go/1@tmp/durable-e4bcf1e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-14T16:38:41.172Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-14T16:38:41.207Z] Warning: overwriting stash ‘stack-cost’ [2022-12-14T16:38:41.255Z] Stashed 1 file(s) [Pipeline] } [2022-12-14T16:38:41.270Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-14T16:38:41.352Z] $ docker stop --time=1 a0def025bef426f71a9fd99f35692223c115afcb04629ce95332f14e0dd876f0 [2022-12-14T16:38:42.829Z] $ docker rm -f a0def025bef426f71a9fd99f35692223c115afcb04629ce95332f14e0dd876f0 [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-14T16:38:43.823Z] provisioning config files... [2022-12-14T16:38:43.829Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp/config15532523512819340999tmp [Pipeline] { [Pipeline] sh [2022-12-14T16:38:44.181Z] + set +x [2022-12-14T16:38:44.182Z] + curl -s https://codecov.io/bash [2022-12-14T16:38:44.182Z] + bash -s -- [2022-12-14T16:38:44.182Z] [2022-12-14T16:38:44.182Z] _____ _ [2022-12-14T16:38:44.182Z] / ____| | | [2022-12-14T16:38:44.182Z] | | ___ __| | ___ ___ _____ __ [2022-12-14T16:38:44.182Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-14T16:38:44.182Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-14T16:38:44.182Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-14T16:38:44.182Z] Bash-1.0.6 [2022-12-14T16:38:44.182Z] [2022-12-14T16:38:44.182Z] [2022-12-14T16:38:44.182Z] ==> git version 2.25.1 found [2022-12-14T16:38:44.182Z] ==> 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-14T16:38:44.182Z] Release-Date: 2020-01-08 [2022-12-14T16:38:44.182Z] 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-14T16:38:44.182Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-14T16:38:44.182Z] ==> Jenkins CI detected. [2022-12-14T16:38:44.182Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-230 [2022-12-14T16:38:44.182Z] project root: . [2022-12-14T16:38:44.182Z] --> token set from env [2022-12-14T16:38:44.182Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-14T16:38:44.182Z] ==> Running gcov in . (disable via -X gcov) [2022-12-14T16:38:44.182Z] ==> Python coveragepy not found [2022-12-14T16:38:44.182Z] ==> Searching for coverage reports in: [2022-12-14T16:38:44.182Z] + . [2022-12-14T16:38:44.182Z] -> Found 1 reports [2022-12-14T16:38:44.182Z] ==> Detecting git/mercurial file structure [2022-12-14T16:38:44.182Z] ==> Reading reports [2022-12-14T16:38:44.182Z] + ./coverage.out bytes=9355 [2022-12-14T16:38:44.182Z] ==> Appending adjustments [2022-12-14T16:38:44.182Z] https://docs.codecov.io/docs/fixing-reports [2022-12-14T16:38:44.182Z] + Found adjustments [2022-12-14T16:38:44.182Z] ==> Gzipping contents [2022-12-14T16:38:44.441Z] 4.0K /tmp/codecov.eev1wg.gz [2022-12-14T16:38:44.441Z] ==> Uploading reports [2022-12-14T16:38:44.441Z] url: https://codecov.io [2022-12-14T16:38:44.441Z] query: branch=PR-230&commit=25ab274ba158ce86e1c829ba66da33aae2d39e44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-230%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=230&job=&cmd_args= [2022-12-14T16:38:44.441Z] -> Pinging Codecov [2022-12-14T16:38:44.441Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-230&commit=25ab274ba158ce86e1c829ba66da33aae2d39e44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-230%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=230&job=&cmd_args= [2022-12-14T16:38:44.701Z] -> Uploading to [2022-12-14T16:38:44.701Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-14/4E5D53B4F1F92C436F7061BF334D961C/25ab274ba158ce86e1c829ba66da33aae2d39e44/15395939-c395-439d-b407-d874de7f10d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T163844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d57cdfd57e60a1b6dfc149588e0be9cc1144e1fd75f19e1ddea691ee7a0e90e [2022-12-14T16:38:44.701Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-14T16:38:44.701Z] Dload Upload Total Spent Left Speed [2022-12-14T16:38:44.701Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 8713 --:--:-- --:--:-- --:--:-- 8713 [2022-12-14T16:38:44.701Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/25ab274ba158ce86e1c829ba66da33aae2d39e44 [Pipeline] } [2022-12-14T16:38:44.729Z] 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-14T16:38:46.512Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-230/archives ] [2022-12-14T16:38:46.512Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-230/archives [2022-12-14T16:38:46.512Z] total 16 [2022-12-14T16:38:46.512Z] drwxr-xr-x 3 root root 4096 Dec 14 16:29 . [2022-12-14T16:38:46.512Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:29 .. [2022-12-14T16:38:46.512Z] drwxr-xr-x 2 root root 4096 Dec 14 16:29 cost [2022-12-14T16:38:46.512Z] -rw-r--r-- 1 root root 86 Dec 14 16:29 cost.csv [2022-12-14T16:38:46.512Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-230/archives [2022-12-14T16:38:46.512Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-230/archives [2022-12-14T16:38:46.512Z] total 16 [2022-12-14T16:38:46.512Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:29 . [2022-12-14T16:38:46.512Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:29 .. [2022-12-14T16:38:46.512Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 16:29 cost [2022-12-14T16:38:46.513Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 14 16:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:46.841Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:47.720Z] ---> package-listing.sh [2022-12-14T16:38:47.720Z] ++ facter osfamily [2022-12-14T16:38:47.720Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-14T16:38:47.979Z] + OS_FAMILY=debian [2022-12-14T16:38:47.979Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-230 [2022-12-14T16:38:47.979Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-14T16:38:47.979Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-14T16:38:47.979Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-14T16:38:47.979Z] + PACKAGES=/tmp/packages_start.txt [2022-12-14T16:38:47.979Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-230 ']' [2022-12-14T16:38:47.979Z] + PACKAGES=/tmp/packages_end.txt [2022-12-14T16:38:47.979Z] + case "${OS_FAMILY}" in [2022-12-14T16:38:47.979Z] + dpkg -l [2022-12-14T16:38:47.979Z] + grep '^ii' [2022-12-14T16:38:47.979Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-14T16:38:47.979Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-14T16:38:47.979Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-14T16:38:47.979Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-230 ']' [2022-12-14T16:38:47.979Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-230/archives/ [2022-12-14T16:38:47.979Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-230/archives/ [Pipeline] echo [2022-12-14T16:38:48.014Z] 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-230/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-14T16:38:48.304Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T16:38:48.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T16:38:48.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T16:38:49.084Z] prd-ubuntu20.04-docker-8c-8g-121213 does not seem to be running inside a container [2022-12-14T16:38:49.115Z] $ 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-230/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-230 -v /w/workspace/gexfoundry_device-rest-go_PR-230:/w/workspace/gexfoundry_device-rest-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-230@tmp:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-14T16:38:49.312Z] $ docker top 299716453b9ab28f41b427cbcb1a8075307d924f680afbd7fa998d16687e7814 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T16:38:49.712Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-14T16:38:50.024Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-14T16:38:50.340Z] + ls /var/log/sa-host [2022-12-14T16:38:50.340Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T16:38:50.476Z] provisioning config files... [2022-12-14T16:38:50.486Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-230@tmp/config9333610152950902846tmp [Pipeline] { [Pipeline] echo [2022-12-14T16:38:50.542Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:50.853Z] ---> create-netrc.sh [Pipeline] } [2022-12-14T16:38:50.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:51.288Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-14T16:38:51.325Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:51.630Z] ---> sudo-logs.sh [2022-12-14T16:38:51.630Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-14T16:38:51.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:52.024Z] ---> job-cost.sh [2022-12-14T16:38:52.024Z] lf-activate-venv: SKIPPING [2022-12-14T16:38:52.024Z] DEBUG: total: 0.2199999988079071 [2022-12-14T16:38:52.024Z] INFO: Retrieving Stack Cost... [2022-12-14T16:38:52.594Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-14T16:38:52.853Z] INFO: Archiving Costs [Pipeline] echo [2022-12-14T16:38:52.887Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T16:38:53.198Z] ---> logs-deploy.sh [2022-12-14T16:38:53.199Z] lf-activate-venv: SKIPPING [2022-12-14T16:38:53.199Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-230/1 [2022-12-14T16:38:53.199Z] INFO: archiving workspace using pattern(s): [2022-12-14T16:38:54.137Z] Archives upload complete. [2022-12-14T16:38:54.137Z] INFO: archiving logs to Nexus