Pull request #208 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 726a0862c151fa004b64a68a5edba4d6c226587e+573a93dc585fd2e24dadc7fb4d4ae830a990380c (af208766ccc0a3e6946ec161ff7c1778117efd41) 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-ssh5783420839647942098.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13997465443545275248.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-208/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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8827637574025974679.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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10374308895476769276.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11074662983846855531.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-208/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-208/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6889678848214089354.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Running on prd-ubuntu20.04-docker-8c-8g-21701 in /w/workspace/gexfoundry_device-rest-go_PR-208 [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-208 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 573a93dc585fd2e24dadc7fb4d4ae830a990380c into PR head commit 726a0862c151fa004b64a68a5edba4d6c226587e Merge succeeded, producing 726a0862c151fa004b64a68a5edba4d6c226587e Checking out Revision 726a0862c151fa004b64a68a5edba4d6c226587e (PR-208) > 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/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # 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 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-01T20:04:09.749Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-01T20:04:09.917Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-01T20:04:10.016Z] ========================================================= [2022-08-01T20:04:10.016Z] EdgeX Global Pipelines Version Info [2022-08-01T20:04:10.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:04:10.837Z] ------------------- [2022-08-01T20:04:10.838Z] stable info: [2022-08-01T20:04:10.838Z] ------------------- [2022-08-01T20:04:10.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T20:04:10.838Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T20:04:10.838Z] Message: update stable to v1.0.238 [2022-08-01T20:04:11.411Z] ------------------- [2022-08-01T20:04:11.411Z] experimental info: [2022-08-01T20:04:11.411Z] ------------------- [2022-08-01T20:04:11.411Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T20:04:11.411Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T20:04:11.411Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-01T20:04:11.756Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-01T20:04:11.794Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-01T20:04:11.830Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-01T20:04:11.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-01T20:04:11.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-01T20:04:11.934Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-01T20:04:11.968Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-01T20:04:12.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-01T20:04:12.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-01T20:04:12.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-01T20:04:12.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-01T20:04:12.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-01T20:04:12.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-01T20:04:12.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-01T20:04:12.256Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T20:04:12.291Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T20:04:12.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T20:04:12.359Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T20:04:12.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-01T20:04:12.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-01T20:04:12.468Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-01T20:04:12.503Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-01T20:04:12.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-01T20:04:12.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-01T20:04:12.605Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-01T20:04:12.639Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-01T20:04:12.673Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-01T20:04:12.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo [2022-08-01T20:04:12.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo [2022-08-01T20:04:12.794Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo [2022-08-01T20:04:12.834Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo [2022-08-01T20:04:12.872Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 726a086 [Pipeline] echo [2022-08-01T20:04:12.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T20:04:13.029Z] provisioning config files... [2022-08-01T20:04:13.045Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config6719683641889359747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:04:13.398Z] ---> docker-login.sh [2022-08-01T20:04:13.398Z] nexus3.edgexfoundry.org:10001 [2022-08-01T20:04:13.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:13.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:13.923Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:13.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:13.923Z] [2022-08-01T20:04:13.923Z] Login Succeeded [2022-08-01T20:04:13.923Z] nexus3.edgexfoundry.org:10002 [2022-08-01T20:04:14.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:14.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:14.186Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:14.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:14.186Z] [2022-08-01T20:04:14.186Z] Login Succeeded [2022-08-01T20:04:14.186Z] nexus3.edgexfoundry.org:10003 [2022-08-01T20:04:14.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:14.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:14.449Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:14.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:14.449Z] [2022-08-01T20:04:14.449Z] Login Succeeded [2022-08-01T20:04:14.449Z] nexus3.edgexfoundry.org:10004 [2022-08-01T20:04:14.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:14.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:14.450Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:14.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:14.450Z] [2022-08-01T20:04:14.450Z] Login Succeeded [2022-08-01T20:04:14.450Z] docker.io [2022-08-01T20:04:14.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:15.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:15.029Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:15.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:15.029Z] [2022-08-01T20:04:15.029Z] Login Succeeded [2022-08-01T20:04:15.029Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T20:04:15.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-01T20:04:15.682Z] + git rev-list -1 --merges 726a0862c151fa004b64a68a5edba4d6c226587e~1..726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo [2022-08-01T20:04:15.732Z] -----------> git rev-list -1 --merges 726a0862c151fa004b64a68a5edba4d6c226587e~1..726a0862c151fa004b64a68a5edba4d6c226587e 726a0862c151fa004b64a68a5edba4d6c226587e [false] [Pipeline] sh [2022-08-01T20:04:16.049Z] + git log --format=format:%s -1 726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo [2022-08-01T20:04:16.088Z] ========================================================= [2022-08-01T20:04:16.088Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-01T20:04:16.088Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T20:04:16.516Z] + git log --format=format:%s -1 726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] echo [2022-08-01T20:04:16.550Z] [semverPrep] GIT_COMMIT: 726a0862c151fa004b64a68a5edba4d6c226587e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-01T20:04:16.582Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-01T20:04:17.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T20:04:17.008Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-01T20:04:17.008Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-01T20:04:17.008Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-01T20:04:17.008Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-01T20:04:17.008Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-01T20:04:17.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:04:17.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T20:04:17.524Z] [2022-08-01T20:04:17.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:04:17.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T20:04:17.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-01T20:04:17.906Z] b85a868b505f: Pulling fs layer [2022-08-01T20:04:17.906Z] e2be974225ed: Pulling fs layer [2022-08-01T20:04:17.906Z] 339a4e72a1f5: Pulling fs layer [2022-08-01T20:04:17.906Z] 988bab9f4d93: Pulling fs layer [2022-08-01T20:04:17.906Z] 1469e6f7b9e6: Pulling fs layer [2022-08-01T20:04:17.906Z] eaf3925da568: Pulling fs layer [2022-08-01T20:04:17.906Z] bab4dde63d76: Pulling fs layer [2022-08-01T20:04:17.906Z] bde34c3a00c8: Pulling fs layer [2022-08-01T20:04:17.906Z] b352a97aabf1: Pulling fs layer [2022-08-01T20:04:17.906Z] 4872d77fe225: Pulling fs layer [2022-08-01T20:04:17.906Z] 5851b861e8e6: Pulling fs layer [2022-08-01T20:04:17.906Z] bab4dde63d76: Waiting [2022-08-01T20:04:17.906Z] bde34c3a00c8: Waiting [2022-08-01T20:04:17.906Z] b352a97aabf1: Waiting [2022-08-01T20:04:17.906Z] 4872d77fe225: Waiting [2022-08-01T20:04:17.906Z] 5851b861e8e6: Waiting [2022-08-01T20:04:17.906Z] 988bab9f4d93: Waiting [2022-08-01T20:04:17.906Z] 1469e6f7b9e6: Waiting [2022-08-01T20:04:17.906Z] eaf3925da568: Waiting [2022-08-01T20:04:17.906Z] e2be974225ed: Verifying Checksum [2022-08-01T20:04:17.906Z] e2be974225ed: Download complete [2022-08-01T20:04:17.906Z] 988bab9f4d93: Verifying Checksum [2022-08-01T20:04:17.906Z] 988bab9f4d93: Download complete [2022-08-01T20:04:18.169Z] 1469e6f7b9e6: Verifying Checksum [2022-08-01T20:04:18.169Z] 1469e6f7b9e6: Download complete [2022-08-01T20:04:18.169Z] 339a4e72a1f5: Verifying Checksum [2022-08-01T20:04:18.169Z] 339a4e72a1f5: Download complete [2022-08-01T20:04:18.169Z] eaf3925da568: Verifying Checksum [2022-08-01T20:04:18.169Z] eaf3925da568: Download complete [2022-08-01T20:04:18.169Z] bde34c3a00c8: Download complete [2022-08-01T20:04:18.169Z] b352a97aabf1: Download complete [2022-08-01T20:04:18.169Z] 4872d77fe225: Download complete [2022-08-01T20:04:18.169Z] 5851b861e8e6: Verifying Checksum [2022-08-01T20:04:18.169Z] 5851b861e8e6: Download complete [2022-08-01T20:04:18.169Z] b85a868b505f: Verifying Checksum [2022-08-01T20:04:18.169Z] b85a868b505f: Download complete [2022-08-01T20:04:18.429Z] bab4dde63d76: Verifying Checksum [2022-08-01T20:04:19.372Z] b85a868b505f: Pull complete [2022-08-01T20:04:19.632Z] e2be974225ed: Pull complete [2022-08-01T20:04:19.893Z] 339a4e72a1f5: Pull complete [2022-08-01T20:04:20.154Z] 988bab9f4d93: Pull complete [2022-08-01T20:04:20.414Z] 1469e6f7b9e6: Pull complete [2022-08-01T20:04:20.414Z] eaf3925da568: Pull complete [2022-08-01T20:04:22.336Z] bab4dde63d76: Pull complete [2022-08-01T20:04:22.336Z] bde34c3a00c8: Pull complete [2022-08-01T20:04:22.600Z] b352a97aabf1: Pull complete [2022-08-01T20:04:22.600Z] 4872d77fe225: Pull complete [2022-08-01T20:04:22.600Z] 5851b861e8e6: Pull complete [2022-08-01T20:04:22.600Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-01T20:04:22.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T20:04:22.600Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:04:22.833Z] prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container [2022-08-01T20:04:22.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-01T20:04:24.348Z] $ docker top 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 -eo pid,comm [2022-08-01T20:04:24.407Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-01T20:04:24.407Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T20:04:24.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T20:04:24.529Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T20:04:24.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T20:04:24.666Z] $ docker exec 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent [2022-08-01T20:04:24.797Z] SSH_AUTH_SOCK=/tmp/ssh-f4K86ni8lUN4/agent.34 [2022-08-01T20:04:24.797Z] SSH_AGENT_PID=40 [2022-08-01T20:04:24.803Z] Running ssh-add (command line suppressed) [2022-08-01T20:04:24.918Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8149550404362866339.key (/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8149550404362866339.key) [2022-08-01T20:04:24.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T20:04:25.266Z] + git tag --points-at HEAD [Pipeline] } [2022-08-01T20:04:25.298Z] $ docker exec --env ******** --env ******** 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent -k [2022-08-01T20:04:25.425Z] unset SSH_AUTH_SOCK; [2022-08-01T20:04:25.425Z] unset SSH_AGENT_PID; [2022-08-01T20:04:25.425Z] echo Agent pid 40 killed; [2022-08-01T20:04:25.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-01T20:04:25.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T20:04:25.519Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T20:04:25.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T20:04:25.666Z] $ docker exec 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent [2022-08-01T20:04:25.790Z] SSH_AUTH_SOCK=/tmp/ssh-oS2UaMC7CK45/agent.73 [2022-08-01T20:04:25.790Z] SSH_AGENT_PID=79 [2022-08-01T20:04:25.796Z] Running ssh-add (command line suppressed) [2022-08-01T20:04:25.912Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8471160779914845370.key (/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/private_key_8471160779914845370.key) [2022-08-01T20:04:25.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T20:04:26.262Z] + git semver init [2022-08-01T20:04:26.523Z] 2022-08-01 20:04:26,468 [run_init] DEBUG init version:0.0.0 force:False [2022-08-01T20:04:26.523Z] 2022-08-01 20:04:26,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-208/.semver [2022-08-01T20:04:26.523Z] 2022-08-01 20:04:26,469 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-208/.semver [2022-08-01T20:04:26.523Z] 2022-08-01 20:04:26,469 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-208/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-208, universal_newlines=False, shell=None, istream=None) [2022-08-01T20:04:27.466Z] 2022-08-01 20:04:27,359 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-208/.git/info/exclude [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,360 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-208/.semver/PR-208 with force:False [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,360 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-208/.semver/PR-208 [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,364 [execute] INFO git cat-file --batch-check [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,370 [execute] INFO git cat-file --batch [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T20:04:27.467Z] 2022-08-01 20:04:27,375 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-208/.semver/PR-208 [2022-08-01T20:04:27.467Z] 0.0.0 [Pipeline] } [2022-08-01T20:04:27.501Z] $ docker exec --env ******** --env ******** 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 ssh-agent -k [2022-08-01T20:04:27.615Z] unset SSH_AUTH_SOCK; [2022-08-01T20:04:27.615Z] unset SSH_AGENT_PID; [2022-08-01T20:04:27.615Z] echo Agent pid 79 killed; [2022-08-01T20:04:27.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T20:04:28.062Z] + git semver [Pipeline] } [2022-08-01T20:04:28.360Z] $ docker stop --time=1 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 [2022-08-01T20:04:29.697Z] $ docker rm -f 289ec63e820897a02b8b45f2abd4e3bf4495a65e12a1e8d0debbc687477ffb04 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T20:04:30.124Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-01T20:04:30.440Z] Stashed 1 file(s) [Pipeline] echo [2022-08-01T20:04:30.457Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T20:04:31.076Z] provisioning config files... [2022-08-01T20:04:31.090Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config1026307911499354921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:04:31.444Z] ---> docker-login.sh [2022-08-01T20:04:31.444Z] nexus3.edgexfoundry.org:10001 [2022-08-01T20:04:31.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:31.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:31.444Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:31.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:31.444Z] [2022-08-01T20:04:31.444Z] Login Succeeded [2022-08-01T20:04:31.444Z] nexus3.edgexfoundry.org:10002 [2022-08-01T20:04:31.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:31.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:31.704Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:31.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:31.704Z] [2022-08-01T20:04:31.704Z] Login Succeeded [2022-08-01T20:04:31.704Z] nexus3.edgexfoundry.org:10003 [2022-08-01T20:04:31.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:31.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:31.704Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:31.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:31.704Z] [2022-08-01T20:04:31.704Z] Login Succeeded [2022-08-01T20:04:31.704Z] nexus3.edgexfoundry.org:10004 [2022-08-01T20:04:31.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:31.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:31.964Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:31.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:31.964Z] [2022-08-01T20:04:31.964Z] Login Succeeded [2022-08-01T20:04:31.964Z] docker.io [2022-08-01T20:04:31.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:04:32.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:04:32.232Z] Configure a credential helper to remove this warning. See [2022-08-01T20:04:32.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:04:32.232Z] [2022-08-01T20:04:32.232Z] Login Succeeded [2022-08-01T20:04:32.232Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T20:04:32.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T20:04:32.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T20:04:32.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T20:04:32.529Z] ========================================================= [2022-08-01T20:04:32.529Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-01T20:04:32.529Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:04:33.036Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-01T20:04:33.036Z] Sending build context to Docker daemon 10.69MB [2022-08-01T20:04:33.036Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T20:04:33.036Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-01T20:04:33.036Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-01T20:04:33.036Z] 2408cc74d12b: Pulling fs layer [2022-08-01T20:04:33.036Z] ea60b727a1ce: Pulling fs layer [2022-08-01T20:04:33.036Z] 30c4a7721957: Pulling fs layer [2022-08-01T20:04:33.036Z] 370296b7ddb6: Pulling fs layer [2022-08-01T20:04:33.036Z] 7c6cee850709: Pulling fs layer [2022-08-01T20:04:33.036Z] 39a5fcdaea64: Pulling fs layer [2022-08-01T20:04:33.036Z] d94ebbe4e438: Pulling fs layer [2022-08-01T20:04:33.036Z] bcfd1f05c69d: Pulling fs layer [2022-08-01T20:04:33.036Z] 59ccb84bbe0f: Pulling fs layer [2022-08-01T20:04:33.036Z] 370296b7ddb6: Waiting [2022-08-01T20:04:33.036Z] 59ccb84bbe0f: Waiting [2022-08-01T20:04:33.036Z] 39a5fcdaea64: Waiting [2022-08-01T20:04:33.036Z] d94ebbe4e438: Waiting [2022-08-01T20:04:33.037Z] bcfd1f05c69d: Waiting [2022-08-01T20:04:33.037Z] 30c4a7721957: Verifying Checksum [2022-08-01T20:04:33.037Z] 30c4a7721957: Download complete [2022-08-01T20:04:33.037Z] ea60b727a1ce: Verifying Checksum [2022-08-01T20:04:33.037Z] ea60b727a1ce: Download complete [2022-08-01T20:04:33.306Z] 7c6cee850709: Verifying Checksum [2022-08-01T20:04:33.306Z] 7c6cee850709: Download complete [2022-08-01T20:04:33.306Z] 39a5fcdaea64: Verifying Checksum [2022-08-01T20:04:33.306Z] 39a5fcdaea64: Download complete [2022-08-01T20:04:33.306Z] 2408cc74d12b: Verifying Checksum [2022-08-01T20:04:33.306Z] 2408cc74d12b: Download complete [2022-08-01T20:04:33.306Z] d94ebbe4e438: Verifying Checksum [2022-08-01T20:04:33.306Z] d94ebbe4e438: Download complete [2022-08-01T20:04:33.306Z] 2408cc74d12b: Pull complete [2022-08-01T20:04:33.581Z] ea60b727a1ce: Pull complete [2022-08-01T20:04:33.581Z] 30c4a7721957: Pull complete [2022-08-01T20:04:33.850Z] 59ccb84bbe0f: Verifying Checksum [2022-08-01T20:04:33.850Z] 59ccb84bbe0f: Download complete [2022-08-01T20:04:34.113Z] bcfd1f05c69d: Verifying Checksum [2022-08-01T20:04:34.113Z] bcfd1f05c69d: Download complete [2022-08-01T20:04:34.113Z] 370296b7ddb6: Verifying Checksum [2022-08-01T20:04:34.113Z] 370296b7ddb6: Download complete [2022-08-01T20:04:38.326Z] 370296b7ddb6: Pull complete [2022-08-01T20:04:38.326Z] 7c6cee850709: Pull complete [2022-08-01T20:04:38.326Z] 39a5fcdaea64: Pull complete [2022-08-01T20:04:38.588Z] d94ebbe4e438: Pull complete [2022-08-01T20:04:40.496Z] bcfd1f05c69d: Pull complete [2022-08-01T20:04:41.436Z] 59ccb84bbe0f: Pull complete [2022-08-01T20:04:41.436Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-01T20:04:41.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-01T20:04:41.436Z] ---> a4fb48ad2a94 [2022-08-01T20:04:41.436Z] Step 3/12 : ARG MAKE='make build' [2022-08-01T20:04:43.363Z] ---> Running in 10a76a26df16 [2022-08-01T20:04:43.363Z] Removing intermediate container 10a76a26df16 [2022-08-01T20:04:43.363Z] ---> 372b33aafd4a [2022-08-01T20:04:43.363Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T20:04:43.363Z] ---> Running in b4b6ec7712d6 [2022-08-01T20:04:43.622Z] Removing intermediate container b4b6ec7712d6 [2022-08-01T20:04:43.622Z] ---> 83bc4d066b7f [2022-08-01T20:04:43.622Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T20:04:43.622Z] ---> Running in ffbec2dee878 [2022-08-01T20:04:43.622Z] Removing intermediate container ffbec2dee878 [2022-08-01T20:04:43.622Z] ---> 523d6b2a0cbc [2022-08-01T20:04:43.623Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T20:04:43.623Z] ---> Running in b58576e52bb8 [2022-08-01T20:04:44.192Z] Removing intermediate container b58576e52bb8 [2022-08-01T20:04:44.192Z] ---> 462648356a11 [2022-08-01T20:04:44.192Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T20:04:44.192Z] ---> Running in e56d7b2d58b0 [2022-08-01T20:04:44.451Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T20:04:45.889Z] Still waiting to schedule task [2022-08-01T20:04:45.889Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-01T20:04:46.366Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T20:04:46.366Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T20:04:46.366Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-01T20:04:46.630Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T20:04:46.631Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T20:04:46.890Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T20:04:46.890Z] OK: 216 MiB in 55 packages [2022-08-01T20:04:47.152Z] Removing intermediate container e56d7b2d58b0 [2022-08-01T20:04:47.152Z] ---> 7c4bf81076d8 [2022-08-01T20:04:47.152Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-01T20:04:47.152Z] ---> Running in e56c84e9a261 [2022-08-01T20:04:47.412Z] Removing intermediate container e56c84e9a261 [2022-08-01T20:04:47.412Z] ---> a03efce057f5 [2022-08-01T20:04:47.412Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-01T20:04:47.412Z] ---> 045b159fd130 [2022-08-01T20:04:47.412Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T20:04:47.412Z] ---> Running in ea3fb8061dd9 [2022-08-01T20:05:10.539Z] Removing intermediate container ea3fb8061dd9 [2022-08-01T20:05:10.539Z] ---> 71b1e87663da [2022-08-01T20:05:10.539Z] Step 11/12 : COPY . . [2022-08-01T20:05:10.539Z] ---> b623799f3ad5 [2022-08-01T20:05:10.539Z] Step 12/12 : RUN $MAKE [2022-08-01T20:05:10.539Z] ---> Running in c0f10320ba6c [2022-08-01T20:05:10.539Z] noop [2022-08-01T20:05:10.539Z] Removing intermediate container c0f10320ba6c [2022-08-01T20:05:10.539Z] ---> 56890c3459af [2022-08-01T20:05:10.539Z] Successfully built 56890c3459af [2022-08-01T20:05:10.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:05:10.990Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T20:05:10.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:05:11.141Z] prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container [2022-08-01T20:05:11.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-01T20:05:11.551Z] $ docker top 1aeeaaa3a93d87e60c3c810fee6e7ce0be2aa9929c38b3487ba4c02322ba60b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T20:05:11.954Z] + go version [2022-08-01T20:05:11.954Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-01T20:05:11.987Z] $ docker stop --time=1 1aeeaaa3a93d87e60c3c810fee6e7ce0be2aa9929c38b3487ba4c02322ba60b2 [2022-08-01T20:05:13.281Z] $ docker rm -f 1aeeaaa3a93d87e60c3c810fee6e7ce0be2aa9929c38b3487ba4c02322ba60b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:05:14.003Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T20:05:14.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:05:14.160Z] prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container [2022-08-01T20:05:14.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-01T20:05:14.589Z] $ docker top a9d28508daa139a16f60faccc1b1dcf114de821f4e0e367d2fbd2ecf74f4e47d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T20:05:14.986Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-208 [Pipeline] fileExists [Pipeline] sh [2022-08-01T20:05:15.352Z] + make test [2022-08-01T20:05:15.352Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-01T20:05:15.610Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-01T20:05:25.597Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-01T20:05:25.597Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-08-01T20:05:32.168Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-01T20:05:32.168Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T20:05:34.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T20:05:34.708Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T20:05:34.708Z] ./bin/test-attribution-txt.sh [2022-08-01T20:05:34.708Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T20:05:34.708Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T20:05:34.708Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T20:05:34.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T20:05:34.783Z] $ docker stop --time=1 a9d28508daa139a16f60faccc1b1dcf114de821f4e0e367d2fbd2ecf74f4e47d [2022-08-01T20:05:36.558Z] $ docker rm -f a9d28508daa139a16f60faccc1b1dcf114de821f4e0e367d2fbd2ecf74f4e47d [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T20:05:37.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T20:05:37.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-01T20:05:37.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T20:05:38.119Z] + ls -al . [2022-08-01T20:05:38.119Z] total 172 [2022-08-01T20:05:38.119Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 20:05 . [2022-08-01T20:05:38.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:04 .. [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 1 20:04 .dockerignore [2022-08-01T20:05:38.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 20:05 .git [2022-08-01T20:05:38.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:04 .github [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 20:04 .gitignore [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 20:04 .golangci.yml [2022-08-01T20:05:38.119Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 20:04 .semver [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 1 20:04 Attribution.txt [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 1 20:04 CHANGELOG.md [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 1 20:04 Dockerfile [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 20:04 GOVERNANCE.md [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 20:04 Jenkinsfile [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 20:04 LICENSE [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 1 20:04 Makefile [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 20:04 OWNERS.md [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 1 20:04 README.md [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 20:04 VERSION [2022-08-01T20:05:38.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:04 bin [2022-08-01T20:05:38.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:04 cmd [2022-08-01T20:05:38.119Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 1 20:05 coverage.out [2022-08-01T20:05:38.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:04 driver [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 1 20:04 go.mod [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 20:04 go.sum [2022-08-01T20:05:38.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:04 snap [2022-08-01T20:05:38.119Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 1 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:05:38.517Z] + 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=726a0862c151fa004b64a68a5edba4d6c226587e --label arch=amd64 --label version=0.0.0 . [2022-08-01T20:05:38.517Z] Sending build context to Docker daemon 10.7MB [2022-08-01T20:05:38.517Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T20:05:38.517Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-01T20:05:38.517Z] ---> 56890c3459af [2022-08-01T20:05:38.517Z] Step 3/25 : ARG MAKE='make build' [2022-08-01T20:05:38.776Z] ---> Running in dbe4d00be445 [2022-08-01T20:05:38.776Z] Removing intermediate container dbe4d00be445 [2022-08-01T20:05:38.776Z] ---> f5e083d7d41c [2022-08-01T20:05:38.776Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T20:05:38.776Z] ---> Running in 43578d2181ed [2022-08-01T20:05:38.776Z] Removing intermediate container 43578d2181ed [2022-08-01T20:05:38.776Z] ---> cf2bd7bdca65 [2022-08-01T20:05:38.776Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T20:05:38.776Z] ---> Running in 482053e731d0 [2022-08-01T20:05:39.035Z] Removing intermediate container 482053e731d0 [2022-08-01T20:05:39.035Z] ---> 8eef0fe5ef92 [2022-08-01T20:05:39.035Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T20:05:39.035Z] ---> Running in 504eb3208a50 [2022-08-01T20:05:39.602Z] Removing intermediate container 504eb3208a50 [2022-08-01T20:05:39.602Z] ---> dd32bf08de98 [2022-08-01T20:05:39.602Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T20:05:39.602Z] ---> Running in 4bab225110ba [2022-08-01T20:05:39.862Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T20:05:40.800Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T20:05:41.060Z] OK: 216 MiB in 55 packages [2022-08-01T20:05:41.320Z] Removing intermediate container 4bab225110ba [2022-08-01T20:05:41.320Z] ---> 131888f81e9d [2022-08-01T20:05:41.320Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-01T20:05:41.320Z] ---> Running in a4c9bd434d03 [2022-08-01T20:05:41.580Z] Removing intermediate container a4c9bd434d03 [2022-08-01T20:05:41.580Z] ---> 157d176f49d2 [2022-08-01T20:05:41.580Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-01T20:05:41.580Z] ---> 31103d32a049 [2022-08-01T20:05:41.580Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T20:05:41.580Z] ---> Running in 95d8d8948c9c [2022-08-01T20:05:42.519Z] Removing intermediate container 95d8d8948c9c [2022-08-01T20:05:42.519Z] ---> 2c483098b737 [2022-08-01T20:05:42.519Z] Step 11/25 : COPY . . [2022-08-01T20:05:42.519Z] ---> 0a275eefeb87 [2022-08-01T20:05:42.519Z] Step 12/25 : RUN $MAKE [2022-08-01T20:05:42.778Z] ---> Running in f6fb9f66502c [2022-08-01T20:05:43.037Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-01T20:06:01.147Z] Removing intermediate container f6fb9f66502c [2022-08-01T20:06:01.147Z] ---> c110ee70ebf4 [2022-08-01T20:06:01.147Z] Step 13/25 : FROM alpine:3.16 [2022-08-01T20:06:01.409Z] 3.16: Pulling from library/alpine [2022-08-01T20:06:01.670Z] 530afca65e2e: Pulling fs layer [2022-08-01T20:06:01.929Z] 530afca65e2e: Verifying Checksum [2022-08-01T20:06:01.929Z] 530afca65e2e: Download complete [2022-08-01T20:06:01.929Z] 530afca65e2e: Pull complete [2022-08-01T20:06:01.929Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-01T20:06:01.929Z] Status: Downloaded newer image for alpine:3.16 [2022-08-01T20:06:01.929Z] ---> d7d3d98c851f [2022-08-01T20:06:01.929Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-01T20:06:01.929Z] ---> Running in d1261a3be7e8 [2022-08-01T20:06:02.189Z] Removing intermediate container d1261a3be7e8 [2022-08-01T20:06:02.189Z] ---> 5e557453b120 [2022-08-01T20:06:02.189Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-01T20:06:02.189Z] ---> Running in 664da2e2fced [2022-08-01T20:06:02.189Z] Removing intermediate container 664da2e2fced [2022-08-01T20:06:02.189Z] ---> b0c297087bf1 [2022-08-01T20:06:02.189Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T20:06:02.189Z] ---> Running in 829946e272b6 [2022-08-01T20:06:02.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T20:06:02.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T20:06:03.018Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T20:06:03.018Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-01T20:06:03.018Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T20:06:03.018Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-01T20:06:03.018Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T20:06:03.018Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T20:06:03.018Z] Executing busybox-1.35.0-r15.trigger [2022-08-01T20:06:03.018Z] OK: 8 MiB in 20 packages [2022-08-01T20:06:03.281Z] Removing intermediate container 829946e272b6 [2022-08-01T20:06:03.281Z] ---> 5b006c0b0867 [2022-08-01T20:06:03.281Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-01T20:06:03.850Z] ---> 14d9c347b2eb [2022-08-01T20:06:03.850Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-01T20:06:04.110Z] ---> 44fb123cbd1c [2022-08-01T20:06:04.110Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-01T20:06:04.110Z] ---> 97a632fd139e [2022-08-01T20:06:04.110Z] Step 20/25 : EXPOSE 59986 [2022-08-01T20:06:04.110Z] ---> Running in ba016caea667 [2022-08-01T20:06:04.370Z] Removing intermediate container ba016caea667 [2022-08-01T20:06:04.370Z] ---> d8f729d9f39f [2022-08-01T20:06:04.370Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-01T20:06:04.370Z] ---> Running in 14c06a2458a5 [2022-08-01T20:06:04.370Z] Removing intermediate container 14c06a2458a5 [2022-08-01T20:06:04.370Z] ---> fbc79196111d [2022-08-01T20:06:04.370Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-01T20:06:04.370Z] ---> Running in bed9e1769519 [2022-08-01T20:06:04.632Z] Removing intermediate container bed9e1769519 [2022-08-01T20:06:04.632Z] ---> 116834dae9e0 [2022-08-01T20:06:04.632Z] Step 23/25 : LABEL arch=amd64 [2022-08-01T20:06:04.632Z] ---> Running in 5444abee09a7 [2022-08-01T20:06:04.632Z] Removing intermediate container 5444abee09a7 [2022-08-01T20:06:04.632Z] ---> 10911275a3cc [2022-08-01T20:06:04.632Z] Step 24/25 : LABEL git_sha=726a0862c151fa004b64a68a5edba4d6c226587e [2022-08-01T20:06:04.632Z] ---> Running in b033b0c1f013 [2022-08-01T20:06:04.632Z] Removing intermediate container b033b0c1f013 [2022-08-01T20:06:04.632Z] ---> 0ab279066dab [2022-08-01T20:06:04.632Z] Step 25/25 : LABEL version=0.0.0 [2022-08-01T20:06:04.891Z] ---> Running in 1bc8649fe338 [2022-08-01T20:06:04.891Z] Removing intermediate container 1bc8649fe338 [2022-08-01T20:06:04.891Z] ---> 7a435171f4cb [2022-08-01T20:06:04.891Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T20:06:04.891Z] Successfully built 7a435171f4cb [2022-08-01T20:06:04.891Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:06:05.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T20:06:05.826Z] [2022-08-01T20:06:05.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:06:06.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T20:06:06.249Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-01T20:06:06.249Z] 5eb5b503b376: Pulling fs layer [2022-08-01T20:06:06.249Z] 5c69ac0246d0: Pulling fs layer [2022-08-01T20:06:06.249Z] ec43610c2a17: Pulling fs layer [2022-08-01T20:06:06.249Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-01T20:06:06.249Z] 33b1e0a273af: Pulling fs layer [2022-08-01T20:06:06.249Z] 5d3b04190fa2: Pulling fs layer [2022-08-01T20:06:06.249Z] 2f39f015ded8: Pulling fs layer [2022-08-01T20:06:06.249Z] 5d3b04190fa2: Waiting [2022-08-01T20:06:06.249Z] 2f39f015ded8: Waiting [2022-08-01T20:06:06.249Z] 5c69ac0246d0: Verifying Checksum [2022-08-01T20:06:06.249Z] 5c69ac0246d0: Download complete [2022-08-01T20:06:06.249Z] 3a2ae6a8a46f: Download complete [2022-08-01T20:06:06.249Z] 33b1e0a273af: Verifying Checksum [2022-08-01T20:06:06.249Z] 33b1e0a273af: Download complete [2022-08-01T20:06:06.249Z] 5d3b04190fa2: Verifying Checksum [2022-08-01T20:06:06.249Z] 5d3b04190fa2: Download complete [2022-08-01T20:06:06.509Z] ec43610c2a17: Verifying Checksum [2022-08-01T20:06:06.509Z] ec43610c2a17: Download complete [2022-08-01T20:06:06.509Z] 5eb5b503b376: Download complete [2022-08-01T20:06:07.078Z] 2f39f015ded8: Download complete [2022-08-01T20:06:07.652Z] 5eb5b503b376: Pull complete [2022-08-01T20:06:07.911Z] 5c69ac0246d0: Pull complete [2022-08-01T20:06:08.173Z] ec43610c2a17: Pull complete [2022-08-01T20:06:08.173Z] 3a2ae6a8a46f: Pull complete [2022-08-01T20:06:08.434Z] 33b1e0a273af: Pull complete [2022-08-01T20:06:08.693Z] 5d3b04190fa2: Pull complete [2022-08-01T20:06:12.887Z] 2f39f015ded8: Pull complete [2022-08-01T20:06:12.887Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-01T20:06:12.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T20:06:12.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:06:13.108Z] prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container [2022-08-01T20:06:13.142Z] $ 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-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-01T20:06:15.006Z] $ docker top 319fec367066202e65b886323d82c07fc4d087b932a4872fdaeda959bd6f688f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:06:15.468Z] ---> job-cost.sh [2022-08-01T20:06:15.468Z] lf-activate-venv: SKIPPING [2022-08-01T20:06:15.468Z] INFO: No Stack... [2022-08-01T20:06:15.731Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T20:06:16.303Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T20:06:16.620Z] + + catcut /w/workspace/gexfoundry_device-rest-go_PR-208/archives/cost.csv -d, [2022-08-01T20:06:16.620Z] -f6 [Pipeline] lock [2022-08-01T20:06:16.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [2022-08-01T20:06:16.659Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] did not exist. Created. [2022-08-01T20:06:16.659Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T20:06:17.047Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-01T20:06:17.089Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T20:06:17.120Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T20:06:17.195Z] $ docker stop --time=1 319fec367066202e65b886323d82c07fc4d087b932a4872fdaeda959bd6f688f [2022-08-01T20:06:18.373Z] $ docker rm -f 319fec367066202e65b886323d82c07fc4d087b932a4872fdaeda959bd6f688f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-01T20:06:28.809Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21702 in /w/workspace/gexfoundry_device-rest-go_PR-208 [Pipeline] { [Pipeline] ws [2022-08-01T20:06:28.852Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-08-01T20:06:28.938Z] The recommended git tool is: git [2022-08-01T20:06:35.206Z] using credential edgex-jenkins-ssh [2022-08-01T20:06:35.224Z] Cloning the remote Git repository [2022-08-01T20:06:35.356Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-01T20:06:35.594Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-08-01T20:06:35.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-01T20:06:35.688Z] > git --version # timeout=10 [2022-08-01T20:06:35.722Z] > git --version # 'git version 2.25.1' [2022-08-01T20:06:35.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T20:06:35.795Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T20:06:37.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-01T20:06:37.580Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T20:06:37.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-01T20:06:37.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-01T20:06:37.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T20:06:37.653Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-01T20:06:38.147Z] Merging remotes/origin/main commit 573a93dc585fd2e24dadc7fb4d4ae830a990380c into PR head commit 726a0862c151fa004b64a68a5edba4d6c226587e [2022-08-01T20:06:38.352Z] Merge succeeded, producing 726a0862c151fa004b64a68a5edba4d6c226587e [2022-08-01T20:06:38.353Z] Checking out Revision 726a0862c151fa004b64a68a5edba4d6c226587e (PR-208) [2022-08-01T20:06:38.170Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T20:06:38.185Z] > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # timeout=10 [2022-08-01T20:06:38.267Z] > git remote # timeout=10 [2022-08-01T20:06:38.282Z] > git config --get remote.origin.url # timeout=10 [2022-08-01T20:06:38.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T20:06:38.310Z] > git merge 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 [2022-08-01T20:06:38.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-01T20:06:38.360Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T20:06:38.376Z] > git checkout -f 726a0862c151fa004b64a68a5edba4d6c226587e # timeout=10 [2022-08-01T20:06:42.502Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-01T20:06:42.564Z] > git --version # timeout=10 [2022-08-01T20:06:42.575Z] > git --version # 'git version 2.25.1' [2022-08-01T20:06:42.590Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T20:06:43.728Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-01T20:06:43.728Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T20:06:43.728Z] Dload Upload Total Spent Left Speed [2022-08-01T20:06:43.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 12332 96 11880 0 0 94285 0 --:--:-- --:--:-- --:--:-- 93543 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh [2022-08-01T20:06:44.737Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-01T20:06:45.097Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-01T20:06:45.097Z] + sudo tee /etc/docker/daemon.new [2022-08-01T20:06:45.097Z] { [2022-08-01T20:06:45.097Z] "registry-mirrors": [ [2022-08-01T20:06:45.097Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-01T20:06:45.097Z] ], [2022-08-01T20:06:45.097Z] "bip": "10.250.0.254/24", [2022-08-01T20:06:45.097Z] "hosts": [ [2022-08-01T20:06:45.097Z] "tcp://0.0.0.0:5555", [2022-08-01T20:06:45.097Z] "unix:///var/run/docker.sock" [2022-08-01T20:06:45.097Z] ], [2022-08-01T20:06:45.097Z] "mtu": 1458, [2022-08-01T20:06:45.097Z] "selinux-enabled": true, [2022-08-01T20:06:45.097Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-01T20:06:45.097Z] } [Pipeline] sh [2022-08-01T20:06:45.458Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-01T20:06:45.809Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T20:07:04.212Z] provisioning config files... [2022-08-01T20:07:04.237Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4952842678652099710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:07:04.634Z] ---> docker-login.sh [2022-08-01T20:07:04.634Z] nexus3.edgexfoundry.org:10001 [2022-08-01T20:07:05.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:07:05.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:07:05.506Z] Configure a credential helper to remove this warning. See [2022-08-01T20:07:05.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:07:05.506Z] [2022-08-01T20:07:05.506Z] Login Succeeded [2022-08-01T20:07:05.506Z] nexus3.edgexfoundry.org:10002 [2022-08-01T20:07:05.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:07:06.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:07:06.052Z] Configure a credential helper to remove this warning. See [2022-08-01T20:07:06.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:07:06.052Z] [2022-08-01T20:07:06.052Z] Login Succeeded [2022-08-01T20:07:06.052Z] nexus3.edgexfoundry.org:10003 [2022-08-01T20:07:06.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:07:06.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:07:06.328Z] Configure a credential helper to remove this warning. See [2022-08-01T20:07:06.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:07:06.328Z] [2022-08-01T20:07:06.328Z] Login Succeeded [2022-08-01T20:07:06.328Z] nexus3.edgexfoundry.org:10004 [2022-08-01T20:07:06.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:07:06.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:07:06.928Z] Configure a credential helper to remove this warning. See [2022-08-01T20:07:06.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:07:06.928Z] [2022-08-01T20:07:06.928Z] Login Succeeded [2022-08-01T20:07:06.928Z] docker.io [2022-08-01T20:07:07.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T20:07:07.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T20:07:07.476Z] Configure a credential helper to remove this warning. See [2022-08-01T20:07:07.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T20:07:07.476Z] [2022-08-01T20:07:07.476Z] Login Succeeded [2022-08-01T20:07:07.748Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T20:07:07.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T20:07:08.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T20:07:08.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T20:07:08.232Z] ========================================================= [2022-08-01T20:07:08.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-01T20:07:08.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:07:08.728Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-01T20:07:08.728Z] Sending build context to Docker daemon 126.5kB [2022-08-01T20:07:09.002Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T20:07:09.002Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-01T20:07:09.281Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-01T20:07:09.281Z] b3c136eddcbf: Pulling fs layer [2022-08-01T20:07:09.281Z] c0a3192eca97: Pulling fs layer [2022-08-01T20:07:09.281Z] a050256f5b6f: Pulling fs layer [2022-08-01T20:07:09.281Z] 656be50a0ddc: Pulling fs layer [2022-08-01T20:07:09.281Z] 2bbca73fdf42: Pulling fs layer [2022-08-01T20:07:09.281Z] 46d945488cbd: Pulling fs layer [2022-08-01T20:07:09.281Z] 8a5474983e97: Pulling fs layer [2022-08-01T20:07:09.281Z] 329c88fbcd65: Pulling fs layer [2022-08-01T20:07:09.281Z] 2bbca73fdf42: Waiting [2022-08-01T20:07:09.281Z] 46d945488cbd: Waiting [2022-08-01T20:07:09.281Z] 8a5474983e97: Waiting [2022-08-01T20:07:09.281Z] 329c88fbcd65: Waiting [2022-08-01T20:07:09.281Z] 656be50a0ddc: Waiting [2022-08-01T20:07:09.281Z] a050256f5b6f: Verifying Checksum [2022-08-01T20:07:09.281Z] a050256f5b6f: Download complete [2022-08-01T20:07:09.281Z] c0a3192eca97: Verifying Checksum [2022-08-01T20:07:09.281Z] c0a3192eca97: Download complete [2022-08-01T20:07:09.281Z] 2bbca73fdf42: Verifying Checksum [2022-08-01T20:07:09.281Z] 2bbca73fdf42: Download complete [2022-08-01T20:07:09.281Z] 46d945488cbd: Verifying Checksum [2022-08-01T20:07:09.281Z] 46d945488cbd: Download complete [2022-08-01T20:07:09.281Z] b3c136eddcbf: Verifying Checksum [2022-08-01T20:07:10.276Z] b3c136eddcbf: Pull complete [2022-08-01T20:07:10.276Z] 329c88fbcd65: Verifying Checksum [2022-08-01T20:07:10.276Z] 329c88fbcd65: Download complete [2022-08-01T20:07:10.878Z] c0a3192eca97: Pull complete [2022-08-01T20:07:10.878Z] a050256f5b6f: Pull complete [2022-08-01T20:07:11.478Z] 8a5474983e97: Verifying Checksum [2022-08-01T20:07:11.478Z] 8a5474983e97: Download complete [2022-08-01T20:07:12.075Z] 656be50a0ddc: Verifying Checksum [2022-08-01T20:07:12.075Z] 656be50a0ddc: Download complete [2022-08-01T20:07:24.490Z] 656be50a0ddc: Pull complete [2022-08-01T20:07:24.763Z] 2bbca73fdf42: Pull complete [2022-08-01T20:07:25.038Z] 46d945488cbd: Pull complete [2022-08-01T20:07:31.763Z] 8a5474983e97: Pull complete [2022-08-01T20:07:33.204Z] 329c88fbcd65: Pull complete [2022-08-01T20:07:33.204Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-01T20:07:33.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-01T20:07:33.204Z] ---> ff4287adb874 [2022-08-01T20:07:33.204Z] Step 3/12 : ARG MAKE='make build' [2022-08-01T20:07:35.199Z] ---> Running in 1917ec0e5cba [2022-08-01T20:07:36.185Z] Removing intermediate container 1917ec0e5cba [2022-08-01T20:07:36.185Z] ---> f2b95693dc32 [2022-08-01T20:07:36.185Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T20:07:36.185Z] ---> Running in 5e5f7ec650e4 [2022-08-01T20:07:36.464Z] Removing intermediate container 5e5f7ec650e4 [2022-08-01T20:07:36.464Z] ---> 651ad47e1a88 [2022-08-01T20:07:36.464Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T20:07:36.739Z] ---> Running in 3329d373c91c [2022-08-01T20:07:37.023Z] Removing intermediate container 3329d373c91c [2022-08-01T20:07:37.023Z] ---> 0e55c0cbedeb [2022-08-01T20:07:37.023Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T20:07:37.023Z] ---> Running in a1d2234c1966 [2022-08-01T20:07:39.004Z] Removing intermediate container a1d2234c1966 [2022-08-01T20:07:39.004Z] ---> 8b9842e1b6a1 [2022-08-01T20:07:39.004Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T20:07:39.004Z] ---> Running in 4888c0a9fd9e [2022-08-01T20:07:39.983Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T20:07:40.962Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T20:07:41.559Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T20:07:41.831Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-01T20:07:41.831Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T20:07:42.108Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T20:07:42.108Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T20:07:42.108Z] OK: 226 MiB in 55 packages [2022-08-01T20:07:43.110Z] Removing intermediate container 4888c0a9fd9e [2022-08-01T20:07:43.110Z] ---> c3754fc012f4 [2022-08-01T20:07:43.110Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-01T20:07:43.110Z] ---> Running in 534f76a75a83 [2022-08-01T20:07:43.389Z] Removing intermediate container 534f76a75a83 [2022-08-01T20:07:43.389Z] ---> dab823c87069 [2022-08-01T20:07:43.389Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-01T20:07:43.994Z] ---> 006bb2eba70a [2022-08-01T20:07:43.994Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T20:07:43.994Z] ---> Running in 8a6c04648bdb [2022-08-01T20:08:30.991Z] Removing intermediate container 8a6c04648bdb [2022-08-01T20:08:30.991Z] ---> c43b8f884cb4 [2022-08-01T20:08:30.991Z] Step 11/12 : COPY . . [2022-08-01T20:08:30.991Z] ---> af3f89c5f421 [2022-08-01T20:08:30.991Z] Step 12/12 : RUN $MAKE [2022-08-01T20:08:30.991Z] ---> Running in 6f7e3b93ae2b [2022-08-01T20:08:31.967Z] noop [2022-08-01T20:08:32.565Z] Removing intermediate container 6f7e3b93ae2b [2022-08-01T20:08:32.565Z] ---> 50b22ad2f98f [2022-08-01T20:08:32.565Z] Successfully built 50b22ad2f98f [2022-08-01T20:08:32.565Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:08:33.042Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T20:08:33.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:08:33.338Z] prd-ubuntu20.04-docker-arm64-4c-16g-21702 does not seem to be running inside a container [2022-08-01T20:08:33.412Z] $ 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 [2022-08-01T20:08:34.572Z] $ docker top d980c240e067ac8f7bcadbdb914d89eb3912a23db3d7360f5d3acb7479c5ec13 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T20:08:35.486Z] + go version [2022-08-01T20:08:35.486Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-01T20:08:35.518Z] $ docker stop --time=1 d980c240e067ac8f7bcadbdb914d89eb3912a23db3d7360f5d3acb7479c5ec13 [2022-08-01T20:08:37.111Z] $ docker rm -f d980c240e067ac8f7bcadbdb914d89eb3912a23db3d7360f5d3acb7479c5ec13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:08:38.002Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T20:08:38.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:08:38.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-21702 does not seem to be running inside a container [2022-08-01T20:08:38.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 [2022-08-01T20:08:39.495Z] $ docker top 2764e290e3f12161bcac3fd4e7ac3e27366f973af650edd691a7d997c21aa349 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T20:08:40.420Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-01T20:08:41.133Z] + make test [2022-08-01T20:08:41.133Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-01T20:08:42.574Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-01T20:10:04.409Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-01T20:10:04.409Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 55.2% of statements [2022-08-01T20:10:04.409Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-01T20:10:04.409Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T20:10:19.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T20:10:19.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T20:10:19.548Z] ./bin/test-attribution-txt.sh [2022-08-01T20:10:19.548Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T20:10:19.548Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T20:10:19.548Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T20:10:19.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T20:10:19.618Z] $ docker stop --time=1 2764e290e3f12161bcac3fd4e7ac3e27366f973af650edd691a7d997c21aa349 [2022-08-01T20:10:21.366Z] $ docker rm -f 2764e290e3f12161bcac3fd4e7ac3e27366f973af650edd691a7d997c21aa349 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T20:10:22.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T20:10:22.402Z] Warning: overwriting stash ‘coverage-report’ [2022-08-01T20:10:22.838Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T20:10:23.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T20:10:23.766Z] + ls -al . [2022-08-01T20:10:23.767Z] total 168 [2022-08-01T20:10:23.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 20:08 . [2022-08-01T20:10:23.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:06 .. [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 1 20:06 .dockerignore [2022-08-01T20:10:23.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 20:06 .git [2022-08-01T20:10:23.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:06 .github [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 20:06 .gitignore [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 20:06 .golangci.yml [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 1 20:06 Attribution.txt [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 1 20:06 CHANGELOG.md [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 1 20:06 Dockerfile [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 20:06 GOVERNANCE.md [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 1 20:06 Jenkinsfile [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 20:06 LICENSE [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 1 20:06 Makefile [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 20:06 OWNERS.md [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 1 20:06 README.md [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 20:04 VERSION [2022-08-01T20:10:23.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:06 bin [2022-08-01T20:10:23.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 20:06 cmd [2022-08-01T20:10:23.767Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 1 20:09 coverage.out [2022-08-01T20:10:23.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 20:06 driver [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 1 20:06 go.mod [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 20:06 go.sum [2022-08-01T20:10:23.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 20:06 snap [2022-08-01T20:10:23.767Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 1 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:10:24.203Z] + 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=726a0862c151fa004b64a68a5edba4d6c226587e --label arch=arm64 --label version=0.0.0 . [2022-08-01T20:10:24.203Z] Sending build context to Docker daemon 136.7kB [2022-08-01T20:10:24.479Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T20:10:24.479Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-01T20:10:24.479Z] ---> 50b22ad2f98f [2022-08-01T20:10:24.479Z] Step 3/25 : ARG MAKE='make build' [2022-08-01T20:10:24.479Z] ---> Running in 1ee705d7fbb8 [2022-08-01T20:10:25.084Z] Removing intermediate container 1ee705d7fbb8 [2022-08-01T20:10:25.084Z] ---> 02b3a8d8012f [2022-08-01T20:10:25.084Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T20:10:25.084Z] ---> Running in 17d9fea797ba [2022-08-01T20:10:25.358Z] Removing intermediate container 17d9fea797ba [2022-08-01T20:10:25.358Z] ---> 7434ca002660 [2022-08-01T20:10:25.358Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T20:10:25.358Z] ---> Running in 23cf2d60d3d2 [2022-08-01T20:10:25.649Z] Removing intermediate container 23cf2d60d3d2 [2022-08-01T20:10:25.649Z] ---> 7e33e3d54bb7 [2022-08-01T20:10:25.649Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T20:10:25.649Z] ---> Running in 7f0eef814f73 [2022-08-01T20:10:27.639Z] Removing intermediate container 7f0eef814f73 [2022-08-01T20:10:27.639Z] ---> 820360527cf3 [2022-08-01T20:10:27.639Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T20:10:27.639Z] ---> Running in 637b107e26ea [2022-08-01T20:10:28.242Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T20:10:29.223Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T20:10:30.209Z] OK: 226 MiB in 55 packages [2022-08-01T20:10:31.195Z] Removing intermediate container 637b107e26ea [2022-08-01T20:10:31.195Z] ---> 731f5bd3995a [2022-08-01T20:10:31.195Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-01T20:10:31.195Z] ---> Running in d37f6bab8070 [2022-08-01T20:10:31.471Z] Removing intermediate container d37f6bab8070 [2022-08-01T20:10:31.471Z] ---> 3e94e8ba0e92 [2022-08-01T20:10:31.471Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-01T20:10:31.746Z] ---> 0303bfcd2a74 [2022-08-01T20:10:31.746Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T20:10:32.038Z] ---> Running in e09ffe456ec8 [2022-08-01T20:10:34.035Z] Removing intermediate container e09ffe456ec8 [2022-08-01T20:10:34.035Z] ---> ee05ce963f89 [2022-08-01T20:10:34.035Z] Step 11/25 : COPY . . [2022-08-01T20:10:34.312Z] ---> 3a2ff729dd5d [2022-08-01T20:10:34.312Z] Step 12/25 : RUN $MAKE [2022-08-01T20:10:34.590Z] ---> Running in c634864d9219 [2022-08-01T20:10:35.573Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-01T20:12:42.485Z] Removing intermediate container c634864d9219 [2022-08-01T20:12:42.485Z] ---> c940e2625a16 [2022-08-01T20:12:42.485Z] Step 13/25 : FROM alpine:3.16 [2022-08-01T20:12:42.485Z] 3.16: Pulling from library/alpine [2022-08-01T20:12:42.485Z] f97344484467: Pulling fs layer [2022-08-01T20:12:42.485Z] f97344484467: Verifying Checksum [2022-08-01T20:12:42.485Z] f97344484467: Download complete [2022-08-01T20:12:42.485Z] f97344484467: Pull complete [2022-08-01T20:12:42.485Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-01T20:12:42.485Z] Status: Downloaded newer image for alpine:3.16 [2022-08-01T20:12:42.485Z] ---> 3d81c46cd875 [2022-08-01T20:12:42.485Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-01T20:12:42.485Z] ---> Running in e509f0c44a31 [2022-08-01T20:12:42.485Z] Removing intermediate container e509f0c44a31 [2022-08-01T20:12:42.485Z] ---> 4bfa8e2e9e4b [2022-08-01T20:12:42.485Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-01T20:12:42.485Z] ---> Running in 63cdebbd30b1 [2022-08-01T20:12:42.485Z] Removing intermediate container 63cdebbd30b1 [2022-08-01T20:12:42.485Z] ---> a7e630dbfb35 [2022-08-01T20:12:42.485Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T20:12:42.485Z] ---> Running in 2075e361a83f [2022-08-01T20:12:42.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T20:12:42.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T20:12:42.485Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T20:12:42.485Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-01T20:12:42.485Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T20:12:42.485Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-01T20:12:42.485Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T20:12:42.485Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T20:12:42.485Z] Executing busybox-1.35.0-r15.trigger [2022-08-01T20:12:42.485Z] OK: 8 MiB in 20 packages [2022-08-01T20:12:42.485Z] Removing intermediate container 2075e361a83f [2022-08-01T20:12:42.485Z] ---> 881ba0273ec7 [2022-08-01T20:12:42.485Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-01T20:12:42.485Z] ---> 394aca9b49ed [2022-08-01T20:12:42.486Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-01T20:12:42.486Z] ---> 8d2c5335641d [2022-08-01T20:12:42.486Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-01T20:12:42.486Z] ---> 7beb3a3b5f70 [2022-08-01T20:12:42.486Z] Step 20/25 : EXPOSE 59986 [2022-08-01T20:12:42.486Z] ---> Running in b7c237f1318d [2022-08-01T20:12:42.486Z] Removing intermediate container b7c237f1318d [2022-08-01T20:12:42.486Z] ---> ae918bfbdbf6 [2022-08-01T20:12:42.486Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-01T20:12:42.486Z] ---> Running in e2c4f3d8fb12 [2022-08-01T20:12:42.762Z] Removing intermediate container e2c4f3d8fb12 [2022-08-01T20:12:42.762Z] ---> 4f6800f85c3e [2022-08-01T20:12:42.762Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-01T20:12:42.762Z] ---> Running in 136e6994ba6f [2022-08-01T20:12:43.038Z] Removing intermediate container 136e6994ba6f [2022-08-01T20:12:43.038Z] ---> 6246b8a99ccb [2022-08-01T20:12:43.038Z] Step 23/25 : LABEL arch=arm64 [2022-08-01T20:12:43.038Z] ---> Running in c088a12892f2 [2022-08-01T20:12:43.325Z] Removing intermediate container c088a12892f2 [2022-08-01T20:12:43.325Z] ---> 11b072fc88a5 [2022-08-01T20:12:43.325Z] Step 24/25 : LABEL git_sha=726a0862c151fa004b64a68a5edba4d6c226587e [2022-08-01T20:12:43.600Z] ---> Running in cea12b6fb467 [2022-08-01T20:12:43.875Z] Removing intermediate container cea12b6fb467 [2022-08-01T20:12:43.875Z] ---> fbd682fc1747 [2022-08-01T20:12:43.875Z] Step 25/25 : LABEL version=0.0.0 [2022-08-01T20:12:43.875Z] ---> Running in a0bc1d57de6d [2022-08-01T20:12:44.149Z] Removing intermediate container a0bc1d57de6d [2022-08-01T20:12:44.149Z] ---> 260ebf19bb1f [2022-08-01T20:12:44.149Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T20:12:44.149Z] Successfully built 260ebf19bb1f [2022-08-01T20:12:44.149Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:12:44.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T20:12:44.983Z] [2022-08-01T20:12:44.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:12:45.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T20:12:45.687Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-01T20:12:45.687Z] 8998bd30e6a1: Pulling fs layer [2022-08-01T20:12:45.687Z] 04944245beec: Pulling fs layer [2022-08-01T20:12:45.687Z] 699f458cf7ca: Pulling fs layer [2022-08-01T20:12:45.687Z] 765212b225bb: Pulling fs layer [2022-08-01T20:12:45.687Z] f23df028b6ca: Pulling fs layer [2022-08-01T20:12:45.687Z] d65c8cfc05b1: Pulling fs layer [2022-08-01T20:12:45.687Z] 2437ff75d9bd: Pulling fs layer [2022-08-01T20:12:45.687Z] f23df028b6ca: Waiting [2022-08-01T20:12:45.687Z] d65c8cfc05b1: Waiting [2022-08-01T20:12:45.687Z] 2437ff75d9bd: Waiting [2022-08-01T20:12:45.687Z] 765212b225bb: Waiting [2022-08-01T20:12:45.687Z] 04944245beec: Verifying Checksum [2022-08-01T20:12:45.687Z] 04944245beec: Download complete [2022-08-01T20:12:45.687Z] 765212b225bb: Verifying Checksum [2022-08-01T20:12:45.687Z] 765212b225bb: Download complete [2022-08-01T20:12:45.687Z] f23df028b6ca: Verifying Checksum [2022-08-01T20:12:45.687Z] f23df028b6ca: Download complete [2022-08-01T20:12:45.687Z] d65c8cfc05b1: Verifying Checksum [2022-08-01T20:12:45.687Z] d65c8cfc05b1: Download complete [2022-08-01T20:12:45.965Z] 699f458cf7ca: Verifying Checksum [2022-08-01T20:12:46.242Z] 8998bd30e6a1: Verifying Checksum [2022-08-01T20:12:46.242Z] 8998bd30e6a1: Download complete [2022-08-01T20:12:48.884Z] 2437ff75d9bd: Verifying Checksum [2022-08-01T20:12:48.884Z] 2437ff75d9bd: Download complete [2022-08-01T20:12:50.866Z] 8998bd30e6a1: Pull complete [2022-08-01T20:12:51.143Z] 04944245beec: Pull complete [2022-08-01T20:12:52.589Z] 699f458cf7ca: Pull complete [2022-08-01T20:12:52.865Z] 765212b225bb: Pull complete [2022-08-01T20:12:53.849Z] f23df028b6ca: Pull complete [2022-08-01T20:12:53.849Z] d65c8cfc05b1: Pull complete [2022-08-01T20:13:08.945Z] 2437ff75d9bd: Pull complete [2022-08-01T20:13:08.945Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-01T20:13:08.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T20:13:08.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:13:09.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-21702 does not seem to be running inside a container [2022-08-01T20:13:09.387Z] $ 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 [2022-08-01T20:13:11.805Z] $ docker top ce54d3c47544ac9d6347ff747e3d1d87160e9f84ee986121eb47b6369b356eab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:12.802Z] ---> job-cost.sh [2022-08-01T20:13:12.802Z] lf-activate-venv: SKIPPING [2022-08-01T20:13:12.802Z] INFO: No Stack... [2022-08-01T20:13:13.398Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-01T20:13:14.378Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T20:13:15.056Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-08-01T20:13:15.056Z] + cut -d, -f6 [Pipeline] lock [2022-08-01T20:13:15.144Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [2022-08-01T20:13:15.149Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] did not exist. Created. [2022-08-01T20:13:15.149Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T20:13:15.910Z] /w/workspace/device-rest-go/1@tmp/durable-bee76c6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-01T20:13:16.611Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-01T20:13:16.646Z] Warning: overwriting stash ‘stack-cost’ [2022-08-01T20:13:16.687Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T20:13:16.702Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T20:13:16.783Z] $ docker stop --time=1 ce54d3c47544ac9d6347ff747e3d1d87160e9f84ee986121eb47b6369b356eab [2022-08-01T20:13:18.286Z] $ docker rm -f ce54d3c47544ac9d6347ff747e3d1d87160e9f84ee986121eb47b6369b356eab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-01T20:13:19.299Z] provisioning config files... [2022-08-01T20:13:19.307Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config3335592069622411667tmp [Pipeline] { [Pipeline] sh [2022-08-01T20:13:19.641Z] + set +x [2022-08-01T20:13:19.641Z] + curl -s https://codecov.io/bash [2022-08-01T20:13:19.641Z] + bash -s -- [2022-08-01T20:13:19.641Z] [2022-08-01T20:13:19.641Z] _____ _ [2022-08-01T20:13:19.641Z] / ____| | | [2022-08-01T20:13:19.641Z] | | ___ __| | ___ ___ _____ __ [2022-08-01T20:13:19.641Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-01T20:13:19.642Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-01T20:13:19.642Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-01T20:13:19.642Z] Bash-1.0.6 [2022-08-01T20:13:19.642Z] [2022-08-01T20:13:19.642Z] [2022-08-01T20:13:19.642Z] ==> git version 2.25.1 found [2022-08-01T20:13:19.642Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-01T20:13:19.642Z] Release-Date: 2020-01-08 [2022-08-01T20:13:19.642Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-01T20:13:19.642Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-01T20:13:19.642Z] ==> Jenkins CI detected. [2022-08-01T20:13:19.642Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-208 [2022-08-01T20:13:19.642Z] project root: . [2022-08-01T20:13:19.642Z] --> token set from env [2022-08-01T20:13:19.642Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-01T20:13:19.642Z] ==> Running gcov in . (disable via -X gcov) [2022-08-01T20:13:19.642Z] ==> Python coveragepy not found [2022-08-01T20:13:19.642Z] ==> Searching for coverage reports in: [2022-08-01T20:13:19.642Z] + . [2022-08-01T20:13:19.642Z] -> Found 1 reports [2022-08-01T20:13:19.642Z] ==> Detecting git/mercurial file structure [2022-08-01T20:13:19.642Z] ==> Reading reports [2022-08-01T20:13:19.642Z] + ./coverage.out bytes=9355 [2022-08-01T20:13:19.904Z] ==> Appending adjustments [2022-08-01T20:13:19.904Z] https://docs.codecov.io/docs/fixing-reports [2022-08-01T20:13:19.904Z] + Found adjustments [2022-08-01T20:13:19.904Z] ==> Gzipping contents [2022-08-01T20:13:19.904Z] 4.0K /tmp/codecov.CuBlMt.gz [2022-08-01T20:13:19.904Z] ==> Uploading reports [2022-08-01T20:13:19.904Z] url: https://codecov.io [2022-08-01T20:13:19.904Z] query: branch=PR-208&commit=726a0862c151fa004b64a68a5edba4d6c226587e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=208&job=&cmd_args= [2022-08-01T20:13:19.904Z] -> Pinging Codecov [2022-08-01T20:13:19.904Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-208&commit=726a0862c151fa004b64a68a5edba4d6c226587e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=208&job=&cmd_args= [2022-08-01T20:13:20.165Z] -> Uploading to [2022-08-01T20:13:20.165Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-01/4E5D53B4F1F92C436F7061BF334D961C/726a0862c151fa004b64a68a5edba4d6c226587e/33cad564-567a-44c7-95e7-fc1f62b7a8b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T201319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec9b3b8f97b06076e1a9b1bdb7ce6259de1f9092388c9b8f7a70126888f8765e [2022-08-01T20:13:20.165Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T20:13:20.165Z] Dload Upload Total Spent Left Speed [2022-08-01T20:13:20.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7434 --:--:-- --:--:-- --:--:-- 7434 [2022-08-01T20:13:20.425Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/726a0862c151fa004b64a68a5edba4d6c226587e [Pipeline] } [2022-08-01T20:13:20.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-01T20:13:22.148Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-208/archives ] [2022-08-01T20:13:22.148Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-208/archives [2022-08-01T20:13:22.148Z] total 16 [2022-08-01T20:13:22.148Z] drwxr-xr-x 3 root root 4096 Aug 1 20:06 . [2022-08-01T20:13:22.148Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 20:06 .. [2022-08-01T20:13:22.148Z] drwxr-xr-x 2 root root 4096 Aug 1 20:06 cost [2022-08-01T20:13:22.148Z] -rw-r--r-- 1 root root 86 Aug 1 20:06 cost.csv [2022-08-01T20:13:22.148Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-208/archives [2022-08-01T20:13:22.148Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-208/archives [2022-08-01T20:13:22.148Z] total 16 [2022-08-01T20:13:22.148Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 20:06 . [2022-08-01T20:13:22.148Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 20:06 .. [2022-08-01T20:13:22.148Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 20:06 cost [2022-08-01T20:13:22.148Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 1 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:22.481Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:23.374Z] ---> package-listing.sh [2022-08-01T20:13:23.374Z] ++ facter osfamily [2022-08-01T20:13:23.374Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-01T20:13:23.635Z] + OS_FAMILY=debian [2022-08-01T20:13:23.635Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-208 [2022-08-01T20:13:23.635Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-01T20:13:23.635Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-01T20:13:23.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-01T20:13:23.635Z] + PACKAGES=/tmp/packages_start.txt [2022-08-01T20:13:23.635Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-208 ']' [2022-08-01T20:13:23.635Z] + PACKAGES=/tmp/packages_end.txt [2022-08-01T20:13:23.635Z] + case "${OS_FAMILY}" in [2022-08-01T20:13:23.635Z] + dpkg -l [2022-08-01T20:13:23.635Z] + grep '^ii' [2022-08-01T20:13:23.635Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-01T20:13:23.635Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-01T20:13:23.635Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-01T20:13:23.635Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-208 ']' [2022-08-01T20:13:23.635Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-208/archives/ [2022-08-01T20:13:23.635Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-208/archives/ [Pipeline] echo [2022-08-01T20:13:23.673Z] 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-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-01T20:13:23.965Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T20:13:24.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T20:13:24.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T20:13:24.758Z] prd-ubuntu20.04-docker-8c-8g-21701 does not seem to be running inside a container [2022-08-01T20:13:24.794Z] $ 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-208/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-208 -v /w/workspace/gexfoundry_device-rest-go_PR-208:/w/workspace/gexfoundry_device-rest-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-208@tmp:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-01T20:13:25.044Z] $ docker top 65657b74065b4bd34e75fb331e2e70222d95be2c923f7421c42fa34e7a4f5247 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T20:13:25.437Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-01T20:13:25.748Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-01T20:13:26.068Z] + ls /var/log/sa-host [2022-08-01T20:13:26.068Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T20:13:26.269Z] provisioning config files... [2022-08-01T20:13:26.279Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-208@tmp/config800452573146247941tmp [Pipeline] { [Pipeline] echo [2022-08-01T20:13:26.325Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:26.639Z] ---> create-netrc.sh [Pipeline] } [2022-08-01T20:13:26.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:27.064Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-01T20:13:27.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:27.414Z] ---> sudo-logs.sh [2022-08-01T20:13:27.414Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-01T20:13:27.497Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:27.807Z] ---> job-cost.sh [2022-08-01T20:13:27.807Z] lf-activate-venv: SKIPPING [2022-08-01T20:13:27.807Z] DEBUG: total: 0.2199999988079071 [2022-08-01T20:13:27.807Z] INFO: Retrieving Stack Cost... [2022-08-01T20:13:28.067Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T20:13:28.637Z] INFO: Archiving Costs [Pipeline] echo [2022-08-01T20:13:28.669Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T20:13:28.980Z] ---> logs-deploy.sh [2022-08-01T20:13:28.980Z] lf-activate-venv: SKIPPING [2022-08-01T20:13:28.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-208/1 [2022-08-01T20:13:28.980Z] INFO: archiving workspace using pattern(s): [2022-08-01T20:13:29.919Z] Archives upload complete. [2022-08-01T20:13:29.919Z] INFO: archiving logs to Nexus