Pull request #273 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6762fe2798312bec0193414951e0bc8909f18e9+e28169b2e94fb685934981c338b1a6a24f9d6fce (c03d5b5439398726a4d28e105553135dccde7e09) 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-ssh17460631646480429682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11531479301294169490.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-273/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-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15857089701291312214.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-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7430252083046712957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh18294263061514008704.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-273/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-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15481926250976034294.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4729’ Running on prd-ubuntu20.04-docker-8c-8g-4737 in /w/workspace/gexfoundry_device-rest-go_PR-273 [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-273 # 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 e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit e6762fe2798312bec0193414951e0bc8909f18e9 Merge succeeded, producing e6762fe2798312bec0193414951e0bc8909f18e9 Checking out Revision e6762fe2798312bec0193414951e0bc8909f18e9 (PR-273) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > 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/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # 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 e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T05:27:39.042Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T05:27:39.212Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T05:27:39.305Z] ========================================================= [2023-03-21T05:27:39.305Z] EdgeX Global Pipelines Version Info [2023-03-21T05:27:39.305Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:40.047Z] ------------------- [2023-03-21T05:27:40.047Z] stable info: [2023-03-21T05:27:40.047Z] ------------------- [2023-03-21T05:27:40.047Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T05:27:40.047Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T05:27:40.047Z] Message: update stable to v1.0.245 [2023-03-21T05:27:40.618Z] ------------------- [2023-03-21T05:27:40.618Z] experimental info: [2023-03-21T05:27:40.618Z] ------------------- [2023-03-21T05:27:40.618Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T05:27:40.618Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T05:27:40.618Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T05:27:40.957Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T05:27:40.994Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T05:27:41.027Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T05:27:41.062Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T05:27:41.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T05:27:41.135Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T05:27:41.177Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T05:27:41.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T05:27:41.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T05:27:41.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T05:27:41.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T05:27:41.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T05:27:41.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T05:27:41.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T05:27:41.494Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:27:41.532Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:27:41.572Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:27:41.611Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:27:41.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T05:27:41.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T05:27:41.746Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T05:27:41.789Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T05:27:41.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T05:27:41.878Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T05:27:41.919Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T05:27:41.965Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T05:27:42.007Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T05:27:42.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-273 [Pipeline] echo [2023-03-21T05:27:42.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-273 [Pipeline] echo [2023-03-21T05:27:42.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-273 [Pipeline] echo [2023-03-21T05:27:42.173Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo [2023-03-21T05:27:42.214Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6762fe [Pipeline] echo [2023-03-21T05:27:42.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:27:42.389Z] provisioning config files... [2023-03-21T05:27:42.422Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config12990799374626754510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:42.809Z] ---> docker-login.sh [2023-03-21T05:27:42.809Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:27:43.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.676Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.676Z] [2023-03-21T05:27:43.676Z] Login Succeeded [2023-03-21T05:27:43.676Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:27:43.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.676Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.676Z] [2023-03-21T05:27:43.676Z] Login Succeeded [2023-03-21T05:27:43.676Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:27:43.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.949Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.949Z] [2023-03-21T05:27:43.949Z] Login Succeeded [2023-03-21T05:27:43.949Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:27:43.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.949Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.949Z] [2023-03-21T05:27:43.949Z] Login Succeeded [2023-03-21T05:27:43.949Z] docker.io [2023-03-21T05:27:43.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:44.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:44.214Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:44.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:44.214Z] [2023-03-21T05:27:44.214Z] Login Succeeded [2023-03-21T05:27:44.214Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:27:44.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T05:27:44.878Z] + git rev-list -1 --merges e6762fe2798312bec0193414951e0bc8909f18e9~1..e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo [2023-03-21T05:27:44.958Z] -----------> git rev-list -1 --merges e6762fe2798312bec0193414951e0bc8909f18e9~1..e6762fe2798312bec0193414951e0bc8909f18e9 e6762fe2798312bec0193414951e0bc8909f18e9 [false] [Pipeline] sh [2023-03-21T05:27:45.266Z] + git log --format=format:%s -1 e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo [2023-03-21T05:27:45.295Z] ========================================================= [2023-03-21T05:27:45.295Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T05:27:45.295Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:27:45.742Z] + git log --format=format:%s -1 e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo [2023-03-21T05:27:45.773Z] [semverPrep] GIT_COMMIT: e6762fe2798312bec0193414951e0bc8909f18e9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-21T05:27:45.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T05:27:46.183Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.183Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.183Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T05:27:46.183Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.183Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T05:27:46.183Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.183Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:27:46.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:46.611Z] [2023-03-21T05:27:46.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:27:46.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:46.997Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T05:27:46.997Z] b85a868b505f: Pulling fs layer [2023-03-21T05:27:46.997Z] e2be974225ed: Pulling fs layer [2023-03-21T05:27:46.997Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T05:27:46.997Z] 988bab9f4d93: Pulling fs layer [2023-03-21T05:27:46.997Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T05:27:46.997Z] eaf3925da568: Pulling fs layer [2023-03-21T05:27:46.997Z] bab4dde63d76: Pulling fs layer [2023-03-21T05:27:46.997Z] bde34c3a00c8: Pulling fs layer [2023-03-21T05:27:46.997Z] b352a97aabf1: Pulling fs layer [2023-03-21T05:27:46.997Z] 4872d77fe225: Pulling fs layer [2023-03-21T05:27:46.997Z] 5851b861e8e6: Pulling fs layer [2023-03-21T05:27:46.997Z] 988bab9f4d93: Waiting [2023-03-21T05:27:46.997Z] 1469e6f7b9e6: Waiting [2023-03-21T05:27:46.997Z] eaf3925da568: Waiting [2023-03-21T05:27:46.997Z] bab4dde63d76: Waiting [2023-03-21T05:27:46.997Z] bde34c3a00c8: Waiting [2023-03-21T05:27:46.997Z] b352a97aabf1: Waiting [2023-03-21T05:27:46.997Z] 5851b861e8e6: Waiting [2023-03-21T05:27:46.997Z] 4872d77fe225: Waiting [2023-03-21T05:27:46.997Z] e2be974225ed: Verifying Checksum [2023-03-21T05:27:46.997Z] e2be974225ed: Download complete [2023-03-21T05:27:46.997Z] 988bab9f4d93: Verifying Checksum [2023-03-21T05:27:46.997Z] 988bab9f4d93: Download complete [2023-03-21T05:27:47.258Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T05:27:47.258Z] 1469e6f7b9e6: Download complete [2023-03-21T05:27:47.258Z] eaf3925da568: Download complete [2023-03-21T05:27:47.258Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T05:27:47.258Z] 339a4e72a1f5: Download complete [2023-03-21T05:27:47.258Z] bde34c3a00c8: Download complete [2023-03-21T05:27:47.258Z] b352a97aabf1: Download complete [2023-03-21T05:27:47.258Z] 4872d77fe225: Download complete [2023-03-21T05:27:47.258Z] 5851b861e8e6: Download complete [2023-03-21T05:27:47.258Z] b85a868b505f: Verifying Checksum [2023-03-21T05:27:47.258Z] b85a868b505f: Download complete [2023-03-21T05:27:47.516Z] bab4dde63d76: Verifying Checksum [2023-03-21T05:27:47.516Z] bab4dde63d76: Download complete [2023-03-21T05:27:49.116Z] b85a868b505f: Pull complete [2023-03-21T05:27:49.116Z] e2be974225ed: Pull complete [2023-03-21T05:27:50.033Z] 339a4e72a1f5: Pull complete [2023-03-21T05:27:50.033Z] 988bab9f4d93: Pull complete [2023-03-21T05:27:50.033Z] 1469e6f7b9e6: Pull complete [2023-03-21T05:27:50.033Z] eaf3925da568: Pull complete [2023-03-21T05:27:52.157Z] bab4dde63d76: Pull complete [2023-03-21T05:27:52.157Z] bde34c3a00c8: Pull complete [2023-03-21T05:27:52.157Z] b352a97aabf1: Pull complete [2023-03-21T05:27:52.157Z] 4872d77fe225: Pull complete [2023-03-21T05:27:53.049Z] 5851b861e8e6: Pull complete [2023-03-21T05:27:53.049Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T05:27:53.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:53.049Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:27:53.322Z] prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container [2023-03-21T05:27:53.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:28:00.822Z] $ docker top 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd -eo pid,comm [2023-03-21T05:28:00.700Z] 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-03-21T05:28:00.700Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:28:00.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:28:00.814Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:28:00.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:28:01.115Z] $ docker exec 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent [2023-03-21T05:28:01.073Z] SSH_AUTH_SOCK=/tmp/ssh-H0FQfrWTfB9K/agent.13 [2023-03-21T05:28:01.073Z] SSH_AGENT_PID=19 [2023-03-21T05:28:01.079Z] Running ssh-add (command line suppressed) [2023-03-21T05:28:01.368Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_11481709062244440073.key (/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_11481709062244440073.key) [2023-03-21T05:28:01.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:28:01.539Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T05:28:01.748Z] $ docker exec --env ******** --env ******** 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent -k [2023-03-21T05:28:01.847Z] unset SSH_AUTH_SOCK; [2023-03-21T05:28:01.848Z] unset SSH_AGENT_PID; [2023-03-21T05:28:01.848Z] echo Agent pid 19 killed; [2023-03-21T05:28:01.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T05:28:01.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:28:01.761Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:28:01.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:28:02.065Z] $ docker exec 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent [2023-03-21T05:28:01.991Z] SSH_AUTH_SOCK=/tmp/ssh-EvZv6GUEm31Y/agent.69 [2023-03-21T05:28:01.991Z] SSH_AGENT_PID=75 [2023-03-21T05:28:01.996Z] Running ssh-add (command line suppressed) [2023-03-21T05:28:02.290Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_8831525939431096244.key (/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_8831525939431096244.key) [2023-03-21T05:28:02.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:28:02.457Z] + git semver init [2023-03-21T05:28:02.726Z] 2023-03-21 05:28:02,848 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T05:28:02.726Z] 2023-03-21 05:28:02,850 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-273/.semver [2023-03-21T05:28:02.726Z] 2023-03-21 05:28:02,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-273/.semver [2023-03-21T05:28:02.726Z] 2023-03-21 05:28:02,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-273/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-273, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,153 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-273/.git/info/exclude [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,154 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-273/.semver/PR-273 with force:False [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,154 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-273/.semver/PR-273 [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,160 [execute] INFO git cat-file --batch-check [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-273/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,166 [execute] INFO git cat-file --batch [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-273/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:28:04.114Z] 2023-03-21 05:28:04,171 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-273/.semver/PR-273 [2023-03-21T05:28:04.114Z] 0.0.0 [Pipeline] } [2023-03-21T05:28:04.358Z] $ docker exec --env ******** --env ******** 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent -k [2023-03-21T05:28:04.498Z] unset SSH_AUTH_SOCK; [2023-03-21T05:28:04.498Z] unset SSH_AGENT_PID; [2023-03-21T05:28:04.499Z] echo Agent pid 75 killed; [2023-03-21T05:28:04.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:28:04.742Z] + git semver [Pipeline] } [2023-03-21T05:28:05.229Z] $ docker stop --time=1 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd [2023-03-21T05:28:06.545Z] $ docker rm -f --volumes 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:28:06.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T05:28:07.017Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T05:28:07.037Z] [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-03-21T05:28:07.613Z] provisioning config files... [2023-03-21T05:28:07.623Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config8658481348526582196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:28:07.962Z] ---> docker-login.sh [2023-03-21T05:28:07.962Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:28:07.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:07.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:07.962Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:07.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:07.962Z] [2023-03-21T05:28:07.962Z] Login Succeeded [2023-03-21T05:28:07.962Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:28:07.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:07.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:07.962Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:07.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:07.962Z] [2023-03-21T05:28:07.962Z] Login Succeeded [2023-03-21T05:28:07.962Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:28:08.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:08.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:08.221Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:08.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:08.221Z] [2023-03-21T05:28:08.221Z] Login Succeeded [2023-03-21T05:28:08.221Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:28:08.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:08.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:08.221Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:08.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:08.221Z] [2023-03-21T05:28:08.221Z] Login Succeeded [2023-03-21T05:28:08.221Z] docker.io [2023-03-21T05:28:08.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:08.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:08.480Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:08.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:08.480Z] [2023-03-21T05:28:08.480Z] Login Succeeded [2023-03-21T05:28:08.740Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:28:08.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:28:08.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:28:08.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:28:09.021Z] ========================================================= [2023-03-21T05:28:09.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T05:28:09.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:09.622Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T05:28:09.622Z] Sending build context to Docker daemon 10.86MB [2023-03-21T05:28:09.622Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:28:09.622Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T05:28:09.622Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T05:28:09.622Z] 63b65145d645: Pulling fs layer [2023-03-21T05:28:09.622Z] a2d21d5440eb: Pulling fs layer [2023-03-21T05:28:09.622Z] 935e6c44a52c: Pulling fs layer [2023-03-21T05:28:09.622Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T05:28:09.622Z] 30dea6a524f1: Pulling fs layer [2023-03-21T05:28:09.622Z] a2aff8979fd8: Pulling fs layer [2023-03-21T05:28:09.622Z] 6808be2612f2: Pulling fs layer [2023-03-21T05:28:09.622Z] f25807f1079a: Pulling fs layer [2023-03-21T05:28:09.622Z] 94cc34f8dd06: Waiting [2023-03-21T05:28:09.622Z] 6808be2612f2: Waiting [2023-03-21T05:28:09.622Z] 30dea6a524f1: Waiting [2023-03-21T05:28:09.622Z] f25807f1079a: Waiting [2023-03-21T05:28:09.884Z] a2d21d5440eb: Verifying Checksum [2023-03-21T05:28:09.884Z] a2d21d5440eb: Download complete [2023-03-21T05:28:09.884Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T05:28:09.884Z] 94cc34f8dd06: Download complete [2023-03-21T05:28:09.884Z] 30dea6a524f1: Verifying Checksum [2023-03-21T05:28:09.884Z] 30dea6a524f1: Download complete [2023-03-21T05:28:09.884Z] 63b65145d645: Verifying Checksum [2023-03-21T05:28:09.884Z] 63b65145d645: Download complete [2023-03-21T05:28:09.884Z] a2aff8979fd8: Verifying Checksum [2023-03-21T05:28:09.884Z] a2aff8979fd8: Download complete [2023-03-21T05:28:09.884Z] 63b65145d645: Pull complete [2023-03-21T05:28:10.148Z] a2d21d5440eb: Pull complete [2023-03-21T05:28:10.410Z] f25807f1079a: Verifying Checksum [2023-03-21T05:28:10.410Z] f25807f1079a: Download complete [2023-03-21T05:28:10.669Z] 935e6c44a52c: Download complete [2023-03-21T05:28:10.669Z] 6808be2612f2: Verifying Checksum [2023-03-21T05:28:10.669Z] 6808be2612f2: Download complete [2023-03-21T05:28:14.030Z] 935e6c44a52c: Pull complete [2023-03-21T05:28:14.288Z] 94cc34f8dd06: Pull complete [2023-03-21T05:28:14.546Z] 30dea6a524f1: Pull complete [2023-03-21T05:28:15.114Z] a2aff8979fd8: Pull complete [2023-03-21T05:28:17.652Z] 6808be2612f2: Pull complete [2023-03-21T05:28:19.031Z] f25807f1079a: Pull complete [2023-03-21T05:28:19.031Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T05:28:19.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T05:28:19.032Z] ---> 3b553350e43f [2023-03-21T05:28:19.032Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:28:22.450Z] Still waiting to schedule task [2023-03-21T05:28:22.450Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4735’ [2023-03-21T05:28:27.159Z] ---> Running in 671e77f45e25 [2023-03-21T05:28:27.159Z] Removing intermediate container 671e77f45e25 [2023-03-21T05:28:27.159Z] ---> 1ab830a47a3e [2023-03-21T05:28:27.159Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:28:27.159Z] ---> Running in 5589b25c9d1c [2023-03-21T05:28:27.159Z] Removing intermediate container 5589b25c9d1c [2023-03-21T05:28:27.159Z] ---> 326b4714bdda [2023-03-21T05:28:27.159Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:28:27.159Z] ---> Running in ba14a0cb494f [2023-03-21T05:28:27.418Z] Removing intermediate container ba14a0cb494f [2023-03-21T05:28:27.418Z] ---> 3041d079d162 [2023-03-21T05:28:27.418Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:28:27.418Z] ---> Running in 11ad815a2931 [2023-03-21T05:28:27.418Z] Removing intermediate container 11ad815a2931 [2023-03-21T05:28:27.418Z] ---> 79bddc79582b [2023-03-21T05:28:27.418Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:28:27.418Z] ---> Running in aedbbd83e1a5 [2023-03-21T05:28:27.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:28:27.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:28:28.196Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:28:28.196Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T05:28:28.196Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:28:28.196Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:28:28.196Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:28:28.196Z] OK: 269 MiB in 57 packages [2023-03-21T05:28:28.764Z] Removing intermediate container aedbbd83e1a5 [2023-03-21T05:28:28.764Z] ---> cef465df858c [2023-03-21T05:28:28.764Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T05:28:28.764Z] ---> Running in 32acd16009a7 [2023-03-21T05:28:28.764Z] Removing intermediate container 32acd16009a7 [2023-03-21T05:28:28.764Z] ---> 1dbc3bacb36b [2023-03-21T05:28:28.764Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T05:28:28.764Z] ---> 233fdbb2a6a4 [2023-03-21T05:28:28.764Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:28:29.024Z] ---> Running in 13586fb254de [2023-03-21T05:28:55.623Z] Removing intermediate container 13586fb254de [2023-03-21T05:28:55.623Z] ---> 3c8efb446bfb [2023-03-21T05:28:55.623Z] Step 11/12 : COPY . . [2023-03-21T05:28:55.623Z] ---> fb2479152a3d [2023-03-21T05:28:55.623Z] Step 12/12 : RUN $MAKE [2023-03-21T05:28:55.623Z] ---> Running in 9faf3ea398b9 [2023-03-21T05:28:55.623Z] noop [2023-03-21T05:28:55.623Z] Removing intermediate container 9faf3ea398b9 [2023-03-21T05:28:55.623Z] ---> 7deb054b7272 [2023-03-21T05:28:55.623Z] Successfully built 7deb054b7272 [2023-03-21T05:28:55.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:56.090Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:28:56.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:28:56.246Z] prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container [2023-03-21T05:28:56.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:28:56.570Z] $ docker top ece20edcd29b320ebb84c0c7edf2b8117591c2e6d71bbe282fee7f5e4f3c175d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:28:56.976Z] + go version [2023-03-21T05:28:56.976Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T05:28:56.994Z] $ docker stop --time=1 ece20edcd29b320ebb84c0c7edf2b8117591c2e6d71bbe282fee7f5e4f3c175d [2023-03-21T05:28:58.566Z] $ docker rm -f --volumes ece20edcd29b320ebb84c0c7edf2b8117591c2e6d71bbe282fee7f5e4f3c175d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:59.314Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:28:59.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:28:59.464Z] prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container [2023-03-21T05:28:59.484Z] $ 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-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:28:59.814Z] $ docker top 781ce252ef100a9174019de34e3adc1711d527e33b2608aab83751c7b5a72b1a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:29:00.214Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-273 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:29:00.577Z] + make test [2023-03-21T05:29:00.577Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T05:29:04.861Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T05:29:14.851Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T05:29:14.851Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.0% of statements [2023-03-21T05:29:19.393Z] go vet ./... [2023-03-21T05:29:23.576Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:29:23.576Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:29:23.576Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:29:23.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:29:23.633Z] $ docker stop --time=1 781ce252ef100a9174019de34e3adc1711d527e33b2608aab83751c7b5a72b1a [2023-03-21T05:29:28.358Z] $ docker rm -f --volumes 781ce252ef100a9174019de34e3adc1711d527e33b2608aab83751c7b5a72b1a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:29:28.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:29:28.969Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T05:29:29.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:29:29.878Z] + ls -al . [2023-03-21T05:29:29.878Z] total 184 [2023-03-21T05:29:29.878Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:29 . [2023-03-21T05:29:29.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 .. [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:27 .dockerignore [2023-03-21T05:29:29.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:28 .git [2023-03-21T05:29:29.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 .github [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:27 .gitignore [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:27 .golangci.yml [2023-03-21T05:29:29.878Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:28 .semver [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:27 Attribution.txt [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:27 CHANGELOG.md [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:27 Dockerfile [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:27 GOVERNANCE.md [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:27 Jenkinsfile [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:27 LICENSE [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:27 Makefile [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:27 OWNERS.md [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:27 README.md [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:28 VERSION [2023-03-21T05:29:29.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 bin [2023-03-21T05:29:29.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 cmd [2023-03-21T05:29:29.878Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:29 coverage.out [2023-03-21T05:29:29.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 driver [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 3447 Mar 21 05:27 go.mod [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 31301 Mar 21 05:27 go.sum [2023-03-21T05:29:29.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 snap [2023-03-21T05:29:29.878Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:30.414Z] + 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=e6762fe2798312bec0193414951e0bc8909f18e9 --label arch=amd64 --label version=0.0.0 . [2023-03-21T05:29:30.414Z] Sending build context to Docker daemon 10.88MB [2023-03-21T05:29:30.414Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:29:30.414Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T05:29:30.414Z] ---> 7deb054b7272 [2023-03-21T05:29:30.414Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:29:30.676Z] ---> Running in 41dfebe52548 [2023-03-21T05:29:30.676Z] Removing intermediate container 41dfebe52548 [2023-03-21T05:29:30.676Z] ---> 882cecf88e17 [2023-03-21T05:29:30.676Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:29:30.676Z] ---> Running in 41732283072b [2023-03-21T05:29:30.676Z] Removing intermediate container 41732283072b [2023-03-21T05:29:30.676Z] ---> a72c0e68bd8c [2023-03-21T05:29:30.676Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:29:30.934Z] ---> Running in 360d8e9422e4 [2023-03-21T05:29:30.934Z] Removing intermediate container 360d8e9422e4 [2023-03-21T05:29:30.934Z] ---> 6b6866975e08 [2023-03-21T05:29:30.934Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:29:30.934Z] ---> Running in 8b7364d3f462 [2023-03-21T05:29:30.934Z] Removing intermediate container 8b7364d3f462 [2023-03-21T05:29:30.934Z] ---> 0534e131fecf [2023-03-21T05:29:30.934Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:29:30.934Z] ---> Running in 46082937176a [2023-03-21T05:29:31.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:31.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:31.451Z] OK: 269 MiB in 57 packages [2023-03-21T05:29:32.018Z] Removing intermediate container 46082937176a [2023-03-21T05:29:32.018Z] ---> 469b6bb45efb [2023-03-21T05:29:32.018Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T05:29:32.018Z] ---> Running in ee2bc7531906 [2023-03-21T05:29:32.018Z] Removing intermediate container ee2bc7531906 [2023-03-21T05:29:32.018Z] ---> c935174a53e7 [2023-03-21T05:29:32.018Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T05:29:32.279Z] ---> 38e87467b1a8 [2023-03-21T05:29:32.279Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:29:32.279Z] ---> Running in b18e46a09714 [2023-03-21T05:29:33.250Z] Removing intermediate container b18e46a09714 [2023-03-21T05:29:33.250Z] ---> 91953439fc68 [2023-03-21T05:29:33.250Z] Step 11/25 : COPY . . [2023-03-21T05:29:33.527Z] ---> 70d75d30d8cb [2023-03-21T05:29:33.527Z] Step 12/25 : RUN $MAKE [2023-03-21T05:29:33.785Z] ---> Running in ba8e3e81e964 [2023-03-21T05:29:34.351Z] 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-03-21T05:29:56.518Z] Removing intermediate container ba8e3e81e964 [2023-03-21T05:29:56.518Z] ---> 5f16b78c2a59 [2023-03-21T05:29:56.518Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:29:56.518Z] 3.17: Pulling from library/alpine [2023-03-21T05:29:56.518Z] 63b65145d645: Already exists [2023-03-21T05:29:56.518Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:29:56.518Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:29:56.518Z] ---> b2aa39c304c2 [2023-03-21T05:29:56.518Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:29:56.518Z] ---> Running in 77807d896c70 [2023-03-21T05:29:56.518Z] Removing intermediate container 77807d896c70 [2023-03-21T05:29:56.518Z] ---> 42d2eb5323b5 [2023-03-21T05:29:56.518Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:29:56.518Z] ---> Running in 5991e03da401 [2023-03-21T05:29:56.518Z] Removing intermediate container 5991e03da401 [2023-03-21T05:29:56.518Z] ---> 8aa728db4a17 [2023-03-21T05:29:56.518Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:29:56.518Z] ---> Running in 819d02eb8020 [2023-03-21T05:29:56.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:56.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:56.518Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:29:56.518Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:29:56.518Z] OK: 7 MiB in 16 packages [2023-03-21T05:29:56.518Z] Removing intermediate container 819d02eb8020 [2023-03-21T05:29:56.518Z] ---> 34cc767fd7d3 [2023-03-21T05:29:56.518Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:29:56.518Z] ---> 044d50bc841b [2023-03-21T05:29:56.518Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:29:56.518Z] ---> 50b8a5a07752 [2023-03-21T05:29:56.518Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:29:56.518Z] ---> d5ce5c8312f6 [2023-03-21T05:29:56.518Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:29:56.518Z] ---> Running in 23b85120effa [2023-03-21T05:29:56.518Z] Removing intermediate container 23b85120effa [2023-03-21T05:29:56.518Z] ---> 5f78d184be78 [2023-03-21T05:29:56.518Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:29:56.518Z] ---> Running in 6943876d7738 [2023-03-21T05:29:56.518Z] Removing intermediate container 6943876d7738 [2023-03-21T05:29:56.518Z] ---> a72d5eb782eb [2023-03-21T05:29:56.518Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:29:56.518Z] ---> Running in b7c8c48c893a [2023-03-21T05:29:56.518Z] Removing intermediate container b7c8c48c893a [2023-03-21T05:29:56.518Z] ---> 8c41c088a1fb [2023-03-21T05:29:56.518Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T05:29:56.518Z] ---> Running in c1ae0781d612 [2023-03-21T05:29:56.518Z] Removing intermediate container c1ae0781d612 [2023-03-21T05:29:56.518Z] ---> e45caadfd9ae [2023-03-21T05:29:56.518Z] Step 24/25 : LABEL git_sha=e6762fe2798312bec0193414951e0bc8909f18e9 [2023-03-21T05:29:56.518Z] ---> Running in 0e4ea9d35ea3 [2023-03-21T05:29:56.518Z] Removing intermediate container 0e4ea9d35ea3 [2023-03-21T05:29:56.518Z] ---> c8514a392105 [2023-03-21T05:29:56.518Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T05:29:56.518Z] ---> Running in 09411b3df851 [2023-03-21T05:29:56.518Z] Removing intermediate container 09411b3df851 [2023-03-21T05:29:56.518Z] ---> 0f74b47a1d43 [2023-03-21T05:29:56.518Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:29:56.518Z] Successfully built 0f74b47a1d43 [2023-03-21T05:29:56.518Z] 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-03-21T05:29:57.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:57.360Z] [2023-03-21T05:29:57.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:57.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:57.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T05:29:57.732Z] 5eb5b503b376: Pulling fs layer [2023-03-21T05:29:57.732Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T05:29:57.732Z] ec43610c2a17: Pulling fs layer [2023-03-21T05:29:57.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T05:29:57.732Z] 33b1e0a273af: Pulling fs layer [2023-03-21T05:29:57.732Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T05:29:57.732Z] 33b1e0a273af: Waiting [2023-03-21T05:29:57.732Z] 3a2ae6a8a46f: Waiting [2023-03-21T05:29:57.732Z] 2f39f015ded8: Pulling fs layer [2023-03-21T05:29:57.732Z] 5d3b04190fa2: Waiting [2023-03-21T05:29:57.732Z] 2f39f015ded8: Waiting [2023-03-21T05:29:57.732Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T05:29:57.732Z] 5c69ac0246d0: Download complete [2023-03-21T05:29:57.732Z] 3a2ae6a8a46f: Download complete [2023-03-21T05:29:57.732Z] 33b1e0a273af: Verifying Checksum [2023-03-21T05:29:57.732Z] 33b1e0a273af: Download complete [2023-03-21T05:29:57.990Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T05:29:57.990Z] 5d3b04190fa2: Download complete [2023-03-21T05:29:57.990Z] ec43610c2a17: Verifying Checksum [2023-03-21T05:29:57.990Z] ec43610c2a17: Download complete [2023-03-21T05:29:57.990Z] 5eb5b503b376: Verifying Checksum [2023-03-21T05:29:57.990Z] 5eb5b503b376: Download complete [2023-03-21T05:29:58.555Z] 2f39f015ded8: Download complete [2023-03-21T05:29:59.121Z] 5eb5b503b376: Pull complete [2023-03-21T05:29:59.121Z] 5c69ac0246d0: Pull complete [2023-03-21T05:29:59.686Z] ec43610c2a17: Pull complete [2023-03-21T05:29:59.686Z] 3a2ae6a8a46f: Pull complete [2023-03-21T05:29:59.943Z] 33b1e0a273af: Pull complete [2023-03-21T05:29:59.943Z] 5d3b04190fa2: Pull complete [2023-03-21T05:30:04.124Z] 2f39f015ded8: Pull complete [2023-03-21T05:30:04.124Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T05:30:04.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:30:04.124Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:30:04.340Z] prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container [2023-03-21T05:30:04.345Z] $ 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-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:30:08.780Z] $ docker top b518e400a0b64b7894aa2462812782d3f4888f32ca75bbafead56f2aeefc9172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:30:09.243Z] ---> job-cost.sh [2023-03-21T05:30:09.243Z] lf-activate-venv: SKIPPING [2023-03-21T05:30:09.243Z] INFO: No Stack... [2023-03-21T05:30:09.502Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:30:09.760Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:30:10.072Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-273/archives/cost.csv [2023-03-21T05:30:10.072Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:30:10.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [2023-03-21T05:30:10.119Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] did not exist. Created. [2023-03-21T05:30:10.119Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:30:10.502Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T05:30:10.551Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:30:10.577Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:30:10.628Z] $ docker stop --time=1 b518e400a0b64b7894aa2462812782d3f4888f32ca75bbafead56f2aeefc9172 [2023-03-21T05:30:11.769Z] $ docker rm -f --volumes b518e400a0b64b7894aa2462812782d3f4888f32ca75bbafead56f2aeefc9172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T05:31:21.152Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4741 in /w/workspace/gexfoundry_device-rest-go_PR-273 [Pipeline] { [Pipeline] ws [2023-03-21T05:31:21.208Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T05:31:21.280Z] The recommended git tool is: git [2023-03-21T05:31:27.097Z] using credential edgex-jenkins-ssh [2023-03-21T05:31:27.115Z] Cloning the remote Git repository [2023-03-21T05:31:27.177Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:31:27.276Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-21T05:31:27.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:31:27.416Z] > git --version # timeout=10 [2023-03-21T05:31:27.438Z] > git --version # 'git version 2.25.1' [2023-03-21T05:31:27.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:31:27.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:31:29.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T05:31:29.462Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:31:31.004Z] Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit e6762fe2798312bec0193414951e0bc8909f18e9 [2023-03-21T05:31:31.337Z] Merge succeeded, producing e6762fe2798312bec0193414951e0bc8909f18e9 [2023-03-21T05:31:31.338Z] Checking out Revision e6762fe2798312bec0193414951e0bc8909f18e9 (PR-273) [2023-03-21T05:31:30.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T05:31:30.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:31:30.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:31:30.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T05:31:31.027Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:31:31.110Z] > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 [2023-03-21T05:31:31.224Z] > git remote # timeout=10 [2023-03-21T05:31:31.246Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T05:31:31.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:31:31.287Z] > git merge e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [2023-03-21T05:31:31.317Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T05:31:31.343Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:31:31.363Z] > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 [2023-03-21T05:31:31.904Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-21T05:31:31.968Z] > git --version # timeout=10 [2023-03-21T05:31:31.982Z] > git --version # 'git version 2.25.1' [2023-03-21T05:31:31.998Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:31:33.127Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T05:31:33.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:31:33.127Z] Dload Upload Total Spent Left Speed [2023-03-21T05:31:33.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-03-21T05:31:33.772Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T05:31:34.114Z] + sudo tee /etc/docker/daemon.new [2023-03-21T05:31:34.114Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T05:31:34.114Z] { [2023-03-21T05:31:34.114Z] "registry-mirrors": [ [2023-03-21T05:31:34.114Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T05:31:34.114Z] ], [2023-03-21T05:31:34.114Z] "bip": "10.250.0.254/24", [2023-03-21T05:31:34.114Z] "hosts": [ [2023-03-21T05:31:34.114Z] "tcp://0.0.0.0:5555", [2023-03-21T05:31:34.114Z] "unix:///var/run/docker.sock" [2023-03-21T05:31:34.114Z] ], [2023-03-21T05:31:34.114Z] "mtu": 1458, [2023-03-21T05:31:34.114Z] "selinux-enabled": true, [2023-03-21T05:31:34.114Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T05:31:34.114Z] } [Pipeline] sh [2023-03-21T05:31:34.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T05:31:34.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:31:53.249Z] provisioning config files... [2023-03-21T05:31:53.278Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13015028373042707999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:31:53.674Z] ---> docker-login.sh [2023-03-21T05:31:53.674Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:31:54.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:54.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:54.269Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:54.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:54.269Z] [2023-03-21T05:31:54.269Z] Login Succeeded [2023-03-21T05:31:54.269Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:31:54.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:54.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:54.537Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:54.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:54.537Z] [2023-03-21T05:31:54.537Z] Login Succeeded [2023-03-21T05:31:54.806Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:31:54.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:55.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:55.077Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:55.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:55.077Z] [2023-03-21T05:31:55.077Z] Login Succeeded [2023-03-21T05:31:55.077Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:31:55.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:55.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:55.347Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:55.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:55.347Z] [2023-03-21T05:31:55.347Z] Login Succeeded [2023-03-21T05:31:55.347Z] docker.io [2023-03-21T05:31:55.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:55.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:55.883Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:55.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:55.883Z] [2023-03-21T05:31:55.883Z] Login Succeeded [2023-03-21T05:31:55.883Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:31:55.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:31:56.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:31:56.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:31:56.350Z] ========================================================= [2023-03-21T05:31:56.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T05:31:56.350Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:31:56.971Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T05:31:56.971Z] Sending build context to Docker daemon 138.8kB [2023-03-21T05:31:57.267Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:31:57.267Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T05:31:57.267Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T05:31:57.267Z] af6eaf76a39c: Pulling fs layer [2023-03-21T05:31:57.267Z] 55522c791124: Pulling fs layer [2023-03-21T05:31:57.267Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T05:31:57.267Z] 169dfbe0d373: Pulling fs layer [2023-03-21T05:31:57.267Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T05:31:57.267Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T05:31:57.267Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T05:31:57.267Z] 169dfbe0d373: Waiting [2023-03-21T05:31:57.267Z] e1ff8fa3b103: Waiting [2023-03-21T05:31:57.267Z] 52ebb69f0ebf: Waiting [2023-03-21T05:31:57.267Z] 5abe8eddf0d5: Waiting [2023-03-21T05:31:57.540Z] 55522c791124: Verifying Checksum [2023-03-21T05:31:57.540Z] 55522c791124: Download complete [2023-03-21T05:31:57.540Z] 169dfbe0d373: Verifying Checksum [2023-03-21T05:31:57.540Z] 169dfbe0d373: Download complete [2023-03-21T05:31:57.540Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T05:31:57.540Z] e1ff8fa3b103: Download complete [2023-03-21T05:31:57.540Z] af6eaf76a39c: Verifying Checksum [2023-03-21T05:31:57.540Z] af6eaf76a39c: Download complete [2023-03-21T05:31:58.526Z] af6eaf76a39c: Pull complete [2023-03-21T05:31:58.526Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T05:31:58.526Z] 5abe8eddf0d5: Download complete [2023-03-21T05:31:59.111Z] 55522c791124: Pull complete [2023-03-21T05:32:00.079Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T05:32:00.079Z] ce5c4a1c91eb: Download complete [2023-03-21T05:32:00.079Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T05:32:00.079Z] 52ebb69f0ebf: Download complete [2023-03-21T05:32:12.435Z] ce5c4a1c91eb: Pull complete [2023-03-21T05:32:12.435Z] 169dfbe0d373: Pull complete [2023-03-21T05:32:12.435Z] e1ff8fa3b103: Pull complete [2023-03-21T05:32:17.792Z] 52ebb69f0ebf: Pull complete [2023-03-21T05:32:20.400Z] 5abe8eddf0d5: Pull complete [2023-03-21T05:32:20.400Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T05:32:20.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T05:32:20.400Z] ---> 6cb57ee374ae [2023-03-21T05:32:20.400Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:32:22.364Z] ---> Running in 0ccd04f78894 [2023-03-21T05:32:22.364Z] Removing intermediate container 0ccd04f78894 [2023-03-21T05:32:22.364Z] ---> e202c9ab1b54 [2023-03-21T05:32:22.364Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:32:22.364Z] ---> Running in 280d365b87b3 [2023-03-21T05:32:22.637Z] Removing intermediate container 280d365b87b3 [2023-03-21T05:32:22.637Z] ---> 23dfb7106866 [2023-03-21T05:32:22.637Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:32:22.908Z] ---> Running in 73096a0fa63a [2023-03-21T05:32:23.188Z] Removing intermediate container 73096a0fa63a [2023-03-21T05:32:23.188Z] ---> 28cb3ccfe242 [2023-03-21T05:32:23.188Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:32:23.188Z] ---> Running in 7dd0e77c2476 [2023-03-21T05:32:23.461Z] Removing intermediate container 7dd0e77c2476 [2023-03-21T05:32:23.461Z] ---> aaee96e08cc5 [2023-03-21T05:32:23.461Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:32:23.731Z] ---> Running in e64221c96abf [2023-03-21T05:32:24.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:32:25.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:32:26.239Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:32:26.239Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T05:32:26.510Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:32:26.510Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:32:26.510Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:32:26.510Z] OK: 268 MiB in 57 packages [2023-03-21T05:32:27.476Z] Removing intermediate container e64221c96abf [2023-03-21T05:32:27.476Z] ---> 66bc2770a051 [2023-03-21T05:32:27.476Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T05:32:27.745Z] ---> Running in 1fef25732537 [2023-03-21T05:32:28.018Z] Removing intermediate container 1fef25732537 [2023-03-21T05:32:28.018Z] ---> eedd9d69ffa0 [2023-03-21T05:32:28.018Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T05:32:28.612Z] ---> 01a304f2f785 [2023-03-21T05:32:28.612Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:32:28.612Z] ---> Running in 615c2f503739 [2023-03-21T05:33:36.538Z] Removing intermediate container 615c2f503739 [2023-03-21T05:33:36.538Z] ---> 4879cbba2b5f [2023-03-21T05:33:36.538Z] Step 11/12 : COPY . . [2023-03-21T05:33:36.538Z] ---> 805208a7a268 [2023-03-21T05:33:36.538Z] Step 12/12 : RUN $MAKE [2023-03-21T05:33:36.538Z] ---> Running in a19c8cf98c4b [2023-03-21T05:33:36.538Z] noop [2023-03-21T05:33:37.122Z] Removing intermediate container a19c8cf98c4b [2023-03-21T05:33:37.122Z] ---> 97e73c1df114 [2023-03-21T05:33:37.122Z] Successfully built 97e73c1df114 [2023-03-21T05:33:37.122Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:33:37.576Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:33:37.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:33:37.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-4741 does not seem to be running inside a container [2023-03-21T05:33:37.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T05:33:39.142Z] $ docker top 431737ddc4933effe64663d301f95b51e44e7a76b40aa3cf22fcb931626c846b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:33:40.015Z] + go version [2023-03-21T05:33:40.015Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T05:33:40.053Z] $ docker stop --time=1 431737ddc4933effe64663d301f95b51e44e7a76b40aa3cf22fcb931626c846b [2023-03-21T05:33:41.621Z] $ docker rm -f --volumes 431737ddc4933effe64663d301f95b51e44e7a76b40aa3cf22fcb931626c846b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:33:42.470Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:33:42.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:33:42.733Z] prd-ubuntu20.04-docker-arm64-4c-16g-4741 does not seem to be running inside a container [2023-03-21T05:33:42.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T05:33:43.948Z] $ docker top 4ae721e41bb09c41ee06f6bbcdac2045c485cebda5d7d6198233f8b988abf4f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:33:44.494Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:33:44.887Z] + make test [2023-03-21T05:33:44.887Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T05:34:23.760Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T05:36:30.527Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T05:36:34.798Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.0% of statements [2023-03-21T05:36:34.798Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T05:36:34.798Z] go vet ./... [2023-03-21T05:37:07.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:37:07.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:37:07.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:37:07.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:37:07.109Z] $ docker stop --time=1 4ae721e41bb09c41ee06f6bbcdac2045c485cebda5d7d6198233f8b988abf4f9 [2023-03-21T05:37:08.899Z] $ docker rm -f --volumes 4ae721e41bb09c41ee06f6bbcdac2045c485cebda5d7d6198233f8b988abf4f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:37:10.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:37:10.158Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T05:37:10.651Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:37:11.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:37:11.584Z] + ls -al . [2023-03-21T05:37:11.584Z] total 180 [2023-03-21T05:37:11.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:33 . [2023-03-21T05:37:11.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:31 .. [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:31 .dockerignore [2023-03-21T05:37:11.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:31 .git [2023-03-21T05:37:11.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:31 .github [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:31 .gitignore [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:31 .golangci.yml [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:31 Attribution.txt [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:31 CHANGELOG.md [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:31 Dockerfile [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:31 GOVERNANCE.md [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:31 Jenkinsfile [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:31 LICENSE [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:31 Makefile [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:31 OWNERS.md [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:31 README.md [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:28 VERSION [2023-03-21T05:37:11.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:31 bin [2023-03-21T05:37:11.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:31 cmd [2023-03-21T05:37:11.584Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:36 coverage.out [2023-03-21T05:37:11.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:31 driver [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 3447 Mar 21 05:31 go.mod [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 31301 Mar 21 05:31 go.sum [2023-03-21T05:37:11.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:31 snap [2023-03-21T05:37:11.584Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:37:12.005Z] + 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=e6762fe2798312bec0193414951e0bc8909f18e9 --label arch=arm64 --label version=0.0.0 . [2023-03-21T05:37:12.005Z] Sending build context to Docker daemon 153.6kB [2023-03-21T05:37:12.275Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:37:12.275Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T05:37:12.275Z] ---> 97e73c1df114 [2023-03-21T05:37:12.276Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:37:12.276Z] ---> Running in a8d3eebfab24 [2023-03-21T05:37:12.544Z] Removing intermediate container a8d3eebfab24 [2023-03-21T05:37:12.544Z] ---> b0a08c734f86 [2023-03-21T05:37:12.544Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:37:12.813Z] ---> Running in 19b24ab42237 [2023-03-21T05:37:13.083Z] Removing intermediate container 19b24ab42237 [2023-03-21T05:37:13.083Z] ---> 862e02179023 [2023-03-21T05:37:13.083Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:37:13.083Z] ---> Running in ea626e565a54 [2023-03-21T05:37:13.355Z] Removing intermediate container ea626e565a54 [2023-03-21T05:37:13.355Z] ---> f9feefc4c704 [2023-03-21T05:37:13.355Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:37:13.633Z] ---> Running in f6c7ddf054a9 [2023-03-21T05:37:13.902Z] Removing intermediate container f6c7ddf054a9 [2023-03-21T05:37:13.902Z] ---> e256ec4c0e1c [2023-03-21T05:37:13.902Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:37:13.902Z] ---> Running in a31549ffd278 [2023-03-21T05:37:15.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:37:15.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:37:16.549Z] OK: 268 MiB in 57 packages [2023-03-21T05:37:19.901Z] Removing intermediate container a31549ffd278 [2023-03-21T05:37:19.901Z] ---> 49a7bb104edd [2023-03-21T05:37:19.901Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T05:37:19.901Z] ---> Running in 36abd9da2b98 [2023-03-21T05:37:19.901Z] Removing intermediate container 36abd9da2b98 [2023-03-21T05:37:19.901Z] ---> 84cda5916eec [2023-03-21T05:37:19.901Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T05:37:20.171Z] ---> fb7eda715863 [2023-03-21T05:37:20.171Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:37:20.441Z] ---> Running in d8a608a27c02 [2023-03-21T05:37:23.036Z] Removing intermediate container d8a608a27c02 [2023-03-21T05:37:23.036Z] ---> 7eacfd3dec8f [2023-03-21T05:37:23.036Z] Step 11/25 : COPY . . [2023-03-21T05:37:23.624Z] ---> 46783c18b479 [2023-03-21T05:37:23.624Z] Step 12/25 : RUN $MAKE [2023-03-21T05:37:23.624Z] ---> Running in 5a2f0fd514ec [2023-03-21T05:37:25.041Z] 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-03-21T05:39:49.868Z] Removing intermediate container 5a2f0fd514ec [2023-03-21T05:39:49.868Z] ---> 97b972e64b65 [2023-03-21T05:39:49.868Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:39:49.868Z] 3.17: Pulling from library/alpine [2023-03-21T05:39:49.868Z] af6eaf76a39c: Already exists [2023-03-21T05:39:49.868Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:39:49.868Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:39:49.868Z] ---> d74e625d9115 [2023-03-21T05:39:49.868Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:39:49.868Z] ---> Running in 21164628cffa [2023-03-21T05:39:49.868Z] Removing intermediate container 21164628cffa [2023-03-21T05:39:49.868Z] ---> 6ba0d274f8f5 [2023-03-21T05:39:49.868Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:39:49.868Z] ---> Running in 50a9b00d977e [2023-03-21T05:39:49.868Z] Removing intermediate container 50a9b00d977e [2023-03-21T05:39:49.868Z] ---> fe2aa02b13d4 [2023-03-21T05:39:49.868Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:39:49.868Z] ---> Running in 20be5f2541e8 [2023-03-21T05:39:49.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:39:49.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:39:49.868Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:39:49.868Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:39:49.868Z] OK: 8 MiB in 16 packages [2023-03-21T05:39:49.868Z] Removing intermediate container 20be5f2541e8 [2023-03-21T05:39:49.868Z] ---> acf90ea76db1 [2023-03-21T05:39:49.868Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:39:49.868Z] ---> 9588cad3465c [2023-03-21T05:39:49.868Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:39:49.868Z] ---> f3a3a7a5a4dd [2023-03-21T05:39:49.868Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:39:49.868Z] ---> c0b6f4243a2d [2023-03-21T05:39:49.868Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:39:49.868Z] ---> Running in aeab2c7462e7 [2023-03-21T05:39:49.868Z] Removing intermediate container aeab2c7462e7 [2023-03-21T05:39:49.868Z] ---> ad9a64679eca [2023-03-21T05:39:49.868Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:39:49.868Z] ---> Running in 479ee6ce5013 [2023-03-21T05:39:49.868Z] Removing intermediate container 479ee6ce5013 [2023-03-21T05:39:49.868Z] ---> ebbe2f7cbe4d [2023-03-21T05:39:49.868Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:39:49.868Z] ---> Running in 72de37c140f6 [2023-03-21T05:39:50.135Z] Removing intermediate container 72de37c140f6 [2023-03-21T05:39:50.135Z] ---> 240db27a3bcf [2023-03-21T05:39:50.135Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T05:39:50.135Z] ---> Running in b8afc530c1f3 [2023-03-21T05:39:50.402Z] Removing intermediate container b8afc530c1f3 [2023-03-21T05:39:50.402Z] ---> 4539fdd292d0 [2023-03-21T05:39:50.402Z] Step 24/25 : LABEL git_sha=e6762fe2798312bec0193414951e0bc8909f18e9 [2023-03-21T05:39:50.402Z] ---> Running in dcc8042530c6 [2023-03-21T05:39:50.668Z] Removing intermediate container dcc8042530c6 [2023-03-21T05:39:50.668Z] ---> 03c2c7d607af [2023-03-21T05:39:50.668Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T05:39:50.938Z] ---> Running in 1fefdc9caede [2023-03-21T05:39:51.205Z] Removing intermediate container 1fefdc9caede [2023-03-21T05:39:51.205Z] ---> cff29632470a [2023-03-21T05:39:51.205Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:39:51.205Z] Successfully built cff29632470a [2023-03-21T05:39:51.205Z] 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-03-21T05:39:51.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:51.985Z] [2023-03-21T05:39:51.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:39:52.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:52.377Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T05:39:52.377Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T05:39:52.377Z] 04944245beec: Pulling fs layer [2023-03-21T05:39:52.377Z] 699f458cf7ca: Pulling fs layer [2023-03-21T05:39:52.377Z] 765212b225bb: Pulling fs layer [2023-03-21T05:39:52.377Z] f23df028b6ca: Pulling fs layer [2023-03-21T05:39:52.377Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T05:39:52.377Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T05:39:52.377Z] 765212b225bb: Waiting [2023-03-21T05:39:52.377Z] d65c8cfc05b1: Waiting [2023-03-21T05:39:52.377Z] f23df028b6ca: Waiting [2023-03-21T05:39:52.645Z] 04944245beec: Verifying Checksum [2023-03-21T05:39:52.645Z] 04944245beec: Download complete [2023-03-21T05:39:52.645Z] 765212b225bb: Verifying Checksum [2023-03-21T05:39:52.645Z] 765212b225bb: Download complete [2023-03-21T05:39:52.645Z] f23df028b6ca: Verifying Checksum [2023-03-21T05:39:52.645Z] f23df028b6ca: Download complete [2023-03-21T05:39:52.645Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T05:39:52.645Z] d65c8cfc05b1: Download complete [2023-03-21T05:39:52.645Z] 699f458cf7ca: Verifying Checksum [2023-03-21T05:39:52.645Z] 699f458cf7ca: Download complete [2023-03-21T05:39:53.228Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T05:39:53.228Z] 8998bd30e6a1: Download complete [2023-03-21T05:39:55.171Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T05:39:55.171Z] 2437ff75d9bd: Download complete [2023-03-21T05:39:57.113Z] 8998bd30e6a1: Pull complete [2023-03-21T05:39:57.502Z] 04944245beec: Pull complete [2023-03-21T05:39:58.958Z] 699f458cf7ca: Pull complete [2023-03-21T05:39:59.232Z] 765212b225bb: Pull complete [2023-03-21T05:39:59.824Z] f23df028b6ca: Pull complete [2023-03-21T05:40:00.102Z] d65c8cfc05b1: Pull complete [2023-03-21T05:40:12.435Z] 2437ff75d9bd: Pull complete [2023-03-21T05:40:12.435Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T05:40:12.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:40:12.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:12.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-4741 does not seem to be running inside a container [2023-03-21T05:40:12.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T05:40:15.218Z] $ docker top 54751ea7e2bf6768ce7c59a6f654ca1ba6ae3233cb5fcb35f127c73272f0e327 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:15.774Z] ---> job-cost.sh [2023-03-21T05:40:16.040Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:16.040Z] INFO: No Stack... [2023-03-21T05:40:16.305Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T05:40:17.262Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:40:17.609Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-21T05:40:17.609Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:40:17.696Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [2023-03-21T05:40:17.704Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] did not exist. Created. [2023-03-21T05:40:17.705Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:40:18.114Z] /w/workspace/device-rest-go/1@tmp/durable-18c48a6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T05:40:18.789Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T05:40:18.824Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T05:40:18.863Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:40:18.880Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:40:18.951Z] $ docker stop --time=1 54751ea7e2bf6768ce7c59a6f654ca1ba6ae3233cb5fcb35f127c73272f0e327 [2023-03-21T05:40:20.424Z] $ docker rm -f --volumes 54751ea7e2bf6768ce7c59a6f654ca1ba6ae3233cb5fcb35f127c73272f0e327 [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-03-21T05:40:21.587Z] provisioning config files... [2023-03-21T05:40:21.595Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config6484248014575879939tmp [Pipeline] { [Pipeline] sh [2023-03-21T05:40:21.930Z] + set +x [2023-03-21T05:40:21.930Z] + curl -s https://codecov.io/bash [2023-03-21T05:40:21.930Z] + bash -s -- [2023-03-21T05:40:21.930Z] [2023-03-21T05:40:21.930Z] _____ _ [2023-03-21T05:40:21.930Z] / ____| | | [2023-03-21T05:40:21.930Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T05:40:21.930Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T05:40:21.930Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T05:40:21.930Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T05:40:21.930Z] Bash-1.0.6 [2023-03-21T05:40:21.930Z] [2023-03-21T05:40:21.930Z] [2023-03-21T05:40:21.930Z] ==> git version 2.25.1 found [2023-03-21T05:40:21.930Z] ==> 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-03-21T05:40:21.930Z] Release-Date: 2020-01-08 [2023-03-21T05:40:21.930Z] 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-03-21T05:40:21.930Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T05:40:21.930Z] ==> Jenkins CI detected. [2023-03-21T05:40:21.930Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-273 [2023-03-21T05:40:21.930Z] project root: . [2023-03-21T05:40:21.930Z] --> token set from env [2023-03-21T05:40:21.930Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T05:40:21.930Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T05:40:21.930Z] ==> Python coveragepy not found [2023-03-21T05:40:21.930Z] ==> Searching for coverage reports in: [2023-03-21T05:40:21.930Z] + . [2023-03-21T05:40:21.930Z] -> Found 1 reports [2023-03-21T05:40:21.930Z] ==> Detecting git/mercurial file structure [2023-03-21T05:40:21.930Z] ==> Reading reports [2023-03-21T05:40:21.930Z] + ./coverage.out bytes=14200 [2023-03-21T05:40:21.930Z] ==> Appending adjustments [2023-03-21T05:40:21.930Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T05:40:21.930Z] + Found adjustments [2023-03-21T05:40:21.930Z] ==> Gzipping contents [2023-03-21T05:40:21.930Z] 4.0K /tmp/codecov.sqps9O.gz [2023-03-21T05:40:21.930Z] ==> Uploading reports [2023-03-21T05:40:21.930Z] url: https://codecov.io [2023-03-21T05:40:21.930Z] query: branch=PR-273&commit=e6762fe2798312bec0193414951e0bc8909f18e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-273%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=273&job=&cmd_args= [2023-03-21T05:40:22.189Z] -> Pinging Codecov [2023-03-21T05:40:22.189Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-273&commit=e6762fe2798312bec0193414951e0bc8909f18e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-273%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=273&job=&cmd_args= [2023-03-21T05:40:22.189Z] -> Uploading to [2023-03-21T05:40:22.189Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/e6762fe2798312bec0193414951e0bc8909f18e9/891fd2d9-6e18-4f5b-83ce-24593a7950ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T054022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68eab928f508a3a10286b0ddbb05924692dd762266d1fe9f30efd81aa45c57e3 [2023-03-21T05:40:22.189Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:40:22.189Z] Dload Upload Total Spent Left Speed [2023-03-21T05:40:22.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 12113 --:--:-- --:--:-- --:--:-- 12053 100 2459 0 0 100 2459 0 9643 --:--:-- --:--:-- --:--:-- 9605 [2023-03-21T05:40:22.448Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] } [2023-03-21T05:40:22.487Z] 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-03-21T05:40:24.234Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-273/archives ] [2023-03-21T05:40:24.235Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-273/archives [2023-03-21T05:40:24.235Z] total 16 [2023-03-21T05:40:24.235Z] drwxr-xr-x 3 root root 4096 Mar 21 05:30 . [2023-03-21T05:40:24.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:30 .. [2023-03-21T05:40:24.235Z] drwxr-xr-x 2 root root 4096 Mar 21 05:30 cost [2023-03-21T05:40:24.235Z] -rw-r--r-- 1 root root 86 Mar 21 05:30 cost.csv [2023-03-21T05:40:24.235Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-273/archives [2023-03-21T05:40:24.235Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-273/archives [2023-03-21T05:40:24.235Z] total 16 [2023-03-21T05:40:24.235Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:30 . [2023-03-21T05:40:24.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:30 .. [2023-03-21T05:40:24.235Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:30 cost [2023-03-21T05:40:24.235Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 05:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:24.569Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:25.450Z] ---> package-listing.sh [2023-03-21T05:40:25.450Z] ++ facter osfamily [2023-03-21T05:40:25.450Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T05:40:25.450Z] + OS_FAMILY=debian [2023-03-21T05:40:25.450Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-273 [2023-03-21T05:40:25.450Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T05:40:25.450Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T05:40:25.450Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T05:40:25.450Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T05:40:25.450Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-273 ']' [2023-03-21T05:40:25.450Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T05:40:25.450Z] + case "${OS_FAMILY}" in [2023-03-21T05:40:25.450Z] + grep '^ii' [2023-03-21T05:40:25.450Z] + dpkg -l [2023-03-21T05:40:25.708Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T05:40:25.708Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T05:40:25.708Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T05:40:25.708Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-273 ']' [2023-03-21T05:40:25.708Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-273/archives/ [2023-03-21T05:40:25.708Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-273/archives/ [Pipeline] echo [2023-03-21T05:40:25.750Z] 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-273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T05:40:26.043Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:26.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:40:26.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:26.804Z] prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container [2023-03-21T05:40:26.812Z] $ 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-273/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-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:40:27.030Z] $ docker top 48252df64891a3d869a0893b76ff1946d4b0aa6069beda931689ffc66f58ac17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:40:27.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T05:40:27.765Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T05:40:28.082Z] + ls /var/log/sa-host [2023-03-21T05:40:28.082Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:40:28.215Z] provisioning config files... [2023-03-21T05:40:28.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config12438635850400080409tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:40:28.277Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:28.588Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T05:40:28.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:29.002Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T05:40:29.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:29.342Z] ---> sudo-logs.sh [2023-03-21T05:40:29.342Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T05:40:29.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:29.740Z] ---> job-cost.sh [2023-03-21T05:40:29.740Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:29.740Z] DEBUG: total: 0.2199999988079071 [2023-03-21T05:40:29.740Z] INFO: Retrieving Stack Cost... [2023-03-21T05:40:29.998Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:40:30.563Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T05:40:30.596Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:30.904Z] ---> logs-deploy.sh [2023-03-21T05:40:30.904Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:30.904Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-273/1 [2023-03-21T05:40:30.904Z] INFO: archiving workspace using pattern(s): [2023-03-21T05:40:31.839Z] Archives upload complete. [2023-03-21T05:40:31.839Z] INFO: archiving logs to Nexus