Pull request #272 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2ded8c8301fa9285dc80bb471c5f0972abc0b73a rather than a9f8d9f939f37345898a2050de810d76c0875db0 Obtained Jenkinsfile from 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 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-ssh676191735981619800.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-ssh15704161208634090849.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16715813995119343488.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 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-ssh4838434604132910858.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15861815314474049692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-4716’ Running on prd-ubuntu20.04-docker-8c-8g-4719 in /w/workspace/gexfoundry_device-rest-go_PR-272 [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-272 # 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 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit a9f8d9f939f37345898a2050de810d76c0875db0 Merge succeeded, producing a9f8d9f939f37345898a2050de810d76c0875db0 Checking out Revision a9f8d9f939f37345898a2050de810d76c0875db0 (PR-272) > 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/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9f8d9f939f37345898a2050de810d76c0875db0 # 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9f8d9f939f37345898a2050de810d76c0875db0 # timeout=10 Commit message: "refactor!: bump SDK and change configuration file format to YAML" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T04:26:56.265Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T04:26:56.323Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T04:26:56.340Z] ========================================================= [2023-03-21T04:26:56.340Z] EdgeX Global Pipelines Version Info [2023-03-21T04:26:56.340Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:26:57.468Z] ------------------- [2023-03-21T04:26:57.468Z] stable info: [2023-03-21T04:26:57.468Z] ------------------- [2023-03-21T04:26:57.468Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T04:26:57.468Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T04:26:57.468Z] Message: update stable to v1.0.245 [2023-03-21T04:26:57.729Z] ------------------- [2023-03-21T04:26:57.729Z] experimental info: [2023-03-21T04:26:57.729Z] ------------------- [2023-03-21T04:26:57.729Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T04:26:57.729Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T04:26:57.729Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T04:26:57.892Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T04:26:57.905Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T04:26:57.917Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T04:26:57.929Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T04:26:57.940Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T04:26:57.951Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T04:26:57.964Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T04:26:57.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T04:26:57.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T04:26:58.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T04:26:58.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T04:26:58.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T04:26:58.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T04:26:58.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T04:26:58.066Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T04:26:58.078Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T04:26:58.091Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T04:26:58.103Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T04:26:58.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T04:26:58.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T04:26:58.137Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T04:26:58.148Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T04:26:58.159Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T04:26:58.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T04:26:58.188Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T04:26:58.205Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T04:26:58.215Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T04:26:58.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2023-03-21T04:26:58.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2023-03-21T04:26:58.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2023-03-21T04:26:58.266Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9f8d9f939f37345898a2050de810d76c0875db0 [Pipeline] echo [2023-03-21T04:26:58.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9f8d9f [Pipeline] echo [2023-03-21T04:26:58.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:26:58.329Z] provisioning config files... [2023-03-21T04:26:58.343Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config2705646654292212643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:26:58.648Z] ---> docker-login.sh [2023-03-21T04:26:58.648Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:27:00.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:00.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:00.034Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:00.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:00.034Z] [2023-03-21T04:27:00.034Z] Login Succeeded [2023-03-21T04:27:00.034Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:27:00.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:00.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:00.034Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:00.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:00.034Z] [2023-03-21T04:27:00.034Z] Login Succeeded [2023-03-21T04:27:00.034Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:27:00.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:00.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:00.293Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:00.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:00.293Z] [2023-03-21T04:27:00.293Z] Login Succeeded [2023-03-21T04:27:00.293Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:27:00.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:00.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:00.293Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:00.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:00.293Z] [2023-03-21T04:27:00.293Z] Login Succeeded [2023-03-21T04:27:00.293Z] docker.io [2023-03-21T04:27:00.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:00.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:00.814Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:00.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:00.814Z] [2023-03-21T04:27:00.814Z] Login Succeeded [2023-03-21T04:27:00.814Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:27:00.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T04:27:01.192Z] + git rev-list -1 --merges a9f8d9f939f37345898a2050de810d76c0875db0~1..a9f8d9f939f37345898a2050de810d76c0875db0 [Pipeline] echo [2023-03-21T04:27:01.241Z] -----------> git rev-list -1 --merges a9f8d9f939f37345898a2050de810d76c0875db0~1..a9f8d9f939f37345898a2050de810d76c0875db0 a9f8d9f939f37345898a2050de810d76c0875db0 [false] [Pipeline] sh [2023-03-21T04:27:01.529Z] + git log --format=format:%s -1 a9f8d9f939f37345898a2050de810d76c0875db0 [Pipeline] echo [2023-03-21T04:27:01.544Z] ========================================================= [2023-03-21T04:27:01.544Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T04:27:01.544Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:27:01.871Z] + git log --format=format:%s -1 a9f8d9f939f37345898a2050de810d76c0875db0 [Pipeline] echo [2023-03-21T04:27:01.883Z] [semverPrep] GIT_COMMIT: a9f8d9f939f37345898a2050de810d76c0875db0, Commit Message: refactor!: bump SDK and change configuration file format to YAML [Pipeline] echo [2023-03-21T04:27:01.894Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T04:27:02.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T04:27:02.238Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T04:27:02.238Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T04:27:02.238Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T04:27:02.238Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T04:27:02.238Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T04:27:02.238Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:27:02.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:27:02.592Z] [2023-03-21T04:27:02.592Z] 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-21T04:27:02.911Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:27:03.483Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T04:27:03.483Z] b85a868b505f: Pulling fs layer [2023-03-21T04:27:03.483Z] e2be974225ed: Pulling fs layer [2023-03-21T04:27:03.483Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T04:27:03.483Z] 988bab9f4d93: Pulling fs layer [2023-03-21T04:27:03.483Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T04:27:03.483Z] eaf3925da568: Pulling fs layer [2023-03-21T04:27:03.483Z] bab4dde63d76: Pulling fs layer [2023-03-21T04:27:03.483Z] bde34c3a00c8: Pulling fs layer [2023-03-21T04:27:03.483Z] b352a97aabf1: Pulling fs layer [2023-03-21T04:27:03.483Z] 4872d77fe225: Pulling fs layer [2023-03-21T04:27:03.483Z] 5851b861e8e6: Pulling fs layer [2023-03-21T04:27:03.483Z] bab4dde63d76: Waiting [2023-03-21T04:27:03.483Z] bde34c3a00c8: Waiting [2023-03-21T04:27:03.483Z] b352a97aabf1: Waiting [2023-03-21T04:27:03.483Z] 5851b861e8e6: Waiting [2023-03-21T04:27:03.483Z] 988bab9f4d93: Waiting [2023-03-21T04:27:03.483Z] 1469e6f7b9e6: Waiting [2023-03-21T04:27:03.483Z] eaf3925da568: Waiting [2023-03-21T04:27:03.483Z] 4872d77fe225: Waiting [2023-03-21T04:27:03.483Z] e2be974225ed: Verifying Checksum [2023-03-21T04:27:03.483Z] e2be974225ed: Download complete [2023-03-21T04:27:03.483Z] 988bab9f4d93: Verifying Checksum [2023-03-21T04:27:03.483Z] 988bab9f4d93: Download complete [2023-03-21T04:27:03.745Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T04:27:03.745Z] 1469e6f7b9e6: Download complete [2023-03-21T04:27:03.745Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T04:27:03.745Z] 339a4e72a1f5: Download complete [2023-03-21T04:27:03.745Z] eaf3925da568: Verifying Checksum [2023-03-21T04:27:03.745Z] eaf3925da568: Download complete [2023-03-21T04:27:03.745Z] bde34c3a00c8: Verifying Checksum [2023-03-21T04:27:03.745Z] bde34c3a00c8: Download complete [2023-03-21T04:27:03.745Z] b352a97aabf1: Download complete [2023-03-21T04:27:03.745Z] 4872d77fe225: Verifying Checksum [2023-03-21T04:27:03.745Z] 4872d77fe225: Download complete [2023-03-21T04:27:03.745Z] b85a868b505f: Verifying Checksum [2023-03-21T04:27:03.745Z] b85a868b505f: Download complete [2023-03-21T04:27:03.745Z] 5851b861e8e6: Verifying Checksum [2023-03-21T04:27:03.745Z] 5851b861e8e6: Download complete [2023-03-21T04:27:04.004Z] bab4dde63d76: Verifying Checksum [2023-03-21T04:27:04.004Z] bab4dde63d76: Download complete [2023-03-21T04:27:04.942Z] b85a868b505f: Pull complete [2023-03-21T04:27:05.200Z] e2be974225ed: Pull complete [2023-03-21T04:27:06.140Z] 339a4e72a1f5: Pull complete [2023-03-21T04:27:06.398Z] 988bab9f4d93: Pull complete [2023-03-21T04:27:06.967Z] 1469e6f7b9e6: Pull complete [2023-03-21T04:27:07.226Z] eaf3925da568: Pull complete [2023-03-21T04:27:09.760Z] bab4dde63d76: Pull complete [2023-03-21T04:27:10.019Z] bde34c3a00c8: Pull complete [2023-03-21T04:27:10.278Z] b352a97aabf1: Pull complete [2023-03-21T04:27:10.538Z] 4872d77fe225: Pull complete [2023-03-21T04:27:10.538Z] 5851b861e8e6: Pull complete [2023-03-21T04:27:10.538Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T04:27:10.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:27:10.538Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:27:10.637Z] prd-ubuntu20.04-docker-8c-8g-4719 does not seem to be running inside a container [2023-03-21T04:27:10.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T04:27:16.456Z] $ docker top 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e -eo pid,comm [2023-03-21T04:27:16.506Z] 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-21T04:27:16.506Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T04:27:16.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T04:27:16.535Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T04:27:16.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T04:27:16.654Z] $ docker exec 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e ssh-agent [2023-03-21T04:27:16.759Z] SSH_AUTH_SOCK=/tmp/ssh-A5wQTp1bu4Oy/agent.32 [2023-03-21T04:27:16.759Z] SSH_AGENT_PID=38 [2023-03-21T04:27:16.766Z] Running ssh-add (command line suppressed) [2023-03-21T04:27:16.869Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_16492870973761089438.key (/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_16492870973761089438.key) [2023-03-21T04:27:16.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T04:27:17.182Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T04:27:17.200Z] $ docker exec --env ******** --env ******** 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e ssh-agent -k [2023-03-21T04:27:17.302Z] unset SSH_AUTH_SOCK; [2023-03-21T04:27:17.302Z] unset SSH_AGENT_PID; [2023-03-21T04:27:17.302Z] echo Agent pid 38 killed; [2023-03-21T04:27:17.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T04:27:17.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T04:27:17.341Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T04:27:17.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T04:27:17.472Z] $ docker exec 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e ssh-agent [2023-03-21T04:27:17.581Z] SSH_AUTH_SOCK=/tmp/ssh-BKDHianGF5V0/agent.70 [2023-03-21T04:27:17.581Z] SSH_AGENT_PID=76 [2023-03-21T04:27:17.585Z] Running ssh-add (command line suppressed) [2023-03-21T04:27:17.697Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_3369431315778952437.key (/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_3369431315778952437.key) [2023-03-21T04:27:17.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T04:27:17.995Z] + git semver init [2023-03-21T04:27:18.254Z] 2023-03-21 04:27:18,204 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T04:27:18.254Z] 2023-03-21 04:27:18,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver [2023-03-21T04:27:18.254Z] 2023-03-21 04:27:18,206 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-272/.semver [2023-03-21T04:27:18.254Z] 2023-03-21 04:27:18,206 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-272/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272, universal_newlines=False, shell=None, istream=None) [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,263 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-272/.git/info/exclude [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 with force:False [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,268 [execute] INFO git cat-file --batch-check [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,274 [execute] INFO git cat-file --batch [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T04:27:19.637Z] 2023-03-21 04:27:19,280 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 [2023-03-21T04:27:19.637Z] 0.0.0 [Pipeline] } [2023-03-21T04:27:19.651Z] $ docker exec --env ******** --env ******** 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e ssh-agent -k [2023-03-21T04:27:19.742Z] unset SSH_AUTH_SOCK; [2023-03-21T04:27:19.743Z] unset SSH_AGENT_PID; [2023-03-21T04:27:19.743Z] echo Agent pid 76 killed; [2023-03-21T04:27:19.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T04:27:20.086Z] + git semver [Pipeline] } [2023-03-21T04:27:20.416Z] $ docker stop --time=1 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e [2023-03-21T04:27:21.759Z] $ docker rm -f --volumes 72c96cd19f09b325ff674730624fd679fbf0d9187a225f8fd70e777e4e08995e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:27:22.097Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T04:27:22.303Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T04:27:22.305Z] [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-21T04:27:22.424Z] provisioning config files... [2023-03-21T04:27:22.432Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config1495876474122478479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:27:22.730Z] ---> docker-login.sh [2023-03-21T04:27:22.730Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:27:22.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:22.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:22.730Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:22.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:22.730Z] [2023-03-21T04:27:22.730Z] Login Succeeded [2023-03-21T04:27:22.730Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:27:22.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:22.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:22.730Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:22.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:22.730Z] [2023-03-21T04:27:22.730Z] Login Succeeded [2023-03-21T04:27:22.730Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:27:22.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:22.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:22.989Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:22.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:22.989Z] [2023-03-21T04:27:22.989Z] Login Succeeded [2023-03-21T04:27:22.989Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:27:22.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:22.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:22.989Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:22.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:22.989Z] [2023-03-21T04:27:22.989Z] Login Succeeded [2023-03-21T04:27:22.989Z] docker.io [2023-03-21T04:27:23.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:27:23.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:27:23.248Z] Configure a credential helper to remove this warning. See [2023-03-21T04:27:23.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:27:23.248Z] [2023-03-21T04:27:23.248Z] Login Succeeded [2023-03-21T04:27:23.248Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:27:23.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T04:27:23.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:27:23.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:27:23.336Z] ========================================================= [2023-03-21T04:27:23.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T04:27:23.337Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:27:23.643Z] + 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-21T04:27:23.643Z] Sending build context to Docker daemon 10.86MB [2023-03-21T04:27:23.643Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:27:23.643Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T04:27:23.643Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T04:27:23.643Z] 63b65145d645: Pulling fs layer [2023-03-21T04:27:23.643Z] a2d21d5440eb: Pulling fs layer [2023-03-21T04:27:23.643Z] 935e6c44a52c: Pulling fs layer [2023-03-21T04:27:23.643Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T04:27:23.643Z] 30dea6a524f1: Pulling fs layer [2023-03-21T04:27:23.643Z] a2aff8979fd8: Pulling fs layer [2023-03-21T04:27:23.643Z] 30dea6a524f1: Waiting [2023-03-21T04:27:23.643Z] 94cc34f8dd06: Waiting [2023-03-21T04:27:23.643Z] 6808be2612f2: Pulling fs layer [2023-03-21T04:27:23.643Z] f25807f1079a: Pulling fs layer [2023-03-21T04:27:23.643Z] f25807f1079a: Waiting [2023-03-21T04:27:23.643Z] 6808be2612f2: Waiting [2023-03-21T04:27:23.643Z] a2d21d5440eb: Verifying Checksum [2023-03-21T04:27:23.643Z] a2d21d5440eb: Download complete [2023-03-21T04:27:23.643Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T04:27:23.643Z] 94cc34f8dd06: Download complete [2023-03-21T04:27:23.905Z] 30dea6a524f1: Download complete [2023-03-21T04:27:23.905Z] 63b65145d645: Verifying Checksum [2023-03-21T04:27:23.905Z] 63b65145d645: Download complete [2023-03-21T04:27:23.905Z] a2aff8979fd8: Verifying Checksum [2023-03-21T04:27:23.905Z] a2aff8979fd8: Download complete [2023-03-21T04:27:23.905Z] 63b65145d645: Pull complete [2023-03-21T04:27:24.171Z] a2d21d5440eb: Pull complete [2023-03-21T04:27:24.452Z] f25807f1079a: Verifying Checksum [2023-03-21T04:27:24.452Z] f25807f1079a: Download complete [2023-03-21T04:27:24.715Z] 935e6c44a52c: Verifying Checksum [2023-03-21T04:27:24.715Z] 935e6c44a52c: Download complete [2023-03-21T04:27:24.972Z] 6808be2612f2: Verifying Checksum [2023-03-21T04:27:24.972Z] 6808be2612f2: Download complete [2023-03-21T04:27:29.160Z] 935e6c44a52c: Pull complete [2023-03-21T04:27:29.160Z] 94cc34f8dd06: Pull complete [2023-03-21T04:27:29.160Z] 30dea6a524f1: Pull complete [2023-03-21T04:27:29.419Z] a2aff8979fd8: Pull complete [2023-03-21T04:27:31.945Z] 6808be2612f2: Pull complete [2023-03-21T04:27:32.880Z] f25807f1079a: Pull complete [2023-03-21T04:27:32.880Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T04:27:32.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T04:27:32.880Z] ---> 3b553350e43f [2023-03-21T04:27:32.880Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:27:37.397Z] Still waiting to schedule task [2023-03-21T04:27:37.397Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4717’ is offline [2023-03-21T04:27:38.161Z] ---> Running in fc26d48086bf [2023-03-21T04:27:38.161Z] Removing intermediate container fc26d48086bf [2023-03-21T04:27:38.161Z] ---> 9e233fe465ce [2023-03-21T04:27:38.161Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:27:38.161Z] ---> Running in 93552d311119 [2023-03-21T04:27:38.161Z] Removing intermediate container 93552d311119 [2023-03-21T04:27:38.161Z] ---> a6a67feb2532 [2023-03-21T04:27:38.161Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:27:38.161Z] ---> Running in 879f0ee53976 [2023-03-21T04:27:38.161Z] Removing intermediate container 879f0ee53976 [2023-03-21T04:27:38.161Z] ---> 6ee48b133fb9 [2023-03-21T04:27:38.161Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:27:38.161Z] ---> Running in 6ca08836b77f [2023-03-21T04:27:38.161Z] Removing intermediate container 6ca08836b77f [2023-03-21T04:27:38.161Z] ---> ff5d937e077b [2023-03-21T04:27:38.161Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:27:38.161Z] ---> Running in 3e9fe8ec2121 [2023-03-21T04:27:38.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:27:38.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:27:38.421Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T04:27:38.421Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T04:27:38.421Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T04:27:38.421Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T04:27:38.421Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:27:38.421Z] OK: 269 MiB in 57 packages [2023-03-21T04:27:38.991Z] Removing intermediate container 3e9fe8ec2121 [2023-03-21T04:27:38.992Z] ---> e7ddf1a30683 [2023-03-21T04:27:38.992Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T04:27:38.992Z] ---> Running in b2a0cdbe9fa9 [2023-03-21T04:27:38.992Z] Removing intermediate container b2a0cdbe9fa9 [2023-03-21T04:27:38.992Z] ---> 89503d8df959 [2023-03-21T04:27:38.992Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T04:27:39.257Z] ---> a44fc897c47c [2023-03-21T04:27:39.257Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:27:39.257Z] ---> Running in fc4d9b479d26 [2023-03-21T04:28:18.177Z] Removing intermediate container fc4d9b479d26 [2023-03-21T04:28:18.177Z] ---> eec7de9a2154 [2023-03-21T04:28:18.177Z] Step 11/12 : COPY . . [2023-03-21T04:28:18.177Z] ---> c3944f90d525 [2023-03-21T04:28:18.177Z] Step 12/12 : RUN $MAKE [2023-03-21T04:28:18.177Z] ---> Running in 113a3960a0d4 [2023-03-21T04:28:18.177Z] noop [2023-03-21T04:28:18.177Z] Removing intermediate container 113a3960a0d4 [2023-03-21T04:28:18.177Z] ---> f5004f1e1917 [2023-03-21T04:28:18.177Z] Successfully built f5004f1e1917 [2023-03-21T04:28:18.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:28:18.483Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T04:28:18.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:28:18.565Z] prd-ubuntu20.04-docker-8c-8g-4719 does not seem to be running inside a container [2023-03-21T04:28:18.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T04:28:18.973Z] $ docker top 0ebc74d134018260c76075698872ccb1b0d890e98dc45dcaabfdab4e8215c235 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:28:19.321Z] + go version [2023-03-21T04:28:19.322Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T04:28:19.334Z] $ docker stop --time=1 0ebc74d134018260c76075698872ccb1b0d890e98dc45dcaabfdab4e8215c235 [2023-03-21T04:28:20.600Z] $ docker rm -f --volumes 0ebc74d134018260c76075698872ccb1b0d890e98dc45dcaabfdab4e8215c235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:28:21.012Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T04:28:21.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:28:21.087Z] prd-ubuntu20.04-docker-8c-8g-4719 does not seem to be running inside a container [2023-03-21T04:28:21.120Z] $ 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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T04:28:21.472Z] $ docker top b0c5cf3d5b705b6377da9240b971de65e84c47b5d4dddfd0e125ebb237ac7661 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:28:21.819Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-272 [Pipeline] fileExists [Pipeline] sh [2023-03-21T04:28:22.117Z] + make test [2023-03-21T04:28:22.117Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T04:28:27.382Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T04:28:37.348Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T04:28:37.348Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.0% of statements [2023-03-21T04:28:43.907Z] go vet ./... [2023-03-21T04:28:47.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T04:28:47.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T04:28:47.197Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T04:28:47.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T04:28:47.225Z] $ docker stop --time=1 b0c5cf3d5b705b6377da9240b971de65e84c47b5d4dddfd0e125ebb237ac7661 [2023-03-21T04:28:50.615Z] $ docker rm -f --volumes b0c5cf3d5b705b6377da9240b971de65e84c47b5d4dddfd0e125ebb237ac7661 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:28:51.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T04:28:51.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T04:28:51.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T04:28:52.008Z] + ls -al . [2023-03-21T04:28:52.008Z] total 184 [2023-03-21T04:28:52.009Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 04:28 . [2023-03-21T04:28:52.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:26 .. [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 04:26 .dockerignore [2023-03-21T04:28:52.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:27 .git [2023-03-21T04:28:52.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:26 .github [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 04:26 .gitignore [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 04:26 .golangci.yml [2023-03-21T04:28:52.009Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:27 .semver [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 04:26 Attribution.txt [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 04:26 CHANGELOG.md [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 04:26 Dockerfile [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:26 GOVERNANCE.md [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 04:26 Jenkinsfile [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 04:26 LICENSE [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 04:26 Makefile [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 04:26 OWNERS.md [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 15320 Mar 21 04:26 README.md [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:27 VERSION [2023-03-21T04:28:52.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:26 bin [2023-03-21T04:28:52.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:26 cmd [2023-03-21T04:28:52.009Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 04:28 coverage.out [2023-03-21T04:28:52.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:26 driver [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 3447 Mar 21 04:26 go.mod [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 31301 Mar 21 04:26 go.sum [2023-03-21T04:28:52.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:26 snap [2023-03-21T04:28:52.009Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:28:52.309Z] + 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=a9f8d9f939f37345898a2050de810d76c0875db0 --label arch=amd64 --label version=0.0.0 . [2023-03-21T04:28:52.309Z] Sending build context to Docker daemon 10.87MB [2023-03-21T04:28:52.309Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:28:52.309Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T04:28:52.309Z] ---> f5004f1e1917 [2023-03-21T04:28:52.309Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:28:52.568Z] ---> Running in 72e6e61e561d [2023-03-21T04:28:52.568Z] Removing intermediate container 72e6e61e561d [2023-03-21T04:28:52.568Z] ---> d175d0d13af1 [2023-03-21T04:28:52.568Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:28:52.568Z] ---> Running in 34b7de335fdb [2023-03-21T04:28:52.568Z] Removing intermediate container 34b7de335fdb [2023-03-21T04:28:52.568Z] ---> e30dfa0f295f [2023-03-21T04:28:52.568Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:28:52.827Z] ---> Running in 557b12097f1f [2023-03-21T04:28:52.827Z] Removing intermediate container 557b12097f1f [2023-03-21T04:28:52.827Z] ---> 74b1804260b0 [2023-03-21T04:28:52.827Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:28:52.827Z] ---> Running in 399ed25c50a1 [2023-03-21T04:28:52.827Z] Removing intermediate container 399ed25c50a1 [2023-03-21T04:28:52.827Z] ---> cc4eca4c9fe1 [2023-03-21T04:28:52.827Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:28:52.827Z] ---> Running in 5b483eb9fcfb [2023-03-21T04:28:53.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:28:53.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:28:53.603Z] OK: 269 MiB in 57 packages [2023-03-21T04:28:53.862Z] Removing intermediate container 5b483eb9fcfb [2023-03-21T04:28:53.862Z] ---> d46d8f1cb52e [2023-03-21T04:28:53.862Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T04:28:53.862Z] ---> Running in 8e354b5bd358 [2023-03-21T04:28:53.862Z] Removing intermediate container 8e354b5bd358 [2023-03-21T04:28:53.862Z] ---> 7d6f8ac36149 [2023-03-21T04:28:53.862Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T04:28:54.120Z] ---> f9cff1a93d36 [2023-03-21T04:28:54.120Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:28:54.120Z] ---> Running in 29e4ffec0b3b [2023-03-21T04:28:55.164Z] Removing intermediate container 29e4ffec0b3b [2023-03-21T04:28:55.164Z] ---> 1c9494ce7c62 [2023-03-21T04:28:55.164Z] Step 11/25 : COPY . . [2023-03-21T04:28:55.463Z] ---> e13161628262 [2023-03-21T04:28:55.463Z] Step 12/25 : RUN $MAKE [2023-03-21T04:28:55.463Z] ---> Running in f9056aa729af [2023-03-21T04:28:55.722Z] 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-21T04:29:08.250Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4720 in /w/workspace/gexfoundry_device-rest-go_PR-272 [Pipeline] { [Pipeline] ws [2023-03-21T04:29:08.264Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-03-21T04:29:08.302Z] The recommended git tool is: git [2023-03-21T04:29:13.696Z] using credential edgex-jenkins-ssh [2023-03-21T04:29:13.717Z] Cloning the remote Git repository [2023-03-21T04:29:13.758Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:29:13.851Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-03-21T04:29:13.990Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:29:13.991Z] > git --version # timeout=10 [2023-03-21T04:29:14.013Z] > git --version # 'git version 2.25.1' [2023-03-21T04:29:14.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:29:14.172Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T04:29:15.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T04:29:15.986Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T04:29:16.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T04:29:16.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:29:16.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:29:16.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T04:29:17.474Z] Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit a9f8d9f939f37345898a2050de810d76c0875db0 [2023-03-21T04:29:17.753Z] Removing intermediate container f9056aa729af [2023-03-21T04:29:17.754Z] ---> dc8bfee9f651 [2023-03-21T04:29:17.754Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T04:29:17.754Z] 3.17: Pulling from library/alpine [2023-03-21T04:29:17.754Z] 63b65145d645: Already exists [2023-03-21T04:29:17.754Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T04:29:17.754Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T04:29:17.754Z] ---> b2aa39c304c2 [2023-03-21T04:29:17.754Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T04:29:17.754Z] ---> Running in c88a42e4e18c [2023-03-21T04:29:17.754Z] Removing intermediate container c88a42e4e18c [2023-03-21T04:29:17.754Z] ---> 524068c886db [2023-03-21T04:29:17.754Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T04:29:17.754Z] ---> Running in 05e1529fdc00 [2023-03-21T04:29:17.754Z] Removing intermediate container 05e1529fdc00 [2023-03-21T04:29:17.754Z] ---> 922f72567720 [2023-03-21T04:29:17.754Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T04:29:17.754Z] ---> Running in 24ffe94db9b9 [2023-03-21T04:29:17.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:29:17.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:29:17.754Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T04:29:17.754Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:29:17.754Z] OK: 7 MiB in 16 packages [2023-03-21T04:29:17.754Z] Removing intermediate container 24ffe94db9b9 [2023-03-21T04:29:17.754Z] ---> 005f5b47a5ed [2023-03-21T04:29:17.754Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T04:29:17.763Z] Merge succeeded, producing a9f8d9f939f37345898a2050de810d76c0875db0 [2023-03-21T04:29:17.764Z] Checking out Revision a9f8d9f939f37345898a2050de810d76c0875db0 (PR-272) [2023-03-21T04:29:18.724Z] ---> 1a20b871b05e [2023-03-21T04:29:18.724Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T04:29:18.724Z] ---> ae8c8c0c1fd8 [2023-03-21T04:29:18.724Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T04:29:17.492Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T04:29:17.565Z] > git checkout -f a9f8d9f939f37345898a2050de810d76c0875db0 # timeout=10 [2023-03-21T04:29:17.653Z] > git remote # timeout=10 [2023-03-21T04:29:17.676Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T04:29:17.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:29:17.711Z] > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [2023-03-21T04:29:17.742Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T04:29:17.769Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T04:29:17.784Z] > git checkout -f a9f8d9f939f37345898a2050de810d76c0875db0 # timeout=10 [2023-03-21T04:29:18.991Z] ---> 31af1572dab6 [2023-03-21T04:29:18.991Z] Step 20/25 : EXPOSE 59986 [2023-03-21T04:29:18.991Z] ---> Running in 0ba740c49648 [2023-03-21T04:29:18.991Z] Removing intermediate container 0ba740c49648 [2023-03-21T04:29:18.991Z] ---> d4372579cfad [2023-03-21T04:29:18.991Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T04:29:18.991Z] ---> Running in ec7a8b0ae2e3 [2023-03-21T04:29:18.991Z] Removing intermediate container ec7a8b0ae2e3 [2023-03-21T04:29:18.991Z] ---> dc4b4e72b371 [2023-03-21T04:29:18.991Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T04:29:19.254Z] ---> Running in fc73abd7f47f [2023-03-21T04:29:19.254Z] Removing intermediate container fc73abd7f47f [2023-03-21T04:29:19.254Z] ---> 0c6f592007c2 [2023-03-21T04:29:19.254Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T04:29:19.254Z] ---> Running in acbc1f716f48 [2023-03-21T04:29:19.254Z] Removing intermediate container acbc1f716f48 [2023-03-21T04:29:19.254Z] ---> c102a3c2e827 [2023-03-21T04:29:19.254Z] Step 24/25 : LABEL git_sha=a9f8d9f939f37345898a2050de810d76c0875db0 [2023-03-21T04:29:19.254Z] ---> Running in 225413b172cb [2023-03-21T04:29:19.513Z] Removing intermediate container 225413b172cb [2023-03-21T04:29:19.513Z] ---> 46f7f54b928b [2023-03-21T04:29:19.513Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T04:29:19.513Z] ---> Running in 5f1c81426983 [2023-03-21T04:29:19.513Z] Removing intermediate container 5f1c81426983 [2023-03-21T04:29:19.513Z] ---> 5bd262dd1e96 [2023-03-21T04:29:19.513Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T04:29:19.513Z] Successfully built 5bd262dd1e96 [2023-03-21T04:29:19.513Z] 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-21T04:29:19.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:29:19.998Z] [2023-03-21T04:29:19.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:29:20.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:29:20.297Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T04:29:20.297Z] 5eb5b503b376: Pulling fs layer [2023-03-21T04:29:20.297Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T04:29:20.297Z] ec43610c2a17: Pulling fs layer [2023-03-21T04:29:20.297Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T04:29:20.297Z] 33b1e0a273af: Pulling fs layer [2023-03-21T04:29:20.297Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T04:29:20.297Z] 2f39f015ded8: Pulling fs layer [2023-03-21T04:29:20.297Z] 33b1e0a273af: Waiting [2023-03-21T04:29:20.297Z] 5d3b04190fa2: Waiting [2023-03-21T04:29:20.297Z] 2f39f015ded8: Waiting [2023-03-21T04:29:20.297Z] 3a2ae6a8a46f: Waiting [2023-03-21T04:29:20.297Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T04:29:20.297Z] 5c69ac0246d0: Download complete [2023-03-21T04:29:20.297Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T04:29:20.297Z] 3a2ae6a8a46f: Download complete [2023-03-21T04:29:20.297Z] 33b1e0a273af: Verifying Checksum [2023-03-21T04:29:20.297Z] 33b1e0a273af: Download complete [2023-03-21T04:29:20.557Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T04:29:20.557Z] 5d3b04190fa2: Download complete [2023-03-21T04:29:20.557Z] ec43610c2a17: Verifying Checksum [2023-03-21T04:29:20.557Z] ec43610c2a17: Download complete [2023-03-21T04:29:20.557Z] 5eb5b503b376: Verifying Checksum [2023-03-21T04:29:20.557Z] 5eb5b503b376: Download complete [2023-03-21T04:29:21.124Z] 2f39f015ded8: Verifying Checksum [2023-03-21T04:29:21.124Z] 2f39f015ded8: Download complete [2023-03-21T04:29:21.245Z] Commit message: "refactor!: bump SDK and change configuration file format to YAML" [2023-03-21T04:29:21.498Z] [2023-03-21T04:29:21.498Z] GitHub has been notified of this commit’s build result [2023-03-21T04:29:21.498Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:29:22.010Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T04:29:22.010Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T04:29:22.010Z] Dload Upload Total Spent Left Speed [2023-03-21T04:29:22.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [2023-03-21T04:29:22.059Z] 5eb5b503b376: Pull complete [2023-03-21T04:29:22.059Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2023-03-21T04:29:22.625Z] ec43610c2a17: Pull complete [2023-03-21T04:29:22.625Z] 3a2ae6a8a46f: Pull complete [2023-03-21T04:29:22.686Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T04:29:22.882Z] 33b1e0a273af: Pull complete [2023-03-21T04:29:22.882Z] 5d3b04190fa2: Pull complete [2023-03-21T04:29:23.005Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T04:29:23.005Z] + sudo tee /etc/docker/daemon.new [2023-03-21T04:29:23.005Z] { [2023-03-21T04:29:23.005Z] "registry-mirrors": [ [2023-03-21T04:29:23.005Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T04:29:23.005Z] ], [2023-03-21T04:29:23.005Z] "bip": "10.250.0.254/24", [2023-03-21T04:29:23.005Z] "hosts": [ [2023-03-21T04:29:23.005Z] "tcp://0.0.0.0:5555", [2023-03-21T04:29:23.005Z] "unix:///var/run/docker.sock" [2023-03-21T04:29:23.005Z] ], [2023-03-21T04:29:23.005Z] "mtu": 1458, [2023-03-21T04:29:23.005Z] "selinux-enabled": true, [2023-03-21T04:29:23.005Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T04:29:23.005Z] } [Pipeline] sh [2023-03-21T04:29:23.324Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T04:29:23.640Z] + sudo service docker restart [2023-03-21T04:29:28.143Z] 2f39f015ded8: Pull complete [2023-03-21T04:29:28.143Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T04:29:28.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:29:28.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:29:28.215Z] prd-ubuntu20.04-docker-8c-8g-4719 does not seem to be running inside a container [2023-03-21T04:29:28.246Z] $ 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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T04:29:32.598Z] $ docker top 8833d742d697dc357f58bdbc6977b5ac50b08fcd4a2909f42338dd709d4056dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:29:32.967Z] ---> job-cost.sh [2023-03-21T04:29:32.967Z] lf-activate-venv: SKIPPING [2023-03-21T04:29:32.967Z] INFO: No Stack... [2023-03-21T04:29:33.226Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T04:29:33.794Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T04:29:34.081Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-272/archives/cost.csv [2023-03-21T04:29:34.081Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T04:29:34.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] [2023-03-21T04:29:34.102Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] did not exist. Created. [2023-03-21T04:29:34.102Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T04:29:34.398Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T04:29:34.429Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T04:29:34.435Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T04:29:34.454Z] $ docker stop --time=1 8833d742d697dc357f58bdbc6977b5ac50b08fcd4a2909f42338dd709d4056dd [2023-03-21T04:29:35.610Z] $ docker rm -f --volumes 8833d742d697dc357f58bdbc6977b5ac50b08fcd4a2909f42338dd709d4056dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:29:41.888Z] provisioning config files... [2023-03-21T04:29:41.910Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config13483704589371935497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:29:42.246Z] ---> docker-login.sh [2023-03-21T04:29:42.247Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:29:42.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:29:42.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:29:42.786Z] Configure a credential helper to remove this warning. See [2023-03-21T04:29:42.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:29:42.786Z] [2023-03-21T04:29:42.786Z] Login Succeeded [2023-03-21T04:29:42.786Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:29:43.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:29:43.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:29:43.320Z] Configure a credential helper to remove this warning. See [2023-03-21T04:29:43.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:29:43.320Z] [2023-03-21T04:29:43.320Z] Login Succeeded [2023-03-21T04:29:43.320Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:29:43.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:29:43.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:29:43.587Z] Configure a credential helper to remove this warning. See [2023-03-21T04:29:43.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:29:43.587Z] [2023-03-21T04:29:43.587Z] Login Succeeded [2023-03-21T04:29:43.587Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:29:43.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:29:43.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:29:43.854Z] Configure a credential helper to remove this warning. See [2023-03-21T04:29:43.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:29:43.854Z] [2023-03-21T04:29:43.854Z] Login Succeeded [2023-03-21T04:29:43.854Z] docker.io [2023-03-21T04:29:44.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:29:44.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:29:44.388Z] Configure a credential helper to remove this warning. See [2023-03-21T04:29:44.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:29:44.388Z] [2023-03-21T04:29:44.388Z] Login Succeeded [2023-03-21T04:29:44.388Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:29:44.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T04:29:44.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:29:44.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:29:44.667Z] ========================================================= [2023-03-21T04:29:44.667Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T04:29:44.667Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:29:45.008Z] + 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-21T04:29:45.008Z] Sending build context to Docker daemon 138.2kB [2023-03-21T04:29:45.281Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:29:45.281Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T04:29:45.281Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T04:29:45.281Z] af6eaf76a39c: Pulling fs layer [2023-03-21T04:29:45.281Z] 55522c791124: Pulling fs layer [2023-03-21T04:29:45.281Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T04:29:45.281Z] 169dfbe0d373: Pulling fs layer [2023-03-21T04:29:45.281Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T04:29:45.281Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T04:29:45.281Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T04:29:45.281Z] 169dfbe0d373: Waiting [2023-03-21T04:29:45.281Z] e1ff8fa3b103: Waiting [2023-03-21T04:29:45.281Z] 52ebb69f0ebf: Waiting [2023-03-21T04:29:45.281Z] 5abe8eddf0d5: Waiting [2023-03-21T04:29:45.281Z] 55522c791124: Verifying Checksum [2023-03-21T04:29:45.281Z] 55522c791124: Download complete [2023-03-21T04:29:45.554Z] 169dfbe0d373: Verifying Checksum [2023-03-21T04:29:45.554Z] 169dfbe0d373: Download complete [2023-03-21T04:29:45.554Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T04:29:45.554Z] e1ff8fa3b103: Download complete [2023-03-21T04:29:45.554Z] af6eaf76a39c: Verifying Checksum [2023-03-21T04:29:45.554Z] af6eaf76a39c: Download complete [2023-03-21T04:29:46.527Z] af6eaf76a39c: Pull complete [2023-03-21T04:29:46.527Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T04:29:46.527Z] 5abe8eddf0d5: Download complete [2023-03-21T04:29:47.113Z] 55522c791124: Pull complete [2023-03-21T04:29:47.700Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T04:29:47.700Z] 52ebb69f0ebf: Download complete [2023-03-21T04:29:47.700Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T04:29:47.700Z] ce5c4a1c91eb: Download complete [2023-03-21T04:29:57.776Z] ce5c4a1c91eb: Pull complete [2023-03-21T04:29:57.776Z] 169dfbe0d373: Pull complete [2023-03-21T04:29:57.776Z] e1ff8fa3b103: Pull complete [2023-03-21T04:30:04.421Z] 52ebb69f0ebf: Pull complete [2023-03-21T04:30:06.364Z] 5abe8eddf0d5: Pull complete [2023-03-21T04:30:06.364Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T04:30:06.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T04:30:06.364Z] ---> 6cb57ee374ae [2023-03-21T04:30:06.364Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:30:08.303Z] ---> Running in 6fef31cb3b2a [2023-03-21T04:30:08.303Z] Removing intermediate container 6fef31cb3b2a [2023-03-21T04:30:08.303Z] ---> 15cf08a7dda9 [2023-03-21T04:30:08.303Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:30:08.303Z] ---> Running in 352ff1c1d176 [2023-03-21T04:30:08.569Z] Removing intermediate container 352ff1c1d176 [2023-03-21T04:30:08.569Z] ---> e713bca42583 [2023-03-21T04:30:08.569Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:30:08.569Z] ---> Running in c857d950fae0 [2023-03-21T04:30:08.835Z] Removing intermediate container c857d950fae0 [2023-03-21T04:30:08.835Z] ---> d0f296d34f5f [2023-03-21T04:30:08.835Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:30:09.100Z] ---> Running in 0c8a947e6c1b [2023-03-21T04:30:09.367Z] Removing intermediate container 0c8a947e6c1b [2023-03-21T04:30:09.367Z] ---> 72827d0f2484 [2023-03-21T04:30:09.367Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:30:09.367Z] ---> Running in 3d3faadfdef5 [2023-03-21T04:30:10.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:30:10.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:30:11.864Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T04:30:11.864Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T04:30:11.864Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T04:30:11.864Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T04:30:11.864Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:30:12.131Z] OK: 268 MiB in 57 packages [2023-03-21T04:30:13.084Z] Removing intermediate container 3d3faadfdef5 [2023-03-21T04:30:13.084Z] ---> 243ebde262e9 [2023-03-21T04:30:13.084Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T04:30:13.084Z] ---> Running in 6d99f0a16f20 [2023-03-21T04:30:13.349Z] Removing intermediate container 6d99f0a16f20 [2023-03-21T04:30:13.349Z] ---> 9af90f71103e [2023-03-21T04:30:13.349Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T04:30:13.615Z] ---> 96a119521b3b [2023-03-21T04:30:13.615Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:30:13.882Z] ---> Running in 465ad0191069 [2023-03-21T04:31:21.738Z] Removing intermediate container 465ad0191069 [2023-03-21T04:31:21.738Z] ---> a2dcdc76c45f [2023-03-21T04:31:21.738Z] Step 11/12 : COPY . . [2023-03-21T04:31:21.738Z] ---> de9cae23553f [2023-03-21T04:31:21.738Z] Step 12/12 : RUN $MAKE [2023-03-21T04:31:21.738Z] ---> Running in 5532a1a72727 [2023-03-21T04:31:21.738Z] noop [2023-03-21T04:31:21.738Z] Removing intermediate container 5532a1a72727 [2023-03-21T04:31:21.738Z] ---> 785f606ea925 [2023-03-21T04:31:21.738Z] Successfully built 785f606ea925 [2023-03-21T04:31:21.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:31:22.076Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T04:31:22.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:31:22.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container [2023-03-21T04:31:22.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T04:31:24.373Z] $ docker top 4c33349041267109b410dcc4279952ab99fca16db4d47bc73d1fb107a9c3859e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:31:25.184Z] + go version [2023-03-21T04:31:25.184Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T04:31:25.200Z] $ docker stop --time=1 4c33349041267109b410dcc4279952ab99fca16db4d47bc73d1fb107a9c3859e [2023-03-21T04:31:26.793Z] $ docker rm -f --volumes 4c33349041267109b410dcc4279952ab99fca16db4d47bc73d1fb107a9c3859e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:31:27.330Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T04:31:27.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:31:27.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container [2023-03-21T04:31:27.565Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T04:31:28.613Z] $ docker top 55ef38ec176bd263da52f621a65d692904c951e84a9eac306316893ac68c3446 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:31:29.106Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-21T04:31:29.436Z] + make test [2023-03-21T04:31:29.436Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T04:32:01.690Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T04:33:53.373Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T04:33:53.373Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 33.0% of statements [2023-03-21T04:33:53.373Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T04:33:53.373Z] go vet ./... [2023-03-21T04:34:25.613Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T04:34:25.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T04:34:25.613Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T04:34:25.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T04:34:25.641Z] $ docker stop --time=1 55ef38ec176bd263da52f621a65d692904c951e84a9eac306316893ac68c3446 [2023-03-21T04:34:27.541Z] $ docker rm -f --volumes 55ef38ec176bd263da52f621a65d692904c951e84a9eac306316893ac68c3446 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:34:28.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T04:34:28.775Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T04:34:29.184Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:34:29.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T04:34:29.890Z] + ls -al . [2023-03-21T04:34:29.890Z] total 180 [2023-03-21T04:34:29.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:31 . [2023-03-21T04:34:29.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:29 .. [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 04:29 .dockerignore [2023-03-21T04:34:29.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:29 .git [2023-03-21T04:34:29.890Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:29 .github [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 04:29 .gitignore [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 04:29 .golangci.yml [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 04:29 Attribution.txt [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 04:29 CHANGELOG.md [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 04:29 Dockerfile [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:29 GOVERNANCE.md [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 04:29 Jenkinsfile [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 04:29 LICENSE [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 04:29 Makefile [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 04:29 OWNERS.md [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 15320 Mar 21 04:29 README.md [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:27 VERSION [2023-03-21T04:34:29.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:29 bin [2023-03-21T04:34:29.890Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:29 cmd [2023-03-21T04:34:29.890Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 04:33 coverage.out [2023-03-21T04:34:29.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:29 driver [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 3447 Mar 21 04:29 go.mod [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 31301 Mar 21 04:29 go.sum [2023-03-21T04:34:29.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:29 snap [2023-03-21T04:34:29.890Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 04:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:34:30.234Z] + 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=a9f8d9f939f37345898a2050de810d76c0875db0 --label arch=arm64 --label version=0.0.0 . [2023-03-21T04:34:30.234Z] Sending build context to Docker daemon 153.1kB [2023-03-21T04:34:30.503Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:34:30.503Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T04:34:30.503Z] ---> 785f606ea925 [2023-03-21T04:34:30.503Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:34:30.503Z] ---> Running in 6102c75624ca [2023-03-21T04:34:31.089Z] Removing intermediate container 6102c75624ca [2023-03-21T04:34:31.089Z] ---> caabd639017a [2023-03-21T04:34:31.089Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:34:31.089Z] ---> Running in bf66d8379a71 [2023-03-21T04:34:31.357Z] Removing intermediate container bf66d8379a71 [2023-03-21T04:34:31.357Z] ---> 089d89ad5a89 [2023-03-21T04:34:31.357Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:34:31.357Z] ---> Running in 2f9feeba56ac [2023-03-21T04:34:31.940Z] Removing intermediate container 2f9feeba56ac [2023-03-21T04:34:31.940Z] ---> ad3125c42a83 [2023-03-21T04:34:31.940Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:34:31.940Z] ---> Running in 8978339db56e [2023-03-21T04:34:32.209Z] Removing intermediate container 8978339db56e [2023-03-21T04:34:32.209Z] ---> 760c8257025e [2023-03-21T04:34:32.209Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:34:32.209Z] ---> Running in 01c440493be8 [2023-03-21T04:34:33.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:34:33.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:34:35.163Z] OK: 268 MiB in 57 packages [2023-03-21T04:34:35.842Z] Removing intermediate container 01c440493be8 [2023-03-21T04:34:35.842Z] ---> 5f7aa21864e6 [2023-03-21T04:34:35.842Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T04:34:35.842Z] ---> Running in c6fdb279ce36 [2023-03-21T04:34:36.111Z] Removing intermediate container c6fdb279ce36 [2023-03-21T04:34:36.111Z] ---> 00c1d7e464d4 [2023-03-21T04:34:36.111Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T04:34:36.729Z] ---> bfe737359ae2 [2023-03-21T04:34:36.729Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:34:36.729Z] ---> Running in 71fa31d41b41 [2023-03-21T04:34:39.345Z] Removing intermediate container 71fa31d41b41 [2023-03-21T04:34:39.345Z] ---> 6a0888c79b2d [2023-03-21T04:34:39.345Z] Step 11/25 : COPY . . [2023-03-21T04:34:39.929Z] ---> 0e246dc71544 [2023-03-21T04:34:39.929Z] Step 12/25 : RUN $MAKE [2023-03-21T04:34:39.929Z] ---> Running in 8fcac96e2e86 [2023-03-21T04:34:40.892Z] 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-21T04:36:47.593Z] Removing intermediate container 8fcac96e2e86 [2023-03-21T04:36:47.593Z] ---> 0f91e83b46aa [2023-03-21T04:36:47.593Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T04:36:47.593Z] 3.17: Pulling from library/alpine [2023-03-21T04:36:47.593Z] af6eaf76a39c: Already exists [2023-03-21T04:36:47.593Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T04:36:47.593Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T04:36:47.593Z] ---> d74e625d9115 [2023-03-21T04:36:47.593Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T04:36:47.593Z] ---> Running in 9a3ca2ea6863 [2023-03-21T04:36:47.593Z] Removing intermediate container 9a3ca2ea6863 [2023-03-21T04:36:47.593Z] ---> 2bb57bc847ef [2023-03-21T04:36:47.593Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T04:36:47.593Z] ---> Running in e7ee0debd823 [2023-03-21T04:36:47.593Z] Removing intermediate container e7ee0debd823 [2023-03-21T04:36:47.593Z] ---> 2884c1013edc [2023-03-21T04:36:47.593Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T04:36:47.593Z] ---> Running in 7b57f601efac [2023-03-21T04:36:47.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:36:47.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:36:47.593Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T04:36:47.593Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:36:47.593Z] OK: 8 MiB in 16 packages [2023-03-21T04:36:47.593Z] Removing intermediate container 7b57f601efac [2023-03-21T04:36:47.593Z] ---> 251bf1031496 [2023-03-21T04:36:47.593Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T04:36:49.009Z] ---> 95d8a8d8a0ca [2023-03-21T04:36:49.009Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T04:36:49.282Z] ---> 3a08b6dba2f7 [2023-03-21T04:36:49.282Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T04:36:49.867Z] ---> 502f2102ec39 [2023-03-21T04:36:49.867Z] Step 20/25 : EXPOSE 59986 [2023-03-21T04:36:49.867Z] ---> Running in 913ef7d6c52c [2023-03-21T04:36:50.134Z] Removing intermediate container 913ef7d6c52c [2023-03-21T04:36:50.134Z] ---> c5b7d272e861 [2023-03-21T04:36:50.134Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T04:36:50.134Z] ---> Running in 9fc985f869de [2023-03-21T04:36:50.404Z] Removing intermediate container 9fc985f869de [2023-03-21T04:36:50.404Z] ---> ba0fc4d7822d [2023-03-21T04:36:50.404Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T04:36:50.672Z] ---> Running in 4a0a088e483f [2023-03-21T04:36:50.941Z] Removing intermediate container 4a0a088e483f [2023-03-21T04:36:50.941Z] ---> bfcd665c94de [2023-03-21T04:36:50.941Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T04:36:50.941Z] ---> Running in 2188fb95ac5e [2023-03-21T04:36:51.211Z] Removing intermediate container 2188fb95ac5e [2023-03-21T04:36:51.211Z] ---> 55800638ff52 [2023-03-21T04:36:51.211Z] Step 24/25 : LABEL git_sha=a9f8d9f939f37345898a2050de810d76c0875db0 [2023-03-21T04:36:51.480Z] ---> Running in e8a8eea8626a [2023-03-21T04:36:51.747Z] Removing intermediate container e8a8eea8626a [2023-03-21T04:36:51.747Z] ---> 7d69c6a9032f [2023-03-21T04:36:51.747Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T04:36:51.747Z] ---> Running in 0bf3f1aada47 [2023-03-21T04:36:52.013Z] Removing intermediate container 0bf3f1aada47 [2023-03-21T04:36:52.013Z] ---> 97e9d304041e [2023-03-21T04:36:52.013Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T04:36:52.013Z] Successfully built 97e9d304041e [2023-03-21T04:36:52.013Z] 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-21T04:36:52.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T04:36:52.457Z] [2023-03-21T04:36:52.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:36:52.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T04:36:52.788Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T04:36:52.788Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T04:36:52.788Z] 04944245beec: Pulling fs layer [2023-03-21T04:36:52.788Z] 699f458cf7ca: Pulling fs layer [2023-03-21T04:36:52.788Z] 765212b225bb: Pulling fs layer [2023-03-21T04:36:52.788Z] f23df028b6ca: Pulling fs layer [2023-03-21T04:36:52.788Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T04:36:52.788Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T04:36:52.788Z] f23df028b6ca: Waiting [2023-03-21T04:36:52.788Z] d65c8cfc05b1: Waiting [2023-03-21T04:36:52.788Z] 2437ff75d9bd: Waiting [2023-03-21T04:36:52.788Z] 765212b225bb: Waiting [2023-03-21T04:36:53.057Z] 04944245beec: Verifying Checksum [2023-03-21T04:36:53.057Z] 04944245beec: Download complete [2023-03-21T04:36:53.057Z] 765212b225bb: Download complete [2023-03-21T04:36:53.057Z] f23df028b6ca: Download complete [2023-03-21T04:36:53.057Z] d65c8cfc05b1: Download complete [2023-03-21T04:36:53.057Z] 699f458cf7ca: Verifying Checksum [2023-03-21T04:36:53.057Z] 699f458cf7ca: Download complete [2023-03-21T04:36:53.642Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T04:36:53.642Z] 8998bd30e6a1: Download complete [2023-03-21T04:36:55.591Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T04:36:55.591Z] 2437ff75d9bd: Download complete [2023-03-21T04:36:57.547Z] 8998bd30e6a1: Pull complete [2023-03-21T04:36:57.815Z] 04944245beec: Pull complete [2023-03-21T04:36:59.222Z] 699f458cf7ca: Pull complete [2023-03-21T04:36:59.222Z] 765212b225bb: Pull complete [2023-03-21T04:36:59.809Z] f23df028b6ca: Pull complete [2023-03-21T04:37:00.079Z] d65c8cfc05b1: Pull complete [2023-03-21T04:37:15.069Z] 2437ff75d9bd: Pull complete [2023-03-21T04:37:15.069Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T04:37:15.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T04:37:15.069Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:37:15.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-4720 does not seem to be running inside a container [2023-03-21T04:37:15.302Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T04:37:17.731Z] $ docker top fe9a82fe1ebd250b76fd59363804ae6c807234e6e3c38a9b3d56be5daea1d61b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:18.233Z] ---> job-cost.sh [2023-03-21T04:37:18.497Z] lf-activate-venv: SKIPPING [2023-03-21T04:37:18.497Z] INFO: No Stack... [2023-03-21T04:37:19.079Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T04:37:19.660Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T04:37:19.972Z] + + cutcat -d, /w/workspace/device-rest-go/2/archives/cost.csv -f6 [2023-03-21T04:37:19.972Z] [Pipeline] lock [2023-03-21T04:37:20.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] [2023-03-21T04:37:20.037Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] did not exist. Created. [2023-03-21T04:37:20.037Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T04:37:20.365Z] /w/workspace/device-rest-go/2@tmp/durable-2b279d0d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T04:37:20.696Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T04:37:20.719Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T04:37:20.759Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T04:37:20.766Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-272-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T04:37:20.776Z] $ docker stop --time=1 fe9a82fe1ebd250b76fd59363804ae6c807234e6e3c38a9b3d56be5daea1d61b [2023-03-21T04:37:22.225Z] $ docker rm -f --volumes fe9a82fe1ebd250b76fd59363804ae6c807234e6e3c38a9b3d56be5daea1d61b [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-21T04:37:22.601Z] provisioning config files... [2023-03-21T04:37:22.608Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config14427114806699092517tmp [Pipeline] { [Pipeline] sh [2023-03-21T04:37:22.899Z] + set +x [2023-03-21T04:37:22.899Z] + curl -s https://codecov.io/bash [2023-03-21T04:37:22.899Z] + bash -s -- [2023-03-21T04:37:22.899Z] [2023-03-21T04:37:22.899Z] _____ _ [2023-03-21T04:37:22.899Z] / ____| | | [2023-03-21T04:37:22.899Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T04:37:22.899Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T04:37:22.899Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T04:37:22.899Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T04:37:22.899Z] Bash-1.0.6 [2023-03-21T04:37:22.899Z] [2023-03-21T04:37:22.899Z] [2023-03-21T04:37:22.899Z] ==> git version 2.25.1 found [2023-03-21T04:37:22.899Z] ==> 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-21T04:37:22.899Z] Release-Date: 2020-01-08 [2023-03-21T04:37:22.899Z] 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-21T04:37:22.899Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T04:37:22.899Z] ==> Jenkins CI detected. [2023-03-21T04:37:22.899Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T04:37:22.899Z] project root: . [2023-03-21T04:37:22.899Z] --> token set from env [2023-03-21T04:37:22.899Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T04:37:22.899Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T04:37:22.899Z] ==> Python coveragepy not found [2023-03-21T04:37:22.899Z] ==> Searching for coverage reports in: [2023-03-21T04:37:22.899Z] + . [2023-03-21T04:37:22.899Z] -> Found 1 reports [2023-03-21T04:37:22.899Z] ==> Detecting git/mercurial file structure [2023-03-21T04:37:22.899Z] ==> Reading reports [2023-03-21T04:37:22.899Z] + ./coverage.out bytes=14200 [2023-03-21T04:37:23.159Z] ==> Appending adjustments [2023-03-21T04:37:23.159Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T04:37:23.159Z] + Found adjustments [2023-03-21T04:37:23.159Z] ==> Gzipping contents [2023-03-21T04:37:23.159Z] 4.0K /tmp/codecov.bLpwPq.gz [2023-03-21T04:37:23.159Z] ==> Uploading reports [2023-03-21T04:37:23.159Z] url: https://codecov.io [2023-03-21T04:37:23.159Z] query: branch=PR-272&commit=a9f8d9f939f37345898a2050de810d76c0875db0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-272%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T04:37:23.159Z] -> Pinging Codecov [2023-03-21T04:37:23.159Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-272&commit=a9f8d9f939f37345898a2050de810d76c0875db0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-272%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T04:37:23.159Z] -> Uploading to [2023-03-21T04:37:23.159Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/a9f8d9f939f37345898a2050de810d76c0875db0/c6dcd45b-a90f-4f1a-a5f9-6acd0619d3e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T043723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cc79ab6518e270352a09386861dd5e3da833dcc831bc0b48f27ba8af39a34f9 [2023-03-21T04:37:23.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T04:37:23.159Z] Dload Upload Total Spent Left Speed [2023-03-21T04:37:23.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2431 0 0 100 2431 0 11000 --:--:-- --:--:-- --:--:-- 10950 100 2431 0 0 100 2431 0 8240 --:--:-- --:--:-- --:--:-- 8212 [2023-03-21T04:37:23.678Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a9f8d9f939f37345898a2050de810d76c0875db0 [Pipeline] } [2023-03-21T04:37:23.686Z] 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-21T04:37:24.299Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-272/archives ] [2023-03-21T04:37:24.299Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T04:37:24.299Z] total 16 [2023-03-21T04:37:24.299Z] drwxr-xr-x 3 root root 4096 Mar 21 04:29 . [2023-03-21T04:37:24.299Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:29 .. [2023-03-21T04:37:24.299Z] drwxr-xr-x 2 root root 4096 Mar 21 04:29 cost [2023-03-21T04:37:24.299Z] -rw-r--r-- 1 root root 86 Mar 21 04:29 cost.csv [2023-03-21T04:37:24.299Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T04:37:24.299Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T04:37:24.299Z] total 16 [2023-03-21T04:37:24.299Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:29 . [2023-03-21T04:37:24.299Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:29 .. [2023-03-21T04:37:24.299Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 04:29 cost [2023-03-21T04:37:24.299Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 04:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:24.588Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:25.448Z] ---> package-listing.sh [2023-03-21T04:37:25.448Z] ++ facter osfamily [2023-03-21T04:37:25.448Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T04:37:25.708Z] + OS_FAMILY=debian [2023-03-21T04:37:25.708Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T04:37:25.708Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T04:37:25.708Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T04:37:25.708Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T04:37:25.708Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T04:37:25.708Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-272 ']' [2023-03-21T04:37:25.708Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T04:37:25.708Z] + case "${OS_FAMILY}" in [2023-03-21T04:37:25.708Z] + dpkg -l [2023-03-21T04:37:25.708Z] + grep '^ii' [2023-03-21T04:37:25.708Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T04:37:25.708Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T04:37:25.708Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T04:37:25.708Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-272 ']' [2023-03-21T04:37:25.708Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-272/archives/ [2023-03-21T04:37:25.708Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-272/archives/ [Pipeline] echo [2023-03-21T04:37:25.718Z] 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-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T04:37:25.994Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:37:26.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:37:26.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:37:26.615Z] prd-ubuntu20.04-docker-8c-8g-4719 does not seem to be running inside a container [2023-03-21T04:37:26.647Z] $ 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-272/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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T04:37:26.849Z] $ docker top bc77fb0352a6747ac5dda4a39437aa91fb1484541af89e7153405d7da926d99f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:37:27.189Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T04:37:27.469Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T04:37:27.749Z] + ls /var/log/sa-host [2023-03-21T04:37:27.749Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:37:27.809Z] provisioning config files... [2023-03-21T04:37:27.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config7431298195751767441tmp [Pipeline] { [Pipeline] echo [2023-03-21T04:37:27.826Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:28.108Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T04:37:28.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:28.448Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T04:37:28.457Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:28.742Z] ---> sudo-logs.sh [2023-03-21T04:37:28.742Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T04:37:28.769Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:29.052Z] ---> job-cost.sh [2023-03-21T04:37:29.052Z] lf-activate-venv: SKIPPING [2023-03-21T04:37:29.052Z] DEBUG: total: 0.2199999988079071 [2023-03-21T04:37:29.052Z] INFO: Retrieving Stack Cost... [2023-03-21T04:37:29.311Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T04:37:29.878Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T04:37:29.888Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:37:30.170Z] ---> logs-deploy.sh [2023-03-21T04:37:30.170Z] lf-activate-venv: SKIPPING [2023-03-21T04:37:30.170Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-272/2 [2023-03-21T04:37:30.170Z] INFO: archiving workspace using pattern(s): [2023-03-21T04:37:31.104Z] Archives upload complete. [2023-03-21T04:37:31.104Z] INFO: archiving logs to Nexus