Pull request #209 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at ffd2286d282b3823fe96213d71db487366ab171f rather than aaca3c8d71de50cdfd89b040e82e1be438aa04eb Obtained Jenkinsfile from ffd2286d282b3823fe96213d71db487366ab171f 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-ssh14489945263367046952.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-ssh18327783117469508073.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-209/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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2332787585248037616.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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7229507620132093869.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-ssh15119271378180501472.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-209/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-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6814485160928166217.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22521 in /w/workspace/gexfoundry_device-rest-go_PR-209 [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-209 # 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/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit aaca3c8d71de50cdfd89b040e82e1be438aa04eb Merge succeeded, producing aaca3c8d71de50cdfd89b040e82e1be438aa04eb Checking out Revision aaca3c8d71de50cdfd89b040e82e1be438aa04eb (PR-209) > git config core.sparsecheckout # timeout=10 > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # 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 ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 Commit message: "build(snap): Upgrade snap hook to 2.4.1" 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-11T16:44:39.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-11T16:44:39.643Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-11T16:44:39.731Z] ========================================================= [2022-08-11T16:44:39.731Z] EdgeX Global Pipelines Version Info [2022-08-11T16:44:39.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:44:40.502Z] ------------------- [2022-08-11T16:44:40.502Z] stable info: [2022-08-11T16:44:40.502Z] ------------------- [2022-08-11T16:44:40.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T16:44:40.502Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T16:44:40.502Z] Message: update stable to v1.0.238 [2022-08-11T16:44:41.084Z] ------------------- [2022-08-11T16:44:41.084Z] experimental info: [2022-08-11T16:44:41.084Z] ------------------- [2022-08-11T16:44:41.084Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T16:44:41.084Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T16:44:41.084Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-11T16:44:41.471Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-11T16:44:41.514Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-11T16:44:41.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-11T16:44:41.598Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-11T16:44:41.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-11T16:44:41.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-11T16:44:41.721Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-11T16:44:41.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-11T16:44:41.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-11T16:44:41.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-11T16:44:41.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-11T16:44:41.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-11T16:44:41.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-11T16:44:42.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-11T16:44:42.061Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T16:44:42.097Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T16:44:42.145Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T16:44:42.183Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T16:44:42.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-11T16:44:42.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-11T16:44:42.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-11T16:44:42.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-11T16:44:42.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-11T16:44:42.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-11T16:44:42.462Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-11T16:44:42.506Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-11T16:44:42.547Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-11T16:44:42.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-209 [Pipeline] echo [2022-08-11T16:44:42.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-209 [Pipeline] echo [2022-08-11T16:44:42.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-209 [Pipeline] echo [2022-08-11T16:44:42.717Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo [2022-08-11T16:44:42.764Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aaca3c8 [Pipeline] echo [2022-08-11T16:44:42.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T16:44:42.959Z] provisioning config files... [2022-08-11T16:44:42.971Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config4663039970961434850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:44:43.324Z] ---> docker-login.sh [2022-08-11T16:44:43.324Z] nexus3.edgexfoundry.org:10001 [2022-08-11T16:44:43.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:44:43.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:44:43.584Z] Configure a credential helper to remove this warning. See [2022-08-11T16:44:43.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:44:43.584Z] [2022-08-11T16:44:43.584Z] Login Succeeded [2022-08-11T16:44:43.584Z] nexus3.edgexfoundry.org:10002 [2022-08-11T16:44:43.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:44:43.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:44:43.844Z] Configure a credential helper to remove this warning. See [2022-08-11T16:44:43.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:44:43.844Z] [2022-08-11T16:44:43.844Z] Login Succeeded [2022-08-11T16:44:43.844Z] nexus3.edgexfoundry.org:10003 [2022-08-11T16:44:43.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:44:43.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:44:43.844Z] Configure a credential helper to remove this warning. See [2022-08-11T16:44:43.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:44:43.844Z] [2022-08-11T16:44:43.844Z] Login Succeeded [2022-08-11T16:44:43.844Z] nexus3.edgexfoundry.org:10004 [2022-08-11T16:44:44.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:44:44.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:44:44.105Z] Configure a credential helper to remove this warning. See [2022-08-11T16:44:44.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:44:44.105Z] [2022-08-11T16:44:44.105Z] Login Succeeded [2022-08-11T16:44:44.105Z] docker.io [2022-08-11T16:44:44.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:44:44.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:44:44.366Z] Configure a credential helper to remove this warning. See [2022-08-11T16:44:44.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:44:44.366Z] [2022-08-11T16:44:44.366Z] Login Succeeded [2022-08-11T16:44:44.366Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T16:44:44.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-11T16:44:45.025Z] + git rev-list -1 --merges aaca3c8d71de50cdfd89b040e82e1be438aa04eb~1..aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo [2022-08-11T16:44:45.073Z] -----------> git rev-list -1 --merges aaca3c8d71de50cdfd89b040e82e1be438aa04eb~1..aaca3c8d71de50cdfd89b040e82e1be438aa04eb aaca3c8d71de50cdfd89b040e82e1be438aa04eb [false] [Pipeline] sh [2022-08-11T16:44:45.393Z] + git log --format=format:%s -1 aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo [2022-08-11T16:44:45.427Z] ========================================================= [2022-08-11T16:44:45.427Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-11T16:44:45.427Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T16:44:45.870Z] + git log --format=format:%s -1 aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] echo [2022-08-11T16:44:45.904Z] [semverPrep] GIT_COMMIT: aaca3c8d71de50cdfd89b040e82e1be438aa04eb, Commit Message: build(snap): Upgrade snap hook to 2.4.1 [Pipeline] echo [2022-08-11T16:44:45.939Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-11T16:44:46.319Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-11T16:44:46.319Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-11T16:44:46.319Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-11T16:44:46.320Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-11T16:44:46.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-11T16:44:46.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-11T16:44:46.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:44:46.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T16:44:46.757Z] [2022-08-11T16:44:46.757Z] 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-11T16:44:47.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T16:44:47.142Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-11T16:44:47.142Z] b85a868b505f: Pulling fs layer [2022-08-11T16:44:47.142Z] e2be974225ed: Pulling fs layer [2022-08-11T16:44:47.142Z] 339a4e72a1f5: Pulling fs layer [2022-08-11T16:44:47.142Z] 988bab9f4d93: Pulling fs layer [2022-08-11T16:44:47.142Z] 1469e6f7b9e6: Pulling fs layer [2022-08-11T16:44:47.142Z] eaf3925da568: Pulling fs layer [2022-08-11T16:44:47.142Z] bab4dde63d76: Pulling fs layer [2022-08-11T16:44:47.142Z] 1469e6f7b9e6: Waiting [2022-08-11T16:44:47.142Z] eaf3925da568: Waiting [2022-08-11T16:44:47.142Z] bde34c3a00c8: Pulling fs layer [2022-08-11T16:44:47.142Z] b352a97aabf1: Pulling fs layer [2022-08-11T16:44:47.142Z] 4872d77fe225: Pulling fs layer [2022-08-11T16:44:47.142Z] b352a97aabf1: Waiting [2022-08-11T16:44:47.142Z] bde34c3a00c8: Waiting [2022-08-11T16:44:47.142Z] bab4dde63d76: Waiting [2022-08-11T16:44:47.142Z] 5851b861e8e6: Pulling fs layer [2022-08-11T16:44:47.142Z] 5851b861e8e6: Waiting [2022-08-11T16:44:47.142Z] 4872d77fe225: Waiting [2022-08-11T16:44:47.142Z] e2be974225ed: Download complete [2022-08-11T16:44:47.142Z] 988bab9f4d93: Verifying Checksum [2022-08-11T16:44:47.142Z] 988bab9f4d93: Download complete [2022-08-11T16:44:47.401Z] 1469e6f7b9e6: Verifying Checksum [2022-08-11T16:44:47.401Z] 1469e6f7b9e6: Download complete [2022-08-11T16:44:47.401Z] eaf3925da568: Verifying Checksum [2022-08-11T16:44:47.401Z] eaf3925da568: Download complete [2022-08-11T16:44:47.401Z] 339a4e72a1f5: Verifying Checksum [2022-08-11T16:44:47.401Z] 339a4e72a1f5: Download complete [2022-08-11T16:44:47.401Z] bde34c3a00c8: Download complete [2022-08-11T16:44:47.401Z] b352a97aabf1: Download complete [2022-08-11T16:44:47.401Z] 4872d77fe225: Verifying Checksum [2022-08-11T16:44:47.401Z] 4872d77fe225: Download complete [2022-08-11T16:44:47.401Z] 5851b861e8e6: Verifying Checksum [2022-08-11T16:44:47.401Z] 5851b861e8e6: Download complete [2022-08-11T16:44:47.401Z] b85a868b505f: Verifying Checksum [2022-08-11T16:44:47.401Z] b85a868b505f: Download complete [2022-08-11T16:44:47.663Z] bab4dde63d76: Verifying Checksum [2022-08-11T16:44:47.663Z] bab4dde63d76: Download complete [2022-08-11T16:44:48.603Z] b85a868b505f: Pull complete [2022-08-11T16:44:48.862Z] e2be974225ed: Pull complete [2022-08-11T16:44:49.448Z] 339a4e72a1f5: Pull complete [2022-08-11T16:44:49.448Z] 988bab9f4d93: Pull complete [2022-08-11T16:44:49.707Z] 1469e6f7b9e6: Pull complete [2022-08-11T16:44:49.707Z] eaf3925da568: Pull complete [2022-08-11T16:44:51.612Z] bab4dde63d76: Pull complete [2022-08-11T16:44:51.612Z] bde34c3a00c8: Pull complete [2022-08-11T16:44:51.612Z] b352a97aabf1: Pull complete [2022-08-11T16:44:51.874Z] 4872d77fe225: Pull complete [2022-08-11T16:44:51.874Z] 5851b861e8e6: Pull complete [2022-08-11T16:44:51.874Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-11T16:44:51.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T16:44:51.874Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:44:52.100Z] prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container [2022-08-11T16:44:52.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-11T16:44:54.875Z] $ docker top 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 -eo pid,comm [2022-08-11T16:44:54.936Z] 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-11T16:44:54.936Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-11T16:44:55.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T16:44:55.061Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T16:44:55.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T16:44:55.195Z] $ docker exec 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent [2022-08-11T16:44:55.316Z] SSH_AUTH_SOCK=/tmp/ssh-S6eXrvUzHbHd/agent.33 [2022-08-11T16:44:55.316Z] SSH_AGENT_PID=39 [2022-08-11T16:44:55.323Z] Running ssh-add (command line suppressed) [2022-08-11T16:44:55.438Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_3279552152819260890.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_3279552152819260890.key) [2022-08-11T16:44:55.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T16:44:55.778Z] + git tag --points-at HEAD [Pipeline] } [2022-08-11T16:44:55.806Z] $ docker exec --env ******** --env ******** 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent -k [2022-08-11T16:44:55.912Z] unset SSH_AUTH_SOCK; [2022-08-11T16:44:55.913Z] unset SSH_AGENT_PID; [2022-08-11T16:44:55.913Z] echo Agent pid 39 killed; [2022-08-11T16:44:55.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-11T16:44:56.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T16:44:56.007Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T16:44:56.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T16:44:56.155Z] $ docker exec 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent [2022-08-11T16:44:56.263Z] SSH_AUTH_SOCK=/tmp/ssh-wyTWVOd5sktz/agent.71 [2022-08-11T16:44:56.263Z] SSH_AGENT_PID=77 [2022-08-11T16:44:56.269Z] Running ssh-add (command line suppressed) [2022-08-11T16:44:56.380Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6017867746242661576.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6017867746242661576.key) [2022-08-11T16:44:56.390Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T16:44:56.719Z] + git semver init [2022-08-11T16:44:56.979Z] 2022-08-11 16:44:56,913 [run_init] DEBUG init version:0.0.0 force:False [2022-08-11T16:44:56.979Z] 2022-08-11 16:44:56,914 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver [2022-08-11T16:44:56.979Z] 2022-08-11 16:44:56,915 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-209/.semver [2022-08-11T16:44:56.979Z] 2022-08-11 16:44:56,915 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-209/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209, universal_newlines=False, shell=None, istream=None) [2022-08-11T16:44:58.366Z] 2022-08-11 16:44:57,930 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.git/info/exclude [2022-08-11T16:44:58.366Z] 2022-08-11 16:44:57,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 with force:False [2022-08-11T16:44:58.366Z] 2022-08-11 16:44:57,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 [2022-08-11T16:44:58.366Z] 2022-08-11 16:44:57,934 [execute] INFO git cat-file --batch-check [2022-08-11T16:44:58.366Z] 2022-08-11 16:44:57,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) [2022-08-11T16:44:58.366Z] 2022-08-11 16:44:57,938 [execute] INFO git cat-file --batch [2022-08-11T16:44:58.367Z] 2022-08-11 16:44:57,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) [2022-08-11T16:44:58.367Z] 2022-08-11 16:44:57,942 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 [2022-08-11T16:44:58.367Z] 0.0.0 [Pipeline] } [2022-08-11T16:44:58.400Z] $ docker exec --env ******** --env ******** 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 ssh-agent -k [2022-08-11T16:44:58.510Z] unset SSH_AUTH_SOCK; [2022-08-11T16:44:58.511Z] unset SSH_AGENT_PID; [2022-08-11T16:44:58.511Z] echo Agent pid 77 killed; [2022-08-11T16:44:58.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-11T16:44:58.948Z] + git semver [Pipeline] } [2022-08-11T16:44:59.240Z] $ docker stop --time=1 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 [2022-08-11T16:45:00.534Z] $ docker rm -f 6ceb46f9f74b50e919859567145efe74df387292ed77479b8d359002f14bb649 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T16:45:00.944Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-11T16:45:01.231Z] Stashed 1 file(s) [Pipeline] echo [2022-08-11T16:45:01.247Z] [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-11T16:45:01.834Z] provisioning config files... [2022-08-11T16:45:01.843Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config8624914851692741715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:45:02.196Z] ---> docker-login.sh [2022-08-11T16:45:02.196Z] nexus3.edgexfoundry.org:10001 [2022-08-11T16:45:02.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:45:02.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:45:02.196Z] Configure a credential helper to remove this warning. See [2022-08-11T16:45:02.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:45:02.196Z] [2022-08-11T16:45:02.196Z] Login Succeeded [2022-08-11T16:45:02.196Z] nexus3.edgexfoundry.org:10002 [2022-08-11T16:45:02.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:45:02.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:45:02.458Z] Configure a credential helper to remove this warning. See [2022-08-11T16:45:02.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:45:02.458Z] [2022-08-11T16:45:02.458Z] Login Succeeded [2022-08-11T16:45:02.458Z] nexus3.edgexfoundry.org:10003 [2022-08-11T16:45:02.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:45:02.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:45:02.458Z] Configure a credential helper to remove this warning. See [2022-08-11T16:45:02.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:45:02.458Z] [2022-08-11T16:45:02.458Z] Login Succeeded [2022-08-11T16:45:02.458Z] nexus3.edgexfoundry.org:10004 [2022-08-11T16:45:02.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:45:02.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:45:02.720Z] Configure a credential helper to remove this warning. See [2022-08-11T16:45:02.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:45:02.720Z] [2022-08-11T16:45:02.720Z] Login Succeeded [2022-08-11T16:45:02.720Z] docker.io [2022-08-11T16:45:02.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:45:02.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:45:02.981Z] Configure a credential helper to remove this warning. See [2022-08-11T16:45:02.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:45:02.981Z] [2022-08-11T16:45:02.981Z] Login Succeeded [2022-08-11T16:45:02.981Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T16:45:03.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T16:45:03.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:45:03.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:45:03.278Z] ========================================================= [2022-08-11T16:45:03.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-11T16:45:03.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:45:03.742Z] + 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-11T16:45:03.742Z] Sending build context to Docker daemon 10.71MB [2022-08-11T16:45:03.742Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:45:03.742Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-11T16:45:03.742Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-11T16:45:03.742Z] 2408cc74d12b: Pulling fs layer [2022-08-11T16:45:03.742Z] ea60b727a1ce: Pulling fs layer [2022-08-11T16:45:03.742Z] 30c4a7721957: Pulling fs layer [2022-08-11T16:45:03.742Z] 370296b7ddb6: Pulling fs layer [2022-08-11T16:45:03.742Z] 7c6cee850709: Pulling fs layer [2022-08-11T16:45:03.742Z] 39a5fcdaea64: Pulling fs layer [2022-08-11T16:45:03.742Z] d94ebbe4e438: Pulling fs layer [2022-08-11T16:45:03.742Z] bcfd1f05c69d: Pulling fs layer [2022-08-11T16:45:03.742Z] 59ccb84bbe0f: Pulling fs layer [2022-08-11T16:45:03.742Z] d94ebbe4e438: Waiting [2022-08-11T16:45:03.742Z] 370296b7ddb6: Waiting [2022-08-11T16:45:03.742Z] bcfd1f05c69d: Waiting [2022-08-11T16:45:03.742Z] 7c6cee850709: Waiting [2022-08-11T16:45:03.742Z] 59ccb84bbe0f: Waiting [2022-08-11T16:45:03.742Z] 39a5fcdaea64: Waiting [2022-08-11T16:45:03.742Z] 30c4a7721957: Verifying Checksum [2022-08-11T16:45:03.742Z] 30c4a7721957: Download complete [2022-08-11T16:45:04.003Z] ea60b727a1ce: Verifying Checksum [2022-08-11T16:45:04.003Z] ea60b727a1ce: Download complete [2022-08-11T16:45:04.003Z] 7c6cee850709: Verifying Checksum [2022-08-11T16:45:04.003Z] 7c6cee850709: Download complete [2022-08-11T16:45:04.003Z] 39a5fcdaea64: Verifying Checksum [2022-08-11T16:45:04.003Z] 39a5fcdaea64: Download complete [2022-08-11T16:45:04.003Z] 2408cc74d12b: Verifying Checksum [2022-08-11T16:45:04.003Z] 2408cc74d12b: Download complete [2022-08-11T16:45:04.003Z] d94ebbe4e438: Download complete [2022-08-11T16:45:04.003Z] 2408cc74d12b: Pull complete [2022-08-11T16:45:04.265Z] ea60b727a1ce: Pull complete [2022-08-11T16:45:04.265Z] 30c4a7721957: Pull complete [2022-08-11T16:45:04.265Z] 59ccb84bbe0f: Verifying Checksum [2022-08-11T16:45:04.265Z] 59ccb84bbe0f: Download complete [2022-08-11T16:45:04.526Z] bcfd1f05c69d: Verifying Checksum [2022-08-11T16:45:04.526Z] bcfd1f05c69d: Download complete [2022-08-11T16:45:04.526Z] 370296b7ddb6: Verifying Checksum [2022-08-11T16:45:04.526Z] 370296b7ddb6: Download complete [2022-08-11T16:45:08.718Z] 370296b7ddb6: Pull complete [2022-08-11T16:45:08.718Z] 7c6cee850709: Pull complete [2022-08-11T16:45:08.718Z] 39a5fcdaea64: Pull complete [2022-08-11T16:45:08.718Z] d94ebbe4e438: Pull complete [2022-08-11T16:45:10.620Z] bcfd1f05c69d: Pull complete [2022-08-11T16:45:11.555Z] 59ccb84bbe0f: Pull complete [2022-08-11T16:45:11.555Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-11T16:45:11.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-11T16:45:11.555Z] ---> a4fb48ad2a94 [2022-08-11T16:45:11.555Z] Step 3/12 : ARG MAKE='make build' [2022-08-11T16:45:15.756Z] ---> Running in 73c2a68d0ec4 [2022-08-11T16:45:15.756Z] Removing intermediate container 73c2a68d0ec4 [2022-08-11T16:45:15.756Z] ---> 17ea0bd9a8a9 [2022-08-11T16:45:15.756Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:45:15.756Z] ---> Running in ccc4f50cc44f [2022-08-11T16:45:15.756Z] Removing intermediate container ccc4f50cc44f [2022-08-11T16:45:15.756Z] ---> b20ca5e380b4 [2022-08-11T16:45:15.756Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:45:15.756Z] ---> Running in 1c23f9a4901d [2022-08-11T16:45:15.756Z] Removing intermediate container 1c23f9a4901d [2022-08-11T16:45:15.756Z] ---> d1ec77cd0b9a [2022-08-11T16:45:15.756Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:45:15.756Z] ---> Running in f8c960f59aac [2022-08-11T16:45:16.015Z] Removing intermediate container f8c960f59aac [2022-08-11T16:45:16.015Z] ---> e7b1a5aec4da [2022-08-11T16:45:16.015Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:45:16.015Z] ---> Running in e6c9d2ca6768 [2022-08-11T16:45:16.274Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T16:45:16.666Z] Still waiting to schedule task [2022-08-11T16:45:16.666Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-11T16:45:17.214Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T16:45:17.475Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-11T16:45:17.475Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-11T16:45:17.475Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-11T16:45:17.736Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-11T16:45:17.736Z] Executing busybox-1.35.0-r13.trigger [2022-08-11T16:45:17.736Z] OK: 216 MiB in 55 packages [2022-08-11T16:45:18.308Z] Removing intermediate container e6c9d2ca6768 [2022-08-11T16:45:18.308Z] ---> 6544691198c2 [2022-08-11T16:45:18.308Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-11T16:45:18.308Z] ---> Running in 97047d860055 [2022-08-11T16:45:18.308Z] Removing intermediate container 97047d860055 [2022-08-11T16:45:18.308Z] ---> 4bf85cd68bbb [2022-08-11T16:45:18.308Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-11T16:45:18.569Z] ---> b75a9d88041f [2022-08-11T16:45:18.569Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:45:18.569Z] ---> Running in b1ae2f515be0 [2022-08-11T16:45:40.526Z] Removing intermediate container b1ae2f515be0 [2022-08-11T16:45:40.526Z] ---> ecfd5d2ffe45 [2022-08-11T16:45:40.526Z] Step 11/12 : COPY . . [2022-08-11T16:45:40.526Z] ---> b98a0a3f64ec [2022-08-11T16:45:40.526Z] Step 12/12 : RUN $MAKE [2022-08-11T16:45:40.526Z] ---> Running in 70e09dd6be55 [2022-08-11T16:45:40.526Z] noop [2022-08-11T16:45:40.526Z] Removing intermediate container 70e09dd6be55 [2022-08-11T16:45:40.526Z] ---> 7640c52b01c7 [2022-08-11T16:45:40.526Z] Successfully built 7640c52b01c7 [2022-08-11T16:45:40.526Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:45:40.989Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T16:45:40.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:45:41.153Z] prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container [2022-08-11T16:45:41.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-11T16:45:41.551Z] $ docker top 32f77e5ff5d622a2a90f0321b889fda58713a918e86f4e41251e1b397ca41090 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:45:41.953Z] + go version [2022-08-11T16:45:41.953Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-11T16:45:41.989Z] $ docker stop --time=1 32f77e5ff5d622a2a90f0321b889fda58713a918e86f4e41251e1b397ca41090 [2022-08-11T16:45:43.231Z] $ docker rm -f 32f77e5ff5d622a2a90f0321b889fda58713a918e86f4e41251e1b397ca41090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:45:43.951Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T16:45:43.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:45:44.108Z] prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container [2022-08-11T16:45:44.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-11T16:45:44.497Z] $ docker top ab96cef3cfd614150681e37dd656caad7715260cc60b295f9e5287345c264e2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:45:44.920Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] fileExists [Pipeline] sh [2022-08-11T16:45:45.281Z] + make test [2022-08-11T16:45:45.281Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-11T16:45:45.540Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-11T16:45:53.649Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-11T16:45:54.221Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-08-11T16:46:00.795Z] 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-11T16:46:00.795Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T16:46:03.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T16:46:03.332Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T16:46:03.332Z] ./bin/test-attribution-txt.sh [2022-08-11T16:46:03.332Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-11T16:46:03.332Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-11T16:46:03.332Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-11T16:46:03.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T16:46:03.405Z] $ docker stop --time=1 ab96cef3cfd614150681e37dd656caad7715260cc60b295f9e5287345c264e2e [2022-08-11T16:46:05.798Z] $ docker rm -f ab96cef3cfd614150681e37dd656caad7715260cc60b295f9e5287345c264e2e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T16:46:06.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T16:46:06.347Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-11T16:46:06.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T16:46:07.277Z] + ls -al . [2022-08-11T16:46:07.277Z] total 172 [2022-08-11T16:46:07.277Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 16:45 . [2022-08-11T16:46:07.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:44 .. [2022-08-11T16:46:07.277Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 16:44 .dockerignore [2022-08-11T16:46:07.277Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:45 .git [2022-08-11T16:46:07.277Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:44 .github [2022-08-11T16:46:07.277Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 11 16:44 .gitignore [2022-08-11T16:46:07.277Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:44 .golangci.yml [2022-08-11T16:46:07.277Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:44 .semver [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 11 16:44 Attribution.txt [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 11 16:44 CHANGELOG.md [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 11 16:44 Dockerfile [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:44 GOVERNANCE.md [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 16:44 Jenkinsfile [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:44 LICENSE [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 11 16:44 Makefile [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 16:44 OWNERS.md [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 11 16:44 README.md [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:45 VERSION [2022-08-11T16:46:07.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:44 bin [2022-08-11T16:46:07.278Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:44 cmd [2022-08-11T16:46:07.278Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 11 16:45 coverage.out [2022-08-11T16:46:07.278Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:44 driver [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 11 16:44 go.mod [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 11 16:44 go.sum [2022-08-11T16:46:07.278Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:44 snap [2022-08-11T16:46:07.278Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 16:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:46:07.706Z] + 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=aaca3c8d71de50cdfd89b040e82e1be438aa04eb --label arch=amd64 --label version=0.0.0 . [2022-08-11T16:46:07.706Z] Sending build context to Docker daemon 10.72MB [2022-08-11T16:46:07.706Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:46:07.706Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-11T16:46:07.706Z] ---> 7640c52b01c7 [2022-08-11T16:46:07.706Z] Step 3/25 : ARG MAKE='make build' [2022-08-11T16:46:07.969Z] ---> Running in 5e28582b9faa [2022-08-11T16:46:07.969Z] Removing intermediate container 5e28582b9faa [2022-08-11T16:46:07.969Z] ---> 0922c4f537d0 [2022-08-11T16:46:07.969Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:46:07.969Z] ---> Running in bca52675118a [2022-08-11T16:46:07.969Z] Removing intermediate container bca52675118a [2022-08-11T16:46:07.969Z] ---> 37a9f8afd885 [2022-08-11T16:46:07.969Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:46:08.232Z] ---> Running in 939cfdecc824 [2022-08-11T16:46:08.232Z] Removing intermediate container 939cfdecc824 [2022-08-11T16:46:08.232Z] ---> 35cbbc65646a [2022-08-11T16:46:08.232Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:46:08.232Z] ---> Running in bc8dc1a9f4ce [2022-08-11T16:46:08.807Z] Removing intermediate container bc8dc1a9f4ce [2022-08-11T16:46:08.807Z] ---> b2fdbbaef407 [2022-08-11T16:46:08.807Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:46:08.807Z] ---> Running in 7280aee8a336 [2022-08-11T16:46:09.067Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T16:46:10.010Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T16:46:10.273Z] OK: 216 MiB in 55 packages [2022-08-11T16:46:10.533Z] Removing intermediate container 7280aee8a336 [2022-08-11T16:46:10.533Z] ---> 677818e74535 [2022-08-11T16:46:10.533Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-11T16:46:10.533Z] ---> Running in 3e1d23259ebe [2022-08-11T16:46:10.533Z] Removing intermediate container 3e1d23259ebe [2022-08-11T16:46:10.533Z] ---> 4631faed4bdb [2022-08-11T16:46:10.533Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-11T16:46:10.793Z] ---> ed409722efb7 [2022-08-11T16:46:10.793Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:46:10.793Z] ---> Running in c12ff00dc1fe [2022-08-11T16:46:11.363Z] Removing intermediate container c12ff00dc1fe [2022-08-11T16:46:11.363Z] ---> b857459f8413 [2022-08-11T16:46:11.363Z] Step 11/25 : COPY . . [2022-08-11T16:46:11.934Z] ---> 83ec0a1da673 [2022-08-11T16:46:11.934Z] Step 12/25 : RUN $MAKE [2022-08-11T16:46:11.934Z] ---> Running in ae5bcccfe7e1 [2022-08-11T16:46:11.934Z] 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-11T16:46:33.872Z] Removing intermediate container ae5bcccfe7e1 [2022-08-11T16:46:33.872Z] ---> e70b70ad61c1 [2022-08-11T16:46:33.872Z] Step 13/25 : FROM alpine:3.16 [2022-08-11T16:46:33.872Z] 3.16: Pulling from library/alpine [2022-08-11T16:46:33.872Z] 213ec9aee27d: Pulling fs layer [2022-08-11T16:46:33.872Z] 213ec9aee27d: Verifying Checksum [2022-08-11T16:46:33.872Z] 213ec9aee27d: Download complete [2022-08-11T16:46:33.872Z] 213ec9aee27d: Pull complete [2022-08-11T16:46:33.872Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T16:46:33.872Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T16:46:33.872Z] ---> 9c6f07244728 [2022-08-11T16:46:33.872Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-11T16:46:33.872Z] ---> Running in 96b64ade95d2 [2022-08-11T16:46:33.872Z] Removing intermediate container 96b64ade95d2 [2022-08-11T16:46:33.872Z] ---> d1f31aa71021 [2022-08-11T16:46:33.872Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-11T16:46:33.872Z] ---> Running in 08143d3db29e [2022-08-11T16:46:33.872Z] Removing intermediate container 08143d3db29e [2022-08-11T16:46:33.872Z] ---> 18afe9016d73 [2022-08-11T16:46:33.872Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-11T16:46:33.872Z] ---> Running in 8c34ebd456af [2022-08-11T16:46:33.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T16:46:33.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T16:46:33.872Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-11T16:46:33.872Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T16:46:33.872Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-11T16:46:33.872Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T16:46:33.872Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-11T16:46:33.872Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-11T16:46:33.872Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T16:46:33.872Z] OK: 8 MiB in 20 packages [2022-08-11T16:46:33.872Z] Removing intermediate container 8c34ebd456af [2022-08-11T16:46:33.872Z] ---> 7fe2dcd32a3b [2022-08-11T16:46:33.872Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-11T16:46:34.442Z] ---> 0de3cbaa1754 [2022-08-11T16:46:34.442Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-11T16:46:34.442Z] ---> 8ae1e17417c3 [2022-08-11T16:46:34.442Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-11T16:46:34.703Z] ---> 941cac2ac45c [2022-08-11T16:46:34.703Z] Step 20/25 : EXPOSE 59986 [2022-08-11T16:46:34.703Z] ---> Running in 284105ae3337 [2022-08-11T16:46:34.703Z] Removing intermediate container 284105ae3337 [2022-08-11T16:46:34.703Z] ---> 3a4d71fadde3 [2022-08-11T16:46:34.703Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-11T16:46:34.703Z] ---> Running in 4c271af5c432 [2022-08-11T16:46:34.703Z] Removing intermediate container 4c271af5c432 [2022-08-11T16:46:34.703Z] ---> ce3e61c951f2 [2022-08-11T16:46:34.703Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-11T16:46:34.964Z] ---> Running in b043fdafff00 [2022-08-11T16:46:34.964Z] Removing intermediate container b043fdafff00 [2022-08-11T16:46:34.964Z] ---> b707526404ea [2022-08-11T16:46:34.964Z] Step 23/25 : LABEL arch=amd64 [2022-08-11T16:46:34.964Z] ---> Running in 3ededf516ab6 [2022-08-11T16:46:34.964Z] Removing intermediate container 3ededf516ab6 [2022-08-11T16:46:34.964Z] ---> fe03667568c0 [2022-08-11T16:46:34.964Z] Step 24/25 : LABEL git_sha=aaca3c8d71de50cdfd89b040e82e1be438aa04eb [2022-08-11T16:46:34.964Z] ---> Running in c510d0ef6170 [2022-08-11T16:46:35.223Z] Removing intermediate container c510d0ef6170 [2022-08-11T16:46:35.223Z] ---> 14a983af7310 [2022-08-11T16:46:35.223Z] Step 25/25 : LABEL version=0.0.0 [2022-08-11T16:46:35.223Z] ---> Running in 54bb181ec655 [2022-08-11T16:46:35.223Z] Removing intermediate container 54bb181ec655 [2022-08-11T16:46:35.223Z] ---> 230782af3241 [2022-08-11T16:46:35.223Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T16:46:35.223Z] Successfully built 230782af3241 [2022-08-11T16:46:35.223Z] 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-11T16:46:36.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:46:36.063Z] [2022-08-11T16:46:36.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:46:36.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:46:36.434Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-11T16:46:36.434Z] 5eb5b503b376: Pulling fs layer [2022-08-11T16:46:36.434Z] 5c69ac0246d0: Pulling fs layer [2022-08-11T16:46:36.434Z] ec43610c2a17: Pulling fs layer [2022-08-11T16:46:36.434Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-11T16:46:36.434Z] 33b1e0a273af: Pulling fs layer [2022-08-11T16:46:36.434Z] 5d3b04190fa2: Pulling fs layer [2022-08-11T16:46:36.434Z] 2f39f015ded8: Pulling fs layer [2022-08-11T16:46:36.434Z] 33b1e0a273af: Waiting [2022-08-11T16:46:36.434Z] 5d3b04190fa2: Waiting [2022-08-11T16:46:36.434Z] 3a2ae6a8a46f: Waiting [2022-08-11T16:46:36.434Z] 5c69ac0246d0: Verifying Checksum [2022-08-11T16:46:36.434Z] 5c69ac0246d0: Download complete [2022-08-11T16:46:36.434Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-11T16:46:36.434Z] 3a2ae6a8a46f: Download complete [2022-08-11T16:46:36.434Z] 33b1e0a273af: Download complete [2022-08-11T16:46:36.434Z] ec43610c2a17: Verifying Checksum [2022-08-11T16:46:36.434Z] ec43610c2a17: Download complete [2022-08-11T16:46:36.434Z] 5d3b04190fa2: Verifying Checksum [2022-08-11T16:46:36.434Z] 5d3b04190fa2: Download complete [2022-08-11T16:46:36.695Z] 5eb5b503b376: Verifying Checksum [2022-08-11T16:46:36.695Z] 5eb5b503b376: Download complete [2022-08-11T16:46:37.261Z] 2f39f015ded8: Download complete [2022-08-11T16:46:37.829Z] 5eb5b503b376: Pull complete [2022-08-11T16:46:38.088Z] 5c69ac0246d0: Pull complete [2022-08-11T16:46:38.659Z] ec43610c2a17: Pull complete [2022-08-11T16:46:38.660Z] 3a2ae6a8a46f: Pull complete [2022-08-11T16:46:38.919Z] 33b1e0a273af: Pull complete [2022-08-11T16:46:38.919Z] 5d3b04190fa2: Pull complete [2022-08-11T16:46:43.112Z] 2f39f015ded8: Pull complete [2022-08-11T16:46:43.112Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-11T16:46:43.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:46:43.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:46:43.334Z] prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container [2022-08-11T16:46:43.371Z] $ 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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T16:46:47.140Z] $ docker top 7fd386758ef89fa6ce812866c920104b31dffb52ee4a7859ac00724ffb4e949a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:46:47.580Z] ---> job-cost.sh [2022-08-11T16:46:47.580Z] lf-activate-venv: SKIPPING [2022-08-11T16:46:47.580Z] INFO: No Stack... [2022-08-11T16:46:48.151Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T16:46:48.410Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T16:46:48.724Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-209/archives/cost.csv [2022-08-11T16:46:48.724Z] + cut -d, -f6 [Pipeline] lock [2022-08-11T16:46:48.766Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [2022-08-11T16:46:48.771Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] did not exist. Created. [2022-08-11T16:46:48.772Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T16:46:49.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-11T16:46:49.210Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T16:46:49.237Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T16:46:49.319Z] $ docker stop --time=1 7fd386758ef89fa6ce812866c920104b31dffb52ee4a7859ac00724ffb4e949a [2022-08-11T16:46:50.471Z] $ docker rm -f 7fd386758ef89fa6ce812866c920104b31dffb52ee4a7859ac00724ffb4e949a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-11T16:47:20.674Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22522 in /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] { [Pipeline] ws [2022-08-11T16:47:20.715Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-08-11T16:47:20.816Z] The recommended git tool is: git [2022-08-11T16:47:28.856Z] using credential edgex-jenkins-ssh [2022-08-11T16:47:28.887Z] Cloning the remote Git repository [2022-08-11T16:47:28.976Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-11T16:47:29.128Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-08-11T16:47:29.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-11T16:47:29.276Z] > git --version # timeout=10 [2022-08-11T16:47:29.321Z] > git --version # 'git version 2.25.1' [2022-08-11T16:47:29.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T16:47:29.481Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T16:47:31.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-11T16:47:31.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T16:47:31.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-11T16:47:32.491Z] Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit aaca3c8d71de50cdfd89b040e82e1be438aa04eb [2022-08-11T16:47:32.758Z] Merge succeeded, producing aaca3c8d71de50cdfd89b040e82e1be438aa04eb [2022-08-11T16:47:32.759Z] Checking out Revision aaca3c8d71de50cdfd89b040e82e1be438aa04eb (PR-209) [2022-08-11T16:47:31.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-11T16:47:31.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T16:47:31.970Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-11T16:47:32.517Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T16:47:32.541Z] > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 [2022-08-11T16:47:32.637Z] > git remote # timeout=10 [2022-08-11T16:47:32.658Z] > git config --get remote.origin.url # timeout=10 [2022-08-11T16:47:32.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T16:47:32.702Z] > git merge ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 [2022-08-11T16:47:32.736Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-11T16:47:32.770Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T16:47:32.785Z] > git checkout -f aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 [2022-08-11T16:47:37.295Z] Commit message: "build(snap): Upgrade snap hook to 2.4.1" [2022-08-11T16:47:37.360Z] > git --version # timeout=10 [2022-08-11T16:47:37.374Z] > git --version # 'git version 2.25.1' [2022-08-11T16:47:37.389Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T16:47:38.598Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-11T16:47:38.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T16:47:38.598Z] Dload Upload Total Spent Left Speed [2022-08-11T16:47:38.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2022-08-11T16:47:39.564Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-11T16:47:39.937Z] + sudo tee /etc/docker/daemon.new [2022-08-11T16:47:39.937Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-11T16:47:39.937Z] { [2022-08-11T16:47:39.937Z] "registry-mirrors": [ [2022-08-11T16:47:39.937Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-11T16:47:39.937Z] ], [2022-08-11T16:47:39.937Z] "bip": "10.250.0.254/24", [2022-08-11T16:47:39.937Z] "hosts": [ [2022-08-11T16:47:39.937Z] "tcp://0.0.0.0:5555", [2022-08-11T16:47:39.937Z] "unix:///var/run/docker.sock" [2022-08-11T16:47:39.937Z] ], [2022-08-11T16:47:39.937Z] "mtu": 1458, [2022-08-11T16:47:39.937Z] "selinux-enabled": true, [2022-08-11T16:47:39.937Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-11T16:47:39.937Z] } [Pipeline] sh [2022-08-11T16:47:40.296Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-11T16:47:40.671Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T16:47:59.064Z] provisioning config files... [2022-08-11T16:47:59.092Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2861612487886842906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:47:59.495Z] ---> docker-login.sh [2022-08-11T16:47:59.495Z] nexus3.edgexfoundry.org:10001 [2022-08-11T16:48:00.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:48:00.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:48:00.689Z] Configure a credential helper to remove this warning. See [2022-08-11T16:48:00.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:48:00.689Z] [2022-08-11T16:48:00.689Z] Login Succeeded [2022-08-11T16:48:00.689Z] nexus3.edgexfoundry.org:10002 [2022-08-11T16:48:00.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:48:00.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:48:00.965Z] Configure a credential helper to remove this warning. See [2022-08-11T16:48:00.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:48:00.965Z] [2022-08-11T16:48:00.965Z] Login Succeeded [2022-08-11T16:48:00.965Z] nexus3.edgexfoundry.org:10003 [2022-08-11T16:48:01.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:48:01.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:48:01.518Z] Configure a credential helper to remove this warning. See [2022-08-11T16:48:01.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:48:01.518Z] [2022-08-11T16:48:01.518Z] Login Succeeded [2022-08-11T16:48:01.518Z] nexus3.edgexfoundry.org:10004 [2022-08-11T16:48:01.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:48:01.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:48:01.799Z] Configure a credential helper to remove this warning. See [2022-08-11T16:48:01.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:48:01.799Z] [2022-08-11T16:48:02.079Z] Login Succeeded [2022-08-11T16:48:02.079Z] docker.io [2022-08-11T16:48:02.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T16:48:02.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T16:48:02.627Z] Configure a credential helper to remove this warning. See [2022-08-11T16:48:02.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T16:48:02.627Z] [2022-08-11T16:48:02.627Z] Login Succeeded [2022-08-11T16:48:02.627Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T16:48:02.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T16:48:03.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:48:03.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T16:48:03.133Z] ========================================================= [2022-08-11T16:48:03.133Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-11T16:48:03.133Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:48:03.652Z] + 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-11T16:48:03.652Z] Sending build context to Docker daemon 126kB [2022-08-11T16:48:03.931Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:48:03.931Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-11T16:48:04.206Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-11T16:48:04.206Z] b3c136eddcbf: Pulling fs layer [2022-08-11T16:48:04.206Z] c0a3192eca97: Pulling fs layer [2022-08-11T16:48:04.206Z] a050256f5b6f: Pulling fs layer [2022-08-11T16:48:04.206Z] 656be50a0ddc: Pulling fs layer [2022-08-11T16:48:04.206Z] 2bbca73fdf42: Pulling fs layer [2022-08-11T16:48:04.206Z] 46d945488cbd: Pulling fs layer [2022-08-11T16:48:04.206Z] 8a5474983e97: Pulling fs layer [2022-08-11T16:48:04.206Z] 329c88fbcd65: Pulling fs layer [2022-08-11T16:48:04.206Z] 656be50a0ddc: Waiting [2022-08-11T16:48:04.206Z] 46d945488cbd: Waiting [2022-08-11T16:48:04.206Z] 2bbca73fdf42: Waiting [2022-08-11T16:48:04.206Z] 8a5474983e97: Waiting [2022-08-11T16:48:04.206Z] 329c88fbcd65: Waiting [2022-08-11T16:48:04.206Z] a050256f5b6f: Verifying Checksum [2022-08-11T16:48:04.206Z] a050256f5b6f: Download complete [2022-08-11T16:48:04.206Z] c0a3192eca97: Verifying Checksum [2022-08-11T16:48:04.206Z] c0a3192eca97: Download complete [2022-08-11T16:48:04.206Z] 2bbca73fdf42: Verifying Checksum [2022-08-11T16:48:04.206Z] 2bbca73fdf42: Download complete [2022-08-11T16:48:04.206Z] 46d945488cbd: Verifying Checksum [2022-08-11T16:48:04.206Z] 46d945488cbd: Download complete [2022-08-11T16:48:04.206Z] b3c136eddcbf: Verifying Checksum [2022-08-11T16:48:05.201Z] b3c136eddcbf: Pull complete [2022-08-11T16:48:05.475Z] 329c88fbcd65: Verifying Checksum [2022-08-11T16:48:05.475Z] 329c88fbcd65: Download complete [2022-08-11T16:48:05.755Z] c0a3192eca97: Pull complete [2022-08-11T16:48:06.030Z] a050256f5b6f: Pull complete [2022-08-11T16:48:06.627Z] 8a5474983e97: Verifying Checksum [2022-08-11T16:48:06.627Z] 8a5474983e97: Download complete [2022-08-11T16:48:07.227Z] 656be50a0ddc: Verifying Checksum [2022-08-11T16:48:07.227Z] 656be50a0ddc: Download complete [2022-08-11T16:48:22.327Z] 656be50a0ddc: Pull complete [2022-08-11T16:48:22.327Z] 2bbca73fdf42: Pull complete [2022-08-11T16:48:22.327Z] 46d945488cbd: Pull complete [2022-08-11T16:48:27.758Z] 8a5474983e97: Pull complete [2022-08-11T16:48:29.752Z] 329c88fbcd65: Pull complete [2022-08-11T16:48:29.752Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-11T16:48:29.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-11T16:48:29.752Z] ---> ff4287adb874 [2022-08-11T16:48:29.752Z] Step 3/12 : ARG MAKE='make build' [2022-08-11T16:48:30.367Z] ---> Running in a5f8568d6f04 [2022-08-11T16:48:30.640Z] Removing intermediate container a5f8568d6f04 [2022-08-11T16:48:30.640Z] ---> 9c8a28063f9e [2022-08-11T16:48:30.640Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:48:30.640Z] ---> Running in 98ad4efea30a [2022-08-11T16:48:31.239Z] Removing intermediate container 98ad4efea30a [2022-08-11T16:48:31.239Z] ---> 9541c161932d [2022-08-11T16:48:31.239Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:48:31.239Z] ---> Running in 0ec3a9a839b2 [2022-08-11T16:48:31.529Z] Removing intermediate container 0ec3a9a839b2 [2022-08-11T16:48:31.529Z] ---> 3b4e4599333a [2022-08-11T16:48:31.529Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:48:31.529Z] ---> Running in b2f82fecded0 [2022-08-11T16:48:34.935Z] Removing intermediate container b2f82fecded0 [2022-08-11T16:48:34.935Z] ---> 017ae4921a55 [2022-08-11T16:48:34.935Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:48:34.935Z] ---> Running in 0236a02d9b5a [2022-08-11T16:48:35.918Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T16:48:36.901Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T16:48:37.891Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-11T16:48:37.891Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-11T16:48:38.167Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-11T16:48:38.447Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-11T16:48:38.447Z] Executing busybox-1.35.0-r13.trigger [2022-08-11T16:48:38.447Z] OK: 226 MiB in 55 packages [2022-08-11T16:48:39.445Z] Removing intermediate container 0236a02d9b5a [2022-08-11T16:48:39.445Z] ---> a12c91e61f8f [2022-08-11T16:48:39.445Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-11T16:48:39.726Z] ---> Running in 44657662943a [2022-08-11T16:48:40.002Z] Removing intermediate container 44657662943a [2022-08-11T16:48:40.002Z] ---> 38d9b2d02644 [2022-08-11T16:48:40.002Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-11T16:48:40.607Z] ---> cfc756af0af8 [2022-08-11T16:48:40.607Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:48:40.607Z] ---> Running in 6bb9da195fb9 [2022-08-11T16:49:37.216Z] Removing intermediate container 6bb9da195fb9 [2022-08-11T16:49:37.216Z] ---> 02b5b80637c2 [2022-08-11T16:49:37.216Z] Step 11/12 : COPY . . [2022-08-11T16:49:37.216Z] ---> cf7f705aa8dd [2022-08-11T16:49:37.216Z] Step 12/12 : RUN $MAKE [2022-08-11T16:49:37.216Z] ---> Running in da117a6f9b17 [2022-08-11T16:49:37.216Z] noop [2022-08-11T16:49:37.216Z] Removing intermediate container da117a6f9b17 [2022-08-11T16:49:37.216Z] ---> 1e91ebb24113 [2022-08-11T16:49:37.216Z] Successfully built 1e91ebb24113 [2022-08-11T16:49:37.216Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:49:37.710Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T16:49:37.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:49:38.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-22522 does not seem to be running inside a container [2022-08-11T16:49:38.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-11T16:49:39.585Z] $ docker top 299633b61af1eb848416fe8faa7498369b5b0d7e2fc71f12eee104d911633eda -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:49:40.605Z] + go version [2022-08-11T16:49:40.605Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-11T16:49:40.645Z] $ docker stop --time=1 299633b61af1eb848416fe8faa7498369b5b0d7e2fc71f12eee104d911633eda [2022-08-11T16:49:42.326Z] $ docker rm -f 299633b61af1eb848416fe8faa7498369b5b0d7e2fc71f12eee104d911633eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:49:43.247Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T16:49:43.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:49:43.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-22522 does not seem to be running inside a container [2022-08-11T16:49:43.678Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-11T16:49:45.020Z] $ docker top e9bd0a565cb2297bc56286076c6cee62226175761b4fb4420e15712f4a437169 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:49:46.025Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-11T16:49:46.759Z] + make test [2022-08-11T16:49:46.760Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-11T16:49:48.752Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-11T16:51:25.666Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-11T16:51:25.666Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-08-11T16:51:25.666Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-11T16:51:25.666Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T16:51:40.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T16:51:40.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T16:51:40.809Z] ./bin/test-attribution-txt.sh [2022-08-11T16:51:40.809Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-11T16:51:40.809Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-11T16:51:40.809Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-11T16:51:40.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T16:51:40.881Z] $ docker stop --time=1 e9bd0a565cb2297bc56286076c6cee62226175761b4fb4420e15712f4a437169 [2022-08-11T16:51:42.669Z] $ docker rm -f e9bd0a565cb2297bc56286076c6cee62226175761b4fb4420e15712f4a437169 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T16:51:43.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T16:51:43.777Z] Warning: overwriting stash ‘coverage-report’ [2022-08-11T16:51:44.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T16:51:44.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T16:51:45.215Z] + ls -al . [2022-08-11T16:51:45.215Z] total 168 [2022-08-11T16:51:45.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:49 . [2022-08-11T16:51:45.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:47 .. [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 16:47 .dockerignore [2022-08-11T16:51:45.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:47 .git [2022-08-11T16:51:45.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:47 .github [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 11 16:47 .gitignore [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:47 .golangci.yml [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 11 16:47 Attribution.txt [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 11 16:47 CHANGELOG.md [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 11 16:47 Dockerfile [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:47 GOVERNANCE.md [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 16:47 Jenkinsfile [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:47 LICENSE [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 11 16:47 Makefile [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 16:47 OWNERS.md [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 11 16:47 README.md [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:45 VERSION [2022-08-11T16:51:45.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:47 bin [2022-08-11T16:51:45.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:47 cmd [2022-08-11T16:51:45.215Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 11 16:51 coverage.out [2022-08-11T16:51:45.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:47 driver [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 11 16:47 go.mod [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 11 16:47 go.sum [2022-08-11T16:51:45.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:47 snap [2022-08-11T16:51:45.215Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:51:45.643Z] + 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=aaca3c8d71de50cdfd89b040e82e1be438aa04eb --label arch=arm64 --label version=0.0.0 . [2022-08-11T16:51:45.643Z] Sending build context to Docker daemon 136.2kB [2022-08-11T16:51:45.920Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T16:51:45.920Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-11T16:51:45.920Z] ---> 1e91ebb24113 [2022-08-11T16:51:45.920Z] Step 3/25 : ARG MAKE='make build' [2022-08-11T16:51:46.194Z] ---> Running in e82de28dd84e [2022-08-11T16:51:46.466Z] Removing intermediate container e82de28dd84e [2022-08-11T16:51:46.466Z] ---> 259c1a47b874 [2022-08-11T16:51:46.466Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T16:51:46.466Z] ---> Running in 1bbf4127f6c6 [2022-08-11T16:51:46.745Z] Removing intermediate container 1bbf4127f6c6 [2022-08-11T16:51:46.745Z] ---> f8d346b6e0c8 [2022-08-11T16:51:46.745Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T16:51:47.024Z] ---> Running in 4e8e0aa639cd [2022-08-11T16:51:47.299Z] Removing intermediate container 4e8e0aa639cd [2022-08-11T16:51:47.299Z] ---> daacc5b8f12e [2022-08-11T16:51:47.299Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T16:51:47.299Z] ---> Running in a93f63fc3a6f [2022-08-11T16:51:49.283Z] Removing intermediate container a93f63fc3a6f [2022-08-11T16:51:49.283Z] ---> a0c76c799381 [2022-08-11T16:51:49.283Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T16:51:49.283Z] ---> Running in 9030b7c8bb2f [2022-08-11T16:51:50.273Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T16:51:51.261Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T16:51:52.246Z] OK: 226 MiB in 55 packages [2022-08-11T16:51:53.251Z] Removing intermediate container 9030b7c8bb2f [2022-08-11T16:51:53.251Z] ---> 2a5c896eb9d3 [2022-08-11T16:51:53.251Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-11T16:51:53.251Z] ---> Running in 625c77bfbffb [2022-08-11T16:51:53.528Z] Removing intermediate container 625c77bfbffb [2022-08-11T16:51:53.528Z] ---> 3ceb361bdfe9 [2022-08-11T16:51:53.528Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-11T16:51:54.134Z] ---> 349bb681f592 [2022-08-11T16:51:54.134Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T16:51:54.134Z] ---> Running in e46976b71210 [2022-08-11T16:51:56.125Z] Removing intermediate container e46976b71210 [2022-08-11T16:51:56.125Z] ---> d23c49b18b21 [2022-08-11T16:51:56.125Z] Step 11/25 : COPY . . [2022-08-11T16:51:56.726Z] ---> 83055ee4de52 [2022-08-11T16:51:56.726Z] Step 12/25 : RUN $MAKE [2022-08-11T16:51:57.004Z] ---> Running in 37a9d1f63b63 [2022-08-11T16:51:57.995Z] 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-11T16:54:20.011Z] Removing intermediate container 37a9d1f63b63 [2022-08-11T16:54:20.011Z] ---> 6d4974537a97 [2022-08-11T16:54:20.011Z] Step 13/25 : FROM alpine:3.16 [2022-08-11T16:54:20.011Z] 3.16: Pulling from library/alpine [2022-08-11T16:54:20.011Z] 9b18e9b68314: Pulling fs layer [2022-08-11T16:54:20.011Z] 9b18e9b68314: Verifying Checksum [2022-08-11T16:54:20.011Z] 9b18e9b68314: Download complete [2022-08-11T16:54:20.011Z] 9b18e9b68314: Pull complete [2022-08-11T16:54:20.011Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T16:54:20.011Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T16:54:20.011Z] ---> a6215f271958 [2022-08-11T16:54:20.011Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-11T16:54:20.011Z] ---> Running in 547de825574c [2022-08-11T16:54:20.011Z] Removing intermediate container 547de825574c [2022-08-11T16:54:20.011Z] ---> 697d890e181e [2022-08-11T16:54:20.011Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-11T16:54:20.011Z] ---> Running in edc0a875ce8d [2022-08-11T16:54:20.011Z] Removing intermediate container edc0a875ce8d [2022-08-11T16:54:20.011Z] ---> 1fcb8cd991d2 [2022-08-11T16:54:20.011Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-11T16:54:20.011Z] ---> Running in 2ac9d6d734cd [2022-08-11T16:54:20.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T16:54:20.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T16:54:20.011Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-11T16:54:20.011Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T16:54:20.011Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-11T16:54:20.011Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T16:54:20.011Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-11T16:54:20.011Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-11T16:54:20.011Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T16:54:20.011Z] OK: 8 MiB in 20 packages [2022-08-11T16:54:20.011Z] Removing intermediate container 2ac9d6d734cd [2022-08-11T16:54:20.011Z] ---> 6037ee5f0544 [2022-08-11T16:54:20.011Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-11T16:54:20.288Z] ---> fe46317d1b3a [2022-08-11T16:54:20.288Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-11T16:54:20.889Z] ---> 9e2f795abc16 [2022-08-11T16:54:20.889Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-11T16:54:21.486Z] ---> 927d72eabeb5 [2022-08-11T16:54:21.486Z] Step 20/25 : EXPOSE 59986 [2022-08-11T16:54:21.486Z] ---> Running in 77dd4b29a6e0 [2022-08-11T16:54:21.764Z] Removing intermediate container 77dd4b29a6e0 [2022-08-11T16:54:21.765Z] ---> cc037f15b9c1 [2022-08-11T16:54:21.765Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-11T16:54:21.765Z] ---> Running in d6dec04b837d [2022-08-11T16:54:22.043Z] Removing intermediate container d6dec04b837d [2022-08-11T16:54:22.043Z] ---> b54751bcbded [2022-08-11T16:54:22.043Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-11T16:54:22.321Z] ---> Running in 27326e6526bf [2022-08-11T16:54:22.596Z] Removing intermediate container 27326e6526bf [2022-08-11T16:54:22.596Z] ---> 0605f8277d10 [2022-08-11T16:54:22.596Z] Step 23/25 : LABEL arch=arm64 [2022-08-11T16:54:22.596Z] ---> Running in 8b4b7e815e87 [2022-08-11T16:54:22.879Z] Removing intermediate container 8b4b7e815e87 [2022-08-11T16:54:22.879Z] ---> b3616955bba7 [2022-08-11T16:54:22.879Z] Step 24/25 : LABEL git_sha=aaca3c8d71de50cdfd89b040e82e1be438aa04eb [2022-08-11T16:54:23.156Z] ---> Running in a7984cb5f797 [2022-08-11T16:54:23.433Z] Removing intermediate container a7984cb5f797 [2022-08-11T16:54:23.433Z] ---> 47528c53c481 [2022-08-11T16:54:23.433Z] Step 25/25 : LABEL version=0.0.0 [2022-08-11T16:54:23.433Z] ---> Running in 69ace04e6e51 [2022-08-11T16:54:23.709Z] Removing intermediate container 69ace04e6e51 [2022-08-11T16:54:23.709Z] ---> b5bc8d3c06ba [2022-08-11T16:54:23.709Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T16:54:23.709Z] Successfully built b5bc8d3c06ba [2022-08-11T16:54:23.709Z] 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-11T16:54:24.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T16:54:24.532Z] [2022-08-11T16:54:24.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:54:24.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T16:54:25.237Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-11T16:54:25.237Z] 8998bd30e6a1: Pulling fs layer [2022-08-11T16:54:25.237Z] 04944245beec: Pulling fs layer [2022-08-11T16:54:25.237Z] 699f458cf7ca: Pulling fs layer [2022-08-11T16:54:25.237Z] 765212b225bb: Pulling fs layer [2022-08-11T16:54:25.237Z] f23df028b6ca: Pulling fs layer [2022-08-11T16:54:25.237Z] d65c8cfc05b1: Pulling fs layer [2022-08-11T16:54:25.237Z] 2437ff75d9bd: Pulling fs layer [2022-08-11T16:54:25.237Z] 765212b225bb: Waiting [2022-08-11T16:54:25.237Z] d65c8cfc05b1: Waiting [2022-08-11T16:54:25.237Z] f23df028b6ca: Waiting [2022-08-11T16:54:25.237Z] 2437ff75d9bd: Waiting [2022-08-11T16:54:25.237Z] 04944245beec: Verifying Checksum [2022-08-11T16:54:25.237Z] 04944245beec: Download complete [2022-08-11T16:54:25.237Z] 765212b225bb: Verifying Checksum [2022-08-11T16:54:25.237Z] 765212b225bb: Download complete [2022-08-11T16:54:25.237Z] f23df028b6ca: Verifying Checksum [2022-08-11T16:54:25.237Z] f23df028b6ca: Download complete [2022-08-11T16:54:25.237Z] d65c8cfc05b1: Verifying Checksum [2022-08-11T16:54:25.237Z] d65c8cfc05b1: Download complete [2022-08-11T16:54:25.516Z] 699f458cf7ca: Verifying Checksum [2022-08-11T16:54:25.516Z] 699f458cf7ca: Download complete [2022-08-11T16:54:25.794Z] 8998bd30e6a1: Download complete [2022-08-11T16:54:28.461Z] 2437ff75d9bd: Verifying Checksum [2022-08-11T16:54:28.461Z] 2437ff75d9bd: Download complete [2022-08-11T16:54:30.450Z] 8998bd30e6a1: Pull complete [2022-08-11T16:54:31.051Z] 04944245beec: Pull complete [2022-08-11T16:54:32.495Z] 699f458cf7ca: Pull complete [2022-08-11T16:54:32.771Z] 765212b225bb: Pull complete [2022-08-11T16:54:33.752Z] f23df028b6ca: Pull complete [2022-08-11T16:54:33.752Z] d65c8cfc05b1: Pull complete [2022-08-11T16:54:48.851Z] 2437ff75d9bd: Pull complete [2022-08-11T16:54:48.851Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-11T16:54:48.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T16:54:48.851Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:54:49.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-22522 does not seem to be running inside a container [2022-08-11T16:54:49.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-11T16:54:52.148Z] $ docker top 52e4aa218058de3e30bf5f43234c80561748b8848b52742366ac01f7ad981e46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:54:53.142Z] ---> job-cost.sh [2022-08-11T16:54:53.142Z] lf-activate-venv: SKIPPING [2022-08-11T16:54:53.142Z] INFO: No Stack... [2022-08-11T16:54:53.741Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-11T16:54:54.720Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T16:54:55.403Z] + cut -d, -f6 [2022-08-11T16:54:55.403Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-08-11T16:54:55.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [2022-08-11T16:54:55.494Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] did not exist. Created. [2022-08-11T16:54:55.494Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T16:54:56.245Z] /w/workspace/device-rest-go/1@tmp/durable-ec792c7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-11T16:54:56.947Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-11T16:54:56.985Z] Warning: overwriting stash ‘stack-cost’ [2022-08-11T16:54:57.029Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T16:54:57.048Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T16:54:57.126Z] $ docker stop --time=1 52e4aa218058de3e30bf5f43234c80561748b8848b52742366ac01f7ad981e46 [2022-08-11T16:54:58.607Z] $ docker rm -f 52e4aa218058de3e30bf5f43234c80561748b8848b52742366ac01f7ad981e46 [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-11T16:54:59.616Z] provisioning config files... [2022-08-11T16:54:59.626Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config3522602902191625304tmp [Pipeline] { [Pipeline] sh [2022-08-11T16:54:59.982Z] + set +x [2022-08-11T16:54:59.983Z] + curl -s https://codecov.io/bash [2022-08-11T16:54:59.983Z] + bash -s -- [2022-08-11T16:54:59.983Z] [2022-08-11T16:54:59.983Z] _____ _ [2022-08-11T16:54:59.983Z] / ____| | | [2022-08-11T16:54:59.983Z] | | ___ __| | ___ ___ _____ __ [2022-08-11T16:54:59.983Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-11T16:54:59.983Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-11T16:54:59.983Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-11T16:54:59.983Z] Bash-1.0.6 [2022-08-11T16:54:59.983Z] [2022-08-11T16:54:59.983Z] [2022-08-11T16:54:59.983Z] ==> git version 2.25.1 found [2022-08-11T16:54:59.983Z] ==> 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-11T16:54:59.983Z] Release-Date: 2020-01-08 [2022-08-11T16:54:59.983Z] 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-11T16:54:59.983Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-11T16:54:59.983Z] ==> Jenkins CI detected. [2022-08-11T16:54:59.983Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-209 [2022-08-11T16:54:59.983Z] project root: . [2022-08-11T16:54:59.983Z] --> token set from env [2022-08-11T16:54:59.983Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-11T16:54:59.983Z] ==> Running gcov in . (disable via -X gcov) [2022-08-11T16:54:59.983Z] ==> Python coveragepy not found [2022-08-11T16:54:59.983Z] ==> Searching for coverage reports in: [2022-08-11T16:54:59.983Z] + . [2022-08-11T16:54:59.983Z] -> Found 1 reports [2022-08-11T16:54:59.983Z] ==> Detecting git/mercurial file structure [2022-08-11T16:54:59.983Z] ==> Reading reports [2022-08-11T16:54:59.983Z] + ./coverage.out bytes=9355 [2022-08-11T16:54:59.983Z] ==> Appending adjustments [2022-08-11T16:54:59.983Z] https://docs.codecov.io/docs/fixing-reports [2022-08-11T16:55:00.243Z] + Found adjustments [2022-08-11T16:55:00.243Z] ==> Gzipping contents [2022-08-11T16:55:00.243Z] 4.0K /tmp/codecov.UT1mVc.gz [2022-08-11T16:55:00.243Z] ==> Uploading reports [2022-08-11T16:55:00.243Z] url: https://codecov.io [2022-08-11T16:55:00.243Z] query: branch=PR-209&commit=aaca3c8d71de50cdfd89b040e82e1be438aa04eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= [2022-08-11T16:55:00.243Z] -> Pinging Codecov [2022-08-11T16:55:00.243Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-209&commit=aaca3c8d71de50cdfd89b040e82e1be438aa04eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= [2022-08-11T16:55:00.243Z] -> Uploading to [2022-08-11T16:55:00.243Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-11/4E5D53B4F1F92C436F7061BF334D961C/aaca3c8d71de50cdfd89b040e82e1be438aa04eb/7ea35c9e-f6cf-4764-a521-713c9fbf98f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T165500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c09f016a317f7f50512dd1348fcfdc39efe725f3f8063ca64673c839b3a3f30 [2022-08-11T16:55:00.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T16:55:00.503Z] Dload Upload Total Spent Left Speed [2022-08-11T16:55:00.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7977 --:--:-- --:--:-- --:--:-- 7977 [2022-08-11T16:55:00.503Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/aaca3c8d71de50cdfd89b040e82e1be438aa04eb [Pipeline] } [2022-08-11T16:55:00.529Z] 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-11T16:55:02.194Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-209/archives ] [2022-08-11T16:55:02.194Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives [2022-08-11T16:55:02.194Z] total 16 [2022-08-11T16:55:02.194Z] drwxr-xr-x 3 root root 4096 Aug 11 16:46 . [2022-08-11T16:55:02.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:46 .. [2022-08-11T16:55:02.194Z] drwxr-xr-x 2 root root 4096 Aug 11 16:46 cost [2022-08-11T16:55:02.194Z] -rw-r--r-- 1 root root 86 Aug 11 16:46 cost.csv [2022-08-11T16:55:02.194Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-209/archives [2022-08-11T16:55:02.194Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives [2022-08-11T16:55:02.194Z] total 16 [2022-08-11T16:55:02.194Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:46 . [2022-08-11T16:55:02.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:46 .. [2022-08-11T16:55:02.194Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 16:46 cost [2022-08-11T16:55:02.194Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 11 16:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:02.519Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:03.420Z] ---> package-listing.sh [2022-08-11T16:55:03.420Z] ++ facter osfamily [2022-08-11T16:55:03.420Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-11T16:55:03.681Z] + OS_FAMILY=debian [2022-08-11T16:55:03.681Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-209 [2022-08-11T16:55:03.681Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-11T16:55:03.681Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-11T16:55:03.681Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-11T16:55:03.681Z] + PACKAGES=/tmp/packages_start.txt [2022-08-11T16:55:03.681Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' [2022-08-11T16:55:03.681Z] + PACKAGES=/tmp/packages_end.txt [2022-08-11T16:55:03.681Z] + case "${OS_FAMILY}" in [2022-08-11T16:55:03.681Z] + dpkg -l [2022-08-11T16:55:03.681Z] + grep '^ii' [2022-08-11T16:55:03.681Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-11T16:55:03.681Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-11T16:55:03.681Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-11T16:55:03.681Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' [2022-08-11T16:55:03.681Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ [2022-08-11T16:55:03.681Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ [Pipeline] echo [2022-08-11T16:55:03.715Z] 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-209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-11T16:55:04.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T16:55:04.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T16:55:04.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T16:55:04.803Z] prd-ubuntu20.04-docker-8c-8g-22521 does not seem to be running inside a container [2022-08-11T16:55:04.836Z] $ 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-209/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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T16:55:05.047Z] $ docker top 2f4935b10b0cc1ecf5f20cb748b8a7c802bb45ef77aa8c6d5d3c0a25ae242e64 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T16:55:05.454Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-11T16:55:05.762Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-11T16:55:06.074Z] + ls /var/log/sa-host [2022-08-11T16:55:06.074Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T16:55:06.238Z] provisioning config files... [2022-08-11T16:55:06.247Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config4097568412953506791tmp [Pipeline] { [Pipeline] echo [2022-08-11T16:55:06.298Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:06.611Z] ---> create-netrc.sh [Pipeline] } [2022-08-11T16:55:06.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:07.039Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-11T16:55:07.071Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:07.390Z] ---> sudo-logs.sh [2022-08-11T16:55:07.390Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-11T16:55:07.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:07.793Z] ---> job-cost.sh [2022-08-11T16:55:07.793Z] lf-activate-venv: SKIPPING [2022-08-11T16:55:07.793Z] DEBUG: total: 0.2199999988079071 [2022-08-11T16:55:07.793Z] INFO: Retrieving Stack Cost... [2022-08-11T16:55:08.054Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T16:55:08.623Z] INFO: Archiving Costs [Pipeline] echo [2022-08-11T16:55:08.656Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T16:55:08.969Z] ---> logs-deploy.sh [2022-08-11T16:55:08.969Z] lf-activate-venv: SKIPPING [2022-08-11T16:55:08.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-209/1 [2022-08-11T16:55:08.969Z] INFO: archiving workspace using pattern(s): [2022-08-11T16:55:09.912Z] Archives upload complete. [2022-08-11T16:55:09.912Z] INFO: archiving logs to Nexus