Pull request #241 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0c8cee599e8840d59a5a88fbbd610b54878ba35e+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (2cb80d9319320f0194df27406f835391ddaf551e) 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-ssh6038245027103319113.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3433373779675059372.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-241/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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh357014273380376001.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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13083765740471684417.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13034765600572206308.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-241/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-241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1371341179970426125.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-3052’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3054 in /w/workspace/gexfoundry_device-rest-go_PR-241 [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-241 # 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 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit 0c8cee599e8840d59a5a88fbbd610b54878ba35e Merge succeeded, producing 0c8cee599e8840d59a5a88fbbd610b54878ba35e Checking out Revision 0c8cee599e8840d59a5a88fbbd610b54878ba35e (PR-241) > 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/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 Commit message: "build(deps): bump device-sdk-go version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T02:38:49.165Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T02:38:49.344Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T02:38:49.449Z] ========================================================= [2023-01-19T02:38:49.449Z] EdgeX Global Pipelines Version Info [2023-01-19T02:38:49.449Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:38:50.186Z] ------------------- [2023-01-19T02:38:50.187Z] stable info: [2023-01-19T02:38:50.187Z] ------------------- [2023-01-19T02:38:50.187Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-19T02:38:50.187Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:38:50.187Z] Message: update stable to v1.0.244 [2023-01-19T02:38:50.758Z] ------------------- [2023-01-19T02:38:50.758Z] experimental info: [2023-01-19T02:38:50.758Z] ------------------- [2023-01-19T02:38:50.758Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-19T02:38:50.758Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:38:50.758Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T02:38:51.036Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-19T02:38:51.076Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-19T02:38:51.112Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T02:38:51.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T02:38:51.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T02:38:51.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T02:38:51.260Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T02:38:51.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-19T02:38:51.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T02:38:51.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T02:38:51.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T02:38:51.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-19T02:38:51.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T02:38:51.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T02:38:51.586Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:38:51.627Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:38:51.663Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:38:51.702Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:38:51.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T02:38:51.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T02:38:51.820Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-19T02:38:51.861Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-19T02:38:51.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T02:38:51.937Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T02:38:51.973Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T02:38:52.008Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T02:38:52.045Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T02:38:52.084Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-241 [Pipeline] echo [2023-01-19T02:38:52.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-241 [Pipeline] echo [2023-01-19T02:38:52.156Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-241 [Pipeline] echo [2023-01-19T02:38:52.192Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo [2023-01-19T02:38:52.228Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c8cee5 [Pipeline] echo [2023-01-19T02:38:52.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:38:52.372Z] provisioning config files... [2023-01-19T02:38:52.385Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config13685719073167988191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:38:52.781Z] ---> docker-login.sh [2023-01-19T02:38:52.781Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:38:53.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:38:53.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:38:53.043Z] Configure a credential helper to remove this warning. See [2023-01-19T02:38:53.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:38:53.043Z] [2023-01-19T02:38:53.043Z] Login Succeeded [2023-01-19T02:38:53.043Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:38:53.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:38:53.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:38:53.306Z] Configure a credential helper to remove this warning. See [2023-01-19T02:38:53.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:38:53.306Z] [2023-01-19T02:38:53.306Z] Login Succeeded [2023-01-19T02:38:53.306Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:38:53.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:38:53.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:38:53.306Z] Configure a credential helper to remove this warning. See [2023-01-19T02:38:53.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:38:53.306Z] [2023-01-19T02:38:53.306Z] Login Succeeded [2023-01-19T02:38:53.306Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:38:53.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:38:53.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:38:53.571Z] Configure a credential helper to remove this warning. See [2023-01-19T02:38:53.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:38:53.571Z] [2023-01-19T02:38:53.571Z] Login Succeeded [2023-01-19T02:38:53.571Z] docker.io [2023-01-19T02:38:53.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:38:53.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:38:53.830Z] Configure a credential helper to remove this warning. See [2023-01-19T02:38:53.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:38:53.830Z] [2023-01-19T02:38:53.830Z] Login Succeeded [2023-01-19T02:38:53.830Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:38:53.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T02:38:54.474Z] + git rev-list -1 --merges 0c8cee599e8840d59a5a88fbbd610b54878ba35e~1..0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo [2023-01-19T02:38:54.537Z] -----------> git rev-list -1 --merges 0c8cee599e8840d59a5a88fbbd610b54878ba35e~1..0c8cee599e8840d59a5a88fbbd610b54878ba35e 0c8cee599e8840d59a5a88fbbd610b54878ba35e [false] [Pipeline] sh [2023-01-19T02:38:54.852Z] + git log --format=format:%s -1 0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo [2023-01-19T02:38:54.894Z] ========================================================= [2023-01-19T02:38:54.895Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T02:38:54.895Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:38:55.340Z] + git log --format=format:%s -1 0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo [2023-01-19T02:38:55.372Z] [semverPrep] GIT_COMMIT: 0c8cee599e8840d59a5a88fbbd610b54878ba35e, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo [2023-01-19T02:38:55.402Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T02:38:55.796Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T02:38:55.796Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T02:38:55.796Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T02:38:55.796Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T02:38:55.796Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-19T02:38:55.796Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-19T02:38:55.796Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:38:56.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:38:56.340Z] [2023-01-19T02:38:56.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:38:56.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:38:56.745Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T02:38:56.745Z] b85a868b505f: Pulling fs layer [2023-01-19T02:38:56.745Z] e2be974225ed: Pulling fs layer [2023-01-19T02:38:56.745Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T02:38:56.745Z] 988bab9f4d93: Pulling fs layer [2023-01-19T02:38:56.745Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T02:38:56.745Z] eaf3925da568: Pulling fs layer [2023-01-19T02:38:56.745Z] bab4dde63d76: Pulling fs layer [2023-01-19T02:38:56.745Z] bde34c3a00c8: Pulling fs layer [2023-01-19T02:38:56.745Z] b352a97aabf1: Pulling fs layer [2023-01-19T02:38:56.745Z] 4872d77fe225: Pulling fs layer [2023-01-19T02:38:56.745Z] 5851b861e8e6: Pulling fs layer [2023-01-19T02:38:56.745Z] bab4dde63d76: Waiting [2023-01-19T02:38:56.745Z] eaf3925da568: Waiting [2023-01-19T02:38:56.745Z] 988bab9f4d93: Waiting [2023-01-19T02:38:56.745Z] 1469e6f7b9e6: Waiting [2023-01-19T02:38:56.745Z] bde34c3a00c8: Waiting [2023-01-19T02:38:56.745Z] b352a97aabf1: Waiting [2023-01-19T02:38:56.745Z] 4872d77fe225: Waiting [2023-01-19T02:38:56.745Z] 5851b861e8e6: Waiting [2023-01-19T02:38:57.011Z] e2be974225ed: Download complete [2023-01-19T02:38:57.011Z] 988bab9f4d93: Verifying Checksum [2023-01-19T02:38:57.011Z] 988bab9f4d93: Download complete [2023-01-19T02:38:57.274Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T02:38:57.274Z] 1469e6f7b9e6: Download complete [2023-01-19T02:38:57.274Z] eaf3925da568: Verifying Checksum [2023-01-19T02:38:57.274Z] eaf3925da568: Download complete [2023-01-19T02:38:57.274Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T02:38:57.274Z] 339a4e72a1f5: Download complete [2023-01-19T02:38:57.274Z] bde34c3a00c8: Download complete [2023-01-19T02:38:57.274Z] b352a97aabf1: Download complete [2023-01-19T02:38:57.274Z] 4872d77fe225: Download complete [2023-01-19T02:38:57.274Z] b85a868b505f: Verifying Checksum [2023-01-19T02:38:57.274Z] b85a868b505f: Download complete [2023-01-19T02:38:57.274Z] 5851b861e8e6: Verifying Checksum [2023-01-19T02:38:57.274Z] 5851b861e8e6: Download complete [2023-01-19T02:38:57.533Z] bab4dde63d76: Verifying Checksum [2023-01-19T02:38:57.533Z] bab4dde63d76: Download complete [2023-01-19T02:38:58.910Z] b85a868b505f: Pull complete [2023-01-19T02:38:58.910Z] e2be974225ed: Pull complete [2023-01-19T02:38:59.169Z] 339a4e72a1f5: Pull complete [2023-01-19T02:38:59.169Z] 988bab9f4d93: Pull complete [2023-01-19T02:38:59.427Z] 1469e6f7b9e6: Pull complete [2023-01-19T02:38:59.689Z] eaf3925da568: Pull complete [2023-01-19T02:39:01.587Z] bab4dde63d76: Pull complete [2023-01-19T02:39:01.587Z] bde34c3a00c8: Pull complete [2023-01-19T02:39:01.587Z] b352a97aabf1: Pull complete [2023-01-19T02:39:01.587Z] 4872d77fe225: Pull complete [2023-01-19T02:39:01.587Z] 5851b861e8e6: Pull complete [2023-01-19T02:39:01.587Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T02:39:01.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:39:01.587Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:39:01.807Z] prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container [2023-01-19T02:39:01.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-19T02:39:04.756Z] $ docker top bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 -eo pid,comm [2023-01-19T02:39:04.809Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-19T02:39:04.809Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T02:39:04.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:39:04.935Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:39:05.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:39:05.052Z] $ docker exec bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent [2023-01-19T02:39:05.162Z] SSH_AUTH_SOCK=/tmp/ssh-uJfdI3ZVzrlH/agent.32 [2023-01-19T02:39:05.162Z] SSH_AGENT_PID=38 [2023-01-19T02:39:05.168Z] Running ssh-add (command line suppressed) [2023-01-19T02:39:05.282Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8630037964079752840.key (/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8630037964079752840.key) [2023-01-19T02:39:05.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:39:05.629Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T02:39:05.661Z] $ docker exec --env ******** --env ******** bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent -k [2023-01-19T02:39:05.760Z] unset SSH_AUTH_SOCK; [2023-01-19T02:39:05.760Z] unset SSH_AGENT_PID; [2023-01-19T02:39:05.761Z] echo Agent pid 38 killed; [2023-01-19T02:39:05.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T02:39:05.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:39:05.983Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:39:06.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:39:06.098Z] $ docker exec bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent [2023-01-19T02:39:06.222Z] SSH_AUTH_SOCK=/tmp/ssh-M8LUwHxSITyT/agent.71 [2023-01-19T02:39:06.222Z] SSH_AGENT_PID=77 [2023-01-19T02:39:06.231Z] Running ssh-add (command line suppressed) [2023-01-19T02:39:06.335Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8581991119451262525.key (/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8581991119451262525.key) [2023-01-19T02:39:06.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:39:06.680Z] + git semver init [2023-01-19T02:39:06.941Z] 2023-01-19 02:39:06,922 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T02:39:06.941Z] 2023-01-19 02:39:06,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver [2023-01-19T02:39:06.941Z] 2023-01-19 02:39:06,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-241/.semver [2023-01-19T02:39:06.941Z] 2023-01-19 02:39:06,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-241/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241, universal_newlines=False, shell=None, istream=None) [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,029 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-241/.git/info/exclude [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 with force:False [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,029 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,033 [execute] INFO git cat-file --batch-check [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,039 [execute] INFO git cat-file --batch [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:39:08.329Z] 2023-01-19 02:39:08,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 [2023-01-19T02:39:08.329Z] 0.0.0 [Pipeline] } [2023-01-19T02:39:08.361Z] $ docker exec --env ******** --env ******** bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent -k [2023-01-19T02:39:08.474Z] unset SSH_AUTH_SOCK; [2023-01-19T02:39:08.474Z] unset SSH_AGENT_PID; [2023-01-19T02:39:08.475Z] echo Agent pid 77 killed; [2023-01-19T02:39:08.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T02:39:08.924Z] + git semver [Pipeline] } [2023-01-19T02:39:09.221Z] $ docker stop --time=1 bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 [2023-01-19T02:39:10.694Z] $ docker rm -f --volumes bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:39:11.136Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T02:39:11.395Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T02:39:11.411Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:39:12.009Z] provisioning config files... [2023-01-19T02:39:12.019Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config2742938148588282009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:39:12.369Z] ---> docker-login.sh [2023-01-19T02:39:12.369Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:39:12.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:39:12.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:39:12.369Z] Configure a credential helper to remove this warning. See [2023-01-19T02:39:12.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:39:12.369Z] [2023-01-19T02:39:12.369Z] Login Succeeded [2023-01-19T02:39:12.369Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:39:12.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:39:12.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:39:12.369Z] Configure a credential helper to remove this warning. See [2023-01-19T02:39:12.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:39:12.369Z] [2023-01-19T02:39:12.369Z] Login Succeeded [2023-01-19T02:39:12.369Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:39:12.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:39:12.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:39:12.630Z] Configure a credential helper to remove this warning. See [2023-01-19T02:39:12.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:39:12.630Z] [2023-01-19T02:39:12.630Z] Login Succeeded [2023-01-19T02:39:12.630Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:39:12.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:39:12.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:39:12.630Z] Configure a credential helper to remove this warning. See [2023-01-19T02:39:12.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:39:12.630Z] [2023-01-19T02:39:12.630Z] Login Succeeded [2023-01-19T02:39:12.630Z] docker.io [2023-01-19T02:39:12.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:39:12.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:39:12.891Z] Configure a credential helper to remove this warning. See [2023-01-19T02:39:12.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:39:12.891Z] [2023-01-19T02:39:12.891Z] Login Succeeded [2023-01-19T02:39:12.891Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:39:12.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:39:13.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:39:13.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:39:13.303Z] ========================================================= [2023-01-19T02:39:13.303Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T02:39:13.303Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:39:13.773Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:39:13.773Z] Sending build context to Docker daemon 10.8MB [2023-01-19T02:39:13.773Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:39:13.773Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:39:13.773Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T02:39:13.773Z] 213ec9aee27d: Pulling fs layer [2023-01-19T02:39:13.773Z] 4583459ba037: Pulling fs layer [2023-01-19T02:39:13.773Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T02:39:13.773Z] 53926ce57604: Pulling fs layer [2023-01-19T02:39:13.773Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T02:39:13.773Z] 22ff95d597cd: Pulling fs layer [2023-01-19T02:39:13.773Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T02:39:13.773Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T02:39:13.773Z] a7acece74701: Pulling fs layer [2023-01-19T02:39:13.773Z] 22ff95d597cd: Waiting [2023-01-19T02:39:13.773Z] 12d6caf4c0d1: Waiting [2023-01-19T02:39:13.773Z] 96b7cbca73a9: Waiting [2023-01-19T02:39:13.773Z] a7acece74701: Waiting [2023-01-19T02:39:13.773Z] 53926ce57604: Waiting [2023-01-19T02:39:13.773Z] 21b2b0c7a3f4: Waiting [2023-01-19T02:39:13.773Z] 93c1e223e6f2: Verifying Checksum [2023-01-19T02:39:13.773Z] 93c1e223e6f2: Download complete [2023-01-19T02:39:13.773Z] 4583459ba037: Download complete [2023-01-19T02:39:14.034Z] 21b2b0c7a3f4: Download complete [2023-01-19T02:39:14.034Z] 22ff95d597cd: Download complete [2023-01-19T02:39:14.034Z] 213ec9aee27d: Verifying Checksum [2023-01-19T02:39:14.034Z] 213ec9aee27d: Download complete [2023-01-19T02:39:14.034Z] 12d6caf4c0d1: Download complete [2023-01-19T02:39:14.034Z] 213ec9aee27d: Pull complete [2023-01-19T02:39:14.297Z] 4583459ba037: Pull complete [2023-01-19T02:39:14.297Z] 93c1e223e6f2: Pull complete [2023-01-19T02:39:14.903Z] a7acece74701: Verifying Checksum [2023-01-19T02:39:14.903Z] a7acece74701: Download complete [2023-01-19T02:39:15.167Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T02:39:15.167Z] 96b7cbca73a9: Download complete [2023-01-19T02:39:15.426Z] 53926ce57604: Verifying Checksum [2023-01-19T02:39:15.426Z] 53926ce57604: Download complete [2023-01-19T02:39:19.665Z] 53926ce57604: Pull complete [2023-01-19T02:39:19.665Z] 21b2b0c7a3f4: Pull complete [2023-01-19T02:39:19.665Z] 22ff95d597cd: Pull complete [2023-01-19T02:39:19.665Z] 12d6caf4c0d1: Pull complete [2023-01-19T02:39:21.571Z] 96b7cbca73a9: Pull complete [2023-01-19T02:39:22.509Z] a7acece74701: Pull complete [2023-01-19T02:39:22.770Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T02:39:22.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T02:39:22.770Z] ---> db6d94c90886 [2023-01-19T02:39:22.770Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:39:26.829Z] Still waiting to schedule task [2023-01-19T02:39:26.829Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3053’ is offline [2023-01-19T02:39:29.391Z] ---> Running in 2392669fab6c [2023-01-19T02:39:29.391Z] Removing intermediate container 2392669fab6c [2023-01-19T02:39:29.391Z] ---> 3b256731301e [2023-01-19T02:39:29.391Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:39:29.391Z] ---> Running in e405bb69e93f [2023-01-19T02:39:29.968Z] Removing intermediate container e405bb69e93f [2023-01-19T02:39:29.968Z] ---> cd6540d3137c [2023-01-19T02:39:29.968Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:39:29.968Z] ---> Running in 1433fc7facd4 [2023-01-19T02:39:30.228Z] Removing intermediate container 1433fc7facd4 [2023-01-19T02:39:30.228Z] ---> fe68ec8a9d2c [2023-01-19T02:39:30.228Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:39:30.228Z] ---> Running in fd5ab21b8153 [2023-01-19T02:39:30.228Z] Removing intermediate container fd5ab21b8153 [2023-01-19T02:39:30.228Z] ---> 39af2d23aa63 [2023-01-19T02:39:30.228Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:39:30.228Z] ---> Running in b217bdcdb050 [2023-01-19T02:39:30.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:39:30.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:39:30.746Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:39:30.746Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:39:30.746Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:39:30.746Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:39:30.746Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:39:30.746Z] OK: 216 MiB in 55 packages [2023-01-19T02:39:31.317Z] Removing intermediate container b217bdcdb050 [2023-01-19T02:39:31.317Z] ---> be341a955cf9 [2023-01-19T02:39:31.317Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-19T02:39:31.317Z] ---> Running in 45e92ae7c471 [2023-01-19T02:39:31.577Z] Removing intermediate container 45e92ae7c471 [2023-01-19T02:39:31.577Z] ---> 92b8bdc119f5 [2023-01-19T02:39:31.577Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:39:31.577Z] ---> 3844a672f65e [2023-01-19T02:39:31.577Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:39:31.577Z] ---> Running in e80837a76151 [2023-01-19T02:40:03.734Z] Removing intermediate container e80837a76151 [2023-01-19T02:40:03.734Z] ---> 1a6decc1668d [2023-01-19T02:40:03.734Z] Step 11/12 : COPY . . [2023-01-19T02:40:03.734Z] ---> 643647e18e57 [2023-01-19T02:40:03.734Z] Step 12/12 : RUN $MAKE [2023-01-19T02:40:03.734Z] ---> Running in 28640800eac1 [2023-01-19T02:40:03.734Z] noop [2023-01-19T02:40:03.734Z] Removing intermediate container 28640800eac1 [2023-01-19T02:40:03.734Z] ---> c27aee812ade [2023-01-19T02:40:03.734Z] Successfully built c27aee812ade [2023-01-19T02:40:03.734Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:40:04.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:40:04.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:40:04.310Z] prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container [2023-01-19T02:40:04.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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-x86_64 cat [2023-01-19T02:40:04.687Z] $ docker top e0cf69da3c41ecbfec0ef7123431333446ed8ad4ed9f289cc1ba0199dea43aea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:40:05.081Z] + go version [2023-01-19T02:40:05.081Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T02:40:05.218Z] $ docker stop --time=1 e0cf69da3c41ecbfec0ef7123431333446ed8ad4ed9f289cc1ba0199dea43aea [2023-01-19T02:40:06.516Z] $ docker rm -f --volumes e0cf69da3c41ecbfec0ef7123431333446ed8ad4ed9f289cc1ba0199dea43aea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:40:07.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:40:07.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:40:07.320Z] prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container [2023-01-19T02:40:07.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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-x86_64 cat [2023-01-19T02:40:07.683Z] $ docker top 2aec9d3ff80a476d24278c35fe41af21f8be2780ab85bdddef96915fe27e7276 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:40:08.058Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-241 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:40:08.417Z] + make test [2023-01-19T02:40:08.417Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T02:40:08.673Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-19T02:40:18.646Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-19T02:40:18.646Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2023-01-19T02:40:26.759Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-19T02:40:26.759Z] go vet ./... [2023-01-19T02:40:30.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:40:30.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:40:30.039Z] ./bin/test-attribution-txt.sh [2023-01-19T02:40:30.039Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:40:30.039Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:40:30.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:40:30.113Z] $ docker stop --time=1 2aec9d3ff80a476d24278c35fe41af21f8be2780ab85bdddef96915fe27e7276 [2023-01-19T02:40:32.613Z] $ docker rm -f --volumes 2aec9d3ff80a476d24278c35fe41af21f8be2780ab85bdddef96915fe27e7276 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:40:33.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:40:33.174Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T02:40:33.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:40:34.152Z] + ls -al . [2023-01-19T02:40:34.152Z] total 180 [2023-01-19T02:40:34.152Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:40 . [2023-01-19T02:40:34.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:38 .. [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 02:38 .dockerignore [2023-01-19T02:40:34.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:40 .git [2023-01-19T02:40:34.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:38 .github [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 02:38 .gitignore [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:38 .golangci.yml [2023-01-19T02:40:34.152Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:39 .semver [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 19 02:38 Attribution.txt [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 19 02:38 CHANGELOG.md [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 19 02:38 Dockerfile [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:38 GOVERNANCE.md [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 02:38 Jenkinsfile [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:38 LICENSE [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 19 02:38 Makefile [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:38 OWNERS.md [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 19 02:38 README.md [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:39 VERSION [2023-01-19T02:40:34.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:38 bin [2023-01-19T02:40:34.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:38 cmd [2023-01-19T02:40:34.152Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 19 02:40 coverage.out [2023-01-19T02:40:34.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:38 driver [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 3454 Jan 19 02:38 go.mod [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 19 02:38 go.sum [2023-01-19T02:40:34.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:38 snap [2023-01-19T02:40:34.152Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 02:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:40:34.532Z] + 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=0c8cee599e8840d59a5a88fbbd610b54878ba35e --label arch=amd64 --label version=0.0.0 . [2023-01-19T02:40:34.532Z] Sending build context to Docker daemon 10.81MB [2023-01-19T02:40:34.532Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:40:34.532Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-19T02:40:34.532Z] ---> c27aee812ade [2023-01-19T02:40:34.532Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:40:34.790Z] ---> Running in 94267179c20d [2023-01-19T02:40:34.791Z] Removing intermediate container 94267179c20d [2023-01-19T02:40:34.791Z] ---> 2ac7fd8a88fb [2023-01-19T02:40:34.791Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:40:34.791Z] ---> Running in 2d2d45479a5a [2023-01-19T02:40:34.791Z] Removing intermediate container 2d2d45479a5a [2023-01-19T02:40:34.791Z] ---> 55a0ea8ec142 [2023-01-19T02:40:34.791Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:40:34.791Z] ---> Running in 434a1c8c55cd [2023-01-19T02:40:35.051Z] Removing intermediate container 434a1c8c55cd [2023-01-19T02:40:35.051Z] ---> 3bd337057f16 [2023-01-19T02:40:35.051Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:40:35.051Z] ---> Running in 954890188b56 [2023-01-19T02:40:35.051Z] Removing intermediate container 954890188b56 [2023-01-19T02:40:35.051Z] ---> d6c43e5b60ec [2023-01-19T02:40:35.051Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:40:35.051Z] ---> Running in d0986a8922b2 [2023-01-19T02:40:35.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:40:35.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:40:35.826Z] OK: 216 MiB in 55 packages [2023-01-19T02:40:36.085Z] Removing intermediate container d0986a8922b2 [2023-01-19T02:40:36.085Z] ---> 2292ed0ef8c0 [2023-01-19T02:40:36.085Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-19T02:40:36.085Z] ---> Running in a76231cd83a8 [2023-01-19T02:40:36.343Z] Removing intermediate container a76231cd83a8 [2023-01-19T02:40:36.343Z] ---> 70749d72eb6f [2023-01-19T02:40:36.343Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-19T02:40:36.343Z] ---> 5a8b6bb36ed0 [2023-01-19T02:40:36.343Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:40:36.343Z] ---> Running in 5ef85047bd10 [2023-01-19T02:40:37.282Z] Removing intermediate container 5ef85047bd10 [2023-01-19T02:40:37.282Z] ---> 51debf3afe68 [2023-01-19T02:40:37.282Z] Step 11/25 : COPY . . [2023-01-19T02:40:37.850Z] ---> fb467e08b035 [2023-01-19T02:40:37.850Z] Step 12/25 : RUN $MAKE [2023-01-19T02:40:37.850Z] ---> Running in 67d1a140c17c [2023-01-19T02:40:38.109Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-19T02:41:00.050Z] Removing intermediate container 67d1a140c17c [2023-01-19T02:41:00.050Z] ---> d3664a0a8e85 [2023-01-19T02:41:00.050Z] Step 13/25 : FROM alpine:3.16 [2023-01-19T02:41:00.050Z] 3.16: Pulling from library/alpine [2023-01-19T02:41:00.050Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T02:41:00.050Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T02:41:00.050Z] ca7dd9ec2225: Download complete [2023-01-19T02:41:00.050Z] ca7dd9ec2225: Pull complete [2023-01-19T02:41:00.050Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T02:41:00.050Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T02:41:00.050Z] ---> bfe296a52501 [2023-01-19T02:41:00.050Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-19T02:41:00.050Z] ---> Running in 9fb2ecd539fa [2023-01-19T02:41:00.050Z] Removing intermediate container 9fb2ecd539fa [2023-01-19T02:41:00.050Z] ---> 6fcc58e1cc4e [2023-01-19T02:41:00.050Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-19T02:41:00.050Z] ---> Running in 818033b572fd [2023-01-19T02:41:00.050Z] Removing intermediate container 818033b572fd [2023-01-19T02:41:00.050Z] ---> 528f4e4cf5ee [2023-01-19T02:41:00.050Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-19T02:41:00.050Z] ---> Running in a6942a487004 [2023-01-19T02:41:00.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:41:00.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:41:00.312Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T02:41:00.312Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:41:00.312Z] OK: 6 MiB in 15 packages [2023-01-19T02:41:00.575Z] Removing intermediate container a6942a487004 [2023-01-19T02:41:00.575Z] ---> 95f6343ed636 [2023-01-19T02:41:00.575Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-19T02:41:01.381Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3055 in /w/workspace/gexfoundry_device-rest-go_PR-241 [Pipeline] { [Pipeline] ws [2023-01-19T02:41:01.450Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-19T02:41:01.535Z] The recommended git tool is: git [2023-01-19T02:41:01.538Z] ---> e0fca9fc1ee3 [2023-01-19T02:41:01.538Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-19T02:41:01.538Z] ---> ee8e2b9c9879 [2023-01-19T02:41:01.538Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-19T02:41:01.798Z] ---> ae23f63a18fc [2023-01-19T02:41:01.798Z] Step 20/25 : EXPOSE 59986 [2023-01-19T02:41:01.798Z] ---> Running in 04ad312408e0 [2023-01-19T02:41:01.798Z] Removing intermediate container 04ad312408e0 [2023-01-19T02:41:01.798Z] ---> e057ffcb9875 [2023-01-19T02:41:01.798Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-19T02:41:01.798Z] ---> Running in 472826eed78b [2023-01-19T02:41:01.798Z] Removing intermediate container 472826eed78b [2023-01-19T02:41:01.798Z] ---> 68ea57106448 [2023-01-19T02:41:01.798Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-19T02:41:01.798Z] ---> Running in 296619a9dc48 [2023-01-19T02:41:02.064Z] Removing intermediate container 296619a9dc48 [2023-01-19T02:41:02.064Z] ---> 8055b68810a8 [2023-01-19T02:41:02.064Z] Step 23/25 : LABEL arch=amd64 [2023-01-19T02:41:02.064Z] ---> Running in 2957bfae1553 [2023-01-19T02:41:02.064Z] Removing intermediate container 2957bfae1553 [2023-01-19T02:41:02.064Z] ---> 7e99c5ab8704 [2023-01-19T02:41:02.064Z] Step 24/25 : LABEL git_sha=0c8cee599e8840d59a5a88fbbd610b54878ba35e [2023-01-19T02:41:02.064Z] ---> Running in ce35c6e9f96a [2023-01-19T02:41:02.064Z] Removing intermediate container ce35c6e9f96a [2023-01-19T02:41:02.064Z] ---> 6124bc8ff33d [2023-01-19T02:41:02.064Z] Step 25/25 : LABEL version=0.0.0 [2023-01-19T02:41:02.323Z] ---> Running in 03f15bd8d6a9 [2023-01-19T02:41:02.323Z] Removing intermediate container 03f15bd8d6a9 [2023-01-19T02:41:02.323Z] ---> 2be929a1d277 [2023-01-19T02:41:02.323Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T02:41:02.323Z] Successfully built 2be929a1d277 [2023-01-19T02:41:02.323Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:41:03.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:41:03.140Z] [2023-01-19T02:41:03.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:41:03.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:41:03.522Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T02:41:03.522Z] 5eb5b503b376: Pulling fs layer [2023-01-19T02:41:03.522Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T02:41:03.522Z] ec43610c2a17: Pulling fs layer [2023-01-19T02:41:03.522Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T02:41:03.522Z] 33b1e0a273af: Pulling fs layer [2023-01-19T02:41:03.522Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T02:41:03.522Z] 2f39f015ded8: Pulling fs layer [2023-01-19T02:41:03.522Z] 33b1e0a273af: Waiting [2023-01-19T02:41:03.522Z] 5d3b04190fa2: Waiting [2023-01-19T02:41:03.522Z] 3a2ae6a8a46f: Waiting [2023-01-19T02:41:03.522Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T02:41:03.522Z] 5c69ac0246d0: Download complete [2023-01-19T02:41:03.522Z] 3a2ae6a8a46f: Download complete [2023-01-19T02:41:03.786Z] 33b1e0a273af: Verifying Checksum [2023-01-19T02:41:03.786Z] 33b1e0a273af: Download complete [2023-01-19T02:41:03.786Z] 5d3b04190fa2: Download complete [2023-01-19T02:41:03.786Z] ec43610c2a17: Verifying Checksum [2023-01-19T02:41:03.786Z] ec43610c2a17: Download complete [2023-01-19T02:41:04.054Z] 5eb5b503b376: Verifying Checksum [2023-01-19T02:41:04.054Z] 5eb5b503b376: Download complete [2023-01-19T02:41:04.624Z] 2f39f015ded8: Verifying Checksum [2023-01-19T02:41:04.624Z] 2f39f015ded8: Download complete [2023-01-19T02:41:05.190Z] 5eb5b503b376: Pull complete [2023-01-19T02:41:05.190Z] 5c69ac0246d0: Pull complete [2023-01-19T02:41:05.759Z] ec43610c2a17: Pull complete [2023-01-19T02:41:05.759Z] 3a2ae6a8a46f: Pull complete [2023-01-19T02:41:06.018Z] 33b1e0a273af: Pull complete [2023-01-19T02:41:06.018Z] 5d3b04190fa2: Pull complete [2023-01-19T02:41:06.884Z] using credential edgex-jenkins-ssh [2023-01-19T02:41:06.903Z] Cloning the remote Git repository [2023-01-19T02:41:06.942Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-19T02:41:07.020Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-19T02:41:07.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-19T02:41:07.181Z] > git --version # timeout=10 [2023-01-19T02:41:07.223Z] > git --version # 'git version 2.25.1' [2023-01-19T02:41:07.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:41:07.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:41:10.216Z] 2f39f015ded8: Pull complete [2023-01-19T02:41:10.217Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T02:41:10.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:41:10.217Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-01-19T02:41:09.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-19T02:41:09.102Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:41:09.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-19T02:41:09.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-19T02:41:09.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:41:09.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:41:10.421Z] prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container [2023-01-19T02:41:10.461Z] $ 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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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:latest cat [2023-01-19T02:41:10.560Z] Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit 0c8cee599e8840d59a5a88fbbd610b54878ba35e [2023-01-19T02:41:10.775Z] Merge succeeded, producing 0c8cee599e8840d59a5a88fbbd610b54878ba35e [2023-01-19T02:41:10.776Z] Checking out Revision 0c8cee599e8840d59a5a88fbbd610b54878ba35e (PR-241) [2023-01-19T02:41:10.577Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:41:10.595Z] > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 [2023-01-19T02:41:10.676Z] > git remote # timeout=10 [2023-01-19T02:41:10.694Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T02:41:10.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:41:10.730Z] > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [2023-01-19T02:41:10.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T02:41:10.780Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:41:10.795Z] > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 [2023-01-19T02:41:13.863Z] $ docker top 26bdb4ee7d3e0d5d7c4dcaed560da0e1f766309b17583ed0a02919e766fa106f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:41:14.270Z] Commit message: "build(deps): bump device-sdk-go version" [2023-01-19T02:41:14.317Z] > git --version # timeout=10 [2023-01-19T02:41:14.329Z] > git --version # 'git version 2.25.1' [2023-01-19T02:41:14.345Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:41:14.425Z] ---> job-cost.sh [2023-01-19T02:41:14.425Z] lf-activate-venv: SKIPPING [2023-01-19T02:41:14.425Z] INFO: No Stack... [2023-01-19T02:41:14.689Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T02:41:14.929Z] [2023-01-19T02:41:14.929Z] GitHub has been notified of this commit’s build result [2023-01-19T02:41:14.929Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:41:15.258Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T02:41:15.640Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T02:41:15.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T02:41:15.640Z] Dload Upload Total Spent Left Speed [2023-01-19T02:41:15.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 74133 [2023-01-19T02:41:15.660Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-241/archives/cost.csv [2023-01-19T02:41:15.660Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T02:41:15.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [2023-01-19T02:41:15.709Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] did not exist. Created. [2023-01-19T02:41:15.709Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-01-19T02:41:16.099Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T02:41:16.174Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T02:41:16.197Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T02:41:16.271Z] $ docker stop --time=1 26bdb4ee7d3e0d5d7c4dcaed560da0e1f766309b17583ed0a02919e766fa106f [2023-01-19T02:41:16.366Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-01-19T02:41:17.417Z] $ docker rm -f --volumes 26bdb4ee7d3e0d5d7c4dcaed560da0e1f766309b17583ed0a02919e766fa106f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T02:41:17.846Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T02:41:17.846Z] sudo tee /etc/docker/daemon.new [2023-01-19T02:41:17.846Z] { [2023-01-19T02:41:17.846Z] "registry-mirrors": [ [2023-01-19T02:41:17.846Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T02:41:17.846Z] ], [2023-01-19T02:41:17.846Z] "bip": "10.250.0.254/24", [2023-01-19T02:41:17.846Z] "hosts": [ [2023-01-19T02:41:17.846Z] "tcp://0.0.0.0:5555", [2023-01-19T02:41:17.846Z] "unix:///var/run/docker.sock" [2023-01-19T02:41:17.846Z] ], [2023-01-19T02:41:17.846Z] "mtu": 1458, [2023-01-19T02:41:17.846Z] "selinux-enabled": true, [2023-01-19T02:41:17.846Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T02:41:17.846Z] } [Pipeline] sh [2023-01-19T02:41:18.183Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T02:41:18.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:41:36.870Z] provisioning config files... [2023-01-19T02:41:36.895Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3469714960085005290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:41:37.270Z] ---> docker-login.sh [2023-01-19T02:41:37.270Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:41:37.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:41:37.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:41:37.815Z] Configure a credential helper to remove this warning. See [2023-01-19T02:41:37.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:41:37.815Z] [2023-01-19T02:41:37.815Z] Login Succeeded [2023-01-19T02:41:37.815Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:41:38.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:41:38.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:41:38.084Z] Configure a credential helper to remove this warning. See [2023-01-19T02:41:38.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:41:38.084Z] [2023-01-19T02:41:38.084Z] Login Succeeded [2023-01-19T02:41:38.084Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:41:38.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:41:38.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:41:38.623Z] Configure a credential helper to remove this warning. See [2023-01-19T02:41:38.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:41:38.623Z] [2023-01-19T02:41:38.623Z] Login Succeeded [2023-01-19T02:41:38.623Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:41:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:41:38.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:41:38.894Z] Configure a credential helper to remove this warning. See [2023-01-19T02:41:38.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:41:38.894Z] [2023-01-19T02:41:38.894Z] Login Succeeded [2023-01-19T02:41:38.894Z] docker.io [2023-01-19T02:41:39.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:41:39.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:41:39.431Z] Configure a credential helper to remove this warning. See [2023-01-19T02:41:39.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:41:39.431Z] [2023-01-19T02:41:39.431Z] Login Succeeded [2023-01-19T02:41:39.431Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:41:39.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:41:39.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:41:39.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:41:40.010Z] ========================================================= [2023-01-19T02:41:40.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T02:41:40.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:41:40.494Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:41:40.495Z] Sending build context to Docker daemon 126.5kB [2023-01-19T02:41:40.768Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:41:40.768Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:41:40.768Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T02:41:40.768Z] 9b18e9b68314: Pulling fs layer [2023-01-19T02:41:40.768Z] 35d82f9e3411: Pulling fs layer [2023-01-19T02:41:40.768Z] e16973657156: Pulling fs layer [2023-01-19T02:41:40.768Z] fc693d55d65f: Pulling fs layer [2023-01-19T02:41:40.768Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T02:41:40.768Z] dda99020689f: Pulling fs layer [2023-01-19T02:41:40.768Z] db1c61fa0a46: Pulling fs layer [2023-01-19T02:41:40.768Z] 891c053d2c06: Pulling fs layer [2023-01-19T02:41:40.768Z] fc693d55d65f: Waiting [2023-01-19T02:41:40.768Z] dda99020689f: Waiting [2023-01-19T02:41:40.768Z] 7e9fc2657dce: Waiting [2023-01-19T02:41:40.768Z] db1c61fa0a46: Waiting [2023-01-19T02:41:40.768Z] 891c053d2c06: Waiting [2023-01-19T02:41:40.768Z] e16973657156: Verifying Checksum [2023-01-19T02:41:40.768Z] e16973657156: Download complete [2023-01-19T02:41:41.042Z] 35d82f9e3411: Download complete [2023-01-19T02:41:41.042Z] 7e9fc2657dce: Verifying Checksum [2023-01-19T02:41:41.042Z] 7e9fc2657dce: Download complete [2023-01-19T02:41:41.042Z] dda99020689f: Verifying Checksum [2023-01-19T02:41:41.042Z] dda99020689f: Download complete [2023-01-19T02:41:41.042Z] 9b18e9b68314: Verifying Checksum [2023-01-19T02:41:41.042Z] 9b18e9b68314: Download complete [2023-01-19T02:41:42.039Z] 891c053d2c06: Verifying Checksum [2023-01-19T02:41:42.040Z] 891c053d2c06: Download complete [2023-01-19T02:41:42.639Z] 9b18e9b68314: Pull complete [2023-01-19T02:41:43.237Z] 35d82f9e3411: Pull complete [2023-01-19T02:41:43.237Z] db1c61fa0a46: Verifying Checksum [2023-01-19T02:41:43.237Z] db1c61fa0a46: Download complete [2023-01-19T02:41:43.507Z] e16973657156: Pull complete [2023-01-19T02:41:43.775Z] fc693d55d65f: Verifying Checksum [2023-01-19T02:41:43.775Z] fc693d55d65f: Download complete [2023-01-19T02:41:56.133Z] fc693d55d65f: Pull complete [2023-01-19T02:41:56.133Z] 7e9fc2657dce: Pull complete [2023-01-19T02:41:56.402Z] dda99020689f: Pull complete [2023-01-19T02:42:03.059Z] db1c61fa0a46: Pull complete [2023-01-19T02:42:04.484Z] 891c053d2c06: Pull complete [2023-01-19T02:42:04.484Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T02:42:04.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T02:42:04.484Z] ---> f96f9c87975a [2023-01-19T02:42:04.484Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:42:06.446Z] ---> Running in 80f2957b4d69 [2023-01-19T02:42:06.446Z] Removing intermediate container 80f2957b4d69 [2023-01-19T02:42:06.446Z] ---> c1b3ef4de06f [2023-01-19T02:42:06.446Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:42:06.714Z] ---> Running in 4ce8f40012dc [2023-01-19T02:42:06.982Z] Removing intermediate container 4ce8f40012dc [2023-01-19T02:42:06.982Z] ---> 12df7d9e4087 [2023-01-19T02:42:06.982Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:42:06.982Z] ---> Running in e9368ffed860 [2023-01-19T02:42:07.250Z] Removing intermediate container e9368ffed860 [2023-01-19T02:42:07.250Z] ---> c9d3a05898b4 [2023-01-19T02:42:07.250Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:42:07.518Z] ---> Running in eece070b5ee2 [2023-01-19T02:42:07.785Z] Removing intermediate container eece070b5ee2 [2023-01-19T02:42:07.785Z] ---> abd2779e1348 [2023-01-19T02:42:07.785Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:42:07.785Z] ---> Running in 2e1dc5d170ba [2023-01-19T02:42:08.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:42:09.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:42:10.302Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:42:10.302Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:42:10.302Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:42:10.302Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:42:10.302Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:42:10.302Z] OK: 226 MiB in 55 packages [2023-01-19T02:42:11.266Z] Removing intermediate container 2e1dc5d170ba [2023-01-19T02:42:11.266Z] ---> e21c6cbd25e8 [2023-01-19T02:42:11.266Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-19T02:42:11.266Z] ---> Running in b7ccd6027507 [2023-01-19T02:42:11.533Z] Removing intermediate container b7ccd6027507 [2023-01-19T02:42:11.533Z] ---> 33345c42f952 [2023-01-19T02:42:11.533Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:42:12.119Z] ---> ac8a2b22c249 [2023-01-19T02:42:12.119Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:42:12.119Z] ---> Running in f8906919991b [2023-01-19T02:43:20.049Z] Removing intermediate container f8906919991b [2023-01-19T02:43:20.049Z] ---> 0467bc668d28 [2023-01-19T02:43:20.049Z] Step 11/12 : COPY . . [2023-01-19T02:43:20.049Z] ---> fd0f737e5b26 [2023-01-19T02:43:20.049Z] Step 12/12 : RUN $MAKE [2023-01-19T02:43:20.049Z] ---> Running in c27ca79a4b44 [2023-01-19T02:43:20.049Z] noop [2023-01-19T02:43:20.049Z] Removing intermediate container c27ca79a4b44 [2023-01-19T02:43:20.049Z] ---> 42dfa599cb36 [2023-01-19T02:43:20.049Z] Successfully built 42dfa599cb36 [2023-01-19T02:43:20.049Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:43:20.526Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T02:43:20.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:43:20.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container [2023-01-19T02:43:20.853Z] $ 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 [2023-01-19T02:43:22.413Z] $ docker top 42afefef203618145c5753eaf4cef21b449b67f528f32f54347468b72525e02c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:43:23.291Z] + go version [2023-01-19T02:43:23.291Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T02:43:23.324Z] $ docker stop --time=1 42afefef203618145c5753eaf4cef21b449b67f528f32f54347468b72525e02c [2023-01-19T02:43:24.950Z] $ docker rm -f --volumes 42afefef203618145c5753eaf4cef21b449b67f528f32f54347468b72525e02c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:43:25.792Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T02:43:25.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:43:26.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container [2023-01-19T02:43:26.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T02:43:27.262Z] $ docker top b34b205f86183b63f205f2117725d6eb2ecb28e510c7f6d8efadb4efeed1e6ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:43:28.123Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:43:28.821Z] + make test [2023-01-19T02:43:28.821Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T02:43:30.235Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-19T02:44:51.879Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-19T02:44:51.879Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements [2023-01-19T02:44:51.879Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T02:44:51.879Z] go vet ./... [2023-01-19T02:45:10.115Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:45:10.115Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:45:10.115Z] ./bin/test-attribution-txt.sh [2023-01-19T02:45:10.115Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:45:10.115Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:45:10.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:45:10.181Z] $ docker stop --time=1 b34b205f86183b63f205f2117725d6eb2ecb28e510c7f6d8efadb4efeed1e6ae [2023-01-19T02:45:14.201Z] $ docker rm -f --volumes b34b205f86183b63f205f2117725d6eb2ecb28e510c7f6d8efadb4efeed1e6ae [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:45:15.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:45:15.232Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T02:45:15.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:45:16.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:45:16.579Z] + ls -al . [2023-01-19T02:45:16.579Z] total 176 [2023-01-19T02:45:16.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:43 . [2023-01-19T02:45:16.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:41 .. [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 02:41 .dockerignore [2023-01-19T02:45:16.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:41 .git [2023-01-19T02:45:16.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:41 .github [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 02:41 .gitignore [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:41 .golangci.yml [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 19 02:41 Attribution.txt [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 19 02:41 CHANGELOG.md [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 19 02:41 Dockerfile [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:41 GOVERNANCE.md [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 02:41 Jenkinsfile [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:41 LICENSE [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 19 02:41 Makefile [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:41 OWNERS.md [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 19 02:41 README.md [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:39 VERSION [2023-01-19T02:45:16.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:41 bin [2023-01-19T02:45:16.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:41 cmd [2023-01-19T02:45:16.579Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 19 02:44 coverage.out [2023-01-19T02:45:16.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:41 driver [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 3454 Jan 19 02:41 go.mod [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 19 02:41 go.sum [2023-01-19T02:45:16.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:41 snap [2023-01-19T02:45:16.579Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 02:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:45:17.012Z] + 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=0c8cee599e8840d59a5a88fbbd610b54878ba35e --label arch=arm64 --label version=0.0.0 . [2023-01-19T02:45:17.012Z] Sending build context to Docker daemon 136.7kB [2023-01-19T02:45:17.278Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:45:17.278Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-19T02:45:17.278Z] ---> 42dfa599cb36 [2023-01-19T02:45:17.278Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:45:17.278Z] ---> Running in 392e770e7af5 [2023-01-19T02:45:17.544Z] Removing intermediate container 392e770e7af5 [2023-01-19T02:45:17.544Z] ---> 39adc66aa5d1 [2023-01-19T02:45:17.544Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:45:17.812Z] ---> Running in 3cbdb9f79683 [2023-01-19T02:45:18.079Z] Removing intermediate container 3cbdb9f79683 [2023-01-19T02:45:18.079Z] ---> c4356094dce7 [2023-01-19T02:45:18.079Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:45:18.079Z] ---> Running in 1b26a3031f15 [2023-01-19T02:45:18.347Z] Removing intermediate container 1b26a3031f15 [2023-01-19T02:45:18.347Z] ---> 9836bdd5d524 [2023-01-19T02:45:18.347Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:45:18.615Z] ---> Running in 87beccb345f5 [2023-01-19T02:45:18.884Z] Removing intermediate container 87beccb345f5 [2023-01-19T02:45:18.884Z] ---> a3618c85377d [2023-01-19T02:45:18.884Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:45:18.884Z] ---> Running in e1e5d2d7624a [2023-01-19T02:45:19.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:45:20.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:45:21.394Z] OK: 226 MiB in 55 packages [2023-01-19T02:45:22.357Z] Removing intermediate container e1e5d2d7624a [2023-01-19T02:45:22.357Z] ---> 087224ab97f5 [2023-01-19T02:45:22.357Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-19T02:45:22.357Z] ---> Running in 0a3d6f781acc [2023-01-19T02:45:22.943Z] Removing intermediate container 0a3d6f781acc [2023-01-19T02:45:22.943Z] ---> 71c8b320d638 [2023-01-19T02:45:22.943Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-19T02:45:23.315Z] ---> db32eab58a3f [2023-01-19T02:45:23.315Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:45:23.594Z] ---> Running in b0082982a768 [2023-01-19T02:45:27.987Z] Removing intermediate container b0082982a768 [2023-01-19T02:45:27.987Z] ---> e0506a606fa7 [2023-01-19T02:45:27.987Z] Step 11/25 : COPY . . [2023-01-19T02:45:28.261Z] ---> a61aa7fa3d03 [2023-01-19T02:45:28.261Z] Step 12/25 : RUN $MAKE [2023-01-19T02:45:28.261Z] ---> Running in 4a698cc1e4c7 [2023-01-19T02:45:29.241Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-19T02:47:50.963Z] Removing intermediate container 4a698cc1e4c7 [2023-01-19T02:47:50.963Z] ---> db5fab63c2f3 [2023-01-19T02:47:50.963Z] Step 13/25 : FROM alpine:3.16 [2023-01-19T02:47:50.963Z] 3.16: Pulling from library/alpine [2023-01-19T02:47:50.963Z] 6875df1f5354: Pulling fs layer [2023-01-19T02:47:50.963Z] 6875df1f5354: Verifying Checksum [2023-01-19T02:47:50.963Z] 6875df1f5354: Download complete [2023-01-19T02:47:50.963Z] 6875df1f5354: Pull complete [2023-01-19T02:47:50.963Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T02:47:50.963Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T02:47:50.963Z] ---> 2b4661558fb8 [2023-01-19T02:47:50.963Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-19T02:47:50.963Z] ---> Running in 5f8573444301 [2023-01-19T02:47:50.963Z] Removing intermediate container 5f8573444301 [2023-01-19T02:47:50.963Z] ---> d71888eea7b8 [2023-01-19T02:47:50.963Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-19T02:47:50.963Z] ---> Running in 91f96c017fd1 [2023-01-19T02:47:50.963Z] Removing intermediate container 91f96c017fd1 [2023-01-19T02:47:50.963Z] ---> 459d9525ae06 [2023-01-19T02:47:50.963Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-19T02:47:50.963Z] ---> Running in 69c298ec949e [2023-01-19T02:47:50.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:47:50.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:47:50.963Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T02:47:50.963Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:47:50.963Z] OK: 5 MiB in 15 packages [2023-01-19T02:47:50.963Z] Removing intermediate container 69c298ec949e [2023-01-19T02:47:50.963Z] ---> a5611c7b2646 [2023-01-19T02:47:50.963Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-19T02:47:50.963Z] ---> ef2f5f762d4e [2023-01-19T02:47:50.963Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-19T02:47:50.963Z] ---> 18ffdc09d149 [2023-01-19T02:47:50.963Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-19T02:47:50.963Z] ---> 923545a8a8a2 [2023-01-19T02:47:50.963Z] Step 20/25 : EXPOSE 59986 [2023-01-19T02:47:50.963Z] ---> Running in 236abd2356c6 [2023-01-19T02:47:50.963Z] Removing intermediate container 236abd2356c6 [2023-01-19T02:47:50.963Z] ---> 60225ab6e1ea [2023-01-19T02:47:50.963Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-19T02:47:50.963Z] ---> Running in 26bd03011b0e [2023-01-19T02:47:50.963Z] Removing intermediate container 26bd03011b0e [2023-01-19T02:47:50.963Z] ---> 8463c6ecdffb [2023-01-19T02:47:50.963Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-19T02:47:50.963Z] ---> Running in 9c63ca3ef5a7 [2023-01-19T02:47:50.963Z] Removing intermediate container 9c63ca3ef5a7 [2023-01-19T02:47:50.963Z] ---> 0b50c959a735 [2023-01-19T02:47:50.963Z] Step 23/25 : LABEL arch=arm64 [2023-01-19T02:47:50.963Z] ---> Running in 211ae7ed51db [2023-01-19T02:47:50.963Z] Removing intermediate container 211ae7ed51db [2023-01-19T02:47:50.963Z] ---> c55f2e363bbc [2023-01-19T02:47:50.963Z] Step 24/25 : LABEL git_sha=0c8cee599e8840d59a5a88fbbd610b54878ba35e [2023-01-19T02:47:50.963Z] ---> Running in 25ea931f542c [2023-01-19T02:47:51.231Z] Removing intermediate container 25ea931f542c [2023-01-19T02:47:51.231Z] ---> 84e3202ec825 [2023-01-19T02:47:51.231Z] Step 25/25 : LABEL version=0.0.0 [2023-01-19T02:47:51.497Z] ---> Running in 0abe3a59ee1a [2023-01-19T02:47:51.763Z] Removing intermediate container 0abe3a59ee1a [2023-01-19T02:47:51.763Z] ---> 7496d8eff540 [2023-01-19T02:47:51.763Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T02:47:51.763Z] Successfully built 7496d8eff540 [2023-01-19T02:47:51.763Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:47:52.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T02:47:52.552Z] [2023-01-19T02:47:52.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:47:52.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T02:47:52.954Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T02:47:52.954Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T02:47:52.954Z] 04944245beec: Pulling fs layer [2023-01-19T02:47:52.954Z] 699f458cf7ca: Pulling fs layer [2023-01-19T02:47:52.954Z] 765212b225bb: Pulling fs layer [2023-01-19T02:47:52.954Z] f23df028b6ca: Pulling fs layer [2023-01-19T02:47:52.954Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T02:47:52.954Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T02:47:52.954Z] 765212b225bb: Waiting [2023-01-19T02:47:52.954Z] d65c8cfc05b1: Waiting [2023-01-19T02:47:52.954Z] 2437ff75d9bd: Waiting [2023-01-19T02:47:52.954Z] f23df028b6ca: Waiting [2023-01-19T02:47:53.223Z] 04944245beec: Verifying Checksum [2023-01-19T02:47:53.223Z] 04944245beec: Download complete [2023-01-19T02:47:53.223Z] 765212b225bb: Verifying Checksum [2023-01-19T02:47:53.223Z] 765212b225bb: Download complete [2023-01-19T02:47:53.223Z] f23df028b6ca: Verifying Checksum [2023-01-19T02:47:53.223Z] f23df028b6ca: Download complete [2023-01-19T02:47:53.223Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T02:47:53.223Z] d65c8cfc05b1: Download complete [2023-01-19T02:47:53.496Z] 699f458cf7ca: Verifying Checksum [2023-01-19T02:47:53.496Z] 699f458cf7ca: Download complete [2023-01-19T02:47:53.783Z] 8998bd30e6a1: Download complete [2023-01-19T02:47:56.374Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T02:47:56.374Z] 2437ff75d9bd: Download complete [2023-01-19T02:47:57.784Z] 8998bd30e6a1: Pull complete [2023-01-19T02:47:58.369Z] 04944245beec: Pull complete [2023-01-19T02:47:59.786Z] 699f458cf7ca: Pull complete [2023-01-19T02:47:59.786Z] 765212b225bb: Pull complete [2023-01-19T02:48:00.374Z] f23df028b6ca: Pull complete [2023-01-19T02:48:00.643Z] d65c8cfc05b1: Pull complete [2023-01-19T02:48:15.644Z] 2437ff75d9bd: Pull complete [2023-01-19T02:48:15.644Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T02:48:15.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T02:48:15.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:48:16.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container [2023-01-19T02:48:16.089Z] $ 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 [2023-01-19T02:48:19.011Z] $ docker top 58c8c0bbafe9d27c2a90a54f08977f827beea68d6a67391bcd46993eba9315a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:19.932Z] ---> job-cost.sh [2023-01-19T02:48:19.932Z] lf-activate-venv: SKIPPING [2023-01-19T02:48:19.932Z] INFO: No Stack... [2023-01-19T02:48:20.199Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T02:48:21.158Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T02:48:21.500Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-19T02:48:21.500Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T02:48:21.856Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [2023-01-19T02:48:21.861Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] did not exist. Created. [2023-01-19T02:48:21.861Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T02:48:22.596Z] /w/workspace/device-rest-go/1@tmp/durable-a4fadfc3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T02:48:23.266Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T02:48:23.305Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T02:48:23.349Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T02:48:23.363Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T02:48:23.445Z] $ docker stop --time=1 58c8c0bbafe9d27c2a90a54f08977f827beea68d6a67391bcd46993eba9315a7 [2023-01-19T02:48:24.970Z] $ docker rm -f --volumes 58c8c0bbafe9d27c2a90a54f08977f827beea68d6a67391bcd46993eba9315a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-19T02:48:25.928Z] provisioning config files... [2023-01-19T02:48:25.934Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config9137034583761769865tmp [Pipeline] { [Pipeline] sh [2023-01-19T02:48:26.266Z] + set +x [2023-01-19T02:48:26.266Z] + bash -s -- [2023-01-19T02:48:26.266Z] + curl -s https://codecov.io/bash [2023-01-19T02:48:26.266Z] [2023-01-19T02:48:26.266Z] _____ _ [2023-01-19T02:48:26.266Z] / ____| | | [2023-01-19T02:48:26.266Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T02:48:26.266Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T02:48:26.266Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T02:48:26.266Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T02:48:26.266Z] Bash-1.0.6 [2023-01-19T02:48:26.266Z] [2023-01-19T02:48:26.266Z] [2023-01-19T02:48:26.266Z] ==> git version 2.25.1 found [2023-01-19T02:48:26.266Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-19T02:48:26.266Z] Release-Date: 2020-01-08 [2023-01-19T02:48:26.266Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-19T02:48:26.266Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T02:48:26.266Z] ==> Jenkins CI detected. [2023-01-19T02:48:26.266Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-241 [2023-01-19T02:48:26.266Z] project root: . [2023-01-19T02:48:26.266Z] --> token set from env [2023-01-19T02:48:26.266Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T02:48:26.266Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T02:48:26.266Z] ==> Python coveragepy not found [2023-01-19T02:48:26.266Z] ==> Searching for coverage reports in: [2023-01-19T02:48:26.266Z] + . [2023-01-19T02:48:26.266Z] -> Found 1 reports [2023-01-19T02:48:26.266Z] ==> Detecting git/mercurial file structure [2023-01-19T02:48:26.525Z] ==> Reading reports [2023-01-19T02:48:26.525Z] + ./coverage.out bytes=9355 [2023-01-19T02:48:26.525Z] ==> Appending adjustments [2023-01-19T02:48:26.525Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T02:48:26.525Z] + Found adjustments [2023-01-19T02:48:26.525Z] ==> Gzipping contents [2023-01-19T02:48:26.525Z] 4.0K /tmp/codecov.QdTViG.gz [2023-01-19T02:48:26.525Z] ==> Uploading reports [2023-01-19T02:48:26.525Z] url: https://codecov.io [2023-01-19T02:48:26.525Z] query: branch=PR-241&commit=0c8cee599e8840d59a5a88fbbd610b54878ba35e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=241&job=&cmd_args= [2023-01-19T02:48:26.525Z] -> Pinging Codecov [2023-01-19T02:48:26.525Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-241&commit=0c8cee599e8840d59a5a88fbbd610b54878ba35e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=241&job=&cmd_args= [2023-01-19T02:48:26.783Z] -> Uploading to [2023-01-19T02:48:26.783Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/4E5D53B4F1F92C436F7061BF334D961C/0c8cee599e8840d59a5a88fbbd610b54878ba35e/345324cd-8bfb-4f41-b85c-032151f46b82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T024826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=036c9bfefe6444079d272030ca4001766abcb0362b3ac647f084525a108c178b [2023-01-19T02:48:26.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T02:48:26.783Z] Dload Upload Total Spent Left Speed [2023-01-19T02:48:27.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 6588 --:--:-- --:--:-- --:--:-- 6588 [2023-01-19T02:48:27.042Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] } [2023-01-19T02:48:27.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-19T02:48:28.719Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-241/archives ] [2023-01-19T02:48:28.719Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-241/archives [2023-01-19T02:48:28.719Z] total 16 [2023-01-19T02:48:28.719Z] drwxr-xr-x 3 root root 4096 Jan 19 02:41 . [2023-01-19T02:48:28.719Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:41 .. [2023-01-19T02:48:28.719Z] drwxr-xr-x 2 root root 4096 Jan 19 02:41 cost [2023-01-19T02:48:28.719Z] -rw-r--r-- 1 root root 86 Jan 19 02:41 cost.csv [2023-01-19T02:48:28.719Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-241/archives [2023-01-19T02:48:28.719Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-241/archives [2023-01-19T02:48:28.719Z] total 16 [2023-01-19T02:48:28.719Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:41 . [2023-01-19T02:48:28.719Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:41 .. [2023-01-19T02:48:28.719Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:41 cost [2023-01-19T02:48:28.719Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 19 02:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:29.044Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:29.936Z] ---> package-listing.sh [2023-01-19T02:48:29.936Z] ++ facter osfamily [2023-01-19T02:48:29.936Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T02:48:30.196Z] + OS_FAMILY=debian [2023-01-19T02:48:30.196Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-241 [2023-01-19T02:48:30.196Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T02:48:30.196Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T02:48:30.196Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T02:48:30.196Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T02:48:30.196Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-241 ']' [2023-01-19T02:48:30.196Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T02:48:30.196Z] + case "${OS_FAMILY}" in [2023-01-19T02:48:30.196Z] + dpkg -l [2023-01-19T02:48:30.196Z] + grep '^ii' [2023-01-19T02:48:30.196Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T02:48:30.196Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T02:48:30.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T02:48:30.196Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-241 ']' [2023-01-19T02:48:30.196Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-241/archives/ [2023-01-19T02:48:30.196Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-241/archives/ [Pipeline] echo [2023-01-19T02:48:30.230Z] 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-241/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T02:48:30.519Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:48:31.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:48:31.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:48:31.293Z] prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container [2023-01-19T02:48:31.328Z] $ 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-241/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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 [2023-01-19T02:48:31.523Z] $ docker top 84d61ad13743fc4264a3be08087a0d232207e1e536606b99d6e2e883e2555b24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:48:31.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T02:48:32.211Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T02:48:32.519Z] + ls /var/log/sa-host [2023-01-19T02:48:32.519Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:48:32.733Z] provisioning config files... [2023-01-19T02:48:32.742Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config9628426305546617tmp [Pipeline] { [Pipeline] echo [2023-01-19T02:48:32.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:33.111Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T02:48:33.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:33.541Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T02:48:33.572Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:33.888Z] ---> sudo-logs.sh [2023-01-19T02:48:33.888Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T02:48:33.970Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:34.283Z] ---> job-cost.sh [2023-01-19T02:48:34.283Z] lf-activate-venv: SKIPPING [2023-01-19T02:48:34.283Z] DEBUG: total: 0.2199999988079071 [2023-01-19T02:48:34.283Z] INFO: Retrieving Stack Cost... [2023-01-19T02:48:34.541Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T02:48:35.108Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T02:48:35.148Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:35.457Z] ---> logs-deploy.sh [2023-01-19T02:48:35.457Z] lf-activate-venv: SKIPPING [2023-01-19T02:48:35.457Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-241/1 [2023-01-19T02:48:35.457Z] INFO: archiving workspace using pattern(s): [2023-01-19T02:48:36.394Z] Archives upload complete. [2023-01-19T02:48:36.394Z] INFO: archiving logs to Nexus