Pull request #210 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4c2232b4362e4ba4fa6d05c1b4772891599ba49+7849af7816baf1c3cc1af121845620dcf422b00f (6ba82f6010b4237517dc1c239a8d5cb0d6b6b4d4) 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-ssh4931251475914642761.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-ssh10611992774487973728.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-210/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-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3741055546156819312.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-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10134143900997379180.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-ssh7626326173352937309.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-210/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-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3077848372136277955.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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-22850 in /w/workspace/gexfoundry_device-rest-go_PR-210 [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-210 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7849af7816baf1c3cc1af121845620dcf422b00f into PR head commit a4c2232b4362e4ba4fa6d05c1b4772891599ba49 Merge succeeded, producing a4c2232b4362e4ba4fa6d05c1b4772891599ba49 Checking out Revision a4c2232b4362e4ba4fa6d05c1b4772891599ba49 (PR-210) > git config core.sparsecheckout # timeout=10 > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # 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 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # 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-15T20:15:49.268Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T20:15:49.455Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T20:15:49.554Z] ========================================================= [2022-08-15T20:15:49.555Z] EdgeX Global Pipelines Version Info [2022-08-15T20:15:49.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:15:50.341Z] ------------------- [2022-08-15T20:15:50.341Z] stable info: [2022-08-15T20:15:50.341Z] ------------------- [2022-08-15T20:15:50.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T20:15:50.341Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T20:15:50.341Z] Message: update stable to v1.0.238 [2022-08-15T20:15:50.918Z] ------------------- [2022-08-15T20:15:50.918Z] experimental info: [2022-08-15T20:15:50.918Z] ------------------- [2022-08-15T20:15:50.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T20:15:50.918Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T20:15:50.918Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T20:15:51.326Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-15T20:15:51.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-15T20:15:51.402Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T20:15:51.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T20:15:51.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T20:15:51.522Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T20:15:51.567Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T20:15:51.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T20:15:51.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T20:15:51.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T20:15:51.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T20:15:51.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-15T20:15:51.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T20:15:51.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T20:15:51.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T20:15:51.942Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T20:15:51.981Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T20:15:52.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T20:15:52.058Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T20:15:52.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T20:15:52.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T20:15:52.159Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T20:15:52.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T20:15:52.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T20:15:52.268Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T20:15:52.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T20:15:52.339Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T20:15:52.371Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo [2022-08-15T20:15:52.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo [2022-08-15T20:15:52.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo [2022-08-15T20:15:52.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo [2022-08-15T20:15:52.519Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4c2232 [Pipeline] echo [2022-08-15T20:15:52.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T20:15:52.659Z] provisioning config files... [2022-08-15T20:15:52.675Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config7874719906261216412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:15:53.023Z] ---> docker-login.sh [2022-08-15T20:15:53.023Z] nexus3.edgexfoundry.org:10001 [2022-08-15T20:15:53.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:15:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:15:53.554Z] Configure a credential helper to remove this warning. See [2022-08-15T20:15:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:15:53.554Z] [2022-08-15T20:15:53.554Z] Login Succeeded [2022-08-15T20:15:53.554Z] nexus3.edgexfoundry.org:10002 [2022-08-15T20:15:53.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:15:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:15:53.554Z] Configure a credential helper to remove this warning. See [2022-08-15T20:15:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:15:53.554Z] [2022-08-15T20:15:53.554Z] Login Succeeded [2022-08-15T20:15:53.554Z] nexus3.edgexfoundry.org:10003 [2022-08-15T20:15:53.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:15:53.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:15:53.815Z] Configure a credential helper to remove this warning. See [2022-08-15T20:15:53.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:15:53.815Z] [2022-08-15T20:15:53.815Z] Login Succeeded [2022-08-15T20:15:53.815Z] nexus3.edgexfoundry.org:10004 [2022-08-15T20:15:53.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:15:53.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:15:53.815Z] Configure a credential helper to remove this warning. See [2022-08-15T20:15:53.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:15:53.815Z] [2022-08-15T20:15:53.815Z] Login Succeeded [2022-08-15T20:15:53.815Z] docker.io [2022-08-15T20:15:54.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:15:54.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:15:54.341Z] Configure a credential helper to remove this warning. See [2022-08-15T20:15:54.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:15:54.341Z] [2022-08-15T20:15:54.341Z] Login Succeeded [2022-08-15T20:15:54.341Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T20:15:54.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T20:15:55.007Z] + git rev-list -1 --merges a4c2232b4362e4ba4fa6d05c1b4772891599ba49~1..a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo [2022-08-15T20:15:55.057Z] -----------> git rev-list -1 --merges a4c2232b4362e4ba4fa6d05c1b4772891599ba49~1..a4c2232b4362e4ba4fa6d05c1b4772891599ba49 a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [false] [Pipeline] sh [2022-08-15T20:15:55.369Z] + git log --format=format:%s -1 a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo [2022-08-15T20:15:55.402Z] ========================================================= [2022-08-15T20:15:55.402Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T20:15:55.402Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T20:15:55.845Z] + git log --format=format:%s -1 a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] echo [2022-08-15T20:15:55.875Z] [semverPrep] GIT_COMMIT: a4c2232b4362e4ba4fa6d05c1b4772891599ba49, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-15T20:15:55.905Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T20:15:56.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T20:15:56.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T20:15:56.303Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T20:15:56.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T20:15:56.303Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T20:15:56.303Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T20:15:56.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:15:56.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T20:15:56.803Z] [2022-08-15T20:15:56.803Z] 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-15T20:15:57.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T20:15:57.180Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T20:15:57.180Z] b85a868b505f: Pulling fs layer [2022-08-15T20:15:57.180Z] e2be974225ed: Pulling fs layer [2022-08-15T20:15:57.180Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T20:15:57.180Z] 988bab9f4d93: Pulling fs layer [2022-08-15T20:15:57.180Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T20:15:57.180Z] eaf3925da568: Pulling fs layer [2022-08-15T20:15:57.180Z] bab4dde63d76: Pulling fs layer [2022-08-15T20:15:57.180Z] bde34c3a00c8: Pulling fs layer [2022-08-15T20:15:57.180Z] b352a97aabf1: Pulling fs layer [2022-08-15T20:15:57.180Z] 4872d77fe225: Pulling fs layer [2022-08-15T20:15:57.180Z] 5851b861e8e6: Pulling fs layer [2022-08-15T20:15:57.180Z] bde34c3a00c8: Waiting [2022-08-15T20:15:57.180Z] 988bab9f4d93: Waiting [2022-08-15T20:15:57.180Z] b352a97aabf1: Waiting [2022-08-15T20:15:57.180Z] 4872d77fe225: Waiting [2022-08-15T20:15:57.180Z] 5851b861e8e6: Waiting [2022-08-15T20:15:57.180Z] 1469e6f7b9e6: Waiting [2022-08-15T20:15:57.180Z] eaf3925da568: Waiting [2022-08-15T20:15:57.180Z] bab4dde63d76: Waiting [2022-08-15T20:15:57.180Z] e2be974225ed: Verifying Checksum [2022-08-15T20:15:57.180Z] e2be974225ed: Download complete [2022-08-15T20:15:57.180Z] 988bab9f4d93: Verifying Checksum [2022-08-15T20:15:57.180Z] 988bab9f4d93: Download complete [2022-08-15T20:15:57.455Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T20:15:57.455Z] 1469e6f7b9e6: Download complete [2022-08-15T20:15:57.455Z] eaf3925da568: Download complete [2022-08-15T20:15:57.455Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T20:15:57.455Z] 339a4e72a1f5: Download complete [2022-08-15T20:15:57.455Z] bde34c3a00c8: Verifying Checksum [2022-08-15T20:15:57.455Z] bde34c3a00c8: Download complete [2022-08-15T20:15:57.455Z] b352a97aabf1: Download complete [2022-08-15T20:15:57.455Z] 4872d77fe225: Verifying Checksum [2022-08-15T20:15:57.455Z] 4872d77fe225: Download complete [2022-08-15T20:15:57.455Z] 5851b861e8e6: Download complete [2022-08-15T20:15:57.455Z] b85a868b505f: Verifying Checksum [2022-08-15T20:15:57.455Z] b85a868b505f: Download complete [2022-08-15T20:15:57.714Z] bab4dde63d76: Verifying Checksum [2022-08-15T20:15:57.714Z] bab4dde63d76: Download complete [2022-08-15T20:15:59.097Z] b85a868b505f: Pull complete [2022-08-15T20:15:59.097Z] e2be974225ed: Pull complete [2022-08-15T20:15:59.667Z] 339a4e72a1f5: Pull complete [2022-08-15T20:15:59.667Z] 988bab9f4d93: Pull complete [2022-08-15T20:15:59.928Z] 1469e6f7b9e6: Pull complete [2022-08-15T20:16:00.191Z] eaf3925da568: Pull complete [2022-08-15T20:16:02.110Z] bab4dde63d76: Pull complete [2022-08-15T20:16:02.110Z] bde34c3a00c8: Pull complete [2022-08-15T20:16:02.110Z] b352a97aabf1: Pull complete [2022-08-15T20:16:02.110Z] 4872d77fe225: Pull complete [2022-08-15T20:16:02.373Z] 5851b861e8e6: Pull complete [2022-08-15T20:16:02.373Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T20:16:02.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T20:16:02.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:16:02.624Z] prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container [2022-08-15T20:16:02.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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-15T20:16:04.685Z] $ docker top e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b -eo pid,comm [2022-08-15T20:16:04.767Z] 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-15T20:16:04.767Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T20:16:04.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T20:16:04.896Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T20:16:05.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T20:16:05.036Z] $ docker exec e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent [2022-08-15T20:16:05.177Z] SSH_AUTH_SOCK=/tmp/ssh-Ugh129XZIXlm/agent.33 [2022-08-15T20:16:05.177Z] SSH_AGENT_PID=39 [2022-08-15T20:16:05.185Z] Running ssh-add (command line suppressed) [2022-08-15T20:16:05.300Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_6031453468206798986.key (/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_6031453468206798986.key) [2022-08-15T20:16:05.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T20:16:05.662Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T20:16:05.681Z] $ docker exec --env ******** --env ******** e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent -k [2022-08-15T20:16:05.805Z] unset SSH_AUTH_SOCK; [2022-08-15T20:16:05.806Z] unset SSH_AGENT_PID; [2022-08-15T20:16:05.806Z] echo Agent pid 39 killed; [2022-08-15T20:16:05.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T20:16:05.913Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T20:16:05.913Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T20:16:06.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T20:16:06.045Z] $ docker exec e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent [2022-08-15T20:16:06.182Z] SSH_AUTH_SOCK=/tmp/ssh-mCVTRUpDbnb9/agent.71 [2022-08-15T20:16:06.182Z] SSH_AGENT_PID=77 [2022-08-15T20:16:06.189Z] Running ssh-add (command line suppressed) [2022-08-15T20:16:06.308Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_5151445192477349663.key (/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/private_key_5151445192477349663.key) [2022-08-15T20:16:06.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T20:16:06.669Z] + git semver init [2022-08-15T20:16:06.929Z] 2022-08-15 20:16:06,883 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T20:16:06.930Z] 2022-08-15 20:16:06,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-210/.semver [2022-08-15T20:16:06.930Z] 2022-08-15 20:16:06,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-210/.semver [2022-08-15T20:16:06.930Z] 2022-08-15 20:16:06,885 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-210/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-210, universal_newlines=False, shell=None, istream=None) [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,884 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-210/.git/info/exclude [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,885 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-210/.semver/PR-210 with force:False [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,885 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-210/.semver/PR-210 [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,889 [execute] INFO git cat-file --batch-check [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-210/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,898 [execute] INFO git cat-file --batch [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-210/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T20:16:08.315Z] 2022-08-15 20:16:07,904 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-210/.semver/PR-210 [2022-08-15T20:16:08.315Z] 0.0.0 [Pipeline] } [2022-08-15T20:16:08.334Z] $ docker exec --env ******** --env ******** e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b ssh-agent -k [2022-08-15T20:16:08.446Z] unset SSH_AUTH_SOCK; [2022-08-15T20:16:08.446Z] unset SSH_AGENT_PID; [2022-08-15T20:16:08.447Z] echo Agent pid 77 killed; [2022-08-15T20:16:08.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T20:16:08.891Z] + git semver [Pipeline] } [2022-08-15T20:16:09.175Z] $ docker stop --time=1 e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b [2022-08-15T20:16:10.452Z] $ docker rm -f e64fe49af706cc1b02d952d2a7fa8b6a89f2bd3f734d344f44e14b9f9e6c863b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T20:16:10.876Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T20:16:11.177Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T20:16:11.194Z] [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-15T20:16:11.749Z] provisioning config files... [2022-08-15T20:16:11.761Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config1699029645568886790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:16:12.110Z] ---> docker-login.sh [2022-08-15T20:16:12.110Z] nexus3.edgexfoundry.org:10001 [2022-08-15T20:16:12.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:16:12.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:16:12.110Z] Configure a credential helper to remove this warning. See [2022-08-15T20:16:12.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:16:12.110Z] [2022-08-15T20:16:12.110Z] Login Succeeded [2022-08-15T20:16:12.110Z] nexus3.edgexfoundry.org:10002 [2022-08-15T20:16:12.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:16:12.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:16:12.372Z] Configure a credential helper to remove this warning. See [2022-08-15T20:16:12.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:16:12.372Z] [2022-08-15T20:16:12.372Z] Login Succeeded [2022-08-15T20:16:12.372Z] nexus3.edgexfoundry.org:10003 [2022-08-15T20:16:12.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:16:12.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:16:12.372Z] Configure a credential helper to remove this warning. See [2022-08-15T20:16:12.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:16:12.372Z] [2022-08-15T20:16:12.372Z] Login Succeeded [2022-08-15T20:16:12.372Z] nexus3.edgexfoundry.org:10004 [2022-08-15T20:16:12.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:16:12.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:16:12.633Z] Configure a credential helper to remove this warning. See [2022-08-15T20:16:12.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:16:12.633Z] [2022-08-15T20:16:12.633Z] Login Succeeded [2022-08-15T20:16:12.633Z] docker.io [2022-08-15T20:16:12.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:16:12.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:16:12.895Z] Configure a credential helper to remove this warning. See [2022-08-15T20:16:12.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:16:12.895Z] [2022-08-15T20:16:12.895Z] Login Succeeded [2022-08-15T20:16:12.895Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T20:16:12.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T20:16:13.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T20:16:13.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T20:16:13.187Z] ========================================================= [2022-08-15T20:16:13.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T20:16:13.187Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:16:13.654Z] + 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-15T20:16:13.655Z] Sending build context to Docker daemon 10.7MB [2022-08-15T20:16:13.655Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T20:16:13.655Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T20:16:13.655Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T20:16:13.655Z] 2408cc74d12b: Pulling fs layer [2022-08-15T20:16:13.655Z] ea60b727a1ce: Pulling fs layer [2022-08-15T20:16:13.655Z] 30c4a7721957: Pulling fs layer [2022-08-15T20:16:13.655Z] 370296b7ddb6: Pulling fs layer [2022-08-15T20:16:13.655Z] 7c6cee850709: Pulling fs layer [2022-08-15T20:16:13.655Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T20:16:13.655Z] d94ebbe4e438: Pulling fs layer [2022-08-15T20:16:13.655Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T20:16:13.655Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T20:16:13.655Z] 370296b7ddb6: Waiting [2022-08-15T20:16:13.655Z] 7c6cee850709: Waiting [2022-08-15T20:16:13.655Z] 39a5fcdaea64: Waiting [2022-08-15T20:16:13.655Z] d94ebbe4e438: Waiting [2022-08-15T20:16:13.655Z] bcfd1f05c69d: Waiting [2022-08-15T20:16:13.655Z] 59ccb84bbe0f: Waiting [2022-08-15T20:16:13.655Z] 30c4a7721957: Verifying Checksum [2022-08-15T20:16:13.655Z] 30c4a7721957: Download complete [2022-08-15T20:16:13.655Z] ea60b727a1ce: Download complete [2022-08-15T20:16:13.914Z] 7c6cee850709: Verifying Checksum [2022-08-15T20:16:13.914Z] 7c6cee850709: Download complete [2022-08-15T20:16:13.914Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T20:16:13.914Z] 39a5fcdaea64: Download complete [2022-08-15T20:16:13.914Z] 2408cc74d12b: Verifying Checksum [2022-08-15T20:16:13.914Z] 2408cc74d12b: Download complete [2022-08-15T20:16:13.914Z] d94ebbe4e438: Download complete [2022-08-15T20:16:13.914Z] 2408cc74d12b: Pull complete [2022-08-15T20:16:14.175Z] ea60b727a1ce: Pull complete [2022-08-15T20:16:14.175Z] 30c4a7721957: Pull complete [2022-08-15T20:16:14.175Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T20:16:14.175Z] 59ccb84bbe0f: Download complete [2022-08-15T20:16:14.746Z] 370296b7ddb6: Verifying Checksum [2022-08-15T20:16:14.746Z] 370296b7ddb6: Download complete [2022-08-15T20:16:14.746Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T20:16:14.746Z] bcfd1f05c69d: Download complete [2022-08-15T20:16:18.942Z] 370296b7ddb6: Pull complete [2022-08-15T20:16:18.942Z] 7c6cee850709: Pull complete [2022-08-15T20:16:18.942Z] 39a5fcdaea64: Pull complete [2022-08-15T20:16:18.942Z] d94ebbe4e438: Pull complete [2022-08-15T20:16:20.319Z] bcfd1f05c69d: Pull complete [2022-08-15T20:16:21.266Z] 59ccb84bbe0f: Pull complete [2022-08-15T20:16:21.266Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T20:16:21.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T20:16:21.266Z] ---> a4fb48ad2a94 [2022-08-15T20:16:21.266Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T20:16:23.814Z] ---> Running in 6aeb82b225a7 [2022-08-15T20:16:23.814Z] Removing intermediate container 6aeb82b225a7 [2022-08-15T20:16:23.814Z] ---> 949c10e1ca19 [2022-08-15T20:16:23.814Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T20:16:23.814Z] ---> Running in 444856042a23 [2022-08-15T20:16:23.814Z] Removing intermediate container 444856042a23 [2022-08-15T20:16:23.814Z] ---> 0e619d75acb8 [2022-08-15T20:16:23.814Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T20:16:23.814Z] ---> Running in 9a0a64aba244 [2022-08-15T20:16:23.814Z] Removing intermediate container 9a0a64aba244 [2022-08-15T20:16:23.814Z] ---> 41ad36d0eb4c [2022-08-15T20:16:23.814Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T20:16:23.814Z] ---> Running in 7255af254fbe [2022-08-15T20:16:24.383Z] Removing intermediate container 7255af254fbe [2022-08-15T20:16:24.383Z] ---> 065de955544b [2022-08-15T20:16:24.383Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T20:16:24.383Z] ---> Running in c60c63e72635 [2022-08-15T20:16:24.643Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T20:16:25.583Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T20:16:25.844Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T20:16:26.104Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T20:16:26.104Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T20:16:26.104Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T20:16:26.364Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T20:16:26.364Z] OK: 216 MiB in 55 packages [2022-08-15T20:16:26.587Z] Still waiting to schedule task [2022-08-15T20:16:26.587Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T20:16:26.933Z] Removing intermediate container c60c63e72635 [2022-08-15T20:16:26.934Z] ---> db6e9c7116fe [2022-08-15T20:16:26.934Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-15T20:16:26.934Z] ---> Running in fb6c2e4c173f [2022-08-15T20:16:26.934Z] Removing intermediate container fb6c2e4c173f [2022-08-15T20:16:26.934Z] ---> 88a2bf4c6944 [2022-08-15T20:16:26.934Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T20:16:26.934Z] ---> 5fe4c25e23b0 [2022-08-15T20:16:26.934Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T20:16:26.934Z] ---> Running in 1bffeb05644c [2022-08-15T20:16:48.906Z] Removing intermediate container 1bffeb05644c [2022-08-15T20:16:48.906Z] ---> be44334035f4 [2022-08-15T20:16:48.906Z] Step 11/12 : COPY . . [2022-08-15T20:16:48.906Z] ---> b5320b573b69 [2022-08-15T20:16:48.906Z] Step 12/12 : RUN $MAKE [2022-08-15T20:16:48.906Z] ---> Running in 685bab68e64c [2022-08-15T20:16:48.906Z] noop [2022-08-15T20:16:48.906Z] Removing intermediate container 685bab68e64c [2022-08-15T20:16:48.906Z] ---> 2d27b2cb9e82 [2022-08-15T20:16:48.906Z] Successfully built 2d27b2cb9e82 [2022-08-15T20:16:48.906Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:16:49.382Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T20:16:49.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:16:49.547Z] prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container [2022-08-15T20:16:49.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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-15T20:16:49.966Z] $ docker top 00024bb441469527abbdc82dbb0c4fc2d64661b56367c3418bc5071c3fd4258c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T20:16:50.378Z] + go version [2022-08-15T20:16:50.378Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T20:16:50.419Z] $ docker stop --time=1 00024bb441469527abbdc82dbb0c4fc2d64661b56367c3418bc5071c3fd4258c [2022-08-15T20:16:51.697Z] $ docker rm -f 00024bb441469527abbdc82dbb0c4fc2d64661b56367c3418bc5071c3fd4258c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:16:52.427Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T20:16:52.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:16:52.635Z] prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container [2022-08-15T20:16:52.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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-15T20:16:53.084Z] $ docker top b87897f7b99a4ae789d3ad3edc4828613f2b7264f36d1f5e5025aa93b9ce5f8a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T20:16:53.488Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-210 [Pipeline] fileExists [Pipeline] sh [2022-08-15T20:16:53.851Z] + make test [2022-08-15T20:16:53.851Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T20:16:54.110Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-15T20:17:04.104Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-15T20:17:04.104Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-08-15T20:17:10.683Z] 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-15T20:17:10.683Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T20:17:13.975Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T20:17:13.975Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T20:17:13.975Z] ./bin/test-attribution-txt.sh [2022-08-15T20:17:13.975Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T20:17:13.975Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T20:17:13.975Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T20:17:14.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T20:17:14.305Z] $ docker stop --time=1 b87897f7b99a4ae789d3ad3edc4828613f2b7264f36d1f5e5025aa93b9ce5f8a [2022-08-15T20:17:16.403Z] $ docker rm -f b87897f7b99a4ae789d3ad3edc4828613f2b7264f36d1f5e5025aa93b9ce5f8a [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T20:17:16.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T20:17:16.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T20:17:17.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T20:17:17.963Z] + ls -al . [2022-08-15T20:17:17.963Z] total 172 [2022-08-15T20:17:17.963Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 20:16 . [2022-08-15T20:17:17.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:15 .. [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 20:15 .dockerignore [2022-08-15T20:17:17.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 20:17 .git [2022-08-15T20:17:17.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:15 .github [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 20:15 .gitignore [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 20:15 .golangci.yml [2022-08-15T20:17:17.963Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 20:16 .semver [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 20:15 Attribution.txt [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 20:15 CHANGELOG.md [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 20:15 Dockerfile [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 20:15 GOVERNANCE.md [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 20:15 Jenkinsfile [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 20:15 LICENSE [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 20:15 Makefile [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 20:15 OWNERS.md [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 20:15 README.md [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 20:16 VERSION [2022-08-15T20:17:17.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:15 bin [2022-08-15T20:17:17.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:15 cmd [2022-08-15T20:17:17.963Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 20:17 coverage.out [2022-08-15T20:17:17.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:15 driver [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 20:15 go.mod [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 20:15 go.sum [2022-08-15T20:17:17.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:15 snap [2022-08-15T20:17:17.963Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:17:18.349Z] + 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=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 --label arch=amd64 --label version=0.0.0 . [2022-08-15T20:17:18.349Z] Sending build context to Docker daemon 10.71MB [2022-08-15T20:17:18.349Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T20:17:18.349Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-15T20:17:18.349Z] ---> 2d27b2cb9e82 [2022-08-15T20:17:18.349Z] Step 3/25 : ARG MAKE='make build' [2022-08-15T20:17:18.611Z] ---> Running in 5d4a072760c8 [2022-08-15T20:17:18.611Z] Removing intermediate container 5d4a072760c8 [2022-08-15T20:17:18.611Z] ---> 2556ec181c76 [2022-08-15T20:17:18.611Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T20:17:18.611Z] ---> Running in db8cfc093b11 [2022-08-15T20:17:18.611Z] Removing intermediate container db8cfc093b11 [2022-08-15T20:17:18.611Z] ---> e523226ca3e9 [2022-08-15T20:17:18.611Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T20:17:18.871Z] ---> Running in 6a70dfa5384d [2022-08-15T20:17:18.871Z] Removing intermediate container 6a70dfa5384d [2022-08-15T20:17:18.871Z] ---> e3d0974ee654 [2022-08-15T20:17:18.871Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T20:17:18.871Z] ---> Running in f10d1aea4575 [2022-08-15T20:17:19.448Z] Removing intermediate container f10d1aea4575 [2022-08-15T20:17:19.448Z] ---> f4ab058557e0 [2022-08-15T20:17:19.448Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T20:17:19.448Z] ---> Running in 2bcd600ef810 [2022-08-15T20:17:19.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T20:17:20.647Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T20:17:20.906Z] OK: 216 MiB in 55 packages [2022-08-15T20:17:21.166Z] Removing intermediate container 2bcd600ef810 [2022-08-15T20:17:21.166Z] ---> a76b55aee2b8 [2022-08-15T20:17:21.166Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-15T20:17:21.166Z] ---> Running in 389e00f2b0ce [2022-08-15T20:17:21.166Z] Removing intermediate container 389e00f2b0ce [2022-08-15T20:17:21.166Z] ---> 6d75e3e9aaf1 [2022-08-15T20:17:21.166Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-15T20:17:21.427Z] ---> 1fa5767576e6 [2022-08-15T20:17:21.427Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T20:17:21.427Z] ---> Running in f68c80fd9397 [2022-08-15T20:17:21.998Z] Removing intermediate container f68c80fd9397 [2022-08-15T20:17:21.998Z] ---> 74b6356b776e [2022-08-15T20:17:21.998Z] Step 11/25 : COPY . . [2022-08-15T20:17:22.257Z] ---> 517eb8c593f5 [2022-08-15T20:17:22.257Z] Step 12/25 : RUN $MAKE [2022-08-15T20:17:22.257Z] ---> Running in bb7a24e8edf0 [2022-08-15T20:17:22.521Z] 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-15T20:17:44.477Z] Removing intermediate container bb7a24e8edf0 [2022-08-15T20:17:44.477Z] ---> a487c133ea80 [2022-08-15T20:17:44.477Z] Step 13/25 : FROM alpine:3.16 [2022-08-15T20:17:44.477Z] 3.16: Pulling from library/alpine [2022-08-15T20:17:44.477Z] 213ec9aee27d: Pulling fs layer [2022-08-15T20:17:44.811Z] 213ec9aee27d: Verifying Checksum [2022-08-15T20:17:44.811Z] 213ec9aee27d: Download complete [2022-08-15T20:17:44.811Z] 213ec9aee27d: Pull complete [2022-08-15T20:17:44.811Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T20:17:44.811Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T20:17:44.811Z] ---> 9c6f07244728 [2022-08-15T20:17:44.811Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-15T20:17:45.072Z] ---> Running in e93471197557 [2022-08-15T20:17:45.072Z] Removing intermediate container e93471197557 [2022-08-15T20:17:45.072Z] ---> 4f270ccb7d32 [2022-08-15T20:17:45.072Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-15T20:17:45.072Z] ---> Running in 8077eae15d6f [2022-08-15T20:17:45.072Z] Removing intermediate container 8077eae15d6f [2022-08-15T20:17:45.072Z] ---> 387ee8eb8a68 [2022-08-15T20:17:45.072Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T20:17:45.072Z] ---> Running in ec9da94c26f9 [2022-08-15T20:17:45.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T20:17:45.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T20:17:45.855Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T20:17:45.855Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T20:17:45.855Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T20:17:45.855Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T20:17:45.855Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T20:17:45.855Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T20:17:45.855Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T20:17:45.855Z] OK: 8 MiB in 20 packages [2022-08-15T20:17:46.424Z] Removing intermediate container ec9da94c26f9 [2022-08-15T20:17:46.424Z] ---> 4a1d44626cb9 [2022-08-15T20:17:46.424Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-15T20:17:46.995Z] ---> ccec97c6f5a1 [2022-08-15T20:17:46.995Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-15T20:17:47.256Z] ---> 8eea5ceebef2 [2022-08-15T20:17:47.256Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-15T20:17:47.256Z] ---> 5b92ea88fa6a [2022-08-15T20:17:47.256Z] Step 20/25 : EXPOSE 59986 [2022-08-15T20:17:47.256Z] ---> Running in 12ab3d93e8d6 [2022-08-15T20:17:47.256Z] Removing intermediate container 12ab3d93e8d6 [2022-08-15T20:17:47.256Z] ---> 965c837eb60d [2022-08-15T20:17:47.256Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-15T20:17:47.517Z] ---> Running in 4e7d609aa5c5 [2022-08-15T20:17:47.517Z] Removing intermediate container 4e7d609aa5c5 [2022-08-15T20:17:47.517Z] ---> ce99351ec064 [2022-08-15T20:17:47.517Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T20:17:47.517Z] ---> Running in 2f12f523dbd3 [2022-08-15T20:17:47.517Z] Removing intermediate container 2f12f523dbd3 [2022-08-15T20:17:47.517Z] ---> 990780c097b8 [2022-08-15T20:17:47.517Z] Step 23/25 : LABEL arch=amd64 [2022-08-15T20:17:47.517Z] ---> Running in 642df0e3c7c3 [2022-08-15T20:17:47.780Z] Removing intermediate container 642df0e3c7c3 [2022-08-15T20:17:47.780Z] ---> cce5406247ad [2022-08-15T20:17:47.780Z] Step 24/25 : LABEL git_sha=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [2022-08-15T20:17:47.780Z] ---> Running in 0768aa12c4a9 [2022-08-15T20:17:47.780Z] Removing intermediate container 0768aa12c4a9 [2022-08-15T20:17:47.780Z] ---> a5318ff14e18 [2022-08-15T20:17:47.780Z] Step 25/25 : LABEL version=0.0.0 [2022-08-15T20:17:47.780Z] ---> Running in 66693611de24 [2022-08-15T20:17:47.780Z] Removing intermediate container 66693611de24 [2022-08-15T20:17:47.780Z] ---> 4ec26a351ab5 [2022-08-15T20:17:47.780Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T20:17:47.780Z] Successfully built 4ec26a351ab5 [2022-08-15T20:17:47.780Z] 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-15T20:17:48.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T20:17:48.588Z] [2022-08-15T20:17:48.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:17:48.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T20:17:48.962Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T20:17:48.962Z] 5eb5b503b376: Pulling fs layer [2022-08-15T20:17:48.962Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T20:17:48.962Z] ec43610c2a17: Pulling fs layer [2022-08-15T20:17:48.962Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T20:17:48.962Z] 33b1e0a273af: Pulling fs layer [2022-08-15T20:17:48.963Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T20:17:48.963Z] 2f39f015ded8: Pulling fs layer [2022-08-15T20:17:48.963Z] 2f39f015ded8: Waiting [2022-08-15T20:17:48.963Z] 33b1e0a273af: Waiting [2022-08-15T20:17:48.963Z] 5d3b04190fa2: Waiting [2022-08-15T20:17:48.963Z] 3a2ae6a8a46f: Waiting [2022-08-15T20:17:48.963Z] 5c69ac0246d0: Download complete [2022-08-15T20:17:48.963Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T20:17:48.963Z] 33b1e0a273af: Verifying Checksum [2022-08-15T20:17:48.963Z] 33b1e0a273af: Download complete [2022-08-15T20:17:48.963Z] 5d3b04190fa2: Download complete [2022-08-15T20:17:49.222Z] ec43610c2a17: Verifying Checksum [2022-08-15T20:17:49.222Z] 5eb5b503b376: Verifying Checksum [2022-08-15T20:17:49.222Z] 5eb5b503b376: Download complete [2022-08-15T20:17:49.790Z] 2f39f015ded8: Download complete [2022-08-15T20:17:50.729Z] 5eb5b503b376: Pull complete [2022-08-15T20:17:50.729Z] 5c69ac0246d0: Pull complete [2022-08-15T20:17:51.301Z] ec43610c2a17: Pull complete [2022-08-15T20:17:51.301Z] 3a2ae6a8a46f: Pull complete [2022-08-15T20:17:51.560Z] 33b1e0a273af: Pull complete [2022-08-15T20:17:51.560Z] 5d3b04190fa2: Pull complete [2022-08-15T20:17:56.842Z] 2f39f015ded8: Pull complete [2022-08-15T20:17:56.842Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T20:17:56.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T20:17:56.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:17:57.080Z] prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container [2022-08-15T20:17:57.126Z] $ 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-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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-15T20:17:59.765Z] $ docker top ae1326445817be525d0579a9dc1fff813a42800fad7c972d01bc4a037c77685a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:18:00.238Z] ---> job-cost.sh [2022-08-15T20:18:00.238Z] lf-activate-venv: SKIPPING [2022-08-15T20:18:00.238Z] INFO: No Stack... [2022-08-15T20:18:00.810Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T20:18:01.071Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T20:18:01.384Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-210/archives/cost.csv [2022-08-15T20:18:01.384Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T20:18:01.421Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [2022-08-15T20:18:01.426Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] did not exist. Created. [2022-08-15T20:18:01.426Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T20:18:01.880Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T20:18:01.967Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T20:18:01.983Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T20:18:02.070Z] $ docker stop --time=1 ae1326445817be525d0579a9dc1fff813a42800fad7c972d01bc4a037c77685a [2022-08-15T20:18:03.227Z] $ docker rm -f ae1326445817be525d0579a9dc1fff813a42800fad7c972d01bc4a037c77685a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T20:18:07.421Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22851 in /w/workspace/gexfoundry_device-rest-go_PR-210 [Pipeline] { [Pipeline] ws [2022-08-15T20:18:07.460Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-08-15T20:18:07.562Z] The recommended git tool is: git [2022-08-15T20:18:14.149Z] using credential edgex-jenkins-ssh [2022-08-15T20:18:14.168Z] Cloning the remote Git repository [2022-08-15T20:18:14.257Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-15T20:18:14.332Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-08-15T20:18:14.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-15T20:18:14.415Z] > git --version # timeout=10 [2022-08-15T20:18:14.432Z] > git --version # 'git version 2.25.1' [2022-08-15T20:18:14.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T20:18:14.523Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T20:18:16.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-15T20:18:16.379Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T20:18:16.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-15T20:18:16.918Z] Merging remotes/origin/main commit 7849af7816baf1c3cc1af121845620dcf422b00f into PR head commit a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [2022-08-15T20:18:17.127Z] Merge succeeded, producing a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [2022-08-15T20:18:17.128Z] Checking out Revision a4c2232b4362e4ba4fa6d05c1b4772891599ba49 (PR-210) [2022-08-15T20:18:16.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-15T20:18:16.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T20:18:16.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T20:18:16.941Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T20:18:16.958Z] > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # timeout=10 [2022-08-15T20:18:17.046Z] > git remote # timeout=10 [2022-08-15T20:18:17.061Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T20:18:17.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T20:18:17.091Z] > git merge 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 [2022-08-15T20:18:17.118Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T20:18:17.138Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T20:18:17.149Z] > git checkout -f a4c2232b4362e4ba4fa6d05c1b4772891599ba49 # timeout=10 [2022-08-15T20:18:21.283Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-15T20:18:21.339Z] > git --version # timeout=10 [2022-08-15T20:18:21.351Z] > git --version # 'git version 2.25.1' [2022-08-15T20:18:21.363Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T20:18:22.443Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T20:18:22.443Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T20:18:22.443Z] Dload Upload Total Spent Left Speed [2022-08-15T20:18:22.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2022-08-15T20:18:23.337Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T20:18:23.690Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T20:18:23.690Z] + sudo tee /etc/docker/daemon.new [2022-08-15T20:18:23.690Z] { [2022-08-15T20:18:23.690Z] "registry-mirrors": [ [2022-08-15T20:18:23.690Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T20:18:23.690Z] ], [2022-08-15T20:18:23.690Z] "bip": "10.250.0.254/24", [2022-08-15T20:18:23.690Z] "hosts": [ [2022-08-15T20:18:23.690Z] "tcp://0.0.0.0:5555", [2022-08-15T20:18:23.690Z] "unix:///var/run/docker.sock" [2022-08-15T20:18:23.690Z] ], [2022-08-15T20:18:23.690Z] "mtu": 1458, [2022-08-15T20:18:23.690Z] "selinux-enabled": true, [2022-08-15T20:18:23.690Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T20:18:23.690Z] } [Pipeline] sh [2022-08-15T20:18:24.047Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T20:18:24.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T20:18:42.804Z] provisioning config files... [2022-08-15T20:18:42.829Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5426125907190059715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:18:43.227Z] ---> docker-login.sh [2022-08-15T20:18:43.227Z] nexus3.edgexfoundry.org:10001 [2022-08-15T20:18:43.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:18:44.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:18:44.093Z] Configure a credential helper to remove this warning. See [2022-08-15T20:18:44.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:18:44.093Z] [2022-08-15T20:18:44.093Z] Login Succeeded [2022-08-15T20:18:44.093Z] nexus3.edgexfoundry.org:10002 [2022-08-15T20:18:44.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:18:44.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:18:44.370Z] Configure a credential helper to remove this warning. See [2022-08-15T20:18:44.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:18:44.370Z] [2022-08-15T20:18:44.370Z] Login Succeeded [2022-08-15T20:18:44.370Z] nexus3.edgexfoundry.org:10003 [2022-08-15T20:18:44.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:18:44.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:18:44.913Z] Configure a credential helper to remove this warning. See [2022-08-15T20:18:44.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:18:44.913Z] [2022-08-15T20:18:44.913Z] Login Succeeded [2022-08-15T20:18:44.913Z] nexus3.edgexfoundry.org:10004 [2022-08-15T20:18:45.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:18:45.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:18:45.187Z] Configure a credential helper to remove this warning. See [2022-08-15T20:18:45.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:18:45.187Z] [2022-08-15T20:18:45.187Z] Login Succeeded [2022-08-15T20:18:45.187Z] docker.io [2022-08-15T20:18:45.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T20:18:46.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T20:18:46.060Z] Configure a credential helper to remove this warning. See [2022-08-15T20:18:46.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T20:18:46.060Z] [2022-08-15T20:18:46.060Z] Login Succeeded [2022-08-15T20:18:46.060Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T20:18:46.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T20:18:46.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T20:18:46.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T20:18:46.522Z] ========================================================= [2022-08-15T20:18:46.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T20:18:46.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:18:47.031Z] + 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-15T20:18:47.031Z] Sending build context to Docker daemon 126kB [2022-08-15T20:18:47.305Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T20:18:47.305Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T20:18:47.590Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T20:18:47.590Z] b3c136eddcbf: Pulling fs layer [2022-08-15T20:18:47.590Z] c0a3192eca97: Pulling fs layer [2022-08-15T20:18:47.590Z] a050256f5b6f: Pulling fs layer [2022-08-15T20:18:47.590Z] 656be50a0ddc: Pulling fs layer [2022-08-15T20:18:47.590Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T20:18:47.590Z] 46d945488cbd: Pulling fs layer [2022-08-15T20:18:47.590Z] 8a5474983e97: Pulling fs layer [2022-08-15T20:18:47.590Z] 329c88fbcd65: Pulling fs layer [2022-08-15T20:18:47.590Z] 656be50a0ddc: Waiting [2022-08-15T20:18:47.590Z] 2bbca73fdf42: Waiting [2022-08-15T20:18:47.590Z] 46d945488cbd: Waiting [2022-08-15T20:18:47.590Z] 8a5474983e97: Waiting [2022-08-15T20:18:47.590Z] 329c88fbcd65: Waiting [2022-08-15T20:18:47.590Z] a050256f5b6f: Verifying Checksum [2022-08-15T20:18:47.590Z] a050256f5b6f: Download complete [2022-08-15T20:18:47.590Z] c0a3192eca97: Verifying Checksum [2022-08-15T20:18:47.590Z] c0a3192eca97: Download complete [2022-08-15T20:18:47.590Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T20:18:47.590Z] 2bbca73fdf42: Download complete [2022-08-15T20:18:47.590Z] 46d945488cbd: Verifying Checksum [2022-08-15T20:18:47.590Z] 46d945488cbd: Download complete [2022-08-15T20:18:47.590Z] b3c136eddcbf: Verifying Checksum [2022-08-15T20:18:47.590Z] b3c136eddcbf: Download complete [2022-08-15T20:18:48.608Z] b3c136eddcbf: Pull complete [2022-08-15T20:18:48.608Z] 329c88fbcd65: Verifying Checksum [2022-08-15T20:18:48.608Z] 329c88fbcd65: Download complete [2022-08-15T20:18:48.887Z] c0a3192eca97: Pull complete [2022-08-15T20:18:49.500Z] a050256f5b6f: Pull complete [2022-08-15T20:18:49.781Z] 8a5474983e97: Verifying Checksum [2022-08-15T20:18:49.781Z] 8a5474983e97: Download complete [2022-08-15T20:18:50.386Z] 656be50a0ddc: Verifying Checksum [2022-08-15T20:18:50.386Z] 656be50a0ddc: Download complete [2022-08-15T20:19:05.483Z] 656be50a0ddc: Pull complete [2022-08-15T20:19:05.483Z] 2bbca73fdf42: Pull complete [2022-08-15T20:19:05.483Z] 46d945488cbd: Pull complete [2022-08-15T20:19:10.903Z] 8a5474983e97: Pull complete [2022-08-15T20:19:12.339Z] 329c88fbcd65: Pull complete [2022-08-15T20:19:12.339Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T20:19:12.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T20:19:12.339Z] ---> ff4287adb874 [2022-08-15T20:19:12.339Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T20:19:12.945Z] ---> Running in 32200eb76661 [2022-08-15T20:19:13.227Z] Removing intermediate container 32200eb76661 [2022-08-15T20:19:13.227Z] ---> d45e9088af4e [2022-08-15T20:19:13.227Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T20:19:13.227Z] ---> Running in ba951a01e429 [2022-08-15T20:19:13.512Z] Removing intermediate container ba951a01e429 [2022-08-15T20:19:13.512Z] ---> 1c791e3cfa17 [2022-08-15T20:19:13.512Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T20:19:13.512Z] ---> Running in 13382f6b04fb [2022-08-15T20:19:14.118Z] Removing intermediate container 13382f6b04fb [2022-08-15T20:19:14.118Z] ---> 7e17fb8c42f6 [2022-08-15T20:19:14.118Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T20:19:14.118Z] ---> Running in 32ead1d779e6 [2022-08-15T20:19:17.512Z] Removing intermediate container 32ead1d779e6 [2022-08-15T20:19:17.512Z] ---> 937b0584a4d2 [2022-08-15T20:19:17.512Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T20:19:17.512Z] ---> Running in 5e58caec34f4 [2022-08-15T20:19:18.106Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T20:19:19.084Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T20:19:19.675Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T20:19:19.946Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T20:19:19.946Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T20:19:20.220Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T20:19:20.220Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T20:19:20.220Z] OK: 226 MiB in 55 packages [2022-08-15T20:19:21.198Z] Removing intermediate container 5e58caec34f4 [2022-08-15T20:19:21.198Z] ---> 5724d8a6e994 [2022-08-15T20:19:21.198Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-15T20:19:21.484Z] ---> Running in 0b9b640f23b0 [2022-08-15T20:19:21.759Z] Removing intermediate container 0b9b640f23b0 [2022-08-15T20:19:21.759Z] ---> 81941176cd30 [2022-08-15T20:19:21.759Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T20:19:22.031Z] ---> c5de14011f5a [2022-08-15T20:19:22.031Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T20:19:22.327Z] ---> Running in 49091e922388 [2022-08-15T20:20:09.367Z] Removing intermediate container 49091e922388 [2022-08-15T20:20:09.367Z] ---> 2bb3525cedd0 [2022-08-15T20:20:09.367Z] Step 11/12 : COPY . . [2022-08-15T20:20:10.376Z] ---> 68e741143ebe [2022-08-15T20:20:10.376Z] Step 12/12 : RUN $MAKE [2022-08-15T20:20:10.376Z] ---> Running in 8d69508b6006 [2022-08-15T20:20:11.368Z] noop [2022-08-15T20:20:11.966Z] Removing intermediate container 8d69508b6006 [2022-08-15T20:20:11.966Z] ---> 72daf9fcf8d4 [2022-08-15T20:20:11.966Z] Successfully built 72daf9fcf8d4 [2022-08-15T20:20:11.967Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:20:12.442Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T20:20:12.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:20:12.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-22851 does not seem to be running inside a container [2022-08-15T20:20:12.843Z] $ 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-15T20:20:14.130Z] $ docker top 4edf504b009662b945631465bc3728ca0d9f61ef60c8394d6e0980bb998d7d46 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T20:20:15.110Z] + go version [2022-08-15T20:20:15.110Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T20:20:15.147Z] $ docker stop --time=1 4edf504b009662b945631465bc3728ca0d9f61ef60c8394d6e0980bb998d7d46 [2022-08-15T20:20:16.783Z] $ docker rm -f 4edf504b009662b945631465bc3728ca0d9f61ef60c8394d6e0980bb998d7d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:20:17.692Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T20:20:17.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:20:18.030Z] prd-ubuntu20.04-docker-arm64-4c-16g-22851 does not seem to be running inside a container [2022-08-15T20:20:18.120Z] $ 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-15T20:20:19.404Z] $ docker top aead2dc143e1c53aa39b8ac33b88ab16580a1e31f3ca8baaa12f99c3e0341111 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T20:20:20.383Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T20:20:21.123Z] + make test [2022-08-15T20:20:21.123Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T20:20:22.566Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-15T20:21:44.394Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-15T20:21:44.394Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements [2022-08-15T20:21:44.394Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T20:21:44.394Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T20:21:59.529Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T20:21:59.529Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T20:21:59.529Z] ./bin/test-attribution-txt.sh [2022-08-15T20:21:59.529Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T20:21:59.529Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T20:21:59.529Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T20:21:59.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T20:21:59.882Z] $ docker stop --time=1 aead2dc143e1c53aa39b8ac33b88ab16580a1e31f3ca8baaa12f99c3e0341111 [2022-08-15T20:22:01.626Z] $ docker rm -f aead2dc143e1c53aa39b8ac33b88ab16580a1e31f3ca8baaa12f99c3e0341111 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T20:22:02.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T20:22:02.637Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T20:22:03.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T20:22:03.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T20:22:03.964Z] + ls -al . [2022-08-15T20:22:03.964Z] total 168 [2022-08-15T20:22:03.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 20:20 . [2022-08-15T20:22:03.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:18 .. [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 20:18 .dockerignore [2022-08-15T20:22:03.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 20:18 .git [2022-08-15T20:22:03.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:18 .github [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 20:18 .gitignore [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 20:18 .golangci.yml [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 20:18 Attribution.txt [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 20:18 CHANGELOG.md [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 20:18 Dockerfile [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 20:18 GOVERNANCE.md [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 20:18 Jenkinsfile [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 20:18 LICENSE [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 20:18 Makefile [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 20:18 OWNERS.md [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 20:18 README.md [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 20:16 VERSION [2022-08-15T20:22:03.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:18 bin [2022-08-15T20:22:03.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 20:18 cmd [2022-08-15T20:22:03.964Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 20:21 coverage.out [2022-08-15T20:22:03.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 20:18 driver [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 20:18 go.mod [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 20:18 go.sum [2022-08-15T20:22:03.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 20:18 snap [2022-08-15T20:22:03.964Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:22:04.390Z] + 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=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 --label arch=arm64 --label version=0.0.0 . [2022-08-15T20:22:04.390Z] Sending build context to Docker daemon 136.2kB [2022-08-15T20:22:04.670Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T20:22:04.670Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-15T20:22:04.670Z] ---> 72daf9fcf8d4 [2022-08-15T20:22:04.670Z] Step 3/25 : ARG MAKE='make build' [2022-08-15T20:22:04.670Z] ---> Running in 812822e898df [2022-08-15T20:22:04.944Z] Removing intermediate container 812822e898df [2022-08-15T20:22:04.944Z] ---> e35d722fa465 [2022-08-15T20:22:04.944Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T20:22:05.218Z] ---> Running in 4e5655d83305 [2022-08-15T20:22:05.492Z] Removing intermediate container 4e5655d83305 [2022-08-15T20:22:05.492Z] ---> 79a9ebcee1a5 [2022-08-15T20:22:05.492Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T20:22:05.492Z] ---> Running in ab8f5046b29c [2022-08-15T20:22:05.764Z] Removing intermediate container ab8f5046b29c [2022-08-15T20:22:05.764Z] ---> 1db27c979f3f [2022-08-15T20:22:05.764Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T20:22:05.764Z] ---> Running in eb9461911620 [2022-08-15T20:22:07.206Z] Removing intermediate container eb9461911620 [2022-08-15T20:22:07.206Z] ---> 654dfefd2eb1 [2022-08-15T20:22:07.206Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T20:22:07.489Z] ---> Running in 8fa817c16c1e [2022-08-15T20:22:08.485Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T20:22:09.085Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T20:22:10.067Z] OK: 226 MiB in 55 packages [2022-08-15T20:22:11.066Z] Removing intermediate container 8fa817c16c1e [2022-08-15T20:22:11.066Z] ---> 4d2b6dba6fcd [2022-08-15T20:22:11.066Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-15T20:22:11.066Z] ---> Running in 8c0a49a03b83 [2022-08-15T20:22:11.342Z] Removing intermediate container 8c0a49a03b83 [2022-08-15T20:22:11.342Z] ---> 865f3b1495c5 [2022-08-15T20:22:11.342Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-15T20:22:11.961Z] ---> 8b765394821d [2022-08-15T20:22:11.961Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T20:22:11.961Z] ---> Running in 59b331037bd4 [2022-08-15T20:22:13.947Z] Removing intermediate container 59b331037bd4 [2022-08-15T20:22:13.947Z] ---> 75ad0c49f2df [2022-08-15T20:22:13.947Z] Step 11/25 : COPY . . [2022-08-15T20:22:14.543Z] ---> d7e219b5964d [2022-08-15T20:22:14.544Z] Step 12/25 : RUN $MAKE [2022-08-15T20:22:14.544Z] ---> Running in 4efad1e95097 [2022-08-15T20:22:15.524Z] 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-15T20:24:22.419Z] Removing intermediate container 4efad1e95097 [2022-08-15T20:24:22.419Z] ---> df25296bc7ad [2022-08-15T20:24:22.419Z] Step 13/25 : FROM alpine:3.16 [2022-08-15T20:24:22.419Z] 3.16: Pulling from library/alpine [2022-08-15T20:24:22.419Z] 9b18e9b68314: Pulling fs layer [2022-08-15T20:24:22.419Z] 9b18e9b68314: Verifying Checksum [2022-08-15T20:24:22.419Z] 9b18e9b68314: Download complete [2022-08-15T20:24:22.419Z] 9b18e9b68314: Pull complete [2022-08-15T20:24:22.419Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T20:24:22.419Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T20:24:22.419Z] ---> a6215f271958 [2022-08-15T20:24:22.419Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-15T20:24:22.419Z] ---> Running in fd16c558238a [2022-08-15T20:24:22.419Z] Removing intermediate container fd16c558238a [2022-08-15T20:24:22.419Z] ---> 75a34d409423 [2022-08-15T20:24:22.419Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-15T20:24:22.419Z] ---> Running in fcda4a98df90 [2022-08-15T20:24:22.419Z] Removing intermediate container fcda4a98df90 [2022-08-15T20:24:22.419Z] ---> 68b9497303d0 [2022-08-15T20:24:22.419Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T20:24:22.419Z] ---> Running in 7dd095ec5d63 [2022-08-15T20:24:22.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T20:24:22.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T20:24:22.419Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T20:24:22.419Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T20:24:22.419Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T20:24:22.419Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T20:24:22.419Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T20:24:22.419Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T20:24:22.419Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T20:24:22.419Z] OK: 8 MiB in 20 packages [2022-08-15T20:24:22.419Z] Removing intermediate container 7dd095ec5d63 [2022-08-15T20:24:22.419Z] ---> 7f3a4dc4a868 [2022-08-15T20:24:22.419Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-15T20:24:23.018Z] ---> c3ca927a3002 [2022-08-15T20:24:23.018Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-15T20:24:23.619Z] ---> 95a9a6ee18b4 [2022-08-15T20:24:23.619Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-15T20:24:23.894Z] ---> 298fbbf3d115 [2022-08-15T20:24:23.894Z] Step 20/25 : EXPOSE 59986 [2022-08-15T20:24:24.167Z] ---> Running in d7d5da564202 [2022-08-15T20:24:24.440Z] Removing intermediate container d7d5da564202 [2022-08-15T20:24:24.440Z] ---> ecb4f0068e9b [2022-08-15T20:24:24.440Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-15T20:24:24.440Z] ---> Running in cec8f93d6ec3 [2022-08-15T20:24:24.716Z] Removing intermediate container cec8f93d6ec3 [2022-08-15T20:24:24.716Z] ---> 8b62a6603149 [2022-08-15T20:24:24.716Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T20:24:24.716Z] ---> Running in 879d1aad6dac [2022-08-15T20:24:24.991Z] Removing intermediate container 879d1aad6dac [2022-08-15T20:24:24.991Z] ---> 7fe35383a170 [2022-08-15T20:24:24.991Z] Step 23/25 : LABEL arch=arm64 [2022-08-15T20:24:25.268Z] ---> Running in a3f4f6ad2c36 [2022-08-15T20:24:25.549Z] Removing intermediate container a3f4f6ad2c36 [2022-08-15T20:24:25.549Z] ---> 3020f013bfa0 [2022-08-15T20:24:25.549Z] Step 24/25 : LABEL git_sha=a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [2022-08-15T20:24:25.549Z] ---> Running in 7a96773a9a77 [2022-08-15T20:24:25.820Z] Removing intermediate container 7a96773a9a77 [2022-08-15T20:24:25.820Z] ---> d32478c3a6af [2022-08-15T20:24:25.820Z] Step 25/25 : LABEL version=0.0.0 [2022-08-15T20:24:25.820Z] ---> Running in b352f5803711 [2022-08-15T20:24:26.094Z] Removing intermediate container b352f5803711 [2022-08-15T20:24:26.094Z] ---> eb7f2f8b72c5 [2022-08-15T20:24:26.094Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T20:24:26.094Z] Successfully built eb7f2f8b72c5 [2022-08-15T20:24:26.367Z] 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-15T20:24:27.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T20:24:27.168Z] [2022-08-15T20:24:27.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:24:27.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T20:24:27.586Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T20:24:27.860Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T20:24:27.860Z] 04944245beec: Pulling fs layer [2022-08-15T20:24:27.860Z] 699f458cf7ca: Pulling fs layer [2022-08-15T20:24:27.860Z] 765212b225bb: Pulling fs layer [2022-08-15T20:24:27.860Z] f23df028b6ca: Pulling fs layer [2022-08-15T20:24:27.860Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T20:24:27.860Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T20:24:27.860Z] 765212b225bb: Waiting [2022-08-15T20:24:27.860Z] f23df028b6ca: Waiting [2022-08-15T20:24:27.860Z] d65c8cfc05b1: Waiting [2022-08-15T20:24:27.860Z] 2437ff75d9bd: Waiting [2022-08-15T20:24:27.860Z] 04944245beec: Verifying Checksum [2022-08-15T20:24:27.860Z] 04944245beec: Download complete [2022-08-15T20:24:27.860Z] 765212b225bb: Verifying Checksum [2022-08-15T20:24:27.860Z] 765212b225bb: Download complete [2022-08-15T20:24:27.860Z] f23df028b6ca: Download complete [2022-08-15T20:24:27.860Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T20:24:27.860Z] d65c8cfc05b1: Download complete [2022-08-15T20:24:28.140Z] 699f458cf7ca: Verifying Checksum [2022-08-15T20:24:28.140Z] 699f458cf7ca: Download complete [2022-08-15T20:24:28.417Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T20:24:28.417Z] 8998bd30e6a1: Download complete [2022-08-15T20:24:31.055Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T20:24:31.055Z] 2437ff75d9bd: Download complete [2022-08-15T20:24:33.039Z] 8998bd30e6a1: Pull complete [2022-08-15T20:24:33.313Z] 04944245beec: Pull complete [2022-08-15T20:24:34.750Z] 699f458cf7ca: Pull complete [2022-08-15T20:24:35.022Z] 765212b225bb: Pull complete [2022-08-15T20:24:36.003Z] f23df028b6ca: Pull complete [2022-08-15T20:24:36.004Z] d65c8cfc05b1: Pull complete [2022-08-15T20:24:51.109Z] 2437ff75d9bd: Pull complete [2022-08-15T20:24:51.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T20:24:51.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T20:24:51.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:24:51.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-22851 does not seem to be running inside a container [2022-08-15T20:24:51.568Z] $ 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-15T20:24:54.121Z] $ docker top eeb0ec29ea4abf981364d75a2e71d520611f3c3b5e29fa894a431ec4a5881a51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:24:55.098Z] ---> job-cost.sh [2022-08-15T20:24:55.098Z] lf-activate-venv: SKIPPING [2022-08-15T20:24:55.098Z] INFO: No Stack... [2022-08-15T20:24:55.694Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T20:24:56.291Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T20:24:56.974Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-08-15T20:24:56.974Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T20:24:57.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [2022-08-15T20:24:57.057Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] did not exist. Created. [2022-08-15T20:24:57.057Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T20:24:57.806Z] /w/workspace/device-rest-go/1@tmp/durable-d3c8d992/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T20:24:58.507Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T20:24:58.547Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T20:24:58.588Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T20:24:58.601Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-210-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T20:24:58.687Z] $ docker stop --time=1 eeb0ec29ea4abf981364d75a2e71d520611f3c3b5e29fa894a431ec4a5881a51 [2022-08-15T20:25:00.182Z] $ docker rm -f eeb0ec29ea4abf981364d75a2e71d520611f3c3b5e29fa894a431ec4a5881a51 [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-15T20:25:01.204Z] provisioning config files... [2022-08-15T20:25:01.212Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config7422236666788657646tmp [Pipeline] { [Pipeline] sh [2022-08-15T20:25:01.551Z] + set +x [2022-08-15T20:25:01.552Z] + curl -s https://codecov.io/bash [2022-08-15T20:25:01.552Z] + bash -s -- [2022-08-15T20:25:01.552Z] [2022-08-15T20:25:01.552Z] _____ _ [2022-08-15T20:25:01.552Z] / ____| | | [2022-08-15T20:25:01.552Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T20:25:01.552Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T20:25:01.552Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T20:25:01.552Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T20:25:01.552Z] Bash-1.0.6 [2022-08-15T20:25:01.552Z] [2022-08-15T20:25:01.552Z] [2022-08-15T20:25:01.552Z] ==> git version 2.25.1 found [2022-08-15T20:25:01.552Z] ==> 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-15T20:25:01.552Z] Release-Date: 2020-01-08 [2022-08-15T20:25:01.552Z] 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-15T20:25:01.552Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T20:25:01.552Z] ==> Jenkins CI detected. [2022-08-15T20:25:01.552Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-210 [2022-08-15T20:25:01.552Z] project root: . [2022-08-15T20:25:01.552Z] --> token set from env [2022-08-15T20:25:01.552Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T20:25:01.552Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T20:25:01.552Z] ==> Python coveragepy not found [2022-08-15T20:25:01.552Z] ==> Searching for coverage reports in: [2022-08-15T20:25:01.552Z] + . [2022-08-15T20:25:01.552Z] -> Found 1 reports [2022-08-15T20:25:01.552Z] ==> Detecting git/mercurial file structure [2022-08-15T20:25:01.552Z] ==> Reading reports [2022-08-15T20:25:01.812Z] + ./coverage.out bytes=9355 [2022-08-15T20:25:01.812Z] ==> Appending adjustments [2022-08-15T20:25:01.812Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T20:25:01.812Z] + Found adjustments [2022-08-15T20:25:01.812Z] ==> Gzipping contents [2022-08-15T20:25:01.812Z] 4.0K /tmp/codecov.GGeDWt.gz [2022-08-15T20:25:01.812Z] ==> Uploading reports [2022-08-15T20:25:01.812Z] url: https://codecov.io [2022-08-15T20:25:01.812Z] query: branch=PR-210&commit=a4c2232b4362e4ba4fa6d05c1b4772891599ba49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-210%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=210&job=&cmd_args= [2022-08-15T20:25:01.812Z] -> Pinging Codecov [2022-08-15T20:25:01.812Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-210&commit=a4c2232b4362e4ba4fa6d05c1b4772891599ba49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-210%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=210&job=&cmd_args= [2022-08-15T20:25:02.082Z] -> Uploading to [2022-08-15T20:25:02.082Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/4E5D53B4F1F92C436F7061BF334D961C/a4c2232b4362e4ba4fa6d05c1b4772891599ba49/2e9fcd9c-9351-478c-9412-75dba9be9dbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T202502Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9b36101532cc091e9679778e782579ee0a049e740ff40feb30b07051dfb89fe [2022-08-15T20:25:02.082Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T20:25:02.082Z] Dload Upload Total Spent Left Speed [2022-08-15T20:25:02.350Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7368 --:--:-- --:--:-- --:--:-- 7368 [2022-08-15T20:25:02.350Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a4c2232b4362e4ba4fa6d05c1b4772891599ba49 [Pipeline] } [2022-08-15T20:25:02.380Z] 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-15T20:25:04.094Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-210/archives ] [2022-08-15T20:25:04.094Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-210/archives [2022-08-15T20:25:04.094Z] total 16 [2022-08-15T20:25:04.094Z] drwxr-xr-x 3 root root 4096 Aug 15 20:18 . [2022-08-15T20:25:04.094Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 20:18 .. [2022-08-15T20:25:04.094Z] drwxr-xr-x 2 root root 4096 Aug 15 20:18 cost [2022-08-15T20:25:04.094Z] -rw-r--r-- 1 root root 86 Aug 15 20:18 cost.csv [2022-08-15T20:25:04.094Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-210/archives [2022-08-15T20:25:04.094Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-210/archives [2022-08-15T20:25:04.094Z] total 16 [2022-08-15T20:25:04.094Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 20:18 . [2022-08-15T20:25:04.094Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 20:18 .. [2022-08-15T20:25:04.094Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 20:18 cost [2022-08-15T20:25:04.094Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 15 20:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:04.424Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:05.328Z] ---> package-listing.sh [2022-08-15T20:25:05.328Z] ++ facter osfamily [2022-08-15T20:25:05.328Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T20:25:05.590Z] + OS_FAMILY=debian [2022-08-15T20:25:05.590Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-210 [2022-08-15T20:25:05.590Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T20:25:05.590Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T20:25:05.590Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T20:25:05.590Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T20:25:05.590Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-210 ']' [2022-08-15T20:25:05.590Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T20:25:05.590Z] + case "${OS_FAMILY}" in [2022-08-15T20:25:05.590Z] + dpkg -l [2022-08-15T20:25:05.590Z] + grep '^ii' [2022-08-15T20:25:05.590Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T20:25:05.590Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T20:25:05.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T20:25:05.590Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-210 ']' [2022-08-15T20:25:05.590Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-210/archives/ [2022-08-15T20:25:05.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-210/archives/ [Pipeline] echo [2022-08-15T20:25:05.623Z] 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-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T20:25:05.916Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T20:25:06.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T20:25:06.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T20:25:06.721Z] prd-ubuntu20.04-docker-8c-8g-22850 does not seem to be running inside a container [2022-08-15T20:25:06.772Z] $ 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-210/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-210 -v /w/workspace/gexfoundry_device-rest-go_PR-210:/w/workspace/gexfoundry_device-rest-go_PR-210:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-210@tmp:/w/workspace/gexfoundry_device-rest-go_PR-210@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-15T20:25:06.977Z] $ docker top c0c32210459465c9416d253f4cd30da05d3697525b2024939e0b1a3419fb26bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T20:25:07.362Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T20:25:07.681Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T20:25:08.004Z] + ls /var/log/sa-host [2022-08-15T20:25:08.004Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T20:25:08.211Z] provisioning config files... [2022-08-15T20:25:08.220Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-210@tmp/config4077148021676179505tmp [Pipeline] { [Pipeline] echo [2022-08-15T20:25:08.274Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:08.593Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T20:25:08.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:09.027Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T20:25:09.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:09.369Z] ---> sudo-logs.sh [2022-08-15T20:25:09.369Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T20:25:09.455Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:09.766Z] ---> job-cost.sh [2022-08-15T20:25:09.766Z] lf-activate-venv: SKIPPING [2022-08-15T20:25:09.766Z] DEBUG: total: 0.2199999988079071 [2022-08-15T20:25:09.766Z] INFO: Retrieving Stack Cost... [2022-08-15T20:25:10.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T20:25:10.970Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T20:25:11.004Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T20:25:11.320Z] ---> logs-deploy.sh [2022-08-15T20:25:11.320Z] lf-activate-venv: SKIPPING [2022-08-15T20:25:11.320Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-210/1 [2022-08-15T20:25:11.320Z] INFO: archiving workspace using pattern(s): [2022-08-15T20:25:12.260Z] Archives upload complete. [2022-08-15T20:25:12.260Z] INFO: archiving logs to Nexus