Pull request #253 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dbc214a4a69842ccb2acaee003160178485acaff+361e34ad238f1f05923baf29fae00e57c159c00c (9bb39cf2144726c65473ff3d48b66388c05a2de2) 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-ssh17824096309502640145.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-ssh5463986179863764874.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-253/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-253/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh526138657701342508.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-253/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18317031230037019646.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-ssh14389642836086880161.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-253/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-253/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17213373462594194200.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5950 in /w/workspace/gexfoundry_device-rest-go_PR-253 [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-253 # 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/253/head:refs/remotes/origin/PR-253 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit dbc214a4a69842ccb2acaee003160178485acaff Merge succeeded, producing dbc214a4a69842ccb2acaee003160178485acaff Checking out Revision dbc214a4a69842ccb2acaee003160178485acaff (PR-253) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # 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 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:42:08.166Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:42:08.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:42:08.451Z] ========================================================= [2023-02-15T00:42:08.451Z] EdgeX Global Pipelines Version Info [2023-02-15T00:42:08.451Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:42:09.167Z] ------------------- [2023-02-15T00:42:09.167Z] stable info: [2023-02-15T00:42:09.167Z] ------------------- [2023-02-15T00:42:09.167Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:42:09.167Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:42:09.167Z] Message: update stable to v1.0.244 [2023-02-15T00:42:09.737Z] ------------------- [2023-02-15T00:42:09.737Z] experimental info: [2023-02-15T00:42:09.737Z] ------------------- [2023-02-15T00:42:09.737Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:42:09.737Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:42:09.737Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:42:10.004Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T00:42:10.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T00:42:10.084Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:42:10.126Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:42:10.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:42:10.207Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:42:10.248Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:42:10.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T00:42:10.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:42:10.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:42:10.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:42:10.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T00:42:10.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:42:10.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:42:10.564Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:42:10.606Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:42:10.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:42:10.699Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:42:10.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:42:10.785Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:42:10.826Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T00:42:10.875Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T00:42:10.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:42:10.953Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:42:11.011Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:42:11.059Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:42:11.101Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:42:11.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-253 [Pipeline] echo [2023-02-15T00:42:11.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-253 [Pipeline] echo [2023-02-15T00:42:11.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-253 [Pipeline] echo [2023-02-15T00:42:11.266Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo [2023-02-15T00:42:11.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbc214a [Pipeline] echo [2023-02-15T00:42:11.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:42:11.463Z] provisioning config files... [2023-02-15T00:42:11.481Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config16238932648145041939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:42:11.861Z] ---> docker-login.sh [2023-02-15T00:42:11.861Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:42:12.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:12.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:12.122Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:12.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:12.122Z] [2023-02-15T00:42:12.122Z] Login Succeeded [2023-02-15T00:42:12.122Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:42:12.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:12.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:12.122Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:12.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:12.122Z] [2023-02-15T00:42:12.122Z] Login Succeeded [2023-02-15T00:42:12.122Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:42:12.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:12.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:12.386Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:12.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:12.386Z] [2023-02-15T00:42:12.386Z] Login Succeeded [2023-02-15T00:42:12.386Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:42:12.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:12.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:12.386Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:12.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:12.386Z] [2023-02-15T00:42:12.386Z] Login Succeeded [2023-02-15T00:42:12.386Z] docker.io [2023-02-15T00:42:12.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:12.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:12.649Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:12.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:12.649Z] [2023-02-15T00:42:12.649Z] Login Succeeded [2023-02-15T00:42:12.649Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:42:12.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:42:13.289Z] + git rev-list -1 --merges dbc214a4a69842ccb2acaee003160178485acaff~1..dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo [2023-02-15T00:42:13.343Z] -----------> git rev-list -1 --merges dbc214a4a69842ccb2acaee003160178485acaff~1..dbc214a4a69842ccb2acaee003160178485acaff dbc214a4a69842ccb2acaee003160178485acaff [false] [Pipeline] sh [2023-02-15T00:42:13.653Z] + git log --format=format:%s -1 dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo [2023-02-15T00:42:13.687Z] ========================================================= [2023-02-15T00:42:13.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:42:13.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:42:14.119Z] + git log --format=format:%s -1 dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] echo [2023-02-15T00:42:14.153Z] [semverPrep] GIT_COMMIT: dbc214a4a69842ccb2acaee003160178485acaff, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-15T00:42:14.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:42:14.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:42:14.563Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:42:14.563Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:42:14.563Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:42:14.563Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:42:14.563Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T00:42:14.563Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:14.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:42:14.988Z] [2023-02-15T00:42:14.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:15.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:42:15.370Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:42:15.370Z] b85a868b505f: Pulling fs layer [2023-02-15T00:42:15.370Z] e2be974225ed: Pulling fs layer [2023-02-15T00:42:15.370Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:42:15.370Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:42:15.370Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:42:15.370Z] eaf3925da568: Pulling fs layer [2023-02-15T00:42:15.370Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:42:15.370Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:42:15.370Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:42:15.370Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:42:15.370Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:42:15.370Z] 988bab9f4d93: Waiting [2023-02-15T00:42:15.370Z] 4872d77fe225: Waiting [2023-02-15T00:42:15.370Z] 1469e6f7b9e6: Waiting [2023-02-15T00:42:15.370Z] b352a97aabf1: Waiting [2023-02-15T00:42:15.370Z] bab4dde63d76: Waiting [2023-02-15T00:42:15.370Z] 5851b861e8e6: Waiting [2023-02-15T00:42:15.370Z] eaf3925da568: Waiting [2023-02-15T00:42:15.370Z] bde34c3a00c8: Waiting [2023-02-15T00:42:15.370Z] e2be974225ed: Verifying Checksum [2023-02-15T00:42:15.370Z] e2be974225ed: Download complete [2023-02-15T00:42:15.370Z] 988bab9f4d93: Verifying Checksum [2023-02-15T00:42:15.370Z] 988bab9f4d93: Download complete [2023-02-15T00:42:15.632Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:42:15.632Z] 1469e6f7b9e6: Download complete [2023-02-15T00:42:15.632Z] eaf3925da568: Verifying Checksum [2023-02-15T00:42:15.632Z] eaf3925da568: Download complete [2023-02-15T00:42:15.632Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:42:15.632Z] 339a4e72a1f5: Download complete [2023-02-15T00:42:15.632Z] bde34c3a00c8: Download complete [2023-02-15T00:42:15.632Z] b352a97aabf1: Download complete [2023-02-15T00:42:15.893Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:42:15.893Z] 4872d77fe225: Download complete [2023-02-15T00:42:15.893Z] 5851b861e8e6: Verifying Checksum [2023-02-15T00:42:15.893Z] 5851b861e8e6: Download complete [2023-02-15T00:42:15.893Z] b85a868b505f: Verifying Checksum [2023-02-15T00:42:15.893Z] b85a868b505f: Download complete [2023-02-15T00:42:16.164Z] bab4dde63d76: Verifying Checksum [2023-02-15T00:42:16.164Z] bab4dde63d76: Download complete [2023-02-15T00:42:17.121Z] b85a868b505f: Pull complete [2023-02-15T00:42:17.121Z] e2be974225ed: Pull complete [2023-02-15T00:42:17.726Z] 339a4e72a1f5: Pull complete [2023-02-15T00:42:17.726Z] 988bab9f4d93: Pull complete [2023-02-15T00:42:17.989Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:42:17.989Z] eaf3925da568: Pull complete [2023-02-15T00:42:19.906Z] bab4dde63d76: Pull complete [2023-02-15T00:42:19.906Z] bde34c3a00c8: Pull complete [2023-02-15T00:42:19.906Z] b352a97aabf1: Pull complete [2023-02-15T00:42:19.906Z] 4872d77fe225: Pull complete [2023-02-15T00:42:19.906Z] 5851b861e8e6: Pull complete [2023-02-15T00:42:19.906Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:42:19.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:42:19.906Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:42:20.117Z] prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container [2023-02-15T00:42:20.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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-02-15T00:42:22.429Z] $ docker top 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 -eo pid,comm [2023-02-15T00:42:22.476Z] 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-02-15T00:42:22.476Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:42:22.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:42:22.599Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:42:22.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:42:22.714Z] $ docker exec 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent [2023-02-15T00:42:22.808Z] SSH_AUTH_SOCK=/tmp/ssh-gsuA0WlTkyIo/agent.32 [2023-02-15T00:42:22.808Z] SSH_AGENT_PID=38 [2023-02-15T00:42:22.814Z] Running ssh-add (command line suppressed) [2023-02-15T00:42:22.917Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_839345475588623997.key (/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_839345475588623997.key) [2023-02-15T00:42:22.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:42:23.252Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:42:23.287Z] $ docker exec --env ******** --env ******** 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent -k [2023-02-15T00:42:23.368Z] unset SSH_AUTH_SOCK; [2023-02-15T00:42:23.369Z] unset SSH_AGENT_PID; [2023-02-15T00:42:23.369Z] echo Agent pid 38 killed; [2023-02-15T00:42:23.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:42:23.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:42:23.459Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:42:23.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:42:23.579Z] $ docker exec 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent [2023-02-15T00:42:23.681Z] SSH_AUTH_SOCK=/tmp/ssh-TkMvleavzWoL/agent.70 [2023-02-15T00:42:23.681Z] SSH_AGENT_PID=76 [2023-02-15T00:42:23.685Z] Running ssh-add (command line suppressed) [2023-02-15T00:42:23.786Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_11167203529425971305.key (/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/private_key_11167203529425971305.key) [2023-02-15T00:42:23.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:42:24.128Z] + git semver init [2023-02-15T00:42:24.394Z] 2023-02-15 00:42:24,316 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:42:24.394Z] 2023-02-15 00:42:24,318 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-253/.semver [2023-02-15T00:42:24.394Z] 2023-02-15 00:42:24,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-253/.semver [2023-02-15T00:42:24.394Z] 2023-02-15 00:42:24,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-253/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-253, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:42:25.773Z] 2023-02-15 00:42:25,653 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-253/.git/info/exclude [2023-02-15T00:42:25.773Z] 2023-02-15 00:42:25,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-253/.semver/PR-253 with force:False [2023-02-15T00:42:25.773Z] 2023-02-15 00:42:25,654 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-253/.semver/PR-253 [2023-02-15T00:42:25.773Z] 2023-02-15 00:42:25,657 [execute] INFO git cat-file --batch-check [2023-02-15T00:42:25.773Z] 2023-02-15 00:42:25,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-253/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:42:25.773Z] 2023-02-15 00:42:25,662 [execute] INFO git cat-file --batch [2023-02-15T00:42:25.774Z] 2023-02-15 00:42:25,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-253/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:42:25.774Z] 2023-02-15 00:42:25,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-253/.semver/PR-253 [2023-02-15T00:42:25.774Z] 0.0.0 [Pipeline] } [2023-02-15T00:42:25.817Z] $ docker exec --env ******** --env ******** 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 ssh-agent -k [2023-02-15T00:42:25.944Z] unset SSH_AUTH_SOCK; [2023-02-15T00:42:25.945Z] unset SSH_AGENT_PID; [2023-02-15T00:42:25.945Z] echo Agent pid 76 killed; [2023-02-15T00:42:25.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:42:26.377Z] + git semver [Pipeline] } [2023-02-15T00:42:26.664Z] $ docker stop --time=1 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 [2023-02-15T00:42:27.953Z] $ docker rm -f --volumes 01890db5aff1cd989d1af8999dff89c73c9b3ed78e89ac66c6dda8f84baf3ce6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:42:28.351Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:42:28.604Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:42:28.620Z] [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-02-15T00:42:29.216Z] provisioning config files... [2023-02-15T00:42:29.228Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config4799853552791764204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:42:29.576Z] ---> docker-login.sh [2023-02-15T00:42:29.576Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:42:29.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:29.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:29.837Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:29.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:29.837Z] [2023-02-15T00:42:29.837Z] Login Succeeded [2023-02-15T00:42:29.837Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:42:29.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:29.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:29.837Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:29.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:29.837Z] [2023-02-15T00:42:29.837Z] Login Succeeded [2023-02-15T00:42:29.837Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:42:29.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:29.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:29.837Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:29.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:29.837Z] [2023-02-15T00:42:29.837Z] Login Succeeded [2023-02-15T00:42:29.837Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:42:30.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:30.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:30.098Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:30.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:30.098Z] [2023-02-15T00:42:30.098Z] Login Succeeded [2023-02-15T00:42:30.098Z] docker.io [2023-02-15T00:42:30.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:42:30.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:42:30.357Z] Configure a credential helper to remove this warning. See [2023-02-15T00:42:30.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:42:30.357Z] [2023-02-15T00:42:30.357Z] Login Succeeded [2023-02-15T00:42:30.357Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:42:30.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:42:30.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:42:30.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:42:30.650Z] ========================================================= [2023-02-15T00:42:30.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:42:30.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:31.119Z] + 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-02-15T00:42:31.119Z] Sending build context to Docker daemon 10.83MB [2023-02-15T00:42:31.119Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:42:31.119Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:42:31.119Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:42:31.119Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:42:31.119Z] 4583459ba037: Pulling fs layer [2023-02-15T00:42:31.119Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:42:31.119Z] 53926ce57604: Pulling fs layer [2023-02-15T00:42:31.119Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:42:31.119Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:42:31.119Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:42:31.119Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:42:31.119Z] a7acece74701: Pulling fs layer [2023-02-15T00:42:31.119Z] 21b2b0c7a3f4: Waiting [2023-02-15T00:42:31.119Z] 96b7cbca73a9: Waiting [2023-02-15T00:42:31.119Z] a7acece74701: Waiting [2023-02-15T00:42:31.119Z] 12d6caf4c0d1: Waiting [2023-02-15T00:42:31.119Z] 53926ce57604: Waiting [2023-02-15T00:42:31.119Z] 93c1e223e6f2: Download complete [2023-02-15T00:42:31.399Z] 4583459ba037: Download complete [2023-02-15T00:42:31.399Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T00:42:31.399Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:42:31.399Z] 22ff95d597cd: Verifying Checksum [2023-02-15T00:42:31.399Z] 22ff95d597cd: Download complete [2023-02-15T00:42:31.399Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:42:31.399Z] 213ec9aee27d: Download complete [2023-02-15T00:42:31.671Z] 213ec9aee27d: Pull complete [2023-02-15T00:42:31.671Z] 12d6caf4c0d1: Download complete [2023-02-15T00:42:31.671Z] 4583459ba037: Pull complete [2023-02-15T00:42:31.944Z] 93c1e223e6f2: Pull complete [2023-02-15T00:42:33.484Z] a7acece74701: Verifying Checksum [2023-02-15T00:42:33.484Z] a7acece74701: Download complete [2023-02-15T00:42:33.753Z] 53926ce57604: Verifying Checksum [2023-02-15T00:42:33.753Z] 53926ce57604: Download complete [2023-02-15T00:42:33.753Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T00:42:33.753Z] 96b7cbca73a9: Download complete [2023-02-15T00:42:37.082Z] 53926ce57604: Pull complete [2023-02-15T00:42:37.082Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:42:37.082Z] 22ff95d597cd: Pull complete [2023-02-15T00:42:37.368Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:42:39.182Z] 96b7cbca73a9: Pull complete [2023-02-15T00:42:40.052Z] a7acece74701: Pull complete [2023-02-15T00:42:40.052Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:42:40.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:42:40.052Z] ---> db6d94c90886 [2023-02-15T00:42:40.052Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:42:44.030Z] Still waiting to schedule task [2023-02-15T00:42:44.030Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ [2023-02-15T00:42:46.745Z] ---> Running in ef05b5650246 [2023-02-15T00:42:46.745Z] Removing intermediate container ef05b5650246 [2023-02-15T00:42:46.745Z] ---> 0b7446148b47 [2023-02-15T00:42:46.745Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:42:46.745Z] ---> Running in 0e5c0582af23 [2023-02-15T00:42:46.745Z] Removing intermediate container 0e5c0582af23 [2023-02-15T00:42:46.745Z] ---> c27b8babb0fa [2023-02-15T00:42:46.745Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:42:47.003Z] ---> Running in 41c7911b817a [2023-02-15T00:42:47.003Z] Removing intermediate container 41c7911b817a [2023-02-15T00:42:47.003Z] ---> f0d39c145533 [2023-02-15T00:42:47.003Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:42:47.003Z] ---> Running in 3b98c5bdb5fe [2023-02-15T00:42:47.004Z] Removing intermediate container 3b98c5bdb5fe [2023-02-15T00:42:47.004Z] ---> e5e99bea5355 [2023-02-15T00:42:47.004Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:42:47.004Z] ---> Running in b7bc0ad9f2d9 [2023-02-15T00:42:47.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:42:47.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:42:47.779Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:42:47.779Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:42:47.779Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:42:47.779Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:42:47.779Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:42:47.779Z] OK: 216 MiB in 55 packages [2023-02-15T00:42:48.345Z] Removing intermediate container b7bc0ad9f2d9 [2023-02-15T00:42:48.345Z] ---> d0a89b78d17d [2023-02-15T00:42:48.345Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:42:48.345Z] ---> Running in 000cbeba8e5b [2023-02-15T00:42:48.345Z] Removing intermediate container 000cbeba8e5b [2023-02-15T00:42:48.345Z] ---> 358bec9b9813 [2023-02-15T00:42:48.345Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:42:48.345Z] ---> 5051f8e2ba6b [2023-02-15T00:42:48.345Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:42:48.345Z] ---> Running in 7a9a7b3a3d13 [2023-02-15T00:43:27.088Z] Removing intermediate container 7a9a7b3a3d13 [2023-02-15T00:43:27.088Z] ---> 5380a0585b41 [2023-02-15T00:43:27.088Z] Step 11/12 : COPY . . [2023-02-15T00:43:27.088Z] ---> 64f8b5b9d069 [2023-02-15T00:43:27.088Z] Step 12/12 : RUN $MAKE [2023-02-15T00:43:27.088Z] ---> Running in 593b9a7cbdb5 [2023-02-15T00:43:27.347Z] noop [2023-02-15T00:43:28.284Z] Removing intermediate container 593b9a7cbdb5 [2023-02-15T00:43:28.284Z] ---> ee9eb273544c [2023-02-15T00:43:28.284Z] Successfully built ee9eb273544c [2023-02-15T00:43:28.284Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:28.741Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:43:28.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:43:28.902Z] prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container [2023-02-15T00:43:28.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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-02-15T00:43:29.544Z] $ docker top c1cd13ec8073d8399cd0b83e57520325e1993fffe93fca0478fd335d7b84044f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:43:29.932Z] + go version [2023-02-15T00:43:29.932Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:43:29.968Z] $ docker stop --time=1 c1cd13ec8073d8399cd0b83e57520325e1993fffe93fca0478fd335d7b84044f [2023-02-15T00:43:31.461Z] $ docker rm -f --volumes c1cd13ec8073d8399cd0b83e57520325e1993fffe93fca0478fd335d7b84044f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:32.161Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:43:32.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:43:32.311Z] prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container [2023-02-15T00:43:32.390Z] $ 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-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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-02-15T00:43:33.421Z] $ docker top 0f4dcf31c8860a4630b482e0c4e17352c02fe5ccb30bb5755d3a3de2182adb99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:43:33.811Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-253 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:43:34.164Z] + make test [2023-02-15T00:43:34.165Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:43:34.421Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:43:44.528Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:43:44.528Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.9% of statements [2023-02-15T00:43:51.136Z] 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-02-15T00:43:51.136Z] go vet ./... [2023-02-15T00:43:54.423Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:43:54.423Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:43:54.423Z] ./bin/test-attribution-txt.sh [2023-02-15T00:43:54.423Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:43:54.423Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:43:54.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:43:54.493Z] $ docker stop --time=1 0f4dcf31c8860a4630b482e0c4e17352c02fe5ccb30bb5755d3a3de2182adb99 [2023-02-15T00:43:56.975Z] $ docker rm -f --volumes 0f4dcf31c8860a4630b482e0c4e17352c02fe5ccb30bb5755d3a3de2182adb99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:43:57.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:43:57.610Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T00:43:58.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:43:58.541Z] + ls -al . [2023-02-15T00:43:58.541Z] total 188 [2023-02-15T00:43:58.541Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:43 . [2023-02-15T00:43:58.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:42 .. [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:42 .dockerignore [2023-02-15T00:43:58.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:43 .git [2023-02-15T00:43:58.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:42 .github [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:42 .gitignore [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:42 .golangci.yml [2023-02-15T00:43:58.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:42 .semver [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:42 Attribution.txt [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:42 CHANGELOG.md [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:42 Dockerfile [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:42 GOVERNANCE.md [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:42 Jenkinsfile [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:42 LICENSE [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:42 Makefile [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:42 OWNERS.md [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:42 README.md [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:42 VERSION [2023-02-15T00:43:58.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:42 bin [2023-02-15T00:43:58.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:42 cmd [2023-02-15T00:43:58.541Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:43 coverage.out [2023-02-15T00:43:58.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:42 driver [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:42 go.mod [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:42 go.sum [2023-02-15T00:43:58.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:42 snap [2023-02-15T00:43:58.541Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:58.926Z] + 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=dbc214a4a69842ccb2acaee003160178485acaff --label arch=amd64 --label version=0.0.0 . [2023-02-15T00:43:58.926Z] Sending build context to Docker daemon 10.84MB [2023-02-15T00:43:58.926Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:43:58.926Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:43:58.926Z] ---> ee9eb273544c [2023-02-15T00:43:58.926Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:43:59.189Z] ---> Running in bdd48d53a2d8 [2023-02-15T00:43:59.189Z] Removing intermediate container bdd48d53a2d8 [2023-02-15T00:43:59.189Z] ---> d17fd558cb33 [2023-02-15T00:43:59.189Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:43:59.189Z] ---> Running in e1e2b7bb3eb5 [2023-02-15T00:43:59.189Z] Removing intermediate container e1e2b7bb3eb5 [2023-02-15T00:43:59.189Z] ---> dfdacae96eb3 [2023-02-15T00:43:59.189Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:43:59.447Z] ---> Running in 79d1531134d6 [2023-02-15T00:43:59.447Z] Removing intermediate container 79d1531134d6 [2023-02-15T00:43:59.447Z] ---> 3d6eed1d11f2 [2023-02-15T00:43:59.447Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:43:59.447Z] ---> Running in 0946201dc58c [2023-02-15T00:43:59.447Z] Removing intermediate container 0946201dc58c [2023-02-15T00:43:59.447Z] ---> 18a91e666ecc [2023-02-15T00:43:59.447Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:43:59.447Z] ---> Running in 3c28cbb0367f [2023-02-15T00:43:59.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:43:59.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:44:00.224Z] OK: 216 MiB in 55 packages [2023-02-15T00:44:00.484Z] Removing intermediate container 3c28cbb0367f [2023-02-15T00:44:00.484Z] ---> 7fa1304a4993 [2023-02-15T00:44:00.484Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:44:00.484Z] ---> Running in cf8f9fee2aac [2023-02-15T00:44:00.484Z] Removing intermediate container cf8f9fee2aac [2023-02-15T00:44:00.484Z] ---> 342e3f4107e0 [2023-02-15T00:44:00.484Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:44:00.744Z] ---> 16968493812f [2023-02-15T00:44:00.744Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:44:00.744Z] ---> Running in c5def872581b [2023-02-15T00:44:01.702Z] Removing intermediate container c5def872581b [2023-02-15T00:44:01.702Z] ---> cc41366fbb58 [2023-02-15T00:44:01.702Z] Step 11/25 : COPY . . [2023-02-15T00:44:01.994Z] ---> 265d84f9a10a [2023-02-15T00:44:01.994Z] Step 12/25 : RUN $MAKE [2023-02-15T00:44:01.994Z] ---> Running in f357db944f15 [2023-02-15T00:44:02.253Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T00:44:24.210Z] Removing intermediate container f357db944f15 [2023-02-15T00:44:24.210Z] ---> 12edb24d4906 [2023-02-15T00:44:24.210Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:44:24.210Z] 3.16: Pulling from library/alpine [2023-02-15T00:44:24.210Z] ef5531b6e74e: Pulling fs layer [2023-02-15T00:44:24.210Z] ef5531b6e74e: Verifying Checksum [2023-02-15T00:44:24.210Z] ef5531b6e74e: Download complete [2023-02-15T00:44:24.210Z] ef5531b6e74e: Pull complete [2023-02-15T00:44:24.210Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:44:24.210Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:44:24.210Z] ---> dfd21b5a31f5 [2023-02-15T00:44:24.210Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:44:24.210Z] ---> Running in fc79f33d9fae [2023-02-15T00:44:24.210Z] Removing intermediate container fc79f33d9fae [2023-02-15T00:44:24.210Z] ---> d1c2fc5743e4 [2023-02-15T00:44:24.210Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:44:24.210Z] ---> Running in c31659ec8d98 [2023-02-15T00:44:24.210Z] Removing intermediate container c31659ec8d98 [2023-02-15T00:44:24.210Z] ---> 3204b4a7bc16 [2023-02-15T00:44:24.210Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:44:24.210Z] ---> Running in 45d002135faa [2023-02-15T00:44:24.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:44:24.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:44:24.730Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:44:24.730Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:44:24.730Z] OK: 6 MiB in 15 packages [2023-02-15T00:44:25.006Z] Removing intermediate container 45d002135faa [2023-02-15T00:44:25.006Z] ---> 15a2924fd86f [2023-02-15T00:44:25.006Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:44:25.779Z] ---> 4c124b65b861 [2023-02-15T00:44:25.779Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:44:25.779Z] ---> 4d84ec14933b [2023-02-15T00:44:25.779Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:44:26.037Z] ---> 07d2a199efad [2023-02-15T00:44:26.037Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:44:26.037Z] ---> Running in 6df2301d70c4 [2023-02-15T00:44:26.037Z] Removing intermediate container 6df2301d70c4 [2023-02-15T00:44:26.037Z] ---> 09e60acde19e [2023-02-15T00:44:26.037Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:44:26.037Z] ---> Running in 9b6de327e30e [2023-02-15T00:44:26.296Z] Removing intermediate container 9b6de327e30e [2023-02-15T00:44:26.296Z] ---> 9dd4982caf96 [2023-02-15T00:44:26.296Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:44:26.296Z] ---> Running in a7bfae75c655 [2023-02-15T00:44:26.296Z] Removing intermediate container a7bfae75c655 [2023-02-15T00:44:26.296Z] ---> 2a5dbee0be6d [2023-02-15T00:44:26.296Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T00:44:26.296Z] ---> Running in 0111f3275f89 [2023-02-15T00:44:26.296Z] Removing intermediate container 0111f3275f89 [2023-02-15T00:44:26.296Z] ---> d39e353bc48c [2023-02-15T00:44:26.296Z] Step 24/25 : LABEL git_sha=dbc214a4a69842ccb2acaee003160178485acaff [2023-02-15T00:44:26.554Z] ---> Running in 3bd27d741b45 [2023-02-15T00:44:26.554Z] Removing intermediate container 3bd27d741b45 [2023-02-15T00:44:26.554Z] ---> 3bc14beb223e [2023-02-15T00:44:26.554Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T00:44:26.554Z] ---> Running in 7c7589f02bbb [2023-02-15T00:44:26.554Z] Removing intermediate container 7c7589f02bbb [2023-02-15T00:44:26.554Z] ---> 0e4fdf8046c9 [2023-02-15T00:44:26.554Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:44:26.554Z] Successfully built 0e4fdf8046c9 [2023-02-15T00:44:26.554Z] 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-02-15T00:44:27.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:44:27.402Z] [2023-02-15T00:44:27.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:27.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:44:27.778Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:44:27.778Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:44:27.778Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:44:27.778Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:44:27.778Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:44:27.778Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:44:27.778Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:44:27.778Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:44:27.778Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:44:27.778Z] 33b1e0a273af: Waiting [2023-02-15T00:44:27.778Z] 5d3b04190fa2: Waiting [2023-02-15T00:44:27.778Z] 2f39f015ded8: Waiting [2023-02-15T00:44:27.778Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T00:44:27.778Z] 5c69ac0246d0: Download complete [2023-02-15T00:44:27.778Z] 3a2ae6a8a46f: Download complete [2023-02-15T00:44:28.047Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:44:28.047Z] 33b1e0a273af: Download complete [2023-02-15T00:44:28.047Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T00:44:28.047Z] 5d3b04190fa2: Download complete [2023-02-15T00:44:28.047Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:44:28.047Z] ec43610c2a17: Download complete [2023-02-15T00:44:28.308Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:44:28.308Z] 5eb5b503b376: Download complete [2023-02-15T00:44:28.874Z] 2f39f015ded8: Download complete [2023-02-15T00:44:29.441Z] 5eb5b503b376: Pull complete [2023-02-15T00:44:29.441Z] 5c69ac0246d0: Pull complete [2023-02-15T00:44:30.005Z] ec43610c2a17: Pull complete [2023-02-15T00:44:30.005Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:44:30.265Z] 33b1e0a273af: Pull complete [2023-02-15T00:44:30.265Z] 5d3b04190fa2: Pull complete [2023-02-15T00:44:34.447Z] 2f39f015ded8: Pull complete [2023-02-15T00:44:34.447Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:44:34.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:44:34.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:44:34.655Z] prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container [2023-02-15T00:44:34.693Z] $ 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-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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-02-15T00:44:37.479Z] $ docker top ef774da90686df9ebcd8d010f3c3dfaaa8b39a1f93ff9d7e31061e33ae8ddccc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:44:37.919Z] ---> job-cost.sh [2023-02-15T00:44:37.919Z] lf-activate-venv: SKIPPING [2023-02-15T00:44:37.919Z] INFO: No Stack... [2023-02-15T00:44:38.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:44:38.745Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:44:39.062Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-253/archives/cost.csv [2023-02-15T00:44:39.062Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:44:39.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [2023-02-15T00:44:39.106Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] did not exist. Created. [2023-02-15T00:44:39.106Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:44:39.494Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:44:39.541Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:44:39.571Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:44:39.647Z] $ docker stop --time=1 ef774da90686df9ebcd8d010f3c3dfaaa8b39a1f93ff9d7e31061e33ae8ddccc [2023-02-15T00:44:40.804Z] $ docker rm -f --volumes ef774da90686df9ebcd8d010f3c3dfaaa8b39a1f93ff9d7e31061e33ae8ddccc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:45:32.175Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5961 in /w/workspace/gexfoundry_device-rest-go_PR-253 [Pipeline] { [Pipeline] ws [2023-02-15T00:45:32.235Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T00:45:32.342Z] The recommended git tool is: git [2023-02-15T00:45:39.388Z] using credential edgex-jenkins-ssh [2023-02-15T00:45:39.407Z] Cloning the remote Git repository [2023-02-15T00:45:39.474Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:45:39.573Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-15T00:45:39.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:45:39.773Z] > git --version # timeout=10 [2023-02-15T00:45:39.860Z] > git --version # 'git version 2.25.1' [2023-02-15T00:45:39.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:45:39.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:45:42.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:45:42.183Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:45:43.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:45:43.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:45:43.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:45:43.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T00:45:44.217Z] Merging remotes/origin/main commit 361e34ad238f1f05923baf29fae00e57c159c00c into PR head commit dbc214a4a69842ccb2acaee003160178485acaff [2023-02-15T00:45:44.525Z] Merge succeeded, producing dbc214a4a69842ccb2acaee003160178485acaff [2023-02-15T00:45:44.526Z] Checking out Revision dbc214a4a69842ccb2acaee003160178485acaff (PR-253) [2023-02-15T00:45:45.195Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-15T00:45:45.258Z] > git --version # timeout=10 [2023-02-15T00:45:45.272Z] > git --version # 'git version 2.25.1' [2023-02-15T00:45:45.292Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:45:44.241Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:45:44.283Z] > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # timeout=10 [2023-02-15T00:45:44.389Z] > git remote # timeout=10 [2023-02-15T00:45:44.417Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T00:45:44.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:45:44.465Z] > git merge 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 [2023-02-15T00:45:44.496Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T00:45:44.535Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:45:44.554Z] > git checkout -f dbc214a4a69842ccb2acaee003160178485acaff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:45:46.506Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:45:46.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:45:46.506Z] Dload Upload Total Spent Left Speed [2023-02-15T00:45:46.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh [2023-02-15T00:45:47.304Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:45:47.673Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T00:45:47.673Z] + sudo tee /etc/docker/daemon.new [2023-02-15T00:45:47.673Z] { [2023-02-15T00:45:47.673Z] "registry-mirrors": [ [2023-02-15T00:45:47.673Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:45:47.673Z] ], [2023-02-15T00:45:47.673Z] "bip": "10.250.0.254/24", [2023-02-15T00:45:47.673Z] "hosts": [ [2023-02-15T00:45:47.673Z] "tcp://0.0.0.0:5555", [2023-02-15T00:45:47.673Z] "unix:///var/run/docker.sock" [2023-02-15T00:45:47.673Z] ], [2023-02-15T00:45:47.673Z] "mtu": 1458, [2023-02-15T00:45:47.673Z] "selinux-enabled": true, [2023-02-15T00:45:47.673Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:45:47.673Z] } [Pipeline] sh [2023-02-15T00:45:48.046Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:45:48.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:46:06.813Z] provisioning config files... [2023-02-15T00:46:06.851Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6277412638709304044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:46:07.278Z] ---> docker-login.sh [2023-02-15T00:46:07.278Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:46:07.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:08.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:08.148Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:08.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:08.148Z] [2023-02-15T00:46:08.148Z] Login Succeeded [2023-02-15T00:46:08.148Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:46:08.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:08.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:08.424Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:08.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:08.424Z] [2023-02-15T00:46:08.424Z] Login Succeeded [2023-02-15T00:46:08.424Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:46:08.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:08.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:08.986Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:08.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:08.986Z] [2023-02-15T00:46:08.986Z] Login Succeeded [2023-02-15T00:46:08.986Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:46:09.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:09.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:09.534Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:09.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:09.534Z] [2023-02-15T00:46:09.534Z] Login Succeeded [2023-02-15T00:46:09.534Z] docker.io [2023-02-15T00:46:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:10.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:10.080Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:10.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:10.080Z] [2023-02-15T00:46:10.080Z] Login Succeeded [2023-02-15T00:46:10.080Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:46:10.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:46:10.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:46:10.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:46:10.679Z] ========================================================= [2023-02-15T00:46:10.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:46:10.679Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:46:11.198Z] + 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-02-15T00:46:11.198Z] Sending build context to Docker daemon 139.8kB [2023-02-15T00:46:11.474Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:46:11.474Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:46:11.749Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:46:11.749Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:46:11.749Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:46:11.749Z] e16973657156: Pulling fs layer [2023-02-15T00:46:11.749Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:46:11.749Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:46:11.749Z] dda99020689f: Pulling fs layer [2023-02-15T00:46:11.749Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:46:11.749Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:46:11.749Z] fc693d55d65f: Waiting [2023-02-15T00:46:11.749Z] db1c61fa0a46: Waiting [2023-02-15T00:46:11.749Z] 7e9fc2657dce: Waiting [2023-02-15T00:46:11.749Z] dda99020689f: Waiting [2023-02-15T00:46:11.749Z] 891c053d2c06: Waiting [2023-02-15T00:46:11.749Z] e16973657156: Verifying Checksum [2023-02-15T00:46:11.749Z] e16973657156: Download complete [2023-02-15T00:46:11.749Z] 35d82f9e3411: Verifying Checksum [2023-02-15T00:46:11.749Z] 35d82f9e3411: Download complete [2023-02-15T00:46:11.749Z] 7e9fc2657dce: Download complete [2023-02-15T00:46:11.749Z] dda99020689f: Verifying Checksum [2023-02-15T00:46:11.749Z] dda99020689f: Download complete [2023-02-15T00:46:11.749Z] 9b18e9b68314: Verifying Checksum [2023-02-15T00:46:11.749Z] 9b18e9b68314: Download complete [2023-02-15T00:46:12.764Z] 9b18e9b68314: Pull complete [2023-02-15T00:46:13.390Z] 35d82f9e3411: Pull complete [2023-02-15T00:46:13.679Z] e16973657156: Pull complete [2023-02-15T00:46:15.161Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:46:15.161Z] 891c053d2c06: Download complete [2023-02-15T00:46:17.876Z] db1c61fa0a46: Verifying Checksum [2023-02-15T00:46:17.876Z] db1c61fa0a46: Download complete [2023-02-15T00:46:18.920Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:46:18.920Z] fc693d55d65f: Download complete [2023-02-15T00:46:31.304Z] fc693d55d65f: Pull complete [2023-02-15T00:46:31.304Z] 7e9fc2657dce: Pull complete [2023-02-15T00:46:31.304Z] dda99020689f: Pull complete [2023-02-15T00:46:36.669Z] db1c61fa0a46: Pull complete [2023-02-15T00:46:38.087Z] 891c053d2c06: Pull complete [2023-02-15T00:46:38.087Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:46:38.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:46:38.087Z] ---> f96f9c87975a [2023-02-15T00:46:38.087Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:46:40.698Z] ---> Running in 7f320fff088b [2023-02-15T00:46:40.699Z] Removing intermediate container 7f320fff088b [2023-02-15T00:46:40.699Z] ---> 56498a3f0256 [2023-02-15T00:46:40.699Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:46:40.969Z] ---> Running in 7c66a349f92a [2023-02-15T00:46:41.239Z] Removing intermediate container 7c66a349f92a [2023-02-15T00:46:41.239Z] ---> b3558234c194 [2023-02-15T00:46:41.239Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:46:41.239Z] ---> Running in 28e119416a79 [2023-02-15T00:46:41.829Z] Removing intermediate container 28e119416a79 [2023-02-15T00:46:41.829Z] ---> 7cf038ecc244 [2023-02-15T00:46:41.829Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:46:41.829Z] ---> Running in 87574260a1d2 [2023-02-15T00:46:42.098Z] Removing intermediate container 87574260a1d2 [2023-02-15T00:46:42.098Z] ---> 8bee59511f6c [2023-02-15T00:46:42.098Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:46:42.368Z] ---> Running in 3f444962b3c3 [2023-02-15T00:46:43.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:46:44.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:46:45.519Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:46:45.519Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:46:45.519Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:46:45.519Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:46:45.519Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:46:45.519Z] OK: 226 MiB in 55 packages [2023-02-15T00:46:46.965Z] Removing intermediate container 3f444962b3c3 [2023-02-15T00:46:46.965Z] ---> e73250cd7524 [2023-02-15T00:46:46.965Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:46:46.965Z] ---> Running in e207bc3ae6d4 [2023-02-15T00:46:47.246Z] Removing intermediate container e207bc3ae6d4 [2023-02-15T00:46:47.246Z] ---> e0580017954d [2023-02-15T00:46:47.246Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:46:47.850Z] ---> f44b2197daae [2023-02-15T00:46:47.850Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:46:48.128Z] ---> Running in 27177128d153 [2023-02-15T00:48:09.878Z] Removing intermediate container 27177128d153 [2023-02-15T00:48:09.878Z] ---> 6bd10544272e [2023-02-15T00:48:09.878Z] Step 11/12 : COPY . . [2023-02-15T00:48:09.878Z] ---> 1adea16bcae0 [2023-02-15T00:48:09.878Z] Step 12/12 : RUN $MAKE [2023-02-15T00:48:09.878Z] ---> Running in bd051b1cf3cc [2023-02-15T00:48:09.878Z] noop [2023-02-15T00:48:09.878Z] Removing intermediate container bd051b1cf3cc [2023-02-15T00:48:09.878Z] ---> 856b609c0660 [2023-02-15T00:48:09.878Z] Successfully built 856b609c0660 [2023-02-15T00:48:09.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:48:10.344Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:48:10.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:48:10.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-5961 does not seem to be running inside a container [2023-02-15T00:48:10.729Z] $ 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-02-15T00:48:12.189Z] $ docker top 88ec3a4d919e598976680a1f0dfc3bc0b08bbdbd514bd46525d2dae05e501941 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:48:13.115Z] + go version [2023-02-15T00:48:13.116Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:48:13.152Z] $ docker stop --time=1 88ec3a4d919e598976680a1f0dfc3bc0b08bbdbd514bd46525d2dae05e501941 [2023-02-15T00:48:14.916Z] $ docker rm -f --volumes 88ec3a4d919e598976680a1f0dfc3bc0b08bbdbd514bd46525d2dae05e501941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:48:15.822Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:48:15.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:48:16.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-5961 does not seem to be running inside a container [2023-02-15T00:48:16.217Z] $ 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-02-15T00:48:17.560Z] $ docker top 7e8553a49ed3670d04379ee1e472f84dba1cd1a9038163de4593732d40eaf9ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:48:18.487Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:48:19.216Z] + make test [2023-02-15T00:48:19.216Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:48:21.188Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:50:27.993Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:50:27.993Z] ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 33.9% of statements [2023-02-15T00:50:27.993Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:50:27.993Z] go vet ./... [2023-02-15T00:50:46.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:50:46.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:50:46.527Z] ./bin/test-attribution-txt.sh [2023-02-15T00:50:46.527Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:50:46.527Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:50:46.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:50:46.600Z] $ docker stop --time=1 7e8553a49ed3670d04379ee1e472f84dba1cd1a9038163de4593732d40eaf9ea [2023-02-15T00:50:48.571Z] $ docker rm -f --volumes 7e8553a49ed3670d04379ee1e472f84dba1cd1a9038163de4593732d40eaf9ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:50:49.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:50:49.708Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:50:50.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:50:50.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:50:51.270Z] + ls -al . [2023-02-15T00:50:51.270Z] total 184 [2023-02-15T00:50:51.270Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:48 . [2023-02-15T00:50:51.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:45 .. [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:45 .dockerignore [2023-02-15T00:50:51.270Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:45 .git [2023-02-15T00:50:51.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:45 .github [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:45 .gitignore [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:45 .golangci.yml [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:45 Attribution.txt [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:45 CHANGELOG.md [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:45 Dockerfile [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:45 GOVERNANCE.md [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:45 Jenkinsfile [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:45 LICENSE [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:45 Makefile [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:45 OWNERS.md [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:45 README.md [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:42 VERSION [2023-02-15T00:50:51.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:45 bin [2023-02-15T00:50:51.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:45 cmd [2023-02-15T00:50:51.270Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:50 coverage.out [2023-02-15T00:50:51.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:45 driver [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:45 go.mod [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:45 go.sum [2023-02-15T00:50:51.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:45 snap [2023-02-15T00:50:51.270Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:50:51.703Z] + 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=dbc214a4a69842ccb2acaee003160178485acaff --label arch=arm64 --label version=0.0.0 . [2023-02-15T00:50:51.703Z] Sending build context to Docker daemon 154.1kB [2023-02-15T00:50:51.977Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:50:51.977Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:50:51.977Z] ---> 856b609c0660 [2023-02-15T00:50:51.977Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:50:52.250Z] ---> Running in 9d53906308f5 [2023-02-15T00:50:52.524Z] Removing intermediate container 9d53906308f5 [2023-02-15T00:50:52.524Z] ---> d0ed00e5c6dd [2023-02-15T00:50:52.524Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:50:52.524Z] ---> Running in 69c4245549b0 [2023-02-15T00:50:52.815Z] Removing intermediate container 69c4245549b0 [2023-02-15T00:50:52.815Z] ---> 300b6946b58b [2023-02-15T00:50:52.815Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:50:53.125Z] ---> Running in 36812a481e3c [2023-02-15T00:50:53.416Z] Removing intermediate container 36812a481e3c [2023-02-15T00:50:53.416Z] ---> 04af5d139e08 [2023-02-15T00:50:53.416Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:50:53.692Z] ---> Running in a6f65528b515 [2023-02-15T00:50:53.995Z] Removing intermediate container a6f65528b515 [2023-02-15T00:50:53.995Z] ---> bc6f9cb57452 [2023-02-15T00:50:53.995Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:50:53.995Z] ---> Running in 2e30dbe158b2 [2023-02-15T00:50:55.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:50:55.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:50:57.139Z] OK: 226 MiB in 55 packages [2023-02-15T00:50:57.726Z] Removing intermediate container 2e30dbe158b2 [2023-02-15T00:50:57.726Z] ---> c9cf43aa7647 [2023-02-15T00:50:57.726Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:50:57.996Z] ---> Running in bd608a6d464b [2023-02-15T00:50:58.266Z] Removing intermediate container bd608a6d464b [2023-02-15T00:50:58.266Z] ---> 30e1e4cd0b8a [2023-02-15T00:50:58.266Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:50:58.854Z] ---> 3d64cd0d9ee0 [2023-02-15T00:50:58.854Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:50:58.854Z] ---> Running in 1ac4acdd00b5 [2023-02-15T00:51:02.223Z] Removing intermediate container 1ac4acdd00b5 [2023-02-15T00:51:02.223Z] ---> d4564a37b7a0 [2023-02-15T00:51:02.223Z] Step 11/25 : COPY . . [2023-02-15T00:51:02.223Z] ---> fa054f1dc1e5 [2023-02-15T00:51:02.223Z] Step 12/25 : RUN $MAKE [2023-02-15T00:51:02.496Z] ---> Running in 1480c9522475 [2023-02-15T00:51:03.468Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T00:53:40.271Z] Removing intermediate container 1480c9522475 [2023-02-15T00:53:40.271Z] ---> f7b431dc210e [2023-02-15T00:53:40.271Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:53:40.271Z] 3.16: Pulling from library/alpine [2023-02-15T00:53:40.271Z] 3760b48202b3: Pulling fs layer [2023-02-15T00:53:40.271Z] 3760b48202b3: Verifying Checksum [2023-02-15T00:53:40.271Z] 3760b48202b3: Pull complete [2023-02-15T00:53:40.271Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:53:40.271Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:53:40.271Z] ---> 4c81e5bf8899 [2023-02-15T00:53:40.271Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:53:40.271Z] ---> Running in b67ee21710dc [2023-02-15T00:53:40.271Z] Removing intermediate container b67ee21710dc [2023-02-15T00:53:40.271Z] ---> 3141cd1cf975 [2023-02-15T00:53:40.271Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:53:40.271Z] ---> Running in cced5055f0ec [2023-02-15T00:53:40.271Z] Removing intermediate container cced5055f0ec [2023-02-15T00:53:40.271Z] ---> 2ddde7f1957e [2023-02-15T00:53:40.271Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:53:40.271Z] ---> Running in 2be7cba824c4 [2023-02-15T00:53:40.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:53:41.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:53:44.129Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:53:44.129Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:53:44.129Z] OK: 5 MiB in 15 packages [2023-02-15T00:53:44.129Z] Removing intermediate container 2be7cba824c4 [2023-02-15T00:53:44.129Z] ---> c074a382dee3 [2023-02-15T00:53:44.129Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:53:45.595Z] ---> 24280212c046 [2023-02-15T00:53:45.595Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:53:45.865Z] ---> e07f214f34be [2023-02-15T00:53:45.865Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:53:46.457Z] ---> 02642dcf2455 [2023-02-15T00:53:46.457Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:53:46.729Z] ---> Running in d81d4268cfb8 [2023-02-15T00:53:46.999Z] Removing intermediate container d81d4268cfb8 [2023-02-15T00:53:46.999Z] ---> d87a2ba9b74c [2023-02-15T00:53:46.999Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:53:46.999Z] ---> Running in ee266c16e339 [2023-02-15T00:53:47.283Z] Removing intermediate container ee266c16e339 [2023-02-15T00:53:47.284Z] ---> 563766f0e8c0 [2023-02-15T00:53:47.284Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:53:47.555Z] ---> Running in b8b8e88f1f5a [2023-02-15T00:53:47.829Z] Removing intermediate container b8b8e88f1f5a [2023-02-15T00:53:47.829Z] ---> 494a2ed6b2f0 [2023-02-15T00:53:47.829Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T00:53:47.829Z] ---> Running in 1bbbe40e2d6c [2023-02-15T00:53:48.424Z] Removing intermediate container 1bbbe40e2d6c [2023-02-15T00:53:48.424Z] ---> 263ba4757f20 [2023-02-15T00:53:48.424Z] Step 24/25 : LABEL git_sha=dbc214a4a69842ccb2acaee003160178485acaff [2023-02-15T00:53:48.424Z] ---> Running in 6e4c6c15fdec [2023-02-15T00:53:48.696Z] Removing intermediate container 6e4c6c15fdec [2023-02-15T00:53:48.696Z] ---> 8327236e0d26 [2023-02-15T00:53:48.696Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T00:53:48.696Z] ---> Running in cde1ccb90121 [2023-02-15T00:53:49.291Z] Removing intermediate container cde1ccb90121 [2023-02-15T00:53:49.291Z] ---> fec27000d738 [2023-02-15T00:53:49.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:53:49.291Z] Successfully built fec27000d738 [2023-02-15T00:53:49.291Z] 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-02-15T00:53:50.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:53:50.129Z] [2023-02-15T00:53:50.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:50.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:53:50.835Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:53:50.835Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:53:50.835Z] 04944245beec: Pulling fs layer [2023-02-15T00:53:50.835Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:53:50.835Z] 765212b225bb: Pulling fs layer [2023-02-15T00:53:50.835Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:53:50.835Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:53:50.835Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:53:50.835Z] 765212b225bb: Waiting [2023-02-15T00:53:50.835Z] f23df028b6ca: Waiting [2023-02-15T00:53:50.835Z] d65c8cfc05b1: Waiting [2023-02-15T00:53:50.835Z] 2437ff75d9bd: Waiting [2023-02-15T00:53:50.835Z] 04944245beec: Verifying Checksum [2023-02-15T00:53:50.835Z] 04944245beec: Download complete [2023-02-15T00:53:50.835Z] 765212b225bb: Verifying Checksum [2023-02-15T00:53:50.835Z] 765212b225bb: Download complete [2023-02-15T00:53:51.107Z] f23df028b6ca: Verifying Checksum [2023-02-15T00:53:51.107Z] f23df028b6ca: Download complete [2023-02-15T00:53:51.107Z] d65c8cfc05b1: Download complete [2023-02-15T00:53:51.107Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:53:51.107Z] 699f458cf7ca: Download complete [2023-02-15T00:53:51.704Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T00:53:51.704Z] 8998bd30e6a1: Download complete [2023-02-15T00:53:54.316Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:53:54.317Z] 2437ff75d9bd: Download complete [2023-02-15T00:53:56.928Z] 8998bd30e6a1: Pull complete [2023-02-15T00:53:57.518Z] 04944245beec: Pull complete [2023-02-15T00:53:58.943Z] 699f458cf7ca: Pull complete [2023-02-15T00:53:59.217Z] 765212b225bb: Pull complete [2023-02-15T00:54:00.192Z] f23df028b6ca: Pull complete [2023-02-15T00:54:00.464Z] d65c8cfc05b1: Pull complete [2023-02-15T00:54:15.516Z] 2437ff75d9bd: Pull complete [2023-02-15T00:54:15.516Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:54:15.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:54:15.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:54:15.884Z] prd-ubuntu20.04-docker-arm64-4c-16g-5961 does not seem to be running inside a container [2023-02-15T00:54:15.975Z] $ 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-02-15T00:54:18.945Z] $ docker top 2669b334af3fd7c4f972a33822faec9d0aa5f9227d2e90681085993b03367420 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:19.918Z] ---> job-cost.sh [2023-02-15T00:54:19.918Z] lf-activate-venv: SKIPPING [2023-02-15T00:54:19.918Z] INFO: No Stack... [2023-02-15T00:54:20.889Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:54:21.475Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:54:23.422Z] + + cut -d, -f6 [2023-02-15T00:54:23.422Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-02-15T00:54:23.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [2023-02-15T00:54:23.545Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] did not exist. Created. [2023-02-15T00:54:23.545Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:54:24.286Z] /w/workspace/device-rest-go/1@tmp/durable-4559b966/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:54:24.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:54:25.041Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:54:25.095Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:54:25.114Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-253-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:54:25.192Z] $ docker stop --time=1 2669b334af3fd7c4f972a33822faec9d0aa5f9227d2e90681085993b03367420 [2023-02-15T00:54:26.746Z] $ docker rm -f --volumes 2669b334af3fd7c4f972a33822faec9d0aa5f9227d2e90681085993b03367420 [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-02-15T00:54:27.689Z] provisioning config files... [2023-02-15T00:54:27.697Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config10339005331542103233tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:54:28.023Z] + set +x [2023-02-15T00:54:28.023Z] + curl -s https://codecov.io/bash [2023-02-15T00:54:28.023Z] + bash -s -- [2023-02-15T00:54:28.023Z] [2023-02-15T00:54:28.023Z] _____ _ [2023-02-15T00:54:28.023Z] / ____| | | [2023-02-15T00:54:28.023Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:54:28.023Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:54:28.023Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:54:28.023Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:54:28.023Z] Bash-1.0.6 [2023-02-15T00:54:28.023Z] [2023-02-15T00:54:28.023Z] [2023-02-15T00:54:28.023Z] ==> git version 2.25.1 found [2023-02-15T00:54:28.023Z] ==> 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-02-15T00:54:28.023Z] Release-Date: 2020-01-08 [2023-02-15T00:54:28.023Z] 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-02-15T00:54:28.023Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:54:28.023Z] ==> Jenkins CI detected. [2023-02-15T00:54:28.023Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-253 [2023-02-15T00:54:28.023Z] project root: . [2023-02-15T00:54:28.023Z] --> token set from env [2023-02-15T00:54:28.023Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:54:28.023Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:54:28.023Z] ==> Python coveragepy not found [2023-02-15T00:54:28.023Z] ==> Searching for coverage reports in: [2023-02-15T00:54:28.023Z] + . [2023-02-15T00:54:28.023Z] -> Found 1 reports [2023-02-15T00:54:28.023Z] ==> Detecting git/mercurial file structure [2023-02-15T00:54:28.023Z] ==> Reading reports [2023-02-15T00:54:28.023Z] + ./coverage.out bytes=13744 [2023-02-15T00:54:28.023Z] ==> Appending adjustments [2023-02-15T00:54:28.023Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:54:28.281Z] + Found adjustments [2023-02-15T00:54:28.281Z] ==> Gzipping contents [2023-02-15T00:54:28.281Z] 4.0K /tmp/codecov.mlLO8R.gz [2023-02-15T00:54:28.281Z] ==> Uploading reports [2023-02-15T00:54:28.281Z] url: https://codecov.io [2023-02-15T00:54:28.281Z] query: branch=PR-253&commit=dbc214a4a69842ccb2acaee003160178485acaff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-253%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=253&job=&cmd_args= [2023-02-15T00:54:28.281Z] -> Pinging Codecov [2023-02-15T00:54:28.281Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-253&commit=dbc214a4a69842ccb2acaee003160178485acaff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-253%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=253&job=&cmd_args= [2023-02-15T00:54:28.281Z] -> Uploading to [2023-02-15T00:54:28.281Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/dbc214a4a69842ccb2acaee003160178485acaff/c619a152-0553-4b1d-8c74-64c48f8430e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T005428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee97fffda35fecea2c3e41331ad7febd1a2d938fbb80abfde148653658be29a5 [2023-02-15T00:54:28.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:54:28.281Z] Dload Upload Total Spent Left Speed [2023-02-15T00:54:28.540Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 11633 --:--:-- --:--:-- --:--:-- 11578 100 2443 0 0 100 2443 0 8663 --:--:-- --:--:-- --:--:-- 8632 [2023-02-15T00:54:28.540Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/dbc214a4a69842ccb2acaee003160178485acaff [Pipeline] } [2023-02-15T00:54:28.568Z] 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-02-15T00:54:30.468Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-253/archives ] [2023-02-15T00:54:30.468Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-253/archives [2023-02-15T00:54:30.468Z] total 16 [2023-02-15T00:54:30.468Z] drwxr-xr-x 3 root root 4096 Feb 15 00:44 . [2023-02-15T00:54:30.468Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 .. [2023-02-15T00:54:30.468Z] drwxr-xr-x 2 root root 4096 Feb 15 00:44 cost [2023-02-15T00:54:30.468Z] -rw-r--r-- 1 root root 86 Feb 15 00:44 cost.csv [2023-02-15T00:54:30.468Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-253/archives [2023-02-15T00:54:30.468Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-253/archives [2023-02-15T00:54:30.468Z] total 16 [2023-02-15T00:54:30.468Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:44 . [2023-02-15T00:54:30.468Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 .. [2023-02-15T00:54:30.468Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:44 cost [2023-02-15T00:54:30.468Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:30.798Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:31.694Z] ---> package-listing.sh [2023-02-15T00:54:31.694Z] ++ facter osfamily [2023-02-15T00:54:31.694Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:54:31.953Z] + OS_FAMILY=debian [2023-02-15T00:54:31.953Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-253 [2023-02-15T00:54:31.953Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:54:31.953Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:54:31.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:54:31.953Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:54:31.953Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-253 ']' [2023-02-15T00:54:31.953Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:54:31.953Z] + case "${OS_FAMILY}" in [2023-02-15T00:54:31.953Z] + dpkg -l [2023-02-15T00:54:31.953Z] + grep '^ii' [2023-02-15T00:54:31.953Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:54:31.954Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:54:31.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:54:31.954Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-253 ']' [2023-02-15T00:54:31.954Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-253/archives/ [2023-02-15T00:54:31.954Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-253/archives/ [Pipeline] echo [2023-02-15T00:54:31.985Z] 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-253/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:54:32.277Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:32.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:54:32.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:54:33.045Z] prd-ubuntu20.04-docker-8c-8g-5950 does not seem to be running inside a container [2023-02-15T00:54:33.069Z] $ 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-253/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-253 -v /w/workspace/gexfoundry_device-rest-go_PR-253:/w/workspace/gexfoundry_device-rest-go_PR-253:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-253@tmp:/w/workspace/gexfoundry_device-rest-go_PR-253@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-02-15T00:54:33.249Z] $ docker top 43deb30025684c9706e57f8324b765c7a0ad2a994f549351ce04611af4935385 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:54:33.639Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:54:33.947Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:54:34.260Z] + ls /var/log/sa-host [2023-02-15T00:54:34.260Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:54:34.389Z] provisioning config files... [2023-02-15T00:54:34.396Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-253@tmp/config11970296423762010066tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:54:34.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:34.773Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:54:34.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:35.198Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:54:35.232Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:35.540Z] ---> sudo-logs.sh [2023-02-15T00:54:35.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:54:35.628Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:35.941Z] ---> job-cost.sh [2023-02-15T00:54:35.941Z] lf-activate-venv: SKIPPING [2023-02-15T00:54:35.941Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:54:35.941Z] INFO: Retrieving Stack Cost... [2023-02-15T00:54:36.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:54:36.774Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:54:36.803Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:37.114Z] ---> logs-deploy.sh [2023-02-15T00:54:37.114Z] lf-activate-venv: SKIPPING [2023-02-15T00:54:37.114Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-253/1 [2023-02-15T00:54:37.114Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:54:38.055Z] Archives upload complete. [2023-02-15T00:54:38.055Z] INFO: archiving logs to Nexus [2023-02-15T00:54:38.629Z] ---> uname -a: [2023-02-15T00:54:38.629Z] Linux prd-ubuntu20-04-docker-8c-8g-5950 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z] ---> lscpu: [2023-02-15T00:54:38.629Z] Architecture: x86_64 [2023-02-15T00:54:38.629Z] CPU op-mode(s): 32-bit, 64-bit [2023-02-15T00:54:38.629Z] Byte Order: Little Endian [2023-02-15T00:54:38.629Z] Address sizes: 40 bits physical, 48 bits virtual [2023-02-15T00:54:38.629Z] CPU(s): 8 [2023-02-15T00:54:38.629Z] On-line CPU(s) list: 0-7 [2023-02-15T00:54:38.629Z] Thread(s) per core: 1 [2023-02-15T00:54:38.629Z] Core(s) per socket: 1 [2023-02-15T00:54:38.629Z] Socket(s): 8 [2023-02-15T00:54:38.629Z] NUMA node(s): 1 [2023-02-15T00:54:38.629Z] Vendor ID: AuthenticAMD [2023-02-15T00:54:38.629Z] CPU family: 23 [2023-02-15T00:54:38.629Z] Model: 49 [2023-02-15T00:54:38.629Z] Model name: AMD EPYC-Rome Processor [2023-02-15T00:54:38.629Z] Stepping: 0 [2023-02-15T00:54:38.629Z] CPU MHz: 2799.998 [2023-02-15T00:54:38.629Z] BogoMIPS: 5599.99 [2023-02-15T00:54:38.629Z] Virtualization: AMD-V [2023-02-15T00:54:38.629Z] Hypervisor vendor: KVM [2023-02-15T00:54:38.629Z] Virtualization type: full [2023-02-15T00:54:38.629Z] L1d cache: 256 KiB [2023-02-15T00:54:38.629Z] L1i cache: 256 KiB [2023-02-15T00:54:38.629Z] L2 cache: 4 MiB [2023-02-15T00:54:38.629Z] L3 cache: 128 MiB [2023-02-15T00:54:38.629Z] NUMA node0 CPU(s): 0-7 [2023-02-15T00:54:38.629Z] Vulnerability Itlb multihit: Not affected [2023-02-15T00:54:38.629Z] Vulnerability L1tf: Not affected [2023-02-15T00:54:38.629Z] Vulnerability Mds: Not affected [2023-02-15T00:54:38.629Z] Vulnerability Meltdown: Not affected [2023-02-15T00:54:38.629Z] Vulnerability Mmio stale data: Not affected [2023-02-15T00:54:38.629Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-02-15T00:54:38.629Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-02-15T00:54:38.629Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-02-15T00:54:38.629Z] Vulnerability Srbds: Not affected [2023-02-15T00:54:38.629Z] Vulnerability Tsx async abort: Not affected [2023-02-15T00:54:38.629Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z] ---> nproc: [2023-02-15T00:54:38.629Z] 8 [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z] ---> df -h: [2023-02-15T00:54:38.629Z] Filesystem Size Used Avail Use% Mounted on [2023-02-15T00:54:38.629Z] overlay 155G 12G 144G 8% / [2023-02-15T00:54:38.629Z] tmpfs 64M 0 64M 0% /dev [2023-02-15T00:54:38.629Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-02-15T00:54:38.629Z] shm 64M 0 64M 0% /dev/shm [2023-02-15T00:54:38.629Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-02-15T00:54:38.629Z] [2023-02-15T00:54:38.629Z]