Pull request #274 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 765b423f03973f5c6e6b8cfc506e809621e45c33+e28169b2e94fb685934981c338b1a6a24f9d6fce (78c00c321a72776405a4683c1a4c590e06a3d1bf) 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-ssh18201460947044445629.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-ssh3846659348710618165.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-274/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-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13975035965288371945.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-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8735905798445280258.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-ssh10941265467922165853.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-274/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-274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5473247924971288932.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-4738 in /w/workspace/gexfoundry_device-rest-go_PR-274 [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-274 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit 765b423f03973f5c6e6b8cfc506e809621e45c33 Merge succeeded, producing 765b423f03973f5c6e6b8cfc506e809621e45c33 Checking out Revision 765b423f03973f5c6e6b8cfc506e809621e45c33 (PR-274) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T05:27:39.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T05:27:39.903Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 765b423f03973f5c6e6b8cfc506e809621e45c33 # 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 765b423f03973f5c6e6b8cfc506e809621e45c33 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T05:27:40.001Z] ========================================================= [2023-03-21T05:27:40.001Z] EdgeX Global Pipelines Version Info [2023-03-21T05:27:40.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:40.725Z] ------------------- [2023-03-21T05:27:40.725Z] stable info: [2023-03-21T05:27:40.725Z] ------------------- [2023-03-21T05:27:40.725Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T05:27:40.725Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T05:27:40.726Z] Message: update stable to v1.0.245 [2023-03-21T05:27:41.296Z] ------------------- [2023-03-21T05:27:41.296Z] experimental info: [2023-03-21T05:27:41.296Z] ------------------- [2023-03-21T05:27:41.296Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T05:27:41.296Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T05:27:41.296Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T05:27:41.584Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T05:27:41.624Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T05:27:41.664Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T05:27:41.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T05:27:41.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T05:27:41.798Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T05:27:41.841Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T05:27:41.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T05:27:41.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T05:27:41.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T05:27:42.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T05:27:42.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T05:27:42.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T05:27:42.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T05:27:42.175Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:27:42.215Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:27:42.255Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:27:42.304Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:27:42.347Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T05:27:42.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T05:27:42.428Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T05:27:42.470Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T05:27:42.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T05:27:42.550Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T05:27:42.594Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T05:27:42.639Z] [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.685Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T05:27:42.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-274 [Pipeline] echo [2023-03-21T05:27:42.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-274 [Pipeline] echo [2023-03-21T05:27:42.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-274 [Pipeline] echo [2023-03-21T05:27:42.850Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 765b423f03973f5c6e6b8cfc506e809621e45c33 [Pipeline] echo [2023-03-21T05:27:42.889Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 765b423 [Pipeline] echo [2023-03-21T05:27:42.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:27:43.043Z] provisioning config files... [2023-03-21T05:27:43.057Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-274@tmp/config5851704305586402490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:43.398Z] ---> docker-login.sh [2023-03-21T05:27:43.398Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:27:43.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.658Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.658Z] [2023-03-21T05:27:43.658Z] Login Succeeded [2023-03-21T05:27:43.658Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:27:43.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.658Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.658Z] [2023-03-21T05:27:43.658Z] Login Succeeded [2023-03-21T05:27:43.658Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:27:43.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.919Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.919Z] [2023-03-21T05:27:43.919Z] Login Succeeded [2023-03-21T05:27:43.919Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:27:43.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:43.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:43.919Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:43.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:43.919Z] [2023-03-21T05:27:43.919Z] Login Succeeded [2023-03-21T05:27:43.919Z] docker.io [2023-03-21T05:27:44.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:44.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:44.179Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:44.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:44.179Z] [2023-03-21T05:27:44.179Z] Login Succeeded [2023-03-21T05:27:44.179Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:27:44.206Z] 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.848Z] + git rev-list -1 --merges 765b423f03973f5c6e6b8cfc506e809621e45c33~1..765b423f03973f5c6e6b8cfc506e809621e45c33 [Pipeline] echo [2023-03-21T05:27:44.917Z] -----------> git rev-list -1 --merges 765b423f03973f5c6e6b8cfc506e809621e45c33~1..765b423f03973f5c6e6b8cfc506e809621e45c33 765b423f03973f5c6e6b8cfc506e809621e45c33 [false] [Pipeline] sh [2023-03-21T05:27:45.222Z] + git log --format=format:%s -1 765b423f03973f5c6e6b8cfc506e809621e45c33 [Pipeline] echo [2023-03-21T05:27:45.258Z] ========================================================= [2023-03-21T05:27:45.258Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T05:27:45.258Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:27:45.701Z] + git log --format=format:%s -1 765b423f03973f5c6e6b8cfc506e809621e45c33 [Pipeline] echo [2023-03-21T05:27:45.732Z] [semverPrep] GIT_COMMIT: 765b423f03973f5c6e6b8cfc506e809621e45c33, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-21T05:27:45.766Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T05:27:46.141Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.141Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.141Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T05:27:46.141Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.141Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T05:27:46.141Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T05:27:46.141Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:27:46.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:46.573Z] [2023-03-21T05:27:46.573Z] 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.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:46.957Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T05:27:46.957Z] b85a868b505f: Pulling fs layer [2023-03-21T05:27:46.957Z] e2be974225ed: Pulling fs layer [2023-03-21T05:27:46.957Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T05:27:46.957Z] 988bab9f4d93: Pulling fs layer [2023-03-21T05:27:46.957Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T05:27:46.957Z] eaf3925da568: Pulling fs layer [2023-03-21T05:27:46.957Z] bab4dde63d76: Pulling fs layer [2023-03-21T05:27:46.957Z] bde34c3a00c8: Pulling fs layer [2023-03-21T05:27:46.957Z] b352a97aabf1: Pulling fs layer [2023-03-21T05:27:46.957Z] 4872d77fe225: Pulling fs layer [2023-03-21T05:27:46.957Z] 5851b861e8e6: Pulling fs layer [2023-03-21T05:27:46.957Z] bab4dde63d76: Waiting [2023-03-21T05:27:46.957Z] 4872d77fe225: Waiting [2023-03-21T05:27:46.957Z] bde34c3a00c8: Waiting [2023-03-21T05:27:46.957Z] 5851b861e8e6: Waiting [2023-03-21T05:27:46.957Z] 988bab9f4d93: Waiting [2023-03-21T05:27:46.957Z] eaf3925da568: Waiting [2023-03-21T05:27:46.957Z] 1469e6f7b9e6: Waiting [2023-03-21T05:27:46.957Z] b352a97aabf1: Waiting [2023-03-21T05:27:46.957Z] e2be974225ed: Verifying Checksum [2023-03-21T05:27:46.957Z] e2be974225ed: Download complete [2023-03-21T05:27:46.957Z] 988bab9f4d93: Verifying Checksum [2023-03-21T05:27:46.957Z] 988bab9f4d93: Download complete [2023-03-21T05:27:47.223Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T05:27:47.223Z] 1469e6f7b9e6: Download complete [2023-03-21T05:27:47.223Z] eaf3925da568: Verifying Checksum [2023-03-21T05:27:47.223Z] eaf3925da568: Download complete [2023-03-21T05:27:47.223Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T05:27:47.223Z] 339a4e72a1f5: Download complete [2023-03-21T05:27:47.223Z] bde34c3a00c8: Verifying Checksum [2023-03-21T05:27:47.223Z] bde34c3a00c8: Download complete [2023-03-21T05:27:47.223Z] b352a97aabf1: Verifying Checksum [2023-03-21T05:27:47.223Z] b352a97aabf1: Download complete [2023-03-21T05:27:47.223Z] 4872d77fe225: Verifying Checksum [2023-03-21T05:27:47.223Z] 4872d77fe225: Download complete [2023-03-21T05:27:47.223Z] 5851b861e8e6: Verifying Checksum [2023-03-21T05:27:47.223Z] 5851b861e8e6: Download complete [2023-03-21T05:27:47.223Z] b85a868b505f: Verifying Checksum [2023-03-21T05:27:47.223Z] b85a868b505f: Download complete [2023-03-21T05:27:47.481Z] bab4dde63d76: Verifying Checksum [2023-03-21T05:27:47.481Z] bab4dde63d76: Download complete [2023-03-21T05:27:48.418Z] b85a868b505f: Pull complete [2023-03-21T05:27:48.418Z] e2be974225ed: Pull complete [2023-03-21T05:27:48.987Z] 339a4e72a1f5: Pull complete [2023-03-21T05:27:48.987Z] 988bab9f4d93: Pull complete [2023-03-21T05:27:49.271Z] 1469e6f7b9e6: Pull complete [2023-03-21T05:27:49.534Z] eaf3925da568: Pull complete [2023-03-21T05:27:51.441Z] bab4dde63d76: Pull complete [2023-03-21T05:27:51.441Z] bde34c3a00c8: Pull complete [2023-03-21T05:27:51.441Z] b352a97aabf1: Pull complete [2023-03-21T05:27:51.441Z] 4872d77fe225: Pull complete [2023-03-21T05:27:51.441Z] 5851b861e8e6: Pull complete [2023-03-21T05:27:51.441Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T05:27:51.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:51.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:27:51.693Z] prd-ubuntu20.04-docker-8c-8g-4738 does not seem to be running inside a container [2023-03-21T05:27:51.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-274 -v /w/workspace/gexfoundry_device-rest-go_PR-274:/w/workspace/gexfoundry_device-rest-go_PR-274:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-274@tmp:/w/workspace/gexfoundry_device-rest-go_PR-274@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:27:54.054Z] $ docker top dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc -eo pid,comm [2023-03-21T05:27:54.107Z] 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:27:54.107Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:27:54.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:27:54.229Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:27:54.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:27:54.360Z] $ docker exec dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc ssh-agent [2023-03-21T05:27:54.454Z] SSH_AUTH_SOCK=/tmp/ssh-gD5BW48F5EQx/agent.33 [2023-03-21T05:27:54.454Z] SSH_AGENT_PID=39 [2023-03-21T05:27:54.461Z] Running ssh-add (command line suppressed) [2023-03-21T05:27:54.557Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-274@tmp/private_key_13904622762856677137.key (/w/workspace/gexfoundry_device-rest-go_PR-274@tmp/private_key_13904622762856677137.key) [2023-03-21T05:27:54.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:27:54.901Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T05:27:54.933Z] $ docker exec --env ******** --env ******** dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc ssh-agent -k [2023-03-21T05:27:55.033Z] unset SSH_AUTH_SOCK; [2023-03-21T05:27:55.034Z] unset SSH_AGENT_PID; [2023-03-21T05:27:55.034Z] echo Agent pid 39 killed; [2023-03-21T05:27:55.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T05:27:55.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:27:55.130Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:27:55.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:27:55.252Z] $ docker exec dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc ssh-agent [2023-03-21T05:27:55.375Z] SSH_AUTH_SOCK=/tmp/ssh-QBDbe2RnNl4i/agent.71 [2023-03-21T05:27:55.375Z] SSH_AGENT_PID=77 [2023-03-21T05:27:55.382Z] Running ssh-add (command line suppressed) [2023-03-21T05:27:55.504Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-274@tmp/private_key_11382770164563397510.key (/w/workspace/gexfoundry_device-rest-go_PR-274@tmp/private_key_11382770164563397510.key) [2023-03-21T05:27:55.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:27:55.854Z] + git semver init [2023-03-21T05:27:56.113Z] 2023-03-21 05:27:56,059 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T05:27:56.113Z] 2023-03-21 05:27:56,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-274/.semver [2023-03-21T05:27:56.113Z] 2023-03-21 05:27:56,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-274/.semver [2023-03-21T05:27:56.113Z] 2023-03-21 05:27:56,061 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-274/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-274, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,078 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-274/.git/info/exclude [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,079 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-274/.semver/PR-274 with force:False [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,079 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-274/.semver/PR-274 [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,083 [execute] INFO git cat-file --batch-check [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-274/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,091 [execute] INFO git cat-file --batch [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-274/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:27:57.499Z] 2023-03-21 05:27:57,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-274/.semver/PR-274 [2023-03-21T05:27:57.499Z] 0.0.0 [Pipeline] } [2023-03-21T05:27:57.525Z] $ docker exec --env ******** --env ******** dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc ssh-agent -k [2023-03-21T05:27:57.624Z] unset SSH_AUTH_SOCK; [2023-03-21T05:27:57.624Z] unset SSH_AGENT_PID; [2023-03-21T05:27:57.624Z] echo Agent pid 77 killed; [2023-03-21T05:27:57.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:27:58.065Z] + git semver [Pipeline] } [2023-03-21T05:27:58.358Z] $ docker stop --time=1 dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc [2023-03-21T05:27:59.638Z] $ docker rm -f --volumes dbcc8fae7ae029523341202787edbf832f7d1a0d9b8fa6d69f23e7f36e5cf2dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:28:00.042Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T05:28:00.313Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T05:28:00.333Z] [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:00.936Z] provisioning config files... [2023-03-21T05:28:00.945Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-274@tmp/config4565519211144445436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:28:01.288Z] ---> docker-login.sh [2023-03-21T05:28:01.288Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:28:01.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:01.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:01.288Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:01.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:01.289Z] [2023-03-21T05:28:01.289Z] Login Succeeded [2023-03-21T05:28:01.289Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:28:01.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:01.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:01.289Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:01.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:01.289Z] [2023-03-21T05:28:01.289Z] Login Succeeded [2023-03-21T05:28:01.289Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:28:01.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:01.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:01.549Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:01.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:01.549Z] [2023-03-21T05:28:01.549Z] Login Succeeded [2023-03-21T05:28:01.549Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:28:01.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:01.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:01.549Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:01.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:01.549Z] [2023-03-21T05:28:01.549Z] Login Succeeded [2023-03-21T05:28:01.549Z] docker.io [2023-03-21T05:28:01.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:28:01.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:28:01.808Z] Configure a credential helper to remove this warning. See [2023-03-21T05:28:01.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:28:01.808Z] [2023-03-21T05:28:01.808Z] Login Succeeded [2023-03-21T05:28:01.808Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:28:01.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:28:02.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:28:02.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:28:02.113Z] ========================================================= [2023-03-21T05:28:02.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T05:28:02.113Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:02.595Z] + 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:02.595Z] Sending build context to Docker daemon 10.86MB [2023-03-21T05:28:02.595Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:28:02.595Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T05:28:02.595Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T05:28:02.595Z] 63b65145d645: Pulling fs layer [2023-03-21T05:28:02.595Z] a2d21d5440eb: Pulling fs layer [2023-03-21T05:28:02.595Z] 935e6c44a52c: Pulling fs layer [2023-03-21T05:28:02.595Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T05:28:02.595Z] 30dea6a524f1: Pulling fs layer [2023-03-21T05:28:02.595Z] a2aff8979fd8: Pulling fs layer [2023-03-21T05:28:02.595Z] 6808be2612f2: Pulling fs layer [2023-03-21T05:28:02.595Z] f25807f1079a: Pulling fs layer [2023-03-21T05:28:02.595Z] a2aff8979fd8: Waiting [2023-03-21T05:28:02.595Z] 30dea6a524f1: Waiting [2023-03-21T05:28:02.595Z] 94cc34f8dd06: Waiting [2023-03-21T05:28:02.595Z] 6808be2612f2: Waiting [2023-03-21T05:28:02.595Z] f25807f1079a: Waiting [2023-03-21T05:28:02.864Z] a2d21d5440eb: Download complete [2023-03-21T05:28:02.864Z] 94cc34f8dd06: Download complete [2023-03-21T05:28:02.864Z] 30dea6a524f1: Verifying Checksum [2023-03-21T05:28:02.864Z] 30dea6a524f1: Download complete [2023-03-21T05:28:02.864Z] 63b65145d645: Download complete [2023-03-21T05:28:02.864Z] a2aff8979fd8: Verifying Checksum [2023-03-21T05:28:02.864Z] a2aff8979fd8: Download complete [2023-03-21T05:28:03.128Z] 63b65145d645: Pull complete [2023-03-21T05:28:03.128Z] a2d21d5440eb: Pull complete [2023-03-21T05:28:03.391Z] f25807f1079a: Verifying Checksum [2023-03-21T05:28:03.391Z] f25807f1079a: Download complete [2023-03-21T05:28:03.649Z] 935e6c44a52c: Verifying Checksum [2023-03-21T05:28:03.649Z] 935e6c44a52c: Download complete [2023-03-21T05:28:03.649Z] 6808be2612f2: Download complete [2023-03-21T05:28:06.938Z] 935e6c44a52c: Pull complete [2023-03-21T05:28:06.938Z] 94cc34f8dd06: Pull complete [2023-03-21T05:28:06.938Z] 30dea6a524f1: Pull complete [2023-03-21T05:28:07.197Z] a2aff8979fd8: Pull complete [2023-03-21T05:28:09.724Z] 6808be2612f2: Pull complete [2023-03-21T05:28:09.985Z] f25807f1079a: Pull complete [2023-03-21T05:28:09.985Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T05:28:09.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T05:28:09.985Z] ---> 3b553350e43f [2023-03-21T05:28:09.985Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:28:15.261Z] ---> Running in 1f4f0e51b15f [2023-03-21T05:28:15.261Z] Removing intermediate container 1f4f0e51b15f [2023-03-21T05:28:15.261Z] ---> dceb12946ae6 [2023-03-21T05:28:15.261Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:28:15.261Z] ---> Running in ae2e63f94799 [2023-03-21T05:28:15.261Z] Removing intermediate container ae2e63f94799 [2023-03-21T05:28:15.261Z] ---> 57104755385d [2023-03-21T05:28:15.261Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:28:15.261Z] ---> Running in 560115dbbe11 [2023-03-21T05:28:15.261Z] Removing intermediate container 560115dbbe11 [2023-03-21T05:28:15.261Z] ---> a5e24aad2bc7 [2023-03-21T05:28:15.261Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:28:15.261Z] ---> Running in fe00a5a146b6 [2023-03-21T05:28:15.261Z] Removing intermediate container fe00a5a146b6 [2023-03-21T05:28:15.261Z] ---> b3e001f22cf8 [2023-03-21T05:28:15.261Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:28:15.261Z] ---> Running in 93d87a7075f1 [2023-03-21T05:28:15.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:28:15.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:28:15.520Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:28:15.520Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T05:28:15.520Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:28:15.520Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:28:15.520Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:28:15.520Z] OK: 269 MiB in 57 packages [2023-03-21T05:28:15.756Z] Still waiting to schedule task [2023-03-21T05:28:15.757Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4735’ [2023-03-21T05:28:16.089Z] Removing intermediate container 93d87a7075f1 [2023-03-21T05:28:16.089Z] ---> ff42e696ad55 [2023-03-21T05:28:16.089Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T05:28:16.089Z] ---> Running in 0dd50a55e831 [2023-03-21T05:28:16.089Z] Removing intermediate container 0dd50a55e831 [2023-03-21T05:28:16.089Z] ---> 7c21e81a5646 [2023-03-21T05:28:16.089Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T05:28:16.348Z] ---> 8c6502dd73b9 [2023-03-21T05:28:16.348Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:28:16.348Z] ---> Running in f22fb290672b [2023-03-21T05:28:42.935Z] Removing intermediate container f22fb290672b [2023-03-21T05:28:42.935Z] ---> 9d30b8a47a9c [2023-03-21T05:28:42.935Z] Step 11/12 : COPY . . [2023-03-21T05:28:43.193Z] ---> 9f4948552854 [2023-03-21T05:28:43.193Z] Step 12/12 : RUN $MAKE [2023-03-21T05:28:43.193Z] ---> Running in 0efa9c20453c [2023-03-21T05:28:43.453Z] noop [2023-03-21T05:28:43.711Z] Removing intermediate container 0efa9c20453c [2023-03-21T05:28:43.711Z] ---> aaa9d4e866e9 [2023-03-21T05:28:43.711Z] Successfully built aaa9d4e866e9 [2023-03-21T05:28:43.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:44.157Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:28:44.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:28:44.314Z] prd-ubuntu20.04-docker-8c-8g-4738 does not seem to be running inside a container [2023-03-21T05:28:44.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-274 -v /w/workspace/gexfoundry_device-rest-go_PR-274:/w/workspace/gexfoundry_device-rest-go_PR-274:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-274@tmp:/w/workspace/gexfoundry_device-rest-go_PR-274@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:44.667Z] $ docker top 719564bcdbc79e00ea4fd302048ce20d3e66a83c77f77a00bbd7d99c51ffbe0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:28:45.043Z] + go version [2023-03-21T05:28:45.043Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T05:28:45.082Z] $ docker stop --time=1 719564bcdbc79e00ea4fd302048ce20d3e66a83c77f77a00bbd7d99c51ffbe0c [2023-03-21T05:28:46.348Z] $ docker rm -f --volumes 719564bcdbc79e00ea4fd302048ce20d3e66a83c77f77a00bbd7d99c51ffbe0c [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:47.046Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:28:47.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:28:47.197Z] prd-ubuntu20.04-docker-8c-8g-4738 does not seem to be running inside a container [2023-03-21T05:28:47.226Z] $ 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-274 -v /w/workspace/gexfoundry_device-rest-go_PR-274:/w/workspace/gexfoundry_device-rest-go_PR-274:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-274@tmp:/w/workspace/gexfoundry_device-rest-go_PR-274@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:47.551Z] $ docker top 887aac74d861a96b2a909ecfdd7d9381539bbc5309f4d5dd118fb161f28ab0a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:28:47.929Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-274 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:28:48.279Z] + make test [2023-03-21T05:28:48.279Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T05:28:53.550Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T05:29:05.821Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T05:29:05.821Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.0% of statements [2023-03-21T05:29:11.176Z] go vet ./... [2023-03-21T05:29:15.379Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:29:15.379Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:29:15.379Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:29:15.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:29:15.445Z] $ docker stop --time=1 887aac74d861a96b2a909ecfdd7d9381539bbc5309f4d5dd118fb161f28ab0a7 [2023-03-21T05:29:19.401Z] $ docker rm -f --volumes 887aac74d861a96b2a909ecfdd7d9381539bbc5309f4d5dd118fb161f28ab0a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:29:19.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:29:19.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T05:29:20.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:29:20.899Z] + ls -al . [2023-03-21T05:29:20.899Z] total 184 [2023-03-21T05:29:20.899Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:28 . [2023-03-21T05:29:20.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 .. [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:27 .dockerignore [2023-03-21T05:29:20.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:27 .git [2023-03-21T05:29:20.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 .github [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:27 .gitignore [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:27 .golangci.yml [2023-03-21T05:29:20.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:27 .semver [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:27 Attribution.txt [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:27 CHANGELOG.md [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:27 Dockerfile [2023-03-21T05:29:20.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:27 GOVERNANCE.md [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:27 Jenkinsfile [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:27 LICENSE [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:27 Makefile [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:27 OWNERS.md [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:27 README.md [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:28 VERSION [2023-03-21T05:29:20.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 bin [2023-03-21T05:29:20.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 cmd [2023-03-21T05:29:20.900Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:29 coverage.out [2023-03-21T05:29:20.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 driver [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 05:27 go.mod [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 31324 Mar 21 05:27 go.sum [2023-03-21T05:29:20.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 snap [2023-03-21T05:29:20.900Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:21.298Z] + 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=765b423f03973f5c6e6b8cfc506e809621e45c33 --label arch=amd64 --label version=0.0.0 . [2023-03-21T05:29:21.298Z] Sending build context to Docker daemon 10.88MB [2023-03-21T05:29:21.298Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:29:21.298Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T05:29:21.298Z] ---> aaa9d4e866e9 [2023-03-21T05:29:21.298Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:29:21.557Z] ---> Running in adef3281dfe9 [2023-03-21T05:29:21.558Z] Removing intermediate container adef3281dfe9 [2023-03-21T05:29:21.558Z] ---> 34f0a96d26d2 [2023-03-21T05:29:21.558Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:29:21.558Z] ---> Running in 05883a873607 [2023-03-21T05:29:21.816Z] Removing intermediate container 05883a873607 [2023-03-21T05:29:21.816Z] ---> 5f2b7c59d291 [2023-03-21T05:29:21.816Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:29:21.816Z] ---> Running in 75a643cfe7d7 [2023-03-21T05:29:21.816Z] Removing intermediate container 75a643cfe7d7 [2023-03-21T05:29:21.816Z] ---> 37ffc67d095a [2023-03-21T05:29:21.816Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:29:21.816Z] ---> Running in 5c51d5a9e909 [2023-03-21T05:29:21.816Z] Removing intermediate container 5c51d5a9e909 [2023-03-21T05:29:21.816Z] ---> 5efd42f2516f [2023-03-21T05:29:21.816Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:29:21.816Z] ---> Running in 3d604458a7bd [2023-03-21T05:29:22.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:22.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:22.591Z] OK: 269 MiB in 57 packages [2023-03-21T05:29:22.848Z] Removing intermediate container 3d604458a7bd [2023-03-21T05:29:22.848Z] ---> baa664906023 [2023-03-21T05:29:22.849Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T05:29:22.849Z] ---> Running in 893953d7283b [2023-03-21T05:29:22.849Z] Removing intermediate container 893953d7283b [2023-03-21T05:29:22.849Z] ---> 860cad2f6be3 [2023-03-21T05:29:22.849Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T05:29:23.106Z] ---> 57c43c9c22b5 [2023-03-21T05:29:23.106Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:29:23.106Z] ---> Running in 1d19ca8db578 [2023-03-21T05:29:24.193Z] Removing intermediate container 1d19ca8db578 [2023-03-21T05:29:24.193Z] ---> 38c847c5ab15 [2023-03-21T05:29:24.193Z] Step 11/25 : COPY . . [2023-03-21T05:29:24.454Z] ---> 9be283d37a63 [2023-03-21T05:29:24.454Z] Step 12/25 : RUN $MAKE [2023-03-21T05:29:24.454Z] ---> Running in d949d23a61e9 [2023-03-21T05:29:24.712Z] 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:46.648Z] Removing intermediate container d949d23a61e9 [2023-03-21T05:29:46.648Z] ---> 8ecf2137d94f [2023-03-21T05:29:46.648Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:29:46.648Z] 3.17: Pulling from library/alpine [2023-03-21T05:29:46.648Z] 63b65145d645: Already exists [2023-03-21T05:29:46.648Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:29:46.648Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:29:46.648Z] ---> b2aa39c304c2 [2023-03-21T05:29:46.648Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:29:46.648Z] ---> Running in 20c1289d0e59 [2023-03-21T05:29:46.648Z] Removing intermediate container 20c1289d0e59 [2023-03-21T05:29:46.648Z] ---> ce1f00c78c81 [2023-03-21T05:29:46.648Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:29:46.648Z] ---> Running in 1664ef3eca73 [2023-03-21T05:29:46.648Z] Removing intermediate container 1664ef3eca73 [2023-03-21T05:29:46.648Z] ---> ceef237065c7 [2023-03-21T05:29:46.648Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:29:46.648Z] ---> Running in 0cfba3cb7391 [2023-03-21T05:29:46.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:46.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:46.648Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:29:46.648Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:29:46.648Z] OK: 7 MiB in 16 packages [2023-03-21T05:29:46.648Z] Removing intermediate container 0cfba3cb7391 [2023-03-21T05:29:46.648Z] ---> 95667804b4c9 [2023-03-21T05:29:46.648Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:29:46.648Z] ---> 6128325da1f4 [2023-03-21T05:29:46.648Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:29:46.648Z] ---> 5431f660e7e8 [2023-03-21T05:29:46.648Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:29:46.648Z] ---> 1ba239bfd807 [2023-03-21T05:29:46.648Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:29:46.648Z] ---> Running in ef3a31429c9c [2023-03-21T05:29:46.910Z] Removing intermediate container ef3a31429c9c [2023-03-21T05:29:46.910Z] ---> 28e983f90e12 [2023-03-21T05:29:46.910Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:29:46.910Z] ---> Running in 727edd37c560 [2023-03-21T05:29:46.910Z] Removing intermediate container 727edd37c560 [2023-03-21T05:29:46.910Z] ---> 2bc7168d6645 [2023-03-21T05:29:46.910Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:29:46.910Z] ---> Running in 1cbb4fe0e0ca [2023-03-21T05:29:46.910Z] Removing intermediate container 1cbb4fe0e0ca [2023-03-21T05:29:46.910Z] ---> b6cd7e39b2f5 [2023-03-21T05:29:46.910Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T05:29:46.910Z] ---> Running in 80c010c1f807 [2023-03-21T05:29:47.169Z] Removing intermediate container 80c010c1f807 [2023-03-21T05:29:47.169Z] ---> 2c87ba60ac53 [2023-03-21T05:29:47.169Z] Step 24/25 : LABEL git_sha=765b423f03973f5c6e6b8cfc506e809621e45c33 [2023-03-21T05:29:47.169Z] ---> Running in 82de4c40f131 [2023-03-21T05:29:47.169Z] Removing intermediate container 82de4c40f131 [2023-03-21T05:29:47.169Z] ---> 02c7f9fcc5f2 [2023-03-21T05:29:47.169Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T05:29:47.169Z] ---> Running in 1e2302383621 [2023-03-21T05:29:47.169Z] Removing intermediate container 1e2302383621 [2023-03-21T05:29:47.169Z] ---> 56124dc5702f [2023-03-21T05:29:47.169Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:29:47.429Z] Successfully built 56124dc5702f [2023-03-21T05:29:47.429Z] 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:48.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:48.379Z] [2023-03-21T05:29:48.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:48.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:48.765Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T05:29:48.765Z] 5eb5b503b376: Pulling fs layer [2023-03-21T05:29:48.765Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T05:29:48.765Z] ec43610c2a17: Pulling fs layer [2023-03-21T05:29:48.765Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T05:29:48.765Z] 33b1e0a273af: Pulling fs layer [2023-03-21T05:29:48.765Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T05:29:48.765Z] 2f39f015ded8: Pulling fs layer [2023-03-21T05:29:48.765Z] 3a2ae6a8a46f: Waiting [2023-03-21T05:29:48.765Z] 33b1e0a273af: Waiting [2023-03-21T05:29:48.765Z] 5d3b04190fa2: Waiting [2023-03-21T05:29:48.765Z] 2f39f015ded8: Waiting [2023-03-21T05:29:48.765Z] 5c69ac0246d0: Download complete [2023-03-21T05:29:48.765Z] 3a2ae6a8a46f: Download complete [2023-03-21T05:29:48.765Z] ec43610c2a17: Verifying Checksum [2023-03-21T05:29:48.765Z] ec43610c2a17: Download complete [2023-03-21T05:29:49.029Z] 33b1e0a273af: Verifying Checksum [2023-03-21T05:29:49.029Z] 33b1e0a273af: Download complete [2023-03-21T05:29:49.029Z] 5d3b04190fa2: Download complete [2023-03-21T05:29:49.029Z] 5eb5b503b376: Verifying Checksum [2023-03-21T05:29:49.029Z] 5eb5b503b376: Download complete [2023-03-21T05:29:49.595Z] 2f39f015ded8: Verifying Checksum [2023-03-21T05:29:49.595Z] 2f39f015ded8: Download complete [2023-03-21T05:29:50.529Z] 5eb5b503b376: Pull complete [2023-03-21T05:29:50.529Z] 5c69ac0246d0: Pull complete [2023-03-21T05:29:51.100Z] ec43610c2a17: Pull complete [2023-03-21T05:29:51.100Z] 3a2ae6a8a46f: Pull complete [2023-03-21T05:29:51.358Z] 33b1e0a273af: Pull complete [2023-03-21T05:29:51.358Z] 5d3b04190fa2: Pull complete [2023-03-21T05:29:55.537Z] 2f39f015ded8: Pull complete [2023-03-21T05:29:55.537Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T05:29:55.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:55.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:29:55.762Z] prd-ubuntu20.04-docker-8c-8g-4738 does not seem to be running inside a container [2023-03-21T05:29:55.793Z] $ 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-274 -v /w/workspace/gexfoundry_device-rest-go_PR-274:/w/workspace/gexfoundry_device-rest-go_PR-274:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-274@tmp:/w/workspace/gexfoundry_device-rest-go_PR-274@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:29:59.230Z] $ docker top 4ce9b44ae3012578b18240ff78339a1fb4fe0571bfc648536c0b71af9a1eae53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:29:59.670Z] ---> job-cost.sh [2023-03-21T05:29:59.670Z] lf-activate-venv: SKIPPING [2023-03-21T05:29:59.670Z] INFO: No Stack... [2023-03-21T05:29:59.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:30:00.505Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:30:00.820Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-274/archives/cost.csv [2023-03-21T05:30:00.820Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:30:00.857Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] [2023-03-21T05:30:00.862Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] did not exist. Created. [2023-03-21T05:30:00.862Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:30:01.257Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T05:30:01.311Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:30:01.335Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:30:01.419Z] $ docker stop --time=1 4ce9b44ae3012578b18240ff78339a1fb4fe0571bfc648536c0b71af9a1eae53 [2023-03-21T05:30:02.576Z] $ docker rm -f --volumes 4ce9b44ae3012578b18240ff78339a1fb4fe0571bfc648536c0b71af9a1eae53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T05:31:10.232Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4740 in /w/workspace/gexfoundry_device-rest-go_PR-274 [Pipeline] { [Pipeline] ws [2023-03-21T05:31:10.283Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T05:31:10.389Z] The recommended git tool is: git [2023-03-21T05:31:15.813Z] using credential edgex-jenkins-ssh [2023-03-21T05:31:15.838Z] Cloning the remote Git repository [2023-03-21T05:31:15.896Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:31:16.022Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-21T05:31:16.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:31:16.220Z] > git --version # timeout=10 [2023-03-21T05:31:16.244Z] > git --version # 'git version 2.25.1' [2023-03-21T05:31:16.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:31:16.430Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:31:18.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T05:31:18.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:31:19.898Z] Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit 765b423f03973f5c6e6b8cfc506e809621e45c33 [2023-03-21T05:31:20.228Z] Merge succeeded, producing 765b423f03973f5c6e6b8cfc506e809621e45c33 [2023-03-21T05:31:20.229Z] Checking out Revision 765b423f03973f5c6e6b8cfc506e809621e45c33 (PR-274) [2023-03-21T05:31:19.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T05:31:19.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:31:19.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:31:19.387Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T05:31:19.922Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:31:20.014Z] > git checkout -f 765b423f03973f5c6e6b8cfc506e809621e45c33 # timeout=10 [2023-03-21T05:31:20.110Z] > git remote # timeout=10 [2023-03-21T05:31:20.135Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T05:31:20.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:31:20.174Z] > git merge e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [2023-03-21T05:31:20.209Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T05:31:20.237Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:31:20.258Z] > git checkout -f 765b423f03973f5c6e6b8cfc506e809621e45c33 # timeout=10 [2023-03-21T05:31:20.799Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-21T05:31:20.860Z] > git --version # timeout=10 [2023-03-21T05:31:20.872Z] > git --version # 'git version 2.25.1' [2023-03-21T05:31:20.894Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:31:22.150Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T05:31:22.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:31:22.150Z] Dload Upload Total Spent Left Speed [2023-03-21T05:31:22.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-03-21T05:31:22.829Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T05:31:23.172Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T05:31:23.173Z] + sudo tee /etc/docker/daemon.new [2023-03-21T05:31:23.173Z] { [2023-03-21T05:31:23.173Z] "registry-mirrors": [ [2023-03-21T05:31:23.173Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T05:31:23.173Z] ], [2023-03-21T05:31:23.173Z] "bip": "10.250.0.254/24", [2023-03-21T05:31:23.173Z] "hosts": [ [2023-03-21T05:31:23.173Z] "tcp://0.0.0.0:5555", [2023-03-21T05:31:23.173Z] "unix:///var/run/docker.sock" [2023-03-21T05:31:23.173Z] ], [2023-03-21T05:31:23.173Z] "mtu": 1458, [2023-03-21T05:31:23.173Z] "selinux-enabled": true, [2023-03-21T05:31:23.173Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T05:31:23.173Z] } [Pipeline] sh [2023-03-21T05:31:23.515Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T05:31:23.870Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:31:42.198Z] provisioning config files... [2023-03-21T05:31:42.229Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9145734210714089016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:31:42.621Z] ---> docker-login.sh [2023-03-21T05:31:42.621Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:31:42.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:43.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:43.164Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:43.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:43.164Z] [2023-03-21T05:31:43.164Z] Login Succeeded [2023-03-21T05:31:43.164Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:31:43.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:43.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:43.432Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:43.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:43.432Z] [2023-03-21T05:31:43.432Z] Login Succeeded [2023-03-21T05:31:43.432Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:31:43.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:43.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:43.971Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:43.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:43.971Z] [2023-03-21T05:31:43.971Z] Login Succeeded [2023-03-21T05:31:43.971Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:31:44.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:44.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:44.240Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:44.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:44.240Z] [2023-03-21T05:31:44.240Z] Login Succeeded [2023-03-21T05:31:44.240Z] docker.io [2023-03-21T05:31:44.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:31:44.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:31:44.775Z] Configure a credential helper to remove this warning. See [2023-03-21T05:31:44.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:31:44.775Z] [2023-03-21T05:31:44.775Z] Login Succeeded [2023-03-21T05:31:44.775Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:31:44.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:31:45.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:31:45.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:31:45.221Z] ========================================================= [2023-03-21T05:31:45.221Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T05:31:45.221Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:31:45.770Z] + 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:45.770Z] Sending build context to Docker daemon 138.8kB [2023-03-21T05:31:46.039Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:31:46.039Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T05:31:46.039Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T05:31:46.320Z] af6eaf76a39c: Pulling fs layer [2023-03-21T05:31:46.320Z] 55522c791124: Pulling fs layer [2023-03-21T05:31:46.320Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T05:31:46.320Z] 169dfbe0d373: Pulling fs layer [2023-03-21T05:31:46.320Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T05:31:46.320Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T05:31:46.320Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T05:31:46.320Z] 169dfbe0d373: Waiting [2023-03-21T05:31:46.320Z] e1ff8fa3b103: Waiting [2023-03-21T05:31:46.320Z] 52ebb69f0ebf: Waiting [2023-03-21T05:31:46.320Z] 5abe8eddf0d5: Waiting [2023-03-21T05:31:46.320Z] 55522c791124: Download complete [2023-03-21T05:31:46.320Z] 169dfbe0d373: Verifying Checksum [2023-03-21T05:31:46.320Z] 169dfbe0d373: Download complete [2023-03-21T05:31:46.320Z] e1ff8fa3b103: Download complete [2023-03-21T05:31:46.320Z] af6eaf76a39c: Verifying Checksum [2023-03-21T05:31:46.320Z] af6eaf76a39c: Download complete [2023-03-21T05:31:47.294Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T05:31:47.295Z] 5abe8eddf0d5: Download complete [2023-03-21T05:31:48.718Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T05:31:48.718Z] ce5c4a1c91eb: Download complete [2023-03-21T05:31:48.718Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T05:31:48.718Z] 52ebb69f0ebf: Download complete [2023-03-21T05:31:49.303Z] af6eaf76a39c: Pull complete [2023-03-21T05:31:49.573Z] 55522c791124: Pull complete [2023-03-21T05:31:59.655Z] ce5c4a1c91eb: Pull complete [2023-03-21T05:31:59.655Z] 169dfbe0d373: Pull complete [2023-03-21T05:31:59.931Z] e1ff8fa3b103: Pull complete [2023-03-21T05:32:06.608Z] 52ebb69f0ebf: Pull complete [2023-03-21T05:32:09.212Z] 5abe8eddf0d5: Pull complete [2023-03-21T05:32:09.212Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T05:32:09.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T05:32:09.212Z] ---> 6cb57ee374ae [2023-03-21T05:32:09.212Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:32:11.166Z] ---> Running in 7b39d9f72b3f [2023-03-21T05:32:11.435Z] Removing intermediate container 7b39d9f72b3f [2023-03-21T05:32:11.435Z] ---> a249e6259a1b [2023-03-21T05:32:11.435Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:32:11.435Z] ---> Running in ea4da0930456 [2023-03-21T05:32:12.028Z] Removing intermediate container ea4da0930456 [2023-03-21T05:32:12.028Z] ---> 953f83c9f61d [2023-03-21T05:32:12.028Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:32:12.028Z] ---> Running in 9625e56b8487 [2023-03-21T05:32:12.297Z] Removing intermediate container 9625e56b8487 [2023-03-21T05:32:12.297Z] ---> bee6cfb66a3f [2023-03-21T05:32:12.297Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:32:12.297Z] ---> Running in 414b4bb912f4 [2023-03-21T05:32:12.566Z] Removing intermediate container 414b4bb912f4 [2023-03-21T05:32:12.566Z] ---> f87e76f07756 [2023-03-21T05:32:12.566Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:32:12.835Z] ---> Running in 4df8943ebdbc [2023-03-21T05:32:14.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:32:14.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:32:15.941Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:32:15.941Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T05:32:15.941Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:32:15.941Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:32:15.941Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:32:15.941Z] OK: 268 MiB in 57 packages [2023-03-21T05:32:16.905Z] Removing intermediate container 4df8943ebdbc [2023-03-21T05:32:16.905Z] ---> ac90005dc626 [2023-03-21T05:32:16.905Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T05:32:16.905Z] ---> Running in bbb91a349025 [2023-03-21T05:32:17.491Z] Removing intermediate container bbb91a349025 [2023-03-21T05:32:17.491Z] ---> dd08da7ffc23 [2023-03-21T05:32:17.491Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T05:32:17.760Z] ---> de63715e1200 [2023-03-21T05:32:17.760Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:32:17.760Z] ---> Running in e1126822f35d [2023-03-21T05:33:25.654Z] Removing intermediate container e1126822f35d [2023-03-21T05:33:25.654Z] ---> dcce48c472f6 [2023-03-21T05:33:25.654Z] Step 11/12 : COPY . . [2023-03-21T05:33:25.654Z] ---> c3714b9a1e08 [2023-03-21T05:33:25.654Z] Step 12/12 : RUN $MAKE [2023-03-21T05:33:25.654Z] ---> Running in c7c9fa4c0ad4 [2023-03-21T05:33:25.654Z] noop [2023-03-21T05:33:25.654Z] Removing intermediate container c7c9fa4c0ad4 [2023-03-21T05:33:25.654Z] ---> 7c81c97db008 [2023-03-21T05:33:25.654Z] Successfully built 7c81c97db008 [2023-03-21T05:33:25.654Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:33:26.138Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:33:26.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:33:26.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-4740 does not seem to be running inside a container [2023-03-21T05:33:26.480Z] $ 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:27.755Z] $ docker top 2fe876fe310e23960f6c140ef6ee14b732003fe7d59e1c0e1338983d401700be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:33:28.659Z] + go version [2023-03-21T05:33:28.659Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T05:33:28.704Z] $ docker stop --time=1 2fe876fe310e23960f6c140ef6ee14b732003fe7d59e1c0e1338983d401700be [2023-03-21T05:33:30.320Z] $ docker rm -f --volumes 2fe876fe310e23960f6c140ef6ee14b732003fe7d59e1c0e1338983d401700be [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:31.161Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:33:31.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:33:31.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-4740 does not seem to be running inside a container [2023-03-21T05:33:31.485Z] $ 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:32.658Z] $ docker top 60ece3dc93467c62b9a6306832947194b8537051e65f07fb1d04cf0f79ecc6e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:33:33.206Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:33:33.850Z] + make test [2023-03-21T05:33:33.850Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T05:34:12.723Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T05:36:19.417Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T05:36:24.783Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.0% of statements [2023-03-21T05:36:25.051Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T05:36:25.051Z] go vet ./... [2023-03-21T05:37:03.969Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:37:03.969Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:37:03.969Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:37:04.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:37:04.039Z] $ docker stop --time=1 60ece3dc93467c62b9a6306832947194b8537051e65f07fb1d04cf0f79ecc6e6 [2023-03-21T05:37:06.136Z] $ docker rm -f --volumes 60ece3dc93467c62b9a6306832947194b8537051e65f07fb1d04cf0f79ecc6e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:37:07.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:37:07.356Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T05:37:07.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:37:08.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:37:08.735Z] + ls -al . [2023-03-21T05:37:08.735Z] total 180 [2023-03-21T05:37:08.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:33 . [2023-03-21T05:37:08.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:31 .. [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:31 .dockerignore [2023-03-21T05:37:08.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:31 .git [2023-03-21T05:37:08.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:31 .github [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:31 .gitignore [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:31 .golangci.yml [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:31 Attribution.txt [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:31 CHANGELOG.md [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:31 Dockerfile [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:31 GOVERNANCE.md [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:31 Jenkinsfile [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:31 LICENSE [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:31 Makefile [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:31 OWNERS.md [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:31 README.md [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:28 VERSION [2023-03-21T05:37:08.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:31 bin [2023-03-21T05:37:08.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:31 cmd [2023-03-21T05:37:08.735Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:36 coverage.out [2023-03-21T05:37:08.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:31 driver [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 05:31 go.mod [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 31324 Mar 21 05:31 go.sum [2023-03-21T05:37:08.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:31 snap [2023-03-21T05:37:08.735Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:37:09.160Z] + 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=765b423f03973f5c6e6b8cfc506e809621e45c33 --label arch=arm64 --label version=0.0.0 . [2023-03-21T05:37:09.160Z] Sending build context to Docker daemon 153.6kB [2023-03-21T05:37:09.427Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:37:09.427Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T05:37:09.427Z] ---> 7c81c97db008 [2023-03-21T05:37:09.427Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:37:09.427Z] ---> Running in 87061f1f896c [2023-03-21T05:37:09.695Z] Removing intermediate container 87061f1f896c [2023-03-21T05:37:09.695Z] ---> a9860c184ada [2023-03-21T05:37:09.695Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:37:09.963Z] ---> Running in 716ae86c1d38 [2023-03-21T05:37:10.229Z] Removing intermediate container 716ae86c1d38 [2023-03-21T05:37:10.229Z] ---> e86dd9685469 [2023-03-21T05:37:10.229Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:37:10.229Z] ---> Running in 2919324e40ae [2023-03-21T05:37:10.498Z] Removing intermediate container 2919324e40ae [2023-03-21T05:37:10.498Z] ---> 43a00f11fd84 [2023-03-21T05:37:10.498Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:37:10.498Z] ---> Running in 3f4aa09d5922 [2023-03-21T05:37:10.766Z] Removing intermediate container 3f4aa09d5922 [2023-03-21T05:37:10.766Z] ---> ed6785510581 [2023-03-21T05:37:10.766Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:37:11.044Z] ---> Running in 73e0c9fc2007 [2023-03-21T05:37:12.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:37:12.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:37:13.549Z] OK: 268 MiB in 57 packages [2023-03-21T05:37:14.512Z] Removing intermediate container 73e0c9fc2007 [2023-03-21T05:37:14.512Z] ---> 0e50b025f537 [2023-03-21T05:37:14.513Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T05:37:14.513Z] ---> Running in 58a4c8766cc9 [2023-03-21T05:37:14.782Z] Removing intermediate container 58a4c8766cc9 [2023-03-21T05:37:14.782Z] ---> 4541b2a025ad [2023-03-21T05:37:14.782Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T05:37:15.367Z] ---> de8206103990 [2023-03-21T05:37:15.367Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:37:15.367Z] ---> Running in 3a4cb037c9f3 [2023-03-21T05:37:19.619Z] Removing intermediate container 3a4cb037c9f3 [2023-03-21T05:37:19.619Z] ---> 2f6868eed972 [2023-03-21T05:37:19.619Z] Step 11/25 : COPY . . [2023-03-21T05:37:19.888Z] ---> 8d03548652b7 [2023-03-21T05:37:19.888Z] Step 12/25 : RUN $MAKE [2023-03-21T05:37:19.888Z] ---> Running in 517ff10863a3 [2023-03-21T05:37:20.852Z] 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:42.561Z] Removing intermediate container 517ff10863a3 [2023-03-21T05:39:42.561Z] ---> 9137582a99f1 [2023-03-21T05:39:42.561Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:39:42.561Z] 3.17: Pulling from library/alpine [2023-03-21T05:39:42.561Z] af6eaf76a39c: Already exists [2023-03-21T05:39:42.561Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:39:42.561Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:39:42.561Z] ---> d74e625d9115 [2023-03-21T05:39:42.561Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:39:42.561Z] ---> Running in b7897fd964a2 [2023-03-21T05:39:42.561Z] Removing intermediate container b7897fd964a2 [2023-03-21T05:39:42.561Z] ---> 1e28aeb662a0 [2023-03-21T05:39:42.561Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:39:42.561Z] ---> Running in 18617945a922 [2023-03-21T05:39:42.561Z] Removing intermediate container 18617945a922 [2023-03-21T05:39:42.561Z] ---> 6b7216843b15 [2023-03-21T05:39:42.561Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:39:42.561Z] ---> Running in b539c2ad481a [2023-03-21T05:39:42.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:39:42.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:39:42.561Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:39:42.561Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:39:42.561Z] OK: 8 MiB in 16 packages [2023-03-21T05:39:42.561Z] Removing intermediate container b539c2ad481a [2023-03-21T05:39:42.561Z] ---> 036b6a7a39ab [2023-03-21T05:39:42.561Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:39:42.561Z] ---> 686016fc8735 [2023-03-21T05:39:42.561Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:39:42.561Z] ---> 82a40d41259a [2023-03-21T05:39:42.561Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:39:42.561Z] ---> aff473e41056 [2023-03-21T05:39:42.561Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:39:42.561Z] ---> Running in ade41e676cb8 [2023-03-21T05:39:42.561Z] Removing intermediate container ade41e676cb8 [2023-03-21T05:39:42.561Z] ---> 7c19da640c29 [2023-03-21T05:39:42.561Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:39:42.561Z] ---> Running in dba1c857b1fd [2023-03-21T05:39:42.561Z] Removing intermediate container dba1c857b1fd [2023-03-21T05:39:42.561Z] ---> 889d891e87c3 [2023-03-21T05:39:42.561Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:39:42.561Z] ---> Running in 785537e740f4 [2023-03-21T05:39:42.561Z] Removing intermediate container 785537e740f4 [2023-03-21T05:39:42.561Z] ---> 585a5aedf0de [2023-03-21T05:39:42.561Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T05:39:42.829Z] ---> Running in 5cd9d51b64b5 [2023-03-21T05:39:43.100Z] Removing intermediate container 5cd9d51b64b5 [2023-03-21T05:39:43.100Z] ---> c2413094fd76 [2023-03-21T05:39:43.100Z] Step 24/25 : LABEL git_sha=765b423f03973f5c6e6b8cfc506e809621e45c33 [2023-03-21T05:39:43.100Z] ---> Running in e538137c212e [2023-03-21T05:39:43.372Z] Removing intermediate container e538137c212e [2023-03-21T05:39:43.372Z] ---> 66fc0972cfaa [2023-03-21T05:39:43.372Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T05:39:43.372Z] ---> Running in 42955bbd921f [2023-03-21T05:39:43.966Z] Removing intermediate container 42955bbd921f [2023-03-21T05:39:43.966Z] ---> 4257609000f2 [2023-03-21T05:39:43.966Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:39:43.966Z] Successfully built 4257609000f2 [2023-03-21T05:39:43.966Z] 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:44.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:44.770Z] [2023-03-21T05:39:44.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:39:45.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:45.439Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T05:39:45.440Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T05:39:45.440Z] 04944245beec: Pulling fs layer [2023-03-21T05:39:45.440Z] 699f458cf7ca: Pulling fs layer [2023-03-21T05:39:45.440Z] 765212b225bb: Pulling fs layer [2023-03-21T05:39:45.440Z] f23df028b6ca: Pulling fs layer [2023-03-21T05:39:45.440Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T05:39:45.440Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T05:39:45.440Z] d65c8cfc05b1: Waiting [2023-03-21T05:39:45.440Z] 765212b225bb: Waiting [2023-03-21T05:39:45.440Z] f23df028b6ca: Waiting [2023-03-21T05:39:45.440Z] 2437ff75d9bd: Waiting [2023-03-21T05:39:45.708Z] 04944245beec: Verifying Checksum [2023-03-21T05:39:45.708Z] 04944245beec: Download complete [2023-03-21T05:39:45.708Z] 765212b225bb: Verifying Checksum [2023-03-21T05:39:45.708Z] 765212b225bb: Download complete [2023-03-21T05:39:45.708Z] f23df028b6ca: Verifying Checksum [2023-03-21T05:39:45.708Z] f23df028b6ca: Download complete [2023-03-21T05:39:45.708Z] d65c8cfc05b1: Download complete [2023-03-21T05:39:45.708Z] 699f458cf7ca: Verifying Checksum [2023-03-21T05:39:45.708Z] 699f458cf7ca: Download complete [2023-03-21T05:39:46.298Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T05:39:46.298Z] 8998bd30e6a1: Download complete [2023-03-21T05:39:49.021Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T05:39:49.021Z] 2437ff75d9bd: Download complete [2023-03-21T05:39:50.480Z] 8998bd30e6a1: Pull complete [2023-03-21T05:39:51.095Z] 04944245beec: Pull complete [2023-03-21T05:39:52.528Z] 699f458cf7ca: Pull complete [2023-03-21T05:39:52.528Z] 765212b225bb: Pull complete [2023-03-21T05:39:53.504Z] f23df028b6ca: Pull complete [2023-03-21T05:39:53.771Z] d65c8cfc05b1: Pull complete [2023-03-21T05:40:08.772Z] 2437ff75d9bd: Pull complete [2023-03-21T05:40:08.772Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T05:40:08.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:40:08.772Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:09.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-4740 does not seem to be running inside a container [2023-03-21T05:40:09.180Z] $ 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:11.956Z] $ docker top 36b035689c42eb8d3052dce444ae518094e119eafd2852b80c41b6b50d0f4a86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:12.861Z] ---> job-cost.sh [2023-03-21T05:40:12.861Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:12.861Z] INFO: No Stack... [2023-03-21T05:40:13.443Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T05:40:14.400Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:40:15.055Z] + cut+ -d,cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-21T05:40:15.055Z] -f6 [Pipeline] lock [2023-03-21T05:40:15.137Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] [2023-03-21T05:40:15.142Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] did not exist. Created. [2023-03-21T05:40:15.142Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:40:15.625Z] /w/workspace/device-rest-go/1@tmp/durable-7f252abe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T05:40:16.372Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T05:40:16.412Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T05:40:16.458Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:40:16.474Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:40:16.555Z] $ docker stop --time=1 36b035689c42eb8d3052dce444ae518094e119eafd2852b80c41b6b50d0f4a86 [2023-03-21T05:40:18.090Z] $ docker rm -f --volumes 36b035689c42eb8d3052dce444ae518094e119eafd2852b80c41b6b50d0f4a86 [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:19.034Z] provisioning config files... [2023-03-21T05:40:19.042Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-274@tmp/config3282893905033958356tmp [Pipeline] { [Pipeline] sh [2023-03-21T05:40:19.377Z] + set +x [2023-03-21T05:40:19.377Z] + curl -s https://codecov.io/bash [2023-03-21T05:40:19.377Z] + bash -s -- [2023-03-21T05:40:19.377Z] [2023-03-21T05:40:19.377Z] _____ _ [2023-03-21T05:40:19.377Z] / ____| | | [2023-03-21T05:40:19.377Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T05:40:19.377Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T05:40:19.377Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T05:40:19.377Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T05:40:19.377Z] Bash-1.0.6 [2023-03-21T05:40:19.377Z] [2023-03-21T05:40:19.377Z] [2023-03-21T05:40:19.377Z] ==> git version 2.25.1 found [2023-03-21T05:40:19.377Z] ==> 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:19.377Z] Release-Date: 2020-01-08 [2023-03-21T05:40:19.377Z] 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:19.377Z] 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:19.377Z] ==> Jenkins CI detected. [2023-03-21T05:40:19.377Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-274 [2023-03-21T05:40:19.377Z] project root: . [2023-03-21T05:40:19.377Z] --> token set from env [2023-03-21T05:40:19.377Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T05:40:19.377Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T05:40:19.377Z] ==> Python coveragepy not found [2023-03-21T05:40:19.377Z] ==> Searching for coverage reports in: [2023-03-21T05:40:19.377Z] + . [2023-03-21T05:40:19.377Z] -> Found 1 reports [2023-03-21T05:40:19.377Z] ==> Detecting git/mercurial file structure [2023-03-21T05:40:19.377Z] ==> Reading reports [2023-03-21T05:40:19.377Z] + ./coverage.out bytes=14200 [2023-03-21T05:40:19.377Z] ==> Appending adjustments [2023-03-21T05:40:19.377Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T05:40:19.637Z] + Found adjustments [2023-03-21T05:40:19.637Z] ==> Gzipping contents [2023-03-21T05:40:19.637Z] 4.0K /tmp/codecov.V3XvBU.gz [2023-03-21T05:40:19.637Z] ==> Uploading reports [2023-03-21T05:40:19.637Z] url: https://codecov.io [2023-03-21T05:40:19.637Z] query: branch=PR-274&commit=765b423f03973f5c6e6b8cfc506e809621e45c33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=274&job=&cmd_args= [2023-03-21T05:40:19.637Z] -> Pinging Codecov [2023-03-21T05:40:19.637Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-274&commit=765b423f03973f5c6e6b8cfc506e809621e45c33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=274&job=&cmd_args= [2023-03-21T05:40:19.637Z] -> Uploading to [2023-03-21T05:40:19.637Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/765b423f03973f5c6e6b8cfc506e809621e45c33/7f3bc01a-f825-4d54-adce-d66f9411f4ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T054019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=601f7f91b48fce40fd41acaf01b7bdb99ebad41afbec096b93ba392145dbbd4b [2023-03-21T05:40:19.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:40:19.637Z] Dload Upload Total Spent Left Speed [2023-03-21T05:40:19.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 9385 --:--:-- --:--:-- --:--:-- 9385 [2023-03-21T05:40:19.896Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/765b423f03973f5c6e6b8cfc506e809621e45c33 [Pipeline] } [2023-03-21T05:40:19.924Z] 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:21.818Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-274/archives ] [2023-03-21T05:40:21.818Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-274/archives [2023-03-21T05:40:21.818Z] total 16 [2023-03-21T05:40:21.818Z] drwxr-xr-x 3 root root 4096 Mar 21 05:30 . [2023-03-21T05:40:21.818Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:30 .. [2023-03-21T05:40:21.818Z] drwxr-xr-x 2 root root 4096 Mar 21 05:30 cost [2023-03-21T05:40:21.818Z] -rw-r--r-- 1 root root 86 Mar 21 05:30 cost.csv [2023-03-21T05:40:21.818Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-274/archives [2023-03-21T05:40:21.818Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-274/archives [2023-03-21T05:40:21.818Z] total 16 [2023-03-21T05:40:21.818Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:30 . [2023-03-21T05:40:21.818Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:30 .. [2023-03-21T05:40:21.818Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:30 cost [2023-03-21T05:40:21.818Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 05:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:22.144Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:23.027Z] ---> package-listing.sh [2023-03-21T05:40:23.027Z] ++ facter osfamily [2023-03-21T05:40:23.027Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T05:40:23.284Z] + OS_FAMILY=debian [2023-03-21T05:40:23.284Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-274 [2023-03-21T05:40:23.284Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T05:40:23.284Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T05:40:23.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T05:40:23.284Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T05:40:23.284Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-274 ']' [2023-03-21T05:40:23.284Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T05:40:23.284Z] + case "${OS_FAMILY}" in [2023-03-21T05:40:23.284Z] + dpkg -l [2023-03-21T05:40:23.284Z] + grep '^ii' [2023-03-21T05:40:23.284Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T05:40:23.284Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T05:40:23.284Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T05:40:23.284Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-274 ']' [2023-03-21T05:40:23.284Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-274/archives/ [2023-03-21T05:40:23.284Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-274/archives/ [Pipeline] echo [2023-03-21T05:40:23.319Z] 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-274/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:23.612Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:24.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:40:24.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:24.361Z] prd-ubuntu20.04-docker-8c-8g-4738 does not seem to be running inside a container [2023-03-21T05:40:24.386Z] $ 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-274/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-274 -v /w/workspace/gexfoundry_device-rest-go_PR-274:/w/workspace/gexfoundry_device-rest-go_PR-274:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-274@tmp:/w/workspace/gexfoundry_device-rest-go_PR-274@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:24.562Z] $ docker top f6c2583b3a4d586f3b8a3a84979cd1bbbe40fcd50e526626aea0c94bb6550bd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:40:24.949Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T05:40:25.257Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T05:40:25.569Z] + ls /var/log/sa-host [2023-03-21T05:40:25.569Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:40:25.702Z] provisioning config files... [2023-03-21T05:40:25.710Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-274@tmp/config6471541712750472089tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:40:25.769Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:26.077Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T05:40:26.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:26.484Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T05:40:26.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:26.830Z] ---> sudo-logs.sh [2023-03-21T05:40:26.830Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T05:40:26.915Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:27.285Z] ---> job-cost.sh [2023-03-21T05:40:27.285Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:27.285Z] DEBUG: total: 0.2199999988079071 [2023-03-21T05:40:27.285Z] INFO: Retrieving Stack Cost... [2023-03-21T05:40:27.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:40:28.115Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T05:40:28.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:28.467Z] ---> logs-deploy.sh [2023-03-21T05:40:28.467Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:28.467Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-274/1 [2023-03-21T05:40:28.467Z] INFO: archiving workspace using pattern(s): [2023-03-21T05:40:29.410Z] Archives upload complete. [2023-03-21T05:40:29.410Z] INFO: archiving logs to Nexus