Pull request #370 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d+0e4c43928dd74877e01497a451c4b89b2b600e8c (e4160ce56aa1c1bb8173c669595e28cba7ed017f) 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-ssh13068982831220956703.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh3660331455339570183.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4348205631736577087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13022516745583000738.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3122597617511872799.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5772 in /w/workspace/gexfoundry_device-rest-go_PR-370 [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-370 # 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 Merging remotes/origin/main commit 0e4c43928dd74877e01497a451c4b89b2b600e8c into PR head commit a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d Merge succeeded, producing a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d Checking out Revision a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d (PR-370) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # 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 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # timeout=10 > git rev-list --no-walk 8ae01c1c7c56035e6f21f3b472a9399ec9002438 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T20:41:52.902Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T20:41:52.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T20:41:53.000Z] ========================================================= [2023-11-28T20:41:53.000Z] EdgeX Global Pipelines Version Info [2023-11-28T20:41:53.000Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:41:54.123Z] ------------------- [2023-11-28T20:41:54.123Z] stable info: [2023-11-28T20:41:54.123Z] ------------------- [2023-11-28T20:41:54.123Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T20:41:54.123Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T20:41:54.123Z] Message: update stable to v1.0.258 [2023-11-28T20:41:54.383Z] ------------------- [2023-11-28T20:41:54.383Z] experimental info: [2023-11-28T20:41:54.383Z] ------------------- [2023-11-28T20:41:54.383Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T20:41:54.383Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T20:41:54.383Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T20:41:54.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-28T20:41:54.493Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-28T20:41:54.522Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T20:41:54.550Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T20:41:54.582Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T20:41:54.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T20:41:54.643Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T20:41:54.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T20:41:54.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T20:41:54.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T20:41:54.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T20:41:54.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-28T20:41:54.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T20:41:54.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T20:41:54.862Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T20:41:54.893Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T20:41:54.933Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T20:41:54.971Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T20:41:55.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T20:41:55.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T20:41:55.076Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T20:41:55.120Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T20:41:55.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T20:41:55.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T20:41:55.227Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T20:41:55.260Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T20:41:55.301Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T20:41:55.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo [2023-11-28T20:41:55.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo [2023-11-28T20:41:55.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo [2023-11-28T20:41:55.447Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo [2023-11-28T20:41:55.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0b8a7e [Pipeline] echo [2023-11-28T20:41:55.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T20:41:55.597Z] provisioning config files... [2023-11-28T20:41:55.610Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config15671560278026923176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:41:55.958Z] ---> ****-login.sh [2023-11-28T20:41:55.958Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:41:56.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:41:56.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:41:56.219Z] Configure a credential helper to remove this warning. See [2023-11-28T20:41:56.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:41:56.219Z] [2023-11-28T20:41:56.219Z] Login Succeeded [2023-11-28T20:41:56.219Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:41:56.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:41:56.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:41:56.479Z] Configure a credential helper to remove this warning. See [2023-11-28T20:41:56.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:41:56.479Z] [2023-11-28T20:41:56.479Z] Login Succeeded [2023-11-28T20:41:56.479Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:41:56.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:41:56.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:41:56.479Z] Configure a credential helper to remove this warning. See [2023-11-28T20:41:56.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:41:56.479Z] [2023-11-28T20:41:56.479Z] Login Succeeded [2023-11-28T20:41:56.479Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:41:56.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:41:56.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:41:56.739Z] Configure a credential helper to remove this warning. See [2023-11-28T20:41:56.739Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:41:56.739Z] [2023-11-28T20:41:56.739Z] Login Succeeded [2023-11-28T20:41:56.739Z] ****.io [2023-11-28T20:41:56.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:41:56.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:41:56.999Z] Configure a credential helper to remove this warning. See [2023-11-28T20:41:56.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:41:56.999Z] [2023-11-28T20:41:56.999Z] Login Succeeded [2023-11-28T20:41:56.999Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:41:57.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T20:41:57.515Z] + git rev-list -1 --merges a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d~1..a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo [2023-11-28T20:41:57.542Z] -----------> git rev-list -1 --merges a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d~1..a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [false] [Pipeline] sh [2023-11-28T20:41:57.866Z] + git log --format=format:%s -1 a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo [2023-11-28T20:41:57.882Z] ========================================================= [2023-11-28T20:41:57.882Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T20:41:57.882Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T20:41:58.249Z] + git log --format=format:%s -1 a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] echo [2023-11-28T20:41:58.261Z] [semverPrep] GIT_COMMIT: a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0 [Pipeline] echo [2023-11-28T20:41:58.285Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T20:41:58.744Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T20:41:58.744Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T20:41:58.744Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T20:41:58.744Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T20:41:58.744Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T20:41:58.744Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T20:41:58.744Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:41:59.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T20:41:59.110Z] [2023-11-28T20:41:59.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:41:59.430Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T20:41:59.430Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T20:41:59.430Z] b85a868b505f: Pulling fs layer [2023-11-28T20:41:59.430Z] e2be974225ed: Pulling fs layer [2023-11-28T20:41:59.430Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T20:41:59.430Z] 988bab9f4d93: Pulling fs layer [2023-11-28T20:41:59.430Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T20:41:59.430Z] eaf3925da568: Pulling fs layer [2023-11-28T20:41:59.430Z] bab4dde63d76: Pulling fs layer [2023-11-28T20:41:59.430Z] bde34c3a00c8: Pulling fs layer [2023-11-28T20:41:59.430Z] b352a97aabf1: Pulling fs layer [2023-11-28T20:41:59.430Z] 4872d77fe225: Pulling fs layer [2023-11-28T20:41:59.430Z] 5851b861e8e6: Pulling fs layer [2023-11-28T20:41:59.430Z] 988bab9f4d93: Waiting [2023-11-28T20:41:59.430Z] 1469e6f7b9e6: Waiting [2023-11-28T20:41:59.430Z] eaf3925da568: Waiting [2023-11-28T20:41:59.430Z] bab4dde63d76: Waiting [2023-11-28T20:41:59.430Z] bde34c3a00c8: Waiting [2023-11-28T20:41:59.430Z] 5851b861e8e6: Waiting [2023-11-28T20:41:59.430Z] 4872d77fe225: Waiting [2023-11-28T20:41:59.430Z] b352a97aabf1: Waiting [2023-11-28T20:41:59.691Z] e2be974225ed: Download complete [2023-11-28T20:41:59.691Z] 988bab9f4d93: Verifying Checksum [2023-11-28T20:41:59.691Z] 988bab9f4d93: Download complete [2023-11-28T20:41:59.691Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T20:41:59.691Z] 1469e6f7b9e6: Download complete [2023-11-28T20:41:59.691Z] eaf3925da568: Verifying Checksum [2023-11-28T20:41:59.691Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T20:41:59.691Z] eaf3925da568: Download complete [2023-11-28T20:41:59.691Z] 339a4e72a1f5: Download complete [2023-11-28T20:41:59.691Z] bde34c3a00c8: Verifying Checksum [2023-11-28T20:41:59.691Z] bde34c3a00c8: Download complete [2023-11-28T20:41:59.691Z] b352a97aabf1: Verifying Checksum [2023-11-28T20:41:59.691Z] b352a97aabf1: Download complete [2023-11-28T20:41:59.691Z] 4872d77fe225: Verifying Checksum [2023-11-28T20:41:59.691Z] 4872d77fe225: Download complete [2023-11-28T20:41:59.691Z] 5851b861e8e6: Verifying Checksum [2023-11-28T20:41:59.691Z] 5851b861e8e6: Download complete [2023-11-28T20:41:59.950Z] b85a868b505f: Download complete [2023-11-28T20:42:00.210Z] bab4dde63d76: Verifying Checksum [2023-11-28T20:42:00.210Z] bab4dde63d76: Download complete [2023-11-28T20:42:01.147Z] b85a868b505f: Pull complete [2023-11-28T20:42:01.147Z] e2be974225ed: Pull complete [2023-11-28T20:42:01.715Z] 339a4e72a1f5: Pull complete [2023-11-28T20:42:01.715Z] 988bab9f4d93: Pull complete [2023-11-28T20:42:02.284Z] 1469e6f7b9e6: Pull complete [2023-11-28T20:42:02.284Z] eaf3925da568: Pull complete [2023-11-28T20:42:04.214Z] bab4dde63d76: Pull complete [2023-11-28T20:42:04.489Z] bde34c3a00c8: Pull complete [2023-11-28T20:42:05.059Z] b352a97aabf1: Pull complete [2023-11-28T20:42:05.318Z] 4872d77fe225: Pull complete [2023-11-28T20:42:05.577Z] 5851b861e8e6: Pull complete [2023-11-28T20:42:05.837Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T20:42:05.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T20:42:05.837Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:42:06.034Z] prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container [2023-11-28T20:42:06.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T20:42:11.386Z] $ docker top a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee -eo pid,comm [2023-11-28T20:42:11.444Z] 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-11-28T20:42:11.444Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T20:42:11.526Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T20:42:11.526Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T20:42:11.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T20:42:11.634Z] $ docker exec a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent [2023-11-28T20:42:11.736Z] SSH_AUTH_SOCK=/tmp/ssh-I77DgVnMjIow/agent.32 [2023-11-28T20:42:11.736Z] SSH_AGENT_PID=38 [2023-11-28T20:42:11.743Z] Running ssh-add (command line suppressed) [2023-11-28T20:42:11.850Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_950253059297032811.key (/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_950253059297032811.key) [2023-11-28T20:42:11.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T20:42:12.164Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T20:42:12.178Z] $ docker exec --env ******** --env ******** a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent -k [2023-11-28T20:42:12.275Z] unset SSH_AUTH_SOCK; [2023-11-28T20:42:12.276Z] unset SSH_AGENT_PID; [2023-11-28T20:42:12.276Z] echo Agent pid 38 killed; [2023-11-28T20:42:12.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T20:42:12.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T20:42:12.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T20:42:12.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T20:42:12.464Z] $ docker exec a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent [2023-11-28T20:42:12.568Z] SSH_AUTH_SOCK=/tmp/ssh-cJzNqtz6T1t9/agent.71 [2023-11-28T20:42:12.568Z] SSH_AGENT_PID=77 [2023-11-28T20:42:12.573Z] Running ssh-add (command line suppressed) [2023-11-28T20:42:12.673Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_2846915802208154831.key (/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/private_key_2846915802208154831.key) [2023-11-28T20:42:12.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T20:42:12.994Z] + git semver init [2023-11-28T20:42:13.253Z] 2023-11-28 20:42:13,162 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T20:42:13.253Z] 2023-11-28 20:42:13,163 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver [2023-11-28T20:42:13.253Z] 2023-11-28 20:42:13,163 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-370/.semver [2023-11-28T20:42:13.253Z] 2023-11-28 20:42:13,164 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-370/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370, universal_newlines=False, shell=None, istream=None) [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,099 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-370/.git/info/exclude [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 with force:False [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,100 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,104 [execute] INFO git cat-file --batch-check [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,112 [execute] INFO git cat-file --batch [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T20:42:15.176Z] 2023-11-28 20:42:15,118 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-370/.semver/PR-370 [2023-11-28T20:42:15.176Z] 0.0.0 [Pipeline] } [2023-11-28T20:42:15.188Z] $ docker exec --env ******** --env ******** a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee ssh-agent -k [2023-11-28T20:42:15.282Z] unset SSH_AUTH_SOCK; [2023-11-28T20:42:15.283Z] unset SSH_AGENT_PID; [2023-11-28T20:42:15.283Z] echo Agent pid 77 killed; [2023-11-28T20:42:15.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T20:42:15.668Z] + git semver [Pipeline] } [2023-11-28T20:42:15.940Z] $ docker stop --time=1 a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee [2023-11-28T20:42:17.241Z] $ docker rm -f --volumes a46559560cb2edeffdfd62607ebce713457a9a2a41a74006d1ee9d998106e1ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:42:17.606Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T20:42:17.876Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T20:42:17.879Z] [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-11-28T20:42:18.246Z] provisioning config files... [2023-11-28T20:42:18.257Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config4373850308721964345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:42:18.575Z] ---> ****-login.sh [2023-11-28T20:42:18.575Z] nexus3.edgexfoundry.org:10001 [2023-11-28T20:42:18.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:42:18.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:42:18.575Z] Configure a credential helper to remove this warning. See [2023-11-28T20:42:18.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:42:18.575Z] [2023-11-28T20:42:18.575Z] Login Succeeded [2023-11-28T20:42:18.575Z] nexus3.edgexfoundry.org:10002 [2023-11-28T20:42:18.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:42:18.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:42:18.575Z] Configure a credential helper to remove this warning. See [2023-11-28T20:42:18.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:42:18.575Z] [2023-11-28T20:42:18.575Z] Login Succeeded [2023-11-28T20:42:18.575Z] nexus3.edgexfoundry.org:10003 [2023-11-28T20:42:18.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:42:18.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:42:18.835Z] Configure a credential helper to remove this warning. See [2023-11-28T20:42:18.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:42:18.835Z] [2023-11-28T20:42:18.835Z] Login Succeeded [2023-11-28T20:42:18.835Z] nexus3.edgexfoundry.org:10004 [2023-11-28T20:42:18.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:42:18.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:42:18.835Z] Configure a credential helper to remove this warning. See [2023-11-28T20:42:18.836Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:42:18.836Z] [2023-11-28T20:42:18.836Z] Login Succeeded [2023-11-28T20:42:18.836Z] ****.io [2023-11-28T20:42:18.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T20:42:19.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T20:42:19.773Z] Configure a credential helper to remove this warning. See [2023-11-28T20:42:19.773Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T20:42:19.773Z] [2023-11-28T20:42:19.773Z] Login Succeeded [2023-11-28T20:42:19.773Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T20:42:19.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T20:42:19.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:42:19.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T20:42:19.997Z] ========================================================= [2023-11-28T20:42:19.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T20:42:19.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:42:20.379Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T20:42:20.379Z] Sending build context to Docker daemon 16.35MB [2023-11-28T20:42:20.379Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:42:20.379Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T20:42:20.379Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T20:42:20.379Z] 7264a8db6415: Pulling fs layer [2023-11-28T20:42:20.379Z] c4d48a809fc2: Pulling fs layer [2023-11-28T20:42:20.379Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T20:42:20.379Z] ad3a456e5733: Pulling fs layer [2023-11-28T20:42:20.379Z] 69c7f0334f64: Pulling fs layer [2023-11-28T20:42:20.379Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T20:42:20.379Z] ce7588e14bc9: Pulling fs layer [2023-11-28T20:42:20.379Z] b5e4710f87ac: Pulling fs layer [2023-11-28T20:42:20.379Z] ad3a456e5733: Waiting [2023-11-28T20:42:20.379Z] 69c7f0334f64: Waiting [2023-11-28T20:42:20.379Z] b5e4710f87ac: Waiting [2023-11-28T20:42:20.379Z] ce7588e14bc9: Waiting [2023-11-28T20:42:20.639Z] c4d48a809fc2: Verifying Checksum [2023-11-28T20:42:20.639Z] c4d48a809fc2: Download complete [2023-11-28T20:42:20.639Z] ad3a456e5733: Verifying Checksum [2023-11-28T20:42:20.639Z] ad3a456e5733: Download complete [2023-11-28T20:42:20.639Z] 69c7f0334f64: Download complete [2023-11-28T20:42:20.639Z] 7264a8db6415: Verifying Checksum [2023-11-28T20:42:20.639Z] 7264a8db6415: Download complete [2023-11-28T20:42:20.639Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T20:42:20.639Z] 1f1c1a5573a3: Download complete [2023-11-28T20:42:20.639Z] 7264a8db6415: Pull complete [2023-11-28T20:42:20.898Z] b5e4710f87ac: Verifying Checksum [2023-11-28T20:42:20.898Z] b5e4710f87ac: Download complete [2023-11-28T20:42:20.898Z] c4d48a809fc2: Pull complete [2023-11-28T20:42:20.898Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T20:42:20.898Z] 4f1c88b9dad5: Download complete [2023-11-28T20:42:21.465Z] ce7588e14bc9: Verifying Checksum [2023-11-28T20:42:21.465Z] ce7588e14bc9: Download complete [2023-11-28T20:42:24.000Z] 4f1c88b9dad5: Pull complete [2023-11-28T20:42:24.000Z] ad3a456e5733: Pull complete [2023-11-28T20:42:24.258Z] 69c7f0334f64: Pull complete [2023-11-28T20:42:24.258Z] 1f1c1a5573a3: Pull complete [2023-11-28T20:42:26.787Z] ce7588e14bc9: Pull complete [2023-11-28T20:42:27.046Z] b5e4710f87ac: Pull complete [2023-11-28T20:42:27.046Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T20:42:27.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T20:42:27.046Z] ---> 88b5674ff536 [2023-11-28T20:42:27.046Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:42:31.235Z] ---> Running in d22ae383ac8a [2023-11-28T20:42:31.494Z] Removing intermediate container d22ae383ac8a [2023-11-28T20:42:31.494Z] ---> 8647686dce0a [2023-11-28T20:42:31.494Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:42:31.494Z] ---> Running in 838ad3a34903 [2023-11-28T20:42:31.494Z] Removing intermediate container 838ad3a34903 [2023-11-28T20:42:31.494Z] ---> af8e1b62935e [2023-11-28T20:42:31.494Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:42:31.494Z] ---> Running in 85c9f14105b8 [2023-11-28T20:42:31.494Z] Removing intermediate container 85c9f14105b8 [2023-11-28T20:42:31.494Z] ---> fa00c196e5b0 [2023-11-28T20:42:31.494Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:42:31.494Z] ---> Running in 70819a794740 [2023-11-28T20:42:31.752Z] Removing intermediate container 70819a794740 [2023-11-28T20:42:31.752Z] ---> f235091998ec [2023-11-28T20:42:31.752Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:42:31.752Z] ---> Running in 5bdc5eaaf7bc [2023-11-28T20:42:32.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:42:32.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:42:32.578Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T20:42:32.578Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T20:42:32.578Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T20:42:32.578Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T20:42:32.578Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:42:32.578Z] OK: 268 MiB in 56 packages [2023-11-28T20:42:32.836Z] Removing intermediate container 5bdc5eaaf7bc [2023-11-28T20:42:32.836Z] ---> a9378822c7bc [2023-11-28T20:42:32.836Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-28T20:42:33.095Z] ---> Running in ce35b750be97 [2023-11-28T20:42:33.095Z] Removing intermediate container ce35b750be97 [2023-11-28T20:42:33.095Z] ---> 6570f98cf0fd [2023-11-28T20:42:33.095Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T20:42:33.095Z] ---> 0650b1ce32c7 [2023-11-28T20:42:33.095Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:42:33.095Z] ---> Running in 9d65e4abe237 [2023-11-28T20:42:33.170Z] Still waiting to schedule task [2023-11-28T20:42:33.171Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T20:43:23.106Z] Removing intermediate container 9d65e4abe237 [2023-11-28T20:43:23.106Z] ---> 84b532b5fa1c [2023-11-28T20:43:23.106Z] Step 11/12 : COPY . . [2023-11-28T20:43:23.106Z] ---> 1d6b327a437a [2023-11-28T20:43:23.106Z] Step 12/12 : RUN $MAKE [2023-11-28T20:43:23.106Z] ---> Running in feb61de2a32b [2023-11-28T20:43:23.106Z] noop [2023-11-28T20:43:23.106Z] Removing intermediate container feb61de2a32b [2023-11-28T20:43:23.106Z] ---> c60481de589e [2023-11-28T20:43:23.106Z] Successfully built c60481de589e [2023-11-28T20:43:23.106Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:43:23.483Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T20:43:23.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:43:23.609Z] prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container [2023-11-28T20:43:23.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T20:43:23.994Z] $ docker top ff51338e08cee8fd069865878a1378fd5da4b7215071e9cff2d1fe3f5f795cd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:43:24.376Z] + go version [2023-11-28T20:43:24.376Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T20:43:24.392Z] $ docker stop --time=1 ff51338e08cee8fd069865878a1378fd5da4b7215071e9cff2d1fe3f5f795cd9 [2023-11-28T20:43:25.649Z] $ docker rm -f --volumes ff51338e08cee8fd069865878a1378fd5da4b7215071e9cff2d1fe3f5f795cd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:43:26.262Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T20:43:26.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:43:26.383Z] prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container [2023-11-28T20:43:26.418Z] $ 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-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T20:43:26.746Z] $ docker top 54c252f31d0e35455bb5c6c22a5f59fcbaf2fcbc21533c3d53ca914f1ef655cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T20:43:27.125Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] fileExists [Pipeline] sh [2023-11-28T20:43:27.453Z] + make test [2023-11-28T20:43:27.453Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T20:43:28.830Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-28T20:43:38.796Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-28T20:43:38.796Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-11-28T20:43:45.354Z] go vet ./... [2023-11-28T20:43:47.881Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T20:43:47.881Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T20:43:47.881Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T20:43:48.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T20:43:48.201Z] $ docker stop --time=1 54c252f31d0e35455bb5c6c22a5f59fcbaf2fcbc21533c3d53ca914f1ef655cf [2023-11-28T20:43:51.396Z] $ docker rm -f --volumes 54c252f31d0e35455bb5c6c22a5f59fcbaf2fcbc21533c3d53ca914f1ef655cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T20:43:51.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T20:43:51.947Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T20:43:52.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T20:43:52.948Z] + ls -al . [2023-11-28T20:43:52.948Z] total 180 [2023-11-28T20:43:52.948Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:43 . [2023-11-28T20:43:52.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:41 .. [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 20:41 .dockerignore [2023-11-28T20:43:52.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:43 .git [2023-11-28T20:43:52.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:41 .github [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:41 .gitignore [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:41 .golangci.yml [2023-11-28T20:43:52.948Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:42 .semver [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 20:41 Attribution.txt [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 20:41 CHANGELOG.md [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 20:41 Dockerfile [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:41 GOVERNANCE.md [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 20:41 Jenkinsfile [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:41 LICENSE [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 20:41 Makefile [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:41 OWNERS.md [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 20:41 README.md [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 20:42 VERSION [2023-11-28T20:43:52.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:41 bin [2023-11-28T20:43:52.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:41 cmd [2023-11-28T20:43:52.948Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:43 coverage.out [2023-11-28T20:43:52.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:41 driver [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 20:41 go.mod [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 20:41 go.sum [2023-11-28T20:43:52.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:41 openapi [2023-11-28T20:43:52.948Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:43:53.328Z] + 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=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d --label arch=amd64 --label version=0.0.0 . [2023-11-28T20:43:53.328Z] Sending build context to Docker daemon 16.36MB [2023-11-28T20:43:53.328Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T20:43:53.328Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T20:43:53.328Z] ---> c60481de589e [2023-11-28T20:43:53.328Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T20:43:53.587Z] ---> Running in 6ef383646f62 [2023-11-28T20:43:53.587Z] Removing intermediate container 6ef383646f62 [2023-11-28T20:43:53.587Z] ---> fcb6f3ba8cf2 [2023-11-28T20:43:53.587Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T20:43:53.587Z] ---> Running in 0304d18885f6 [2023-11-28T20:43:53.587Z] Removing intermediate container 0304d18885f6 [2023-11-28T20:43:53.587Z] ---> b32ec9b88dc4 [2023-11-28T20:43:53.587Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T20:43:53.587Z] ---> Running in cc31c281fc9c [2023-11-28T20:43:53.846Z] Removing intermediate container cc31c281fc9c [2023-11-28T20:43:53.846Z] ---> aef91ac12277 [2023-11-28T20:43:53.846Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T20:43:53.846Z] ---> Running in c8b248ab1a97 [2023-11-28T20:43:53.846Z] Removing intermediate container c8b248ab1a97 [2023-11-28T20:43:53.846Z] ---> aba275fd2023 [2023-11-28T20:43:53.846Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T20:43:53.846Z] ---> Running in dab0b7f3a51a [2023-11-28T20:43:54.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:43:54.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:43:54.624Z] OK: 268 MiB in 56 packages [2023-11-28T20:43:54.884Z] Removing intermediate container dab0b7f3a51a [2023-11-28T20:43:54.884Z] ---> 8f23432577a3 [2023-11-28T20:43:54.884Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-28T20:43:55.144Z] ---> Running in 5116ee0a2559 [2023-11-28T20:43:55.144Z] Removing intermediate container 5116ee0a2559 [2023-11-28T20:43:55.144Z] ---> 6a41afd1cd43 [2023-11-28T20:43:55.144Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T20:43:55.144Z] ---> 36a75935016f [2023-11-28T20:43:55.144Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T20:43:55.144Z] ---> Running in 7126e28c288e [2023-11-28T20:43:56.091Z] Removing intermediate container 7126e28c288e [2023-11-28T20:43:56.091Z] ---> d0652cbd4519 [2023-11-28T20:43:56.091Z] Step 11/26 : COPY . . [2023-11-28T20:43:56.658Z] ---> d2e00aaf06d5 [2023-11-28T20:43:56.658Z] Step 12/26 : RUN $MAKE [2023-11-28T20:43:56.658Z] ---> Running in 195ed46ac83a [2023-11-28T20:43:56.916Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-28T20:44:19.235Z] Removing intermediate container 195ed46ac83a [2023-11-28T20:44:19.235Z] ---> eeb628852b2e [2023-11-28T20:44:19.235Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T20:44:19.235Z] 3.18: Pulling from library/alpine [2023-11-28T20:44:19.235Z] 96526aa774ef: Pulling fs layer [2023-11-28T20:44:19.235Z] 96526aa774ef: Verifying Checksum [2023-11-28T20:44:19.235Z] 96526aa774ef: Download complete [2023-11-28T20:44:19.235Z] 96526aa774ef: Pull complete [2023-11-28T20:44:19.235Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T20:44:19.235Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T20:44:19.235Z] ---> 8ca4688f4f35 [2023-11-28T20:44:19.235Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T20:44:19.235Z] ---> Running in 27b094317b0e [2023-11-28T20:44:19.235Z] Removing intermediate container 27b094317b0e [2023-11-28T20:44:19.235Z] ---> fe7c04246547 [2023-11-28T20:44:19.235Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-28T20:44:19.235Z] ---> Running in 6b4a9cc67873 [2023-11-28T20:44:19.235Z] Removing intermediate container 6b4a9cc67873 [2023-11-28T20:44:19.235Z] ---> 76f06409354c [2023-11-28T20:44:19.235Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T20:44:19.235Z] ---> Running in 1a231147ad8f [2023-11-28T20:44:19.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:44:19.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:44:19.235Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T20:44:19.235Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T20:44:19.235Z] OK: 7 MiB in 16 packages [2023-11-28T20:44:19.235Z] Removing intermediate container 1a231147ad8f [2023-11-28T20:44:19.235Z] ---> 18eea1a9a619 [2023-11-28T20:44:19.235Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-28T20:44:19.235Z] ---> Running in 484b7b6d0c4f [2023-11-28T20:44:19.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T20:44:19.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T20:44:19.235Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:44:19.235Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:44:19.235Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T20:44:19.235Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:44:19.235Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:44:19.235Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T20:44:19.235Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T20:44:19.235Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T20:44:19.235Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T20:44:19.235Z] OK: 7 MiB in 16 packages [2023-11-28T20:44:19.494Z] Removing intermediate container 484b7b6d0c4f [2023-11-28T20:44:19.494Z] ---> d9162ad75daa [2023-11-28T20:44:19.494Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-28T20:44:20.097Z] ---> 505a4a8197d3 [2023-11-28T20:44:20.097Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-28T20:44:20.357Z] ---> 55d4ef04d368 [2023-11-28T20:44:20.357Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-28T20:44:20.357Z] ---> 04f21a98d2d6 [2023-11-28T20:44:20.357Z] Step 21/26 : EXPOSE 59986 [2023-11-28T20:44:20.357Z] ---> Running in 7db1a59a7492 [2023-11-28T20:44:20.357Z] Removing intermediate container 7db1a59a7492 [2023-11-28T20:44:20.357Z] ---> 7537810cb290 [2023-11-28T20:44:20.357Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-28T20:44:20.357Z] ---> Running in 135fb4603e2a [2023-11-28T20:44:20.616Z] Removing intermediate container 135fb4603e2a [2023-11-28T20:44:20.616Z] ---> c4e8c0d22c50 [2023-11-28T20:44:20.616Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T20:44:20.616Z] ---> Running in e8c226e91784 [2023-11-28T20:44:20.616Z] Removing intermediate container e8c226e91784 [2023-11-28T20:44:20.616Z] ---> af12c70873f0 [2023-11-28T20:44:20.616Z] Step 24/26 : LABEL arch=amd64 [2023-11-28T20:44:20.616Z] ---> Running in 771858d5a2a4 [2023-11-28T20:44:20.616Z] Removing intermediate container 771858d5a2a4 [2023-11-28T20:44:20.616Z] ---> 352776401ad5 [2023-11-28T20:44:20.616Z] Step 25/26 : LABEL git_sha=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [2023-11-28T20:44:20.875Z] ---> Running in 62aa51d5105c [2023-11-28T20:44:20.875Z] Removing intermediate container 62aa51d5105c [2023-11-28T20:44:20.875Z] ---> eebffde507e7 [2023-11-28T20:44:20.875Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T20:44:20.875Z] ---> Running in 18998d9af43c [2023-11-28T20:44:20.875Z] Removing intermediate container 18998d9af43c [2023-11-28T20:44:20.875Z] ---> ea96c6ce4401 [2023-11-28T20:44:20.875Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T20:44:20.875Z] Successfully built ea96c6ce4401 [2023-11-28T20:44:20.875Z] 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-11-28T20:44:21.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:44:21.638Z] [2023-11-28T20:44:21.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T20:44:21.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:44:21.964Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T20:44:21.964Z] 5eb5b503b376: Pulling fs layer [2023-11-28T20:44:21.964Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T20:44:21.964Z] ec43610c2a17: Pulling fs layer [2023-11-28T20:44:21.964Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T20:44:21.964Z] 33b1e0a273af: Pulling fs layer [2023-11-28T20:44:21.964Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T20:44:21.964Z] 2f39f015ded8: Pulling fs layer [2023-11-28T20:44:21.964Z] 3a2ae6a8a46f: Waiting [2023-11-28T20:44:21.964Z] 33b1e0a273af: Waiting [2023-11-28T20:44:21.964Z] 5d3b04190fa2: Waiting [2023-11-28T20:44:21.964Z] 2f39f015ded8: Waiting [2023-11-28T20:44:21.964Z] 5c69ac0246d0: Verifying Checksum [2023-11-28T20:44:21.964Z] 5c69ac0246d0: Download complete [2023-11-28T20:44:21.964Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T20:44:21.964Z] 3a2ae6a8a46f: Download complete [2023-11-28T20:44:21.964Z] 33b1e0a273af: Verifying Checksum [2023-11-28T20:44:21.964Z] 33b1e0a273af: Download complete [2023-11-28T20:44:21.964Z] 5d3b04190fa2: Download complete [2023-11-28T20:44:21.964Z] ec43610c2a17: Verifying Checksum [2023-11-28T20:44:21.964Z] ec43610c2a17: Download complete [2023-11-28T20:44:22.223Z] 5eb5b503b376: Verifying Checksum [2023-11-28T20:44:22.223Z] 5eb5b503b376: Download complete [2023-11-28T20:44:22.789Z] 2f39f015ded8: Download complete [2023-11-28T20:44:23.362Z] 5eb5b503b376: Pull complete [2023-11-28T20:44:23.621Z] 5c69ac0246d0: Pull complete [2023-11-28T20:44:23.881Z] ec43610c2a17: Pull complete [2023-11-28T20:44:23.881Z] 3a2ae6a8a46f: Pull complete [2023-11-28T20:44:24.140Z] 33b1e0a273af: Pull complete [2023-11-28T20:44:24.399Z] 5d3b04190fa2: Pull complete [2023-11-28T20:44:28.584Z] 2f39f015ded8: Pull complete [2023-11-28T20:44:28.584Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T20:44:28.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T20:44:28.584Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T20:44:28.797Z] prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container [2023-11-28T20:44:28.833Z] $ 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-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@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-11-28T20:44:33.368Z] $ docker top 2990f72daa71b904b0abc01e0e6b84d10396f8d23b44d6938d6ff325d082a483 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T20:44:33.801Z] ---> job-cost.sh [2023-11-28T20:44:33.801Z] lf-activate-venv: SKIPPING [2023-11-28T20:44:33.801Z] INFO: No Stack... [2023-11-28T20:44:34.059Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T20:44:34.319Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T20:44:34.609Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-370/archives/cost.csv [2023-11-28T20:44:34.609Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T20:44:34.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [2023-11-28T20:44:34.629Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] did not exist. Created. [2023-11-28T20:44:34.629Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T20:44:34.991Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T20:44:35.014Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T20:44:35.047Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T20:44:35.128Z] $ docker stop --time=1 2990f72daa71b904b0abc01e0e6b84d10396f8d23b44d6938d6ff325d082a483 [2023-11-28T20:44:36.262Z] $ docker rm -f --volumes 2990f72daa71b904b0abc01e0e6b84d10396f8d23b44d6938d6ff325d082a483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T22:06:56.057Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8880 in /w/workspace/gexfoundry_device-rest-go_PR-370 [Pipeline] { [Pipeline] ws [2023-11-28T22:06:56.099Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-11-28T22:06:59.179Z] The recommended git tool is: git [2023-11-28T22:07:04.488Z] using credential edgex-jenkins-ssh [2023-11-28T22:07:04.506Z] Cloning the remote Git repository [2023-11-28T22:07:04.547Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T22:07:04.634Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-11-28T22:07:04.764Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T22:07:04.765Z] > git --version # timeout=10 [2023-11-28T22:07:04.781Z] > git --version # 'git version 2.25.1' [2023-11-28T22:07:04.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T22:07:04.927Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T22:07:07.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-28T22:07:07.530Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T22:07:08.997Z] Merging remotes/origin/main commit 0e4c43928dd74877e01497a451c4b89b2b600e8c into PR head commit a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [2023-11-28T22:07:09.256Z] Merge succeeded, producing a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [2023-11-28T22:07:09.256Z] Checking out Revision a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d (PR-370) [2023-11-28T22:07:08.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-28T22:07:08.409Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-28T22:07:08.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T22:07:08.425Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T22:07:09.017Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T22:07:09.085Z] > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # timeout=10 [2023-11-28T22:07:09.162Z] > git remote # timeout=10 [2023-11-28T22:07:09.182Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T22:07:09.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T22:07:09.215Z] > git merge 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 [2023-11-28T22:07:09.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T22:07:09.262Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T22:07:09.282Z] > git checkout -f a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d # timeout=10 [2023-11-28T22:07:09.789Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T22:07:10.907Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T22:07:10.907Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T22:07:10.907Z] Dload Upload Total Spent Left Speed [2023-11-28T22:07:10.907Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh [2023-11-28T22:07:11.263Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T22:07:11.603Z] + sudo tee /etc/docker/daemon.new [2023-11-28T22:07:11.603Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T22:07:11.603Z] { [2023-11-28T22:07:11.603Z] "registry-mirrors": [ [2023-11-28T22:07:11.603Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T22:07:11.603Z] ], [2023-11-28T22:07:11.603Z] "bip": "10.250.0.254/24", [2023-11-28T22:07:11.603Z] "hosts": [ [2023-11-28T22:07:11.603Z] "tcp://0.0.0.0:5555", [2023-11-28T22:07:11.603Z] "unix:///var/run/docker.sock" [2023-11-28T22:07:11.603Z] ], [2023-11-28T22:07:11.603Z] "mtu": 1458, [2023-11-28T22:07:11.603Z] "selinux-enabled": true, [2023-11-28T22:07:11.603Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T22:07:11.603Z] } [Pipeline] sh [2023-11-28T22:07:11.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T22:07:12.307Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T22:07:30.649Z] provisioning config files... [2023-11-28T22:07:30.676Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config17146510924805157189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:07:31.131Z] ---> ****-login.sh [2023-11-28T22:07:31.131Z] nexus3.edgexfoundry.org:10001 [2023-11-28T22:07:31.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T22:07:31.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T22:07:31.671Z] Configure a credential helper to remove this warning. See [2023-11-28T22:07:31.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T22:07:31.671Z] [2023-11-28T22:07:31.671Z] Login Succeeded [2023-11-28T22:07:31.671Z] nexus3.edgexfoundry.org:10002 [2023-11-28T22:07:31.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T22:07:31.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T22:07:31.947Z] Configure a credential helper to remove this warning. See [2023-11-28T22:07:31.947Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T22:07:31.947Z] [2023-11-28T22:07:31.947Z] Login Succeeded [2023-11-28T22:07:32.218Z] nexus3.edgexfoundry.org:10003 [2023-11-28T22:07:32.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T22:07:32.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T22:07:32.487Z] Configure a credential helper to remove this warning. See [2023-11-28T22:07:32.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T22:07:32.487Z] [2023-11-28T22:07:32.487Z] Login Succeeded [2023-11-28T22:07:32.487Z] nexus3.edgexfoundry.org:10004 [2023-11-28T22:07:32.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T22:07:32.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T22:07:32.755Z] Configure a credential helper to remove this warning. See [2023-11-28T22:07:32.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T22:07:32.755Z] [2023-11-28T22:07:32.755Z] Login Succeeded [2023-11-28T22:07:32.755Z] ****.io [2023-11-28T22:07:33.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T22:07:33.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T22:07:33.289Z] Configure a credential helper to remove this warning. See [2023-11-28T22:07:33.289Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T22:07:33.289Z] [2023-11-28T22:07:33.289Z] Login Succeeded [2023-11-28T22:07:33.289Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T22:07:33.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T22:07:33.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T22:07:33.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T22:07:33.744Z] ========================================================= [2023-11-28T22:07:33.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T22:07:33.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T22:07:34.202Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T22:07:34.202Z] Sending build context to Docker daemon 127.5kB [2023-11-28T22:07:34.472Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T22:07:34.472Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T22:07:34.472Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T22:07:34.472Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T22:07:34.472Z] 5d54e960e981: Pulling fs layer [2023-11-28T22:07:34.472Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T22:07:34.472Z] f0e02332f6b5: Pulling fs layer [2023-11-28T22:07:34.472Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T22:07:34.472Z] 872ee5b61b7b: Waiting [2023-11-28T22:07:34.472Z] f0e02332f6b5: Waiting [2023-11-28T22:07:34.472Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T22:07:34.472Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T22:07:34.472Z] 0c6a40ed1a82: Waiting [2023-11-28T22:07:34.472Z] 94ae7d8d031c: Waiting [2023-11-28T22:07:34.472Z] 5d54e960e981: Verifying Checksum [2023-11-28T22:07:34.472Z] 5d54e960e981: Download complete [2023-11-28T22:07:34.743Z] f0e02332f6b5: Verifying Checksum [2023-11-28T22:07:34.743Z] f0e02332f6b5: Download complete [2023-11-28T22:07:34.743Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T22:07:34.743Z] 872ee5b61b7b: Download complete [2023-11-28T22:07:34.743Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T22:07:34.743Z] 9fda8d8052c6: Download complete [2023-11-28T22:07:35.334Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T22:07:35.334Z] 94ae7d8d031c: Download complete [2023-11-28T22:07:35.609Z] 9fda8d8052c6: Pull complete [2023-11-28T22:07:36.216Z] 5d54e960e981: Pull complete [2023-11-28T22:07:36.483Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T22:07:36.483Z] c4a7e357bf2a: Download complete [2023-11-28T22:07:37.456Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T22:07:37.456Z] 0c6a40ed1a82: Download complete [2023-11-28T22:07:49.792Z] c4a7e357bf2a: Pull complete [2023-11-28T22:07:49.792Z] f0e02332f6b5: Pull complete [2023-11-28T22:07:49.792Z] 872ee5b61b7b: Pull complete [2023-11-28T22:07:59.905Z] 0c6a40ed1a82: Pull complete [2023-11-28T22:08:00.893Z] 94ae7d8d031c: Pull complete [2023-11-28T22:08:01.161Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T22:08:01.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T22:08:01.161Z] ---> 86de565de09d [2023-11-28T22:08:01.161Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T22:08:02.139Z] ---> Running in 6235b4546b70 [2023-11-28T22:08:02.738Z] Removing intermediate container 6235b4546b70 [2023-11-28T22:08:02.738Z] ---> 500af96ff146 [2023-11-28T22:08:02.738Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T22:08:02.738Z] ---> Running in 1a6d5c2b856a [2023-11-28T22:08:03.010Z] Removing intermediate container 1a6d5c2b856a [2023-11-28T22:08:03.010Z] ---> 523a2acf39c8 [2023-11-28T22:08:03.010Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T22:08:03.282Z] ---> Running in 1d55081c860e [2023-11-28T22:08:03.741Z] Removing intermediate container 1d55081c860e [2023-11-28T22:08:03.741Z] ---> 2dbed3039ea4 [2023-11-28T22:08:03.741Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T22:08:03.741Z] ---> Running in 764b57e68df2 [2023-11-28T22:08:04.012Z] Removing intermediate container 764b57e68df2 [2023-11-28T22:08:04.012Z] ---> dee1917c77a2 [2023-11-28T22:08:04.012Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T22:08:04.012Z] ---> Running in 1737b2ce8356 [2023-11-28T22:08:05.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T22:08:05.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T22:08:06.649Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T22:08:06.649Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T22:08:06.649Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T22:08:06.918Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T22:08:06.918Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T22:08:06.918Z] OK: 271 MiB in 56 packages [2023-11-28T22:08:07.894Z] Removing intermediate container 1737b2ce8356 [2023-11-28T22:08:07.894Z] ---> c394bce87313 [2023-11-28T22:08:07.894Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-28T22:08:08.163Z] ---> Running in f2db1fba2993 [2023-11-28T22:08:08.489Z] Removing intermediate container f2db1fba2993 [2023-11-28T22:08:08.489Z] ---> 288ac4d2bf4b [2023-11-28T22:08:08.489Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T22:08:08.774Z] ---> af9b2cd4e662 [2023-11-28T22:08:08.774Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T22:08:09.054Z] ---> Running in ee0db2eefedc [2023-11-28T22:09:30.841Z] Removing intermediate container ee0db2eefedc [2023-11-28T22:09:30.841Z] ---> 8433888a339c [2023-11-28T22:09:30.841Z] Step 11/12 : COPY . . [2023-11-28T22:09:30.841Z] ---> cbc51cb538d1 [2023-11-28T22:09:30.841Z] Step 12/12 : RUN $MAKE [2023-11-28T22:09:30.841Z] ---> Running in 8a7eb653e3cb [2023-11-28T22:09:30.841Z] noop [2023-11-28T22:09:30.841Z] Removing intermediate container 8a7eb653e3cb [2023-11-28T22:09:30.841Z] ---> 615b89ea09f3 [2023-11-28T22:09:30.841Z] Successfully built 615b89ea09f3 [2023-11-28T22:09:30.841Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T22:09:31.301Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T22:09:31.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T22:09:31.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-8880 does not seem to be running inside a container [2023-11-28T22:09:31.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T22:09:32.959Z] $ docker top 031a76b9b838347a4c061960f44d5ea069e8f5ae114789c6a59f0e5c960bbaa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T22:09:33.851Z] + go version [2023-11-28T22:09:33.851Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T22:09:33.877Z] $ docker stop --time=1 031a76b9b838347a4c061960f44d5ea069e8f5ae114789c6a59f0e5c960bbaa3 [2023-11-28T22:09:35.509Z] $ docker rm -f --volumes 031a76b9b838347a4c061960f44d5ea069e8f5ae114789c6a59f0e5c960bbaa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T22:09:36.380Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T22:09:36.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T22:09:36.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-8880 does not seem to be running inside a container [2023-11-28T22:09:36.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T22:09:40.687Z] $ docker top 7d02cf226c70e90ed147a09601e29f1487d9a509a2d528627473b940c402d3d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T22:09:41.240Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-28T22:09:42.191Z] + make test [2023-11-28T22:09:42.191Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T22:09:46.442Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-28T22:11:23.089Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-28T22:11:23.089Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements [2023-11-28T22:11:23.089Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T22:11:23.089Z] go vet ./... [2023-11-28T22:11:49.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T22:11:49.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T22:11:49.785Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T22:11:49.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T22:11:49.866Z] $ docker stop --time=1 7d02cf226c70e90ed147a09601e29f1487d9a509a2d528627473b940c402d3d2 [2023-11-28T22:11:52.014Z] $ docker rm -f --volumes 7d02cf226c70e90ed147a09601e29f1487d9a509a2d528627473b940c402d3d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T22:11:53.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T22:11:53.567Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T22:11:54.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T22:11:54.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T22:11:55.086Z] + ls -al . [2023-11-28T22:11:55.086Z] total 176 [2023-11-28T22:11:55.086Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 22:09 . [2023-11-28T22:11:55.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 22:07 .. [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 22:07 .dockerignore [2023-11-28T22:11:55.086Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 22:07 .git [2023-11-28T22:11:55.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 22:07 .github [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 22:07 .gitignore [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 22:07 .golangci.yml [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 22:07 Attribution.txt [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 22:07 CHANGELOG.md [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 22:07 Dockerfile [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 22:07 GOVERNANCE.md [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 22:07 Jenkinsfile [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 22:07 LICENSE [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 22:07 Makefile [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 22:07 OWNERS.md [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 22:07 README.md [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 20:42 VERSION [2023-11-28T22:11:55.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 22:07 bin [2023-11-28T22:11:55.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 22:07 cmd [2023-11-28T22:11:55.086Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 22:11 coverage.out [2023-11-28T22:11:55.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 22:07 driver [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 22:07 go.mod [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 22:07 go.sum [2023-11-28T22:11:55.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 22:07 openapi [2023-11-28T22:11:55.086Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 22:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T22:11:55.511Z] + 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=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d --label arch=arm64 --label version=0.0.0 . [2023-11-28T22:11:55.511Z] Sending build context to Docker daemon 142.8kB [2023-11-28T22:11:56.093Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T22:11:56.093Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T22:11:56.093Z] ---> 615b89ea09f3 [2023-11-28T22:11:56.093Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T22:11:56.093Z] ---> Running in 38affe697e1f [2023-11-28T22:11:56.683Z] Removing intermediate container 38affe697e1f [2023-11-28T22:11:56.683Z] ---> cf93a03b2be4 [2023-11-28T22:11:56.683Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T22:11:56.683Z] ---> Running in 186b702eeac1 [2023-11-28T22:11:58.106Z] Removing intermediate container 186b702eeac1 [2023-11-28T22:11:58.106Z] ---> 0c8890df8f61 [2023-11-28T22:11:58.106Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T22:11:58.106Z] ---> Running in 7b947f0de7e9 [2023-11-28T22:11:58.387Z] Removing intermediate container 7b947f0de7e9 [2023-11-28T22:11:58.387Z] ---> 81f8c3380690 [2023-11-28T22:11:58.387Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T22:11:58.663Z] ---> Running in 3625f266461d [2023-11-28T22:12:00.076Z] Removing intermediate container 3625f266461d [2023-11-28T22:12:00.076Z] ---> 18af765a8144 [2023-11-28T22:12:00.076Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T22:12:00.367Z] ---> Running in cb019d170f5d [2023-11-28T22:12:01.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T22:12:01.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T22:12:03.344Z] OK: 271 MiB in 56 packages [2023-11-28T22:12:04.322Z] Removing intermediate container cb019d170f5d [2023-11-28T22:12:04.322Z] ---> 7f3690bdc487 [2023-11-28T22:12:04.322Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-28T22:12:04.322Z] ---> Running in 0acfaed10942 [2023-11-28T22:12:04.590Z] Removing intermediate container 0acfaed10942 [2023-11-28T22:12:04.590Z] ---> 1d25ad5275f4 [2023-11-28T22:12:04.590Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T22:12:04.859Z] ---> 874ec31a36d8 [2023-11-28T22:12:04.859Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T22:12:05.126Z] ---> Running in 96dcf2ef61e2 [2023-11-28T22:12:07.712Z] Removing intermediate container 96dcf2ef61e2 [2023-11-28T22:12:07.712Z] ---> de361a278ebc [2023-11-28T22:12:07.712Z] Step 11/26 : COPY . . [2023-11-28T22:12:07.712Z] ---> dd0d97caf4cc [2023-11-28T22:12:07.712Z] Step 12/26 : RUN $MAKE [2023-11-28T22:12:07.979Z] ---> Running in 8f7621824f65 [2023-11-28T22:12:08.939Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-28T22:14:00.918Z] Removing intermediate container 8f7621824f65 [2023-11-28T22:14:00.918Z] ---> 064ea5991b0d [2023-11-28T22:14:00.918Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T22:14:00.918Z] 3.18: Pulling from library/alpine [2023-11-28T22:14:00.918Z] 579b34f0a95b: Pulling fs layer [2023-11-28T22:14:00.918Z] 579b34f0a95b: Verifying Checksum [2023-11-28T22:14:00.918Z] 579b34f0a95b: Download complete [2023-11-28T22:14:00.918Z] 579b34f0a95b: Pull complete [2023-11-28T22:14:00.918Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T22:14:00.918Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T22:14:00.918Z] ---> 3cc203321400 [2023-11-28T22:14:00.918Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T22:14:00.918Z] ---> Running in 46ef312f3bc1 [2023-11-28T22:14:00.918Z] Removing intermediate container 46ef312f3bc1 [2023-11-28T22:14:00.918Z] ---> 7ce96551c1e7 [2023-11-28T22:14:00.918Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-28T22:14:00.918Z] ---> Running in 32945e6bb5fb [2023-11-28T22:14:00.918Z] Removing intermediate container 32945e6bb5fb [2023-11-28T22:14:00.918Z] ---> c6109a389995 [2023-11-28T22:14:00.918Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T22:14:00.918Z] ---> Running in b7cc4b286972 [2023-11-28T22:14:00.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T22:14:00.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T22:14:00.918Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T22:14:00.918Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T22:14:00.918Z] OK: 8 MiB in 16 packages [2023-11-28T22:14:01.188Z] Removing intermediate container b7cc4b286972 [2023-11-28T22:14:01.189Z] ---> 85ef5da6f7db [2023-11-28T22:14:01.189Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-28T22:14:01.189Z] ---> Running in 4259284b2b20 [2023-11-28T22:14:02.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T22:14:02.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T22:14:03.720Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T22:14:03.720Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T22:14:03.720Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T22:14:03.720Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T22:14:03.720Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T22:14:03.990Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T22:14:03.990Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T22:14:03.990Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T22:14:03.990Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T22:14:03.990Z] OK: 8 MiB in 16 packages [2023-11-28T22:14:04.961Z] Removing intermediate container 4259284b2b20 [2023-11-28T22:14:04.961Z] ---> b6f1e9e1d4c3 [2023-11-28T22:14:04.961Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-28T22:14:06.905Z] ---> cc0150794c8d [2023-11-28T22:14:06.905Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-28T22:14:07.175Z] ---> 73a4bd9df074 [2023-11-28T22:14:07.175Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-28T22:14:07.764Z] ---> e8e6920d7830 [2023-11-28T22:14:07.764Z] Step 21/26 : EXPOSE 59986 [2023-11-28T22:14:07.764Z] ---> Running in 93a6d0e52f13 [2023-11-28T22:14:08.030Z] Removing intermediate container 93a6d0e52f13 [2023-11-28T22:14:08.030Z] ---> 5b2b5d39940c [2023-11-28T22:14:08.030Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-28T22:14:08.030Z] ---> Running in 9db723fe0390 [2023-11-28T22:14:08.299Z] Removing intermediate container 9db723fe0390 [2023-11-28T22:14:08.299Z] ---> 3416d11f0704 [2023-11-28T22:14:08.299Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T22:14:08.566Z] ---> Running in 96bae44b23ba [2023-11-28T22:14:08.837Z] Removing intermediate container 96bae44b23ba [2023-11-28T22:14:08.837Z] ---> e6915ca726f4 [2023-11-28T22:14:08.837Z] Step 24/26 : LABEL arch=arm64 [2023-11-28T22:14:08.837Z] ---> Running in f91e48758a23 [2023-11-28T22:14:09.106Z] Removing intermediate container f91e48758a23 [2023-11-28T22:14:09.106Z] ---> a3c5d4b1bd73 [2023-11-28T22:14:09.106Z] Step 25/26 : LABEL git_sha=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [2023-11-28T22:14:09.106Z] ---> Running in af2385123c36 [2023-11-28T22:14:09.692Z] Removing intermediate container af2385123c36 [2023-11-28T22:14:09.692Z] ---> 8d46c574dc6a [2023-11-28T22:14:09.692Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T22:14:09.692Z] ---> Running in 3900b99b1625 [2023-11-28T22:14:09.961Z] Removing intermediate container 3900b99b1625 [2023-11-28T22:14:09.961Z] ---> bc8ac3b87415 [2023-11-28T22:14:09.961Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T22:14:09.961Z] Successfully built bc8ac3b87415 [2023-11-28T22:14:09.961Z] 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-11-28T22:14:10.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T22:14:10.812Z] [2023-11-28T22:14:10.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T22:14:11.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T22:14:11.190Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T22:14:11.190Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T22:14:11.190Z] 04944245beec: Pulling fs layer [2023-11-28T22:14:11.190Z] 699f458cf7ca: Pulling fs layer [2023-11-28T22:14:11.190Z] 765212b225bb: Pulling fs layer [2023-11-28T22:14:11.190Z] f23df028b6ca: Pulling fs layer [2023-11-28T22:14:11.190Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T22:14:11.190Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T22:14:11.190Z] f23df028b6ca: Waiting [2023-11-28T22:14:11.190Z] 765212b225bb: Waiting [2023-11-28T22:14:11.190Z] d65c8cfc05b1: Waiting [2023-11-28T22:14:11.190Z] 2437ff75d9bd: Waiting [2023-11-28T22:14:11.457Z] 04944245beec: Verifying Checksum [2023-11-28T22:14:11.457Z] 04944245beec: Download complete [2023-11-28T22:14:11.457Z] 765212b225bb: Verifying Checksum [2023-11-28T22:14:11.457Z] 765212b225bb: Download complete [2023-11-28T22:14:11.457Z] f23df028b6ca: Verifying Checksum [2023-11-28T22:14:11.457Z] f23df028b6ca: Download complete [2023-11-28T22:14:11.457Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T22:14:11.457Z] d65c8cfc05b1: Download complete [2023-11-28T22:14:11.727Z] 699f458cf7ca: Verifying Checksum [2023-11-28T22:14:11.727Z] 699f458cf7ca: Download complete [2023-11-28T22:14:11.998Z] 8998bd30e6a1: Download complete [2023-11-28T22:14:16.065Z] 8998bd30e6a1: Pull complete [2023-11-28T22:14:16.651Z] 04944245beec: Pull complete [2023-11-28T22:14:18.600Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T22:14:18.600Z] 2437ff75d9bd: Download complete [2023-11-28T22:14:18.600Z] 699f458cf7ca: Pull complete [2023-11-28T22:14:18.870Z] 765212b225bb: Pull complete [2023-11-28T22:14:19.832Z] f23df028b6ca: Pull complete [2023-11-28T22:14:20.098Z] d65c8cfc05b1: Pull complete [2023-11-28T22:14:38.308Z] 2437ff75d9bd: Pull complete [2023-11-28T22:14:38.308Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T22:14:38.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T22:14:38.308Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T22:14:38.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-8880 does not seem to be running inside a container [2023-11-28T22:14:38.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T22:14:41.596Z] $ docker top 618db278ca85c48716180de8bcd8f187e4043a0e5db01c01078149a06904107f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:42.538Z] ---> job-cost.sh [2023-11-28T22:14:42.539Z] lf-activate-venv: SKIPPING [2023-11-28T22:14:42.539Z] INFO: No Stack... [2023-11-28T22:14:42.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T22:14:43.784Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T22:14:44.429Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-11-28T22:14:44.430Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T22:14:44.490Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [2023-11-28T22:14:44.495Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] did not exist. Created. [2023-11-28T22:14:44.495Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T22:14:45.218Z] /w/workspace/device-rest-go/2@tmp/durable-2efed744/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T22:14:45.860Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T22:14:45.919Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T22:14:45.974Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T22:14:45.981Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-370-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T22:14:46.078Z] $ docker stop --time=1 618db278ca85c48716180de8bcd8f187e4043a0e5db01c01078149a06904107f [2023-11-28T22:14:47.591Z] $ docker rm -f --volumes 618db278ca85c48716180de8bcd8f187e4043a0e5db01c01078149a06904107f [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-11-28T22:14:48.675Z] provisioning config files... [2023-11-28T22:14:48.684Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config11293041281252297556tmp [Pipeline] { [Pipeline] sh [2023-11-28T22:14:49.048Z] + set +x [2023-11-28T22:14:49.048Z] + + curlbash -s -s https://codecov.io/bash -- [2023-11-28T22:14:49.048Z] [2023-11-28T22:14:49.048Z] [2023-11-28T22:14:49.048Z] _____ _ [2023-11-28T22:14:49.048Z] / ____| | | [2023-11-28T22:14:49.048Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T22:14:49.048Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T22:14:49.048Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T22:14:49.048Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T22:14:49.048Z] Bash-1.0.6 [2023-11-28T22:14:49.048Z] [2023-11-28T22:14:49.048Z] [2023-11-28T22:14:49.048Z] ==> git version 2.25.1 found [2023-11-28T22:14:49.048Z] ==> 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-11-28T22:14:49.048Z] Release-Date: 2020-01-08 [2023-11-28T22:14:49.048Z] 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-11-28T22:14:49.048Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T22:14:49.048Z] ==> Jenkins CI detected. [2023-11-28T22:14:49.048Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-370 [2023-11-28T22:14:49.048Z] project root: . [2023-11-28T22:14:49.048Z] --> token set from env [2023-11-28T22:14:49.048Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T22:14:49.048Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T22:14:49.048Z] ==> Python coveragepy not found [2023-11-28T22:14:49.048Z] ==> Searching for coverage reports in: [2023-11-28T22:14:49.048Z] + . [2023-11-28T22:14:49.308Z] -> Found 1 reports [2023-11-28T22:14:49.308Z] ==> Detecting git/mercurial file structure [2023-11-28T22:14:49.308Z] ==> Reading reports [2023-11-28T22:14:49.308Z] + ./coverage.out bytes=14499 [2023-11-28T22:14:49.308Z] ==> Appending adjustments [2023-11-28T22:14:49.308Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T22:14:49.308Z] + Found adjustments [2023-11-28T22:14:49.308Z] ==> Gzipping contents [2023-11-28T22:14:49.308Z] 4.0K /tmp/codecov.TvdBy0.gz [2023-11-28T22:14:49.308Z] ==> Uploading reports [2023-11-28T22:14:49.308Z] url: https://codecov.io [2023-11-28T22:14:49.308Z] query: branch=PR-370&commit=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-370%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=370&job=&cmd_args= [2023-11-28T22:14:49.308Z] -> Pinging Codecov [2023-11-28T22:14:49.308Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-370&commit=a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-370%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=370&job=&cmd_args= [2023-11-28T22:14:49.571Z] -> Uploading to [2023-11-28T22:14:49.571Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/4E5D53B4F1F92C436F7061BF334D961C/a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d/e6818b4e-6524-462a-9a0e-8e44a34d738d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T221449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7080031cd2caeb5aab356acdc4a26dca7f1676c4d40b79f69c07e810c756f55f [2023-11-28T22:14:49.571Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T22:14:49.571Z] Dload Upload Total Spent Left Speed [2023-11-28T22:14:49.832Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10550 --:--:-- --:--:-- --:--:-- 10502 100 2321 0 0 100 2321 0 9173 --:--:-- --:--:-- --:--:-- 9137 [2023-11-28T22:14:49.832Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a0b8a7ee54201af1c5cbd8d70d5bf6e8f1bad43d [Pipeline] } [2023-11-28T22:14:49.841Z] 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-11-28T22:14:51.685Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-370/archives ] [2023-11-28T22:14:51.685Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-370/archives [2023-11-28T22:14:51.685Z] total 16 [2023-11-28T22:14:51.685Z] drwxr-xr-x 3 root root 4096 Nov 28 20:44 . [2023-11-28T22:14:51.685Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:44 .. [2023-11-28T22:14:51.685Z] drwxr-xr-x 2 root root 4096 Nov 28 20:44 cost [2023-11-28T22:14:51.685Z] -rw-r--r-- 1 root root 86 Nov 28 20:44 cost.csv [2023-11-28T22:14:51.685Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-370/archives [2023-11-28T22:14:51.685Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-370/archives [2023-11-28T22:14:51.685Z] total 16 [2023-11-28T22:14:51.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:44 . [2023-11-28T22:14:51.685Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:44 .. [2023-11-28T22:14:51.685Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:44 cost [2023-11-28T22:14:51.685Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 28 20:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:51.980Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:52.842Z] ---> package-listing.sh [2023-11-28T22:14:52.842Z] ++ facter osfamily [2023-11-28T22:14:52.842Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T22:14:53.101Z] + OS_FAMILY=debian [2023-11-28T22:14:53.101Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-370 [2023-11-28T22:14:53.101Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T22:14:53.101Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T22:14:53.101Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T22:14:53.101Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T22:14:53.101Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-370 ']' [2023-11-28T22:14:53.101Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T22:14:53.101Z] + case "${OS_FAMILY}" in [2023-11-28T22:14:53.101Z] + dpkg -l [2023-11-28T22:14:53.101Z] + grep '^ii' [2023-11-28T22:14:53.101Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T22:14:53.101Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T22:14:53.101Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T22:14:53.101Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-370 ']' [2023-11-28T22:14:53.101Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-370/archives/ [2023-11-28T22:14:53.101Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-370/archives/ [Pipeline] echo [2023-11-28T22:14:53.109Z] 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-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T22:14:53.385Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T22:14:53.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T22:14:53.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T22:14:54.146Z] prd-ubuntu20.04-docker-8c-8g-5772 does not seem to be running inside a container [2023-11-28T22:14:54.181Z] $ 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-370/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-370 -v /w/workspace/gexfoundry_device-rest-go_PR-370:/w/workspace/gexfoundry_device-rest-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-370@tmp:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T22:14:54.360Z] $ docker top 43eb930a241a2526955e16592afdd0e61dc51ec95c0ee14d6a67f57ec8b3a9d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T22:14:54.778Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T22:14:55.061Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T22:14:55.346Z] + ls /var/log/sa-host [2023-11-28T22:14:55.346Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T22:14:55.451Z] provisioning config files... [2023-11-28T22:14:55.460Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-370@tmp/config9502810850417095742tmp [Pipeline] { [Pipeline] echo [2023-11-28T22:14:55.540Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:55.828Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T22:14:55.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:56.242Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T22:14:56.251Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:56.535Z] ---> sudo-logs.sh [2023-11-28T22:14:56.535Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T22:14:56.604Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:56.891Z] ---> job-cost.sh [2023-11-28T22:14:56.891Z] lf-activate-venv: SKIPPING [2023-11-28T22:14:56.891Z] DEBUG: total: 0.2199999988079071 [2023-11-28T22:14:56.891Z] INFO: Retrieving Stack Cost... [2023-11-28T22:14:57.458Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T22:14:57.719Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T22:14:57.730Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T22:14:58.015Z] ---> logs-deploy.sh [2023-11-28T22:14:58.015Z] lf-activate-venv: SKIPPING [2023-11-28T22:14:58.015Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-370/2 [2023-11-28T22:14:58.015Z] INFO: archiving workspace using pattern(s): [2023-11-28T22:14:58.952Z] Archives upload complete. [2023-11-28T22:14:58.952Z] INFO: archiving logs to Nexus