Pull request #283 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4561efb2657d4e5cf5cd4d562a19425507c36775+dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 (7f1d1aa1a9a74a1619b88c0ffc2bde0fb0909824) 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-ssh8686664395833541655.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-ssh10874822600205700980.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5626830190944444927.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16022937864018147710.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5026042009799942217.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6326 in /w/workspace/gexfoundry_device-rest-go_PR-283 [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-283 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 into PR head commit 4561efb2657d4e5cf5cd4d562a19425507c36775 Merge succeeded, producing 4561efb2657d4e5cf5cd4d562a19425507c36775 Checking out Revision 4561efb2657d4e5cf5cd4d562a19425507c36775 (PR-283) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > 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/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # 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 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # timeout=10 > git rev-list --no-walk b390f61bd8c883d6ae2464f8d0075887d57bcafb # timeout=10 [Pipeline] timeout [2023-03-29T23:26:37.653Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T23:26:37.712Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T23:26:37.729Z] ========================================================= [2023-03-29T23:26:37.729Z] EdgeX Global Pipelines Version Info [2023-03-29T23:26:37.729Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:26:38.440Z] ------------------- [2023-03-29T23:26:38.440Z] stable info: [2023-03-29T23:26:38.440Z] ------------------- [2023-03-29T23:26:38.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T23:26:38.440Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T23:26:38.440Z] Message: update stable to v1.0.245 [2023-03-29T23:26:39.011Z] ------------------- [2023-03-29T23:26:39.011Z] experimental info: [2023-03-29T23:26:39.011Z] ------------------- [2023-03-29T23:26:39.011Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T23:26:39.011Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T23:26:39.011Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T23:26:39.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-29T23:26:39.169Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-29T23:26:39.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T23:26:39.192Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T23:26:39.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T23:26:39.226Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T23:26:39.236Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T23:26:39.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T23:26:39.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T23:26:39.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T23:26:39.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T23:26:39.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-29T23:26:39.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T23:26:39.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T23:26:39.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T23:26:39.313Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T23:26:39.321Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T23:26:39.329Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T23:26:39.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T23:26:39.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T23:26:39.352Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-29T23:26:39.360Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-29T23:26:39.368Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T23:26:39.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T23:26:39.385Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T23:26:39.398Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T23:26:39.411Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T23:26:39.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo [2023-03-29T23:26:39.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo [2023-03-29T23:26:39.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo [2023-03-29T23:26:39.467Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo [2023-03-29T23:26:39.479Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4561efb [Pipeline] echo [2023-03-29T23:26:39.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T23:26:39.528Z] provisioning config files... [2023-03-29T23:26:39.542Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config13645559139119395008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:26:39.839Z] ---> docker-login.sh [2023-03-29T23:26:39.839Z] nexus3.edgexfoundry.org:10001 [2023-03-29T23:26:40.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:40.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:40.098Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:40.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:40.098Z] [2023-03-29T23:26:40.098Z] Login Succeeded [2023-03-29T23:26:40.098Z] nexus3.edgexfoundry.org:10002 [2023-03-29T23:26:40.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:40.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:40.098Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:40.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:40.098Z] [2023-03-29T23:26:40.098Z] Login Succeeded [2023-03-29T23:26:40.098Z] nexus3.edgexfoundry.org:10003 [2023-03-29T23:26:40.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:40.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:40.357Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:40.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:40.357Z] [2023-03-29T23:26:40.357Z] Login Succeeded [2023-03-29T23:26:40.357Z] nexus3.edgexfoundry.org:10004 [2023-03-29T23:26:40.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:40.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:40.357Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:40.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:40.357Z] [2023-03-29T23:26:40.357Z] Login Succeeded [2023-03-29T23:26:40.357Z] docker.io [2023-03-29T23:26:40.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:40.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:40.617Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:40.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:40.617Z] [2023-03-29T23:26:40.617Z] Login Succeeded [2023-03-29T23:26:40.617Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T23:26:40.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T23:26:40.984Z] + git rev-list -1 --merges 4561efb2657d4e5cf5cd4d562a19425507c36775~1..4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo [2023-03-29T23:26:41.032Z] -----------> git rev-list -1 --merges 4561efb2657d4e5cf5cd4d562a19425507c36775~1..4561efb2657d4e5cf5cd4d562a19425507c36775 4561efb2657d4e5cf5cd4d562a19425507c36775 [false] [Pipeline] sh [2023-03-29T23:26:41.318Z] + git log --format=format:%s -1 4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo [2023-03-29T23:26:41.361Z] ========================================================= [2023-03-29T23:26:41.361Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T23:26:41.361Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T23:26:41.694Z] + git log --format=format:%s -1 4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo [2023-03-29T23:26:41.708Z] [semverPrep] GIT_COMMIT: 4561efb2657d4e5cf5cd4d562a19425507c36775, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-29T23:26:41.717Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T23:26:42.055Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T23:26:42.055Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T23:26:42.055Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T23:26:42.055Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T23:26:42.055Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T23:26:42.055Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T23:26:42.055Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:26:42.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T23:26:42.393Z] [2023-03-29T23:26:42.393Z] 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-29T23:26:42.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T23:26:42.693Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T23:26:42.693Z] b85a868b505f: Pulling fs layer [2023-03-29T23:26:42.693Z] e2be974225ed: Pulling fs layer [2023-03-29T23:26:42.693Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T23:26:42.693Z] 988bab9f4d93: Pulling fs layer [2023-03-29T23:26:42.693Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T23:26:42.693Z] eaf3925da568: Pulling fs layer [2023-03-29T23:26:42.693Z] bab4dde63d76: Pulling fs layer [2023-03-29T23:26:42.693Z] bde34c3a00c8: Pulling fs layer [2023-03-29T23:26:42.693Z] b352a97aabf1: Pulling fs layer [2023-03-29T23:26:42.693Z] 4872d77fe225: Pulling fs layer [2023-03-29T23:26:42.693Z] 5851b861e8e6: Pulling fs layer [2023-03-29T23:26:42.693Z] bde34c3a00c8: Waiting [2023-03-29T23:26:42.693Z] 4872d77fe225: Waiting [2023-03-29T23:26:42.693Z] 5851b861e8e6: Waiting [2023-03-29T23:26:42.693Z] bab4dde63d76: Waiting [2023-03-29T23:26:42.693Z] 988bab9f4d93: Waiting [2023-03-29T23:26:42.693Z] eaf3925da568: Waiting [2023-03-29T23:26:42.693Z] b352a97aabf1: Waiting [2023-03-29T23:26:42.693Z] 1469e6f7b9e6: Waiting [2023-03-29T23:26:42.693Z] e2be974225ed: Download complete [2023-03-29T23:26:42.693Z] 988bab9f4d93: Verifying Checksum [2023-03-29T23:26:42.693Z] 988bab9f4d93: Download complete [2023-03-29T23:26:42.693Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T23:26:42.693Z] 1469e6f7b9e6: Download complete [2023-03-29T23:26:42.693Z] eaf3925da568: Download complete [2023-03-29T23:26:42.693Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T23:26:42.693Z] 339a4e72a1f5: Download complete [2023-03-29T23:26:42.693Z] bde34c3a00c8: Verifying Checksum [2023-03-29T23:26:42.693Z] bde34c3a00c8: Download complete [2023-03-29T23:26:42.953Z] b352a97aabf1: Download complete [2023-03-29T23:26:42.953Z] 4872d77fe225: Download complete [2023-03-29T23:26:42.953Z] 5851b861e8e6: Download complete [2023-03-29T23:26:42.953Z] b85a868b505f: Verifying Checksum [2023-03-29T23:26:42.953Z] b85a868b505f: Download complete [2023-03-29T23:26:43.211Z] bab4dde63d76: Verifying Checksum [2023-03-29T23:26:43.211Z] bab4dde63d76: Download complete [2023-03-29T23:26:44.156Z] b85a868b505f: Pull complete [2023-03-29T23:26:44.414Z] e2be974225ed: Pull complete [2023-03-29T23:26:45.007Z] 339a4e72a1f5: Pull complete [2023-03-29T23:26:45.007Z] 988bab9f4d93: Pull complete [2023-03-29T23:26:45.269Z] 1469e6f7b9e6: Pull complete [2023-03-29T23:26:45.530Z] eaf3925da568: Pull complete [2023-03-29T23:26:47.434Z] bab4dde63d76: Pull complete [2023-03-29T23:26:47.434Z] bde34c3a00c8: Pull complete [2023-03-29T23:26:47.692Z] b352a97aabf1: Pull complete [2023-03-29T23:26:47.692Z] 4872d77fe225: Pull complete [2023-03-29T23:26:47.692Z] 5851b861e8e6: Pull complete [2023-03-29T23:26:47.692Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T23:26:47.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T23:26:47.692Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:26:47.788Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-03-29T23:26:47.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@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-devops/py-git-semver:0.1.4 cat [2023-03-29T23:26:51.470Z] $ docker top f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc -eo pid,comm [2023-03-29T23:26:51.521Z] 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-29T23:26:51.521Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T23:26:51.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T23:26:51.561Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T23:26:51.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T23:26:51.675Z] $ docker exec f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent [2023-03-29T23:26:51.795Z] SSH_AUTH_SOCK=/tmp/ssh-WXl5MOrveuSt/agent.33 [2023-03-29T23:26:51.795Z] SSH_AGENT_PID=39 [2023-03-29T23:26:51.802Z] Running ssh-add (command line suppressed) [2023-03-29T23:26:51.918Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_4176794184532912565.key (/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_4176794184532912565.key) [2023-03-29T23:26:51.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T23:26:52.222Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T23:26:52.236Z] $ docker exec --env ******** --env ******** f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent -k [2023-03-29T23:26:52.350Z] unset SSH_AUTH_SOCK; [2023-03-29T23:26:52.351Z] unset SSH_AGENT_PID; [2023-03-29T23:26:52.351Z] echo Agent pid 39 killed; [2023-03-29T23:26:52.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T23:26:52.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T23:26:52.389Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T23:26:52.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T23:26:52.517Z] $ docker exec f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent [2023-03-29T23:26:52.625Z] SSH_AUTH_SOCK=/tmp/ssh-KB46kOjDeBf7/agent.71 [2023-03-29T23:26:52.625Z] SSH_AGENT_PID=77 [2023-03-29T23:26:52.630Z] Running ssh-add (command line suppressed) [2023-03-29T23:26:52.748Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_13568198424322889406.key (/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_13568198424322889406.key) [2023-03-29T23:26:52.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T23:26:53.050Z] + git semver init [2023-03-29T23:26:53.310Z] 2023-03-29 23:26:53,238 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T23:26:53.310Z] 2023-03-29 23:26:53,239 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-283/.semver [2023-03-29T23:26:53.310Z] 2023-03-29 23:26:53,239 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-283/.semver [2023-03-29T23:26:53.310Z] 2023-03-29 23:26:53,240 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-283/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-283, universal_newlines=False, shell=None, istream=None) [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,347 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-283/.git/info/exclude [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,348 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-283/.semver/PR-283 with force:False [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,348 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-283/.semver/PR-283 [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,352 [execute] INFO git cat-file --batch-check [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,359 [execute] INFO git cat-file --batch [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T23:26:54.701Z] 2023-03-29 23:26:54,365 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-283/.semver/PR-283 [2023-03-29T23:26:54.701Z] 0.0.0 [Pipeline] } [2023-03-29T23:26:54.711Z] $ docker exec --env ******** --env ******** f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent -k [2023-03-29T23:26:54.815Z] unset SSH_AUTH_SOCK; [2023-03-29T23:26:54.816Z] unset SSH_AGENT_PID; [2023-03-29T23:26:54.816Z] echo Agent pid 77 killed; [2023-03-29T23:26:54.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T23:26:55.124Z] + git semver [Pipeline] } [2023-03-29T23:26:55.403Z] $ docker stop --time=1 f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc [2023-03-29T23:26:56.731Z] $ docker rm -f --volumes f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T23:26:57.059Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T23:26:57.270Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T23:26:57.273Z] [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-29T23:26:57.422Z] provisioning config files... [2023-03-29T23:26:57.429Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config4330850741417931281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:26:57.724Z] ---> docker-login.sh [2023-03-29T23:26:57.724Z] nexus3.edgexfoundry.org:10001 [2023-03-29T23:26:57.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:57.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:57.724Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:57.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:57.724Z] [2023-03-29T23:26:57.724Z] Login Succeeded [2023-03-29T23:26:57.724Z] nexus3.edgexfoundry.org:10002 [2023-03-29T23:26:57.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:57.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:57.724Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:57.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:57.724Z] [2023-03-29T23:26:57.983Z] Login Succeeded [2023-03-29T23:26:57.983Z] nexus3.edgexfoundry.org:10003 [2023-03-29T23:26:57.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:57.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:57.983Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:57.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:57.983Z] [2023-03-29T23:26:57.983Z] Login Succeeded [2023-03-29T23:26:57.983Z] nexus3.edgexfoundry.org:10004 [2023-03-29T23:26:57.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:57.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:57.983Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:57.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:57.983Z] [2023-03-29T23:26:57.983Z] Login Succeeded [2023-03-29T23:26:57.983Z] docker.io [2023-03-29T23:26:58.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:26:58.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:26:58.243Z] Configure a credential helper to remove this warning. See [2023-03-29T23:26:58.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:26:58.244Z] [2023-03-29T23:26:58.244Z] Login Succeeded [2023-03-29T23:26:58.244Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T23:26:58.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T23:26:58.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:26:58.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:26:58.366Z] ========================================================= [2023-03-29T23:26:58.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T23:26:58.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:26:58.675Z] + 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-29T23:26:58.675Z] Sending build context to Docker daemon 10.87MB [2023-03-29T23:26:58.675Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:26:58.675Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T23:26:58.675Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T23:26:58.675Z] 63b65145d645: Pulling fs layer [2023-03-29T23:26:58.675Z] a2d21d5440eb: Pulling fs layer [2023-03-29T23:26:58.675Z] 935e6c44a52c: Pulling fs layer [2023-03-29T23:26:58.675Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T23:26:58.675Z] 30dea6a524f1: Pulling fs layer [2023-03-29T23:26:58.675Z] a2aff8979fd8: Pulling fs layer [2023-03-29T23:26:58.675Z] 6808be2612f2: Pulling fs layer [2023-03-29T23:26:58.675Z] f25807f1079a: Pulling fs layer [2023-03-29T23:26:58.675Z] a2aff8979fd8: Waiting [2023-03-29T23:26:58.675Z] 6808be2612f2: Waiting [2023-03-29T23:26:58.675Z] f25807f1079a: Waiting [2023-03-29T23:26:58.675Z] 94cc34f8dd06: Waiting [2023-03-29T23:26:58.675Z] 30dea6a524f1: Waiting [2023-03-29T23:26:58.935Z] a2d21d5440eb: Download complete [2023-03-29T23:26:58.935Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T23:26:58.935Z] 94cc34f8dd06: Download complete [2023-03-29T23:26:58.935Z] 30dea6a524f1: Verifying Checksum [2023-03-29T23:26:58.935Z] 30dea6a524f1: Download complete [2023-03-29T23:26:58.935Z] 63b65145d645: Verifying Checksum [2023-03-29T23:26:58.935Z] 63b65145d645: Download complete [2023-03-29T23:26:58.935Z] a2aff8979fd8: Verifying Checksum [2023-03-29T23:26:58.935Z] a2aff8979fd8: Download complete [2023-03-29T23:26:59.194Z] 63b65145d645: Pull complete [2023-03-29T23:26:59.194Z] a2d21d5440eb: Pull complete [2023-03-29T23:26:59.452Z] f25807f1079a: Verifying Checksum [2023-03-29T23:26:59.452Z] 935e6c44a52c: Verifying Checksum [2023-03-29T23:26:59.452Z] 935e6c44a52c: Download complete [2023-03-29T23:26:59.711Z] 6808be2612f2: Verifying Checksum [2023-03-29T23:26:59.711Z] 6808be2612f2: Download complete [2023-03-29T23:27:02.992Z] 935e6c44a52c: Pull complete [2023-03-29T23:27:03.253Z] 94cc34f8dd06: Pull complete [2023-03-29T23:27:03.253Z] 30dea6a524f1: Pull complete [2023-03-29T23:27:03.253Z] a2aff8979fd8: Pull complete [2023-03-29T23:27:05.793Z] 6808be2612f2: Pull complete [2023-03-29T23:27:06.734Z] f25807f1079a: Pull complete [2023-03-29T23:27:06.734Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T23:27:06.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T23:27:06.734Z] ---> 3b553350e43f [2023-03-29T23:27:06.734Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:27:12.020Z] ---> Running in e512e52b9660 [2023-03-29T23:27:12.020Z] Removing intermediate container e512e52b9660 [2023-03-29T23:27:12.020Z] ---> 7537126ce95d [2023-03-29T23:27:12.020Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:27:12.020Z] ---> Running in aad33aab384f [2023-03-29T23:27:12.020Z] Removing intermediate container aad33aab384f [2023-03-29T23:27:12.020Z] ---> 9c3766ac21c6 [2023-03-29T23:27:12.020Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:27:12.020Z] ---> Running in a2fc7ab56188 [2023-03-29T23:27:12.020Z] Removing intermediate container a2fc7ab56188 [2023-03-29T23:27:12.020Z] ---> 4473492b43b3 [2023-03-29T23:27:12.020Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:27:12.020Z] ---> Running in a34d62ea5d2b [2023-03-29T23:27:12.281Z] Removing intermediate container a34d62ea5d2b [2023-03-29T23:27:12.281Z] ---> 219092c539be [2023-03-29T23:27:12.281Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:27:12.281Z] ---> Running in c04a56ae4d15 [2023-03-29T23:27:12.380Z] Still waiting to schedule task [2023-03-29T23:27:12.380Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-29T23:27:12.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T23:27:12.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T23:27:12.804Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T23:27:12.804Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T23:27:12.804Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T23:27:13.073Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T23:27:13.073Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:27:13.073Z] OK: 269 MiB in 57 packages [2023-03-29T23:27:13.332Z] Removing intermediate container c04a56ae4d15 [2023-03-29T23:27:13.332Z] ---> 3b60e1d17a2a [2023-03-29T23:27:13.332Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-29T23:27:13.332Z] ---> Running in 08677ed4de1e [2023-03-29T23:27:13.595Z] Removing intermediate container 08677ed4de1e [2023-03-29T23:27:13.595Z] ---> c3682ab38c37 [2023-03-29T23:27:13.595Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-29T23:27:13.595Z] ---> b57820c60dcd [2023-03-29T23:27:13.595Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:27:13.595Z] ---> Running in 5333c86d76fc [2023-03-29T23:27:52.362Z] Removing intermediate container 5333c86d76fc [2023-03-29T23:27:52.362Z] ---> 2b0f0d3c1756 [2023-03-29T23:27:52.362Z] Step 11/12 : COPY . . [2023-03-29T23:27:52.362Z] ---> 2ed7f2d0c553 [2023-03-29T23:27:52.362Z] Step 12/12 : RUN $MAKE [2023-03-29T23:27:52.362Z] ---> Running in 4257170b893a [2023-03-29T23:27:52.362Z] noop [2023-03-29T23:27:52.362Z] Removing intermediate container 4257170b893a [2023-03-29T23:27:52.362Z] ---> 6abb033ffae0 [2023-03-29T23:27:52.362Z] Successfully built 6abb033ffae0 [2023-03-29T23:27:52.362Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:27:52.683Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T23:27:52.683Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:27:52.754Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-03-29T23:27:52.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T23:27:53.129Z] $ docker top 705d4acc2cb64aa0a000d23a8e8522ccf0e02b1712eba3e255b276c3fb085eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:27:53.473Z] + go version [2023-03-29T23:27:53.473Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T23:27:53.486Z] $ docker stop --time=1 705d4acc2cb64aa0a000d23a8e8522ccf0e02b1712eba3e255b276c3fb085eb0 [2023-03-29T23:27:54.778Z] $ docker rm -f --volumes 705d4acc2cb64aa0a000d23a8e8522ccf0e02b1712eba3e255b276c3fb085eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:27:55.190Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T23:27:55.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:27:55.273Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-03-29T23:27:55.308Z] $ 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-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T23:27:55.661Z] $ docker top fea7d96e1005f642eb25d537f60714244db68666483b7623412ef6a88403d62c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:27:55.995Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-283 [Pipeline] fileExists [Pipeline] sh [2023-03-29T23:27:56.288Z] + make test [2023-03-29T23:27:56.288Z] go test ./... -coverprofile=coverage.out ./... [2023-03-29T23:28:01.595Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-29T23:28:11.602Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-29T23:28:11.602Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.0% of statements [2023-03-29T23:28:19.880Z] go vet ./... [2023-03-29T23:28:23.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T23:28:23.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T23:28:23.156Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T23:28:23.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T23:28:23.185Z] $ docker stop --time=1 fea7d96e1005f642eb25d537f60714244db68666483b7623412ef6a88403d62c [2023-03-29T23:28:27.418Z] $ docker rm -f --volumes fea7d96e1005f642eb25d537f60714244db68666483b7623412ef6a88403d62c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T23:28:27.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T23:28:27.904Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-29T23:28:28.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T23:28:28.608Z] + ls -al . [2023-03-29T23:28:28.608Z] total 184 [2023-03-29T23:28:28.608Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:27 . [2023-03-29T23:28:28.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 .. [2023-03-29T23:28:28.608Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:26 .dockerignore [2023-03-29T23:28:28.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:26 .git [2023-03-29T23:28:28.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 .github [2023-03-29T23:28:28.608Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:26 .gitignore [2023-03-29T23:28:28.608Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:26 .golangci.yml [2023-03-29T23:28:28.608Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:26 .semver [2023-03-29T23:28:28.608Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:26 Attribution.txt [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:26 CHANGELOG.md [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:26 Dockerfile [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:26 GOVERNANCE.md [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:26 Jenkinsfile [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:26 LICENSE [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:26 Makefile [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:26 OWNERS.md [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:26 README.md [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:26 VERSION [2023-03-29T23:28:28.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 bin [2023-03-29T23:28:28.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 cmd [2023-03-29T23:28:28.609Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:28 coverage.out [2023-03-29T23:28:28.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 driver [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:26 go.mod [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:26 go.sum [2023-03-29T23:28:28.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 snap [2023-03-29T23:28:28.609Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:28:28.994Z] + 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=4561efb2657d4e5cf5cd4d562a19425507c36775 --label arch=amd64 --label version=0.0.0 . [2023-03-29T23:28:28.994Z] Sending build context to Docker daemon 10.89MB [2023-03-29T23:28:28.994Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:28:28.994Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-29T23:28:28.994Z] ---> 6abb033ffae0 [2023-03-29T23:28:28.994Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:28:29.253Z] ---> Running in e05be5cb4a2f [2023-03-29T23:28:29.253Z] Removing intermediate container e05be5cb4a2f [2023-03-29T23:28:29.253Z] ---> e1ed1f55973b [2023-03-29T23:28:29.253Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:28:29.253Z] ---> Running in 12c94c46f1c2 [2023-03-29T23:28:29.516Z] Removing intermediate container 12c94c46f1c2 [2023-03-29T23:28:29.516Z] ---> e539e948d9f5 [2023-03-29T23:28:29.516Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:28:29.516Z] ---> Running in e246c611e803 [2023-03-29T23:28:29.516Z] Removing intermediate container e246c611e803 [2023-03-29T23:28:29.516Z] ---> 9ae3e04ba9c2 [2023-03-29T23:28:29.516Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:28:29.516Z] ---> Running in a46d65ad3ddc [2023-03-29T23:28:29.516Z] Removing intermediate container a46d65ad3ddc [2023-03-29T23:28:29.516Z] ---> 5eeee2225d7b [2023-03-29T23:28:29.516Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:28:29.516Z] ---> Running in c2fa593303f6 [2023-03-29T23:28:30.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T23:28:30.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T23:28:30.339Z] OK: 269 MiB in 57 packages [2023-03-29T23:28:30.598Z] Removing intermediate container c2fa593303f6 [2023-03-29T23:28:30.598Z] ---> b33b1179a921 [2023-03-29T23:28:30.598Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-29T23:28:30.598Z] ---> Running in 0e6ff225560e [2023-03-29T23:28:30.598Z] Removing intermediate container 0e6ff225560e [2023-03-29T23:28:30.598Z] ---> ccda619d6937 [2023-03-29T23:28:30.598Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-29T23:28:30.856Z] ---> 4565fea0cf4c [2023-03-29T23:28:30.856Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:28:30.856Z] ---> Running in c451db665c82 [2023-03-29T23:28:31.420Z] Removing intermediate container c451db665c82 [2023-03-29T23:28:31.420Z] ---> 80341f235c65 [2023-03-29T23:28:31.420Z] Step 11/25 : COPY . . [2023-03-29T23:28:32.006Z] ---> 4580282e7ac4 [2023-03-29T23:28:32.006Z] Step 12/25 : RUN $MAKE [2023-03-29T23:28:32.006Z] ---> Running in cae6ff857ca2 [2023-03-29T23:28:32.264Z] 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-29T23:28:54.199Z] Removing intermediate container cae6ff857ca2 [2023-03-29T23:28:54.199Z] ---> 4fc094eb87a5 [2023-03-29T23:28:54.199Z] Step 13/25 : FROM alpine:3.17 [2023-03-29T23:28:54.199Z] 3.17: Pulling from library/alpine [2023-03-29T23:28:54.199Z] f56be85fc22e: Pulling fs layer [2023-03-29T23:28:54.199Z] f56be85fc22e: Verifying Checksum [2023-03-29T23:28:54.199Z] f56be85fc22e: Pull complete [2023-03-29T23:28:54.199Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T23:28:54.199Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T23:28:54.199Z] ---> 9ed4aefc74f6 [2023-03-29T23:28:54.199Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-29T23:28:54.199Z] ---> Running in f1eef99e629b [2023-03-29T23:28:54.199Z] Removing intermediate container f1eef99e629b [2023-03-29T23:28:54.199Z] ---> 3245de6bfa94 [2023-03-29T23:28:54.199Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-29T23:28:54.199Z] ---> Running in 15b8b608793d [2023-03-29T23:28:54.199Z] Removing intermediate container 15b8b608793d [2023-03-29T23:28:54.199Z] ---> 43a14588d757 [2023-03-29T23:28:54.199Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-29T23:28:54.199Z] ---> Running in 2cfbc63e73bf [2023-03-29T23:28:54.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T23:28:54.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T23:28:54.458Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T23:28:54.458Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:28:54.458Z] OK: 7 MiB in 16 packages [2023-03-29T23:28:54.717Z] Removing intermediate container 2cfbc63e73bf [2023-03-29T23:28:54.717Z] ---> d6acc55f0696 [2023-03-29T23:28:54.717Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-29T23:28:55.655Z] ---> de0b2ed7c01a [2023-03-29T23:28:55.655Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-29T23:28:55.914Z] ---> 4655129825bb [2023-03-29T23:28:55.914Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-29T23:28:55.914Z] ---> 0ee7c91f1402 [2023-03-29T23:28:55.914Z] Step 20/25 : EXPOSE 59986 [2023-03-29T23:28:55.914Z] ---> Running in 5439a0dfe32a [2023-03-29T23:28:55.914Z] Removing intermediate container 5439a0dfe32a [2023-03-29T23:28:55.914Z] ---> 04cde52f53dc [2023-03-29T23:28:55.914Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-29T23:28:56.172Z] ---> Running in 02190346c41e [2023-03-29T23:28:56.172Z] Removing intermediate container 02190346c41e [2023-03-29T23:28:56.172Z] ---> 7e03ec2704af [2023-03-29T23:28:56.172Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-29T23:28:56.172Z] ---> Running in 8a0be10e1a74 [2023-03-29T23:28:56.172Z] Removing intermediate container 8a0be10e1a74 [2023-03-29T23:28:56.172Z] ---> 48ab5817922c [2023-03-29T23:28:56.172Z] Step 23/25 : LABEL arch=amd64 [2023-03-29T23:28:56.172Z] ---> Running in 0b70933204a0 [2023-03-29T23:28:56.431Z] Removing intermediate container 0b70933204a0 [2023-03-29T23:28:56.431Z] ---> 933405b76102 [2023-03-29T23:28:56.431Z] Step 24/25 : LABEL git_sha=4561efb2657d4e5cf5cd4d562a19425507c36775 [2023-03-29T23:28:56.431Z] ---> Running in 8c1442a19128 [2023-03-29T23:28:56.431Z] Removing intermediate container 8c1442a19128 [2023-03-29T23:28:56.431Z] ---> 09578a3a561c [2023-03-29T23:28:56.431Z] Step 25/25 : LABEL version=0.0.0 [2023-03-29T23:28:56.431Z] ---> Running in db2b835b8de5 [2023-03-29T23:28:56.431Z] Removing intermediate container db2b835b8de5 [2023-03-29T23:28:56.431Z] ---> 245da92159a6 [2023-03-29T23:28:56.431Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T23:28:56.431Z] Successfully built 245da92159a6 [2023-03-29T23:28:56.431Z] 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-29T23:28:56.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:28:56.883Z] [2023-03-29T23:28:56.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:28:57.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:28:57.186Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T23:28:57.186Z] 5eb5b503b376: Pulling fs layer [2023-03-29T23:28:57.186Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T23:28:57.186Z] ec43610c2a17: Pulling fs layer [2023-03-29T23:28:57.186Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T23:28:57.186Z] 33b1e0a273af: Pulling fs layer [2023-03-29T23:28:57.186Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T23:28:57.186Z] 2f39f015ded8: Pulling fs layer [2023-03-29T23:28:57.186Z] 3a2ae6a8a46f: Waiting [2023-03-29T23:28:57.186Z] 33b1e0a273af: Waiting [2023-03-29T23:28:57.186Z] 5d3b04190fa2: Waiting [2023-03-29T23:28:57.186Z] 5c69ac0246d0: Download complete [2023-03-29T23:28:57.186Z] 3a2ae6a8a46f: Download complete [2023-03-29T23:28:57.186Z] 33b1e0a273af: Verifying Checksum [2023-03-29T23:28:57.186Z] 33b1e0a273af: Download complete [2023-03-29T23:28:57.186Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T23:28:57.186Z] 5d3b04190fa2: Download complete [2023-03-29T23:28:57.186Z] ec43610c2a17: Verifying Checksum [2023-03-29T23:28:57.186Z] ec43610c2a17: Download complete [2023-03-29T23:28:57.444Z] 5eb5b503b376: Download complete [2023-03-29T23:28:58.009Z] 2f39f015ded8: Download complete [2023-03-29T23:28:58.942Z] 5eb5b503b376: Pull complete [2023-03-29T23:28:58.942Z] 5c69ac0246d0: Pull complete [2023-03-29T23:28:59.299Z] ec43610c2a17: Pull complete [2023-03-29T23:28:59.556Z] 3a2ae6a8a46f: Pull complete [2023-03-29T23:28:59.557Z] 33b1e0a273af: Pull complete [2023-03-29T23:28:59.815Z] 5d3b04190fa2: Pull complete [2023-03-29T23:29:04.009Z] 2f39f015ded8: Pull complete [2023-03-29T23:29:04.009Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T23:29:04.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:29:04.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:29:04.091Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-03-29T23:29:04.117Z] $ 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-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T23:29:09.423Z] $ docker top 7ff4fc74abb1df8fb408bfa3384561c193e1de2abaf92244903e9904684332aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:29:09.797Z] ---> job-cost.sh [2023-03-29T23:29:09.797Z] lf-activate-venv: SKIPPING [2023-03-29T23:29:09.797Z] INFO: No Stack... [2023-03-29T23:29:10.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T23:29:10.623Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T23:29:10.908Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-283/archives/cost.csv [2023-03-29T23:29:10.908Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T23:29:10.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [2023-03-29T23:29:10.929Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] did not exist. Created. [2023-03-29T23:29:10.929Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T23:29:11.229Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T23:29:11.261Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T23:29:11.268Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T23:29:11.286Z] $ docker stop --time=1 7ff4fc74abb1df8fb408bfa3384561c193e1de2abaf92244903e9904684332aa [2023-03-29T23:29:12.458Z] $ docker rm -f --volumes 7ff4fc74abb1df8fb408bfa3384561c193e1de2abaf92244903e9904684332aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T23:30:07.286Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6332 in /w/workspace/gexfoundry_device-rest-go_PR-283 [Pipeline] { [Pipeline] ws [2023-03-29T23:30:07.298Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-03-29T23:30:07.337Z] The recommended git tool is: git [2023-03-29T23:30:18.592Z] using credential edgex-jenkins-ssh [2023-03-29T23:30:18.610Z] Cloning the remote Git repository [2023-03-29T23:30:18.721Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-29T23:30:18.969Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-03-29T23:30:19.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-29T23:30:19.423Z] > git --version # timeout=10 [2023-03-29T23:30:19.520Z] > git --version # 'git version 2.25.1' [2023-03-29T23:30:19.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T23:30:19.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T23:30:23.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-29T23:30:23.201Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T23:30:25.628Z] Merging remotes/origin/main commit dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 into PR head commit 4561efb2657d4e5cf5cd4d562a19425507c36775 [2023-03-29T23:30:26.160Z] Merge succeeded, producing 4561efb2657d4e5cf5cd4d562a19425507c36775 [2023-03-29T23:30:26.161Z] Checking out Revision 4561efb2657d4e5cf5cd4d562a19425507c36775 (PR-283) [2023-03-29T23:30:24.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-29T23:30:24.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-29T23:30:24.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T23:30:25.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T23:30:25.655Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T23:30:25.782Z] > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # timeout=10 [2023-03-29T23:30:25.917Z] > git remote # timeout=10 [2023-03-29T23:30:25.943Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T23:30:25.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T23:30:26.026Z] > git merge dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 [2023-03-29T23:30:26.098Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T23:30:26.176Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T23:30:27.443Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T23:30:26.243Z] > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # timeout=10 [2023-03-29T23:30:28.677Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T23:30:28.677Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T23:30:28.677Z] Dload Upload Total Spent Left Speed [2023-03-29T23:30:28.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 110k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2023-03-29T23:30:29.641Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T23:30:30.069Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T23:30:30.069Z] + sudo tee /etc/docker/daemon.new [2023-03-29T23:30:30.351Z] { [2023-03-29T23:30:30.351Z] "registry-mirrors": [ [2023-03-29T23:30:30.351Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T23:30:30.351Z] ], [2023-03-29T23:30:30.351Z] "bip": "10.250.0.254/24", [2023-03-29T23:30:30.351Z] "hosts": [ [2023-03-29T23:30:30.351Z] "tcp://0.0.0.0:5555", [2023-03-29T23:30:30.351Z] "unix:///var/run/docker.sock" [2023-03-29T23:30:30.351Z] ], [2023-03-29T23:30:30.351Z] "mtu": 1458, [2023-03-29T23:30:30.351Z] "selinux-enabled": true, [2023-03-29T23:30:30.351Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T23:30:30.351Z] } [Pipeline] sh [2023-03-29T23:30:30.735Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T23:30:31.173Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T23:30:49.564Z] provisioning config files... [2023-03-29T23:30:49.604Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7313179947571435760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:30:49.996Z] ---> docker-login.sh [2023-03-29T23:30:49.996Z] nexus3.edgexfoundry.org:10001 [2023-03-29T23:30:50.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:30:50.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:30:50.874Z] Configure a credential helper to remove this warning. See [2023-03-29T23:30:50.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:30:50.874Z] [2023-03-29T23:30:50.874Z] Login Succeeded [2023-03-29T23:30:50.874Z] nexus3.edgexfoundry.org:10002 [2023-03-29T23:30:51.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:30:51.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:30:51.149Z] Configure a credential helper to remove this warning. See [2023-03-29T23:30:51.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:30:51.149Z] [2023-03-29T23:30:51.149Z] Login Succeeded [2023-03-29T23:30:51.149Z] nexus3.edgexfoundry.org:10003 [2023-03-29T23:30:51.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:30:51.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:30:51.703Z] Configure a credential helper to remove this warning. See [2023-03-29T23:30:51.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:30:51.703Z] [2023-03-29T23:30:51.703Z] Login Succeeded [2023-03-29T23:30:51.703Z] nexus3.edgexfoundry.org:10004 [2023-03-29T23:30:51.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:30:52.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:30:52.259Z] Configure a credential helper to remove this warning. See [2023-03-29T23:30:52.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:30:52.259Z] [2023-03-29T23:30:52.259Z] Login Succeeded [2023-03-29T23:30:52.259Z] docker.io [2023-03-29T23:30:52.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T23:30:52.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T23:30:52.808Z] Configure a credential helper to remove this warning. See [2023-03-29T23:30:52.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T23:30:52.808Z] [2023-03-29T23:30:52.808Z] Login Succeeded [2023-03-29T23:30:52.808Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T23:30:52.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T23:30:53.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:30:53.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T23:30:53.211Z] ========================================================= [2023-03-29T23:30:53.211Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T23:30:53.211Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:30:53.585Z] + 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-29T23:30:53.585Z] Sending build context to Docker daemon 137.2kB [2023-03-29T23:30:53.861Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:30:53.861Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T23:30:54.141Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T23:30:54.141Z] af6eaf76a39c: Pulling fs layer [2023-03-29T23:30:54.141Z] 55522c791124: Pulling fs layer [2023-03-29T23:30:54.141Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T23:30:54.141Z] 169dfbe0d373: Pulling fs layer [2023-03-29T23:30:54.141Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T23:30:54.141Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T23:30:54.141Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T23:30:54.141Z] 169dfbe0d373: Waiting [2023-03-29T23:30:54.141Z] e1ff8fa3b103: Waiting [2023-03-29T23:30:54.141Z] 52ebb69f0ebf: Waiting [2023-03-29T23:30:54.141Z] 5abe8eddf0d5: Waiting [2023-03-29T23:30:54.141Z] 55522c791124: Verifying Checksum [2023-03-29T23:30:54.141Z] 55522c791124: Download complete [2023-03-29T23:30:54.141Z] 169dfbe0d373: Verifying Checksum [2023-03-29T23:30:54.141Z] 169dfbe0d373: Download complete [2023-03-29T23:30:54.141Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T23:30:54.141Z] e1ff8fa3b103: Download complete [2023-03-29T23:30:54.418Z] af6eaf76a39c: Verifying Checksum [2023-03-29T23:30:54.418Z] af6eaf76a39c: Download complete [2023-03-29T23:30:55.402Z] af6eaf76a39c: Pull complete [2023-03-29T23:30:56.010Z] 55522c791124: Pull complete [2023-03-29T23:30:56.010Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T23:30:56.010Z] 5abe8eddf0d5: Download complete [2023-03-29T23:30:57.126Z] ce5c4a1c91eb: Download complete [2023-03-29T23:30:57.126Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T23:30:57.126Z] 52ebb69f0ebf: Download complete [2023-03-29T23:31:09.545Z] ce5c4a1c91eb: Pull complete [2023-03-29T23:31:09.545Z] 169dfbe0d373: Pull complete [2023-03-29T23:31:09.545Z] e1ff8fa3b103: Pull complete [2023-03-29T23:31:16.305Z] 52ebb69f0ebf: Pull complete [2023-03-29T23:31:17.741Z] 5abe8eddf0d5: Pull complete [2023-03-29T23:31:17.741Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T23:31:17.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T23:31:17.741Z] ---> 6cb57ee374ae [2023-03-29T23:31:17.741Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:31:21.161Z] ---> Running in 3568089c77f6 [2023-03-29T23:31:21.161Z] Removing intermediate container 3568089c77f6 [2023-03-29T23:31:21.161Z] ---> 031c9d897d6a [2023-03-29T23:31:21.161Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:31:21.161Z] ---> Running in 91bd6b3ef480 [2023-03-29T23:31:21.438Z] Removing intermediate container 91bd6b3ef480 [2023-03-29T23:31:21.438Z] ---> d74dc03d8efc [2023-03-29T23:31:21.438Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:31:21.438Z] ---> Running in 8e1d2e299ea1 [2023-03-29T23:31:22.031Z] Removing intermediate container 8e1d2e299ea1 [2023-03-29T23:31:22.031Z] ---> 8f7231800c38 [2023-03-29T23:31:22.031Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:31:22.031Z] ---> Running in 0b57cc763483 [2023-03-29T23:31:22.304Z] Removing intermediate container 0b57cc763483 [2023-03-29T23:31:22.304Z] ---> 6af2dbfe55c2 [2023-03-29T23:31:22.304Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:31:22.304Z] ---> Running in 8cab84e2cf4d [2023-03-29T23:31:23.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T23:31:24.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T23:31:25.993Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T23:31:25.993Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T23:31:25.993Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T23:31:25.993Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T23:31:25.993Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:31:25.993Z] OK: 268 MiB in 57 packages [2023-03-29T23:31:27.434Z] Removing intermediate container 8cab84e2cf4d [2023-03-29T23:31:27.434Z] ---> 88b584b24ebf [2023-03-29T23:31:27.434Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-29T23:31:27.434Z] ---> Running in c9481b0edc6e [2023-03-29T23:31:27.708Z] Removing intermediate container c9481b0edc6e [2023-03-29T23:31:27.708Z] ---> 37e47aaa68da [2023-03-29T23:31:27.708Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-29T23:31:28.343Z] ---> ff7d6fbc7fe4 [2023-03-29T23:31:28.343Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:31:28.343Z] ---> Running in b335ecf01d59 [2023-03-29T23:32:36.337Z] Removing intermediate container b335ecf01d59 [2023-03-29T23:32:36.337Z] ---> cd4892e1b1b7 [2023-03-29T23:32:36.337Z] Step 11/12 : COPY . . [2023-03-29T23:32:36.337Z] ---> da09fdb662c3 [2023-03-29T23:32:36.337Z] Step 12/12 : RUN $MAKE [2023-03-29T23:32:36.337Z] ---> Running in f866aac080cc [2023-03-29T23:32:36.337Z] noop [2023-03-29T23:32:36.606Z] Removing intermediate container f866aac080cc [2023-03-29T23:32:36.606Z] ---> 748eeb0f980b [2023-03-29T23:32:36.606Z] Successfully built 748eeb0f980b [2023-03-29T23:32:36.606Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:32:36.980Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T23:32:36.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:32:37.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-6332 does not seem to be running inside a container [2023-03-29T23:32:37.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T23:32:38.773Z] $ docker top ef47a2dd2bf3b99ae8133ac8eb8e27c762594003f897662d5e46b40eef2b77c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:32:39.686Z] + go version [2023-03-29T23:32:39.686Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T23:32:39.716Z] $ docker stop --time=1 ef47a2dd2bf3b99ae8133ac8eb8e27c762594003f897662d5e46b40eef2b77c9 [2023-03-29T23:32:42.154Z] $ docker rm -f --volumes ef47a2dd2bf3b99ae8133ac8eb8e27c762594003f897662d5e46b40eef2b77c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:32:42.756Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T23:32:42.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:32:42.986Z] prd-ubuntu20.04-docker-arm64-4c-16g-6332 does not seem to be running inside a container [2023-03-29T23:32:43.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T23:32:44.439Z] $ docker top 990dd47b6c2267992c3e7f361dff63ad64ec7fb5e5492eb52e5c4a027ca24691 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:32:45.338Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-29T23:32:46.010Z] + make test [2023-03-29T23:32:46.010Z] go test ./... -coverprofile=coverage.out ./... [2023-03-29T23:33:32.974Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-29T23:35:54.770Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-29T23:35:54.770Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 33.0% of statements [2023-03-29T23:35:54.770Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-29T23:35:54.770Z] go vet ./... [2023-03-29T23:36:27.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-29T23:36:27.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-29T23:36:27.101Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-29T23:36:27.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-29T23:36:27.149Z] $ docker stop --time=1 990dd47b6c2267992c3e7f361dff63ad64ec7fb5e5492eb52e5c4a027ca24691 [2023-03-29T23:36:29.184Z] $ docker rm -f --volumes 990dd47b6c2267992c3e7f361dff63ad64ec7fb5e5492eb52e5c4a027ca24691 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T23:36:30.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-29T23:36:30.574Z] Warning: overwriting stash ‘coverage-report’ [2023-03-29T23:36:31.258Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T23:36:31.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-29T23:36:31.998Z] + ls -al . [2023-03-29T23:36:31.998Z] total 180 [2023-03-29T23:36:31.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:32 . [2023-03-29T23:36:31.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 .. [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:30 .dockerignore [2023-03-29T23:36:31.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:30 .git [2023-03-29T23:36:31.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:30 .github [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:30 .gitignore [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:30 .golangci.yml [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:30 Attribution.txt [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:30 CHANGELOG.md [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:30 Dockerfile [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:30 GOVERNANCE.md [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:30 Jenkinsfile [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:30 LICENSE [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:30 Makefile [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:30 OWNERS.md [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:30 README.md [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:26 VERSION [2023-03-29T23:36:31.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:30 bin [2023-03-29T23:36:31.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:30 cmd [2023-03-29T23:36:31.998Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:35 coverage.out [2023-03-29T23:36:31.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:30 driver [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:30 go.mod [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:30 go.sum [2023-03-29T23:36:31.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 snap [2023-03-29T23:36:31.998Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:36:32.359Z] + 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=4561efb2657d4e5cf5cd4d562a19425507c36775 --label arch=arm64 --label version=0.0.0 . [2023-03-29T23:36:32.359Z] Sending build context to Docker daemon 152.1kB [2023-03-29T23:36:32.629Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T23:36:32.629Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-29T23:36:32.629Z] ---> 748eeb0f980b [2023-03-29T23:36:32.629Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-29T23:36:32.900Z] ---> Running in 7cf150c0ca87 [2023-03-29T23:36:33.174Z] Removing intermediate container 7cf150c0ca87 [2023-03-29T23:36:33.174Z] ---> 16b843e2859e [2023-03-29T23:36:33.174Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T23:36:33.174Z] ---> Running in a46cafeef4f7 [2023-03-29T23:36:33.785Z] Removing intermediate container a46cafeef4f7 [2023-03-29T23:36:33.785Z] ---> 183bb7800da4 [2023-03-29T23:36:33.785Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T23:36:33.785Z] ---> Running in 59777549c501 [2023-03-29T23:36:34.377Z] Removing intermediate container 59777549c501 [2023-03-29T23:36:34.377Z] ---> 7d15ea113b3a [2023-03-29T23:36:34.377Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T23:36:34.377Z] ---> Running in 0399eabac23f [2023-03-29T23:36:34.967Z] Removing intermediate container 0399eabac23f [2023-03-29T23:36:34.967Z] ---> 13a66199fdbc [2023-03-29T23:36:34.967Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T23:36:34.967Z] ---> Running in 67eb4ef2254d [2023-03-29T23:36:36.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T23:36:36.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T23:36:38.408Z] OK: 268 MiB in 57 packages [2023-03-29T23:36:39.399Z] Removing intermediate container 67eb4ef2254d [2023-03-29T23:36:39.399Z] ---> 3f35ae62a252 [2023-03-29T23:36:39.399Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-29T23:36:39.399Z] ---> Running in 2f25ff926ba6 [2023-03-29T23:36:39.991Z] Removing intermediate container 2f25ff926ba6 [2023-03-29T23:36:39.991Z] ---> cd080854fa69 [2023-03-29T23:36:39.991Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-29T23:36:40.583Z] ---> cff2a3c74833 [2023-03-29T23:36:40.583Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T23:36:40.583Z] ---> Running in a31cfa5a3f0a [2023-03-29T23:36:43.965Z] Removing intermediate container a31cfa5a3f0a [2023-03-29T23:36:43.965Z] ---> e375ebcada47 [2023-03-29T23:36:43.965Z] Step 11/25 : COPY . . [2023-03-29T23:36:44.561Z] ---> 3421421e49ee [2023-03-29T23:36:44.561Z] Step 12/25 : RUN $MAKE [2023-03-29T23:36:44.561Z] ---> Running in 1001dff84b1f [2023-03-29T23:36:45.991Z] 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-29T23:39:37.856Z] Removing intermediate container 1001dff84b1f [2023-03-29T23:39:37.856Z] ---> b5ebdeaa20af [2023-03-29T23:39:37.856Z] Step 13/25 : FROM alpine:3.17 [2023-03-29T23:39:37.856Z] 3.17: Pulling from library/alpine [2023-03-29T23:39:37.856Z] c41833b44d91: Pulling fs layer [2023-03-29T23:39:37.856Z] c41833b44d91: Verifying Checksum [2023-03-29T23:39:37.856Z] c41833b44d91: Download complete [2023-03-29T23:39:37.856Z] c41833b44d91: Pull complete [2023-03-29T23:39:37.856Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-29T23:39:37.856Z] Status: Downloaded newer image for alpine:3.17 [2023-03-29T23:39:37.856Z] ---> 51e60588ff2c [2023-03-29T23:39:37.856Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-29T23:39:37.856Z] ---> Running in 9256a8bb2cbc [2023-03-29T23:39:38.139Z] Removing intermediate container 9256a8bb2cbc [2023-03-29T23:39:38.139Z] ---> 2f12883c6807 [2023-03-29T23:39:38.139Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-29T23:39:38.409Z] ---> Running in d3c060cb01a8 [2023-03-29T23:39:38.681Z] Removing intermediate container d3c060cb01a8 [2023-03-29T23:39:38.681Z] ---> 1db9f562559e [2023-03-29T23:39:38.681Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-29T23:39:38.681Z] ---> Running in b50f2530adf2 [2023-03-29T23:39:40.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T23:39:40.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T23:39:42.130Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-29T23:39:42.130Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T23:39:42.130Z] OK: 8 MiB in 16 packages [2023-03-29T23:39:43.100Z] Removing intermediate container b50f2530adf2 [2023-03-29T23:39:43.101Z] ---> c3e62d1610de [2023-03-29T23:39:43.101Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-29T23:39:45.056Z] ---> be73dbdc32db [2023-03-29T23:39:45.056Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-29T23:39:45.325Z] ---> 71a8715e8938 [2023-03-29T23:39:45.325Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-29T23:39:45.915Z] ---> bdbd71f7de0c [2023-03-29T23:39:45.915Z] Step 20/25 : EXPOSE 59986 [2023-03-29T23:39:45.915Z] ---> Running in 7d73c42c9f49 [2023-03-29T23:39:46.507Z] Removing intermediate container 7d73c42c9f49 [2023-03-29T23:39:46.507Z] ---> f878e5959c4f [2023-03-29T23:39:46.507Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-29T23:39:46.507Z] ---> Running in 28831e473d47 [2023-03-29T23:39:46.793Z] Removing intermediate container 28831e473d47 [2023-03-29T23:39:46.793Z] ---> e51ef9719ec3 [2023-03-29T23:39:46.793Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-29T23:39:46.793Z] ---> Running in 621c9ae9907f [2023-03-29T23:39:47.390Z] Removing intermediate container 621c9ae9907f [2023-03-29T23:39:47.390Z] ---> dd50d0e07a06 [2023-03-29T23:39:47.390Z] Step 23/25 : LABEL arch=arm64 [2023-03-29T23:39:47.390Z] ---> Running in 697fab3d2a12 [2023-03-29T23:39:47.757Z] Removing intermediate container 697fab3d2a12 [2023-03-29T23:39:47.757Z] ---> c343a75c9596 [2023-03-29T23:39:47.757Z] Step 24/25 : LABEL git_sha=4561efb2657d4e5cf5cd4d562a19425507c36775 [2023-03-29T23:39:47.757Z] ---> Running in bc241bf4f20f [2023-03-29T23:39:48.364Z] Removing intermediate container bc241bf4f20f [2023-03-29T23:39:48.364Z] ---> 44603842406a [2023-03-29T23:39:48.364Z] Step 25/25 : LABEL version=0.0.0 [2023-03-29T23:39:48.364Z] ---> Running in 3e4a4fa47232 [2023-03-29T23:39:48.655Z] Removing intermediate container 3e4a4fa47232 [2023-03-29T23:39:48.655Z] ---> 99f4f149937f [2023-03-29T23:39:48.655Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-29T23:39:48.655Z] Successfully built 99f4f149937f [2023-03-29T23:39:48.655Z] 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-29T23:39:49.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T23:39:49.112Z] [2023-03-29T23:39:49.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:39:49.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T23:39:49.787Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T23:39:49.787Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T23:39:49.787Z] 04944245beec: Pulling fs layer [2023-03-29T23:39:49.787Z] 699f458cf7ca: Pulling fs layer [2023-03-29T23:39:49.787Z] 765212b225bb: Pulling fs layer [2023-03-29T23:39:49.787Z] f23df028b6ca: Pulling fs layer [2023-03-29T23:39:49.787Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T23:39:49.787Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T23:39:49.787Z] 765212b225bb: Waiting [2023-03-29T23:39:49.787Z] f23df028b6ca: Waiting [2023-03-29T23:39:49.787Z] d65c8cfc05b1: Waiting [2023-03-29T23:39:49.787Z] 2437ff75d9bd: Waiting [2023-03-29T23:39:49.787Z] 04944245beec: Verifying Checksum [2023-03-29T23:39:49.787Z] 04944245beec: Download complete [2023-03-29T23:39:49.787Z] 765212b225bb: Verifying Checksum [2023-03-29T23:39:49.787Z] 765212b225bb: Download complete [2023-03-29T23:39:49.787Z] f23df028b6ca: Verifying Checksum [2023-03-29T23:39:49.787Z] f23df028b6ca: Download complete [2023-03-29T23:39:50.083Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T23:39:50.083Z] d65c8cfc05b1: Download complete [2023-03-29T23:39:50.083Z] 699f458cf7ca: Verifying Checksum [2023-03-29T23:39:50.083Z] 699f458cf7ca: Download complete [2023-03-29T23:39:50.693Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T23:39:50.693Z] 8998bd30e6a1: Download complete [2023-03-29T23:39:53.310Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T23:39:53.310Z] 2437ff75d9bd: Download complete [2023-03-29T23:39:54.738Z] 8998bd30e6a1: Pull complete [2023-03-29T23:39:55.329Z] 04944245beec: Pull complete [2023-03-29T23:39:56.752Z] 699f458cf7ca: Pull complete [2023-03-29T23:39:57.024Z] 765212b225bb: Pull complete [2023-03-29T23:39:57.997Z] f23df028b6ca: Pull complete [2023-03-29T23:39:57.997Z] d65c8cfc05b1: Pull complete [2023-03-29T23:40:13.044Z] 2437ff75d9bd: Pull complete [2023-03-29T23:40:13.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T23:40:13.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T23:40:13.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:40:13.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-6332 does not seem to be running inside a container [2023-03-29T23:40:13.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T23:40:16.814Z] $ docker top dc1bd72757b711e85b7d89c3a8aebba5d2afb66aee898be594a3dbb3ba3c9b05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:17.725Z] ---> job-cost.sh [2023-03-29T23:40:17.725Z] lf-activate-venv: SKIPPING [2023-03-29T23:40:17.725Z] INFO: No Stack... [2023-03-29T23:40:18.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T23:40:19.296Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T23:40:19.968Z] + cut -d, -f6 [2023-03-29T23:40:19.968Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2023-03-29T23:40:20.058Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [2023-03-29T23:40:20.065Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] did not exist. Created. [2023-03-29T23:40:20.065Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T23:40:20.734Z] /w/workspace/device-rest-go/2@tmp/durable-71b40c94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T23:40:21.413Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T23:40:21.439Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T23:40:21.495Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T23:40:21.506Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T23:40:21.530Z] $ docker stop --time=1 dc1bd72757b711e85b7d89c3a8aebba5d2afb66aee898be594a3dbb3ba3c9b05 [2023-03-29T23:40:23.130Z] $ docker rm -f --volumes dc1bd72757b711e85b7d89c3a8aebba5d2afb66aee898be594a3dbb3ba3c9b05 [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-29T23:40:23.504Z] provisioning config files... [2023-03-29T23:40:23.510Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config5835580478564779533tmp [Pipeline] { [Pipeline] sh [2023-03-29T23:40:23.801Z] + set +x [2023-03-29T23:40:23.801Z] + curl -s https://codecov.io/bash [2023-03-29T23:40:23.801Z] + bash -s -- [2023-03-29T23:40:23.801Z] [2023-03-29T23:40:23.801Z] _____ _ [2023-03-29T23:40:23.801Z] / ____| | | [2023-03-29T23:40:23.801Z] | | ___ __| | ___ ___ _____ __ [2023-03-29T23:40:23.801Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-29T23:40:23.801Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-29T23:40:23.801Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-29T23:40:23.801Z] Bash-1.0.6 [2023-03-29T23:40:23.801Z] [2023-03-29T23:40:23.801Z] [2023-03-29T23:40:23.801Z] ==> git version 2.25.1 found [2023-03-29T23:40:23.801Z] ==> 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-29T23:40:23.801Z] Release-Date: 2020-01-08 [2023-03-29T23:40:23.801Z] 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-29T23:40:23.801Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-29T23:40:23.801Z] ==> Jenkins CI detected. [2023-03-29T23:40:23.801Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-283 [2023-03-29T23:40:23.801Z] project root: . [2023-03-29T23:40:23.801Z] --> token set from env [2023-03-29T23:40:23.801Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-29T23:40:23.801Z] ==> Running gcov in . (disable via -X gcov) [2023-03-29T23:40:23.801Z] ==> Python coveragepy not found [2023-03-29T23:40:23.801Z] ==> Searching for coverage reports in: [2023-03-29T23:40:23.801Z] + . [2023-03-29T23:40:23.801Z] -> Found 1 reports [2023-03-29T23:40:23.801Z] ==> Detecting git/mercurial file structure [2023-03-29T23:40:23.801Z] ==> Reading reports [2023-03-29T23:40:23.801Z] + ./coverage.out bytes=14200 [2023-03-29T23:40:23.801Z] ==> Appending adjustments [2023-03-29T23:40:23.801Z] https://docs.codecov.io/docs/fixing-reports [2023-03-29T23:40:24.059Z] + Found adjustments [2023-03-29T23:40:24.059Z] ==> Gzipping contents [2023-03-29T23:40:24.059Z] 4.0K /tmp/codecov.UYm0ZR.gz [2023-03-29T23:40:24.059Z] ==> Uploading reports [2023-03-29T23:40:24.059Z] url: https://codecov.io [2023-03-29T23:40:24.059Z] query: branch=PR-283&commit=4561efb2657d4e5cf5cd4d562a19425507c36775&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=283&job=&cmd_args= [2023-03-29T23:40:24.059Z] -> Pinging Codecov [2023-03-29T23:40:24.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-283&commit=4561efb2657d4e5cf5cd4d562a19425507c36775&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=283&job=&cmd_args= [2023-03-29T23:40:24.059Z] -> Uploading to [2023-03-29T23:40:24.059Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-29/4E5D53B4F1F92C436F7061BF334D961C/4561efb2657d4e5cf5cd4d562a19425507c36775/a2d5ea53-b4f4-4296-a466-23baf702e410.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T234023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43146f99d720f223fb7fa39274ea2315677efa68b075fb329d8aefa959b65c17 [2023-03-29T23:40:24.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T23:40:24.059Z] Dload Upload Total Spent Left Speed [2023-03-29T23:40:24.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 9826 --:--:-- --:--:-- --:--:-- 9826 [2023-03-29T23:40:24.318Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] } [2023-03-29T23:40:24.325Z] 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-29T23:40:24.994Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-283/archives ] [2023-03-29T23:40:24.994Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-283/archives [2023-03-29T23:40:24.994Z] total 16 [2023-03-29T23:40:24.994Z] drwxr-xr-x 3 root root 4096 Mar 29 23:29 . [2023-03-29T23:40:24.994Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:29 .. [2023-03-29T23:40:24.994Z] drwxr-xr-x 2 root root 4096 Mar 29 23:29 cost [2023-03-29T23:40:24.994Z] -rw-r--r-- 1 root root 86 Mar 29 23:29 cost.csv [2023-03-29T23:40:24.994Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-283/archives [2023-03-29T23:40:24.994Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-283/archives [2023-03-29T23:40:24.994Z] total 16 [2023-03-29T23:40:24.994Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:29 . [2023-03-29T23:40:24.994Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:29 .. [2023-03-29T23:40:24.994Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:29 cost [2023-03-29T23:40:24.994Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 29 23:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:25.286Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:26.139Z] ---> package-listing.sh [2023-03-29T23:40:26.139Z] ++ facter osfamily [2023-03-29T23:40:26.139Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T23:40:26.398Z] + OS_FAMILY=debian [2023-03-29T23:40:26.398Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-283 [2023-03-29T23:40:26.398Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T23:40:26.398Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T23:40:26.398Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T23:40:26.398Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T23:40:26.398Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-283 ']' [2023-03-29T23:40:26.398Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T23:40:26.398Z] + case "${OS_FAMILY}" in [2023-03-29T23:40:26.398Z] + dpkg -l [2023-03-29T23:40:26.398Z] + grep '^ii' [2023-03-29T23:40:26.398Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T23:40:26.398Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T23:40:26.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T23:40:26.398Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-283 ']' [2023-03-29T23:40:26.398Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-283/archives/ [2023-03-29T23:40:26.398Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-283/archives/ [Pipeline] echo [2023-03-29T23:40:26.408Z] 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-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T23:40:26.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T23:40:27.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T23:40:27.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T23:40:27.309Z] prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container [2023-03-29T23:40:27.342Z] $ 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-283/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-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T23:40:27.578Z] $ docker top 8b013686bed8cebbe2c53a6fa6cbd90b437d31d33f743d01b52483b8fae28880 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T23:40:27.918Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T23:40:28.205Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T23:40:28.493Z] + ls /var/log/sa-host [2023-03-29T23:40:28.493Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T23:40:28.678Z] provisioning config files... [2023-03-29T23:40:28.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config14007192804735895204tmp [Pipeline] { [Pipeline] echo [2023-03-29T23:40:28.699Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:28.982Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T23:40:28.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:29.322Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T23:40:29.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:29.612Z] ---> sudo-logs.sh [2023-03-29T23:40:29.613Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T23:40:29.645Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:29.935Z] ---> job-cost.sh [2023-03-29T23:40:29.935Z] lf-activate-venv: SKIPPING [2023-03-29T23:40:29.935Z] DEBUG: total: 0.2199999988079071 [2023-03-29T23:40:29.935Z] INFO: Retrieving Stack Cost... [2023-03-29T23:40:30.194Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T23:40:30.761Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T23:40:30.770Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T23:40:31.053Z] ---> logs-deploy.sh [2023-03-29T23:40:31.053Z] lf-activate-venv: SKIPPING [2023-03-29T23:40:31.053Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-283/2 [2023-03-29T23:40:31.053Z] INFO: archiving workspace using pattern(s): [2023-03-29T23:40:31.986Z] Archives upload complete. [2023-03-29T23:40:31.986Z] INFO: archiving logs to Nexus