Pull request #281 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 vli11 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 539913158ea56f8dca24ab775bb8172a7292d425 rather than b8e531124201590e1543ca9edaea1c885f687146 Obtained Jenkinsfile from 539913158ea56f8dca24ab775bb8172a7292d425 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-ssh15519223150873444353.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4486109220327867916.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10862363149747337125.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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13070521290300284383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1157012987485287230.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-281/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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17727536127283517669.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5630 in /w/workspace/gexfoundry_device-rest-go_PR-281 [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-281 # 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 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit b8e531124201590e1543ca9edaea1c885f687146 Merge succeeded, producing b8e531124201590e1543ca9edaea1c885f687146 Checking out Revision b8e531124201590e1543ca9edaea1c885f687146 (PR-281) > 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8e531124201590e1543ca9edaea1c885f687146 # 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 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8e531124201590e1543ca9edaea1c885f687146 # timeout=10 Commit message: "refactor!: Changed configuration and simple-devices files format to YAML" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T00:29:44.827Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T00:29:44.996Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T00:29:45.091Z] ========================================================= [2023-03-24T00:29:45.091Z] EdgeX Global Pipelines Version Info [2023-03-24T00:29:45.091Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:29:45.861Z] ------------------- [2023-03-24T00:29:45.861Z] stable info: [2023-03-24T00:29:45.861Z] ------------------- [2023-03-24T00:29:45.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T00:29:45.861Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T00:29:45.861Z] Message: update stable to v1.0.245 [2023-03-24T00:29:46.458Z] ------------------- [2023-03-24T00:29:46.458Z] experimental info: [2023-03-24T00:29:46.458Z] ------------------- [2023-03-24T00:29:46.458Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T00:29:46.458Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T00:29:46.458Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T00:29:46.893Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-24T00:29:46.942Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-24T00:29:46.983Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T00:29:47.021Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T00:29:47.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T00:29:47.104Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T00:29:47.146Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T00:29:47.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-24T00:29:47.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T00:29:47.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T00:29:47.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T00:29:47.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-24T00:29:47.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T00:29:47.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T00:29:47.459Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T00:29:47.495Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T00:29:47.531Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T00:29:47.568Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T00:29:47.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T00:29:47.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T00:29:47.744Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-24T00:29:47.818Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-24T00:29:47.861Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T00:29:47.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T00:29:48.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T00:29:48.146Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T00:29:48.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T00:29:48.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2023-03-24T00:29:48.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2023-03-24T00:29:48.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2023-03-24T00:29:48.346Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8e531124201590e1543ca9edaea1c885f687146 [Pipeline] echo [2023-03-24T00:29:48.384Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8e5311 [Pipeline] echo [2023-03-24T00:29:48.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T00:29:48.537Z] provisioning config files... [2023-03-24T00:29:48.550Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config10230453367862498871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:29:48.909Z] ---> docker-login.sh [2023-03-24T00:29:48.909Z] nexus3.edgexfoundry.org:10001 [2023-03-24T00:29:49.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:29:50.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:29:50.111Z] Configure a credential helper to remove this warning. See [2023-03-24T00:29:50.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:29:50.111Z] [2023-03-24T00:29:50.111Z] Login Succeeded [2023-03-24T00:29:50.111Z] nexus3.edgexfoundry.org:10002 [2023-03-24T00:29:50.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:29:50.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:29:50.373Z] Configure a credential helper to remove this warning. See [2023-03-24T00:29:50.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:29:50.373Z] [2023-03-24T00:29:50.373Z] Login Succeeded [2023-03-24T00:29:50.373Z] nexus3.edgexfoundry.org:10003 [2023-03-24T00:29:50.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:29:50.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:29:50.373Z] Configure a credential helper to remove this warning. See [2023-03-24T00:29:50.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:29:50.373Z] [2023-03-24T00:29:50.373Z] Login Succeeded [2023-03-24T00:29:50.373Z] nexus3.edgexfoundry.org:10004 [2023-03-24T00:29:50.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:29:50.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:29:50.640Z] Configure a credential helper to remove this warning. See [2023-03-24T00:29:50.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:29:50.640Z] [2023-03-24T00:29:50.640Z] Login Succeeded [2023-03-24T00:29:50.640Z] docker.io [2023-03-24T00:29:50.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:29:50.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:29:50.902Z] Configure a credential helper to remove this warning. See [2023-03-24T00:29:50.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:29:50.902Z] [2023-03-24T00:29:50.902Z] Login Succeeded [2023-03-24T00:29:50.902Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T00:29:50.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T00:29:51.545Z] + git rev-list -1 --merges b8e531124201590e1543ca9edaea1c885f687146~1..b8e531124201590e1543ca9edaea1c885f687146 [Pipeline] echo [2023-03-24T00:29:51.627Z] -----------> git rev-list -1 --merges b8e531124201590e1543ca9edaea1c885f687146~1..b8e531124201590e1543ca9edaea1c885f687146 b8e531124201590e1543ca9edaea1c885f687146 [false] [Pipeline] sh [2023-03-24T00:29:51.944Z] + git log --format=format:%s -1 b8e531124201590e1543ca9edaea1c885f687146 [Pipeline] echo [2023-03-24T00:29:51.979Z] ========================================================= [2023-03-24T00:29:51.979Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T00:29:51.979Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T00:29:52.395Z] + git log --format=format:%s -1 b8e531124201590e1543ca9edaea1c885f687146 [Pipeline] echo [2023-03-24T00:29:52.424Z] [semverPrep] GIT_COMMIT: b8e531124201590e1543ca9edaea1c885f687146, Commit Message: refactor!: Changed configuration and simple-devices files format to YAML [Pipeline] echo [2023-03-24T00:29:52.451Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T00:29:52.918Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T00:29:52.918Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T00:29:52.918Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T00:29:52.918Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T00:29:52.918Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T00:29:52.918Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T00:29:52.918Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:29:53.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T00:29:53.449Z] [2023-03-24T00:29:53.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:29:53.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T00:29:53.830Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T00:29:53.830Z] b85a868b505f: Pulling fs layer [2023-03-24T00:29:53.830Z] e2be974225ed: Pulling fs layer [2023-03-24T00:29:53.830Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T00:29:53.830Z] 988bab9f4d93: Pulling fs layer [2023-03-24T00:29:53.830Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T00:29:53.830Z] eaf3925da568: Pulling fs layer [2023-03-24T00:29:53.830Z] bab4dde63d76: Pulling fs layer [2023-03-24T00:29:53.830Z] bde34c3a00c8: Pulling fs layer [2023-03-24T00:29:53.830Z] b352a97aabf1: Pulling fs layer [2023-03-24T00:29:53.830Z] 4872d77fe225: Pulling fs layer [2023-03-24T00:29:53.830Z] 5851b861e8e6: Pulling fs layer [2023-03-24T00:29:53.830Z] 1469e6f7b9e6: Waiting [2023-03-24T00:29:53.830Z] 988bab9f4d93: Waiting [2023-03-24T00:29:53.830Z] eaf3925da568: Waiting [2023-03-24T00:29:53.830Z] b352a97aabf1: Waiting [2023-03-24T00:29:53.830Z] 4872d77fe225: Waiting [2023-03-24T00:29:53.830Z] bde34c3a00c8: Waiting [2023-03-24T00:29:53.830Z] e2be974225ed: Verifying Checksum [2023-03-24T00:29:53.830Z] e2be974225ed: Download complete [2023-03-24T00:29:53.830Z] 988bab9f4d93: Download complete [2023-03-24T00:29:54.094Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T00:29:54.094Z] 339a4e72a1f5: Download complete [2023-03-24T00:29:54.094Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T00:29:54.094Z] 1469e6f7b9e6: Download complete [2023-03-24T00:29:54.094Z] eaf3925da568: Verifying Checksum [2023-03-24T00:29:54.094Z] eaf3925da568: Download complete [2023-03-24T00:29:54.094Z] bde34c3a00c8: Download complete [2023-03-24T00:29:54.094Z] b352a97aabf1: Verifying Checksum [2023-03-24T00:29:54.094Z] b352a97aabf1: Download complete [2023-03-24T00:29:54.356Z] 4872d77fe225: Verifying Checksum [2023-03-24T00:29:54.356Z] 4872d77fe225: Download complete [2023-03-24T00:29:54.356Z] 5851b861e8e6: Verifying Checksum [2023-03-24T00:29:54.356Z] 5851b861e8e6: Download complete [2023-03-24T00:29:54.356Z] b85a868b505f: Verifying Checksum [2023-03-24T00:29:54.356Z] b85a868b505f: Download complete [2023-03-24T00:29:54.617Z] bab4dde63d76: Verifying Checksum [2023-03-24T00:29:54.617Z] bab4dde63d76: Download complete [2023-03-24T00:29:56.126Z] b85a868b505f: Pull complete [2023-03-24T00:29:56.126Z] e2be974225ed: Pull complete [2023-03-24T00:29:58.036Z] 339a4e72a1f5: Pull complete [2023-03-24T00:29:58.297Z] 988bab9f4d93: Pull complete [2023-03-24T00:29:58.557Z] 1469e6f7b9e6: Pull complete [2023-03-24T00:29:58.557Z] eaf3925da568: Pull complete [2023-03-24T00:30:00.460Z] bab4dde63d76: Pull complete [2023-03-24T00:30:00.460Z] bde34c3a00c8: Pull complete [2023-03-24T00:30:00.720Z] b352a97aabf1: Pull complete [2023-03-24T00:30:00.720Z] 4872d77fe225: Pull complete [2023-03-24T00:30:00.720Z] 5851b861e8e6: Pull complete [2023-03-24T00:30:00.720Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T00:30:00.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T00:30:00.720Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:30:00.950Z] prd-ubuntu20.04-docker-8c-8g-5630 does not seem to be running inside a container [2023-03-24T00:30:00.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T00:30:22.816Z] $ docker top 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 -eo pid,comm [2023-03-24T00:30:22.888Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-24T00:30:22.888Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T00:30:23.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T00:30:23.027Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T00:30:23.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T00:30:23.172Z] $ docker exec 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 ssh-agent [2023-03-24T00:30:23.314Z] SSH_AUTH_SOCK=/tmp/ssh-p16TIlcEzJrs/agent.13 [2023-03-24T00:30:23.314Z] SSH_AGENT_PID=19 [2023-03-24T00:30:23.320Z] Running ssh-add (command line suppressed) [2023-03-24T00:30:23.433Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_6731427004719441977.key (/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_6731427004719441977.key) [2023-03-24T00:30:23.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T00:30:23.765Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T00:30:23.795Z] $ docker exec --env ******** --env ******** 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 ssh-agent -k [2023-03-24T00:30:23.904Z] unset SSH_AUTH_SOCK; [2023-03-24T00:30:23.905Z] unset SSH_AGENT_PID; [2023-03-24T00:30:23.905Z] echo Agent pid 19 killed; [2023-03-24T00:30:23.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T00:30:23.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T00:30:23.997Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T00:30:24.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T00:30:24.125Z] $ docker exec 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 ssh-agent [2023-03-24T00:30:24.280Z] SSH_AUTH_SOCK=/tmp/ssh-SNX730nXQi8m/agent.51 [2023-03-24T00:30:24.280Z] SSH_AGENT_PID=57 [2023-03-24T00:30:24.286Z] Running ssh-add (command line suppressed) [2023-03-24T00:30:24.458Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_2952802823715994761.key (/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_2952802823715994761.key) [2023-03-24T00:30:24.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T00:30:24.790Z] + git semver init [2023-03-24T00:30:25.050Z] 2023-03-24 00:30:25,010 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T00:30:25.050Z] 2023-03-24 00:30:25,011 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver [2023-03-24T00:30:25.050Z] 2023-03-24 00:30:25,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-281/.semver [2023-03-24T00:30:25.050Z] 2023-03-24 00:30:25,013 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-281/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281, universal_newlines=False, shell=None, istream=None) [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,002 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-281/.git/info/exclude [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 with force:False [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,003 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,007 [execute] INFO git cat-file --batch-check [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,014 [execute] INFO git cat-file --batch [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T00:30:27.591Z] 2023-03-24 00:30:27,020 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 [2023-03-24T00:30:27.591Z] 0.0.0 [Pipeline] } [2023-03-24T00:30:27.628Z] $ docker exec --env ******** --env ******** 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 ssh-agent -k [2023-03-24T00:30:27.738Z] unset SSH_AUTH_SOCK; [2023-03-24T00:30:27.739Z] unset SSH_AGENT_PID; [2023-03-24T00:30:27.739Z] echo Agent pid 57 killed; [2023-03-24T00:30:27.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T00:30:28.164Z] + git semver [Pipeline] } [2023-03-24T00:30:28.454Z] $ docker stop --time=1 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 [2023-03-24T00:30:32.158Z] $ docker rm -f --volumes 554723ff737618a6060a9540ac01a6cd7ef4e3e0742dd126cd0fc6402f6f9938 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T00:30:32.550Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T00:30:32.785Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T00:30:32.807Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T00:30:33.369Z] provisioning config files... [2023-03-24T00:30:33.378Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config11106712748453645331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:30:33.736Z] ---> docker-login.sh [2023-03-24T00:30:33.736Z] nexus3.edgexfoundry.org:10001 [2023-03-24T00:30:33.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:30:33.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:30:33.736Z] Configure a credential helper to remove this warning. See [2023-03-24T00:30:33.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:30:33.736Z] [2023-03-24T00:30:33.736Z] Login Succeeded [2023-03-24T00:30:33.736Z] nexus3.edgexfoundry.org:10002 [2023-03-24T00:30:33.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:30:33.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:30:33.736Z] Configure a credential helper to remove this warning. See [2023-03-24T00:30:33.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:30:33.736Z] [2023-03-24T00:30:33.736Z] Login Succeeded [2023-03-24T00:30:33.736Z] nexus3.edgexfoundry.org:10003 [2023-03-24T00:30:33.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:30:33.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:30:33.995Z] Configure a credential helper to remove this warning. See [2023-03-24T00:30:33.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:30:33.995Z] [2023-03-24T00:30:33.995Z] Login Succeeded [2023-03-24T00:30:33.995Z] nexus3.edgexfoundry.org:10004 [2023-03-24T00:30:33.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:30:33.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:30:33.995Z] Configure a credential helper to remove this warning. See [2023-03-24T00:30:33.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:30:33.995Z] [2023-03-24T00:30:33.995Z] Login Succeeded [2023-03-24T00:30:33.995Z] docker.io [2023-03-24T00:30:34.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:30:34.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:30:34.513Z] Configure a credential helper to remove this warning. See [2023-03-24T00:30:34.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:30:34.513Z] [2023-03-24T00:30:34.513Z] Login Succeeded [2023-03-24T00:30:34.513Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T00:30:34.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T00:30:34.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T00:30:34.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T00:30:34.815Z] ========================================================= [2023-03-24T00:30:34.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T00:30:34.815Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:30:35.296Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T00:30:35.296Z] Sending build context to Docker daemon 10.87MB [2023-03-24T00:30:35.296Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T00:30:35.296Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-24T00:30:35.559Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T00:30:35.559Z] 63b65145d645: Pulling fs layer [2023-03-24T00:30:35.559Z] a2d21d5440eb: Pulling fs layer [2023-03-24T00:30:35.559Z] 935e6c44a52c: Pulling fs layer [2023-03-24T00:30:35.559Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T00:30:35.559Z] 30dea6a524f1: Pulling fs layer [2023-03-24T00:30:35.559Z] a2aff8979fd8: Pulling fs layer [2023-03-24T00:30:35.559Z] 6808be2612f2: Pulling fs layer [2023-03-24T00:30:35.559Z] f25807f1079a: Pulling fs layer [2023-03-24T00:30:35.559Z] 30dea6a524f1: Waiting [2023-03-24T00:30:35.559Z] a2aff8979fd8: Waiting [2023-03-24T00:30:35.559Z] 6808be2612f2: Waiting [2023-03-24T00:30:35.559Z] f25807f1079a: Waiting [2023-03-24T00:30:35.559Z] a2d21d5440eb: Verifying Checksum [2023-03-24T00:30:35.559Z] a2d21d5440eb: Download complete [2023-03-24T00:30:35.559Z] 94cc34f8dd06: Verifying Checksum [2023-03-24T00:30:35.559Z] 94cc34f8dd06: Download complete [2023-03-24T00:30:35.559Z] 30dea6a524f1: Verifying Checksum [2023-03-24T00:30:35.559Z] 30dea6a524f1: Download complete [2023-03-24T00:30:35.559Z] 63b65145d645: Verifying Checksum [2023-03-24T00:30:35.559Z] 63b65145d645: Download complete [2023-03-24T00:30:35.559Z] a2aff8979fd8: Verifying Checksum [2023-03-24T00:30:35.559Z] a2aff8979fd8: Download complete [2023-03-24T00:30:35.824Z] 63b65145d645: Pull complete [2023-03-24T00:30:36.087Z] a2d21d5440eb: Pull complete [2023-03-24T00:30:36.349Z] f25807f1079a: Download complete [2023-03-24T00:30:36.349Z] 935e6c44a52c: Verifying Checksum [2023-03-24T00:30:36.349Z] 935e6c44a52c: Download complete [2023-03-24T00:30:36.607Z] 6808be2612f2: Verifying Checksum [2023-03-24T00:30:36.607Z] 6808be2612f2: Download complete [2023-03-24T00:30:40.796Z] 935e6c44a52c: Pull complete [2023-03-24T00:30:40.796Z] 94cc34f8dd06: Pull complete [2023-03-24T00:30:40.796Z] 30dea6a524f1: Pull complete [2023-03-24T00:30:40.796Z] a2aff8979fd8: Pull complete [2023-03-24T00:30:43.325Z] 6808be2612f2: Pull complete [2023-03-24T00:30:43.893Z] f25807f1079a: Pull complete [2023-03-24T00:30:43.893Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T00:30:43.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T00:30:43.893Z] ---> 3b553350e43f [2023-03-24T00:30:43.893Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-24T00:30:48.197Z] Still waiting to schedule task [2023-03-24T00:30:48.197Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5629’ [2023-03-24T00:30:50.468Z] ---> Running in 732a944acc18 [2023-03-24T00:30:50.468Z] Removing intermediate container 732a944acc18 [2023-03-24T00:30:50.468Z] ---> ad1b33035096 [2023-03-24T00:30:50.468Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T00:30:50.468Z] ---> Running in b5ac5f58808d [2023-03-24T00:30:50.468Z] Removing intermediate container b5ac5f58808d [2023-03-24T00:30:50.468Z] ---> 987255637182 [2023-03-24T00:30:50.468Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-24T00:30:50.468Z] ---> Running in 7cd8b2cee69a [2023-03-24T00:30:50.468Z] Removing intermediate container 7cd8b2cee69a [2023-03-24T00:30:50.468Z] ---> da63edffdb51 [2023-03-24T00:30:50.468Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-24T00:30:50.468Z] ---> Running in 96c6181ebd10 [2023-03-24T00:30:50.468Z] Removing intermediate container 96c6181ebd10 [2023-03-24T00:30:50.468Z] ---> 90a86253a060 [2023-03-24T00:30:50.468Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T00:30:50.468Z] ---> Running in 977e6e136e0b [2023-03-24T00:30:50.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T00:30:50.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T00:30:50.987Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T00:30:50.987Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-24T00:30:50.987Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T00:30:51.246Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T00:30:51.246Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T00:30:51.246Z] OK: 269 MiB in 57 packages [2023-03-24T00:30:51.815Z] Removing intermediate container 977e6e136e0b [2023-03-24T00:30:51.815Z] ---> bfe39a127fb6 [2023-03-24T00:30:51.815Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-24T00:30:51.815Z] ---> Running in fa63065d9aa5 [2023-03-24T00:30:51.815Z] Removing intermediate container fa63065d9aa5 [2023-03-24T00:30:51.815Z] ---> b6e62472d5a8 [2023-03-24T00:30:51.815Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-24T00:30:51.815Z] ---> 2e94e9a7d109 [2023-03-24T00:30:51.815Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T00:30:52.074Z] ---> Running in 6cc483866773 [2023-03-24T00:31:39.024Z] Removing intermediate container 6cc483866773 [2023-03-24T00:31:39.024Z] ---> 96510946cfaf [2023-03-24T00:31:39.024Z] Step 11/12 : COPY . . [2023-03-24T00:31:39.596Z] ---> 3cf3f5e75fb7 [2023-03-24T00:31:39.596Z] Step 12/12 : RUN $MAKE [2023-03-24T00:31:39.857Z] ---> Running in d40763fae07d [2023-03-24T00:31:40.428Z] noop [2023-03-24T00:31:40.689Z] Removing intermediate container d40763fae07d [2023-03-24T00:31:40.689Z] ---> 79fdf3685ca8 [2023-03-24T00:31:40.689Z] Successfully built 79fdf3685ca8 [2023-03-24T00:31:40.689Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:31:41.132Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T00:31:41.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:31:41.297Z] prd-ubuntu20.04-docker-8c-8g-5630 does not seem to be running inside a container [2023-03-24T00:31:41.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T00:31:41.697Z] $ docker top 85f8a6e1c167d77eb71946c84b140d0613b8d83ddcf3adefcacc8743d0a76cd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T00:31:42.093Z] + go version [2023-03-24T00:31:42.093Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T00:31:42.134Z] $ docker stop --time=1 85f8a6e1c167d77eb71946c84b140d0613b8d83ddcf3adefcacc8743d0a76cd0 [2023-03-24T00:31:43.471Z] $ docker rm -f --volumes 85f8a6e1c167d77eb71946c84b140d0613b8d83ddcf3adefcacc8743d0a76cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:31:44.156Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T00:31:44.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:31:44.306Z] prd-ubuntu20.04-docker-8c-8g-5630 does not seem to be running inside a container [2023-03-24T00:31:44.345Z] $ 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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T00:31:44.717Z] $ docker top 0ed0f0b0aeb4ee129d3f56f19421855285217b5297cc10723c11c9551a4600ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T00:31:45.098Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-281 [Pipeline] fileExists [Pipeline] sh [2023-03-24T00:31:45.454Z] + make test [2023-03-24T00:31:45.454Z] go test ./... -coverprofile=coverage.out ./... [2023-03-24T00:31:50.720Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-24T00:32:00.701Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-24T00:32:00.701Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.0% of statements [2023-03-24T00:32:05.959Z] go vet ./... [2023-03-24T00:32:10.140Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T00:32:10.140Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T00:32:10.140Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T00:32:10.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T00:32:10.209Z] $ docker stop --time=1 0ed0f0b0aeb4ee129d3f56f19421855285217b5297cc10723c11c9551a4600ed [2023-03-24T00:32:15.499Z] $ docker rm -f --volumes 0ed0f0b0aeb4ee129d3f56f19421855285217b5297cc10723c11c9551a4600ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T00:32:16.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T00:32:16.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-24T00:32:16.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T00:32:17.151Z] + ls -al . [2023-03-24T00:32:17.151Z] total 184 [2023-03-24T00:32:17.151Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 00:31 . [2023-03-24T00:32:17.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 00:29 .. [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 24 00:29 .dockerignore [2023-03-24T00:32:17.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 00:30 .git [2023-03-24T00:32:17.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 00:29 .github [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 24 00:29 .gitignore [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 00:29 .golangci.yml [2023-03-24T00:32:17.151Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 00:30 .semver [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 24 00:29 Attribution.txt [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 24 00:29 CHANGELOG.md [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 24 00:29 Dockerfile [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 00:29 GOVERNANCE.md [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 00:29 Jenkinsfile [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 00:29 LICENSE [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 24 00:29 Makefile [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 24 00:29 OWNERS.md [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 24 00:29 README.md [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 00:30 VERSION [2023-03-24T00:32:17.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 00:29 bin [2023-03-24T00:32:17.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 00:29 cmd [2023-03-24T00:32:17.151Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 24 00:32 coverage.out [2023-03-24T00:32:17.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 00:29 driver [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 24 00:29 go.mod [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 24 00:29 go.sum [2023-03-24T00:32:17.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 00:29 snap [2023-03-24T00:32:17.151Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 24 00:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:32:17.550Z] + 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=b8e531124201590e1543ca9edaea1c885f687146 --label arch=amd64 --label version=0.0.0 . [2023-03-24T00:32:17.550Z] Sending build context to Docker daemon 10.88MB [2023-03-24T00:32:17.550Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T00:32:17.550Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-24T00:32:17.550Z] ---> 79fdf3685ca8 [2023-03-24T00:32:17.550Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-24T00:32:17.809Z] ---> Running in 2f8fbf65e936 [2023-03-24T00:32:17.809Z] Removing intermediate container 2f8fbf65e936 [2023-03-24T00:32:17.809Z] ---> d599656fc2af [2023-03-24T00:32:17.809Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T00:32:17.809Z] ---> Running in 1c8b10ff3f5e [2023-03-24T00:32:18.068Z] Removing intermediate container 1c8b10ff3f5e [2023-03-24T00:32:18.068Z] ---> c37c9584e75b [2023-03-24T00:32:18.068Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-24T00:32:18.068Z] ---> Running in 8e1de6b62e87 [2023-03-24T00:32:18.068Z] Removing intermediate container 8e1de6b62e87 [2023-03-24T00:32:18.068Z] ---> ca41b97785ff [2023-03-24T00:32:18.068Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-24T00:32:18.068Z] ---> Running in 2d101a37b6b0 [2023-03-24T00:32:18.327Z] Removing intermediate container 2d101a37b6b0 [2023-03-24T00:32:18.327Z] ---> ba820a6b32ab [2023-03-24T00:32:18.327Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T00:32:18.327Z] ---> Running in 15d5bec38cb9 [2023-03-24T00:32:18.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T00:32:18.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T00:32:19.420Z] OK: 269 MiB in 57 packages [2023-03-24T00:32:19.679Z] Removing intermediate container 15d5bec38cb9 [2023-03-24T00:32:19.679Z] ---> c4ef543cea86 [2023-03-24T00:32:19.679Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-24T00:32:19.679Z] ---> Running in 79ccc7b8b44e [2023-03-24T00:32:19.680Z] Removing intermediate container 79ccc7b8b44e [2023-03-24T00:32:19.680Z] ---> 894b0c5765e6 [2023-03-24T00:32:19.680Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-24T00:32:19.938Z] ---> 1840eddf7730 [2023-03-24T00:32:19.938Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T00:32:19.938Z] ---> Running in ae3dc2023c2f [2023-03-24T00:32:20.875Z] Removing intermediate container ae3dc2023c2f [2023-03-24T00:32:20.875Z] ---> fcec2bc7a83d [2023-03-24T00:32:20.875Z] Step 11/25 : COPY . . [2023-03-24T00:32:21.458Z] ---> bfc95d9c5961 [2023-03-24T00:32:21.458Z] Step 12/25 : RUN $MAKE [2023-03-24T00:32:21.458Z] ---> Running in 469acd1c9060 [2023-03-24T00:32:21.717Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-24T00:32:43.658Z] Removing intermediate container 469acd1c9060 [2023-03-24T00:32:43.658Z] ---> 88e6f99abd56 [2023-03-24T00:32:43.658Z] Step 13/25 : FROM alpine:3.17 [2023-03-24T00:32:43.658Z] 3.17: Pulling from library/alpine [2023-03-24T00:32:43.658Z] 63b65145d645: Already exists [2023-03-24T00:32:43.658Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T00:32:43.658Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T00:32:43.658Z] ---> b2aa39c304c2 [2023-03-24T00:32:43.658Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-24T00:32:43.658Z] ---> Running in 336b74ab3d3e [2023-03-24T00:32:43.658Z] Removing intermediate container 336b74ab3d3e [2023-03-24T00:32:43.658Z] ---> feaec89c7b03 [2023-03-24T00:32:43.658Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-24T00:32:43.658Z] ---> Running in b502004c0697 [2023-03-24T00:32:43.658Z] Removing intermediate container b502004c0697 [2023-03-24T00:32:43.658Z] ---> ead18ec3dcb7 [2023-03-24T00:32:43.658Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-24T00:32:43.658Z] ---> Running in 0ffd9527e6d0 [2023-03-24T00:32:43.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T00:32:43.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T00:32:43.658Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-24T00:32:43.658Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T00:32:43.658Z] OK: 7 MiB in 16 packages [2023-03-24T00:32:43.658Z] Removing intermediate container 0ffd9527e6d0 [2023-03-24T00:32:43.658Z] ---> a96959d354b7 [2023-03-24T00:32:43.658Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-24T00:32:43.658Z] ---> 310d9b8786d5 [2023-03-24T00:32:43.658Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-24T00:32:43.658Z] ---> 957f3a9e54a4 [2023-03-24T00:32:43.658Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-24T00:32:43.658Z] ---> bd859d292848 [2023-03-24T00:32:43.658Z] Step 20/25 : EXPOSE 59986 [2023-03-24T00:32:43.658Z] ---> Running in bd508f03b5a9 [2023-03-24T00:32:43.917Z] Removing intermediate container bd508f03b5a9 [2023-03-24T00:32:43.917Z] ---> 8c32e3d98dd4 [2023-03-24T00:32:43.917Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-24T00:32:43.917Z] ---> Running in 02a1811bb33a [2023-03-24T00:32:43.917Z] Removing intermediate container 02a1811bb33a [2023-03-24T00:32:43.917Z] ---> 7eef5ed52322 [2023-03-24T00:32:43.917Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-24T00:32:43.917Z] ---> Running in 7f4051a57f77 [2023-03-24T00:32:44.175Z] Removing intermediate container 7f4051a57f77 [2023-03-24T00:32:44.175Z] ---> 0caefa9e6c23 [2023-03-24T00:32:44.175Z] Step 23/25 : LABEL arch=amd64 [2023-03-24T00:32:44.175Z] ---> Running in 28bdca03f8da [2023-03-24T00:32:44.175Z] Removing intermediate container 28bdca03f8da [2023-03-24T00:32:44.175Z] ---> c79a4999672c [2023-03-24T00:32:44.175Z] Step 24/25 : LABEL git_sha=b8e531124201590e1543ca9edaea1c885f687146 [2023-03-24T00:32:44.175Z] ---> Running in 9c21212aeade [2023-03-24T00:32:44.175Z] Removing intermediate container 9c21212aeade [2023-03-24T00:32:44.175Z] ---> 185d00eac7e1 [2023-03-24T00:32:44.175Z] Step 25/25 : LABEL version=0.0.0 [2023-03-24T00:32:44.175Z] ---> Running in f54bd3b5a7b5 [2023-03-24T00:32:44.435Z] Removing intermediate container f54bd3b5a7b5 [2023-03-24T00:32:44.435Z] ---> 626ce9add640 [2023-03-24T00:32:44.435Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T00:32:44.435Z] Successfully built 626ce9add640 [2023-03-24T00:32:44.435Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:32:45.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T00:32:45.230Z] [2023-03-24T00:32:45.230Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:32:45.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T00:32:45.607Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T00:32:45.607Z] 5eb5b503b376: Pulling fs layer [2023-03-24T00:32:45.607Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T00:32:45.607Z] ec43610c2a17: Pulling fs layer [2023-03-24T00:32:45.607Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T00:32:45.607Z] 33b1e0a273af: Pulling fs layer [2023-03-24T00:32:45.607Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T00:32:45.607Z] 2f39f015ded8: Pulling fs layer [2023-03-24T00:32:45.607Z] 3a2ae6a8a46f: Waiting [2023-03-24T00:32:45.607Z] 33b1e0a273af: Waiting [2023-03-24T00:32:45.607Z] 2f39f015ded8: Waiting [2023-03-24T00:32:45.607Z] 5d3b04190fa2: Waiting [2023-03-24T00:32:45.607Z] 5c69ac0246d0: Verifying Checksum [2023-03-24T00:32:45.607Z] 5c69ac0246d0: Download complete [2023-03-24T00:32:45.607Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-24T00:32:45.607Z] 3a2ae6a8a46f: Download complete [2023-03-24T00:32:45.868Z] 33b1e0a273af: Verifying Checksum [2023-03-24T00:32:45.868Z] 33b1e0a273af: Download complete [2023-03-24T00:32:45.868Z] ec43610c2a17: Verifying Checksum [2023-03-24T00:32:45.868Z] ec43610c2a17: Download complete [2023-03-24T00:32:45.868Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T00:32:45.868Z] 5d3b04190fa2: Download complete [2023-03-24T00:32:45.868Z] 5eb5b503b376: Verifying Checksum [2023-03-24T00:32:45.868Z] 5eb5b503b376: Download complete [2023-03-24T00:32:46.432Z] 2f39f015ded8: Download complete [2023-03-24T00:32:47.003Z] 5eb5b503b376: Pull complete [2023-03-24T00:32:47.260Z] 5c69ac0246d0: Pull complete [2023-03-24T00:32:47.825Z] ec43610c2a17: Pull complete [2023-03-24T00:32:47.825Z] 3a2ae6a8a46f: Pull complete [2023-03-24T00:32:48.083Z] 33b1e0a273af: Pull complete [2023-03-24T00:32:48.083Z] 5d3b04190fa2: Pull complete [2023-03-24T00:32:52.266Z] 2f39f015ded8: Pull complete [2023-03-24T00:32:52.266Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T00:32:52.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T00:32:52.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:32:52.483Z] prd-ubuntu20.04-docker-8c-8g-5630 does not seem to be running inside a container [2023-03-24T00:32:52.526Z] $ 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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T00:32:58.505Z] $ docker top 5f1fd04d37117e71e7f3b8a037dab4bec17aa56f002073f2682bb8360514ceab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:32:58.957Z] ---> job-cost.sh [2023-03-24T00:32:58.957Z] lf-activate-venv: SKIPPING [2023-03-24T00:32:58.957Z] INFO: No Stack... [2023-03-24T00:32:59.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T00:32:59.784Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T00:33:00.095Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-281/archives/cost.csv [2023-03-24T00:33:00.095Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T00:33:00.130Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] [2023-03-24T00:33:00.135Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] did not exist. Created. [2023-03-24T00:33:00.135Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T00:33:00.528Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T00:33:00.575Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T00:33:00.605Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T00:33:00.701Z] $ docker stop --time=1 5f1fd04d37117e71e7f3b8a037dab4bec17aa56f002073f2682bb8360514ceab [2023-03-24T00:33:01.855Z] $ docker rm -f --volumes 5f1fd04d37117e71e7f3b8a037dab4bec17aa56f002073f2682bb8360514ceab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T00:34:22.061Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5632 in /w/workspace/gexfoundry_device-rest-go_PR-281 [Pipeline] { [Pipeline] ws [2023-03-24T00:34:22.124Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-24T00:34:22.276Z] The recommended git tool is: git [2023-03-24T00:34:27.412Z] using credential edgex-jenkins-ssh [2023-03-24T00:34:27.430Z] Cloning the remote Git repository [2023-03-24T00:34:27.472Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-24T00:34:27.568Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-24T00:34:27.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-24T00:34:27.727Z] > git --version # timeout=10 [2023-03-24T00:34:27.751Z] > git --version # 'git version 2.25.1' [2023-03-24T00:34:27.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T00:34:27.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T00:34:29.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-24T00:34:29.824Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T00:34:30.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-24T00:34:30.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-24T00:34:30.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T00:34:30.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T00:34:31.289Z] Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit b8e531124201590e1543ca9edaea1c885f687146 [2023-03-24T00:34:31.573Z] Merge succeeded, producing b8e531124201590e1543ca9edaea1c885f687146 [2023-03-24T00:34:31.574Z] Checking out Revision b8e531124201590e1543ca9edaea1c885f687146 (PR-281) [2023-03-24T00:34:31.309Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T00:34:31.385Z] > git checkout -f b8e531124201590e1543ca9edaea1c885f687146 # timeout=10 [2023-03-24T00:34:31.467Z] > git remote # timeout=10 [2023-03-24T00:34:31.489Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T00:34:31.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T00:34:31.524Z] > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 [2023-03-24T00:34:31.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T00:34:31.582Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T00:34:31.597Z] > git checkout -f b8e531124201590e1543ca9edaea1c885f687146 # timeout=10 [2023-03-24T00:34:35.025Z] Commit message: "refactor!: Changed configuration and simple-devices files format to YAML" [2023-03-24T00:34:35.071Z] > git --version # timeout=10 [2023-03-24T00:34:35.081Z] > git --version # 'git version 2.25.1' [2023-03-24T00:34:35.093Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T00:34:36.296Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T00:34:36.296Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T00:34:36.296Z] Dload Upload Total Spent Left Speed [2023-03-24T00:34:36.296Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-03-24T00:34:36.975Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T00:34:37.322Z] + sudo tee /etc/docker/daemon.new [2023-03-24T00:34:37.322Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-24T00:34:37.322Z] { [2023-03-24T00:34:37.322Z] "registry-mirrors": [ [2023-03-24T00:34:37.322Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T00:34:37.322Z] ], [2023-03-24T00:34:37.322Z] "bip": "10.250.0.254/24", [2023-03-24T00:34:37.322Z] "hosts": [ [2023-03-24T00:34:37.322Z] "tcp://0.0.0.0:5555", [2023-03-24T00:34:37.322Z] "unix:///var/run/docker.sock" [2023-03-24T00:34:37.322Z] ], [2023-03-24T00:34:37.322Z] "mtu": 1458, [2023-03-24T00:34:37.322Z] "selinux-enabled": true, [2023-03-24T00:34:37.322Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T00:34:37.322Z] } [Pipeline] sh [2023-03-24T00:34:37.661Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T00:34:37.996Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T00:34:56.300Z] provisioning config files... [2023-03-24T00:34:56.331Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13548068652043062454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:34:56.729Z] ---> docker-login.sh [2023-03-24T00:34:56.729Z] nexus3.edgexfoundry.org:10001 [2023-03-24T00:34:57.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:34:57.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:34:57.284Z] Configure a credential helper to remove this warning. See [2023-03-24T00:34:57.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:34:57.284Z] [2023-03-24T00:34:57.284Z] Login Succeeded [2023-03-24T00:34:57.284Z] nexus3.edgexfoundry.org:10002 [2023-03-24T00:34:57.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:34:57.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:34:57.827Z] Configure a credential helper to remove this warning. See [2023-03-24T00:34:57.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:34:57.827Z] [2023-03-24T00:34:57.827Z] Login Succeeded [2023-03-24T00:34:57.827Z] nexus3.edgexfoundry.org:10003 [2023-03-24T00:34:58.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:34:58.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:34:58.097Z] Configure a credential helper to remove this warning. See [2023-03-24T00:34:58.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:34:58.097Z] [2023-03-24T00:34:58.097Z] Login Succeeded [2023-03-24T00:34:58.097Z] nexus3.edgexfoundry.org:10004 [2023-03-24T00:34:58.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:34:58.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:34:58.371Z] Configure a credential helper to remove this warning. See [2023-03-24T00:34:58.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:34:58.371Z] [2023-03-24T00:34:58.371Z] Login Succeeded [2023-03-24T00:34:58.371Z] docker.io [2023-03-24T00:34:58.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T00:34:58.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T00:34:58.908Z] Configure a credential helper to remove this warning. See [2023-03-24T00:34:58.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T00:34:58.908Z] [2023-03-24T00:34:58.908Z] Login Succeeded [2023-03-24T00:34:58.908Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T00:34:58.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T00:34:59.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T00:34:59.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T00:34:59.409Z] ========================================================= [2023-03-24T00:34:59.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T00:34:59.409Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:34:59.898Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T00:34:59.898Z] Sending build context to Docker daemon 137.7kB [2023-03-24T00:35:00.172Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T00:35:00.172Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-24T00:35:00.172Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T00:35:00.172Z] af6eaf76a39c: Pulling fs layer [2023-03-24T00:35:00.172Z] 55522c791124: Pulling fs layer [2023-03-24T00:35:00.172Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T00:35:00.172Z] 169dfbe0d373: Pulling fs layer [2023-03-24T00:35:00.172Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T00:35:00.172Z] 169dfbe0d373: Waiting [2023-03-24T00:35:00.172Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T00:35:00.172Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T00:35:00.172Z] e1ff8fa3b103: Waiting [2023-03-24T00:35:00.172Z] 52ebb69f0ebf: Waiting [2023-03-24T00:35:00.172Z] 5abe8eddf0d5: Waiting [2023-03-24T00:35:00.172Z] 55522c791124: Download complete [2023-03-24T00:35:00.445Z] 169dfbe0d373: Verifying Checksum [2023-03-24T00:35:00.445Z] 169dfbe0d373: Download complete [2023-03-24T00:35:00.445Z] e1ff8fa3b103: Verifying Checksum [2023-03-24T00:35:00.445Z] e1ff8fa3b103: Download complete [2023-03-24T00:35:00.445Z] af6eaf76a39c: Verifying Checksum [2023-03-24T00:35:00.445Z] af6eaf76a39c: Download complete [2023-03-24T00:35:01.445Z] af6eaf76a39c: Pull complete [2023-03-24T00:35:01.445Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T00:35:01.445Z] 5abe8eddf0d5: Download complete [2023-03-24T00:35:02.040Z] 55522c791124: Pull complete [2023-03-24T00:35:03.007Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T00:35:03.007Z] 52ebb69f0ebf: Download complete [2023-03-24T00:35:03.007Z] ce5c4a1c91eb: Verifying Checksum [2023-03-24T00:35:03.007Z] ce5c4a1c91eb: Download complete [2023-03-24T00:35:13.086Z] ce5c4a1c91eb: Pull complete [2023-03-24T00:35:13.086Z] 169dfbe0d373: Pull complete [2023-03-24T00:35:13.086Z] e1ff8fa3b103: Pull complete [2023-03-24T00:35:19.744Z] 52ebb69f0ebf: Pull complete [2023-03-24T00:35:21.173Z] 5abe8eddf0d5: Pull complete [2023-03-24T00:35:21.173Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T00:35:21.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T00:35:21.173Z] ---> 6cb57ee374ae [2023-03-24T00:35:21.173Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-24T00:35:23.154Z] ---> Running in 989b377cbf38 [2023-03-24T00:35:23.422Z] Removing intermediate container 989b377cbf38 [2023-03-24T00:35:23.422Z] ---> a2979a2cfd07 [2023-03-24T00:35:23.422Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T00:35:23.422Z] ---> Running in 6f7082ea37e8 [2023-03-24T00:35:23.692Z] Removing intermediate container 6f7082ea37e8 [2023-03-24T00:35:23.692Z] ---> 639a32c8b895 [2023-03-24T00:35:23.692Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-24T00:35:23.692Z] ---> Running in 9cf56cf1580f [2023-03-24T00:35:23.962Z] Removing intermediate container 9cf56cf1580f [2023-03-24T00:35:23.962Z] ---> d6a1761cea7b [2023-03-24T00:35:23.962Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-24T00:35:24.230Z] ---> Running in 4087be639e63 [2023-03-24T00:35:24.503Z] Removing intermediate container 4087be639e63 [2023-03-24T00:35:24.503Z] ---> efac05f4a28f [2023-03-24T00:35:24.503Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T00:35:24.503Z] ---> Running in 680ccd421039 [2023-03-24T00:35:25.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T00:35:26.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T00:35:27.158Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-24T00:35:27.158Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-24T00:35:27.158Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-24T00:35:27.429Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-24T00:35:27.429Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T00:35:27.429Z] OK: 268 MiB in 57 packages [2023-03-24T00:35:28.396Z] Removing intermediate container 680ccd421039 [2023-03-24T00:35:28.396Z] ---> 203114e21ba5 [2023-03-24T00:35:28.396Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-24T00:35:28.396Z] ---> Running in 9199e16b5c32 [2023-03-24T00:35:28.677Z] Removing intermediate container 9199e16b5c32 [2023-03-24T00:35:28.677Z] ---> 6265ecbc8b3e [2023-03-24T00:35:28.677Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-24T00:35:32.032Z] ---> fafdf5952359 [2023-03-24T00:35:32.032Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T00:35:32.032Z] ---> Running in 679b87354da3 [2023-03-24T00:36:53.665Z] Removing intermediate container 679b87354da3 [2023-03-24T00:36:53.665Z] ---> 28e9a01ebfd3 [2023-03-24T00:36:53.665Z] Step 11/12 : COPY . . [2023-03-24T00:36:53.665Z] ---> 50db04ed1231 [2023-03-24T00:36:53.665Z] Step 12/12 : RUN $MAKE [2023-03-24T00:36:53.665Z] ---> Running in f685776541d3 [2023-03-24T00:36:53.665Z] noop [2023-03-24T00:36:53.665Z] Removing intermediate container f685776541d3 [2023-03-24T00:36:53.665Z] ---> 3c89b02a3a76 [2023-03-24T00:36:53.665Z] Successfully built 3c89b02a3a76 [2023-03-24T00:36:53.665Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:36:54.112Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T00:36:54.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:36:54.382Z] prd-ubuntu20.04-docker-arm64-4c-16g-5632 does not seem to be running inside a container [2023-03-24T00:36:54.451Z] $ 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-03-24T00:36:55.677Z] $ docker top 7a4ca56017b5d19dfc05372f49480d69b427cca99bfa2646f9baa3b0ab9baae5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T00:36:56.551Z] + go version [2023-03-24T00:36:56.552Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T00:36:56.592Z] $ docker stop --time=1 7a4ca56017b5d19dfc05372f49480d69b427cca99bfa2646f9baa3b0ab9baae5 [2023-03-24T00:36:58.184Z] $ docker rm -f --volumes 7a4ca56017b5d19dfc05372f49480d69b427cca99bfa2646f9baa3b0ab9baae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:36:59.017Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T00:36:59.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:36:59.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-5632 does not seem to be running inside a container [2023-03-24T00:36:59.342Z] $ 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-03-24T00:37:00.493Z] $ docker top 13bbac3ee25e10bb102a13d9a62e32bb42ec67d611c59e9fc126ac5c7951777c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T00:37:01.052Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-24T00:37:01.755Z] + make test [2023-03-24T00:37:01.755Z] go test ./... -coverprofile=coverage.out ./... [2023-03-24T00:37:33.988Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-24T00:39:40.674Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-24T00:39:40.674Z] ok github.com/edgexfoundry/device-rest-go/driver 0.100s coverage: 33.0% of statements [2023-03-24T00:39:40.674Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-24T00:39:40.674Z] go vet ./... [2023-03-24T00:40:07.426Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T00:40:07.426Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T00:40:07.426Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T00:40:07.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T00:40:07.497Z] $ docker stop --time=1 13bbac3ee25e10bb102a13d9a62e32bb42ec67d611c59e9fc126ac5c7951777c [2023-03-24T00:40:09.308Z] $ docker rm -f --volumes 13bbac3ee25e10bb102a13d9a62e32bb42ec67d611c59e9fc126ac5c7951777c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T00:40:10.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T00:40:10.488Z] Warning: overwriting stash ‘coverage-report’ [2023-03-24T00:40:10.951Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T00:40:11.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T00:40:11.927Z] + ls -al . [2023-03-24T00:40:11.927Z] total 180 [2023-03-24T00:40:11.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 00:37 . [2023-03-24T00:40:11.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 00:34 .. [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 24 00:34 .dockerignore [2023-03-24T00:40:11.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 00:34 .git [2023-03-24T00:40:11.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 00:34 .github [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 24 00:34 .gitignore [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 00:34 .golangci.yml [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 24 00:34 Attribution.txt [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 24 00:34 CHANGELOG.md [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 24 00:34 Dockerfile [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 00:34 GOVERNANCE.md [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 00:34 Jenkinsfile [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 00:34 LICENSE [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 24 00:34 Makefile [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 24 00:34 OWNERS.md [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 24 00:34 README.md [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 00:30 VERSION [2023-03-24T00:40:11.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 00:34 bin [2023-03-24T00:40:11.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 00:34 cmd [2023-03-24T00:40:11.927Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 24 00:39 coverage.out [2023-03-24T00:40:11.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 00:34 driver [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 24 00:34 go.mod [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 24 00:34 go.sum [2023-03-24T00:40:11.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 00:34 snap [2023-03-24T00:40:11.927Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 24 00:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:40:12.371Z] + 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=b8e531124201590e1543ca9edaea1c885f687146 --label arch=arm64 --label version=0.0.0 . [2023-03-24T00:40:12.372Z] Sending build context to Docker daemon 152.6kB [2023-03-24T00:40:12.644Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T00:40:12.644Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-24T00:40:12.644Z] ---> 3c89b02a3a76 [2023-03-24T00:40:12.644Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-24T00:40:12.644Z] ---> Running in d40d251d58b7 [2023-03-24T00:40:12.914Z] Removing intermediate container d40d251d58b7 [2023-03-24T00:40:12.914Z] ---> 44bb3d84e98c [2023-03-24T00:40:12.914Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T00:40:12.914Z] ---> Running in 25e4fcfc14a7 [2023-03-24T00:40:13.188Z] Removing intermediate container 25e4fcfc14a7 [2023-03-24T00:40:13.188Z] ---> abad8f83cc53 [2023-03-24T00:40:13.188Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-24T00:40:13.482Z] ---> Running in 8a87584c3384 [2023-03-24T00:40:13.759Z] Removing intermediate container 8a87584c3384 [2023-03-24T00:40:13.759Z] ---> f205bec2af4c [2023-03-24T00:40:13.759Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-24T00:40:13.759Z] ---> Running in 5e0a0b40db96 [2023-03-24T00:40:14.027Z] Removing intermediate container 5e0a0b40db96 [2023-03-24T00:40:14.027Z] ---> 47bc2f40453e [2023-03-24T00:40:14.027Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T00:40:14.027Z] ---> Running in 3e9cd18dfaea [2023-03-24T00:40:14.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T00:40:15.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T00:40:16.518Z] OK: 268 MiB in 57 packages [2023-03-24T00:40:17.102Z] Removing intermediate container 3e9cd18dfaea [2023-03-24T00:40:17.102Z] ---> 7da207265926 [2023-03-24T00:40:17.102Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-24T00:40:17.369Z] ---> Running in 0befbffc89f5 [2023-03-24T00:40:17.634Z] Removing intermediate container 0befbffc89f5 [2023-03-24T00:40:17.634Z] ---> 8a6eaac3d233 [2023-03-24T00:40:17.634Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-24T00:40:17.906Z] ---> e8ee17908429 [2023-03-24T00:40:17.906Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T00:40:18.174Z] ---> Running in 669c4075ae5f [2023-03-24T00:40:20.748Z] Removing intermediate container 669c4075ae5f [2023-03-24T00:40:20.748Z] ---> c527a1768a7a [2023-03-24T00:40:20.748Z] Step 11/25 : COPY . . [2023-03-24T00:40:21.013Z] ---> 2bb2b39999e8 [2023-03-24T00:40:21.013Z] Step 12/25 : RUN $MAKE [2023-03-24T00:40:21.013Z] ---> Running in bb389417c132 [2023-03-24T00:40:21.975Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-24T00:42:31.711Z] Removing intermediate container bb389417c132 [2023-03-24T00:42:31.711Z] ---> b2b5681d49a8 [2023-03-24T00:42:31.711Z] Step 13/25 : FROM alpine:3.17 [2023-03-24T00:42:31.711Z] 3.17: Pulling from library/alpine [2023-03-24T00:42:31.711Z] af6eaf76a39c: Already exists [2023-03-24T00:42:31.711Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T00:42:31.711Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T00:42:31.711Z] ---> d74e625d9115 [2023-03-24T00:42:31.711Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-24T00:42:31.711Z] ---> Running in 23090b79776f [2023-03-24T00:42:31.711Z] Removing intermediate container 23090b79776f [2023-03-24T00:42:31.711Z] ---> e72114747523 [2023-03-24T00:42:31.711Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-24T00:42:31.711Z] ---> Running in 407c4b048e8c [2023-03-24T00:42:31.711Z] Removing intermediate container 407c4b048e8c [2023-03-24T00:42:31.711Z] ---> 0c7bfcfcfec5 [2023-03-24T00:42:31.711Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-24T00:42:31.711Z] ---> Running in ebed9a535f93 [2023-03-24T00:42:31.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T00:42:31.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T00:42:31.711Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-24T00:42:31.711Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T00:42:31.711Z] OK: 8 MiB in 16 packages [2023-03-24T00:42:31.711Z] Removing intermediate container ebed9a535f93 [2023-03-24T00:42:31.711Z] ---> 8723637e6175 [2023-03-24T00:42:31.711Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-24T00:42:31.711Z] ---> b41981d3c4f1 [2023-03-24T00:42:31.711Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-24T00:42:31.711Z] ---> a2ff8a10aa30 [2023-03-24T00:42:31.711Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-24T00:42:31.711Z] ---> f85cf2ad015c [2023-03-24T00:42:31.711Z] Step 20/25 : EXPOSE 59986 [2023-03-24T00:42:31.711Z] ---> Running in 74c18b93b2ca [2023-03-24T00:42:31.711Z] Removing intermediate container 74c18b93b2ca [2023-03-24T00:42:31.711Z] ---> 9b12c72e8083 [2023-03-24T00:42:31.711Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-24T00:42:31.711Z] ---> Running in 77758bf2c655 [2023-03-24T00:42:31.711Z] Removing intermediate container 77758bf2c655 [2023-03-24T00:42:31.711Z] ---> 4a4a612e2101 [2023-03-24T00:42:31.711Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-24T00:42:31.711Z] ---> Running in 754b5b4d04f6 [2023-03-24T00:42:31.711Z] Removing intermediate container 754b5b4d04f6 [2023-03-24T00:42:31.711Z] ---> 3955dc87b260 [2023-03-24T00:42:31.711Z] Step 23/25 : LABEL arch=arm64 [2023-03-24T00:42:31.711Z] ---> Running in e3df71802926 [2023-03-24T00:42:31.711Z] Removing intermediate container e3df71802926 [2023-03-24T00:42:31.711Z] ---> e1c4a97e41d5 [2023-03-24T00:42:31.711Z] Step 24/25 : LABEL git_sha=b8e531124201590e1543ca9edaea1c885f687146 [2023-03-24T00:42:31.711Z] ---> Running in fc4c0f8e61ca [2023-03-24T00:42:31.711Z] Removing intermediate container fc4c0f8e61ca [2023-03-24T00:42:31.711Z] ---> 430b202d3a22 [2023-03-24T00:42:31.711Z] Step 25/25 : LABEL version=0.0.0 [2023-03-24T00:42:31.711Z] ---> Running in 573f72b37a41 [2023-03-24T00:42:31.711Z] Removing intermediate container 573f72b37a41 [2023-03-24T00:42:31.711Z] ---> 7b22c3e31c95 [2023-03-24T00:42:31.711Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T00:42:31.711Z] Successfully built 7b22c3e31c95 [2023-03-24T00:42:31.711Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:42:32.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T00:42:32.449Z] [2023-03-24T00:42:32.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:42:32.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T00:42:32.840Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T00:42:32.840Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T00:42:32.840Z] 04944245beec: Pulling fs layer [2023-03-24T00:42:32.840Z] 699f458cf7ca: Pulling fs layer [2023-03-24T00:42:32.840Z] 765212b225bb: Pulling fs layer [2023-03-24T00:42:32.840Z] f23df028b6ca: Pulling fs layer [2023-03-24T00:42:32.840Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T00:42:32.840Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T00:42:32.840Z] 765212b225bb: Waiting [2023-03-24T00:42:32.840Z] f23df028b6ca: Waiting [2023-03-24T00:42:32.840Z] d65c8cfc05b1: Waiting [2023-03-24T00:42:32.840Z] 2437ff75d9bd: Waiting [2023-03-24T00:42:33.106Z] 04944245beec: Verifying Checksum [2023-03-24T00:42:33.106Z] 04944245beec: Download complete [2023-03-24T00:42:33.106Z] 765212b225bb: Verifying Checksum [2023-03-24T00:42:33.106Z] 765212b225bb: Download complete [2023-03-24T00:42:33.106Z] f23df028b6ca: Verifying Checksum [2023-03-24T00:42:33.106Z] f23df028b6ca: Download complete [2023-03-24T00:42:33.106Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T00:42:33.106Z] d65c8cfc05b1: Download complete [2023-03-24T00:42:33.106Z] 699f458cf7ca: Verifying Checksum [2023-03-24T00:42:33.106Z] 699f458cf7ca: Download complete [2023-03-24T00:42:33.692Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T00:42:33.692Z] 8998bd30e6a1: Download complete [2023-03-24T00:42:35.631Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T00:42:35.631Z] 2437ff75d9bd: Download complete [2023-03-24T00:42:37.587Z] 8998bd30e6a1: Pull complete [2023-03-24T00:42:39.523Z] 04944245beec: Pull complete [2023-03-24T00:42:40.926Z] 699f458cf7ca: Pull complete [2023-03-24T00:42:41.192Z] 765212b225bb: Pull complete [2023-03-24T00:42:41.774Z] f23df028b6ca: Pull complete [2023-03-24T00:42:42.042Z] d65c8cfc05b1: Pull complete [2023-03-24T00:43:05.426Z] 2437ff75d9bd: Pull complete [2023-03-24T00:43:05.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T00:43:05.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T00:43:05.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:43:05.751Z] prd-ubuntu20.04-docker-arm64-4c-16g-5632 does not seem to be running inside a container [2023-03-24T00:43:05.822Z] $ 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-03-24T00:43:08.374Z] $ docker top 18883bfbf7c3361fe4be95d70c4f1222d5ffa991937cd2648b6a5aa1e96f06b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:09.270Z] ---> job-cost.sh [2023-03-24T00:43:09.270Z] lf-activate-venv: SKIPPING [2023-03-24T00:43:09.270Z] INFO: No Stack... [2023-03-24T00:43:09.536Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T00:43:10.494Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T00:43:10.838Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-24T00:43:10.838Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T00:43:10.920Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] [2023-03-24T00:43:10.925Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] did not exist. Created. [2023-03-24T00:43:10.925Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T00:43:11.338Z] /w/workspace/device-rest-go/1@tmp/durable-c3dd3661/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T00:43:12.025Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T00:43:12.063Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T00:43:12.111Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T00:43:12.125Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T00:43:12.209Z] $ docker stop --time=1 18883bfbf7c3361fe4be95d70c4f1222d5ffa991937cd2648b6a5aa1e96f06b5 [2023-03-24T00:43:13.710Z] $ docker rm -f --volumes 18883bfbf7c3361fe4be95d70c4f1222d5ffa991937cd2648b6a5aa1e96f06b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-24T00:43:14.771Z] provisioning config files... [2023-03-24T00:43:14.778Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config3558182774613532209tmp [Pipeline] { [Pipeline] sh [2023-03-24T00:43:15.113Z] + set +x [2023-03-24T00:43:15.113Z] + + curl -s https://codecov.io/bash [2023-03-24T00:43:15.113Z] bash -s -- [2023-03-24T00:43:15.113Z] [2023-03-24T00:43:15.113Z] _____ _ [2023-03-24T00:43:15.113Z] / ____| | | [2023-03-24T00:43:15.113Z] | | ___ __| | ___ ___ _____ __ [2023-03-24T00:43:15.113Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-24T00:43:15.113Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-24T00:43:15.113Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-24T00:43:15.113Z] Bash-1.0.6 [2023-03-24T00:43:15.113Z] [2023-03-24T00:43:15.113Z] [2023-03-24T00:43:15.113Z] ==> git version 2.25.1 found [2023-03-24T00:43:15.113Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-24T00:43:15.113Z] Release-Date: 2020-01-08 [2023-03-24T00:43:15.113Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-24T00:43:15.113Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-24T00:43:15.113Z] ==> Jenkins CI detected. [2023-03-24T00:43:15.113Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-281 [2023-03-24T00:43:15.113Z] project root: . [2023-03-24T00:43:15.113Z] --> token set from env [2023-03-24T00:43:15.113Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-24T00:43:15.113Z] ==> Running gcov in . (disable via -X gcov) [2023-03-24T00:43:15.113Z] ==> Python coveragepy not found [2023-03-24T00:43:15.113Z] ==> Searching for coverage reports in: [2023-03-24T00:43:15.113Z] + . [2023-03-24T00:43:15.113Z] -> Found 1 reports [2023-03-24T00:43:15.113Z] ==> Detecting git/mercurial file structure [2023-03-24T00:43:15.113Z] ==> Reading reports [2023-03-24T00:43:15.113Z] + ./coverage.out bytes=14200 [2023-03-24T00:43:15.113Z] ==> Appending adjustments [2023-03-24T00:43:15.113Z] https://docs.codecov.io/docs/fixing-reports [2023-03-24T00:43:15.372Z] + Found adjustments [2023-03-24T00:43:15.372Z] ==> Gzipping contents [2023-03-24T00:43:15.372Z] 4.0K /tmp/codecov.LJOU5g.gz [2023-03-24T00:43:15.372Z] ==> Uploading reports [2023-03-24T00:43:15.372Z] url: https://codecov.io [2023-03-24T00:43:15.372Z] query: branch=PR-281&commit=b8e531124201590e1543ca9edaea1c885f687146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=281&job=&cmd_args= [2023-03-24T00:43:15.372Z] -> Pinging Codecov [2023-03-24T00:43:15.372Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-281&commit=b8e531124201590e1543ca9edaea1c885f687146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=281&job=&cmd_args= [2023-03-24T00:43:15.372Z] -> Uploading to [2023-03-24T00:43:15.372Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-24/4E5D53B4F1F92C436F7061BF334D961C/b8e531124201590e1543ca9edaea1c885f687146/91d428c0-718f-426a-8851-8f19ba40fcd5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T004315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b47d349993ad380616fe389896f8fe39d8f9a688b7afe113a959cfdac467ee81 [2023-03-24T00:43:15.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T00:43:15.372Z] Dload Upload Total Spent Left Speed [2023-03-24T00:43:15.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 10977 --:--:-- --:--:-- --:--:-- 10928 100 2437 0 0 100 2437 0 9519 --:--:-- --:--:-- --:--:-- 9482 [2023-03-24T00:43:15.630Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b8e531124201590e1543ca9edaea1c885f687146 [Pipeline] } [2023-03-24T00:43:15.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-24T00:43:17.374Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-281/archives ] [2023-03-24T00:43:17.374Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-281/archives [2023-03-24T00:43:17.374Z] total 16 [2023-03-24T00:43:17.374Z] drwxr-xr-x 3 root root 4096 Mar 24 00:32 . [2023-03-24T00:43:17.374Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 00:33 .. [2023-03-24T00:43:17.374Z] drwxr-xr-x 2 root root 4096 Mar 24 00:32 cost [2023-03-24T00:43:17.374Z] -rw-r--r-- 1 root root 86 Mar 24 00:32 cost.csv [2023-03-24T00:43:17.374Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-281/archives [2023-03-24T00:43:17.374Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-281/archives [2023-03-24T00:43:17.374Z] total 16 [2023-03-24T00:43:17.374Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 00:32 . [2023-03-24T00:43:17.374Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 00:33 .. [2023-03-24T00:43:17.374Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 00:32 cost [2023-03-24T00:43:17.374Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 24 00:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:17.694Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:18.584Z] ---> package-listing.sh [2023-03-24T00:43:18.584Z] ++ facter osfamily [2023-03-24T00:43:18.584Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T00:43:18.843Z] + OS_FAMILY=debian [2023-03-24T00:43:18.843Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-281 [2023-03-24T00:43:18.843Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T00:43:18.843Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T00:43:18.843Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T00:43:18.843Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T00:43:18.843Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-281 ']' [2023-03-24T00:43:18.843Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T00:43:18.843Z] + case "${OS_FAMILY}" in [2023-03-24T00:43:18.843Z] + dpkg -l [2023-03-24T00:43:18.843Z] + grep '^ii' [2023-03-24T00:43:18.843Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T00:43:18.843Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T00:43:18.843Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T00:43:18.843Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-281 ']' [2023-03-24T00:43:18.843Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-281/archives/ [2023-03-24T00:43:18.843Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-281/archives/ [Pipeline] echo [2023-03-24T00:43:18.878Z] 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T00:43:19.167Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T00:43:19.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T00:43:19.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T00:43:19.935Z] prd-ubuntu20.04-docker-8c-8g-5630 does not seem to be running inside a container [2023-03-24T00:43:19.982Z] $ 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-281/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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T00:43:20.166Z] $ docker top 1161e060b9c48c31f76a5b4e94182a6fcb0c8d14b9b548343bf06d64e730ea92 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T00:43:20.535Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T00:43:20.848Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T00:43:21.154Z] + ls /var/log/sa-host [2023-03-24T00:43:21.154Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T00:43:21.282Z] provisioning config files... [2023-03-24T00:43:21.290Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config10587680175461479810tmp [Pipeline] { [Pipeline] echo [2023-03-24T00:43:21.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:21.652Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T00:43:21.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:22.070Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T00:43:22.101Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:22.419Z] ---> sudo-logs.sh [2023-03-24T00:43:22.419Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T00:43:22.501Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:22.815Z] ---> job-cost.sh [2023-03-24T00:43:22.815Z] lf-activate-venv: SKIPPING [2023-03-24T00:43:22.815Z] DEBUG: total: 0.2199999988079071 [2023-03-24T00:43:22.815Z] INFO: Retrieving Stack Cost... [2023-03-24T00:43:23.075Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T00:43:23.645Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T00:43:23.675Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T00:43:23.986Z] ---> logs-deploy.sh [2023-03-24T00:43:23.986Z] lf-activate-venv: SKIPPING [2023-03-24T00:43:23.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-281/1 [2023-03-24T00:43:23.986Z] INFO: archiving workspace using pattern(s): [2023-03-24T00:43:24.928Z] Archives upload complete. [2023-03-24T00:43:24.928Z] INFO: archiving logs to Nexus