Pull request #284 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe1834ced68f714b5048b61ca1ba18ddd320c091+fdf83baee4837586abd899036d884868d7632e86 (23f647b74d3d4479756e6155bc6592acac492a43) 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-ssh14802056070924356483.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-ssh7492737660731854428.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8778851826833003573.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14462840768309081937.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6004439723879710984.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-284/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-284/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16816721188385360169.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6096’ Running on prd-ubuntu20.04-docker-8c-8g-6099 in /w/workspace/gexfoundry_device-rest-go_PR-284 [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-284 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fdf83baee4837586abd899036d884868d7632e86 into PR head commit fe1834ced68f714b5048b61ca1ba18ddd320c091 Merge succeeded, producing fe1834ced68f714b5048b61ca1ba18ddd320c091 Checking out Revision fe1834ced68f714b5048b61ca1ba18ddd320c091 (PR-284) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-28T19:50:41.803Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f fe1834ced68f714b5048b61ca1ba18ddd320c091 # 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 fdf83baee4837586abd899036d884868d7632e86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe1834ced68f714b5048b61ca1ba18ddd320c091 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-28T19:50:41.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-28T19:50:42.088Z] ========================================================= [2023-03-28T19:50:42.088Z] EdgeX Global Pipelines Version Info [2023-03-28T19:50:42.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:50:42.830Z] ------------------- [2023-03-28T19:50:42.830Z] stable info: [2023-03-28T19:50:42.830Z] ------------------- [2023-03-28T19:50:42.830Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-28T19:50:42.830Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T19:50:42.830Z] Message: update stable to v1.0.245 [2023-03-28T19:50:43.400Z] ------------------- [2023-03-28T19:50:43.400Z] experimental info: [2023-03-28T19:50:43.400Z] ------------------- [2023-03-28T19:50:43.400Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-28T19:50:43.400Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-28T19:50:43.400Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-28T19:50:43.691Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-28T19:50:43.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-28T19:50:43.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-28T19:50:43.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-28T19:50:43.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-28T19:50:43.894Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-28T19:50:43.931Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-28T19:50:43.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-28T19:50:44.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-28T19:50:44.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-28T19:50:44.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-28T19:50:44.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-28T19:50:44.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-28T19:50:44.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-28T19:50:44.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T19:50:44.284Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T19:50:44.325Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T19:50:44.361Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T19:50:44.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-28T19:50:44.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-28T19:50:44.487Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-28T19:50:44.529Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-28T19:50:44.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-28T19:50:44.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-28T19:50:44.647Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-28T19:50:44.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-28T19:50:44.721Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-28T19:50:44.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-284 [Pipeline] echo [2023-03-28T19:50:44.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-284 [Pipeline] echo [2023-03-28T19:50:44.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-284 [Pipeline] echo [2023-03-28T19:50:44.867Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe1834ced68f714b5048b61ca1ba18ddd320c091 [Pipeline] echo [2023-03-28T19:50:44.909Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe1834c [Pipeline] echo [2023-03-28T19:50:44.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T19:50:45.052Z] provisioning config files... [2023-03-28T19:50:45.066Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp/config5120363783050507665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:50:45.401Z] ---> docker-login.sh [2023-03-28T19:50:45.401Z] nexus3.edgexfoundry.org:10001 [2023-03-28T19:50:45.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:50:45.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:50:45.970Z] Configure a credential helper to remove this warning. See [2023-03-28T19:50:45.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:50:45.970Z] [2023-03-28T19:50:45.970Z] Login Succeeded [2023-03-28T19:50:45.970Z] nexus3.edgexfoundry.org:10002 [2023-03-28T19:50:45.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:50:46.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:50:46.230Z] Configure a credential helper to remove this warning. See [2023-03-28T19:50:46.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:50:46.230Z] [2023-03-28T19:50:46.230Z] Login Succeeded [2023-03-28T19:50:46.230Z] nexus3.edgexfoundry.org:10003 [2023-03-28T19:50:46.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:50:46.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:50:46.230Z] Configure a credential helper to remove this warning. See [2023-03-28T19:50:46.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:50:46.230Z] [2023-03-28T19:50:46.230Z] Login Succeeded [2023-03-28T19:50:46.230Z] nexus3.edgexfoundry.org:10004 [2023-03-28T19:50:46.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:50:46.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:50:46.230Z] Configure a credential helper to remove this warning. See [2023-03-28T19:50:46.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:50:46.230Z] [2023-03-28T19:50:46.230Z] Login Succeeded [2023-03-28T19:50:46.230Z] docker.io [2023-03-28T19:50:46.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:50:46.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:50:46.489Z] Configure a credential helper to remove this warning. See [2023-03-28T19:50:46.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:50:46.489Z] [2023-03-28T19:50:46.489Z] Login Succeeded [2023-03-28T19:50:46.489Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T19:50:46.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-28T19:50:47.115Z] + git rev-list -1 --merges fe1834ced68f714b5048b61ca1ba18ddd320c091~1..fe1834ced68f714b5048b61ca1ba18ddd320c091 [Pipeline] echo [2023-03-28T19:50:47.171Z] -----------> git rev-list -1 --merges fe1834ced68f714b5048b61ca1ba18ddd320c091~1..fe1834ced68f714b5048b61ca1ba18ddd320c091 fe1834ced68f714b5048b61ca1ba18ddd320c091 [false] [Pipeline] sh [2023-03-28T19:50:47.482Z] + git log --format=format:%s -1 fe1834ced68f714b5048b61ca1ba18ddd320c091 [Pipeline] echo [2023-03-28T19:50:47.515Z] ========================================================= [2023-03-28T19:50:47.515Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-28T19:50:47.515Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T19:50:47.940Z] + git log --format=format:%s -1 fe1834ced68f714b5048b61ca1ba18ddd320c091 [Pipeline] echo [2023-03-28T19:50:47.973Z] [semverPrep] GIT_COMMIT: fe1834ced68f714b5048b61ca1ba18ddd320c091, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-28T19:50:48.004Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-28T19:50:48.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T19:50:48.371Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-28T19:50:48.371Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-28T19:50:48.371Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-28T19:50:48.371Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-28T19:50:48.371Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-28T19:50:48.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:50:48.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T19:50:48.779Z] [2023-03-28T19:50:48.779Z] 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-28T19:50:49.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T19:50:49.152Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-28T19:50:49.152Z] b85a868b505f: Pulling fs layer [2023-03-28T19:50:49.152Z] e2be974225ed: Pulling fs layer [2023-03-28T19:50:49.152Z] 339a4e72a1f5: Pulling fs layer [2023-03-28T19:50:49.152Z] 988bab9f4d93: Pulling fs layer [2023-03-28T19:50:49.152Z] 1469e6f7b9e6: Pulling fs layer [2023-03-28T19:50:49.152Z] eaf3925da568: Pulling fs layer [2023-03-28T19:50:49.152Z] bab4dde63d76: Pulling fs layer [2023-03-28T19:50:49.152Z] bde34c3a00c8: Pulling fs layer [2023-03-28T19:50:49.152Z] b352a97aabf1: Pulling fs layer [2023-03-28T19:50:49.152Z] 4872d77fe225: Pulling fs layer [2023-03-28T19:50:49.152Z] 5851b861e8e6: Pulling fs layer [2023-03-28T19:50:49.152Z] 988bab9f4d93: Waiting [2023-03-28T19:50:49.152Z] 1469e6f7b9e6: Waiting [2023-03-28T19:50:49.152Z] eaf3925da568: Waiting [2023-03-28T19:50:49.152Z] bab4dde63d76: Waiting [2023-03-28T19:50:49.152Z] bde34c3a00c8: Waiting [2023-03-28T19:50:49.152Z] b352a97aabf1: Waiting [2023-03-28T19:50:49.152Z] 4872d77fe225: Waiting [2023-03-28T19:50:49.152Z] 5851b861e8e6: Waiting [2023-03-28T19:50:49.152Z] e2be974225ed: Verifying Checksum [2023-03-28T19:50:49.152Z] e2be974225ed: Download complete [2023-03-28T19:50:49.152Z] 988bab9f4d93: Verifying Checksum [2023-03-28T19:50:49.152Z] 988bab9f4d93: Download complete [2023-03-28T19:50:49.412Z] 1469e6f7b9e6: Verifying Checksum [2023-03-28T19:50:49.412Z] 1469e6f7b9e6: Download complete [2023-03-28T19:50:49.412Z] 339a4e72a1f5: Verifying Checksum [2023-03-28T19:50:49.412Z] 339a4e72a1f5: Download complete [2023-03-28T19:50:49.412Z] eaf3925da568: Verifying Checksum [2023-03-28T19:50:49.412Z] eaf3925da568: Download complete [2023-03-28T19:50:49.413Z] bde34c3a00c8: Download complete [2023-03-28T19:50:49.413Z] b352a97aabf1: Download complete [2023-03-28T19:50:49.413Z] 4872d77fe225: Verifying Checksum [2023-03-28T19:50:49.413Z] 4872d77fe225: Download complete [2023-03-28T19:50:49.413Z] 5851b861e8e6: Verifying Checksum [2023-03-28T19:50:49.413Z] 5851b861e8e6: Download complete [2023-03-28T19:50:49.413Z] b85a868b505f: Download complete [2023-03-28T19:50:49.671Z] bab4dde63d76: Verifying Checksum [2023-03-28T19:50:49.671Z] bab4dde63d76: Download complete [2023-03-28T19:50:50.606Z] b85a868b505f: Pull complete [2023-03-28T19:50:50.606Z] e2be974225ed: Pull complete [2023-03-28T19:50:50.866Z] 339a4e72a1f5: Pull complete [2023-03-28T19:50:51.125Z] 988bab9f4d93: Pull complete [2023-03-28T19:50:51.386Z] 1469e6f7b9e6: Pull complete [2023-03-28T19:50:51.386Z] eaf3925da568: Pull complete [2023-03-28T19:50:53.300Z] bab4dde63d76: Pull complete [2023-03-28T19:50:53.300Z] bde34c3a00c8: Pull complete [2023-03-28T19:50:53.300Z] b352a97aabf1: Pull complete [2023-03-28T19:50:53.300Z] 4872d77fe225: Pull complete [2023-03-28T19:50:53.560Z] 5851b861e8e6: Pull complete [2023-03-28T19:50:53.560Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-28T19:50:53.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T19:50:53.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:50:53.803Z] prd-ubuntu20.04-docker-8c-8g-6099 does not seem to be running inside a container [2023-03-28T19:50:53.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-284 -v /w/workspace/gexfoundry_device-rest-go_PR-284:/w/workspace/gexfoundry_device-rest-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-284@tmp:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T19:50:57.009Z] $ docker top be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 -eo pid,comm [2023-03-28T19:50:57.070Z] 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-28T19:50:57.070Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T19:50:57.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T19:50:57.192Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T19:50:57.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T19:50:57.304Z] $ docker exec be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 ssh-agent [2023-03-28T19:50:57.400Z] SSH_AUTH_SOCK=/tmp/ssh-5uxu3vwjhNM6/agent.31 [2023-03-28T19:50:57.400Z] SSH_AGENT_PID=37 [2023-03-28T19:50:57.407Z] Running ssh-add (command line suppressed) [2023-03-28T19:50:57.513Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-284@tmp/private_key_14544085837162266114.key (/w/workspace/gexfoundry_device-rest-go_PR-284@tmp/private_key_14544085837162266114.key) [2023-03-28T19:50:57.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T19:50:57.854Z] + git tag --points-at HEAD [Pipeline] } [2023-03-28T19:50:57.884Z] $ docker exec --env ******** --env ******** be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 ssh-agent -k [2023-03-28T19:50:57.973Z] unset SSH_AUTH_SOCK; [2023-03-28T19:50:57.973Z] unset SSH_AGENT_PID; [2023-03-28T19:50:57.974Z] echo Agent pid 37 killed; [2023-03-28T19:50:57.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-28T19:50:58.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T19:50:58.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T19:50:58.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T19:50:58.179Z] $ docker exec be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 ssh-agent [2023-03-28T19:50:58.282Z] SSH_AUTH_SOCK=/tmp/ssh-ROrcBsBz59WZ/agent.70 [2023-03-28T19:50:58.282Z] SSH_AGENT_PID=76 [2023-03-28T19:50:58.287Z] Running ssh-add (command line suppressed) [2023-03-28T19:50:58.382Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-284@tmp/private_key_11609711469846636786.key (/w/workspace/gexfoundry_device-rest-go_PR-284@tmp/private_key_11609711469846636786.key) [2023-03-28T19:50:58.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T19:50:58.716Z] + git semver init [2023-03-28T19:50:58.976Z] 2023-03-28 19:50:58,931 [run_init] DEBUG init version:0.0.0 force:False [2023-03-28T19:50:58.976Z] 2023-03-28 19:50:58,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-284/.semver [2023-03-28T19:50:58.976Z] 2023-03-28 19:50:58,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-284/.semver [2023-03-28T19:50:58.976Z] 2023-03-28 19:50:58,933 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-284/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-284, universal_newlines=False, shell=None, istream=None) [2023-03-28T19:51:00.352Z] 2023-03-28 19:50:59,997 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-284/.git/info/exclude [2023-03-28T19:51:00.353Z] 2023-03-28 19:50:59,998 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-284/.semver/PR-284 with force:False [2023-03-28T19:51:00.353Z] 2023-03-28 19:50:59,998 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-284/.semver/PR-284 [2023-03-28T19:51:00.353Z] 2023-03-28 19:51:00,001 [execute] INFO git cat-file --batch-check [2023-03-28T19:51:00.353Z] 2023-03-28 19:51:00,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T19:51:00.353Z] 2023-03-28 19:51:00,007 [execute] INFO git cat-file --batch [2023-03-28T19:51:00.353Z] 2023-03-28 19:51:00,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-284/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T19:51:00.353Z] 2023-03-28 19:51:00,011 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-284/.semver/PR-284 [2023-03-28T19:51:00.353Z] 0.0.0 [Pipeline] } [2023-03-28T19:51:00.382Z] $ docker exec --env ******** --env ******** be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 ssh-agent -k [2023-03-28T19:51:00.470Z] unset SSH_AUTH_SOCK; [2023-03-28T19:51:00.471Z] unset SSH_AGENT_PID; [2023-03-28T19:51:00.471Z] echo Agent pid 76 killed; [2023-03-28T19:51:00.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T19:51:00.914Z] + git semver [Pipeline] } [2023-03-28T19:51:01.202Z] $ docker stop --time=1 be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 [2023-03-28T19:51:02.488Z] $ docker rm -f --volumes be18e16049ac6bf58e8f9ab25a885d5e9e6bfb9532a124f54c09c6e66401ef64 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T19:51:02.884Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-28T19:51:03.152Z] Stashed 1 file(s) [Pipeline] echo [2023-03-28T19:51:03.172Z] [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-28T19:51:03.737Z] provisioning config files... [2023-03-28T19:51:03.747Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp/config15561274481332503028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:51:04.086Z] ---> docker-login.sh [2023-03-28T19:51:04.086Z] nexus3.edgexfoundry.org:10001 [2023-03-28T19:51:04.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:51:04.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:51:04.086Z] Configure a credential helper to remove this warning. See [2023-03-28T19:51:04.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:51:04.086Z] [2023-03-28T19:51:04.086Z] Login Succeeded [2023-03-28T19:51:04.086Z] nexus3.edgexfoundry.org:10002 [2023-03-28T19:51:04.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:51:04.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:51:04.086Z] Configure a credential helper to remove this warning. See [2023-03-28T19:51:04.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:51:04.086Z] [2023-03-28T19:51:04.086Z] Login Succeeded [2023-03-28T19:51:04.086Z] nexus3.edgexfoundry.org:10003 [2023-03-28T19:51:04.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:51:04.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:51:04.345Z] Configure a credential helper to remove this warning. See [2023-03-28T19:51:04.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:51:04.345Z] [2023-03-28T19:51:04.345Z] Login Succeeded [2023-03-28T19:51:04.345Z] nexus3.edgexfoundry.org:10004 [2023-03-28T19:51:04.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:51:04.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:51:04.345Z] Configure a credential helper to remove this warning. See [2023-03-28T19:51:04.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:51:04.345Z] [2023-03-28T19:51:04.345Z] Login Succeeded [2023-03-28T19:51:04.345Z] docker.io [2023-03-28T19:51:04.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:51:04.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:51:04.604Z] Configure a credential helper to remove this warning. See [2023-03-28T19:51:04.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:51:04.604Z] [2023-03-28T19:51:04.604Z] Login Succeeded [2023-03-28T19:51:04.604Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T19:51:04.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T19:51:04.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T19:51:04.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T19:51:04.860Z] ========================================================= [2023-03-28T19:51:04.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-28T19:51:04.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:51:05.317Z] + 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-28T19:51:05.317Z] Sending build context to Docker daemon 10.87MB [2023-03-28T19:51:05.317Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T19:51:05.317Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-28T19:51:05.317Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-28T19:51:05.317Z] 63b65145d645: Pulling fs layer [2023-03-28T19:51:05.317Z] a2d21d5440eb: Pulling fs layer [2023-03-28T19:51:05.317Z] 935e6c44a52c: Pulling fs layer [2023-03-28T19:51:05.317Z] 94cc34f8dd06: Pulling fs layer [2023-03-28T19:51:05.317Z] 30dea6a524f1: Pulling fs layer [2023-03-28T19:51:05.317Z] a2aff8979fd8: Pulling fs layer [2023-03-28T19:51:05.317Z] 6808be2612f2: Pulling fs layer [2023-03-28T19:51:05.317Z] f25807f1079a: Pulling fs layer [2023-03-28T19:51:05.317Z] 30dea6a524f1: Waiting [2023-03-28T19:51:05.317Z] 94cc34f8dd06: Waiting [2023-03-28T19:51:05.317Z] 6808be2612f2: Waiting [2023-03-28T19:51:05.317Z] a2aff8979fd8: Waiting [2023-03-28T19:51:05.317Z] a2d21d5440eb: Verifying Checksum [2023-03-28T19:51:05.317Z] a2d21d5440eb: Download complete [2023-03-28T19:51:05.577Z] 94cc34f8dd06: Download complete [2023-03-28T19:51:05.577Z] 30dea6a524f1: Verifying Checksum [2023-03-28T19:51:05.577Z] 30dea6a524f1: Download complete [2023-03-28T19:51:05.577Z] 63b65145d645: Download complete [2023-03-28T19:51:05.577Z] a2aff8979fd8: Verifying Checksum [2023-03-28T19:51:05.577Z] a2aff8979fd8: Download complete [2023-03-28T19:51:05.577Z] 63b65145d645: Pull complete [2023-03-28T19:51:05.837Z] a2d21d5440eb: Pull complete [2023-03-28T19:51:05.837Z] f25807f1079a: Verifying Checksum [2023-03-28T19:51:05.837Z] f25807f1079a: Download complete [2023-03-28T19:51:06.096Z] 935e6c44a52c: Verifying Checksum [2023-03-28T19:51:06.097Z] 935e6c44a52c: Download complete [2023-03-28T19:51:06.358Z] 6808be2612f2: Verifying Checksum [2023-03-28T19:51:06.358Z] 6808be2612f2: Download complete [2023-03-28T19:51:09.639Z] 935e6c44a52c: Pull complete [2023-03-28T19:51:09.639Z] 94cc34f8dd06: Pull complete [2023-03-28T19:51:09.639Z] 30dea6a524f1: Pull complete [2023-03-28T19:51:09.639Z] a2aff8979fd8: Pull complete [2023-03-28T19:51:12.174Z] 6808be2612f2: Pull complete [2023-03-28T19:51:12.433Z] f25807f1079a: Pull complete [2023-03-28T19:51:12.433Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-28T19:51:12.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-28T19:51:12.691Z] ---> 3b553350e43f [2023-03-28T19:51:12.691Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-28T19:51:18.567Z] Still waiting to schedule task [2023-03-28T19:51:18.567Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6098’ [2023-03-28T19:51:27.575Z] ---> Running in 882b562398ee [2023-03-28T19:51:28.956Z] Removing intermediate container 882b562398ee [2023-03-28T19:51:28.956Z] ---> 253dc83f9e6f [2023-03-28T19:51:28.956Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T19:51:30.337Z] ---> Running in 8508999140ba [2023-03-28T19:51:30.596Z] Removing intermediate container 8508999140ba [2023-03-28T19:51:30.596Z] ---> bff93564d360 [2023-03-28T19:51:30.596Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T19:51:31.165Z] ---> Running in a64cfbaf3494 [2023-03-28T19:51:31.424Z] Removing intermediate container a64cfbaf3494 [2023-03-28T19:51:31.424Z] ---> 6273c9c97223 [2023-03-28T19:51:31.424Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T19:51:31.992Z] ---> Running in b5c0481e8e8a [2023-03-28T19:51:32.252Z] Removing intermediate container b5c0481e8e8a [2023-03-28T19:51:32.252Z] ---> 76e8af791d90 [2023-03-28T19:51:32.252Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T19:51:32.511Z] ---> Running in 559f024321a4 [2023-03-28T19:51:33.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T19:51:33.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T19:51:33.334Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-28T19:51:33.334Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-28T19:51:33.334Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-28T19:51:33.334Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-28T19:51:33.334Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T19:51:33.334Z] OK: 269 MiB in 57 packages [2023-03-28T19:51:34.269Z] Removing intermediate container 559f024321a4 [2023-03-28T19:51:34.269Z] ---> 4b1d6e3a6db4 [2023-03-28T19:51:34.269Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-28T19:51:34.269Z] ---> Running in a3880aff94e5 [2023-03-28T19:51:34.269Z] Removing intermediate container a3880aff94e5 [2023-03-28T19:51:34.269Z] ---> 7cc8f3647d72 [2023-03-28T19:51:34.269Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-28T19:51:34.269Z] ---> d74f534af02e [2023-03-28T19:51:34.269Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T19:51:34.269Z] ---> Running in e494fb47835b [2023-03-28T19:52:06.501Z] Removing intermediate container e494fb47835b [2023-03-28T19:52:06.501Z] ---> e980e61f3ad8 [2023-03-28T19:52:06.501Z] Step 11/12 : COPY . . [2023-03-28T19:52:06.761Z] ---> a4beb6e82f01 [2023-03-28T19:52:06.761Z] Step 12/12 : RUN $MAKE [2023-03-28T19:52:06.761Z] ---> Running in 17e3f1bd6b5d [2023-03-28T19:52:07.022Z] noop [2023-03-28T19:52:07.282Z] Removing intermediate container 17e3f1bd6b5d [2023-03-28T19:52:07.282Z] ---> ae88da6c4386 [2023-03-28T19:52:07.282Z] Successfully built ae88da6c4386 [2023-03-28T19:52:07.282Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:52:07.751Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T19:52:07.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:52:07.893Z] prd-ubuntu20.04-docker-8c-8g-6099 does not seem to be running inside a container [2023-03-28T19:52:07.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-284 -v /w/workspace/gexfoundry_device-rest-go_PR-284:/w/workspace/gexfoundry_device-rest-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-284@tmp:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T19:52:08.265Z] $ docker top 49b447dcc737260b3169d0e0b16a0357e2bce388feaf47be0554fb3700275618 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T19:52:08.667Z] + go version [2023-03-28T19:52:08.667Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-28T19:52:08.703Z] $ docker stop --time=1 49b447dcc737260b3169d0e0b16a0357e2bce388feaf47be0554fb3700275618 [2023-03-28T19:52:09.960Z] $ docker rm -f --volumes 49b447dcc737260b3169d0e0b16a0357e2bce388feaf47be0554fb3700275618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:52:10.658Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T19:52:10.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:52:10.815Z] prd-ubuntu20.04-docker-8c-8g-6099 does not seem to be running inside a container [2023-03-28T19:52:10.852Z] $ 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-284 -v /w/workspace/gexfoundry_device-rest-go_PR-284:/w/workspace/gexfoundry_device-rest-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-284@tmp:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T19:52:11.181Z] $ docker top 7bdc77dd1fef4185567dfb9c53b17d4e5c7cea8fa3e1ab1afe99184ff92475bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T19:52:11.577Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-284 [Pipeline] fileExists [Pipeline] sh [2023-03-28T19:52:11.941Z] + make test [2023-03-28T19:52:11.941Z] go test ./... -coverprofile=coverage.out ./... [2023-03-28T19:52:17.217Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-28T19:52:27.372Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-28T19:52:27.372Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.0% of statements [2023-03-28T19:52:32.698Z] go vet ./... [2023-03-28T19:52:36.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T19:52:36.884Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T19:52:36.884Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T19:52:36.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T19:52:36.957Z] $ docker stop --time=1 7bdc77dd1fef4185567dfb9c53b17d4e5c7cea8fa3e1ab1afe99184ff92475bf [2023-03-28T19:52:40.120Z] $ docker rm -f --volumes 7bdc77dd1fef4185567dfb9c53b17d4e5c7cea8fa3e1ab1afe99184ff92475bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T19:52:40.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T19:52:40.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-28T19:52:41.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T19:52:41.589Z] + ls -al . [2023-03-28T19:52:41.589Z] total 184 [2023-03-28T19:52:41.589Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 19:52 . [2023-03-28T19:52:41.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:50 .. [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 19:50 .dockerignore [2023-03-28T19:52:41.589Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:51 .git [2023-03-28T19:52:41.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:50 .github [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 19:50 .gitignore [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 19:50 .golangci.yml [2023-03-28T19:52:41.589Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 19:50 .semver [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 28 19:50 Attribution.txt [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 28 19:50 CHANGELOG.md [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 28 19:50 Dockerfile [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 19:50 GOVERNANCE.md [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 19:50 Jenkinsfile [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 19:50 LICENSE [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 28 19:50 Makefile [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 19:50 OWNERS.md [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 28 19:50 README.md [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 19:51 VERSION [2023-03-28T19:52:41.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:50 bin [2023-03-28T19:52:41.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:50 cmd [2023-03-28T19:52:41.589Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 28 19:52 coverage.out [2023-03-28T19:52:41.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:50 driver [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 28 19:50 go.mod [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 28 19:50 go.sum [2023-03-28T19:52:41.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:50 snap [2023-03-28T19:52:41.589Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 19:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:52:41.976Z] + 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=fe1834ced68f714b5048b61ca1ba18ddd320c091 --label arch=amd64 --label version=0.0.0 . [2023-03-28T19:52:41.977Z] Sending build context to Docker daemon 10.89MB [2023-03-28T19:52:41.977Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T19:52:41.977Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-28T19:52:41.977Z] ---> ae88da6c4386 [2023-03-28T19:52:41.977Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-28T19:52:42.236Z] ---> Running in 45b673c01f5c [2023-03-28T19:52:42.236Z] Removing intermediate container 45b673c01f5c [2023-03-28T19:52:42.236Z] ---> a3e2f56e993d [2023-03-28T19:52:42.236Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T19:52:42.236Z] ---> Running in e49d7099c851 [2023-03-28T19:52:42.236Z] Removing intermediate container e49d7099c851 [2023-03-28T19:52:42.236Z] ---> 8cf780ea0ed9 [2023-03-28T19:52:42.236Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T19:52:42.236Z] ---> Running in 668ec851c0af [2023-03-28T19:52:42.494Z] Removing intermediate container 668ec851c0af [2023-03-28T19:52:42.494Z] ---> d4de07da8fac [2023-03-28T19:52:42.494Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T19:52:42.494Z] ---> Running in c76f75ad8756 [2023-03-28T19:52:42.494Z] Removing intermediate container c76f75ad8756 [2023-03-28T19:52:42.494Z] ---> 0ab293f1b1a9 [2023-03-28T19:52:42.494Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T19:52:42.494Z] ---> Running in a091bc62e02b [2023-03-28T19:52:42.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T19:52:42.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T19:52:43.011Z] OK: 269 MiB in 57 packages [2023-03-28T19:52:43.594Z] Removing intermediate container a091bc62e02b [2023-03-28T19:52:43.594Z] ---> 4f45353cc53d [2023-03-28T19:52:43.594Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-28T19:52:43.594Z] ---> Running in b34adfd9ddc6 [2023-03-28T19:52:43.594Z] Removing intermediate container b34adfd9ddc6 [2023-03-28T19:52:43.594Z] ---> 1cc13b8e3312 [2023-03-28T19:52:43.594Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-28T19:52:43.855Z] ---> 1b922ace0037 [2023-03-28T19:52:43.855Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T19:52:43.855Z] ---> Running in 2736b7ee3429 [2023-03-28T19:52:44.803Z] Removing intermediate container 2736b7ee3429 [2023-03-28T19:52:44.803Z] ---> cd28847bd569 [2023-03-28T19:52:44.803Z] Step 11/25 : COPY . . [2023-03-28T19:52:45.062Z] ---> 5f261ea05724 [2023-03-28T19:52:45.062Z] Step 12/25 : RUN $MAKE [2023-03-28T19:52:45.062Z] ---> Running in 853481aaf770 [2023-03-28T19:52:45.321Z] 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-28T19:53:03.400Z] Removing intermediate container 853481aaf770 [2023-03-28T19:53:03.400Z] ---> f510e8013428 [2023-03-28T19:53:03.400Z] Step 13/25 : FROM alpine:3.17 [2023-03-28T19:53:03.400Z] 3.17: Pulling from library/alpine [2023-03-28T19:53:03.400Z] 63b65145d645: Already exists [2023-03-28T19:53:03.400Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T19:53:03.400Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T19:53:03.400Z] ---> b2aa39c304c2 [2023-03-28T19:53:03.400Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T19:53:03.400Z] ---> Running in 7db05eb05830 [2023-03-28T19:53:03.400Z] Removing intermediate container 7db05eb05830 [2023-03-28T19:53:03.400Z] ---> cfa5c0d9804f [2023-03-28T19:53:03.400Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-28T19:53:03.400Z] ---> Running in e6d5733d6822 [2023-03-28T19:53:03.658Z] Removing intermediate container e6d5733d6822 [2023-03-28T19:53:03.658Z] ---> fcb6c13a6676 [2023-03-28T19:53:03.658Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-28T19:53:03.658Z] ---> Running in 3a3888540122 [2023-03-28T19:53:03.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T19:53:03.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T19:53:04.174Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-28T19:53:04.174Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T19:53:04.174Z] OK: 7 MiB in 16 packages [2023-03-28T19:53:04.432Z] Removing intermediate container 3a3888540122 [2023-03-28T19:53:04.432Z] ---> 965a592c9b29 [2023-03-28T19:53:04.432Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-28T19:53:05.369Z] ---> b0b3130e7f6a [2023-03-28T19:53:05.369Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-28T19:53:05.369Z] ---> 4e637a8f0e85 [2023-03-28T19:53:05.369Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-28T19:53:05.629Z] ---> 0b5093f7cb83 [2023-03-28T19:53:05.629Z] Step 20/25 : EXPOSE 59986 [2023-03-28T19:53:05.629Z] ---> Running in 0693212b2213 [2023-03-28T19:53:05.629Z] Removing intermediate container 0693212b2213 [2023-03-28T19:53:05.629Z] ---> 99ebbd789ea4 [2023-03-28T19:53:05.629Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-28T19:53:05.889Z] ---> Running in 4dbfba2eaabb [2023-03-28T19:53:05.889Z] Removing intermediate container 4dbfba2eaabb [2023-03-28T19:53:05.889Z] ---> 23c89e71d6f1 [2023-03-28T19:53:05.890Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-28T19:53:06.148Z] ---> Running in d4001a06564c [2023-03-28T19:53:06.148Z] Removing intermediate container d4001a06564c [2023-03-28T19:53:06.148Z] ---> f7adf2d5fed0 [2023-03-28T19:53:06.148Z] Step 23/25 : LABEL arch=amd64 [2023-03-28T19:53:06.148Z] ---> Running in f045dd3a0896 [2023-03-28T19:53:06.148Z] Removing intermediate container f045dd3a0896 [2023-03-28T19:53:06.148Z] ---> 383922a673c7 [2023-03-28T19:53:06.148Z] Step 24/25 : LABEL git_sha=fe1834ced68f714b5048b61ca1ba18ddd320c091 [2023-03-28T19:53:06.407Z] ---> Running in fb8458eb6d63 [2023-03-28T19:53:06.407Z] Removing intermediate container fb8458eb6d63 [2023-03-28T19:53:06.407Z] ---> c27aa25815c0 [2023-03-28T19:53:06.407Z] Step 25/25 : LABEL version=0.0.0 [2023-03-28T19:53:06.407Z] ---> Running in f329f8c343ac [2023-03-28T19:53:06.666Z] Removing intermediate container f329f8c343ac [2023-03-28T19:53:06.666Z] ---> eab0a1956ad2 [2023-03-28T19:53:06.666Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T19:53:06.666Z] Successfully built eab0a1956ad2 [2023-03-28T19:53:06.666Z] 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-28T19:53:07.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T19:53:07.546Z] [2023-03-28T19:53:07.546Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:53:07.923Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T19:53:07.924Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-28T19:53:07.924Z] 5eb5b503b376: Pulling fs layer [2023-03-28T19:53:07.924Z] 5c69ac0246d0: Pulling fs layer [2023-03-28T19:53:07.924Z] ec43610c2a17: Pulling fs layer [2023-03-28T19:53:07.924Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-28T19:53:07.924Z] 33b1e0a273af: Pulling fs layer [2023-03-28T19:53:07.924Z] 5d3b04190fa2: Pulling fs layer [2023-03-28T19:53:07.924Z] 2f39f015ded8: Pulling fs layer [2023-03-28T19:53:07.924Z] 33b1e0a273af: Waiting [2023-03-28T19:53:07.924Z] 5d3b04190fa2: Waiting [2023-03-28T19:53:07.924Z] 3a2ae6a8a46f: Waiting [2023-03-28T19:53:07.924Z] 2f39f015ded8: Waiting [2023-03-28T19:53:07.924Z] 5c69ac0246d0: Verifying Checksum [2023-03-28T19:53:07.924Z] 5c69ac0246d0: Download complete [2023-03-28T19:53:07.924Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-28T19:53:07.924Z] 3a2ae6a8a46f: Download complete [2023-03-28T19:53:07.924Z] ec43610c2a17: Verifying Checksum [2023-03-28T19:53:07.924Z] ec43610c2a17: Download complete [2023-03-28T19:53:07.924Z] 33b1e0a273af: Verifying Checksum [2023-03-28T19:53:07.924Z] 33b1e0a273af: Download complete [2023-03-28T19:53:07.924Z] 5d3b04190fa2: Download complete [2023-03-28T19:53:08.183Z] 5eb5b503b376: Download complete [2023-03-28T19:53:08.748Z] 2f39f015ded8: Download complete [2023-03-28T19:53:09.314Z] 5eb5b503b376: Pull complete [2023-03-28T19:53:09.314Z] 5c69ac0246d0: Pull complete [2023-03-28T19:53:09.882Z] ec43610c2a17: Pull complete [2023-03-28T19:53:09.882Z] 3a2ae6a8a46f: Pull complete [2023-03-28T19:53:10.140Z] 33b1e0a273af: Pull complete [2023-03-28T19:53:10.140Z] 5d3b04190fa2: Pull complete [2023-03-28T19:53:14.327Z] 2f39f015ded8: Pull complete [2023-03-28T19:53:14.327Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-28T19:53:14.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T19:53:14.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:53:14.577Z] prd-ubuntu20.04-docker-8c-8g-6099 does not seem to be running inside a container [2023-03-28T19:53:14.616Z] $ 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-284 -v /w/workspace/gexfoundry_device-rest-go_PR-284:/w/workspace/gexfoundry_device-rest-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-284@tmp:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T19:53:18.417Z] $ docker top 3103cc16cbac71a9534da51e1b23f47ca5d7106c43bf38b1088af79f97294e42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:53:18.855Z] ---> job-cost.sh [2023-03-28T19:53:18.855Z] lf-activate-venv: SKIPPING [2023-03-28T19:53:18.855Z] INFO: No Stack... [2023-03-28T19:53:19.118Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T19:53:19.685Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T19:53:20.003Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-284/archives/cost.csv [2023-03-28T19:53:20.003Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T19:53:20.043Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] [2023-03-28T19:53:20.048Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] did not exist. Created. [2023-03-28T19:53:20.048Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T19:53:20.441Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-28T19:53:20.491Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T19:53:20.522Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T19:53:20.604Z] $ docker stop --time=1 3103cc16cbac71a9534da51e1b23f47ca5d7106c43bf38b1088af79f97294e42 [2023-03-28T19:53:21.768Z] $ docker rm -f --volumes 3103cc16cbac71a9534da51e1b23f47ca5d7106c43bf38b1088af79f97294e42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-28T19:53:37.408Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6101 in /w/workspace/gexfoundry_device-rest-go_PR-284 [Pipeline] { [Pipeline] ws [2023-03-28T19:53:37.468Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-28T19:53:37.534Z] The recommended git tool is: git [2023-03-28T19:53:42.917Z] using credential edgex-jenkins-ssh [2023-03-28T19:53:42.936Z] Cloning the remote Git repository [2023-03-28T19:53:42.989Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-28T19:53:43.097Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-28T19:53:43.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-28T19:53:43.285Z] > git --version # timeout=10 [2023-03-28T19:53:43.308Z] > git --version # 'git version 2.25.1' [2023-03-28T19:53:43.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T19:53:43.482Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T19:53:45.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-28T19:53:45.563Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T19:53:47.016Z] Merging remotes/origin/main commit fdf83baee4837586abd899036d884868d7632e86 into PR head commit fe1834ced68f714b5048b61ca1ba18ddd320c091 [2023-03-28T19:53:47.295Z] Merge succeeded, producing fe1834ced68f714b5048b61ca1ba18ddd320c091 [2023-03-28T19:53:47.295Z] Checking out Revision fe1834ced68f714b5048b61ca1ba18ddd320c091 (PR-284) [2023-03-28T19:53:46.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-28T19:53:46.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-28T19:53:46.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T19:53:46.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/284/head:refs/remotes/origin/PR-284 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-28T19:53:47.033Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T19:53:47.107Z] > git checkout -f fe1834ced68f714b5048b61ca1ba18ddd320c091 # timeout=10 [2023-03-28T19:53:47.196Z] > git remote # timeout=10 [2023-03-28T19:53:47.216Z] > git config --get remote.origin.url # timeout=10 [2023-03-28T19:53:47.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T19:53:47.248Z] > git merge fdf83baee4837586abd899036d884868d7632e86 # timeout=10 [2023-03-28T19:53:47.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-28T19:53:47.302Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T19:53:47.317Z] > git checkout -f fe1834ced68f714b5048b61ca1ba18ddd320c091 # timeout=10 [2023-03-28T19:53:47.838Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-28T19:53:47.891Z] > git --version # timeout=10 [2023-03-28T19:53:47.900Z] > git --version # 'git version 2.25.1' [2023-03-28T19:53:47.916Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T19:53:49.155Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-28T19:53:49.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T19:53:49.155Z] Dload Upload Total Spent Left Speed [2023-03-28T19:53:49.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 254k [Pipeline] sh [2023-03-28T19:53:49.757Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-28T19:53:50.117Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-28T19:53:50.117Z] + sudo tee /etc/docker/daemon.new [2023-03-28T19:53:50.117Z] { [2023-03-28T19:53:50.117Z] "registry-mirrors": [ [2023-03-28T19:53:50.117Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-28T19:53:50.117Z] ], [2023-03-28T19:53:50.117Z] "bip": "10.250.0.254/24", [2023-03-28T19:53:50.117Z] "hosts": [ [2023-03-28T19:53:50.117Z] "tcp://0.0.0.0:5555", [2023-03-28T19:53:50.117Z] "unix:///var/run/docker.sock" [2023-03-28T19:53:50.117Z] ], [2023-03-28T19:53:50.117Z] "mtu": 1458, [2023-03-28T19:53:50.117Z] "selinux-enabled": true, [2023-03-28T19:53:50.117Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-28T19:53:50.117Z] } [Pipeline] sh [2023-03-28T19:53:50.465Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-28T19:53:50.808Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T19:54:09.157Z] provisioning config files... [2023-03-28T19:54:09.186Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12617859250077299578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:54:09.589Z] ---> docker-login.sh [2023-03-28T19:54:09.590Z] nexus3.edgexfoundry.org:10001 [2023-03-28T19:54:10.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:54:10.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:54:10.186Z] Configure a credential helper to remove this warning. See [2023-03-28T19:54:10.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:54:10.186Z] [2023-03-28T19:54:10.186Z] Login Succeeded [2023-03-28T19:54:10.186Z] nexus3.edgexfoundry.org:10002 [2023-03-28T19:54:10.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:54:10.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:54:10.729Z] Configure a credential helper to remove this warning. See [2023-03-28T19:54:10.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:54:10.729Z] [2023-03-28T19:54:10.729Z] Login Succeeded [2023-03-28T19:54:10.729Z] nexus3.edgexfoundry.org:10003 [2023-03-28T19:54:10.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:54:10.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:54:10.999Z] Configure a credential helper to remove this warning. See [2023-03-28T19:54:10.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:54:10.999Z] [2023-03-28T19:54:10.999Z] Login Succeeded [2023-03-28T19:54:10.999Z] nexus3.edgexfoundry.org:10004 [2023-03-28T19:54:11.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:54:11.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:54:11.271Z] Configure a credential helper to remove this warning. See [2023-03-28T19:54:11.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:54:11.271Z] [2023-03-28T19:54:11.271Z] Login Succeeded [2023-03-28T19:54:11.271Z] docker.io [2023-03-28T19:54:11.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T19:54:11.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T19:54:11.813Z] Configure a credential helper to remove this warning. See [2023-03-28T19:54:11.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T19:54:11.814Z] [2023-03-28T19:54:11.814Z] Login Succeeded [2023-03-28T19:54:11.814Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T19:54:11.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T19:54:12.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T19:54:12.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T19:54:12.288Z] ========================================================= [2023-03-28T19:54:12.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-28T19:54:12.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:54:12.790Z] + 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-28T19:54:12.790Z] Sending build context to Docker daemon 137.2kB [2023-03-28T19:54:13.062Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T19:54:13.062Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-28T19:54:13.062Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-28T19:54:13.062Z] af6eaf76a39c: Pulling fs layer [2023-03-28T19:54:13.062Z] 55522c791124: Pulling fs layer [2023-03-28T19:54:13.062Z] ce5c4a1c91eb: Pulling fs layer [2023-03-28T19:54:13.062Z] 169dfbe0d373: Pulling fs layer [2023-03-28T19:54:13.062Z] e1ff8fa3b103: Pulling fs layer [2023-03-28T19:54:13.062Z] 52ebb69f0ebf: Pulling fs layer [2023-03-28T19:54:13.062Z] 5abe8eddf0d5: Pulling fs layer [2023-03-28T19:54:13.062Z] e1ff8fa3b103: Waiting [2023-03-28T19:54:13.062Z] 52ebb69f0ebf: Waiting [2023-03-28T19:54:13.062Z] 5abe8eddf0d5: Waiting [2023-03-28T19:54:13.062Z] 169dfbe0d373: Waiting [2023-03-28T19:54:13.333Z] 55522c791124: Download complete [2023-03-28T19:54:13.333Z] 169dfbe0d373: Verifying Checksum [2023-03-28T19:54:13.333Z] 169dfbe0d373: Download complete [2023-03-28T19:54:13.333Z] e1ff8fa3b103: Download complete [2023-03-28T19:54:13.333Z] af6eaf76a39c: Verifying Checksum [2023-03-28T19:54:14.312Z] af6eaf76a39c: Pull complete [2023-03-28T19:54:14.312Z] 5abe8eddf0d5: Verifying Checksum [2023-03-28T19:54:14.312Z] 5abe8eddf0d5: Download complete [2023-03-28T19:54:14.906Z] 55522c791124: Pull complete [2023-03-28T19:54:15.875Z] ce5c4a1c91eb: Verifying Checksum [2023-03-28T19:54:15.875Z] ce5c4a1c91eb: Download complete [2023-03-28T19:54:15.875Z] 52ebb69f0ebf: Verifying Checksum [2023-03-28T19:54:15.875Z] 52ebb69f0ebf: Download complete [2023-03-28T19:54:28.281Z] ce5c4a1c91eb: Pull complete [2023-03-28T19:54:28.281Z] 169dfbe0d373: Pull complete [2023-03-28T19:54:28.281Z] e1ff8fa3b103: Pull complete [2023-03-28T19:54:33.635Z] 52ebb69f0ebf: Pull complete [2023-03-28T19:54:36.987Z] 5abe8eddf0d5: Pull complete [2023-03-28T19:54:36.987Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-28T19:54:36.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-28T19:54:36.987Z] ---> 6cb57ee374ae [2023-03-28T19:54:36.987Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-28T19:54:38.401Z] ---> Running in 20a052b7161f [2023-03-28T19:54:38.670Z] Removing intermediate container 20a052b7161f [2023-03-28T19:54:38.670Z] ---> 7505e4d87db3 [2023-03-28T19:54:38.670Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T19:54:38.938Z] ---> Running in c06f67c525a8 [2023-03-28T19:54:39.204Z] Removing intermediate container c06f67c525a8 [2023-03-28T19:54:39.204Z] ---> 11026f921d9d [2023-03-28T19:54:39.204Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T19:54:39.204Z] ---> Running in d91c3b5c2cb4 [2023-03-28T19:54:39.472Z] Removing intermediate container d91c3b5c2cb4 [2023-03-28T19:54:39.472Z] ---> a49c11d5044b [2023-03-28T19:54:39.472Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T19:54:39.472Z] ---> Running in cb90a7210114 [2023-03-28T19:54:39.740Z] Removing intermediate container cb90a7210114 [2023-03-28T19:54:39.740Z] ---> b5a010158f13 [2023-03-28T19:54:39.740Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T19:54:40.010Z] ---> Running in 413921024bee [2023-03-28T19:54:40.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T19:54:41.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T19:54:42.966Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-28T19:54:42.966Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-28T19:54:42.966Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-28T19:54:42.966Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-28T19:54:42.966Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T19:54:42.966Z] OK: 268 MiB in 57 packages [2023-03-28T19:54:43.948Z] Removing intermediate container 413921024bee [2023-03-28T19:54:43.948Z] ---> 1d819f452265 [2023-03-28T19:54:43.948Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-28T19:54:43.948Z] ---> Running in 703f441869b5 [2023-03-28T19:54:44.215Z] Removing intermediate container 703f441869b5 [2023-03-28T19:54:44.215Z] ---> 7fb9983a6a4f [2023-03-28T19:54:44.215Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-28T19:54:44.806Z] ---> 8b8675052ee8 [2023-03-28T19:54:44.806Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T19:54:44.806Z] ---> Running in 8e48d9dc56fb [2023-03-28T19:55:52.694Z] Removing intermediate container 8e48d9dc56fb [2023-03-28T19:55:52.694Z] ---> d3fe5616ee1b [2023-03-28T19:55:52.694Z] Step 11/12 : COPY . . [2023-03-28T19:55:52.694Z] ---> 3b5b4159ea21 [2023-03-28T19:55:52.694Z] Step 12/12 : RUN $MAKE [2023-03-28T19:55:52.694Z] ---> Running in 4a6f18ff9863 [2023-03-28T19:55:52.694Z] noop [2023-03-28T19:55:52.694Z] Removing intermediate container 4a6f18ff9863 [2023-03-28T19:55:52.694Z] ---> a978de429364 [2023-03-28T19:55:52.694Z] Successfully built a978de429364 [2023-03-28T19:55:52.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:55:53.172Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T19:55:53.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:55:53.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-6101 does not seem to be running inside a container [2023-03-28T19:55:53.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T19:55:54.804Z] $ docker top 3dd9f7918fd1d1cebd7f2c41caf122927ffc4be57da3cdf4a869fac85595600b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T19:55:55.716Z] + go version [2023-03-28T19:55:55.716Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-28T19:55:55.749Z] $ docker stop --time=1 3dd9f7918fd1d1cebd7f2c41caf122927ffc4be57da3cdf4a869fac85595600b [2023-03-28T19:55:57.442Z] $ docker rm -f --volumes 3dd9f7918fd1d1cebd7f2c41caf122927ffc4be57da3cdf4a869fac85595600b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:55:58.342Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T19:55:58.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:55:58.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-6101 does not seem to be running inside a container [2023-03-28T19:55:58.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T19:55:59.867Z] $ docker top 6c8689d789a8ba3f79ae9a45290d5f115238ceff84dc88832c14af7b6681aa19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T19:56:00.737Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-28T19:56:01.447Z] + make test [2023-03-28T19:56:01.447Z] go test ./... -coverprofile=coverage.out ./... [2023-03-28T19:56:40.375Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-28T19:59:02.132Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-28T19:59:02.132Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.0% of statements [2023-03-28T19:59:02.132Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-28T19:59:02.132Z] go vet ./... [2023-03-28T19:59:28.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T19:59:28.825Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T19:59:28.825Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T19:59:28.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T19:59:28.888Z] $ docker stop --time=1 6c8689d789a8ba3f79ae9a45290d5f115238ceff84dc88832c14af7b6681aa19 [2023-03-28T19:59:30.755Z] $ docker rm -f --volumes 6c8689d789a8ba3f79ae9a45290d5f115238ceff84dc88832c14af7b6681aa19 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T19:59:32.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T19:59:32.092Z] Warning: overwriting stash ‘coverage-report’ [2023-03-28T19:59:32.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T19:59:33.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T19:59:33.475Z] + ls -al . [2023-03-28T19:59:33.475Z] total 180 [2023-03-28T19:59:33.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:56 . [2023-03-28T19:59:33.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:53 .. [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 19:53 .dockerignore [2023-03-28T19:59:33.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:53 .git [2023-03-28T19:59:33.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:53 .github [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 19:53 .gitignore [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 19:53 .golangci.yml [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 28 19:53 Attribution.txt [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 28 19:53 CHANGELOG.md [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 28 19:53 Dockerfile [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 19:53 GOVERNANCE.md [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 19:53 Jenkinsfile [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 19:53 LICENSE [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 28 19:53 Makefile [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 19:53 OWNERS.md [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 28 19:53 README.md [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 19:51 VERSION [2023-03-28T19:59:33.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:53 bin [2023-03-28T19:59:33.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:53 cmd [2023-03-28T19:59:33.475Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 28 19:58 coverage.out [2023-03-28T19:59:33.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:53 driver [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 28 19:53 go.mod [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 28 19:53 go.sum [2023-03-28T19:59:33.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:53 snap [2023-03-28T19:59:33.475Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 19:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:59:33.902Z] + 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=fe1834ced68f714b5048b61ca1ba18ddd320c091 --label arch=arm64 --label version=0.0.0 . [2023-03-28T19:59:33.902Z] Sending build context to Docker daemon 152.1kB [2023-03-28T19:59:34.169Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T19:59:34.169Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-28T19:59:34.169Z] ---> a978de429364 [2023-03-28T19:59:34.169Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-28T19:59:34.169Z] ---> Running in 1ae3bdeda7a3 [2023-03-28T19:59:34.440Z] Removing intermediate container 1ae3bdeda7a3 [2023-03-28T19:59:34.440Z] ---> ada39a1103fc [2023-03-28T19:59:34.440Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T19:59:34.708Z] ---> Running in 6a22f0b1c0c9 [2023-03-28T19:59:34.976Z] Removing intermediate container 6a22f0b1c0c9 [2023-03-28T19:59:34.976Z] ---> ad239313e0e6 [2023-03-28T19:59:34.976Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T19:59:34.976Z] ---> Running in 6716ddf82af1 [2023-03-28T19:59:35.244Z] Removing intermediate container 6716ddf82af1 [2023-03-28T19:59:35.244Z] ---> dbe1a7242ab4 [2023-03-28T19:59:35.244Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T19:59:35.244Z] ---> Running in c14f00de540d [2023-03-28T19:59:35.829Z] Removing intermediate container c14f00de540d [2023-03-28T19:59:35.829Z] ---> b339f0760a43 [2023-03-28T19:59:35.829Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T19:59:35.829Z] ---> Running in 288305d9b85d [2023-03-28T19:59:36.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T19:59:37.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T19:59:38.792Z] OK: 268 MiB in 57 packages [2023-03-28T19:59:39.379Z] Removing intermediate container 288305d9b85d [2023-03-28T19:59:39.379Z] ---> 9cf67e7608f1 [2023-03-28T19:59:39.379Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-28T19:59:39.379Z] ---> Running in a29e875ba045 [2023-03-28T19:59:39.648Z] Removing intermediate container a29e875ba045 [2023-03-28T19:59:39.648Z] ---> 84d42e638aeb [2023-03-28T19:59:39.648Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-28T19:59:42.998Z] ---> d5482648c23c [2023-03-28T19:59:42.998Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T19:59:42.998Z] ---> Running in 1b5cc3c9e8e4 [2023-03-28T19:59:45.579Z] Removing intermediate container 1b5cc3c9e8e4 [2023-03-28T19:59:45.579Z] ---> 69ae666d0b1b [2023-03-28T19:59:45.579Z] Step 11/25 : COPY . . [2023-03-28T19:59:46.160Z] ---> 0214a7f17fb3 [2023-03-28T19:59:46.160Z] Step 12/25 : RUN $MAKE [2023-03-28T19:59:46.160Z] ---> Running in df2ed0dad920 [2023-03-28T19:59:47.117Z] 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-28T20:02:08.811Z] Removing intermediate container df2ed0dad920 [2023-03-28T20:02:08.812Z] ---> 7f31f0770183 [2023-03-28T20:02:08.812Z] Step 13/25 : FROM alpine:3.17 [2023-03-28T20:02:08.812Z] 3.17: Pulling from library/alpine [2023-03-28T20:02:08.812Z] af6eaf76a39c: Already exists [2023-03-28T20:02:08.812Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T20:02:08.812Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T20:02:08.812Z] ---> d74e625d9115 [2023-03-28T20:02:08.812Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T20:02:08.812Z] ---> Running in eb944a416e9d [2023-03-28T20:02:08.812Z] Removing intermediate container eb944a416e9d [2023-03-28T20:02:08.812Z] ---> 37d1a8e1a474 [2023-03-28T20:02:08.812Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-28T20:02:08.812Z] ---> Running in a96fe43e1051 [2023-03-28T20:02:08.812Z] Removing intermediate container a96fe43e1051 [2023-03-28T20:02:08.812Z] ---> 366d074e7eb2 [2023-03-28T20:02:08.812Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-28T20:02:08.812Z] ---> Running in 21381ea428f2 [2023-03-28T20:02:08.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T20:02:08.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T20:02:08.812Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-28T20:02:08.812Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T20:02:08.812Z] OK: 8 MiB in 16 packages [2023-03-28T20:02:10.232Z] Removing intermediate container 21381ea428f2 [2023-03-28T20:02:10.232Z] ---> 9ee91a101825 [2023-03-28T20:02:10.232Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-28T20:02:11.654Z] ---> 61eecddb743b [2023-03-28T20:02:11.654Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-28T20:02:12.244Z] ---> 02fc52fae64d [2023-03-28T20:02:12.244Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-28T20:02:12.520Z] ---> b1d8d1cd12ae [2023-03-28T20:02:12.520Z] Step 20/25 : EXPOSE 59986 [2023-03-28T20:02:12.801Z] ---> Running in f5341c0dd4a0 [2023-03-28T20:02:13.150Z] Removing intermediate container f5341c0dd4a0 [2023-03-28T20:02:13.150Z] ---> f1af6ce0a13d [2023-03-28T20:02:13.150Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-28T20:02:13.150Z] ---> Running in dbdcd587c77a [2023-03-28T20:02:13.759Z] Removing intermediate container dbdcd587c77a [2023-03-28T20:02:13.759Z] ---> 5413e7d59a8a [2023-03-28T20:02:13.759Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-28T20:02:13.759Z] ---> Running in b0424e6ec8a4 [2023-03-28T20:02:14.032Z] Removing intermediate container b0424e6ec8a4 [2023-03-28T20:02:14.032Z] ---> be68548bd907 [2023-03-28T20:02:14.032Z] Step 23/25 : LABEL arch=arm64 [2023-03-28T20:02:14.032Z] ---> Running in cce16cd8afe5 [2023-03-28T20:02:14.323Z] Removing intermediate container cce16cd8afe5 [2023-03-28T20:02:14.323Z] ---> c549630ac57e [2023-03-28T20:02:14.323Z] Step 24/25 : LABEL git_sha=fe1834ced68f714b5048b61ca1ba18ddd320c091 [2023-03-28T20:02:14.602Z] ---> Running in afeb7625f4ec [2023-03-28T20:02:14.884Z] Removing intermediate container afeb7625f4ec [2023-03-28T20:02:14.884Z] ---> 86ffd9863463 [2023-03-28T20:02:14.884Z] Step 25/25 : LABEL version=0.0.0 [2023-03-28T20:02:14.884Z] ---> Running in 1f71d6d235c4 [2023-03-28T20:02:15.156Z] Removing intermediate container 1f71d6d235c4 [2023-03-28T20:02:15.156Z] ---> 10ef33101444 [2023-03-28T20:02:15.156Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T20:02:15.156Z] Successfully built 10ef33101444 [2023-03-28T20:02:15.156Z] 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-28T20:02:15.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T20:02:15.990Z] [2023-03-28T20:02:15.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:02:16.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T20:02:16.409Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-28T20:02:16.409Z] 8998bd30e6a1: Pulling fs layer [2023-03-28T20:02:16.409Z] 04944245beec: Pulling fs layer [2023-03-28T20:02:16.409Z] 699f458cf7ca: Pulling fs layer [2023-03-28T20:02:16.409Z] 765212b225bb: Pulling fs layer [2023-03-28T20:02:16.409Z] f23df028b6ca: Pulling fs layer [2023-03-28T20:02:16.409Z] d65c8cfc05b1: Pulling fs layer [2023-03-28T20:02:16.409Z] 2437ff75d9bd: Pulling fs layer [2023-03-28T20:02:16.409Z] 765212b225bb: Waiting [2023-03-28T20:02:16.409Z] d65c8cfc05b1: Waiting [2023-03-28T20:02:16.409Z] 2437ff75d9bd: Waiting [2023-03-28T20:02:16.676Z] 04944245beec: Verifying Checksum [2023-03-28T20:02:16.676Z] 04944245beec: Download complete [2023-03-28T20:02:16.676Z] 765212b225bb: Verifying Checksum [2023-03-28T20:02:16.676Z] 765212b225bb: Download complete [2023-03-28T20:02:16.676Z] f23df028b6ca: Download complete [2023-03-28T20:02:16.676Z] d65c8cfc05b1: Download complete [2023-03-28T20:02:16.949Z] 699f458cf7ca: Verifying Checksum [2023-03-28T20:02:16.949Z] 699f458cf7ca: Download complete [2023-03-28T20:02:17.219Z] 8998bd30e6a1: Verifying Checksum [2023-03-28T20:02:17.219Z] 8998bd30e6a1: Download complete [2023-03-28T20:02:19.813Z] 2437ff75d9bd: Verifying Checksum [2023-03-28T20:02:19.813Z] 2437ff75d9bd: Download complete [2023-03-28T20:02:21.761Z] 8998bd30e6a1: Pull complete [2023-03-28T20:02:22.345Z] 04944245beec: Pull complete [2023-03-28T20:02:23.753Z] 699f458cf7ca: Pull complete [2023-03-28T20:02:23.753Z] 765212b225bb: Pull complete [2023-03-28T20:02:24.712Z] f23df028b6ca: Pull complete [2023-03-28T20:02:24.712Z] d65c8cfc05b1: Pull complete [2023-03-28T20:02:39.693Z] 2437ff75d9bd: Pull complete [2023-03-28T20:02:39.693Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-28T20:02:39.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T20:02:39.693Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:02:40.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-6101 does not seem to be running inside a container [2023-03-28T20:02:40.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-28T20:02:42.927Z] $ docker top 506fd83f391358d3b0ae3c2ee558ca86c2b8855abb414ec69ef1e50c1b473bfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:43.836Z] ---> job-cost.sh [2023-03-28T20:02:43.836Z] lf-activate-venv: SKIPPING [2023-03-28T20:02:43.836Z] INFO: No Stack... [2023-03-28T20:02:44.106Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-28T20:02:45.072Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T20:02:45.744Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-28T20:02:45.744Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T20:02:45.831Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] [2023-03-28T20:02:45.836Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] did not exist. Created. [2023-03-28T20:02:45.836Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T20:02:46.592Z] /w/workspace/device-rest-go/1@tmp/durable-40d34df5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-28T20:02:47.271Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-28T20:02:47.307Z] Warning: overwriting stash ‘stack-cost’ [2023-03-28T20:02:47.356Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T20:02:47.376Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-284-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T20:02:47.449Z] $ docker stop --time=1 506fd83f391358d3b0ae3c2ee558ca86c2b8855abb414ec69ef1e50c1b473bfe [2023-03-28T20:02:48.974Z] $ docker rm -f --volumes 506fd83f391358d3b0ae3c2ee558ca86c2b8855abb414ec69ef1e50c1b473bfe [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-28T20:02:49.946Z] provisioning config files... [2023-03-28T20:02:49.954Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp/config13500062499015175174tmp [Pipeline] { [Pipeline] sh [2023-03-28T20:02:50.298Z] + set +x [2023-03-28T20:02:50.298Z] + + curl -s https://codecov.io/bash [2023-03-28T20:02:50.298Z] bash -s -- [2023-03-28T20:02:50.298Z] [2023-03-28T20:02:50.298Z] _____ _ [2023-03-28T20:02:50.298Z] / ____| | | [2023-03-28T20:02:50.298Z] | | ___ __| | ___ ___ _____ __ [2023-03-28T20:02:50.298Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-28T20:02:50.298Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-28T20:02:50.298Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-28T20:02:50.298Z] Bash-1.0.6 [2023-03-28T20:02:50.298Z] [2023-03-28T20:02:50.298Z] [2023-03-28T20:02:50.298Z] ==> git version 2.25.1 found [2023-03-28T20:02:50.298Z] ==> 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-28T20:02:50.298Z] Release-Date: 2020-01-08 [2023-03-28T20:02:50.298Z] 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-28T20:02:50.298Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-28T20:02:50.298Z] ==> Jenkins CI detected. [2023-03-28T20:02:50.298Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-284 [2023-03-28T20:02:50.298Z] project root: . [2023-03-28T20:02:50.298Z] --> token set from env [2023-03-28T20:02:50.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-28T20:02:50.558Z] ==> Running gcov in . (disable via -X gcov) [2023-03-28T20:02:50.558Z] ==> Python coveragepy not found [2023-03-28T20:02:50.558Z] ==> Searching for coverage reports in: [2023-03-28T20:02:50.558Z] + . [2023-03-28T20:02:50.558Z] -> Found 1 reports [2023-03-28T20:02:50.558Z] ==> Detecting git/mercurial file structure [2023-03-28T20:02:50.558Z] ==> Reading reports [2023-03-28T20:02:50.558Z] + ./coverage.out bytes=14200 [2023-03-28T20:02:50.558Z] ==> Appending adjustments [2023-03-28T20:02:50.558Z] https://docs.codecov.io/docs/fixing-reports [2023-03-28T20:02:50.558Z] + Found adjustments [2023-03-28T20:02:50.558Z] ==> Gzipping contents [2023-03-28T20:02:50.558Z] 4.0K /tmp/codecov.KcDsqq.gz [2023-03-28T20:02:50.558Z] ==> Uploading reports [2023-03-28T20:02:50.558Z] url: https://codecov.io [2023-03-28T20:02:50.558Z] query: branch=PR-284&commit=fe1834ced68f714b5048b61ca1ba18ddd320c091&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-284%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=284&job=&cmd_args= [2023-03-28T20:02:50.558Z] -> Pinging Codecov [2023-03-28T20:02:50.558Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-284&commit=fe1834ced68f714b5048b61ca1ba18ddd320c091&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-284%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=284&job=&cmd_args= [2023-03-28T20:02:50.818Z] -> Uploading to [2023-03-28T20:02:50.818Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-28/4E5D53B4F1F92C436F7061BF334D961C/fe1834ced68f714b5048b61ca1ba18ddd320c091/89edaa12-2eab-4399-b509-84080fc720a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T200250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e8985931cf1a04da0da2968e4b7550e9eb4010f4f9bb08bdba3a58c6fd16d36 [2023-03-28T20:02:50.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T20:02:50.818Z] Dload Upload Total Spent Left Speed [2023-03-28T20:02:51.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 8491 --:--:-- --:--:-- --:--:-- 8491 [2023-03-28T20:02:51.078Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fe1834ced68f714b5048b61ca1ba18ddd320c091 [Pipeline] } [2023-03-28T20:02:51.103Z] 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-28T20:02:52.826Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-284/archives ] [2023-03-28T20:02:52.827Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-284/archives [2023-03-28T20:02:52.827Z] total 16 [2023-03-28T20:02:52.827Z] drwxr-xr-x 3 root root 4096 Mar 28 19:53 . [2023-03-28T20:02:52.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 19:53 .. [2023-03-28T20:02:52.827Z] drwxr-xr-x 2 root root 4096 Mar 28 19:53 cost [2023-03-28T20:02:52.827Z] -rw-r--r-- 1 root root 86 Mar 28 19:53 cost.csv [2023-03-28T20:02:52.827Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-284/archives [2023-03-28T20:02:52.827Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-284/archives [2023-03-28T20:02:52.827Z] total 16 [2023-03-28T20:02:52.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 19:53 . [2023-03-28T20:02:52.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 19:53 .. [2023-03-28T20:02:52.827Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 19:53 cost [2023-03-28T20:02:52.827Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 28 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:53.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:54.035Z] ---> package-listing.sh [2023-03-28T20:02:54.035Z] ++ facter osfamily [2023-03-28T20:02:54.035Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-28T20:02:54.294Z] + OS_FAMILY=debian [2023-03-28T20:02:54.294Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-284 [2023-03-28T20:02:54.294Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-28T20:02:54.294Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-28T20:02:54.294Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-28T20:02:54.294Z] + PACKAGES=/tmp/packages_start.txt [2023-03-28T20:02:54.294Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-284 ']' [2023-03-28T20:02:54.294Z] + PACKAGES=/tmp/packages_end.txt [2023-03-28T20:02:54.294Z] + case "${OS_FAMILY}" in [2023-03-28T20:02:54.294Z] + dpkg -l [2023-03-28T20:02:54.294Z] + grep '^ii' [2023-03-28T20:02:54.294Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-28T20:02:54.294Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-28T20:02:54.294Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-28T20:02:54.294Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-284 ']' [2023-03-28T20:02:54.294Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-284/archives/ [2023-03-28T20:02:54.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-284/archives/ [Pipeline] echo [2023-03-28T20:02:54.330Z] 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-284/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-28T20:02:54.623Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:02:55.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T20:02:55.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:02:55.396Z] prd-ubuntu20.04-docker-8c-8g-6099 does not seem to be running inside a container [2023-03-28T20:02:55.433Z] $ 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-284/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-284 -v /w/workspace/gexfoundry_device-rest-go_PR-284:/w/workspace/gexfoundry_device-rest-go_PR-284:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-284@tmp:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T20:02:56.132Z] $ docker top 4e37a9e6644672a28466fa008afb0ae08fb1ef5a8ecf9af91fdb288d74d70ecb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T20:02:56.512Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-28T20:02:56.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-28T20:02:57.130Z] + ls /var/log/sa-host [2023-03-28T20:02:57.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T20:02:57.335Z] provisioning config files... [2023-03-28T20:02:57.346Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-284@tmp/config1648867918045840600tmp [Pipeline] { [Pipeline] echo [2023-03-28T20:02:57.397Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:57.708Z] ---> create-netrc.sh [Pipeline] } [2023-03-28T20:02:57.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:58.133Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-28T20:02:58.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:58.482Z] ---> sudo-logs.sh [2023-03-28T20:02:58.482Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-28T20:02:58.582Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:02:58.898Z] ---> job-cost.sh [2023-03-28T20:02:58.898Z] lf-activate-venv: SKIPPING [2023-03-28T20:02:58.898Z] DEBUG: total: 0.2199999988079071 [2023-03-28T20:02:58.898Z] INFO: Retrieving Stack Cost... [2023-03-28T20:02:59.158Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T20:02:59.726Z] INFO: Archiving Costs [Pipeline] echo [2023-03-28T20:02:59.760Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:03:00.068Z] ---> logs-deploy.sh [2023-03-28T20:03:00.068Z] lf-activate-venv: SKIPPING [2023-03-28T20:03:00.068Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-284/1 [2023-03-28T20:03:00.068Z] INFO: archiving workspace using pattern(s): [2023-03-28T20:03:01.003Z] Archives upload complete. [2023-03-28T20:03:01.262Z] INFO: archiving logs to Nexus