Pull request #343 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 4617776163951c6dac5c14d5cbb20ddb9bf695df+6a5bbfd9e0df4486290843fbebd273780ea8bdd3 (72dda79e37364fe6c7eb524a6268402270df29c4) 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-ssh3538794813506811268.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10725152790575552526.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-343/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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16878606541344680637.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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3729457576544719749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2858917532124559049.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-343/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-343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15168582303200899404.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6730’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6731’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6736 in /w/workspace/gexfoundry_device-rest-go_PR-343 [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-343 # 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 4617776163951c6dac5c14d5cbb20ddb9bf695df Merge succeeded, producing 4617776163951c6dac5c14d5cbb20ddb9bf695df Checking out Revision 4617776163951c6dac5c14d5cbb20ddb9bf695df (PR-343) > 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/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:22:54.857Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:22:55.049Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:22:55.155Z] ========================================================= [2023-09-20T17:22:55.155Z] EdgeX Global Pipelines Version Info [2023-09-20T17:22:55.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:22:55.911Z] ------------------- [2023-09-20T17:22:55.911Z] stable info: [2023-09-20T17:22:55.911Z] ------------------- [2023-09-20T17:22:55.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:22:55.911Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:22:55.911Z] Message: update stable to v1.0.254 [2023-09-20T17:22:56.482Z] ------------------- [2023-09-20T17:22:56.482Z] experimental info: [2023-09-20T17:22:56.482Z] ------------------- [2023-09-20T17:22:56.482Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:22:56.482Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:22:56.482Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:22:56.768Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-20T17:22:56.808Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-20T17:22:56.860Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:22:56.901Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:22:56.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:22:56.982Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:22:57.027Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:22:57.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:22:57.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:22:57.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:22:57.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:22:57.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-20T17:22:57.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:22:57.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:22:57.390Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:22:57.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:22:57.547Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:22:57.598Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:22:57.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:22:57.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:22:57.723Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T17:22:57.765Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T17:22:57.805Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:22:57.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:22:57.890Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:22:57.930Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:22:57.979Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:22:58.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo [2023-09-20T17:22:58.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo [2023-09-20T17:22:58.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo [2023-09-20T17:22:58.161Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo [2023-09-20T17:22:58.211Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4617776 [Pipeline] echo [2023-09-20T17:22:58.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:22:58.378Z] provisioning config files... [2023-09-20T17:22:58.391Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config1035069628180101294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:22:58.741Z] ---> docker-login.sh [2023-09-20T17:22:58.741Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:22:59.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:59.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:59.001Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:59.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:59.001Z] [2023-09-20T17:22:59.001Z] Login Succeeded [2023-09-20T17:22:59.001Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:22:59.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:59.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:59.002Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:59.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:59.002Z] [2023-09-20T17:22:59.002Z] Login Succeeded [2023-09-20T17:22:59.002Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:22:59.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:59.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:59.261Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:59.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:59.261Z] [2023-09-20T17:22:59.261Z] Login Succeeded [2023-09-20T17:22:59.261Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:22:59.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:59.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:59.261Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:59.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:59.261Z] [2023-09-20T17:22:59.261Z] Login Succeeded [2023-09-20T17:22:59.261Z] docker.io [2023-09-20T17:22:59.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:59.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:59.520Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:59.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:59.520Z] [2023-09-20T17:22:59.520Z] Login Succeeded [2023-09-20T17:22:59.520Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:22:59.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:23:00.216Z] + git rev-list -1 --merges 4617776163951c6dac5c14d5cbb20ddb9bf695df~1..4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo [2023-09-20T17:23:00.281Z] -----------> git rev-list -1 --merges 4617776163951c6dac5c14d5cbb20ddb9bf695df~1..4617776163951c6dac5c14d5cbb20ddb9bf695df 4617776163951c6dac5c14d5cbb20ddb9bf695df [false] [Pipeline] sh [2023-09-20T17:23:00.592Z] + git log --format=format:%s -1 4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo [2023-09-20T17:23:00.627Z] ========================================================= [2023-09-20T17:23:00.627Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:23:00.627Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:23:01.054Z] + git log --format=format:%s -1 4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] echo [2023-09-20T17:23:01.083Z] [semverPrep] GIT_COMMIT: 4617776163951c6dac5c14d5cbb20ddb9bf695df, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo [2023-09-20T17:23:01.115Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:23:01.491Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:23:01.491Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:23:01.491Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:23:01.491Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:23:01.491Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:23:01.491Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:23:01.491Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:01.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:01.917Z] [2023-09-20T17:23:01.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:02.298Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:02.298Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:23:02.298Z] b85a868b505f: Pulling fs layer [2023-09-20T17:23:02.298Z] e2be974225ed: Pulling fs layer [2023-09-20T17:23:02.298Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:23:02.298Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:23:02.298Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:23:02.298Z] eaf3925da568: Pulling fs layer [2023-09-20T17:23:02.298Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:23:02.298Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:23:02.298Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:23:02.298Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:23:02.298Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:23:02.298Z] eaf3925da568: Waiting [2023-09-20T17:23:02.298Z] bab4dde63d76: Waiting [2023-09-20T17:23:02.298Z] 4872d77fe225: Waiting [2023-09-20T17:23:02.298Z] bde34c3a00c8: Waiting [2023-09-20T17:23:02.298Z] 5851b861e8e6: Waiting [2023-09-20T17:23:02.298Z] b352a97aabf1: Waiting [2023-09-20T17:23:02.298Z] 988bab9f4d93: Waiting [2023-09-20T17:23:02.298Z] 1469e6f7b9e6: Waiting [2023-09-20T17:23:02.298Z] e2be974225ed: Verifying Checksum [2023-09-20T17:23:02.298Z] e2be974225ed: Download complete [2023-09-20T17:23:02.298Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:23:02.298Z] 988bab9f4d93: Download complete [2023-09-20T17:23:02.568Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:23:02.568Z] 1469e6f7b9e6: Download complete [2023-09-20T17:23:02.568Z] eaf3925da568: Verifying Checksum [2023-09-20T17:23:02.568Z] eaf3925da568: Download complete [2023-09-20T17:23:02.568Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:23:02.568Z] 339a4e72a1f5: Download complete [2023-09-20T17:23:02.568Z] bde34c3a00c8: Download complete [2023-09-20T17:23:02.568Z] b352a97aabf1: Verifying Checksum [2023-09-20T17:23:02.568Z] b352a97aabf1: Download complete [2023-09-20T17:23:02.568Z] 4872d77fe225: Download complete [2023-09-20T17:23:02.568Z] 5851b861e8e6: Verifying Checksum [2023-09-20T17:23:02.568Z] 5851b861e8e6: Download complete [2023-09-20T17:23:02.568Z] b85a868b505f: Verifying Checksum [2023-09-20T17:23:02.568Z] b85a868b505f: Download complete [2023-09-20T17:23:03.144Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:23:03.144Z] bab4dde63d76: Download complete [2023-09-20T17:23:04.091Z] b85a868b505f: Pull complete [2023-09-20T17:23:04.091Z] e2be974225ed: Pull complete [2023-09-20T17:23:04.659Z] 339a4e72a1f5: Pull complete [2023-09-20T17:23:04.659Z] 988bab9f4d93: Pull complete [2023-09-20T17:23:04.920Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:23:04.920Z] eaf3925da568: Pull complete [2023-09-20T17:23:07.461Z] bab4dde63d76: Pull complete [2023-09-20T17:23:07.461Z] bde34c3a00c8: Pull complete [2023-09-20T17:23:07.461Z] b352a97aabf1: Pull complete [2023-09-20T17:23:07.461Z] 4872d77fe225: Pull complete [2023-09-20T17:23:07.720Z] 5851b861e8e6: Pull complete [2023-09-20T17:23:07.720Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:23:07.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:07.720Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:23:07.975Z] prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container [2023-09-20T17:23:08.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T17:23:10.650Z] $ docker top 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d -eo pid,comm [2023-09-20T17:23:10.713Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T17:23:10.713Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:23:10.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:23:10.853Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:23:10.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:23:10.963Z] $ docker exec 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent [2023-09-20T17:23:11.085Z] SSH_AUTH_SOCK=/tmp/ssh-je7aM8vci9Zb/agent.32 [2023-09-20T17:23:11.085Z] SSH_AGENT_PID=38 [2023-09-20T17:23:11.091Z] Running ssh-add (command line suppressed) [2023-09-20T17:23:11.201Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_9715046982695573667.key (/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_9715046982695573667.key) [2023-09-20T17:23:11.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:23:11.563Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:23:11.590Z] $ docker exec --env ******** --env ******** 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent -k [2023-09-20T17:23:11.690Z] unset SSH_AUTH_SOCK; [2023-09-20T17:23:11.691Z] unset SSH_AGENT_PID; [2023-09-20T17:23:11.691Z] echo Agent pid 38 killed; [2023-09-20T17:23:11.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:23:11.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:23:11.784Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:23:11.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:23:11.911Z] $ docker exec 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent [2023-09-20T17:23:12.039Z] SSH_AUTH_SOCK=/tmp/ssh-QhizJXKGHYVe/agent.70 [2023-09-20T17:23:12.039Z] SSH_AGENT_PID=77 [2023-09-20T17:23:12.043Z] Running ssh-add (command line suppressed) [2023-09-20T17:23:12.152Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_11086362858850545837.key (/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/private_key_11086362858850545837.key) [2023-09-20T17:23:12.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:23:12.492Z] + git semver init [2023-09-20T17:23:12.750Z] 2023-09-20 17:23:12,687 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:23:12.750Z] 2023-09-20 17:23:12,687 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-343/.semver [2023-09-20T17:23:12.750Z] 2023-09-20 17:23:12,688 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-343/.semver [2023-09-20T17:23:12.750Z] 2023-09-20 17:23:12,688 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-343/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-343, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,735 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-343/.git/info/exclude [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-343/.semver/PR-343 with force:False [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,736 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-343/.semver/PR-343 [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,740 [execute] INFO git cat-file --batch-check [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,747 [execute] INFO git cat-file --batch [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:23:14.130Z] 2023-09-20 17:23:13,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-343/.semver/PR-343 [2023-09-20T17:23:14.130Z] 0.0.0 [Pipeline] } [2023-09-20T17:23:14.160Z] $ docker exec --env ******** --env ******** 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d ssh-agent -k [2023-09-20T17:23:14.253Z] unset SSH_AUTH_SOCK; [2023-09-20T17:23:14.254Z] unset SSH_AGENT_PID; [2023-09-20T17:23:14.254Z] echo Agent pid 77 killed; [2023-09-20T17:23:14.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:23:14.699Z] + git semver [Pipeline] } [2023-09-20T17:23:14.988Z] $ docker stop --time=1 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d [2023-09-20T17:23:16.347Z] $ docker rm -f --volumes 7cfc56b0c44aaad6df4fac3e55c996ca41ee1ae303013a1b526717d8650d1d1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:23:16.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:23:17.086Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:23:17.102Z] [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-09-20T17:23:17.710Z] provisioning config files... [2023-09-20T17:23:17.719Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config12312815111576344828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:18.078Z] ---> docker-login.sh [2023-09-20T17:23:18.078Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:23:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:18.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:18.078Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:18.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:18.078Z] [2023-09-20T17:23:18.078Z] Login Succeeded [2023-09-20T17:23:18.078Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:23:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:18.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:18.078Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:18.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:18.078Z] [2023-09-20T17:23:18.078Z] Login Succeeded [2023-09-20T17:23:18.078Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:23:18.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:18.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:18.336Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:18.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:18.336Z] [2023-09-20T17:23:18.336Z] Login Succeeded [2023-09-20T17:23:18.336Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:23:18.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:18.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:18.336Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:18.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:18.336Z] [2023-09-20T17:23:18.336Z] Login Succeeded [2023-09-20T17:23:18.336Z] docker.io [2023-09-20T17:23:18.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:18.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:18.595Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:18.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:18.595Z] [2023-09-20T17:23:18.595Z] Login Succeeded [2023-09-20T17:23:18.595Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:23:18.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:23:18.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:23:18.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:23:18.908Z] ========================================================= [2023-09-20T17:23:18.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:23:18.908Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:19.400Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:23:19.400Z] Sending build context to Docker daemon 10.9MB [2023-09-20T17:23:19.400Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:23:19.400Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:23:19.400Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:23:19.400Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:23:19.400Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:23:19.400Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:23:19.400Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:23:19.400Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:23:19.400Z] c68163c4e522: Pulling fs layer [2023-09-20T17:23:19.400Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:23:19.400Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:23:19.400Z] c68163c4e522: Waiting [2023-09-20T17:23:19.400Z] ad3a456e5733: Waiting [2023-09-20T17:23:19.400Z] 33e27b845d1e: Waiting [2023-09-20T17:23:19.400Z] 23d2d4c4bb30: Waiting [2023-09-20T17:23:19.400Z] c4d48a809fc2: Download complete [2023-09-20T17:23:19.400Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:23:19.400Z] ad3a456e5733: Download complete [2023-09-20T17:23:19.400Z] 33e27b845d1e: Verifying Checksum [2023-09-20T17:23:19.400Z] 33e27b845d1e: Download complete [2023-09-20T17:23:19.661Z] 7264a8db6415: Verifying Checksum [2023-09-20T17:23:19.661Z] 7264a8db6415: Download complete [2023-09-20T17:23:19.661Z] c68163c4e522: Verifying Checksum [2023-09-20T17:23:19.661Z] c68163c4e522: Download complete [2023-09-20T17:23:19.661Z] 7264a8db6415: Pull complete [2023-09-20T17:23:19.926Z] c4d48a809fc2: Pull complete [2023-09-20T17:23:19.926Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:23:19.926Z] 23d2d4c4bb30: Download complete [2023-09-20T17:23:20.189Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:23:20.189Z] 4f1c88b9dad5: Download complete [2023-09-20T17:23:20.454Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:23:20.454Z] 50da416c3ac9: Download complete [2023-09-20T17:23:23.740Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:23:23.998Z] ad3a456e5733: Pull complete [2023-09-20T17:23:24.258Z] 33e27b845d1e: Pull complete [2023-09-20T17:23:24.518Z] c68163c4e522: Pull complete [2023-09-20T17:23:27.051Z] 50da416c3ac9: Pull complete [2023-09-20T17:23:27.322Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:23:27.322Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:23:27.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:23:27.322Z] ---> 0786185ac409 [2023-09-20T17:23:27.322Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:23:31.530Z] ---> Running in 6e753aeb9a1e [2023-09-20T17:23:31.530Z] Removing intermediate container 6e753aeb9a1e [2023-09-20T17:23:31.530Z] ---> 6b2529b40245 [2023-09-20T17:23:31.530Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:23:31.530Z] ---> Running in 15187c3de5b7 [2023-09-20T17:23:31.530Z] Removing intermediate container 15187c3de5b7 [2023-09-20T17:23:31.530Z] ---> bfe52e3deb5e [2023-09-20T17:23:31.530Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:23:31.530Z] ---> Running in 63866a1a2788 [2023-09-20T17:23:31.530Z] Removing intermediate container 63866a1a2788 [2023-09-20T17:23:31.530Z] ---> 027744918d5e [2023-09-20T17:23:31.530Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:23:31.530Z] ---> Running in 026bd96185f2 [2023-09-20T17:23:31.530Z] Removing intermediate container 026bd96185f2 [2023-09-20T17:23:31.530Z] ---> 4c21066fd499 [2023-09-20T17:23:31.530Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:23:31.530Z] ---> Running in a995af6e2b17 [2023-09-20T17:23:31.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:31.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:32.048Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:23:32.048Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:23:32.048Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:23:32.048Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:23:32.048Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:23:32.048Z] OK: 268 MiB in 56 packages [2023-09-20T17:23:32.529Z] Still waiting to schedule task [2023-09-20T17:23:32.529Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ [2023-09-20T17:23:32.618Z] Removing intermediate container a995af6e2b17 [2023-09-20T17:23:32.618Z] ---> dbccf0ff0b3d [2023-09-20T17:23:32.618Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T17:23:32.618Z] ---> Running in 20881f31614d [2023-09-20T17:23:32.618Z] Removing intermediate container 20881f31614d [2023-09-20T17:23:32.618Z] ---> c568146d0fec [2023-09-20T17:23:32.618Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:23:32.618Z] ---> 33d82f906de8 [2023-09-20T17:23:32.618Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:23:32.618Z] ---> Running in 1b2cd6683052 [2023-09-20T17:24:19.438Z] Removing intermediate container 1b2cd6683052 [2023-09-20T17:24:19.438Z] ---> 779ae9e71483 [2023-09-20T17:24:19.438Z] Step 11/12 : COPY . . [2023-09-20T17:24:19.438Z] ---> 793e695d2906 [2023-09-20T17:24:19.438Z] Step 12/12 : RUN $MAKE [2023-09-20T17:24:19.438Z] ---> Running in 141298d2fa79 [2023-09-20T17:24:19.438Z] noop [2023-09-20T17:24:19.438Z] Removing intermediate container 141298d2fa79 [2023-09-20T17:24:19.438Z] ---> ced216712611 [2023-09-20T17:24:19.438Z] Successfully built ced216712611 [2023-09-20T17:24:19.438Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:19.901Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:24:19.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:20.061Z] prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container [2023-09-20T17:24:20.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:24:20.430Z] $ docker top c863a3d0af670f678f2fef06ce9a0f13aa1547d36cce7baf5684776097be886b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:24:20.820Z] + go version [2023-09-20T17:24:20.821Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:24:20.856Z] $ docker stop --time=1 c863a3d0af670f678f2fef06ce9a0f13aa1547d36cce7baf5684776097be886b [2023-09-20T17:24:22.160Z] $ docker rm -f --volumes c863a3d0af670f678f2fef06ce9a0f13aa1547d36cce7baf5684776097be886b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:23.006Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:24:23.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:23.164Z] prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container [2023-09-20T17:24:23.207Z] $ 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-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:24:23.537Z] $ docker top 1596d93c6e67193fde120ec57dd7b1e3c0ef49f432b6c0ff540f614c113cb096 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:24:23.932Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-343 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:24:24.278Z] + make test [2023-09-20T17:24:24.278Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:24:25.650Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T17:24:35.691Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T17:24:35.691Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-09-20T17:24:42.245Z] go vet ./... [2023-09-20T17:24:44.772Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:24:44.772Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:24:44.772Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:24:44.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:24:44.849Z] $ docker stop --time=1 1596d93c6e67193fde120ec57dd7b1e3c0ef49f432b6c0ff540f614c113cb096 [2023-09-20T17:24:48.398Z] $ docker rm -f --volumes 1596d93c6e67193fde120ec57dd7b1e3c0ef49f432b6c0ff540f614c113cb096 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:24:48.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:24:48.991Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:24:49.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:24:49.891Z] + ls -al . [2023-09-20T17:24:49.891Z] total 188 [2023-09-20T17:24:49.891Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:24 . [2023-09-20T17:24:49.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 .. [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 17:22 .dockerignore [2023-09-20T17:24:49.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:24 .git [2023-09-20T17:24:49.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 .github [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:22 .gitignore [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:22 .golangci.yml [2023-09-20T17:24:49.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:23 .semver [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 17:22 Attribution.txt [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 17:22 CHANGELOG.md [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 17:22 Dockerfile [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:22 GOVERNANCE.md [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 17:22 Jenkinsfile [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:22 LICENSE [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 17:22 Makefile [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:22 OWNERS.md [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 17:22 README.md [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION [2023-09-20T17:24:49.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 bin [2023-09-20T17:24:49.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 cmd [2023-09-20T17:24:49.891Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 17:24 coverage.out [2023-09-20T17:24:49.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 driver [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 17:22 go.mod [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:22 go.sum [2023-09-20T17:24:49.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 snap [2023-09-20T17:24:49.891Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:50.291Z] + 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=4617776163951c6dac5c14d5cbb20ddb9bf695df --label arch=amd64 --label version=0.0.0 . [2023-09-20T17:24:50.291Z] Sending build context to Docker daemon 10.92MB [2023-09-20T17:24:50.291Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:24:50.291Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T17:24:50.291Z] ---> ced216712611 [2023-09-20T17:24:50.291Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:24:50.291Z] ---> Running in 05e36d3b5970 [2023-09-20T17:24:50.549Z] Removing intermediate container 05e36d3b5970 [2023-09-20T17:24:50.549Z] ---> 895d99747b94 [2023-09-20T17:24:50.549Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:24:50.549Z] ---> Running in 2f68592ff5e0 [2023-09-20T17:24:50.549Z] Removing intermediate container 2f68592ff5e0 [2023-09-20T17:24:50.549Z] ---> c3ca6ae2f435 [2023-09-20T17:24:50.549Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:24:50.549Z] ---> Running in 5234404f24ac [2023-09-20T17:24:50.549Z] Removing intermediate container 5234404f24ac [2023-09-20T17:24:50.549Z] ---> b1f5dab16202 [2023-09-20T17:24:50.549Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:24:50.810Z] ---> Running in fa8cb739598e [2023-09-20T17:24:50.810Z] Removing intermediate container fa8cb739598e [2023-09-20T17:24:50.810Z] ---> 889363a39bcf [2023-09-20T17:24:50.810Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:24:50.810Z] ---> Running in ca2ee60f657e [2023-09-20T17:24:51.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:51.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:51.326Z] OK: 268 MiB in 56 packages [2023-09-20T17:24:51.583Z] Removing intermediate container ca2ee60f657e [2023-09-20T17:24:51.583Z] ---> 49ab63f0705d [2023-09-20T17:24:51.583Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T17:24:51.583Z] ---> Running in 6ef5ff1e912e [2023-09-20T17:24:51.841Z] Removing intermediate container 6ef5ff1e912e [2023-09-20T17:24:51.841Z] ---> 3e0e989feba0 [2023-09-20T17:24:51.841Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T17:24:51.841Z] ---> e2c85da6f52b [2023-09-20T17:24:51.841Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:24:51.841Z] ---> Running in 791341dd5d45 [2023-09-20T17:24:53.218Z] Removing intermediate container 791341dd5d45 [2023-09-20T17:24:53.218Z] ---> d52612e881b3 [2023-09-20T17:24:53.218Z] Step 11/25 : COPY . . [2023-09-20T17:24:53.783Z] ---> f5f3e10a5dbc [2023-09-20T17:24:53.783Z] Step 12/25 : RUN $MAKE [2023-09-20T17:24:54.041Z] ---> Running in f268440bc3ea [2023-09-20T17:24:54.301Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T17:25:16.246Z] Removing intermediate container f268440bc3ea [2023-09-20T17:25:16.246Z] ---> bfb5ec1f1944 [2023-09-20T17:25:16.246Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T17:25:16.246Z] 3.18: Pulling from library/alpine [2023-09-20T17:25:16.246Z] 7264a8db6415: Already exists [2023-09-20T17:25:16.246Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:25:16.246Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:25:16.246Z] ---> 7e01a0d0a1dc [2023-09-20T17:25:16.246Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:25:16.246Z] ---> Running in 37fd411d41c4 [2023-09-20T17:25:16.246Z] Removing intermediate container 37fd411d41c4 [2023-09-20T17:25:16.246Z] ---> 986f6134e707 [2023-09-20T17:25:16.246Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T17:25:16.246Z] ---> Running in a6128577071b [2023-09-20T17:25:16.246Z] Removing intermediate container a6128577071b [2023-09-20T17:25:16.246Z] ---> 45db362fee55 [2023-09-20T17:25:16.246Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:25:16.246Z] ---> Running in 25f62c2ae6f2 [2023-09-20T17:25:16.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:25:16.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:25:16.246Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:25:16.246Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:25:16.246Z] OK: 7 MiB in 16 packages [2023-09-20T17:25:16.246Z] Removing intermediate container 25f62c2ae6f2 [2023-09-20T17:25:16.246Z] ---> 3fa480d34829 [2023-09-20T17:25:16.246Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T17:25:17.633Z] ---> a240d8e27e4a [2023-09-20T17:25:17.633Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T17:25:18.202Z] ---> be288b16e89e [2023-09-20T17:25:18.202Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T17:25:18.461Z] ---> 8ec01f801399 [2023-09-20T17:25:18.461Z] Step 20/25 : EXPOSE 59986 [2023-09-20T17:25:18.461Z] ---> Running in 77445da6bd91 [2023-09-20T17:25:18.461Z] Removing intermediate container 77445da6bd91 [2023-09-20T17:25:18.461Z] ---> b26ad5efa6ef [2023-09-20T17:25:18.461Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T17:25:18.461Z] ---> Running in 269cb7250887 [2023-09-20T17:25:18.461Z] Removing intermediate container 269cb7250887 [2023-09-20T17:25:18.461Z] ---> 2b0b77793378 [2023-09-20T17:25:18.461Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T17:25:18.461Z] ---> Running in 5a5575e5b888 [2023-09-20T17:25:18.719Z] Removing intermediate container 5a5575e5b888 [2023-09-20T17:25:18.719Z] ---> 3e2eae827e5e [2023-09-20T17:25:18.719Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T17:25:18.719Z] ---> Running in 890a3fdb7856 [2023-09-20T17:25:18.719Z] Removing intermediate container 890a3fdb7856 [2023-09-20T17:25:18.719Z] ---> df59432a88ee [2023-09-20T17:25:18.719Z] Step 24/25 : LABEL git_sha=4617776163951c6dac5c14d5cbb20ddb9bf695df [2023-09-20T17:25:18.719Z] ---> Running in cc5d566f1b56 [2023-09-20T17:25:18.719Z] Removing intermediate container cc5d566f1b56 [2023-09-20T17:25:18.719Z] ---> 69d2fb85802b [2023-09-20T17:25:18.719Z] Step 25/25 : LABEL version=0.0.0 [2023-09-20T17:25:18.719Z] ---> Running in 89a42f98a05a [2023-09-20T17:25:18.978Z] Removing intermediate container 89a42f98a05a [2023-09-20T17:25:18.978Z] ---> a24bc9985394 [2023-09-20T17:25:18.978Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:25:18.978Z] Successfully built a24bc9985394 [2023-09-20T17:25:18.978Z] 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-09-20T17:25:19.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:25:19.807Z] [2023-09-20T17:25:19.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:25:20.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:25:20.175Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:25:20.175Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:25:20.175Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:25:20.175Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:25:20.175Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:25:20.175Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:25:20.175Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:25:20.175Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:25:20.175Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:25:20.175Z] 33b1e0a273af: Waiting [2023-09-20T17:25:20.175Z] 5d3b04190fa2: Waiting [2023-09-20T17:25:20.175Z] 2f39f015ded8: Waiting [2023-09-20T17:25:20.175Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T17:25:20.175Z] 5c69ac0246d0: Download complete [2023-09-20T17:25:20.175Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:25:20.434Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:25:20.434Z] 33b1e0a273af: Download complete [2023-09-20T17:25:20.434Z] 5d3b04190fa2: Download complete [2023-09-20T17:25:20.434Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:25:20.434Z] ec43610c2a17: Download complete [2023-09-20T17:25:20.434Z] 5eb5b503b376: Verifying Checksum [2023-09-20T17:25:20.434Z] 5eb5b503b376: Download complete [2023-09-20T17:25:21.389Z] 2f39f015ded8: Download complete [2023-09-20T17:25:21.959Z] 5eb5b503b376: Pull complete [2023-09-20T17:25:22.563Z] 5c69ac0246d0: Pull complete [2023-09-20T17:25:23.497Z] ec43610c2a17: Pull complete [2023-09-20T17:25:23.497Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:25:23.756Z] 33b1e0a273af: Pull complete [2023-09-20T17:25:23.756Z] 5d3b04190fa2: Pull complete [2023-09-20T17:25:27.941Z] 2f39f015ded8: Pull complete [2023-09-20T17:25:27.941Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:25:27.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:25:27.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:25:28.162Z] prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container [2023-09-20T17:25:28.198Z] $ 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-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:25:33.544Z] $ docker top fe5b634d1100dade469156f5a748121f9f2a5d58cbe220eaa0fe4d05384fa6b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:25:33.989Z] ---> job-cost.sh [2023-09-20T17:25:33.989Z] lf-activate-venv: SKIPPING [2023-09-20T17:25:33.989Z] INFO: No Stack... [2023-09-20T17:25:34.249Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:25:34.507Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:25:34.822Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-343/archives/cost.csv [2023-09-20T17:25:34.822Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:25:34.866Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [2023-09-20T17:25:34.870Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] did not exist. Created. [2023-09-20T17:25:34.870Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:25:35.248Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:25:35.298Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:25:35.334Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:25:35.432Z] $ docker stop --time=1 fe5b634d1100dade469156f5a748121f9f2a5d58cbe220eaa0fe4d05384fa6b5 [2023-09-20T17:25:36.606Z] $ docker rm -f --volumes fe5b634d1100dade469156f5a748121f9f2a5d58cbe220eaa0fe4d05384fa6b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:26:30.535Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6748 in /w/workspace/gexfoundry_device-rest-go_PR-343 [Pipeline] { [Pipeline] ws [2023-09-20T17:26:30.596Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-20T17:26:30.693Z] The recommended git tool is: git [2023-09-20T17:26:41.289Z] using credential edgex-jenkins-ssh [2023-09-20T17:26:41.310Z] Cloning the remote Git repository [2023-09-20T17:26:41.383Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T17:26:41.543Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-20T17:26:41.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T17:26:41.882Z] > git --version # timeout=10 [2023-09-20T17:26:41.935Z] > git --version # 'git version 2.25.1' [2023-09-20T17:26:41.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:26:42.219Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:26:44.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-20T17:26:44.809Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:26:47.319Z] Merging remotes/origin/main commit 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 4617776163951c6dac5c14d5cbb20ddb9bf695df [2023-09-20T17:26:46.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-20T17:26:46.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T17:26:46.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:26:46.556Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T17:26:47.343Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:26:47.519Z] > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # timeout=10 [2023-09-20T17:26:47.729Z] > git remote # timeout=10 [2023-09-20T17:26:47.765Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T17:26:47.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:26:47.815Z] > git merge 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 [2023-09-20T17:26:47.863Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T17:26:47.915Z] Merge succeeded, producing 4617776163951c6dac5c14d5cbb20ddb9bf695df [2023-09-20T17:26:47.915Z] Checking out Revision 4617776163951c6dac5c14d5cbb20ddb9bf695df (PR-343) [2023-09-20T17:26:47.921Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:26:47.940Z] > git checkout -f 4617776163951c6dac5c14d5cbb20ddb9bf695df # timeout=10 [2023-09-20T17:26:51.887Z] Commit message: "ci: add automated release workflow on tag creation" [2023-09-20T17:26:52.006Z] > git --version # timeout=10 [2023-09-20T17:26:52.047Z] > git --version # 'git version 2.25.1' [2023-09-20T17:26:52.133Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:26:53.413Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:26:53.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:26:53.413Z] Dload Upload Total Spent Left Speed [2023-09-20T17:26:53.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 118k 0 --:--:-- --:--:-- --:--:-- 119k [Pipeline] sh [2023-09-20T17:26:54.655Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:26:55.156Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:26:55.156Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:26:55.463Z] { [2023-09-20T17:26:55.463Z] "registry-mirrors": [ [2023-09-20T17:26:55.463Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:26:55.463Z] ], [2023-09-20T17:26:55.463Z] "bip": "10.250.0.254/24", [2023-09-20T17:26:55.463Z] "hosts": [ [2023-09-20T17:26:55.463Z] "tcp://0.0.0.0:5555", [2023-09-20T17:26:55.463Z] "unix:///var/run/docker.sock" [2023-09-20T17:26:55.463Z] ], [2023-09-20T17:26:55.463Z] "mtu": 1458, [2023-09-20T17:26:55.463Z] "selinux-enabled": true, [2023-09-20T17:26:55.463Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:26:55.463Z] } [Pipeline] sh [2023-09-20T17:26:55.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:26:56.352Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:27:14.905Z] provisioning config files... [2023-09-20T17:27:14.942Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5477576988583231424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:27:15.380Z] ---> docker-login.sh [2023-09-20T17:27:15.380Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:27:15.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:16.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:16.256Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:16.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:16.256Z] [2023-09-20T17:27:16.256Z] Login Succeeded [2023-09-20T17:27:16.256Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:27:16.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:16.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:16.808Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:16.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:16.808Z] [2023-09-20T17:27:16.808Z] Login Succeeded [2023-09-20T17:27:16.808Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:27:17.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:17.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:17.083Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:17.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:17.083Z] [2023-09-20T17:27:17.083Z] Login Succeeded [2023-09-20T17:27:17.083Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:27:17.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:17.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:17.632Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:17.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:17.632Z] [2023-09-20T17:27:17.632Z] Login Succeeded [2023-09-20T17:27:17.632Z] docker.io [2023-09-20T17:27:17.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:18.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:18.183Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:18.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:18.183Z] [2023-09-20T17:27:18.183Z] Login Succeeded [2023-09-20T17:27:18.183Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:27:18.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:27:18.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:27:18.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:27:18.826Z] ========================================================= [2023-09-20T17:27:18.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:27:18.826Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:27:19.344Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:27:19.344Z] Sending build context to Docker daemon 144.4kB [2023-09-20T17:27:19.626Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:27:19.626Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:27:19.903Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:27:19.903Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:27:19.903Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:27:19.903Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:27:19.903Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:27:19.903Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:27:19.903Z] 17808c966233: Pulling fs layer [2023-09-20T17:27:19.903Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:27:19.903Z] cefa15bbcfad: Waiting [2023-09-20T17:27:19.903Z] 17808c966233: Waiting [2023-09-20T17:27:19.903Z] f4c1fc716caa: Waiting [2023-09-20T17:27:19.903Z] f0e02332f6b5: Waiting [2023-09-20T17:27:19.903Z] 5d54e960e981: Verifying Checksum [2023-09-20T17:27:19.903Z] 5d54e960e981: Download complete [2023-09-20T17:27:19.903Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:27:19.903Z] f0e02332f6b5: Download complete [2023-09-20T17:27:19.903Z] cefa15bbcfad: Download complete [2023-09-20T17:27:19.903Z] 9fda8d8052c6: Download complete [2023-09-20T17:27:20.508Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:27:20.508Z] f4c1fc716caa: Download complete [2023-09-20T17:27:21.132Z] 9fda8d8052c6: Pull complete [2023-09-20T17:27:21.727Z] 5d54e960e981: Pull complete [2023-09-20T17:27:22.000Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T17:27:22.000Z] c4a7e357bf2a: Download complete [2023-09-20T17:27:22.982Z] 17808c966233: Verifying Checksum [2023-09-20T17:27:22.982Z] 17808c966233: Download complete [2023-09-20T17:27:33.138Z] c4a7e357bf2a: Pull complete [2023-09-20T17:27:33.409Z] f0e02332f6b5: Pull complete [2023-09-20T17:27:33.686Z] cefa15bbcfad: Pull complete [2023-09-20T17:27:40.467Z] 17808c966233: Pull complete [2023-09-20T17:27:41.438Z] f4c1fc716caa: Pull complete [2023-09-20T17:27:41.712Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:27:41.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:27:41.712Z] ---> ea914061e18c [2023-09-20T17:27:41.712Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:27:44.324Z] ---> Running in 8ebd60d4dea7 [2023-09-20T17:27:44.324Z] Removing intermediate container 8ebd60d4dea7 [2023-09-20T17:27:44.324Z] ---> 6dba17f26bbb [2023-09-20T17:27:44.324Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:27:44.324Z] ---> Running in 3c95d2abee2f [2023-09-20T17:27:44.594Z] Removing intermediate container 3c95d2abee2f [2023-09-20T17:27:44.594Z] ---> 4ac329083af8 [2023-09-20T17:27:44.594Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:27:44.594Z] ---> Running in 39d5855028fa [2023-09-20T17:27:45.196Z] Removing intermediate container 39d5855028fa [2023-09-20T17:27:45.196Z] ---> 32996485d65c [2023-09-20T17:27:45.196Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:27:45.196Z] ---> Running in 2ef994fdebcf [2023-09-20T17:27:45.478Z] Removing intermediate container 2ef994fdebcf [2023-09-20T17:27:45.478Z] ---> f87afddd98b4 [2023-09-20T17:27:45.478Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:27:45.478Z] ---> Running in 9ffd93b355ea [2023-09-20T17:27:46.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:27:47.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:27:48.609Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:27:48.609Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:27:48.881Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:27:48.881Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:27:48.881Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:27:48.881Z] OK: 270 MiB in 56 packages [2023-09-20T17:27:50.313Z] Removing intermediate container 9ffd93b355ea [2023-09-20T17:27:50.313Z] ---> 338436992dd0 [2023-09-20T17:27:50.313Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T17:27:50.313Z] ---> Running in b073d1949dff [2023-09-20T17:27:50.588Z] Removing intermediate container b073d1949dff [2023-09-20T17:27:50.588Z] ---> 1b589e756ed2 [2023-09-20T17:27:50.588Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:27:51.179Z] ---> 1e34102b9414 [2023-09-20T17:27:51.179Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:27:51.465Z] ---> Running in 706843f160fb [2023-09-20T17:29:13.200Z] Removing intermediate container 706843f160fb [2023-09-20T17:29:13.200Z] ---> 8c15bd182d85 [2023-09-20T17:29:13.200Z] Step 11/12 : COPY . . [2023-09-20T17:29:13.200Z] ---> c411a844d56f [2023-09-20T17:29:13.200Z] Step 12/12 : RUN $MAKE [2023-09-20T17:29:13.200Z] ---> Running in 93156a68a9a0 [2023-09-20T17:29:13.200Z] noop [2023-09-20T17:29:13.200Z] Removing intermediate container 93156a68a9a0 [2023-09-20T17:29:13.200Z] ---> 14c5d0dae10b [2023-09-20T17:29:13.200Z] Successfully built 14c5d0dae10b [2023-09-20T17:29:13.200Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:29:13.796Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:29:13.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:29:14.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-6748 does not seem to be running inside a container [2023-09-20T17:29:14.216Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:29:15.622Z] $ docker top 3946f6a663d53cca7607ce91576cfa61e001f07131390cef2be2c3cb20658801 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:29:16.579Z] + go version [2023-09-20T17:29:16.579Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:29:16.610Z] $ docker stop --time=1 3946f6a663d53cca7607ce91576cfa61e001f07131390cef2be2c3cb20658801 [2023-09-20T17:29:18.335Z] $ docker rm -f --volumes 3946f6a663d53cca7607ce91576cfa61e001f07131390cef2be2c3cb20658801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:29:19.269Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:29:19.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:29:19.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-6748 does not seem to be running inside a container [2023-09-20T17:29:19.662Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:29:21.040Z] $ docker top 6970a21a9f6b11f8bf52ddc55205880bc241b54d5c9ec449a2211291d11e4bef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:29:21.972Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:29:22.702Z] + make test [2023-09-20T17:29:22.702Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:29:28.101Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T17:31:49.930Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T17:31:49.930Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements [2023-09-20T17:31:49.930Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:31:49.930Z] go vet ./... [2023-09-20T17:32:13.720Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:32:13.720Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:32:13.720Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:32:13.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:32:13.782Z] $ docker stop --time=1 6970a21a9f6b11f8bf52ddc55205880bc241b54d5c9ec449a2211291d11e4bef [2023-09-20T17:32:15.848Z] $ docker rm -f --volumes 6970a21a9f6b11f8bf52ddc55205880bc241b54d5c9ec449a2211291d11e4bef [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:32:17.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:32:17.364Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:32:18.058Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:32:18.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:32:19.027Z] + ls -al . [2023-09-20T17:32:19.027Z] total 184 [2023-09-20T17:32:19.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:29 . [2023-09-20T17:32:19.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 .. [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 17:26 .dockerignore [2023-09-20T17:32:19.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:26 .git [2023-09-20T17:32:19.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 .github [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:26 .gitignore [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:26 .golangci.yml [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 17:26 Attribution.txt [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 17:26 CHANGELOG.md [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 17:26 Dockerfile [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:26 GOVERNANCE.md [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 17:26 Jenkinsfile [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:26 LICENSE [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 17:26 Makefile [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:26 OWNERS.md [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 17:26 README.md [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION [2023-09-20T17:32:19.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 bin [2023-09-20T17:32:19.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 cmd [2023-09-20T17:32:19.027Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 17:31 coverage.out [2023-09-20T17:32:19.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 driver [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 17:26 go.mod [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:26 go.sum [2023-09-20T17:32:19.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 snap [2023-09-20T17:32:19.027Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:32:19.460Z] + 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=4617776163951c6dac5c14d5cbb20ddb9bf695df --label arch=arm64 --label version=0.0.0 . [2023-09-20T17:32:19.460Z] Sending build context to Docker daemon 159.7kB [2023-09-20T17:32:19.730Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:32:19.730Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T17:32:19.730Z] ---> 14c5d0dae10b [2023-09-20T17:32:19.730Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:32:19.998Z] ---> Running in dadb696f7153 [2023-09-20T17:32:20.269Z] Removing intermediate container dadb696f7153 [2023-09-20T17:32:20.269Z] ---> dbf6cbcecfd5 [2023-09-20T17:32:20.269Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:32:20.540Z] ---> Running in a37487ba9347 [2023-09-20T17:32:20.810Z] Removing intermediate container a37487ba9347 [2023-09-20T17:32:20.810Z] ---> 704a520fdd88 [2023-09-20T17:32:20.810Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:32:20.810Z] ---> Running in 24e88076321d [2023-09-20T17:32:21.410Z] Removing intermediate container 24e88076321d [2023-09-20T17:32:21.410Z] ---> 36f06fc2fd42 [2023-09-20T17:32:21.410Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:32:21.410Z] ---> Running in 0abe09435d99 [2023-09-20T17:32:21.691Z] Removing intermediate container 0abe09435d99 [2023-09-20T17:32:21.692Z] ---> d81cc0ccb75e [2023-09-20T17:32:21.692Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:32:21.962Z] ---> Running in d97b53b9653a [2023-09-20T17:32:22.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:32:23.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:32:24.943Z] OK: 270 MiB in 56 packages [2023-09-20T17:32:25.917Z] Removing intermediate container d97b53b9653a [2023-09-20T17:32:25.917Z] ---> c9ae6023ee1b [2023-09-20T17:32:25.917Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T17:32:25.917Z] ---> Running in 308a729ccb27 [2023-09-20T17:32:26.509Z] Removing intermediate container 308a729ccb27 [2023-09-20T17:32:26.509Z] ---> a6caf3e7b51a [2023-09-20T17:32:26.509Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T17:32:27.098Z] ---> a9cfc9cf4c9e [2023-09-20T17:32:27.098Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:32:27.098Z] ---> Running in 4ef1888ca494 [2023-09-20T17:32:29.698Z] Removing intermediate container 4ef1888ca494 [2023-09-20T17:32:29.698Z] ---> 78a9205559a1 [2023-09-20T17:32:29.698Z] Step 11/25 : COPY . . [2023-09-20T17:32:30.291Z] ---> 8fe9afccb356 [2023-09-20T17:32:30.291Z] Step 12/25 : RUN $MAKE [2023-09-20T17:32:30.291Z] ---> Running in 8a33134d9e2d [2023-09-20T17:32:31.722Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T17:34:53.750Z] Removing intermediate container 8a33134d9e2d [2023-09-20T17:34:53.750Z] ---> fde79dd0e682 [2023-09-20T17:34:53.750Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T17:34:53.750Z] 3.18: Pulling from library/alpine [2023-09-20T17:34:53.750Z] 9fda8d8052c6: Already exists [2023-09-20T17:34:53.750Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:34:53.750Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:34:53.750Z] ---> f6648c04cd6c [2023-09-20T17:34:53.750Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:34:53.750Z] ---> Running in 677e8cf475a7 [2023-09-20T17:34:53.750Z] Removing intermediate container 677e8cf475a7 [2023-09-20T17:34:53.750Z] ---> 4878a9769f7e [2023-09-20T17:34:53.750Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T17:34:53.750Z] ---> Running in 85e788b8ee34 [2023-09-20T17:34:53.750Z] Removing intermediate container 85e788b8ee34 [2023-09-20T17:34:53.750Z] ---> f2fb5cc63232 [2023-09-20T17:34:53.750Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:34:53.750Z] ---> Running in 213df88b991c [2023-09-20T17:34:53.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:34:53.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:34:54.345Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:34:54.345Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:34:54.345Z] OK: 8 MiB in 16 packages [2023-09-20T17:34:55.789Z] Removing intermediate container 213df88b991c [2023-09-20T17:34:55.789Z] ---> 8d8986859ce0 [2023-09-20T17:34:55.789Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T17:34:57.239Z] ---> ccf71969c1e0 [2023-09-20T17:34:57.239Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T17:34:57.511Z] ---> 8907bcad8674 [2023-09-20T17:34:57.511Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T17:34:58.489Z] ---> c420efd21e67 [2023-09-20T17:34:58.489Z] Step 20/25 : EXPOSE 59986 [2023-09-20T17:34:58.489Z] ---> Running in d5487bec0de6 [2023-09-20T17:34:58.761Z] Removing intermediate container d5487bec0de6 [2023-09-20T17:34:58.761Z] ---> 055c4349d520 [2023-09-20T17:34:58.761Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T17:34:58.761Z] ---> Running in 70ab09cf512b [2023-09-20T17:34:59.031Z] Removing intermediate container 70ab09cf512b [2023-09-20T17:34:59.031Z] ---> c65a8a0f69f5 [2023-09-20T17:34:59.031Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T17:34:59.031Z] ---> Running in c37b06ea1843 [2023-09-20T17:34:59.630Z] Removing intermediate container c37b06ea1843 [2023-09-20T17:34:59.630Z] ---> c7caf32c796f [2023-09-20T17:34:59.630Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T17:34:59.630Z] ---> Running in b538a53c57f4 [2023-09-20T17:34:59.916Z] Removing intermediate container b538a53c57f4 [2023-09-20T17:34:59.916Z] ---> 99192e09fe48 [2023-09-20T17:34:59.916Z] Step 24/25 : LABEL git_sha=4617776163951c6dac5c14d5cbb20ddb9bf695df [2023-09-20T17:34:59.916Z] ---> Running in 90e68f9f4dd0 [2023-09-20T17:35:00.198Z] Removing intermediate container 90e68f9f4dd0 [2023-09-20T17:35:00.198Z] ---> e6a3da2ab6dd [2023-09-20T17:35:00.198Z] Step 25/25 : LABEL version=0.0.0 [2023-09-20T17:35:00.475Z] ---> Running in 0bedb0fa6e15 [2023-09-20T17:35:00.748Z] Removing intermediate container 0bedb0fa6e15 [2023-09-20T17:35:00.748Z] ---> ffbb72e5d790 [2023-09-20T17:35:00.748Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:35:00.748Z] Successfully built ffbb72e5d790 [2023-09-20T17:35:00.748Z] 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-09-20T17:35:01.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:35:01.557Z] [2023-09-20T17:35:01.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:35:01.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:35:02.254Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:35:02.254Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:35:02.254Z] 04944245beec: Pulling fs layer [2023-09-20T17:35:02.254Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:35:02.254Z] 765212b225bb: Pulling fs layer [2023-09-20T17:35:02.254Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:35:02.254Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:35:02.254Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:35:02.254Z] 765212b225bb: Waiting [2023-09-20T17:35:02.254Z] f23df028b6ca: Waiting [2023-09-20T17:35:02.254Z] d65c8cfc05b1: Waiting [2023-09-20T17:35:02.254Z] 2437ff75d9bd: Waiting [2023-09-20T17:35:02.254Z] 04944245beec: Verifying Checksum [2023-09-20T17:35:02.254Z] 04944245beec: Download complete [2023-09-20T17:35:02.254Z] 765212b225bb: Download complete [2023-09-20T17:35:02.254Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:35:02.254Z] f23df028b6ca: Download complete [2023-09-20T17:35:02.254Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:35:02.254Z] d65c8cfc05b1: Download complete [2023-09-20T17:35:02.527Z] 699f458cf7ca: Download complete [2023-09-20T17:35:02.799Z] 8998bd30e6a1: Download complete [2023-09-20T17:35:05.426Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:35:05.426Z] 2437ff75d9bd: Download complete [2023-09-20T17:35:07.397Z] 8998bd30e6a1: Pull complete [2023-09-20T17:35:07.994Z] 04944245beec: Pull complete [2023-09-20T17:35:12.278Z] 699f458cf7ca: Pull complete [2023-09-20T17:35:12.278Z] 765212b225bb: Pull complete [2023-09-20T17:35:12.871Z] f23df028b6ca: Pull complete [2023-09-20T17:35:13.142Z] d65c8cfc05b1: Pull complete [2023-09-20T17:35:28.154Z] 2437ff75d9bd: Pull complete [2023-09-20T17:35:28.154Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:35:28.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:35:28.154Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:35:28.503Z] prd-ubuntu20.04-docker-arm64-4c-16g-6748 does not seem to be running inside a container [2023-09-20T17:35:28.583Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T17:35:31.669Z] $ docker top 1f96fdc335964d37f91a13f25c327964848a6a874f4c51802c2ddb61081c2ddc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:32.610Z] ---> job-cost.sh [2023-09-20T17:35:32.610Z] lf-activate-venv: SKIPPING [2023-09-20T17:35:32.610Z] INFO: No Stack... [2023-09-20T17:35:33.198Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:35:33.842Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:35:34.518Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-09-20T17:35:34.518Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:35:34.629Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [2023-09-20T17:35:34.633Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] did not exist. Created. [2023-09-20T17:35:34.633Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:35:35.372Z] /w/workspace/device-rest-go/1@tmp/durable-d119b2f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:35:36.063Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:35:36.098Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:35:36.165Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:35:36.179Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:35:36.254Z] $ docker stop --time=1 1f96fdc335964d37f91a13f25c327964848a6a874f4c51802c2ddb61081c2ddc [2023-09-20T17:35:38.409Z] $ docker rm -f --volumes 1f96fdc335964d37f91a13f25c327964848a6a874f4c51802c2ddb61081c2ddc [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-09-20T17:35:39.380Z] provisioning config files... [2023-09-20T17:35:39.391Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config2565562538603170951tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:35:39.748Z] + set +x [2023-09-20T17:35:39.748Z] + + bash -s -- [2023-09-20T17:35:39.748Z] curl -s https://codecov.io/bash [2023-09-20T17:35:39.748Z] [2023-09-20T17:35:39.748Z] _____ _ [2023-09-20T17:35:39.748Z] / ____| | | [2023-09-20T17:35:39.748Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:35:39.748Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:35:39.748Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:35:39.748Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:35:39.748Z] Bash-1.0.6 [2023-09-20T17:35:39.748Z] [2023-09-20T17:35:39.748Z] [2023-09-20T17:35:39.748Z] ==> git version 2.25.1 found [2023-09-20T17:35:39.748Z] ==> 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-09-20T17:35:39.748Z] Release-Date: 2020-01-08 [2023-09-20T17:35:39.748Z] 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-09-20T17:35:39.748Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:35:39.748Z] ==> Jenkins CI detected. [2023-09-20T17:35:39.748Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-343 [2023-09-20T17:35:39.748Z] project root: . [2023-09-20T17:35:39.748Z] --> token set from env [2023-09-20T17:35:39.748Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:35:39.748Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:35:39.748Z] ==> Python coveragepy not found [2023-09-20T17:35:39.748Z] ==> Searching for coverage reports in: [2023-09-20T17:35:39.748Z] + . [2023-09-20T17:35:39.748Z] -> Found 1 reports [2023-09-20T17:35:39.748Z] ==> Detecting git/mercurial file structure [2023-09-20T17:35:39.748Z] ==> Reading reports [2023-09-20T17:35:39.748Z] + ./coverage.out bytes=14499 [2023-09-20T17:35:39.748Z] ==> Appending adjustments [2023-09-20T17:35:39.748Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:35:40.009Z] + Found adjustments [2023-09-20T17:35:40.009Z] ==> Gzipping contents [2023-09-20T17:35:40.009Z] 4.0K /tmp/codecov.X2iHjm.gz [2023-09-20T17:35:40.009Z] ==> Uploading reports [2023-09-20T17:35:40.009Z] url: https://codecov.io [2023-09-20T17:35:40.009Z] query: branch=PR-343&commit=4617776163951c6dac5c14d5cbb20ddb9bf695df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=343&job=&cmd_args= [2023-09-20T17:35:40.009Z] -> Pinging Codecov [2023-09-20T17:35:40.009Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-343&commit=4617776163951c6dac5c14d5cbb20ddb9bf695df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=343&job=&cmd_args= [2023-09-20T17:35:40.576Z] -> Uploading to [2023-09-20T17:35:40.576Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/4617776163951c6dac5c14d5cbb20ddb9bf695df/ad7f88d0-0af2-484a-9a17-96b785392f6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb101644c32457ba5a1bf12d35a1a878202e8ce8e18ef374a88855d97dd39851 [2023-09-20T17:35:40.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:35:40.576Z] Dload Upload Total Spent Left Speed [2023-09-20T17:35:40.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13475 --:--:-- --:--:-- --:--:-- 13548 [2023-09-20T17:35:40.836Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4617776163951c6dac5c14d5cbb20ddb9bf695df [Pipeline] } [2023-09-20T17:35:40.866Z] 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-09-20T17:35:42.632Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-343/archives ] [2023-09-20T17:35:42.632Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-343/archives [2023-09-20T17:35:42.632Z] total 16 [2023-09-20T17:35:42.632Z] drwxr-xr-x 3 root root 4096 Sep 20 17:25 . [2023-09-20T17:35:42.632Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:25 .. [2023-09-20T17:35:42.632Z] drwxr-xr-x 2 root root 4096 Sep 20 17:25 cost [2023-09-20T17:35:42.632Z] -rw-r--r-- 1 root root 86 Sep 20 17:25 cost.csv [2023-09-20T17:35:42.632Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-343/archives [2023-09-20T17:35:42.632Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-343/archives [2023-09-20T17:35:42.632Z] total 16 [2023-09-20T17:35:42.632Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:25 . [2023-09-20T17:35:42.632Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:25 .. [2023-09-20T17:35:42.632Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:25 cost [2023-09-20T17:35:42.632Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:42.965Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:43.854Z] ---> package-listing.sh [2023-09-20T17:35:43.855Z] ++ facter osfamily [2023-09-20T17:35:43.855Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:35:44.114Z] + OS_FAMILY=debian [2023-09-20T17:35:44.114Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-343 [2023-09-20T17:35:44.114Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:35:44.114Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:35:44.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:35:44.114Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:35:44.114Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-343 ']' [2023-09-20T17:35:44.114Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:35:44.114Z] + case "${OS_FAMILY}" in [2023-09-20T17:35:44.114Z] + dpkg -l [2023-09-20T17:35:44.114Z] + grep '^ii' [2023-09-20T17:35:44.114Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:35:44.114Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:35:44.114Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:35:44.114Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-343 ']' [2023-09-20T17:35:44.114Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-343/archives/ [2023-09-20T17:35:44.114Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-343/archives/ [Pipeline] echo [2023-09-20T17:35:44.149Z] 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-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T17:35:44.438Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:35:45.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:35:45.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:35:45.225Z] prd-ubuntu20.04-docker-8c-8g-6736 does not seem to be running inside a container [2023-09-20T17:35:45.253Z] $ 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-343/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-343 -v /w/workspace/gexfoundry_device-rest-go_PR-343:/w/workspace/gexfoundry_device-rest-go_PR-343:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-343@tmp:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:35:45.421Z] $ docker top fd5f92848afa8a2941a7167641ca54ac2a3687277c3dfcdadeec2e3a0d4b2520 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:35:45.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:35:46.110Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:35:46.420Z] + ls /var/log/sa-host [2023-09-20T17:35:46.420Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:35:46.564Z] provisioning config files... [2023-09-20T17:35:46.573Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-343@tmp/config6013575906894048970tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:35:46.623Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:46.930Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:35:46.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:47.356Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:35:47.397Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:47.792Z] ---> sudo-logs.sh [2023-09-20T17:35:47.792Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:35:47.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:48.198Z] ---> job-cost.sh [2023-09-20T17:35:48.198Z] lf-activate-venv: SKIPPING [2023-09-20T17:35:48.198Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:35:48.198Z] INFO: Retrieving Stack Cost... [2023-09-20T17:35:48.458Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:35:49.025Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:35:49.057Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:49.363Z] ---> logs-deploy.sh [2023-09-20T17:35:49.363Z] lf-activate-venv: SKIPPING [2023-09-20T17:35:49.363Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-343/1 [2023-09-20T17:35:49.363Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:35:50.298Z] Archives upload complete. [2023-09-20T17:35:50.298Z] INFO: archiving logs to Nexus [2023-09-20T17:35:50.866Z] ---> uname -a: [2023-09-20T17:35:50.866Z] Linux prd-ubuntu20-04-docker-8c-8g-6736 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z] ---> lscpu: [2023-09-20T17:35:50.866Z] Architecture: x86_64 [2023-09-20T17:35:50.866Z] CPU op-mode(s): 32-bit, 64-bit [2023-09-20T17:35:50.866Z] Byte Order: Little Endian [2023-09-20T17:35:50.866Z] Address sizes: 40 bits physical, 48 bits virtual [2023-09-20T17:35:50.866Z] CPU(s): 8 [2023-09-20T17:35:50.866Z] On-line CPU(s) list: 0-7 [2023-09-20T17:35:50.866Z] Thread(s) per core: 1 [2023-09-20T17:35:50.866Z] Core(s) per socket: 1 [2023-09-20T17:35:50.866Z] Socket(s): 8 [2023-09-20T17:35:50.866Z] NUMA node(s): 1 [2023-09-20T17:35:50.866Z] Vendor ID: AuthenticAMD [2023-09-20T17:35:50.866Z] CPU family: 23 [2023-09-20T17:35:50.866Z] Model: 49 [2023-09-20T17:35:50.866Z] Model name: AMD EPYC-Rome Processor [2023-09-20T17:35:50.866Z] Stepping: 0 [2023-09-20T17:35:50.866Z] CPU MHz: 2799.998 [2023-09-20T17:35:50.866Z] BogoMIPS: 5599.99 [2023-09-20T17:35:50.866Z] Virtualization: AMD-V [2023-09-20T17:35:50.866Z] Hypervisor vendor: KVM [2023-09-20T17:35:50.866Z] Virtualization type: full [2023-09-20T17:35:50.866Z] L1d cache: 256 KiB [2023-09-20T17:35:50.866Z] L1i cache: 256 KiB [2023-09-20T17:35:50.866Z] L2 cache: 4 MiB [2023-09-20T17:35:50.866Z] L3 cache: 128 MiB [2023-09-20T17:35:50.866Z] NUMA node0 CPU(s): 0-7 [2023-09-20T17:35:50.866Z] Vulnerability Itlb multihit: Not affected [2023-09-20T17:35:50.866Z] Vulnerability L1tf: Not affected [2023-09-20T17:35:50.866Z] Vulnerability Mds: Not affected [2023-09-20T17:35:50.866Z] Vulnerability Meltdown: Not affected [2023-09-20T17:35:50.866Z] Vulnerability Mmio stale data: Not affected [2023-09-20T17:35:50.866Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-09-20T17:35:50.866Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-09-20T17:35:50.866Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-09-20T17:35:50.866Z] Vulnerability Srbds: Not affected [2023-09-20T17:35:50.866Z] Vulnerability Tsx async abort: Not affected [2023-09-20T17:35:50.866Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z] ---> nproc: [2023-09-20T17:35:50.866Z] 8 [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z] ---> df -h: [2023-09-20T17:35:50.866Z] Filesystem Size Used Avail Use% Mounted on [2023-09-20T17:35:50.866Z] overlay 155G 12G 144G 8% / [2023-09-20T17:35:50.866Z] tmpfs 64M 0 64M 0% /dev [2023-09-20T17:35:50.866Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-09-20T17:35:50.866Z] shm 64M 0 64M 0% /dev/shm [2023-09-20T17:35:50.866Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-09-20T17:35:50.866Z] [2023-09-20T17:35:50.866Z]