Pull request #294 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d113e70528a9acbdce16d1e5b1279bb33f7249f1+0c5eec98d3be44e3458d60972803f48ebbd423fa (86357393c9e2eac820690cc270e2eeff3fa6dbf7) 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-ssh14871613543077762814.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh13603691066233091125.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13313629086634693524.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6186499776158133561.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14655307664213664607.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh138175760697273781.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 Running on prd-ubuntu20.04-docker-8c-8g-8972 in /w/workspace/gexfoundry_device-rest-go_PR-294 [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-294 # 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 0c5eec98d3be44e3458d60972803f48ebbd423fa into PR head commit d113e70528a9acbdce16d1e5b1279bb33f7249f1 Merge succeeded, producing d113e70528a9acbdce16d1e5b1279bb33f7249f1 Checking out Revision d113e70528a9acbdce16d1e5b1279bb33f7249f1 (PR-294) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage > 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/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d113e70528a9acbdce16d1e5b1279bb33f7249f1 # 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 0c5eec98d3be44e3458d60972803f48ebbd423fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d113e70528a9acbdce16d1e5b1279bb33f7249f1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T20:12:59.696Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T20:12:59.887Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T20:12:59.992Z] ========================================================= [2023-04-18T20:12:59.992Z] EdgeX Global Pipelines Version Info [2023-04-18T20:12:59.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:13:00.736Z] ------------------- [2023-04-18T20:13:00.736Z] stable info: [2023-04-18T20:13:00.736Z] ------------------- [2023-04-18T20:13:00.736Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T20:13:00.736Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T20:13:00.736Z] Message: update stable to v1.0.248 [2023-04-18T20:13:01.312Z] ------------------- [2023-04-18T20:13:01.312Z] experimental info: [2023-04-18T20:13:01.312Z] ------------------- [2023-04-18T20:13:01.312Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T20:13:01.312Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T20:13:01.312Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T20:13:01.616Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-18T20:13:01.657Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-18T20:13:01.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T20:13:01.737Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T20:13:01.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T20:13:01.812Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T20:13:01.849Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T20:13:01.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T20:13:01.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T20:13:01.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T20:13:02.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T20:13:02.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-18T20:13:02.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T20:13:02.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T20:13:02.152Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T20:13:02.186Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T20:13:02.224Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T20:13:02.261Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T20:13:02.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T20:13:02.335Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T20:13:02.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T20:13:02.406Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T20:13:02.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T20:13:02.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T20:13:02.497Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T20:13:02.528Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T20:13:02.557Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T20:13:02.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo [2023-04-18T20:13:02.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo [2023-04-18T20:13:02.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo [2023-04-18T20:13:02.688Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d113e70528a9acbdce16d1e5b1279bb33f7249f1 [Pipeline] echo [2023-04-18T20:13:02.722Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d113e70 [Pipeline] echo [2023-04-18T20:13:02.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T20:13:02.857Z] provisioning config files... [2023-04-18T20:13:02.872Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-294@tmp/config7550487689541028011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:13:03.210Z] ---> docker-login.sh [2023-04-18T20:13:03.210Z] nexus3.edgexfoundry.org:10001 [2023-04-18T20:13:03.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:03.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:03.472Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:03.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:03.472Z] [2023-04-18T20:13:03.472Z] Login Succeeded [2023-04-18T20:13:03.472Z] nexus3.edgexfoundry.org:10002 [2023-04-18T20:13:03.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:03.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:03.731Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:03.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:03.731Z] [2023-04-18T20:13:03.731Z] Login Succeeded [2023-04-18T20:13:03.731Z] nexus3.edgexfoundry.org:10003 [2023-04-18T20:13:03.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:03.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:03.731Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:03.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:03.731Z] [2023-04-18T20:13:03.731Z] Login Succeeded [2023-04-18T20:13:03.731Z] nexus3.edgexfoundry.org:10004 [2023-04-18T20:13:03.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:03.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:03.731Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:03.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:03.731Z] [2023-04-18T20:13:03.731Z] Login Succeeded [2023-04-18T20:13:03.731Z] docker.io [2023-04-18T20:13:03.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:03.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:03.993Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:03.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:03.993Z] [2023-04-18T20:13:03.993Z] Login Succeeded [2023-04-18T20:13:03.993Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T20:13:04.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T20:13:04.635Z] + git rev-list -1 --merges d113e70528a9acbdce16d1e5b1279bb33f7249f1~1..d113e70528a9acbdce16d1e5b1279bb33f7249f1 [Pipeline] echo [2023-04-18T20:13:04.673Z] -----------> git rev-list -1 --merges d113e70528a9acbdce16d1e5b1279bb33f7249f1~1..d113e70528a9acbdce16d1e5b1279bb33f7249f1 d113e70528a9acbdce16d1e5b1279bb33f7249f1 [false] [Pipeline] sh [2023-04-18T20:13:04.985Z] + git log --format=format:%s -1 d113e70528a9acbdce16d1e5b1279bb33f7249f1 [Pipeline] echo [2023-04-18T20:13:05.018Z] ========================================================= [2023-04-18T20:13:05.018Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T20:13:05.018Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T20:13:05.463Z] + git log --format=format:%s -1 d113e70528a9acbdce16d1e5b1279bb33f7249f1 [Pipeline] echo [2023-04-18T20:13:05.498Z] [semverPrep] GIT_COMMIT: d113e70528a9acbdce16d1e5b1279bb33f7249f1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-18T20:13:05.526Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T20:13:05.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T20:13:05.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T20:13:05.908Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T20:13:05.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T20:13:05.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T20:13:05.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T20:13:05.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:13:06.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T20:13:06.391Z] [2023-04-18T20:13:06.391Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:13:06.775Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T20:13:06.775Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T20:13:06.775Z] b85a868b505f: Pulling fs layer [2023-04-18T20:13:06.775Z] e2be974225ed: Pulling fs layer [2023-04-18T20:13:06.775Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T20:13:06.775Z] 988bab9f4d93: Pulling fs layer [2023-04-18T20:13:06.775Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T20:13:06.775Z] eaf3925da568: Pulling fs layer [2023-04-18T20:13:06.775Z] bab4dde63d76: Pulling fs layer [2023-04-18T20:13:06.775Z] bde34c3a00c8: Pulling fs layer [2023-04-18T20:13:06.775Z] b352a97aabf1: Pulling fs layer [2023-04-18T20:13:06.775Z] 4872d77fe225: Pulling fs layer [2023-04-18T20:13:06.775Z] 5851b861e8e6: Pulling fs layer [2023-04-18T20:13:06.775Z] 988bab9f4d93: Waiting [2023-04-18T20:13:06.775Z] 1469e6f7b9e6: Waiting [2023-04-18T20:13:06.775Z] eaf3925da568: Waiting [2023-04-18T20:13:06.775Z] bab4dde63d76: Waiting [2023-04-18T20:13:06.775Z] bde34c3a00c8: Waiting [2023-04-18T20:13:06.775Z] b352a97aabf1: Waiting [2023-04-18T20:13:06.775Z] 4872d77fe225: Waiting [2023-04-18T20:13:06.775Z] 5851b861e8e6: Waiting [2023-04-18T20:13:06.775Z] e2be974225ed: Verifying Checksum [2023-04-18T20:13:06.775Z] e2be974225ed: Download complete [2023-04-18T20:13:06.775Z] 988bab9f4d93: Download complete [2023-04-18T20:13:06.775Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T20:13:06.775Z] 1469e6f7b9e6: Download complete [2023-04-18T20:13:07.034Z] eaf3925da568: Verifying Checksum [2023-04-18T20:13:07.034Z] eaf3925da568: Download complete [2023-04-18T20:13:07.034Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T20:13:07.034Z] 339a4e72a1f5: Download complete [2023-04-18T20:13:07.034Z] bde34c3a00c8: Download complete [2023-04-18T20:13:07.034Z] b352a97aabf1: Download complete [2023-04-18T20:13:07.034Z] b85a868b505f: Verifying Checksum [2023-04-18T20:13:07.034Z] b85a868b505f: Download complete [2023-04-18T20:13:07.034Z] 4872d77fe225: Verifying Checksum [2023-04-18T20:13:07.034Z] 4872d77fe225: Download complete [2023-04-18T20:13:07.034Z] 5851b861e8e6: Verifying Checksum [2023-04-18T20:13:07.034Z] 5851b861e8e6: Download complete [2023-04-18T20:13:07.294Z] bab4dde63d76: Verifying Checksum [2023-04-18T20:13:07.294Z] bab4dde63d76: Download complete [2023-04-18T20:13:08.673Z] b85a868b505f: Pull complete [2023-04-18T20:13:08.673Z] e2be974225ed: Pull complete [2023-04-18T20:13:08.932Z] 339a4e72a1f5: Pull complete [2023-04-18T20:13:09.190Z] 988bab9f4d93: Pull complete [2023-04-18T20:13:09.449Z] 1469e6f7b9e6: Pull complete [2023-04-18T20:13:09.449Z] eaf3925da568: Pull complete [2023-04-18T20:13:11.355Z] bab4dde63d76: Pull complete [2023-04-18T20:13:11.355Z] bde34c3a00c8: Pull complete [2023-04-18T20:13:11.355Z] b352a97aabf1: Pull complete [2023-04-18T20:13:11.355Z] 4872d77fe225: Pull complete [2023-04-18T20:13:11.355Z] 5851b861e8e6: Pull complete [2023-04-18T20:13:11.615Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T20:13:11.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T20:13:11.615Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:13:12.030Z] prd-ubuntu20.04-docker-8c-8g-8972 does not seem to be running inside a container [2023-04-18T20:13:12.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-294 -v /w/workspace/gexfoundry_device-rest-go_PR-294:/w/workspace/gexfoundry_device-rest-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-294@tmp:/w/workspace/gexfoundry_device-rest-go_PR-294@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T20:13:13.123Z] $ docker top 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T20:13:13.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T20:13:13.331Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T20:13:13.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T20:13:13.410Z] $ docker exec 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 ssh-agent [2023-04-18T20:13:13.543Z] SSH_AUTH_SOCK=/tmp/ssh-wZpIZPEnkz8z/agent.32 [2023-04-18T20:13:13.543Z] SSH_AGENT_PID=38 [2023-04-18T20:13:13.549Z] Running ssh-add (command line suppressed) [2023-04-18T20:13:13.624Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-294@tmp/private_key_3948055754842543056.key (/w/workspace/gexfoundry_device-rest-go_PR-294@tmp/private_key_3948055754842543056.key) [2023-04-18T20:13:13.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T20:13:13.994Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T20:13:13.993Z] $ docker exec --env ******** --env ******** 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 ssh-agent -k [2023-04-18T20:13:14.080Z] unset SSH_AUTH_SOCK; [2023-04-18T20:13:14.081Z] unset SSH_AGENT_PID; [2023-04-18T20:13:14.081Z] echo Agent pid 38 killed; [2023-04-18T20:13:14.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T20:13:14.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T20:13:14.200Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T20:13:14.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T20:13:14.282Z] $ docker exec 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 ssh-agent [2023-04-18T20:13:14.406Z] SSH_AUTH_SOCK=/tmp/ssh-s9lD0gsqqYv0/agent.70 [2023-04-18T20:13:14.406Z] SSH_AGENT_PID=76 [2023-04-18T20:13:14.411Z] Running ssh-add (command line suppressed) [2023-04-18T20:13:14.492Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-294@tmp/private_key_693265548596412556.key (/w/workspace/gexfoundry_device-rest-go_PR-294@tmp/private_key_693265548596412556.key) [2023-04-18T20:13:14.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T20:13:14.858Z] + git semver init [2023-04-18T20:13:15.117Z] 2023-04-18 20:13:15,006 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T20:13:15.117Z] 2023-04-18 20:13:15,007 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-294/.semver [2023-04-18T20:13:15.117Z] 2023-04-18 20:13:15,007 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-294/.semver [2023-04-18T20:13:15.117Z] 2023-04-18 20:13:15,007 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-294/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-294, universal_newlines=False, shell=None, istream=None) [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,980 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-294/.git/info/exclude [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,981 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-294/.semver/PR-294 with force:False [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,981 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-294/.semver/PR-294 [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,986 [execute] INFO git cat-file --batch-check [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,994 [execute] INFO git cat-file --batch [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:15,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T20:13:16.055Z] 2023-04-18 20:13:16,000 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-294/.semver/PR-294 [2023-04-18T20:13:16.055Z] 0.0.0 [Pipeline] } [2023-04-18T20:13:16.058Z] $ docker exec --env ******** --env ******** 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 ssh-agent -k [2023-04-18T20:13:16.155Z] unset SSH_AUTH_SOCK; [2023-04-18T20:13:16.156Z] unset SSH_AGENT_PID; [2023-04-18T20:13:16.156Z] echo Agent pid 76 killed; [2023-04-18T20:13:16.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T20:13:16.620Z] + git semver [Pipeline] } [2023-04-18T20:13:16.882Z] $ docker stop --time=1 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 [2023-04-18T20:13:18.167Z] $ docker rm -f --volumes 3d5da4e289dfca1c0b5365cb5b55c9a3a99b5044679f3a8ca33de3c8444c26a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T20:13:18.683Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T20:13:18.994Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T20:13:19.011Z] [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-04-18T20:13:19.679Z] provisioning config files... [2023-04-18T20:13:19.698Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-294@tmp/config18140102222305100372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:13:20.056Z] ---> docker-login.sh [2023-04-18T20:13:20.056Z] nexus3.edgexfoundry.org:10001 [2023-04-18T20:13:20.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:20.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:20.056Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:20.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:20.056Z] [2023-04-18T20:13:20.056Z] Login Succeeded [2023-04-18T20:13:20.056Z] nexus3.edgexfoundry.org:10002 [2023-04-18T20:13:20.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:20.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:20.056Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:20.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:20.056Z] [2023-04-18T20:13:20.056Z] Login Succeeded [2023-04-18T20:13:20.056Z] nexus3.edgexfoundry.org:10003 [2023-04-18T20:13:20.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:20.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:20.316Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:20.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:20.316Z] [2023-04-18T20:13:20.316Z] Login Succeeded [2023-04-18T20:13:20.316Z] nexus3.edgexfoundry.org:10004 [2023-04-18T20:13:20.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:20.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:20.316Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:20.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:20.316Z] [2023-04-18T20:13:20.316Z] Login Succeeded [2023-04-18T20:13:20.316Z] docker.io [2023-04-18T20:13:20.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:13:20.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:13:20.576Z] Configure a credential helper to remove this warning. See [2023-04-18T20:13:20.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:13:20.576Z] [2023-04-18T20:13:20.576Z] Login Succeeded [2023-04-18T20:13:20.576Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T20:13:20.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T20:13:20.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T20:13:20.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T20:13:20.994Z] ========================================================= [2023-04-18T20:13:20.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T20:13:20.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:13:21.458Z] + 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-04-18T20:13:21.458Z] Sending build context to Docker daemon 10.9MB [2023-04-18T20:13:21.458Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T20:13:21.458Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T20:13:21.458Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T20:13:21.458Z] 63b65145d645: Pulling fs layer [2023-04-18T20:13:21.458Z] a2d21d5440eb: Pulling fs layer [2023-04-18T20:13:21.458Z] 935e6c44a52c: Pulling fs layer [2023-04-18T20:13:21.458Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T20:13:21.458Z] 30dea6a524f1: Pulling fs layer [2023-04-18T20:13:21.458Z] a2aff8979fd8: Pulling fs layer [2023-04-18T20:13:21.458Z] 6808be2612f2: Pulling fs layer [2023-04-18T20:13:21.458Z] f25807f1079a: Pulling fs layer [2023-04-18T20:13:21.458Z] 94cc34f8dd06: Waiting [2023-04-18T20:13:21.458Z] a2aff8979fd8: Waiting [2023-04-18T20:13:21.458Z] 6808be2612f2: Waiting [2023-04-18T20:13:21.458Z] f25807f1079a: Waiting [2023-04-18T20:13:21.458Z] 30dea6a524f1: Waiting [2023-04-18T20:13:21.458Z] a2d21d5440eb: Verifying Checksum [2023-04-18T20:13:21.458Z] a2d21d5440eb: Download complete [2023-04-18T20:13:21.458Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T20:13:21.458Z] 94cc34f8dd06: Download complete [2023-04-18T20:13:21.718Z] 30dea6a524f1: Verifying Checksum [2023-04-18T20:13:21.718Z] 30dea6a524f1: Download complete [2023-04-18T20:13:21.718Z] 63b65145d645: Verifying Checksum [2023-04-18T20:13:21.718Z] 63b65145d645: Download complete [2023-04-18T20:13:21.718Z] a2aff8979fd8: Verifying Checksum [2023-04-18T20:13:21.718Z] a2aff8979fd8: Download complete [2023-04-18T20:13:21.718Z] 63b65145d645: Pull complete [2023-04-18T20:13:21.980Z] a2d21d5440eb: Pull complete [2023-04-18T20:13:22.241Z] f25807f1079a: Verifying Checksum [2023-04-18T20:13:22.241Z] f25807f1079a: Download complete [2023-04-18T20:13:22.241Z] 935e6c44a52c: Verifying Checksum [2023-04-18T20:13:22.241Z] 935e6c44a52c: Download complete [2023-04-18T20:13:22.500Z] 6808be2612f2: Verifying Checksum [2023-04-18T20:13:22.500Z] 6808be2612f2: Download complete [2023-04-18T20:13:25.793Z] 935e6c44a52c: Pull complete [2023-04-18T20:13:25.793Z] 94cc34f8dd06: Pull complete [2023-04-18T20:13:25.793Z] 30dea6a524f1: Pull complete [2023-04-18T20:13:25.793Z] a2aff8979fd8: Pull complete [2023-04-18T20:13:28.336Z] 6808be2612f2: Pull complete [2023-04-18T20:13:29.271Z] f25807f1079a: Pull complete [2023-04-18T20:13:29.271Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T20:13:29.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T20:13:29.271Z] ---> 3b553350e43f [2023-04-18T20:13:29.271Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T20:13:30.647Z] ---> Running in 37efb48a4934 [2023-04-18T20:13:30.647Z] Removing intermediate container 37efb48a4934 [2023-04-18T20:13:30.647Z] ---> b98ac2979470 [2023-04-18T20:13:30.647Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T20:13:30.647Z] ---> Running in ef2cdc623037 [2023-04-18T20:13:30.647Z] Removing intermediate container ef2cdc623037 [2023-04-18T20:13:30.647Z] ---> e2c5a1b0b15f [2023-04-18T20:13:30.647Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T20:13:30.647Z] ---> Running in 6c0644906de2 [2023-04-18T20:13:30.647Z] Removing intermediate container 6c0644906de2 [2023-04-18T20:13:30.647Z] ---> b9d098dc1905 [2023-04-18T20:13:30.647Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T20:13:30.906Z] ---> Running in 1b69c98a082b [2023-04-18T20:13:30.906Z] Removing intermediate container 1b69c98a082b [2023-04-18T20:13:30.906Z] ---> 80ec1348fd04 [2023-04-18T20:13:30.906Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T20:13:30.906Z] ---> Running in 523e52f093ac [2023-04-18T20:13:31.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T20:13:31.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T20:13:31.422Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T20:13:31.422Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T20:13:31.686Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T20:13:31.686Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T20:13:31.686Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T20:13:31.686Z] OK: 269 MiB in 57 packages [2023-04-18T20:13:31.944Z] Removing intermediate container 523e52f093ac [2023-04-18T20:13:31.944Z] ---> 8c942d7a81dc [2023-04-18T20:13:31.944Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-18T20:13:32.202Z] ---> Running in 4cf06a1874db [2023-04-18T20:13:32.202Z] Removing intermediate container 4cf06a1874db [2023-04-18T20:13:32.202Z] ---> d5e385068b0b [2023-04-18T20:13:32.202Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T20:13:32.202Z] ---> 4ee2a7b241a5 [2023-04-18T20:13:32.202Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T20:13:32.202Z] ---> Running in a1b95fcc48dd [2023-04-18T20:13:34.501Z] Still waiting to schedule task [2023-04-18T20:13:34.501Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T20:13:54.149Z] Removing intermediate container a1b95fcc48dd [2023-04-18T20:13:54.150Z] ---> 22d988fdd748 [2023-04-18T20:13:54.150Z] Step 11/12 : COPY . . [2023-04-18T20:13:54.411Z] ---> 954bd27e319a [2023-04-18T20:13:54.411Z] Step 12/12 : RUN $MAKE [2023-04-18T20:13:54.411Z] ---> Running in 1debd66ffd12 [2023-04-18T20:13:54.672Z] noop [2023-04-18T20:13:55.249Z] Removing intermediate container 1debd66ffd12 [2023-04-18T20:13:55.249Z] ---> 2814418f27df [2023-04-18T20:13:55.249Z] Successfully built 2814418f27df [2023-04-18T20:13:55.249Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:13:55.711Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T20:13:55.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:13:55.878Z] prd-ubuntu20.04-docker-8c-8g-8972 does not seem to be running inside a container [2023-04-18T20:13:55.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-294 -v /w/workspace/gexfoundry_device-rest-go_PR-294:/w/workspace/gexfoundry_device-rest-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-294@tmp:/w/workspace/gexfoundry_device-rest-go_PR-294@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 ******** ci-base-image-x86_64 cat [2023-04-18T20:13:56.255Z] $ docker top 647a778edd796ece17de4907cf660c8b37e5b6dbe7df0e22f75b822072dcd12b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T20:13:56.690Z] + go version [2023-04-18T20:13:56.690Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T20:13:56.702Z] $ docker stop --time=1 647a778edd796ece17de4907cf660c8b37e5b6dbe7df0e22f75b822072dcd12b [2023-04-18T20:13:58.003Z] $ docker rm -f --volumes 647a778edd796ece17de4907cf660c8b37e5b6dbe7df0e22f75b822072dcd12b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:13:58.767Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T20:13:58.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:13:58.923Z] prd-ubuntu20.04-docker-8c-8g-8972 does not seem to be running inside a container [2023-04-18T20:13:58.933Z] $ 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-294 -v /w/workspace/gexfoundry_device-rest-go_PR-294:/w/workspace/gexfoundry_device-rest-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-294@tmp:/w/workspace/gexfoundry_device-rest-go_PR-294@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 ******** ci-base-image-x86_64 cat [2023-04-18T20:13:59.311Z] $ docker top 42bd392dc57c1a2d3144079e8417fe1432a0ff2f794a66fa97df9b833eccbc85 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T20:13:59.737Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-294 [Pipeline] fileExists [Pipeline] sh [2023-04-18T20:14:00.106Z] + make test [2023-04-18T20:14:00.106Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T20:14:05.388Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-18T20:14:17.591Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-18T20:14:17.592Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements [2023-04-18T20:14:24.154Z] go vet ./... [2023-04-18T20:14:27.439Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T20:14:27.439Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T20:14:27.439Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T20:14:27.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T20:14:27.488Z] $ docker stop --time=1 42bd392dc57c1a2d3144079e8417fe1432a0ff2f794a66fa97df9b833eccbc85 [2023-04-18T20:14:29.385Z] $ docker rm -f --volumes 42bd392dc57c1a2d3144079e8417fe1432a0ff2f794a66fa97df9b833eccbc85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T20:14:29.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T20:14:30.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T20:14:30.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T20:14:31.047Z] + ls -al . [2023-04-18T20:14:31.047Z] total 184 [2023-04-18T20:14:31.047Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 20:14 . [2023-04-18T20:14:31.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:12 .. [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 20:12 .dockerignore [2023-04-18T20:14:31.047Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:13 .git [2023-04-18T20:14:31.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:12 .github [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 20:12 .gitignore [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 20:12 .golangci.yml [2023-04-18T20:14:31.047Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 20:13 .semver [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 20:12 Attribution.txt [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 20:12 CHANGELOG.md [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 20:12 Dockerfile [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 20:12 GOVERNANCE.md [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 20:12 Jenkinsfile [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 20:12 LICENSE [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 20:12 Makefile [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 20:12 OWNERS.md [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 20:12 README.md [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 20:13 VERSION [2023-04-18T20:14:31.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:12 bin [2023-04-18T20:14:31.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:12 cmd [2023-04-18T20:14:31.047Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 20:14 coverage.out [2023-04-18T20:14:31.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:12 driver [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 20:12 go.mod [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 18 20:12 go.sum [2023-04-18T20:14:31.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:12 snap [2023-04-18T20:14:31.047Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:14:31.444Z] + 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=d113e70528a9acbdce16d1e5b1279bb33f7249f1 --label arch=amd64 --label version=0.0.0 . [2023-04-18T20:14:31.445Z] Sending build context to Docker daemon 10.91MB [2023-04-18T20:14:31.445Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T20:14:31.445Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T20:14:31.445Z] ---> 2814418f27df [2023-04-18T20:14:31.445Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T20:14:31.445Z] ---> Running in 85ac4138c3a8 [2023-04-18T20:14:31.703Z] Removing intermediate container 85ac4138c3a8 [2023-04-18T20:14:31.703Z] ---> 6a50c24bf287 [2023-04-18T20:14:31.703Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T20:14:31.703Z] ---> Running in 11da54a075e5 [2023-04-18T20:14:31.703Z] Removing intermediate container 11da54a075e5 [2023-04-18T20:14:31.703Z] ---> 2779fc198898 [2023-04-18T20:14:31.703Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T20:14:31.703Z] ---> Running in d6d3e0445819 [2023-04-18T20:14:31.703Z] Removing intermediate container d6d3e0445819 [2023-04-18T20:14:31.703Z] ---> d9ce16b9e916 [2023-04-18T20:14:31.703Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T20:14:31.963Z] ---> Running in 826f661ec75d [2023-04-18T20:14:31.963Z] Removing intermediate container 826f661ec75d [2023-04-18T20:14:31.963Z] ---> dddce4e77373 [2023-04-18T20:14:31.963Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T20:14:31.963Z] ---> Running in 83b8d1a1b999 [2023-04-18T20:14:32.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T20:14:32.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T20:14:32.484Z] OK: 269 MiB in 57 packages [2023-04-18T20:14:33.054Z] Removing intermediate container 83b8d1a1b999 [2023-04-18T20:14:33.054Z] ---> 331b8ccba92c [2023-04-18T20:14:33.054Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-18T20:14:33.054Z] ---> Running in 7f42aed8787e [2023-04-18T20:14:33.054Z] Removing intermediate container 7f42aed8787e [2023-04-18T20:14:33.054Z] ---> b49c14d7b2fd [2023-04-18T20:14:33.054Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T20:14:33.316Z] ---> f8a44fadca18 [2023-04-18T20:14:33.316Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T20:14:33.316Z] ---> Running in c9b742058bf0 [2023-04-18T20:14:33.883Z] Removing intermediate container c9b742058bf0 [2023-04-18T20:14:33.883Z] ---> 42578b1633ae [2023-04-18T20:14:33.883Z] Step 11/25 : COPY . . [2023-04-18T20:14:34.451Z] ---> e222cbf14e0e [2023-04-18T20:14:34.451Z] Step 12/25 : RUN $MAKE [2023-04-18T20:14:34.451Z] ---> Running in df28d249f01f [2023-04-18T20:14:34.709Z] 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-04-18T20:14:52.791Z] Removing intermediate container df28d249f01f [2023-04-18T20:14:52.791Z] ---> 3eb349011522 [2023-04-18T20:14:52.791Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T20:14:53.357Z] 3.17: Pulling from library/alpine [2023-04-18T20:14:53.357Z] f56be85fc22e: Pulling fs layer [2023-04-18T20:14:53.616Z] f56be85fc22e: Download complete [2023-04-18T20:14:53.616Z] f56be85fc22e: Pull complete [2023-04-18T20:14:53.616Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T20:14:53.616Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T20:14:53.616Z] ---> 9ed4aefc74f6 [2023-04-18T20:14:53.616Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T20:14:53.875Z] ---> Running in 4731c354dcc4 [2023-04-18T20:14:53.875Z] Removing intermediate container 4731c354dcc4 [2023-04-18T20:14:53.875Z] ---> 5f7fc8932d1e [2023-04-18T20:14:53.875Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-18T20:14:53.875Z] ---> Running in 8c654e05c527 [2023-04-18T20:14:53.875Z] Removing intermediate container 8c654e05c527 [2023-04-18T20:14:53.875Z] ---> 2e2f3f80b498 [2023-04-18T20:14:53.875Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T20:14:53.875Z] ---> Running in 2cca28a2ced7 [2023-04-18T20:14:54.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T20:14:54.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T20:14:54.703Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T20:14:54.703Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T20:14:54.703Z] OK: 7 MiB in 16 packages [2023-04-18T20:14:54.961Z] Removing intermediate container 2cca28a2ced7 [2023-04-18T20:14:54.961Z] ---> 7950ceba70b8 [2023-04-18T20:14:54.961Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-18T20:14:55.528Z] ---> ab05035287d4 [2023-04-18T20:14:55.528Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-18T20:14:55.528Z] ---> 34fe20738096 [2023-04-18T20:14:55.528Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-18T20:14:55.787Z] ---> cfada91b0036 [2023-04-18T20:14:55.787Z] Step 20/25 : EXPOSE 59986 [2023-04-18T20:14:55.787Z] ---> Running in 968e91304eef [2023-04-18T20:14:55.787Z] Removing intermediate container 968e91304eef [2023-04-18T20:14:55.787Z] ---> 45a3321a8fde [2023-04-18T20:14:55.787Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-18T20:14:55.787Z] ---> Running in feae3892c9e9 [2023-04-18T20:14:56.048Z] Removing intermediate container feae3892c9e9 [2023-04-18T20:14:56.048Z] ---> b5f6b5415727 [2023-04-18T20:14:56.048Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T20:14:56.048Z] ---> Running in 42099a70410f [2023-04-18T20:14:56.048Z] Removing intermediate container 42099a70410f [2023-04-18T20:14:56.048Z] ---> a62c02d88105 [2023-04-18T20:14:56.048Z] Step 23/25 : LABEL arch=amd64 [2023-04-18T20:14:56.048Z] ---> Running in 6b3d6d878b2f [2023-04-18T20:14:56.048Z] Removing intermediate container 6b3d6d878b2f [2023-04-18T20:14:56.048Z] ---> 67baeeb5aa64 [2023-04-18T20:14:56.048Z] Step 24/25 : LABEL git_sha=d113e70528a9acbdce16d1e5b1279bb33f7249f1 [2023-04-18T20:14:56.307Z] ---> Running in 37714a6e7104 [2023-04-18T20:14:56.307Z] Removing intermediate container 37714a6e7104 [2023-04-18T20:14:56.307Z] ---> 49c36e284391 [2023-04-18T20:14:56.307Z] Step 25/25 : LABEL version=0.0.0 [2023-04-18T20:14:56.307Z] ---> Running in 2e38d148cfdd [2023-04-18T20:14:56.307Z] Removing intermediate container 2e38d148cfdd [2023-04-18T20:14:56.307Z] ---> b049c5d1910b [2023-04-18T20:14:56.307Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T20:14:56.307Z] Successfully built b049c5d1910b [2023-04-18T20:14:56.307Z] 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-04-18T20:14:57.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T20:14:57.115Z] [2023-04-18T20:14:57.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:14:57.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T20:14:57.483Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T20:14:57.483Z] 5eb5b503b376: Pulling fs layer [2023-04-18T20:14:57.483Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T20:14:57.483Z] ec43610c2a17: Pulling fs layer [2023-04-18T20:14:57.483Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T20:14:57.483Z] 33b1e0a273af: Pulling fs layer [2023-04-18T20:14:57.483Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T20:14:57.483Z] 2f39f015ded8: Pulling fs layer [2023-04-18T20:14:57.483Z] 2f39f015ded8: Waiting [2023-04-18T20:14:57.483Z] 3a2ae6a8a46f: Waiting [2023-04-18T20:14:57.483Z] 33b1e0a273af: Waiting [2023-04-18T20:14:57.483Z] 5d3b04190fa2: Waiting [2023-04-18T20:14:57.483Z] 5c69ac0246d0: Download complete [2023-04-18T20:14:57.483Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T20:14:57.483Z] 3a2ae6a8a46f: Download complete [2023-04-18T20:14:57.483Z] 33b1e0a273af: Verifying Checksum [2023-04-18T20:14:57.483Z] 33b1e0a273af: Download complete [2023-04-18T20:14:57.483Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T20:14:57.483Z] 5d3b04190fa2: Download complete [2023-04-18T20:14:57.742Z] ec43610c2a17: Verifying Checksum [2023-04-18T20:14:57.742Z] ec43610c2a17: Download complete [2023-04-18T20:14:57.742Z] 5eb5b503b376: Verifying Checksum [2023-04-18T20:14:57.742Z] 5eb5b503b376: Download complete [2023-04-18T20:14:58.677Z] 2f39f015ded8: Download complete [2023-04-18T20:14:59.244Z] 5eb5b503b376: Pull complete [2023-04-18T20:14:59.244Z] 5c69ac0246d0: Pull complete [2023-04-18T20:14:59.813Z] ec43610c2a17: Pull complete [2023-04-18T20:14:59.813Z] 3a2ae6a8a46f: Pull complete [2023-04-18T20:15:00.074Z] 33b1e0a273af: Pull complete [2023-04-18T20:15:00.074Z] 5d3b04190fa2: Pull complete [2023-04-18T20:15:05.340Z] 2f39f015ded8: Pull complete [2023-04-18T20:15:05.340Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T20:15:05.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T20:15:05.340Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:15:05.563Z] prd-ubuntu20.04-docker-8c-8g-8972 does not seem to be running inside a container [2023-04-18T20:15:05.569Z] $ 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-294 -v /w/workspace/gexfoundry_device-rest-go_PR-294:/w/workspace/gexfoundry_device-rest-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-294@tmp:/w/workspace/gexfoundry_device-rest-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T20:15:07.013Z] $ docker top 65598760929a97825da181e8acd82f2d53634504b848b544d4d0059371f6098e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:15:07.494Z] ---> job-cost.sh [2023-04-18T20:15:07.494Z] lf-activate-venv: SKIPPING [2023-04-18T20:15:07.494Z] INFO: No Stack... [2023-04-18T20:15:07.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T20:15:08.323Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T20:15:08.641Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-294/archives/cost.csv [2023-04-18T20:15:08.641Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T20:15:08.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] [2023-04-18T20:15:08.687Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] did not exist. Created. [2023-04-18T20:15:08.688Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T20:15:09.078Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-04-18T20:15:09.133Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T20:15:09.163Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T20:15:09.214Z] $ docker stop --time=1 65598760929a97825da181e8acd82f2d53634504b848b544d4d0059371f6098e [2023-04-18T20:15:10.381Z] $ docker rm -f --volumes 65598760929a97825da181e8acd82f2d53634504b848b544d4d0059371f6098e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T20:15:12.058Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8982 in /w/workspace/gexfoundry_device-rest-go_PR-294 [Pipeline] { [Pipeline] ws [2023-04-18T20:15:12.113Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T20:15:12.224Z] The recommended git tool is: git [2023-04-18T20:15:18.916Z] using credential edgex-jenkins-ssh [2023-04-18T20:15:18.934Z] Cloning the remote Git repository [2023-04-18T20:15:18.958Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T20:15:19.058Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-18T20:15:19.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T20:15:19.203Z] > git --version # timeout=10 [2023-04-18T20:15:19.225Z] > git --version # 'git version 2.25.1' [2023-04-18T20:15:19.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T20:15:19.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T20:15:21.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-18T20:15:21.216Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T20:15:22.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-18T20:15:22.051Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T20:15:22.052Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T20:15:22.068Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T20:15:22.597Z] Merging remotes/origin/main commit 0c5eec98d3be44e3458d60972803f48ebbd423fa into PR head commit d113e70528a9acbdce16d1e5b1279bb33f7249f1 [2023-04-18T20:15:22.875Z] Merge succeeded, producing d113e70528a9acbdce16d1e5b1279bb33f7249f1 [2023-04-18T20:15:22.876Z] Checking out Revision d113e70528a9acbdce16d1e5b1279bb33f7249f1 (PR-294) [2023-04-18T20:15:23.332Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-18T20:15:23.351Z] > git --version # timeout=10 [2023-04-18T20:15:23.362Z] > git --version # 'git version 2.25.1' [2023-04-18T20:15:23.381Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T20:15:22.589Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T20:15:22.660Z] > git checkout -f d113e70528a9acbdce16d1e5b1279bb33f7249f1 # timeout=10 [2023-04-18T20:15:22.746Z] > git remote # timeout=10 [2023-04-18T20:15:22.767Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T20:15:22.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T20:15:22.803Z] > git merge 0c5eec98d3be44e3458d60972803f48ebbd423fa # timeout=10 [2023-04-18T20:15:22.833Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T20:15:22.859Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T20:15:22.880Z] > git checkout -f d113e70528a9acbdce16d1e5b1279bb33f7249f1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T20:15:24.535Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T20:15:24.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T20:15:24.535Z] Dload Upload Total Spent Left Speed [2023-04-18T20:15:24.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-04-18T20:15:25.113Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T20:15:25.467Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T20:15:25.467Z] + sudo tee /etc/docker/daemon.new [2023-04-18T20:15:25.467Z] { [2023-04-18T20:15:25.467Z] "registry-mirrors": [ [2023-04-18T20:15:25.467Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T20:15:25.467Z] ], [2023-04-18T20:15:25.467Z] "bip": "10.250.0.254/24", [2023-04-18T20:15:25.467Z] "hosts": [ [2023-04-18T20:15:25.467Z] "tcp://0.0.0.0:5555", [2023-04-18T20:15:25.467Z] "unix:///var/run/docker.sock" [2023-04-18T20:15:25.467Z] ], [2023-04-18T20:15:25.467Z] "mtu": 1458, [2023-04-18T20:15:25.467Z] "selinux-enabled": true, [2023-04-18T20:15:25.467Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T20:15:25.467Z] } [Pipeline] sh [2023-04-18T20:15:25.811Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T20:15:26.159Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T20:15:48.364Z] provisioning config files... [2023-04-18T20:15:48.391Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3561248579878190480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:15:48.780Z] ---> docker-login.sh [2023-04-18T20:15:48.780Z] nexus3.edgexfoundry.org:10001 [2023-04-18T20:15:49.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:15:49.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:15:49.367Z] Configure a credential helper to remove this warning. See [2023-04-18T20:15:49.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:15:49.367Z] [2023-04-18T20:15:49.367Z] Login Succeeded [2023-04-18T20:15:49.367Z] nexus3.edgexfoundry.org:10002 [2023-04-18T20:15:49.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:15:49.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:15:49.637Z] Configure a credential helper to remove this warning. See [2023-04-18T20:15:49.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:15:49.637Z] [2023-04-18T20:15:49.637Z] Login Succeeded [2023-04-18T20:15:49.637Z] nexus3.edgexfoundry.org:10003 [2023-04-18T20:15:49.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:15:50.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:15:50.179Z] Configure a credential helper to remove this warning. See [2023-04-18T20:15:50.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:15:50.179Z] [2023-04-18T20:15:50.179Z] Login Succeeded [2023-04-18T20:15:50.179Z] nexus3.edgexfoundry.org:10004 [2023-04-18T20:15:50.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:15:50.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:15:50.451Z] Configure a credential helper to remove this warning. See [2023-04-18T20:15:50.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:15:50.451Z] [2023-04-18T20:15:50.451Z] Login Succeeded [2023-04-18T20:15:50.451Z] docker.io [2023-04-18T20:15:50.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T20:15:50.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T20:15:50.987Z] Configure a credential helper to remove this warning. See [2023-04-18T20:15:50.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T20:15:50.987Z] [2023-04-18T20:15:50.987Z] Login Succeeded [2023-04-18T20:15:50.987Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T20:15:51.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T20:15:51.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T20:15:51.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T20:15:51.548Z] ========================================================= [2023-04-18T20:15:51.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T20:15:51.548Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:15:52.122Z] + 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-04-18T20:15:52.122Z] Sending build context to Docker daemon 138.8kB [2023-04-18T20:15:52.393Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T20:15:52.393Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T20:15:52.393Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T20:15:52.393Z] af6eaf76a39c: Pulling fs layer [2023-04-18T20:15:52.393Z] 55522c791124: Pulling fs layer [2023-04-18T20:15:52.393Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T20:15:52.393Z] 169dfbe0d373: Pulling fs layer [2023-04-18T20:15:52.393Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T20:15:52.393Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T20:15:52.393Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T20:15:52.393Z] 169dfbe0d373: Waiting [2023-04-18T20:15:52.393Z] e1ff8fa3b103: Waiting [2023-04-18T20:15:52.393Z] 52ebb69f0ebf: Waiting [2023-04-18T20:15:52.393Z] 5abe8eddf0d5: Waiting [2023-04-18T20:15:52.393Z] 55522c791124: Verifying Checksum [2023-04-18T20:15:52.393Z] 55522c791124: Download complete [2023-04-18T20:15:52.664Z] 169dfbe0d373: Verifying Checksum [2023-04-18T20:15:52.664Z] 169dfbe0d373: Download complete [2023-04-18T20:15:52.664Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T20:15:52.664Z] e1ff8fa3b103: Download complete [2023-04-18T20:15:52.664Z] af6eaf76a39c: Verifying Checksum [2023-04-18T20:15:52.664Z] af6eaf76a39c: Download complete [2023-04-18T20:15:53.655Z] af6eaf76a39c: Pull complete [2023-04-18T20:15:53.655Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T20:15:53.655Z] 5abe8eddf0d5: Download complete [2023-04-18T20:15:54.254Z] 55522c791124: Pull complete [2023-04-18T20:15:54.846Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T20:15:54.846Z] ce5c4a1c91eb: Download complete [2023-04-18T20:15:54.846Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T20:15:54.846Z] 52ebb69f0ebf: Download complete [2023-04-18T20:16:07.334Z] ce5c4a1c91eb: Pull complete [2023-04-18T20:16:07.334Z] 169dfbe0d373: Pull complete [2023-04-18T20:16:07.334Z] e1ff8fa3b103: Pull complete [2023-04-18T20:16:12.692Z] 52ebb69f0ebf: Pull complete [2023-04-18T20:16:14.122Z] 5abe8eddf0d5: Pull complete [2023-04-18T20:16:14.122Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T20:16:14.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T20:16:14.388Z] ---> 6cb57ee374ae [2023-04-18T20:16:14.388Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T20:16:16.336Z] ---> Running in 56d598508720 [2023-04-18T20:16:16.336Z] Removing intermediate container 56d598508720 [2023-04-18T20:16:16.336Z] ---> ee4361020c9a [2023-04-18T20:16:16.336Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T20:16:16.336Z] ---> Running in ef6eb152a133 [2023-04-18T20:16:16.607Z] Removing intermediate container ef6eb152a133 [2023-04-18T20:16:16.607Z] ---> 80f2d12b067a [2023-04-18T20:16:16.607Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T20:16:16.882Z] ---> Running in 76bdc56005f9 [2023-04-18T20:16:17.151Z] Removing intermediate container 76bdc56005f9 [2023-04-18T20:16:17.151Z] ---> 680cc03dfe70 [2023-04-18T20:16:17.151Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T20:16:17.151Z] ---> Running in 4c1bbaaa1d0e [2023-04-18T20:16:17.417Z] Removing intermediate container 4c1bbaaa1d0e [2023-04-18T20:16:17.417Z] ---> 98038ae8a6ce [2023-04-18T20:16:17.417Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T20:16:17.417Z] ---> Running in 72b4a387eb50 [2023-04-18T20:16:18.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T20:16:19.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T20:16:20.072Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T20:16:20.072Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T20:16:20.072Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T20:16:20.072Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T20:16:20.072Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T20:16:20.072Z] OK: 268 MiB in 57 packages [2023-04-18T20:16:24.338Z] Removing intermediate container 72b4a387eb50 [2023-04-18T20:16:24.338Z] ---> 57ec1fe1b8bd [2023-04-18T20:16:24.338Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-18T20:16:24.338Z] ---> Running in 84042979d122 [2023-04-18T20:16:24.338Z] Removing intermediate container 84042979d122 [2023-04-18T20:16:24.338Z] ---> e958020b2026 [2023-04-18T20:16:24.338Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T20:16:24.926Z] ---> 9b3c3fcb320a [2023-04-18T20:16:24.926Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T20:16:24.926Z] ---> Running in 243cdd38a4f2 [2023-04-18T20:17:32.837Z] Removing intermediate container 243cdd38a4f2 [2023-04-18T20:17:32.837Z] ---> 433fce04fd6a [2023-04-18T20:17:32.837Z] Step 11/12 : COPY . . [2023-04-18T20:17:32.837Z] ---> df449fda6c6e [2023-04-18T20:17:32.837Z] Step 12/12 : RUN $MAKE [2023-04-18T20:17:32.837Z] ---> Running in ffb0f04ba84b [2023-04-18T20:17:32.837Z] noop [2023-04-18T20:17:32.837Z] Removing intermediate container ffb0f04ba84b [2023-04-18T20:17:32.837Z] ---> 879e89a6db9f [2023-04-18T20:17:32.837Z] Successfully built 879e89a6db9f [2023-04-18T20:17:32.837Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:17:33.320Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T20:17:33.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:17:33.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-8982 does not seem to be running inside a container [2023-04-18T20:17:33.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T20:17:34.716Z] $ docker top 1236ffa593d8d1a23f9e1defe5726c33820b637fceb2e74819400dbecf5c776b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T20:17:35.598Z] + go version [2023-04-18T20:17:35.598Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T20:17:35.606Z] $ docker stop --time=1 1236ffa593d8d1a23f9e1defe5726c33820b637fceb2e74819400dbecf5c776b [2023-04-18T20:17:37.165Z] $ docker rm -f --volumes 1236ffa593d8d1a23f9e1defe5726c33820b637fceb2e74819400dbecf5c776b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:17:38.160Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T20:17:38.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:17:38.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-8982 does not seem to be running inside a container [2023-04-18T20:17:38.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T20:17:39.621Z] $ docker top e4fbbdfdc73b69c173783f3e4cccc4aa4fe853546d1912b4a43248a9b6d54f88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T20:17:40.181Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T20:17:40.562Z] + make test [2023-04-18T20:17:40.562Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T20:18:12.814Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-18T20:20:05.852Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-18T20:20:05.853Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements [2023-04-18T20:20:05.853Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T20:20:05.853Z] go vet ./... [2023-04-18T20:20:32.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T20:20:32.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T20:20:32.582Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T20:20:32.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T20:20:32.631Z] $ docker stop --time=1 e4fbbdfdc73b69c173783f3e4cccc4aa4fe853546d1912b4a43248a9b6d54f88 [2023-04-18T20:20:35.171Z] $ docker rm -f --volumes e4fbbdfdc73b69c173783f3e4cccc4aa4fe853546d1912b4a43248a9b6d54f88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T20:20:36.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T20:20:36.389Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T20:20:36.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T20:20:37.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T20:20:37.779Z] + ls -al . [2023-04-18T20:20:37.779Z] total 180 [2023-04-18T20:20:37.779Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:17 . [2023-04-18T20:20:37.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:15 .. [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 20:15 .dockerignore [2023-04-18T20:20:37.779Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:15 .git [2023-04-18T20:20:37.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:15 .github [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 20:15 .gitignore [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 20:15 .golangci.yml [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 20:15 Attribution.txt [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 20:15 CHANGELOG.md [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 20:15 Dockerfile [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 20:15 GOVERNANCE.md [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 20:15 Jenkinsfile [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 20:15 LICENSE [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 20:15 Makefile [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 20:15 OWNERS.md [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 20:15 README.md [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 20:13 VERSION [2023-04-18T20:20:37.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:15 bin [2023-04-18T20:20:37.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:15 cmd [2023-04-18T20:20:37.779Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 20:19 coverage.out [2023-04-18T20:20:37.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:15 driver [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 20:15 go.mod [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 18 20:15 go.sum [2023-04-18T20:20:37.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:15 snap [2023-04-18T20:20:37.779Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:20:38.200Z] + 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=d113e70528a9acbdce16d1e5b1279bb33f7249f1 --label arch=arm64 --label version=0.0.0 . [2023-04-18T20:20:38.201Z] Sending build context to Docker daemon 154.1kB [2023-04-18T20:20:38.469Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T20:20:38.469Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T20:20:38.469Z] ---> 879e89a6db9f [2023-04-18T20:20:38.469Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T20:20:38.469Z] ---> Running in ced96523f8ba [2023-04-18T20:20:38.755Z] Removing intermediate container ced96523f8ba [2023-04-18T20:20:38.755Z] ---> d907b1c0892e [2023-04-18T20:20:38.755Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T20:20:38.755Z] ---> Running in 5b703fa28cc0 [2023-04-18T20:20:39.030Z] Removing intermediate container 5b703fa28cc0 [2023-04-18T20:20:39.030Z] ---> 730f8c78fa7b [2023-04-18T20:20:39.030Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T20:20:39.297Z] ---> Running in 2fbede4dc39c [2023-04-18T20:20:39.566Z] Removing intermediate container 2fbede4dc39c [2023-04-18T20:20:39.566Z] ---> fae58484707e [2023-04-18T20:20:39.566Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T20:20:39.566Z] ---> Running in cb891d49b5a4 [2023-04-18T20:20:39.835Z] Removing intermediate container cb891d49b5a4 [2023-04-18T20:20:39.835Z] ---> 59e63f8c9920 [2023-04-18T20:20:39.835Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T20:20:39.835Z] ---> Running in 30cc52350fe1 [2023-04-18T20:20:40.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T20:20:41.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T20:20:42.341Z] OK: 268 MiB in 57 packages [2023-04-18T20:20:43.303Z] Removing intermediate container 30cc52350fe1 [2023-04-18T20:20:43.303Z] ---> ad6b8a86da7d [2023-04-18T20:20:43.303Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-18T20:20:43.303Z] ---> Running in 77f3698a5e94 [2023-04-18T20:20:43.572Z] Removing intermediate container 77f3698a5e94 [2023-04-18T20:20:43.572Z] ---> 49a0f6c7a0c5 [2023-04-18T20:20:43.572Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T20:20:44.153Z] ---> 0788af08103e [2023-04-18T20:20:44.153Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T20:20:44.153Z] ---> Running in c67c5c742c26 [2023-04-18T20:20:49.065Z] Removing intermediate container c67c5c742c26 [2023-04-18T20:20:49.065Z] ---> 817e90b05b77 [2023-04-18T20:20:49.065Z] Step 11/25 : COPY . . [2023-04-18T20:20:49.670Z] ---> 3bb6c7b54278 [2023-04-18T20:20:49.670Z] Step 12/25 : RUN $MAKE [2023-04-18T20:20:49.670Z] ---> Running in f8fc8494429c [2023-04-18T20:20:50.652Z] 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-04-18T20:22:57.339Z] Removing intermediate container f8fc8494429c [2023-04-18T20:22:57.339Z] ---> 96d7b70065f7 [2023-04-18T20:22:57.339Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T20:22:57.339Z] 3.17: Pulling from library/alpine [2023-04-18T20:22:57.339Z] c41833b44d91: Pulling fs layer [2023-04-18T20:22:57.339Z] c41833b44d91: Download complete [2023-04-18T20:22:57.339Z] c41833b44d91: Pull complete [2023-04-18T20:22:57.339Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T20:22:57.339Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T20:22:57.339Z] ---> 51e60588ff2c [2023-04-18T20:22:57.339Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T20:22:57.339Z] ---> Running in 0548a22e13c8 [2023-04-18T20:22:57.339Z] Removing intermediate container 0548a22e13c8 [2023-04-18T20:22:57.339Z] ---> 67bc0f885f19 [2023-04-18T20:22:57.339Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-18T20:22:57.339Z] ---> Running in b1070d1f64c3 [2023-04-18T20:22:57.339Z] Removing intermediate container b1070d1f64c3 [2023-04-18T20:22:57.339Z] ---> 48085b4dfb10 [2023-04-18T20:22:57.339Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T20:22:57.339Z] ---> Running in e4d27c80e6a2 [2023-04-18T20:22:57.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T20:22:57.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T20:22:57.339Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T20:22:57.339Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T20:22:57.339Z] OK: 8 MiB in 16 packages [2023-04-18T20:23:00.679Z] Removing intermediate container e4d27c80e6a2 [2023-04-18T20:23:00.679Z] ---> 90e156bf7945 [2023-04-18T20:23:00.679Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-18T20:23:01.635Z] ---> 9b4864c93717 [2023-04-18T20:23:01.635Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-18T20:23:02.220Z] ---> b06f61c679dd [2023-04-18T20:23:02.220Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-18T20:23:02.485Z] ---> 7a7d34f34578 [2023-04-18T20:23:02.485Z] Step 20/25 : EXPOSE 59986 [2023-04-18T20:23:02.485Z] ---> Running in cf6cc1c8ad1d [2023-04-18T20:23:02.751Z] Removing intermediate container cf6cc1c8ad1d [2023-04-18T20:23:02.751Z] ---> 9c731feeb7d9 [2023-04-18T20:23:02.751Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-18T20:23:03.017Z] ---> Running in eae6200b455e [2023-04-18T20:23:03.017Z] Removing intermediate container eae6200b455e [2023-04-18T20:23:03.017Z] ---> 4ef061d0349c [2023-04-18T20:23:03.017Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T20:23:03.284Z] ---> Running in 70c03f06fbc3 [2023-04-18T20:23:03.550Z] Removing intermediate container 70c03f06fbc3 [2023-04-18T20:23:03.550Z] ---> e5aafc50793e [2023-04-18T20:23:03.550Z] Step 23/25 : LABEL arch=arm64 [2023-04-18T20:23:03.550Z] ---> Running in 1226a99181e6 [2023-04-18T20:23:03.815Z] Removing intermediate container 1226a99181e6 [2023-04-18T20:23:03.815Z] ---> 48234c005434 [2023-04-18T20:23:03.815Z] Step 24/25 : LABEL git_sha=d113e70528a9acbdce16d1e5b1279bb33f7249f1 [2023-04-18T20:23:03.815Z] ---> Running in 9d559e95dce0 [2023-04-18T20:23:04.081Z] Removing intermediate container 9d559e95dce0 [2023-04-18T20:23:04.081Z] ---> e2f93c3ef1d6 [2023-04-18T20:23:04.081Z] Step 25/25 : LABEL version=0.0.0 [2023-04-18T20:23:04.081Z] ---> Running in 0daa75cdab9d [2023-04-18T20:23:04.346Z] Removing intermediate container 0daa75cdab9d [2023-04-18T20:23:04.346Z] ---> d3d5be2efd78 [2023-04-18T20:23:04.346Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T20:23:04.346Z] Successfully built d3d5be2efd78 [2023-04-18T20:23:04.346Z] 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-04-18T20:23:05.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T20:23:05.140Z] [2023-04-18T20:23:05.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:23:05.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T20:23:05.532Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T20:23:05.532Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T20:23:05.532Z] 04944245beec: Pulling fs layer [2023-04-18T20:23:05.532Z] 699f458cf7ca: Pulling fs layer [2023-04-18T20:23:05.532Z] 765212b225bb: Pulling fs layer [2023-04-18T20:23:05.532Z] f23df028b6ca: Pulling fs layer [2023-04-18T20:23:05.532Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T20:23:05.532Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T20:23:05.532Z] 765212b225bb: Waiting [2023-04-18T20:23:05.532Z] f23df028b6ca: Waiting [2023-04-18T20:23:05.532Z] d65c8cfc05b1: Waiting [2023-04-18T20:23:05.532Z] 2437ff75d9bd: Waiting [2023-04-18T20:23:05.800Z] 04944245beec: Verifying Checksum [2023-04-18T20:23:05.800Z] 04944245beec: Download complete [2023-04-18T20:23:05.800Z] 765212b225bb: Verifying Checksum [2023-04-18T20:23:05.800Z] 765212b225bb: Download complete [2023-04-18T20:23:05.800Z] f23df028b6ca: Verifying Checksum [2023-04-18T20:23:05.800Z] f23df028b6ca: Download complete [2023-04-18T20:23:05.800Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T20:23:05.800Z] d65c8cfc05b1: Download complete [2023-04-18T20:23:05.800Z] 699f458cf7ca: Verifying Checksum [2023-04-18T20:23:05.800Z] 699f458cf7ca: Download complete [2023-04-18T20:23:06.383Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T20:23:06.383Z] 8998bd30e6a1: Download complete [2023-04-18T20:23:08.327Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T20:23:08.327Z] 2437ff75d9bd: Download complete [2023-04-18T20:23:10.267Z] 8998bd30e6a1: Pull complete [2023-04-18T20:23:10.534Z] 04944245beec: Pull complete [2023-04-18T20:23:13.113Z] 699f458cf7ca: Pull complete [2023-04-18T20:23:13.113Z] 765212b225bb: Pull complete [2023-04-18T20:23:13.695Z] f23df028b6ca: Pull complete [2023-04-18T20:23:13.960Z] d65c8cfc05b1: Pull complete [2023-04-18T20:23:28.928Z] 2437ff75d9bd: Pull complete [2023-04-18T20:23:28.928Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T20:23:28.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T20:23:28.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:23:29.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-8982 does not seem to be running inside a container [2023-04-18T20:23:29.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T20:23:31.712Z] $ docker top 99297d5e2a48ed472ac204a44c06c41a69a31c2327f8edd4fd3ebd5ac8cda44a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:32.305Z] ---> job-cost.sh [2023-04-18T20:23:32.572Z] lf-activate-venv: SKIPPING [2023-04-18T20:23:32.572Z] INFO: No Stack... [2023-04-18T20:23:33.152Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T20:23:33.733Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T20:23:34.071Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-18T20:23:34.071Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T20:23:34.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] [2023-04-18T20:23:34.128Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] did not exist. Created. [2023-04-18T20:23:34.128Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T20:23:34.532Z] /w/workspace/device-rest-go/1@tmp/durable-c0429a96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T20:23:34.882Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T20:23:34.918Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T20:23:34.958Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T20:23:34.981Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-294-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T20:23:35.031Z] $ docker stop --time=1 99297d5e2a48ed472ac204a44c06c41a69a31c2327f8edd4fd3ebd5ac8cda44a [2023-04-18T20:23:36.487Z] $ docker rm -f --volumes 99297d5e2a48ed472ac204a44c06c41a69a31c2327f8edd4fd3ebd5ac8cda44a [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-04-18T20:23:37.455Z] provisioning config files... [2023-04-18T20:23:37.463Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-294@tmp/config11371234657444845541tmp [Pipeline] { [Pipeline] sh [2023-04-18T20:23:37.797Z] + set +x [2023-04-18T20:23:37.797Z] + curl -s https://codecov.io/bash [2023-04-18T20:23:37.797Z] + bash -s -- [2023-04-18T20:23:37.797Z] [2023-04-18T20:23:37.797Z] _____ _ [2023-04-18T20:23:37.797Z] / ____| | | [2023-04-18T20:23:37.797Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T20:23:37.797Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T20:23:37.797Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T20:23:37.797Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T20:23:37.797Z] Bash-1.0.6 [2023-04-18T20:23:37.797Z] [2023-04-18T20:23:37.797Z] [2023-04-18T20:23:37.797Z] ==> git version 2.25.1 found [2023-04-18T20:23:37.797Z] ==> 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-04-18T20:23:37.797Z] Release-Date: 2020-01-08 [2023-04-18T20:23:37.797Z] 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-04-18T20:23:37.797Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T20:23:37.797Z] ==> Jenkins CI detected. [2023-04-18T20:23:37.797Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-294 [2023-04-18T20:23:37.797Z] project root: . [2023-04-18T20:23:37.797Z] --> token set from env [2023-04-18T20:23:37.797Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T20:23:37.797Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T20:23:37.798Z] ==> Python coveragepy not found [2023-04-18T20:23:37.798Z] ==> Searching for coverage reports in: [2023-04-18T20:23:37.798Z] + . [2023-04-18T20:23:37.798Z] -> Found 1 reports [2023-04-18T20:23:37.798Z] ==> Detecting git/mercurial file structure [2023-04-18T20:23:38.057Z] ==> Reading reports [2023-04-18T20:23:38.057Z] + ./coverage.out bytes=14663 [2023-04-18T20:23:38.057Z] ==> Appending adjustments [2023-04-18T20:23:38.057Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T20:23:38.057Z] + Found adjustments [2023-04-18T20:23:38.057Z] ==> Gzipping contents [2023-04-18T20:23:38.057Z] 4.0K /tmp/codecov.TJjSUl.gz [2023-04-18T20:23:38.057Z] ==> Uploading reports [2023-04-18T20:23:38.057Z] url: https://codecov.io [2023-04-18T20:23:38.057Z] query: branch=PR-294&commit=d113e70528a9acbdce16d1e5b1279bb33f7249f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-294%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=294&job=&cmd_args= [2023-04-18T20:23:38.057Z] -> Pinging Codecov [2023-04-18T20:23:38.057Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-294&commit=d113e70528a9acbdce16d1e5b1279bb33f7249f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-294%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=294&job=&cmd_args= [2023-04-18T20:23:38.057Z] -> Uploading to [2023-04-18T20:23:38.057Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/4E5D53B4F1F92C436F7061BF334D961C/d113e70528a9acbdce16d1e5b1279bb33f7249f1/19651fb2-337c-46cb-a973-818ce872e262.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T202337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2756d46914936de8b3b93cf904fa8a64d616186d2b89b9a9bb938f5413e1ae8e [2023-04-18T20:23:38.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T20:23:38.057Z] Dload Upload Total Spent Left Speed [2023-04-18T20:23:38.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10203 --:--:-- --:--:-- --:--:-- 10203 [2023-04-18T20:23:38.318Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d113e70528a9acbdce16d1e5b1279bb33f7249f1 [Pipeline] } [2023-04-18T20:23:38.350Z] 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-04-18T20:23:40.121Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-294/archives ] [2023-04-18T20:23:40.121Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-294/archives [2023-04-18T20:23:40.121Z] total 16 [2023-04-18T20:23:40.121Z] drwxr-xr-x 3 root root 4096 Apr 18 20:15 . [2023-04-18T20:23:40.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 20:15 .. [2023-04-18T20:23:40.121Z] drwxr-xr-x 2 root root 4096 Apr 18 20:15 cost [2023-04-18T20:23:40.121Z] -rw-r--r-- 1 root root 87 Apr 18 20:15 cost.csv [2023-04-18T20:23:40.121Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-294/archives [2023-04-18T20:23:40.121Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-294/archives [2023-04-18T20:23:40.121Z] total 16 [2023-04-18T20:23:40.121Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 20:15 . [2023-04-18T20:23:40.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 20:15 .. [2023-04-18T20:23:40.121Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 20:15 cost [2023-04-18T20:23:40.121Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 18 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:40.450Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:41.335Z] ---> package-listing.sh [2023-04-18T20:23:41.335Z] ++ facter osfamily [2023-04-18T20:23:41.335Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T20:23:41.595Z] + OS_FAMILY=debian [2023-04-18T20:23:41.595Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-294 [2023-04-18T20:23:41.595Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T20:23:41.595Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T20:23:41.595Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T20:23:41.595Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T20:23:41.595Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-294 ']' [2023-04-18T20:23:41.595Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T20:23:41.595Z] + case "${OS_FAMILY}" in [2023-04-18T20:23:41.595Z] + dpkg -l [2023-04-18T20:23:41.595Z] + grep '^ii' [2023-04-18T20:23:41.595Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T20:23:41.595Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T20:23:41.595Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T20:23:41.595Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-294 ']' [2023-04-18T20:23:41.595Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-294/archives/ [2023-04-18T20:23:41.595Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-294/archives/ [Pipeline] echo [2023-04-18T20:23:41.631Z] 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-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T20:23:41.922Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T20:23:42.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T20:23:42.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T20:23:42.670Z] prd-ubuntu20.04-docker-8c-8g-8972 does not seem to be running inside a container [2023-04-18T20:23:42.680Z] $ 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-294/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-294 -v /w/workspace/gexfoundry_device-rest-go_PR-294:/w/workspace/gexfoundry_device-rest-go_PR-294:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-294@tmp:/w/workspace/gexfoundry_device-rest-go_PR-294@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T20:23:42.883Z] $ docker top 48cab7d25b4d199f86c24946a0d35211cb107da71cf46344d27207b533d9f5e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T20:23:43.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T20:23:43.600Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T20:23:43.907Z] + ls /var/log/sa-host [2023-04-18T20:23:43.907Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T20:23:44.181Z] provisioning config files... [2023-04-18T20:23:44.190Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-294@tmp/config3653032106085862980tmp [Pipeline] { [Pipeline] echo [2023-04-18T20:23:44.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:44.551Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T20:23:44.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:44.974Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T20:23:45.004Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:45.314Z] ---> sudo-logs.sh [2023-04-18T20:23:45.314Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T20:23:45.396Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:45.714Z] ---> job-cost.sh [2023-04-18T20:23:45.714Z] lf-activate-venv: SKIPPING [2023-04-18T20:23:45.714Z] DEBUG: total: 0.4399999976158142 [2023-04-18T20:23:45.714Z] INFO: Retrieving Stack Cost... [2023-04-18T20:23:45.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T20:23:46.232Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T20:23:46.264Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T20:23:46.576Z] ---> logs-deploy.sh [2023-04-18T20:23:46.576Z] lf-activate-venv: SKIPPING [2023-04-18T20:23:46.576Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-294/1 [2023-04-18T20:23:46.576Z] INFO: archiving workspace using pattern(s): [2023-04-18T20:23:47.514Z] Archives upload complete. [2023-04-18T20:23:47.773Z] INFO: archiving logs to Nexus