Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2edde5371b1e0a954b02411e16a4f121493e2029+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (588f56924e6a062eeb89fafc779394a4d9efe58f) 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-ssh262213732581651495.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-ssh17232726972722239432.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-234/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-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15407250335819301087.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-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14768190134754195936.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-ssh18136317395394658530.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-234/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-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4600363017046243127.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-1479’ Running on prd-ubuntu20.04-docker-8c-8g-1486 in /w/workspace/gexfoundry_device-rest-go_PR-234 [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-234 # 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/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 2edde5371b1e0a954b02411e16a4f121493e2029 Merge succeeded, producing 2edde5371b1e0a954b02411e16a4f121493e2029 Checking out Revision 2edde5371b1e0a954b02411e16a4f121493e2029 (PR-234) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-09T20:04:15.347Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 [Pipeline] withCredentials [2023-01-09T20:04:15.544Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T20:04:15.667Z] ========================================================= [2023-01-09T20:04:15.667Z] EdgeX Global Pipelines Version Info [2023-01-09T20:04:15.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:04:16.422Z] ------------------- [2023-01-09T20:04:16.422Z] stable info: [2023-01-09T20:04:16.422Z] ------------------- [2023-01-09T20:04:16.422Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T20:04:16.422Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T20:04:16.422Z] Message: update stable to v1.0.244 [2023-01-09T20:04:16.995Z] ------------------- [2023-01-09T20:04:16.995Z] experimental info: [2023-01-09T20:04:16.995Z] ------------------- [2023-01-09T20:04:16.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T20:04:16.995Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T20:04:16.995Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T20:04:17.277Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-09T20:04:17.314Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-09T20:04:17.349Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T20:04:17.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T20:04:17.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T20:04:17.461Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T20:04:17.498Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T20:04:17.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T20:04:17.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T20:04:17.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T20:04:17.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T20:04:17.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-09T20:04:17.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T20:04:17.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T20:04:17.814Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T20:04:17.850Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T20:04:17.888Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T20:04:17.932Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T20:04:17.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T20:04:18.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T20:04:18.055Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-09T20:04:18.139Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-09T20:04:18.181Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T20:04:18.216Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T20:04:18.252Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T20:04:18.292Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T20:04:18.332Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T20:04:18.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo [2023-01-09T20:04:18.412Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo [2023-01-09T20:04:18.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo [2023-01-09T20:04:18.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo [2023-01-09T20:04:18.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2edde53 [Pipeline] echo [2023-01-09T20:04:18.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T20:04:18.693Z] provisioning config files... [2023-01-09T20:04:18.707Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config3181287448192025893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:04:19.052Z] ---> docker-login.sh [2023-01-09T20:04:19.052Z] nexus3.edgexfoundry.org:10001 [2023-01-09T20:04:19.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:19.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:19.312Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:19.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:19.312Z] [2023-01-09T20:04:19.312Z] Login Succeeded [2023-01-09T20:04:19.312Z] nexus3.edgexfoundry.org:10002 [2023-01-09T20:04:19.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:19.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:19.312Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:19.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:19.312Z] [2023-01-09T20:04:19.312Z] Login Succeeded [2023-01-09T20:04:19.312Z] nexus3.edgexfoundry.org:10003 [2023-01-09T20:04:19.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:19.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:19.572Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:19.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:19.572Z] [2023-01-09T20:04:19.572Z] Login Succeeded [2023-01-09T20:04:19.572Z] nexus3.edgexfoundry.org:10004 [2023-01-09T20:04:19.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:19.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:19.572Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:19.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:19.572Z] [2023-01-09T20:04:19.572Z] Login Succeeded [2023-01-09T20:04:19.572Z] docker.io [2023-01-09T20:04:19.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:19.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:19.832Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:19.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:19.832Z] [2023-01-09T20:04:19.832Z] Login Succeeded [2023-01-09T20:04:19.832Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T20:04:19.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T20:04:20.495Z] + git rev-list -1 --merges 2edde5371b1e0a954b02411e16a4f121493e2029~1..2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo [2023-01-09T20:04:20.572Z] -----------> git rev-list -1 --merges 2edde5371b1e0a954b02411e16a4f121493e2029~1..2edde5371b1e0a954b02411e16a4f121493e2029 2edde5371b1e0a954b02411e16a4f121493e2029 [false] [Pipeline] sh [2023-01-09T20:04:20.942Z] + git log --format=format:%s -1 2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo [2023-01-09T20:04:20.977Z] ========================================================= [2023-01-09T20:04:20.977Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T20:04:20.977Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T20:04:21.407Z] + git log --format=format:%s -1 2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo [2023-01-09T20:04:21.440Z] [semverPrep] GIT_COMMIT: 2edde5371b1e0a954b02411e16a4f121493e2029, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-09T20:04:21.471Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T20:04:21.871Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T20:04:21.871Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T20:04:21.871Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T20:04:21.871Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T20:04:21.872Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T20:04:21.872Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T20:04:21.872Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:04:22.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T20:04:22.304Z] [2023-01-09T20:04:22.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:04:22.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T20:04:22.957Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T20:04:22.957Z] b85a868b505f: Pulling fs layer [2023-01-09T20:04:22.957Z] e2be974225ed: Pulling fs layer [2023-01-09T20:04:22.957Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T20:04:22.957Z] 988bab9f4d93: Pulling fs layer [2023-01-09T20:04:22.957Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T20:04:22.957Z] eaf3925da568: Pulling fs layer [2023-01-09T20:04:22.957Z] bab4dde63d76: Pulling fs layer [2023-01-09T20:04:22.957Z] bde34c3a00c8: Pulling fs layer [2023-01-09T20:04:22.957Z] b352a97aabf1: Pulling fs layer [2023-01-09T20:04:22.957Z] 4872d77fe225: Pulling fs layer [2023-01-09T20:04:22.957Z] 4872d77fe225: Waiting [2023-01-09T20:04:22.957Z] bde34c3a00c8: Waiting [2023-01-09T20:04:22.957Z] 988bab9f4d93: Waiting [2023-01-09T20:04:22.957Z] eaf3925da568: Waiting [2023-01-09T20:04:22.957Z] 5851b861e8e6: Pulling fs layer [2023-01-09T20:04:22.957Z] 1469e6f7b9e6: Waiting [2023-01-09T20:04:22.957Z] b352a97aabf1: Waiting [2023-01-09T20:04:22.957Z] e2be974225ed: Download complete [2023-01-09T20:04:22.957Z] 988bab9f4d93: Verifying Checksum [2023-01-09T20:04:22.957Z] 988bab9f4d93: Download complete [2023-01-09T20:04:22.957Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T20:04:22.957Z] 1469e6f7b9e6: Download complete [2023-01-09T20:04:22.957Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T20:04:22.957Z] 339a4e72a1f5: Download complete [2023-01-09T20:04:23.216Z] bde34c3a00c8: Verifying Checksum [2023-01-09T20:04:23.216Z] bde34c3a00c8: Download complete [2023-01-09T20:04:23.216Z] b352a97aabf1: Download complete [2023-01-09T20:04:23.216Z] 4872d77fe225: Download complete [2023-01-09T20:04:23.216Z] 5851b861e8e6: Verifying Checksum [2023-01-09T20:04:23.216Z] 5851b861e8e6: Download complete [2023-01-09T20:04:23.216Z] b85a868b505f: Verifying Checksum [2023-01-09T20:04:23.216Z] b85a868b505f: Download complete [2023-01-09T20:04:23.475Z] bab4dde63d76: Verifying Checksum [2023-01-09T20:04:23.475Z] bab4dde63d76: Download complete [2023-01-09T20:04:24.850Z] b85a868b505f: Pull complete [2023-01-09T20:04:24.850Z] e2be974225ed: Pull complete [2023-01-09T20:04:25.419Z] 339a4e72a1f5: Pull complete [2023-01-09T20:04:25.677Z] 988bab9f4d93: Pull complete [2023-01-09T20:04:26.242Z] 1469e6f7b9e6: Pull complete [2023-01-09T20:04:26.242Z] eaf3925da568: Pull complete [2023-01-09T20:04:28.222Z] bab4dde63d76: Pull complete [2023-01-09T20:04:28.222Z] bde34c3a00c8: Pull complete [2023-01-09T20:04:28.222Z] b352a97aabf1: Pull complete [2023-01-09T20:04:28.222Z] 4872d77fe225: Pull complete [2023-01-09T20:04:28.222Z] 5851b861e8e6: Pull complete [2023-01-09T20:04:28.222Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T20:04:28.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T20:04:28.222Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:04:28.461Z] prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container [2023-01-09T20:04:28.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T20:04:31.253Z] $ docker top 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf -eo pid,comm [2023-01-09T20:04:31.331Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-09T20:04:31.331Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T20:04:31.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T20:04:31.457Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T20:04:31.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T20:04:31.587Z] $ docker exec 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent [2023-01-09T20:04:31.696Z] SSH_AUTH_SOCK=/tmp/ssh-6cC1mVpXZYMV/agent.21 [2023-01-09T20:04:31.696Z] SSH_AGENT_PID=27 [2023-01-09T20:04:31.702Z] Running ssh-add (command line suppressed) [2023-01-09T20:04:31.801Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_11418836558825912010.key (/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_11418836558825912010.key) [2023-01-09T20:04:31.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T20:04:32.144Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T20:04:32.169Z] $ docker exec --env ******** --env ******** 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent -k [2023-01-09T20:04:32.253Z] unset SSH_AUTH_SOCK; [2023-01-09T20:04:32.253Z] unset SSH_AGENT_PID; [2023-01-09T20:04:32.254Z] echo Agent pid 27 killed; [2023-01-09T20:04:32.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T20:04:32.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T20:04:32.341Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T20:04:32.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T20:04:32.449Z] $ docker exec 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent [2023-01-09T20:04:32.565Z] SSH_AUTH_SOCK=/tmp/ssh-EKjsVSfWutLv/agent.70 [2023-01-09T20:04:32.565Z] SSH_AGENT_PID=76 [2023-01-09T20:04:32.571Z] Running ssh-add (command line suppressed) [2023-01-09T20:04:32.661Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_13857384738861259183.key (/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_13857384738861259183.key) [2023-01-09T20:04:32.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T20:04:33.009Z] + git semver init [2023-01-09T20:04:33.269Z] 2023-01-09 20:04:33,181 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T20:04:33.269Z] 2023-01-09 20:04:33,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-234/.semver [2023-01-09T20:04:33.269Z] 2023-01-09 20:04:33,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-234/.semver [2023-01-09T20:04:33.269Z] 2023-01-09 20:04:33,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-234/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-234, universal_newlines=False, shell=None, istream=None) [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-234/.git/info/exclude [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-234/.semver/PR-234 with force:False [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,306 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-234/.semver/PR-234 [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,310 [execute] INFO git cat-file --batch-check [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-234/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,315 [execute] INFO git cat-file --batch [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-234/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T20:04:34.649Z] 2023-01-09 20:04:34,320 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-234/.semver/PR-234 [2023-01-09T20:04:34.649Z] 0.0.0 [Pipeline] } [2023-01-09T20:04:34.675Z] $ docker exec --env ******** --env ******** 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent -k [2023-01-09T20:04:34.766Z] unset SSH_AUTH_SOCK; [2023-01-09T20:04:34.766Z] unset SSH_AGENT_PID; [2023-01-09T20:04:34.766Z] echo Agent pid 76 killed; [2023-01-09T20:04:34.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T20:04:35.188Z] + git semver [Pipeline] } [2023-01-09T20:04:35.472Z] $ docker stop --time=1 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf [2023-01-09T20:04:36.750Z] $ docker rm -f --volumes 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T20:04:37.152Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T20:04:37.429Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T20:04:37.457Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T20:04:38.002Z] provisioning config files... [2023-01-09T20:04:38.010Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config4527225235850421731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:04:38.361Z] ---> docker-login.sh [2023-01-09T20:04:38.361Z] nexus3.edgexfoundry.org:10001 [2023-01-09T20:04:38.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:38.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:38.361Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:38.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:38.361Z] [2023-01-09T20:04:38.361Z] Login Succeeded [2023-01-09T20:04:38.361Z] nexus3.edgexfoundry.org:10002 [2023-01-09T20:04:38.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:38.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:38.361Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:38.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:38.361Z] [2023-01-09T20:04:38.361Z] Login Succeeded [2023-01-09T20:04:38.361Z] nexus3.edgexfoundry.org:10003 [2023-01-09T20:04:38.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:38.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:38.620Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:38.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:38.620Z] [2023-01-09T20:04:38.620Z] Login Succeeded [2023-01-09T20:04:38.620Z] nexus3.edgexfoundry.org:10004 [2023-01-09T20:04:38.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:38.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:38.620Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:38.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:38.620Z] [2023-01-09T20:04:38.620Z] Login Succeeded [2023-01-09T20:04:38.620Z] docker.io [2023-01-09T20:04:38.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:04:38.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:04:38.880Z] Configure a credential helper to remove this warning. See [2023-01-09T20:04:38.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:04:38.880Z] [2023-01-09T20:04:38.880Z] Login Succeeded [2023-01-09T20:04:38.880Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T20:04:38.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T20:04:39.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T20:04:39.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T20:04:39.158Z] ========================================================= [2023-01-09T20:04:39.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T20:04:39.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:04:39.632Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T20:04:39.632Z] Sending build context to Docker daemon 10.79MB [2023-01-09T20:04:39.632Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T20:04:39.632Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-09T20:04:39.897Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T20:04:39.897Z] 213ec9aee27d: Pulling fs layer [2023-01-09T20:04:39.897Z] 4583459ba037: Pulling fs layer [2023-01-09T20:04:39.897Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T20:04:39.897Z] 53926ce57604: Pulling fs layer [2023-01-09T20:04:39.897Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T20:04:39.897Z] 22ff95d597cd: Pulling fs layer [2023-01-09T20:04:39.897Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T20:04:39.897Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T20:04:39.897Z] a7acece74701: Pulling fs layer [2023-01-09T20:04:39.897Z] 21b2b0c7a3f4: Waiting [2023-01-09T20:04:39.897Z] 22ff95d597cd: Waiting [2023-01-09T20:04:39.897Z] 12d6caf4c0d1: Waiting [2023-01-09T20:04:39.897Z] 53926ce57604: Waiting [2023-01-09T20:04:39.897Z] 96b7cbca73a9: Waiting [2023-01-09T20:04:39.897Z] a7acece74701: Waiting [2023-01-09T20:04:39.897Z] 93c1e223e6f2: Verifying Checksum [2023-01-09T20:04:39.897Z] 93c1e223e6f2: Download complete [2023-01-09T20:04:39.897Z] 4583459ba037: Verifying Checksum [2023-01-09T20:04:39.897Z] 4583459ba037: Download complete [2023-01-09T20:04:39.897Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T20:04:39.897Z] 21b2b0c7a3f4: Download complete [2023-01-09T20:04:39.897Z] 22ff95d597cd: Download complete [2023-01-09T20:04:39.897Z] 213ec9aee27d: Verifying Checksum [2023-01-09T20:04:39.897Z] 213ec9aee27d: Download complete [2023-01-09T20:04:39.897Z] 12d6caf4c0d1: Verifying Checksum [2023-01-09T20:04:39.897Z] 12d6caf4c0d1: Download complete [2023-01-09T20:04:40.160Z] 213ec9aee27d: Pull complete [2023-01-09T20:04:40.420Z] a7acece74701: Verifying Checksum [2023-01-09T20:04:40.420Z] a7acece74701: Download complete [2023-01-09T20:04:40.679Z] 4583459ba037: Pull complete [2023-01-09T20:04:40.939Z] 93c1e223e6f2: Pull complete [2023-01-09T20:04:41.196Z] 53926ce57604: Verifying Checksum [2023-01-09T20:04:41.196Z] 53926ce57604: Download complete [2023-01-09T20:04:41.196Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T20:04:41.196Z] 96b7cbca73a9: Download complete [2023-01-09T20:04:45.387Z] 53926ce57604: Pull complete [2023-01-09T20:04:45.387Z] 21b2b0c7a3f4: Pull complete [2023-01-09T20:04:45.387Z] 22ff95d597cd: Pull complete [2023-01-09T20:04:45.387Z] 12d6caf4c0d1: Pull complete [2023-01-09T20:04:46.761Z] 96b7cbca73a9: Pull complete [2023-01-09T20:04:47.326Z] a7acece74701: Pull complete [2023-01-09T20:04:47.586Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T20:04:47.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T20:04:47.586Z] ---> db6d94c90886 [2023-01-09T20:04:47.586Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-09T20:04:52.837Z] Still waiting to schedule task [2023-01-09T20:04:52.837Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1483’ is offline [2023-01-09T20:04:52.867Z] ---> Running in 618a247c32af [2023-01-09T20:04:52.867Z] Removing intermediate container 618a247c32af [2023-01-09T20:04:52.867Z] ---> d78922640f82 [2023-01-09T20:04:52.867Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T20:04:52.867Z] ---> Running in e0530e62ed1d [2023-01-09T20:04:52.867Z] Removing intermediate container e0530e62ed1d [2023-01-09T20:04:52.867Z] ---> 1da16684e1a8 [2023-01-09T20:04:52.868Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T20:04:53.128Z] ---> Running in c42c4df613d8 [2023-01-09T20:04:53.700Z] Removing intermediate container c42c4df613d8 [2023-01-09T20:04:53.700Z] ---> 7c6cb3d31a16 [2023-01-09T20:04:53.700Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T20:04:53.700Z] ---> Running in cda01b81b0ba [2023-01-09T20:04:53.959Z] Removing intermediate container cda01b81b0ba [2023-01-09T20:04:53.959Z] ---> 0e49b567dd58 [2023-01-09T20:04:53.959Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T20:04:53.959Z] ---> Running in 8f4e576fd7f9 [2023-01-09T20:04:54.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T20:04:54.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T20:04:55.099Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-09T20:04:55.099Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-09T20:04:55.099Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-09T20:04:55.099Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-09T20:04:55.099Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T20:04:55.099Z] OK: 216 MiB in 55 packages [2023-01-09T20:04:55.669Z] Removing intermediate container 8f4e576fd7f9 [2023-01-09T20:04:55.669Z] ---> eabd2f43fb37 [2023-01-09T20:04:55.669Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-09T20:04:55.669Z] ---> Running in 5b1952d10341 [2023-01-09T20:04:55.669Z] Removing intermediate container 5b1952d10341 [2023-01-09T20:04:55.669Z] ---> 43b8eed55183 [2023-01-09T20:04:55.669Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-09T20:04:55.669Z] ---> d042cf63795b [2023-01-09T20:04:55.669Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T20:04:55.669Z] ---> Running in d7835597eb3f [2023-01-09T20:05:27.863Z] Removing intermediate container d7835597eb3f [2023-01-09T20:05:27.863Z] ---> bc4c6db09561 [2023-01-09T20:05:27.863Z] Step 11/12 : COPY . . [2023-01-09T20:05:27.863Z] ---> 071e4a4c6b5c [2023-01-09T20:05:27.863Z] Step 12/12 : RUN $MAKE [2023-01-09T20:05:27.863Z] ---> Running in 0235f4895314 [2023-01-09T20:05:27.863Z] noop [2023-01-09T20:05:27.863Z] Removing intermediate container 0235f4895314 [2023-01-09T20:05:27.863Z] ---> 4a154d870de1 [2023-01-09T20:05:27.863Z] Successfully built 4a154d870de1 [2023-01-09T20:05:27.863Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:05:28.297Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T20:05:28.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:05:28.448Z] prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container [2023-01-09T20:05:28.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T20:05:28.865Z] $ docker top c0b4a8cdf66d927842fbd8b6d244f79cf91f2505dea864b759a5de9c964621f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T20:05:29.265Z] + go version [2023-01-09T20:05:29.265Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T20:05:29.297Z] $ docker stop --time=1 c0b4a8cdf66d927842fbd8b6d244f79cf91f2505dea864b759a5de9c964621f3 [2023-01-09T20:05:30.575Z] $ docker rm -f --volumes c0b4a8cdf66d927842fbd8b6d244f79cf91f2505dea864b759a5de9c964621f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:05:31.289Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T20:05:31.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:05:31.445Z] prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container [2023-01-09T20:05:31.476Z] $ 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-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T20:05:31.826Z] $ docker top 7df32cc9d62044b1e64fab93633a4dff30abb2c266658bb35a16cc0ac0bf4cc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T20:05:32.221Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-234 [Pipeline] fileExists [Pipeline] sh [2023-01-09T20:05:32.583Z] + make test [2023-01-09T20:05:32.583Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-09T20:05:32.840Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-09T20:05:42.812Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-09T20:05:42.812Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2023-01-09T20:05:50.935Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-09T20:05:50.935Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T20:05:53.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T20:05:53.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T20:05:53.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T20:05:53.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T20:05:53.542Z] $ docker stop --time=1 7df32cc9d62044b1e64fab93633a4dff30abb2c266658bb35a16cc0ac0bf4cc1 [2023-01-09T20:05:56.435Z] $ docker rm -f --volumes 7df32cc9d62044b1e64fab93633a4dff30abb2c266658bb35a16cc0ac0bf4cc1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T20:05:57.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T20:05:57.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T20:05:57.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T20:05:58.070Z] + ls -al . [2023-01-09T20:05:58.070Z] total 188 [2023-01-09T20:05:58.070Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 20:05 . [2023-01-09T20:05:58.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:04 .. [2023-01-09T20:05:58.070Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 9 20:04 .dockerignore [2023-01-09T20:05:58.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 20:05 .git [2023-01-09T20:05:58.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:04 .github [2023-01-09T20:05:58.070Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 9 20:04 .gitignore [2023-01-09T20:05:58.070Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 20:04 .golangci.yml [2023-01-09T20:05:58.071Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 20:04 .semver [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 9 20:04 Attribution.txt [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 9 20:04 CHANGELOG.md [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 9 20:04 Dockerfile [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 20:04 GOVERNANCE.md [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 9 20:04 Jenkinsfile [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 20:04 LICENSE [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 9 20:04 Makefile [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 20:04 OWNERS.md [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 9 20:04 README.md [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 20:04 VERSION [2023-01-09T20:05:58.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:04 bin [2023-01-09T20:05:58.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:04 cmd [2023-01-09T20:05:58.071Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 9 20:05 coverage.out [2023-01-09T20:05:58.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:04 driver [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 9 20:04 go.mod [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 9 20:04 go.sum [2023-01-09T20:05:58.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:04 snap [2023-01-09T20:05:58.071Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 9 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:05:58.489Z] + 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=2edde5371b1e0a954b02411e16a4f121493e2029 --label arch=amd64 --label version=0.0.0 . [2023-01-09T20:05:58.489Z] Sending build context to Docker daemon 10.8MB [2023-01-09T20:05:58.489Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T20:05:58.489Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-09T20:05:58.489Z] ---> 4a154d870de1 [2023-01-09T20:05:58.489Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-09T20:05:58.748Z] ---> Running in fa710f624482 [2023-01-09T20:05:58.748Z] Removing intermediate container fa710f624482 [2023-01-09T20:05:58.748Z] ---> 2267b516d44a [2023-01-09T20:05:58.748Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T20:05:58.748Z] ---> Running in 681bc5575b0e [2023-01-09T20:05:58.748Z] Removing intermediate container 681bc5575b0e [2023-01-09T20:05:58.748Z] ---> 759d4d51c7c2 [2023-01-09T20:05:58.748Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T20:05:58.748Z] ---> Running in 4c71155dc4ab [2023-01-09T20:05:59.007Z] Removing intermediate container 4c71155dc4ab [2023-01-09T20:05:59.007Z] ---> 51fcf1dfbc5d [2023-01-09T20:05:59.007Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T20:05:59.007Z] ---> Running in e8cd701353d4 [2023-01-09T20:05:59.007Z] Removing intermediate container e8cd701353d4 [2023-01-09T20:05:59.007Z] ---> 490f4250dfc2 [2023-01-09T20:05:59.007Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T20:05:59.007Z] ---> Running in 06d3ee86070b [2023-01-09T20:05:59.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T20:05:59.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T20:05:59.784Z] OK: 216 MiB in 55 packages [2023-01-09T20:06:00.045Z] Removing intermediate container 06d3ee86070b [2023-01-09T20:06:00.045Z] ---> fb6ee5de8388 [2023-01-09T20:06:00.045Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-09T20:06:00.045Z] ---> Running in e65951d05a19 [2023-01-09T20:06:00.045Z] Removing intermediate container e65951d05a19 [2023-01-09T20:06:00.045Z] ---> 78b34c9ac8e0 [2023-01-09T20:06:00.045Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-09T20:06:00.304Z] ---> 873d34b4a5dd [2023-01-09T20:06:00.304Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T20:06:00.304Z] ---> Running in 542fac073a93 [2023-01-09T20:06:00.872Z] Removing intermediate container 542fac073a93 [2023-01-09T20:06:00.872Z] ---> b8e0d37e69eb [2023-01-09T20:06:00.872Z] Step 11/25 : COPY . . [2023-01-09T20:06:01.437Z] ---> ca7dd7754c12 [2023-01-09T20:06:01.437Z] Step 12/25 : RUN $MAKE [2023-01-09T20:06:01.437Z] ---> Running in 1216a2bb6f73 [2023-01-09T20:06:01.437Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-09T20:06:21.295Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1487 in /w/workspace/gexfoundry_device-rest-go_PR-234 [Pipeline] { [Pipeline] ws [2023-01-09T20:06:21.351Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-09T20:06:21.438Z] The recommended git tool is: git [2023-01-09T20:06:23.362Z] Removing intermediate container 1216a2bb6f73 [2023-01-09T20:06:23.362Z] ---> b10b64d9a0c2 [2023-01-09T20:06:23.362Z] Step 13/25 : FROM alpine:3.16 [2023-01-09T20:06:23.362Z] 3.16: Pulling from library/alpine [2023-01-09T20:06:23.362Z] ca7dd9ec2225: Pulling fs layer [2023-01-09T20:06:23.362Z] ca7dd9ec2225: Verifying Checksum [2023-01-09T20:06:23.362Z] ca7dd9ec2225: Download complete [2023-01-09T20:06:23.362Z] ca7dd9ec2225: Pull complete [2023-01-09T20:06:23.362Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T20:06:23.362Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T20:06:23.362Z] ---> bfe296a52501 [2023-01-09T20:06:23.362Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-09T20:06:23.362Z] ---> Running in 7c395fbafd0b [2023-01-09T20:06:23.362Z] Removing intermediate container 7c395fbafd0b [2023-01-09T20:06:23.362Z] ---> a931f3f96e49 [2023-01-09T20:06:23.362Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-09T20:06:23.362Z] ---> Running in 9378e2cadca7 [2023-01-09T20:06:23.362Z] Removing intermediate container 9378e2cadca7 [2023-01-09T20:06:23.362Z] ---> f1d2e70f7202 [2023-01-09T20:06:23.362Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T20:06:23.362Z] ---> Running in 18c088c9b34c [2023-01-09T20:06:23.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T20:06:23.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T20:06:23.362Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T20:06:23.362Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T20:06:23.362Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T20:06:23.362Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T20:06:23.362Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T20:06:23.362Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T20:06:23.362Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T20:06:23.362Z] OK: 8 MiB in 20 packages [2023-01-09T20:06:23.928Z] Removing intermediate container 18c088c9b34c [2023-01-09T20:06:23.928Z] ---> 3c954cfb3a1d [2023-01-09T20:06:23.928Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-09T20:06:24.867Z] ---> 37cab540dc02 [2023-01-09T20:06:24.867Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-09T20:06:24.867Z] ---> afc7a46e4bc4 [2023-01-09T20:06:24.867Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-09T20:06:25.125Z] ---> ad7de7dd3cc5 [2023-01-09T20:06:25.125Z] Step 20/25 : EXPOSE 59986 [2023-01-09T20:06:25.125Z] ---> Running in d8f8f2cb2a7e [2023-01-09T20:06:25.125Z] Removing intermediate container d8f8f2cb2a7e [2023-01-09T20:06:25.125Z] ---> 96e5c557e3ba [2023-01-09T20:06:25.125Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-09T20:06:25.125Z] ---> Running in ef7900a3a2a7 [2023-01-09T20:06:25.125Z] Removing intermediate container ef7900a3a2a7 [2023-01-09T20:06:25.125Z] ---> e5a80d8f551a [2023-01-09T20:06:25.125Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-09T20:06:25.125Z] ---> Running in a8d13311a771 [2023-01-09T20:06:25.387Z] Removing intermediate container a8d13311a771 [2023-01-09T20:06:25.387Z] ---> 948c34f2f4f4 [2023-01-09T20:06:25.387Z] Step 23/25 : LABEL arch=amd64 [2023-01-09T20:06:25.387Z] ---> Running in 64c43fd7c150 [2023-01-09T20:06:25.387Z] Removing intermediate container 64c43fd7c150 [2023-01-09T20:06:25.387Z] ---> bc3947aa0717 [2023-01-09T20:06:25.387Z] Step 24/25 : LABEL git_sha=2edde5371b1e0a954b02411e16a4f121493e2029 [2023-01-09T20:06:25.387Z] ---> Running in 28dd93842713 [2023-01-09T20:06:25.387Z] Removing intermediate container 28dd93842713 [2023-01-09T20:06:25.387Z] ---> 1d4e1d2e74dc [2023-01-09T20:06:25.387Z] Step 25/25 : LABEL version=0.0.0 [2023-01-09T20:06:25.387Z] ---> Running in cce64bc51fc2 [2023-01-09T20:06:25.646Z] Removing intermediate container cce64bc51fc2 [2023-01-09T20:06:25.646Z] ---> 659c091600a6 [2023-01-09T20:06:25.646Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T20:06:25.646Z] Successfully built 659c091600a6 [2023-01-09T20:06:25.646Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:06:26.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T20:06:26.504Z] [2023-01-09T20:06:26.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:06:26.685Z] using credential edgex-jenkins-ssh [2023-01-09T20:06:26.699Z] Cloning the remote Git repository [2023-01-09T20:06:26.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T20:06:26.887Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T20:06:26.887Z] 5eb5b503b376: Pulling fs layer [2023-01-09T20:06:26.887Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T20:06:26.887Z] ec43610c2a17: Pulling fs layer [2023-01-09T20:06:26.887Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T20:06:26.887Z] 33b1e0a273af: Pulling fs layer [2023-01-09T20:06:26.887Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T20:06:26.887Z] 2f39f015ded8: Pulling fs layer [2023-01-09T20:06:26.887Z] 33b1e0a273af: Waiting [2023-01-09T20:06:26.887Z] 5d3b04190fa2: Waiting [2023-01-09T20:06:26.887Z] 3a2ae6a8a46f: Waiting [2023-01-09T20:06:26.887Z] 2f39f015ded8: Waiting [2023-01-09T20:06:26.887Z] 5c69ac0246d0: Download complete [2023-01-09T20:06:26.887Z] 3a2ae6a8a46f: Download complete [2023-01-09T20:06:26.887Z] 33b1e0a273af: Verifying Checksum [2023-01-09T20:06:26.887Z] 33b1e0a273af: Download complete [2023-01-09T20:06:27.147Z] ec43610c2a17: Verifying Checksum [2023-01-09T20:06:27.147Z] ec43610c2a17: Download complete [2023-01-09T20:06:27.147Z] 5d3b04190fa2: Verifying Checksum [2023-01-09T20:06:27.147Z] 5d3b04190fa2: Download complete [2023-01-09T20:06:27.147Z] 5eb5b503b376: Verifying Checksum [2023-01-09T20:06:27.147Z] 5eb5b503b376: Download complete [2023-01-09T20:06:26.732Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-09T20:06:26.795Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-09T20:06:26.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-09T20:06:26.920Z] > git --version # timeout=10 [2023-01-09T20:06:26.936Z] > git --version # 'git version 2.25.1' [2023-01-09T20:06:26.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T20:06:26.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T20:06:27.718Z] 2f39f015ded8: Download complete [2023-01-09T20:06:28.287Z] 5eb5b503b376: Pull complete [2023-01-09T20:06:28.545Z] 5c69ac0246d0: Pull complete [2023-01-09T20:06:28.804Z] ec43610c2a17: Pull complete [2023-01-09T20:06:28.804Z] 3a2ae6a8a46f: Pull complete [2023-01-09T20:06:28.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-09T20:06:28.791Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T20:06:29.062Z] 33b1e0a273af: Pull complete [2023-01-09T20:06:29.062Z] 5d3b04190fa2: Pull complete [2023-01-09T20:06:30.187Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 2edde5371b1e0a954b02411e16a4f121493e2029 [2023-01-09T20:06:29.621Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-09T20:06:29.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-09T20:06:29.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T20:06:29.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T20:06:30.201Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T20:06:30.226Z] > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 [2023-01-09T20:06:30.408Z] Merge succeeded, producing 2edde5371b1e0a954b02411e16a4f121493e2029 [2023-01-09T20:06:30.409Z] Checking out Revision 2edde5371b1e0a954b02411e16a4f121493e2029 (PR-234) [2023-01-09T20:06:30.885Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-09T20:06:30.934Z] > git --version # timeout=10 [2023-01-09T20:06:30.950Z] > git --version # 'git version 2.25.1' [2023-01-09T20:06:30.969Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T20:06:31.395Z] [2023-01-09T20:06:31.395Z] GitHub has been notified of this commit’s build result [2023-01-09T20:06:31.395Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-01-09T20:06:30.305Z] > git remote # timeout=10 [2023-01-09T20:06:30.322Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T20:06:30.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T20:06:30.360Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-09T20:06:30.384Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T20:06:30.411Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T20:06:30.425Z] > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 [Pipeline] sh [2023-01-09T20:06:32.143Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T20:06:32.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T20:06:32.144Z] Dload Upload Total Spent Left Speed [2023-01-09T20:06:32.144Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64398 0 --:--:-- --:--:-- --:--:-- 64075 100 12751 100 12751 0 0 64075 0 --:--:-- --:--:-- --:--:-- 63755 [Pipeline] sh [2023-01-09T20:06:32.793Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T20:06:33.140Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T20:06:33.140Z] + sudo tee /etc/docker/daemon.new [2023-01-09T20:06:33.140Z] { [2023-01-09T20:06:33.140Z] "registry-mirrors": [ [2023-01-09T20:06:33.140Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T20:06:33.140Z] ], [2023-01-09T20:06:33.140Z] "bip": "10.250.0.254/24", [2023-01-09T20:06:33.140Z] "hosts": [ [2023-01-09T20:06:33.140Z] "tcp://0.0.0.0:5555", [2023-01-09T20:06:33.140Z] "unix:///var/run/docker.sock" [2023-01-09T20:06:33.140Z] ], [2023-01-09T20:06:33.140Z] "mtu": 1458, [2023-01-09T20:06:33.140Z] "selinux-enabled": true, [2023-01-09T20:06:33.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T20:06:33.140Z] } [Pipeline] sh [2023-01-09T20:06:33.241Z] 2f39f015ded8: Pull complete [2023-01-09T20:06:33.241Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T20:06:33.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T20:06:33.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:06:33.478Z] prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container [2023-01-09T20:06:33.485Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-01-09T20:06:33.508Z] $ 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-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T20:06:37.065Z] $ docker top 20aecf96285e5ea8367e5cc11d67f2df1875a0c81421190bcfb14643cc0b530f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:06:37.501Z] + sudo service docker restart [2023-01-09T20:06:37.592Z] ---> job-cost.sh [2023-01-09T20:06:37.592Z] lf-activate-venv: SKIPPING [2023-01-09T20:06:37.592Z] INFO: No Stack... [2023-01-09T20:06:38.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T20:06:38.417Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T20:06:38.732Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-234/archives/cost.csv [2023-01-09T20:06:38.732Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T20:06:38.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [2023-01-09T20:06:38.787Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] did not exist. Created. [2023-01-09T20:06:38.787Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T20:06:39.182Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T20:06:39.235Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T20:06:39.260Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T20:06:39.346Z] $ docker stop --time=1 20aecf96285e5ea8367e5cc11d67f2df1875a0c81421190bcfb14643cc0b530f [2023-01-09T20:06:40.491Z] $ docker rm -f --volumes 20aecf96285e5ea8367e5cc11d67f2df1875a0c81421190bcfb14643cc0b530f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T20:06:55.807Z] provisioning config files... [2023-01-09T20:06:55.837Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11162796491956166199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:06:56.230Z] ---> docker-login.sh [2023-01-09T20:06:56.230Z] nexus3.edgexfoundry.org:10001 [2023-01-09T20:06:56.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:06:57.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:06:57.095Z] Configure a credential helper to remove this warning. See [2023-01-09T20:06:57.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:06:57.095Z] [2023-01-09T20:06:57.095Z] Login Succeeded [2023-01-09T20:06:57.095Z] nexus3.edgexfoundry.org:10002 [2023-01-09T20:06:57.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:06:57.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:06:57.365Z] Configure a credential helper to remove this warning. See [2023-01-09T20:06:57.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:06:57.365Z] [2023-01-09T20:06:57.365Z] Login Succeeded [2023-01-09T20:06:57.365Z] nexus3.edgexfoundry.org:10003 [2023-01-09T20:06:57.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:06:57.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:06:57.635Z] Configure a credential helper to remove this warning. See [2023-01-09T20:06:57.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:06:57.635Z] [2023-01-09T20:06:57.635Z] Login Succeeded [2023-01-09T20:06:57.635Z] nexus3.edgexfoundry.org:10004 [2023-01-09T20:06:57.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:06:58.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:06:58.176Z] Configure a credential helper to remove this warning. See [2023-01-09T20:06:58.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:06:58.176Z] [2023-01-09T20:06:58.176Z] Login Succeeded [2023-01-09T20:06:58.176Z] docker.io [2023-01-09T20:06:58.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T20:06:58.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T20:06:58.445Z] Configure a credential helper to remove this warning. See [2023-01-09T20:06:58.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T20:06:58.445Z] [2023-01-09T20:06:58.445Z] Login Succeeded [2023-01-09T20:06:58.713Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T20:06:58.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T20:06:59.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T20:06:59.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T20:06:59.195Z] ========================================================= [2023-01-09T20:06:59.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T20:06:59.195Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:06:59.708Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T20:06:59.708Z] Sending build context to Docker daemon 129.5kB [2023-01-09T20:06:59.979Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T20:06:59.979Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-09T20:06:59.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T20:06:59.979Z] 9b18e9b68314: Pulling fs layer [2023-01-09T20:06:59.979Z] 35d82f9e3411: Pulling fs layer [2023-01-09T20:06:59.979Z] e16973657156: Pulling fs layer [2023-01-09T20:06:59.979Z] fc693d55d65f: Pulling fs layer [2023-01-09T20:06:59.979Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T20:06:59.979Z] dda99020689f: Pulling fs layer [2023-01-09T20:06:59.979Z] db1c61fa0a46: Pulling fs layer [2023-01-09T20:06:59.979Z] 891c053d2c06: Pulling fs layer [2023-01-09T20:06:59.979Z] fc693d55d65f: Waiting [2023-01-09T20:06:59.979Z] dda99020689f: Waiting [2023-01-09T20:06:59.979Z] db1c61fa0a46: Waiting [2023-01-09T20:06:59.979Z] 891c053d2c06: Waiting [2023-01-09T20:06:59.979Z] 7e9fc2657dce: Waiting [2023-01-09T20:07:00.252Z] e16973657156: Verifying Checksum [2023-01-09T20:07:00.252Z] e16973657156: Download complete [2023-01-09T20:07:00.252Z] 35d82f9e3411: Verifying Checksum [2023-01-09T20:07:00.252Z] 35d82f9e3411: Download complete [2023-01-09T20:07:00.252Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T20:07:00.252Z] 7e9fc2657dce: Download complete [2023-01-09T20:07:00.252Z] dda99020689f: Verifying Checksum [2023-01-09T20:07:00.252Z] dda99020689f: Download complete [2023-01-09T20:07:00.252Z] 9b18e9b68314: Verifying Checksum [2023-01-09T20:07:00.252Z] 9b18e9b68314: Download complete [2023-01-09T20:07:01.235Z] 9b18e9b68314: Pull complete [2023-01-09T20:07:01.235Z] 891c053d2c06: Verifying Checksum [2023-01-09T20:07:01.235Z] 891c053d2c06: Download complete [2023-01-09T20:07:01.509Z] 35d82f9e3411: Pull complete [2023-01-09T20:07:01.779Z] e16973657156: Pull complete [2023-01-09T20:07:02.370Z] db1c61fa0a46: Download complete [2023-01-09T20:07:03.339Z] fc693d55d65f: Download complete [2023-01-09T20:07:15.688Z] fc693d55d65f: Pull complete [2023-01-09T20:07:15.688Z] 7e9fc2657dce: Pull complete [2023-01-09T20:07:15.688Z] dda99020689f: Pull complete [2023-01-09T20:07:23.918Z] db1c61fa0a46: Pull complete [2023-01-09T20:07:24.886Z] 891c053d2c06: Pull complete [2023-01-09T20:07:24.886Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T20:07:24.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T20:07:24.886Z] ---> f96f9c87975a [2023-01-09T20:07:24.886Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-09T20:07:26.854Z] ---> Running in 528fa0745c1c [2023-01-09T20:07:27.122Z] Removing intermediate container 528fa0745c1c [2023-01-09T20:07:27.122Z] ---> c7d1c7ba4cb3 [2023-01-09T20:07:27.122Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T20:07:27.390Z] ---> Running in 37c318546d7c [2023-01-09T20:07:27.657Z] Removing intermediate container 37c318546d7c [2023-01-09T20:07:27.657Z] ---> 7976e75adbac [2023-01-09T20:07:27.657Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T20:07:27.657Z] ---> Running in 08a72cc214be [2023-01-09T20:07:27.981Z] Removing intermediate container 08a72cc214be [2023-01-09T20:07:27.981Z] ---> a2e4dc90e9fe [2023-01-09T20:07:27.981Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T20:07:27.981Z] ---> Running in 56a6f14cc497 [2023-01-09T20:07:28.261Z] Removing intermediate container 56a6f14cc497 [2023-01-09T20:07:28.261Z] ---> 3a4417a3ec39 [2023-01-09T20:07:28.261Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T20:07:28.540Z] ---> Running in 45b639aad3f6 [2023-01-09T20:07:29.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T20:07:29.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T20:07:30.748Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-09T20:07:30.749Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-09T20:07:30.749Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-09T20:07:30.749Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-09T20:07:30.749Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T20:07:31.015Z] OK: 226 MiB in 55 packages [2023-01-09T20:07:31.985Z] Removing intermediate container 45b639aad3f6 [2023-01-09T20:07:31.985Z] ---> 8235a840d9d1 [2023-01-09T20:07:31.985Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-09T20:07:31.985Z] ---> Running in 2177ccc7f4e8 [2023-01-09T20:07:32.255Z] Removing intermediate container 2177ccc7f4e8 [2023-01-09T20:07:32.255Z] ---> 2a0e3771d142 [2023-01-09T20:07:32.255Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-09T20:07:32.841Z] ---> 3d9001314108 [2023-01-09T20:07:32.841Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T20:07:32.841Z] ---> Running in 78fbda8390a0 [2023-01-09T20:08:29.271Z] Removing intermediate container 78fbda8390a0 [2023-01-09T20:08:29.271Z] ---> 0e83738e93c5 [2023-01-09T20:08:29.271Z] Step 11/12 : COPY . . [2023-01-09T20:08:29.538Z] ---> f2f4abc88120 [2023-01-09T20:08:29.538Z] Step 12/12 : RUN $MAKE [2023-01-09T20:08:29.538Z] ---> Running in dd1ee5c3f57a [2023-01-09T20:08:30.514Z] noop [2023-01-09T20:08:31.106Z] Removing intermediate container dd1ee5c3f57a [2023-01-09T20:08:31.106Z] ---> 45efccf2dc9c [2023-01-09T20:08:31.106Z] Successfully built 45efccf2dc9c [2023-01-09T20:08:31.106Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:08:31.585Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T20:08:31.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:08:31.841Z] prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container [2023-01-09T20:08:31.906Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-09T20:08:33.069Z] $ docker top 13b6614ed691ee7ec84a45f48072afc33f849aef2eb73b0bba9660899ab683a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T20:08:33.945Z] + go version [2023-01-09T20:08:33.945Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T20:08:33.980Z] $ docker stop --time=1 13b6614ed691ee7ec84a45f48072afc33f849aef2eb73b0bba9660899ab683a9 [2023-01-09T20:08:35.604Z] $ docker rm -f --volumes 13b6614ed691ee7ec84a45f48072afc33f849aef2eb73b0bba9660899ab683a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:08:36.427Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T20:08:36.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:08:36.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container [2023-01-09T20:08:36.820Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-09T20:08:39.191Z] $ docker top 9f66bd2cf87203de3d971664deffd0ff4912619c4326c874e5d67385985172f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T20:08:39.739Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T20:08:40.392Z] + make test [2023-01-09T20:08:40.392Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-09T20:08:42.339Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-09T20:10:03.955Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-09T20:10:03.955Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements [2023-01-09T20:10:03.955Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T20:10:03.955Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T20:10:22.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T20:10:22.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T20:10:22.177Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T20:10:22.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T20:10:22.246Z] $ docker stop --time=1 9f66bd2cf87203de3d971664deffd0ff4912619c4326c874e5d67385985172f3 [2023-01-09T20:10:24.019Z] $ docker rm -f --volumes 9f66bd2cf87203de3d971664deffd0ff4912619c4326c874e5d67385985172f3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T20:10:25.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T20:10:25.045Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T20:10:25.467Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T20:10:26.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T20:10:26.381Z] + ls -al . [2023-01-09T20:10:26.381Z] total 184 [2023-01-09T20:10:26.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 20:08 . [2023-01-09T20:10:26.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:06 .. [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 9 20:06 .dockerignore [2023-01-09T20:10:26.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 20:06 .git [2023-01-09T20:10:26.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:06 .github [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 9 20:06 .gitignore [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 20:06 .golangci.yml [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 9 20:06 Attribution.txt [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 9 20:06 CHANGELOG.md [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 9 20:06 Dockerfile [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 20:06 GOVERNANCE.md [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 9 20:06 Jenkinsfile [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 20:06 LICENSE [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 9 20:06 Makefile [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 20:06 OWNERS.md [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 9 20:06 README.md [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 20:04 VERSION [2023-01-09T20:10:26.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:06 bin [2023-01-09T20:10:26.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:06 cmd [2023-01-09T20:10:26.381Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 9 20:09 coverage.out [2023-01-09T20:10:26.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:06 driver [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 9 20:06 go.mod [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 9 20:06 go.sum [2023-01-09T20:10:26.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:06 snap [2023-01-09T20:10:26.381Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 9 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:10:26.800Z] + 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=2edde5371b1e0a954b02411e16a4f121493e2029 --label arch=arm64 --label version=0.0.0 . [2023-01-09T20:10:26.800Z] Sending build context to Docker daemon 139.8kB [2023-01-09T20:10:27.065Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T20:10:27.065Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-09T20:10:27.065Z] ---> 45efccf2dc9c [2023-01-09T20:10:27.065Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-09T20:10:27.065Z] ---> Running in 432e21e154eb [2023-01-09T20:10:27.334Z] Removing intermediate container 432e21e154eb [2023-01-09T20:10:27.334Z] ---> 12d760bda2c5 [2023-01-09T20:10:27.334Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T20:10:27.334Z] ---> Running in 5f8440044462 [2023-01-09T20:10:27.604Z] Removing intermediate container 5f8440044462 [2023-01-09T20:10:27.604Z] ---> 49d23b5ab3bd [2023-01-09T20:10:27.604Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T20:10:27.870Z] ---> Running in 3741473eca6c [2023-01-09T20:10:28.138Z] Removing intermediate container 3741473eca6c [2023-01-09T20:10:28.138Z] ---> f680e78099a3 [2023-01-09T20:10:28.138Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T20:10:28.138Z] ---> Running in 07447d6fba58 [2023-01-09T20:10:28.407Z] Removing intermediate container 07447d6fba58 [2023-01-09T20:10:28.407Z] ---> 674380f68d3e [2023-01-09T20:10:28.407Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T20:10:28.407Z] ---> Running in cfb42cee1387 [2023-01-09T20:10:29.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T20:10:29.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T20:10:30.603Z] OK: 226 MiB in 55 packages [2023-01-09T20:10:31.565Z] Removing intermediate container cfb42cee1387 [2023-01-09T20:10:31.565Z] ---> f81bcc70b1a0 [2023-01-09T20:10:31.565Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-09T20:10:31.565Z] ---> Running in 4dabdc128666 [2023-01-09T20:10:31.839Z] Removing intermediate container 4dabdc128666 [2023-01-09T20:10:31.839Z] ---> d0fd50dc0ec5 [2023-01-09T20:10:31.839Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-09T20:10:32.424Z] ---> 3fed7df30abc [2023-01-09T20:10:32.424Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T20:10:32.424Z] ---> Running in 9de5a68218dc [2023-01-09T20:10:34.375Z] Removing intermediate container 9de5a68218dc [2023-01-09T20:10:34.375Z] ---> d5769273521d [2023-01-09T20:10:34.375Z] Step 11/25 : COPY . . [2023-01-09T20:10:34.643Z] ---> f73e8d5d60a8 [2023-01-09T20:10:34.643Z] Step 12/25 : RUN $MAKE [2023-01-09T20:10:34.912Z] ---> Running in 8ae9f192b314 [2023-01-09T20:10:35.872Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-09T20:13:12.597Z] Removing intermediate container 8ae9f192b314 [2023-01-09T20:13:12.597Z] ---> f92b919ea97e [2023-01-09T20:13:12.597Z] Step 13/25 : FROM alpine:3.16 [2023-01-09T20:13:12.597Z] 3.16: Pulling from library/alpine [2023-01-09T20:13:12.597Z] 6875df1f5354: Pulling fs layer [2023-01-09T20:13:12.597Z] 6875df1f5354: Verifying Checksum [2023-01-09T20:13:12.597Z] 6875df1f5354: Download complete [2023-01-09T20:13:12.597Z] 6875df1f5354: Pull complete [2023-01-09T20:13:12.597Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T20:13:12.597Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T20:13:12.597Z] ---> 2b4661558fb8 [2023-01-09T20:13:12.597Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-09T20:13:12.597Z] ---> Running in 53f9cab04339 [2023-01-09T20:13:12.597Z] Removing intermediate container 53f9cab04339 [2023-01-09T20:13:12.597Z] ---> e79158897558 [2023-01-09T20:13:12.597Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-09T20:13:12.597Z] ---> Running in b381d57ccfe9 [2023-01-09T20:13:12.597Z] Removing intermediate container b381d57ccfe9 [2023-01-09T20:13:12.597Z] ---> d1e6455ec72d [2023-01-09T20:13:12.597Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T20:13:12.597Z] ---> Running in 2a91e5d92300 [2023-01-09T20:13:12.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T20:13:12.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T20:13:12.597Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T20:13:12.597Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T20:13:12.597Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T20:13:12.597Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T20:13:12.597Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T20:13:12.597Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T20:13:12.597Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T20:13:12.597Z] OK: 8 MiB in 20 packages [2023-01-09T20:13:12.597Z] Removing intermediate container 2a91e5d92300 [2023-01-09T20:13:12.597Z] ---> 99481f100636 [2023-01-09T20:13:12.597Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-09T20:13:12.597Z] ---> 5d678b297676 [2023-01-09T20:13:12.597Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-09T20:13:12.597Z] ---> d5b870937dde [2023-01-09T20:13:12.597Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-09T20:13:12.597Z] ---> 514dfeb75b2f [2023-01-09T20:13:12.597Z] Step 20/25 : EXPOSE 59986 [2023-01-09T20:13:12.597Z] ---> Running in 10234288f3ff [2023-01-09T20:13:12.597Z] Removing intermediate container 10234288f3ff [2023-01-09T20:13:12.597Z] ---> 851f29397f5a [2023-01-09T20:13:12.597Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-09T20:13:12.597Z] ---> Running in 77a0302c5359 [2023-01-09T20:13:12.597Z] Removing intermediate container 77a0302c5359 [2023-01-09T20:13:12.597Z] ---> bf1d49a26fd5 [2023-01-09T20:13:12.597Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-09T20:13:12.597Z] ---> Running in 18e4894de045 [2023-01-09T20:13:12.597Z] Removing intermediate container 18e4894de045 [2023-01-09T20:13:12.597Z] ---> d40407653751 [2023-01-09T20:13:12.597Z] Step 23/25 : LABEL arch=arm64 [2023-01-09T20:13:12.597Z] ---> Running in 647bc9cc88ab [2023-01-09T20:13:12.597Z] Removing intermediate container 647bc9cc88ab [2023-01-09T20:13:12.597Z] ---> 2ca5d0c71fe8 [2023-01-09T20:13:12.597Z] Step 24/25 : LABEL git_sha=2edde5371b1e0a954b02411e16a4f121493e2029 [2023-01-09T20:13:12.597Z] ---> Running in 6d2f2f161b8b [2023-01-09T20:13:12.597Z] Removing intermediate container 6d2f2f161b8b [2023-01-09T20:13:12.597Z] ---> 561e6541b5d9 [2023-01-09T20:13:12.597Z] Step 25/25 : LABEL version=0.0.0 [2023-01-09T20:13:12.597Z] ---> Running in 13c328867c5e [2023-01-09T20:13:12.864Z] Removing intermediate container 13c328867c5e [2023-01-09T20:13:12.864Z] ---> 365a19a69b20 [2023-01-09T20:13:12.864Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T20:13:12.864Z] Successfully built 365a19a69b20 [2023-01-09T20:13:12.864Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:13:13.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T20:13:13.680Z] [2023-01-09T20:13:13.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:13:14.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T20:13:15.049Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T20:13:15.049Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T20:13:15.049Z] 04944245beec: Pulling fs layer [2023-01-09T20:13:15.049Z] 699f458cf7ca: Pulling fs layer [2023-01-09T20:13:15.049Z] 765212b225bb: Pulling fs layer [2023-01-09T20:13:15.049Z] f23df028b6ca: Pulling fs layer [2023-01-09T20:13:15.049Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T20:13:15.049Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T20:13:15.049Z] f23df028b6ca: Waiting [2023-01-09T20:13:15.049Z] d65c8cfc05b1: Waiting [2023-01-09T20:13:15.049Z] 2437ff75d9bd: Waiting [2023-01-09T20:13:15.049Z] 765212b225bb: Waiting [2023-01-09T20:13:15.049Z] 04944245beec: Verifying Checksum [2023-01-09T20:13:15.049Z] 04944245beec: Download complete [2023-01-09T20:13:15.049Z] 765212b225bb: Verifying Checksum [2023-01-09T20:13:15.049Z] 765212b225bb: Download complete [2023-01-09T20:13:15.049Z] f23df028b6ca: Verifying Checksum [2023-01-09T20:13:15.049Z] f23df028b6ca: Download complete [2023-01-09T20:13:15.049Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T20:13:15.049Z] d65c8cfc05b1: Download complete [2023-01-09T20:13:15.049Z] 699f458cf7ca: Verifying Checksum [2023-01-09T20:13:15.049Z] 699f458cf7ca: Download complete [2023-01-09T20:13:15.648Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T20:13:15.648Z] 8998bd30e6a1: Download complete [2023-01-09T20:13:17.599Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T20:13:17.599Z] 2437ff75d9bd: Download complete [2023-01-09T20:13:19.540Z] 8998bd30e6a1: Pull complete [2023-01-09T20:13:19.808Z] 04944245beec: Pull complete [2023-01-09T20:13:21.215Z] 699f458cf7ca: Pull complete [2023-01-09T20:13:21.215Z] 765212b225bb: Pull complete [2023-01-09T20:13:21.797Z] f23df028b6ca: Pull complete [2023-01-09T20:13:22.065Z] d65c8cfc05b1: Pull complete [2023-01-09T20:13:37.076Z] 2437ff75d9bd: Pull complete [2023-01-09T20:13:37.076Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T20:13:37.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T20:13:37.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:13:37.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container [2023-01-09T20:13:37.459Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-09T20:13:39.988Z] $ docker top 17d8b7d3451cda13cb003e81312d29d6917cadb1212e4d3a2c0234d005f0b957 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:40.898Z] ---> job-cost.sh [2023-01-09T20:13:40.898Z] lf-activate-venv: SKIPPING [2023-01-09T20:13:40.898Z] INFO: No Stack... [2023-01-09T20:13:41.166Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T20:13:42.124Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T20:13:42.784Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-09T20:13:42.784Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T20:13:42.863Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [2023-01-09T20:13:42.868Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] did not exist. Created. [2023-01-09T20:13:42.868Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T20:13:43.273Z] /w/workspace/device-rest-go/1@tmp/durable-64010d70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T20:13:43.984Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T20:13:44.013Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T20:13:44.056Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T20:13:44.070Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T20:13:44.155Z] $ docker stop --time=1 17d8b7d3451cda13cb003e81312d29d6917cadb1212e4d3a2c0234d005f0b957 [2023-01-09T20:13:45.666Z] $ docker rm -f --volumes 17d8b7d3451cda13cb003e81312d29d6917cadb1212e4d3a2c0234d005f0b957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-09T20:13:46.606Z] provisioning config files... [2023-01-09T20:13:46.615Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config6796552814432965718tmp [Pipeline] { [Pipeline] sh [2023-01-09T20:13:46.938Z] + set +x [2023-01-09T20:13:46.938Z] + curl+ -s https://codecov.io/bash [2023-01-09T20:13:46.938Z] bash -s -- [2023-01-09T20:13:46.938Z] [2023-01-09T20:13:46.938Z] _____ _ [2023-01-09T20:13:46.938Z] / ____| | | [2023-01-09T20:13:46.938Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T20:13:46.938Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T20:13:46.938Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T20:13:46.938Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T20:13:46.938Z] Bash-1.0.6 [2023-01-09T20:13:46.938Z] [2023-01-09T20:13:46.938Z] [2023-01-09T20:13:46.938Z] ==> git version 2.25.1 found [2023-01-09T20:13:46.938Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-09T20:13:46.938Z] Release-Date: 2020-01-08 [2023-01-09T20:13:46.938Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-09T20:13:46.938Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T20:13:46.938Z] ==> Jenkins CI detected. [2023-01-09T20:13:46.938Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-234 [2023-01-09T20:13:46.938Z] project root: . [2023-01-09T20:13:46.938Z] --> token set from env [2023-01-09T20:13:46.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T20:13:46.938Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T20:13:46.938Z] ==> Python coveragepy not found [2023-01-09T20:13:46.938Z] ==> Searching for coverage reports in: [2023-01-09T20:13:46.938Z] + . [2023-01-09T20:13:46.938Z] -> Found 1 reports [2023-01-09T20:13:46.938Z] ==> Detecting git/mercurial file structure [2023-01-09T20:13:46.938Z] ==> Reading reports [2023-01-09T20:13:46.938Z] + ./coverage.out bytes=9355 [2023-01-09T20:13:46.938Z] ==> Appending adjustments [2023-01-09T20:13:46.938Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T20:13:47.467Z] + Found adjustments [2023-01-09T20:13:47.467Z] ==> Gzipping contents [2023-01-09T20:13:47.467Z] 4.0K /tmp/codecov.cJRqos.gz [2023-01-09T20:13:47.467Z] ==> Uploading reports [2023-01-09T20:13:47.467Z] url: https://codecov.io [2023-01-09T20:13:47.467Z] query: branch=PR-234&commit=2edde5371b1e0a954b02411e16a4f121493e2029&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=234&job=&cmd_args= [2023-01-09T20:13:47.467Z] -> Pinging Codecov [2023-01-09T20:13:47.467Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-234&commit=2edde5371b1e0a954b02411e16a4f121493e2029&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=234&job=&cmd_args= [2023-01-09T20:13:47.726Z] -> Uploading to [2023-01-09T20:13:47.726Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/4E5D53B4F1F92C436F7061BF334D961C/2edde5371b1e0a954b02411e16a4f121493e2029/1ffbfdb6-b27f-4bb9-a086-c6927d115978.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T201347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a62de9cdab034537dfe4bbbfda1a35a603bc88887ce4d388de0814a7298b892 [2023-01-09T20:13:47.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T20:13:47.726Z] Dload Upload Total Spent Left Speed [2023-01-09T20:13:47.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1743 0 0 100 1743 0 7886 --:--:-- --:--:-- --:--:-- 7851 100 1743 0 0 100 1743 0 7232 --:--:-- --:--:-- --:--:-- 7202 [2023-01-09T20:13:47.986Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] } [2023-01-09T20:13:48.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-09T20:13:49.723Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-234/archives ] [2023-01-09T20:13:49.723Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-234/archives [2023-01-09T20:13:49.723Z] total 16 [2023-01-09T20:13:49.724Z] drwxr-xr-x 3 root root 4096 Jan 9 20:06 . [2023-01-09T20:13:49.724Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 20:06 .. [2023-01-09T20:13:49.724Z] drwxr-xr-x 2 root root 4096 Jan 9 20:06 cost [2023-01-09T20:13:49.724Z] -rw-r--r-- 1 root root 86 Jan 9 20:06 cost.csv [2023-01-09T20:13:49.724Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-234/archives [2023-01-09T20:13:49.724Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-234/archives [2023-01-09T20:13:49.724Z] total 16 [2023-01-09T20:13:49.724Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 20:06 . [2023-01-09T20:13:49.724Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 20:06 .. [2023-01-09T20:13:49.724Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 20:06 cost [2023-01-09T20:13:49.724Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 9 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:50.050Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:50.933Z] ---> package-listing.sh [2023-01-09T20:13:50.933Z] ++ facter osfamily [2023-01-09T20:13:50.933Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T20:13:51.660Z] + OS_FAMILY=debian [2023-01-09T20:13:51.660Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-234 [2023-01-09T20:13:51.660Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T20:13:51.660Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T20:13:51.660Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T20:13:51.660Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T20:13:51.660Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-234 ']' [2023-01-09T20:13:51.660Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T20:13:51.660Z] + case "${OS_FAMILY}" in [2023-01-09T20:13:51.660Z] + dpkg -l [2023-01-09T20:13:51.660Z] + grep '^ii' [2023-01-09T20:13:51.660Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T20:13:51.660Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T20:13:51.660Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T20:13:51.660Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-234 ']' [2023-01-09T20:13:51.660Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-234/archives/ [2023-01-09T20:13:51.660Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-234/archives/ [Pipeline] echo [2023-01-09T20:13:51.695Z] 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-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T20:13:51.993Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T20:13:52.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T20:13:52.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T20:13:52.773Z] prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container [2023-01-09T20:13:52.801Z] $ 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-234/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-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T20:13:53.047Z] $ docker top 7e80afdd2e110f64ebb9531534f629168c51903872039ba89ebfffc44a7f3092 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T20:13:53.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T20:13:53.761Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T20:13:54.071Z] + ls /var/log/sa-host [2023-01-09T20:13:54.071Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T20:13:54.202Z] provisioning config files... [2023-01-09T20:13:54.211Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config8936517029186916920tmp [Pipeline] { [Pipeline] echo [2023-01-09T20:13:54.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:54.601Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T20:13:54.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:55.115Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T20:13:55.159Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:55.473Z] ---> sudo-logs.sh [2023-01-09T20:13:55.473Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T20:13:55.565Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:55.877Z] ---> job-cost.sh [2023-01-09T20:13:55.878Z] lf-activate-venv: SKIPPING [2023-01-09T20:13:55.878Z] DEBUG: total: 0.2199999988079071 [2023-01-09T20:13:55.878Z] INFO: Retrieving Stack Cost... [2023-01-09T20:13:56.137Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T20:13:56.396Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T20:13:56.437Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T20:13:56.751Z] ---> logs-deploy.sh [2023-01-09T20:13:56.751Z] lf-activate-venv: SKIPPING [2023-01-09T20:13:56.751Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-234/1 [2023-01-09T20:13:56.751Z] INFO: archiving workspace using pattern(s): [2023-01-09T20:13:57.687Z] Archives upload complete. [2023-01-09T20:13:57.687Z] INFO: archiving logs to Nexus