Pull request #364 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 41c1ef57410c6681f03d0987537b86c091ab4d75+549007a9ae6a647223285151eabca3507ba312e0 (8bb905942f2a4d41577d69b35cf6d6e776d36f32) 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-ssh6466753942301398786.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10415541333790816880.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11180624002033555332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3543320788063172339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10234693758609211127.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10668268694640075248.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17057’ is offline ‘prd-ubuntu20.04-docker-8c-8g-17059’ is offline ‘prd-ubuntu20.04-docker-8c-8g-17060’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17062 in /w/workspace/gexfoundry_device-rest-go_PR-364 [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-364 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 41c1ef57410c6681f03d0987537b86c091ab4d75 Merge succeeded, producing 41c1ef57410c6681f03d0987537b86c091ab4d75 Checking out Revision 41c1ef57410c6681f03d0987537b86c091ab4d75 (PR-364) > git config core.sparsecheckout # timeout=10 > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # 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 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # timeout=10 Commit message: "build: Update go mod for Napa" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T18:51:02.493Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T18:51:02.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T18:51:02.797Z] ========================================================= [2023-11-08T18:51:02.797Z] EdgeX Global Pipelines Version Info [2023-11-08T18:51:02.798Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:51:03.655Z] ------------------- [2023-11-08T18:51:03.655Z] stable info: [2023-11-08T18:51:03.655Z] ------------------- [2023-11-08T18:51:03.655Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T18:51:03.655Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:51:03.655Z] Message: update stable to v1.0.257 [2023-11-08T18:51:04.223Z] ------------------- [2023-11-08T18:51:04.223Z] experimental info: [2023-11-08T18:51:04.223Z] ------------------- [2023-11-08T18:51:04.223Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T18:51:04.223Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:51:04.223Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T18:51:04.520Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-08T18:51:04.561Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-08T18:51:04.599Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T18:51:04.646Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T18:51:04.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T18:51:04.739Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T18:51:04.786Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T18:51:04.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T18:51:04.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T18:51:04.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T18:51:05.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T18:51:05.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-08T18:51:05.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T18:51:05.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T18:51:05.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:51:05.261Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:51:05.306Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:51:05.349Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:51:05.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T18:51:05.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T18:51:05.474Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T18:51:05.520Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T18:51:05.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T18:51:05.611Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T18:51:05.672Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T18:51:05.823Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T18:51:05.870Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T18:51:05.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-364 [Pipeline] echo [2023-11-08T18:51:05.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-364 [Pipeline] echo [2023-11-08T18:51:06.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-364 [Pipeline] echo [2023-11-08T18:51:06.058Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo [2023-11-08T18:51:06.099Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41c1ef5 [Pipeline] echo [2023-11-08T18:51:06.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:51:06.289Z] provisioning config files... [2023-11-08T18:51:06.304Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config352376861524664225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:51:06.660Z] ---> docker-login.sh [2023-11-08T18:51:06.660Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:51:08.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:08.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:08.039Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:08.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:08.039Z] [2023-11-08T18:51:08.039Z] Login Succeeded [2023-11-08T18:51:08.039Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:51:08.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:08.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:08.298Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:08.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:08.298Z] [2023-11-08T18:51:08.298Z] Login Succeeded [2023-11-08T18:51:08.298Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:51:08.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:08.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:08.298Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:08.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:08.298Z] [2023-11-08T18:51:08.298Z] Login Succeeded [2023-11-08T18:51:08.298Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:51:08.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:08.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:08.298Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:08.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:08.298Z] [2023-11-08T18:51:08.298Z] Login Succeeded [2023-11-08T18:51:08.298Z] docker.io [2023-11-08T18:51:08.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:08.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:08.819Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:08.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:08.819Z] [2023-11-08T18:51:08.819Z] Login Succeeded [2023-11-08T18:51:08.819Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:51:08.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T18:51:09.457Z] + git rev-list -1 --merges 41c1ef57410c6681f03d0987537b86c091ab4d75~1..41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo [2023-11-08T18:51:09.522Z] -----------> git rev-list -1 --merges 41c1ef57410c6681f03d0987537b86c091ab4d75~1..41c1ef57410c6681f03d0987537b86c091ab4d75 41c1ef57410c6681f03d0987537b86c091ab4d75 [false] [Pipeline] sh [2023-11-08T18:51:09.835Z] + git log --format=format:%s -1 41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo [2023-11-08T18:51:09.874Z] ========================================================= [2023-11-08T18:51:09.875Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:51:09.875Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:51:10.344Z] + git log --format=format:%s -1 41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] echo [2023-11-08T18:51:10.377Z] [semverPrep] GIT_COMMIT: 41c1ef57410c6681f03d0987537b86c091ab4d75, Commit Message: build: Update go mod for Napa [Pipeline] echo [2023-11-08T18:51:10.409Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T18:51:10.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:51:10.798Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T18:51:10.798Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T18:51:10.798Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T18:51:10.798Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T18:51:10.798Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T18:51:10.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:51:11.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:51:11.229Z] [2023-11-08T18:51:11.229Z] 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-08T18:51:11.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:51:11.608Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T18:51:11.608Z] b85a868b505f: Pulling fs layer [2023-11-08T18:51:11.608Z] e2be974225ed: Pulling fs layer [2023-11-08T18:51:11.608Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T18:51:11.608Z] 988bab9f4d93: Pulling fs layer [2023-11-08T18:51:11.608Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T18:51:11.608Z] eaf3925da568: Pulling fs layer [2023-11-08T18:51:11.608Z] bab4dde63d76: Pulling fs layer [2023-11-08T18:51:11.608Z] bde34c3a00c8: Pulling fs layer [2023-11-08T18:51:11.608Z] b352a97aabf1: Pulling fs layer [2023-11-08T18:51:11.608Z] 4872d77fe225: Pulling fs layer [2023-11-08T18:51:11.608Z] 5851b861e8e6: Pulling fs layer [2023-11-08T18:51:11.608Z] 4872d77fe225: Waiting [2023-11-08T18:51:11.608Z] 5851b861e8e6: Waiting [2023-11-08T18:51:11.608Z] b352a97aabf1: Waiting [2023-11-08T18:51:11.608Z] 988bab9f4d93: Waiting [2023-11-08T18:51:11.608Z] bab4dde63d76: Waiting [2023-11-08T18:51:11.608Z] bde34c3a00c8: Waiting [2023-11-08T18:51:11.608Z] 1469e6f7b9e6: Waiting [2023-11-08T18:51:11.608Z] eaf3925da568: Waiting [2023-11-08T18:51:11.608Z] e2be974225ed: Download complete [2023-11-08T18:51:11.608Z] 988bab9f4d93: Verifying Checksum [2023-11-08T18:51:11.608Z] 988bab9f4d93: Download complete [2023-11-08T18:51:11.608Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T18:51:11.608Z] 1469e6f7b9e6: Download complete [2023-11-08T18:51:11.870Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T18:51:11.870Z] 339a4e72a1f5: Download complete [2023-11-08T18:51:11.870Z] eaf3925da568: Download complete [2023-11-08T18:51:11.870Z] bde34c3a00c8: Download complete [2023-11-08T18:51:11.870Z] b352a97aabf1: Download complete [2023-11-08T18:51:11.870Z] 4872d77fe225: Download complete [2023-11-08T18:51:11.870Z] 5851b861e8e6: Verifying Checksum [2023-11-08T18:51:11.870Z] 5851b861e8e6: Download complete [2023-11-08T18:51:11.870Z] b85a868b505f: Verifying Checksum [2023-11-08T18:51:11.870Z] b85a868b505f: Download complete [2023-11-08T18:51:12.130Z] bab4dde63d76: Verifying Checksum [2023-11-08T18:51:12.130Z] bab4dde63d76: Download complete [2023-11-08T18:51:13.066Z] b85a868b505f: Pull complete [2023-11-08T18:51:13.066Z] e2be974225ed: Pull complete [2023-11-08T18:51:13.648Z] 339a4e72a1f5: Pull complete [2023-11-08T18:51:13.648Z] 988bab9f4d93: Pull complete [2023-11-08T18:51:13.922Z] 1469e6f7b9e6: Pull complete [2023-11-08T18:51:14.189Z] eaf3925da568: Pull complete [2023-11-08T18:51:16.112Z] bab4dde63d76: Pull complete [2023-11-08T18:51:16.112Z] bde34c3a00c8: Pull complete [2023-11-08T18:51:16.372Z] b352a97aabf1: Pull complete [2023-11-08T18:51:16.633Z] 4872d77fe225: Pull complete [2023-11-08T18:51:16.633Z] 5851b861e8e6: Pull complete [2023-11-08T18:51:16.633Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T18:51:16.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:51:16.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:51:17.151Z] prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container [2023-11-08T18:51:17.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T18:51:21.898Z] $ docker top b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 -eo pid,comm [2023-11-08T18:51:21.980Z] 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-08T18:51:21.980Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:51:22.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:51:22.103Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:51:22.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:51:22.281Z] $ docker exec b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent [2023-11-08T18:51:22.392Z] SSH_AUTH_SOCK=/tmp/ssh-tOd8D5wGQO8B/agent.13 [2023-11-08T18:51:22.392Z] SSH_AGENT_PID=19 [2023-11-08T18:51:22.478Z] Running ssh-add (command line suppressed) [2023-11-08T18:51:22.603Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_5249441424382645041.key (/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_5249441424382645041.key) [2023-11-08T18:51:22.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:51:22.958Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T18:51:22.984Z] $ docker exec --env ******** --env ******** b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent -k [2023-11-08T18:51:23.085Z] unset SSH_AUTH_SOCK; [2023-11-08T18:51:23.085Z] unset SSH_AGENT_PID; [2023-11-08T18:51:23.085Z] echo Agent pid 19 killed; [2023-11-08T18:51:23.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T18:51:23.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:51:23.189Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:51:23.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:51:23.308Z] $ docker exec b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent [2023-11-08T18:51:23.415Z] SSH_AUTH_SOCK=/tmp/ssh-RcMjfkPfhsTQ/agent.69 [2023-11-08T18:51:23.415Z] SSH_AGENT_PID=75 [2023-11-08T18:51:23.421Z] Running ssh-add (command line suppressed) [2023-11-08T18:51:23.514Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_2831694464846881998.key (/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/private_key_2831694464846881998.key) [2023-11-08T18:51:23.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:51:23.869Z] + git semver init [2023-11-08T18:51:24.130Z] 2023-11-08 18:51:24,072 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T18:51:24.130Z] 2023-11-08 18:51:24,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-364/.semver [2023-11-08T18:51:24.130Z] 2023-11-08 18:51:24,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-364/.semver [2023-11-08T18:51:24.130Z] 2023-11-08 18:51:24,075 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-364/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-364, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-364/.git/info/exclude [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-364/.semver/PR-364 with force:False [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,356 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-364/.semver/PR-364 [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,360 [execute] INFO git cat-file --batch-check [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-364/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,366 [execute] INFO git cat-file --batch [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-364/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:51:25.510Z] 2023-11-08 18:51:25,371 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-364/.semver/PR-364 [2023-11-08T18:51:25.510Z] 0.0.0 [Pipeline] } [2023-11-08T18:51:25.539Z] $ docker exec --env ******** --env ******** b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 ssh-agent -k [2023-11-08T18:51:25.687Z] unset SSH_AUTH_SOCK; [2023-11-08T18:51:25.687Z] unset SSH_AGENT_PID; [2023-11-08T18:51:25.687Z] echo Agent pid 75 killed; [2023-11-08T18:51:25.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:51:26.115Z] + git semver [Pipeline] } [2023-11-08T18:51:26.721Z] $ docker stop --time=1 b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 [2023-11-08T18:51:28.443Z] $ docker rm -f --volumes b37e700df3373adfe87ac1858b28c9eb40539f726786b57239c4e74086286253 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:51:28.845Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T18:51:29.117Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T18:51:29.134Z] [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-08T18:51:29.764Z] provisioning config files... [2023-11-08T18:51:29.775Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config1763242796538419049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:51:30.131Z] ---> docker-login.sh [2023-11-08T18:51:30.131Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:51:30.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:30.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:30.131Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:30.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:30.131Z] [2023-11-08T18:51:30.131Z] Login Succeeded [2023-11-08T18:51:30.131Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:51:30.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:30.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:30.131Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:30.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:30.131Z] [2023-11-08T18:51:30.131Z] Login Succeeded [2023-11-08T18:51:30.131Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:51:30.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:30.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:30.390Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:30.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:30.390Z] [2023-11-08T18:51:30.390Z] Login Succeeded [2023-11-08T18:51:30.391Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:51:30.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:30.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:30.391Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:30.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:30.391Z] [2023-11-08T18:51:30.391Z] Login Succeeded [2023-11-08T18:51:30.391Z] docker.io [2023-11-08T18:51:30.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:51:30.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:51:30.651Z] Configure a credential helper to remove this warning. See [2023-11-08T18:51:30.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:51:30.651Z] [2023-11-08T18:51:30.651Z] Login Succeeded [2023-11-08T18:51:30.651Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:51:30.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:51:30.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:51:30.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:51:30.963Z] ========================================================= [2023-11-08T18:51:30.963Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T18:51:30.963Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:51:31.445Z] + 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-08T18:51:31.445Z] Sending build context to Docker daemon 10.95MB [2023-11-08T18:51:31.445Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:51:31.445Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T18:51:31.445Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T18:51:31.445Z] 7264a8db6415: Pulling fs layer [2023-11-08T18:51:31.445Z] c4d48a809fc2: Pulling fs layer [2023-11-08T18:51:31.445Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T18:51:31.445Z] ad3a456e5733: Pulling fs layer [2023-11-08T18:51:31.445Z] 33e27b845d1e: Pulling fs layer [2023-11-08T18:51:31.445Z] c68163c4e522: Pulling fs layer [2023-11-08T18:51:31.445Z] 50da416c3ac9: Pulling fs layer [2023-11-08T18:51:31.445Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T18:51:31.445Z] ad3a456e5733: Waiting [2023-11-08T18:51:31.445Z] 33e27b845d1e: Waiting [2023-11-08T18:51:31.445Z] c68163c4e522: Waiting [2023-11-08T18:51:31.445Z] 50da416c3ac9: Waiting [2023-11-08T18:51:31.445Z] 23d2d4c4bb30: Waiting [2023-11-08T18:51:31.445Z] c4d48a809fc2: Verifying Checksum [2023-11-08T18:51:31.445Z] c4d48a809fc2: Download complete [2023-11-08T18:51:31.445Z] ad3a456e5733: Download complete [2023-11-08T18:51:31.706Z] 33e27b845d1e: Verifying Checksum [2023-11-08T18:51:31.706Z] 33e27b845d1e: Download complete [2023-11-08T18:51:31.706Z] 7264a8db6415: Verifying Checksum [2023-11-08T18:51:31.706Z] 7264a8db6415: Download complete [2023-11-08T18:51:31.706Z] c68163c4e522: Verifying Checksum [2023-11-08T18:51:31.706Z] c68163c4e522: Download complete [2023-11-08T18:51:31.706Z] 7264a8db6415: Pull complete [2023-11-08T18:51:31.706Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T18:51:31.706Z] 23d2d4c4bb30: Download complete [2023-11-08T18:51:31.965Z] c4d48a809fc2: Pull complete [2023-11-08T18:51:31.965Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T18:51:31.965Z] 4f1c88b9dad5: Download complete [2023-11-08T18:51:32.531Z] 50da416c3ac9: Verifying Checksum [2023-11-08T18:51:32.532Z] 50da416c3ac9: Download complete [2023-11-08T18:51:35.820Z] 4f1c88b9dad5: Pull complete [2023-11-08T18:51:35.820Z] ad3a456e5733: Pull complete [2023-11-08T18:51:35.820Z] 33e27b845d1e: Pull complete [2023-11-08T18:51:35.820Z] c68163c4e522: Pull complete [2023-11-08T18:51:39.107Z] 50da416c3ac9: Pull complete [2023-11-08T18:51:39.675Z] 23d2d4c4bb30: Pull complete [2023-11-08T18:51:39.934Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T18:51:40.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T18:51:40.194Z] ---> 0786185ac409 [2023-11-08T18:51:40.194Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:51:44.562Z] Still waiting to schedule task [2023-11-08T18:51:44.562Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T18:51:48.343Z] ---> Running in 0c02ff425604 [2023-11-08T18:51:48.343Z] Removing intermediate container 0c02ff425604 [2023-11-08T18:51:48.343Z] ---> f2cd020fd662 [2023-11-08T18:51:48.343Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:51:48.343Z] ---> Running in e528df7ce9bb [2023-11-08T18:51:48.603Z] Removing intermediate container e528df7ce9bb [2023-11-08T18:51:48.603Z] ---> 60137d402f99 [2023-11-08T18:51:48.603Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:51:48.861Z] ---> Running in ff50cce3c8c3 [2023-11-08T18:51:49.119Z] Removing intermediate container ff50cce3c8c3 [2023-11-08T18:51:49.119Z] ---> f303fee5ed5d [2023-11-08T18:51:49.119Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:51:49.119Z] ---> Running in b943cdff5c28 [2023-11-08T18:51:49.378Z] Removing intermediate container b943cdff5c28 [2023-11-08T18:51:49.378Z] ---> bbe4a79e4a5b [2023-11-08T18:51:49.378Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:51:49.378Z] ---> Running in 28a3c29c2eb3 [2023-11-08T18:51:49.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:51:49.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:51:50.155Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T18:51:50.155Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T18:51:50.155Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T18:51:50.155Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T18:51:50.155Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:51:50.155Z] OK: 268 MiB in 56 packages [2023-11-08T18:51:51.107Z] Removing intermediate container 28a3c29c2eb3 [2023-11-08T18:51:51.107Z] ---> 9a7e9b45d96c [2023-11-08T18:51:51.107Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-08T18:51:51.367Z] ---> Running in 2a2102872f8e [2023-11-08T18:51:51.984Z] Removing intermediate container 2a2102872f8e [2023-11-08T18:51:51.984Z] ---> 188a5abed3bf [2023-11-08T18:51:51.984Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T18:51:51.984Z] ---> 9d12c9ec0972 [2023-11-08T18:51:51.984Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:51:52.563Z] ---> Running in c9e6d41a3b43 [2023-11-08T18:52:39.356Z] Removing intermediate container c9e6d41a3b43 [2023-11-08T18:52:39.356Z] ---> 2e7666dc92d4 [2023-11-08T18:52:39.356Z] Step 11/12 : COPY . . [2023-11-08T18:52:39.356Z] ---> 471ff27bad11 [2023-11-08T18:52:39.356Z] Step 12/12 : RUN $MAKE [2023-11-08T18:52:39.356Z] ---> Running in 5b3fa15f4fa3 [2023-11-08T18:52:39.356Z] noop [2023-11-08T18:52:39.356Z] Removing intermediate container 5b3fa15f4fa3 [2023-11-08T18:52:39.356Z] ---> 612495dfaa34 [2023-11-08T18:52:39.356Z] Successfully built 612495dfaa34 [2023-11-08T18:52:39.356Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:52:39.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:52:39.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:52:39.969Z] prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container [2023-11-08T18:52:39.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T18:52:40.339Z] $ docker top aabf8dc487ea891a330d3ac1380fc7efd57f8f18a31e776e8e057e946d0f5dc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:52:40.737Z] + go version [2023-11-08T18:52:40.737Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T18:52:40.765Z] $ docker stop --time=1 aabf8dc487ea891a330d3ac1380fc7efd57f8f18a31e776e8e057e946d0f5dc5 [2023-11-08T18:52:42.168Z] $ docker rm -f --volumes aabf8dc487ea891a330d3ac1380fc7efd57f8f18a31e776e8e057e946d0f5dc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:52:42.906Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:52:42.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:52:43.063Z] prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container [2023-11-08T18:52:43.095Z] $ 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-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T18:52:43.654Z] $ docker top 1eb0e04c25764e29ab6be8e2b468965fb5ab5056cdf2e1384d709fd279aa7be4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:52:44.049Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-364 [Pipeline] fileExists [Pipeline] sh [2023-11-08T18:52:44.403Z] + make test [2023-11-08T18:52:44.404Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T18:52:46.950Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-08T18:52:56.920Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-08T18:52:56.920Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-11-08T18:53:02.187Z] go vet ./... [2023-11-08T18:53:05.008Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T18:53:05.008Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T18:53:05.008Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T18:53:05.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T18:53:05.077Z] $ docker stop --time=1 1eb0e04c25764e29ab6be8e2b468965fb5ab5056cdf2e1384d709fd279aa7be4 [2023-11-08T18:53:09.895Z] $ docker rm -f --volumes 1eb0e04c25764e29ab6be8e2b468965fb5ab5056cdf2e1384d709fd279aa7be4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:53:10.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T18:53:10.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T18:53:11.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:53:11.456Z] + ls -al . [2023-11-08T18:53:11.456Z] total 176 [2023-11-08T18:53:11.456Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:52 . [2023-11-08T18:53:11.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:50 .. [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 18:50 .dockerignore [2023-11-08T18:53:11.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:52 .git [2023-11-08T18:53:11.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 .github [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:50 .gitignore [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:50 .golangci.yml [2023-11-08T18:53:11.456Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:51 .semver [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 18:50 Attribution.txt [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 18:50 CHANGELOG.md [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 18:50 Dockerfile [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:50 GOVERNANCE.md [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 18:50 Jenkinsfile [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:50 LICENSE [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 18:50 Makefile [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:50 OWNERS.md [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 18:50 README.md [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:51 VERSION [2023-11-08T18:53:11.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:50 bin [2023-11-08T18:53:11.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 cmd [2023-11-08T18:53:11.456Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 18:52 coverage.out [2023-11-08T18:53:11.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:50 driver [2023-11-08T18:53:11.456Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 18:50 go.mod [2023-11-08T18:53:11.457Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:50 go.sum [2023-11-08T18:53:11.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 openapi [2023-11-08T18:53:11.457Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:53:11.846Z] + 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=41c1ef57410c6681f03d0987537b86c091ab4d75 --label arch=amd64 --label version=0.0.0 . [2023-11-08T18:53:11.846Z] Sending build context to Docker daemon 10.96MB [2023-11-08T18:53:11.846Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:53:11.846Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T18:53:11.846Z] ---> 612495dfaa34 [2023-11-08T18:53:11.846Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:53:12.105Z] ---> Running in 44df36b3c4d8 [2023-11-08T18:53:12.364Z] Removing intermediate container 44df36b3c4d8 [2023-11-08T18:53:12.364Z] ---> efcd64553b11 [2023-11-08T18:53:12.364Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:53:12.364Z] ---> Running in a666430553fe [2023-11-08T18:53:12.623Z] Removing intermediate container a666430553fe [2023-11-08T18:53:12.623Z] ---> 77a8af7b744e [2023-11-08T18:53:12.623Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:53:12.883Z] ---> Running in 6e567867fee6 [2023-11-08T18:53:13.142Z] Removing intermediate container 6e567867fee6 [2023-11-08T18:53:13.142Z] ---> 3d9125b9ab18 [2023-11-08T18:53:13.142Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:53:13.400Z] ---> Running in ce7051c9e754 [2023-11-08T18:53:13.658Z] Removing intermediate container ce7051c9e754 [2023-11-08T18:53:13.658Z] ---> 92bc5844c42c [2023-11-08T18:53:13.658Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:53:13.918Z] ---> Running in 8240069fe8f9 [2023-11-08T18:53:14.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:53:14.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:53:14.747Z] OK: 268 MiB in 56 packages [2023-11-08T18:53:16.125Z] Removing intermediate container 8240069fe8f9 [2023-11-08T18:53:16.125Z] ---> 9dbf818446e6 [2023-11-08T18:53:16.125Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-08T18:53:16.384Z] ---> Running in 1e43d1e55323 [2023-11-08T18:53:16.645Z] Removing intermediate container 1e43d1e55323 [2023-11-08T18:53:16.645Z] ---> c1a3df3894c3 [2023-11-08T18:53:16.645Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-08T18:53:16.905Z] ---> 4d65b81f09f1 [2023-11-08T18:53:16.905Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:53:16.905Z] ---> Running in 697b524ba6a0 [2023-11-08T18:53:17.472Z] Removing intermediate container 697b524ba6a0 [2023-11-08T18:53:17.472Z] ---> 9a43810e14dd [2023-11-08T18:53:17.472Z] Step 11/25 : COPY . . [2023-11-08T18:53:18.040Z] ---> 4f9f71427a80 [2023-11-08T18:53:18.040Z] Step 12/25 : RUN $MAKE [2023-11-08T18:53:18.040Z] ---> Running in 0af43892b961 [2023-11-08T18:53:18.299Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-08T18:53:40.226Z] Removing intermediate container 0af43892b961 [2023-11-08T18:53:40.226Z] ---> f018beed6eba [2023-11-08T18:53:40.226Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T18:53:40.226Z] 3.18: Pulling from library/alpine [2023-11-08T18:53:40.226Z] 96526aa774ef: Pulling fs layer [2023-11-08T18:53:40.226Z] 96526aa774ef: Download complete [2023-11-08T18:53:40.226Z] 96526aa774ef: Pull complete [2023-11-08T18:53:40.226Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T18:53:40.226Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T18:53:40.226Z] ---> 8ca4688f4f35 [2023-11-08T18:53:40.226Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T18:53:40.226Z] ---> Running in bd4675633282 [2023-11-08T18:53:40.226Z] Removing intermediate container bd4675633282 [2023-11-08T18:53:40.226Z] ---> 181d75ff8a56 [2023-11-08T18:53:40.226Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-08T18:53:40.226Z] ---> Running in b9a13f9b113a [2023-11-08T18:53:40.226Z] Removing intermediate container b9a13f9b113a [2023-11-08T18:53:40.226Z] ---> 3b325f86cf61 [2023-11-08T18:53:40.226Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T18:53:40.226Z] ---> Running in c5bb98757a85 [2023-11-08T18:53:40.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:53:40.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:53:40.226Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T18:53:40.226Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:53:40.226Z] OK: 7 MiB in 16 packages [2023-11-08T18:53:40.226Z] Removing intermediate container c5bb98757a85 [2023-11-08T18:53:40.226Z] ---> b3202f4ed8f8 [2023-11-08T18:53:40.226Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-08T18:53:40.485Z] ---> 20d4bbda7150 [2023-11-08T18:53:40.485Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-08T18:53:40.485Z] ---> 1fb08a560934 [2023-11-08T18:53:40.485Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-08T18:53:40.485Z] ---> 22000e0cf5cf [2023-11-08T18:53:40.485Z] Step 20/25 : EXPOSE 59986 [2023-11-08T18:53:40.757Z] ---> Running in 2d5228ed0e9f [2023-11-08T18:53:40.757Z] Removing intermediate container 2d5228ed0e9f [2023-11-08T18:53:40.757Z] ---> 2ccaae3f5218 [2023-11-08T18:53:40.757Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-08T18:53:40.757Z] ---> Running in eb61ba886d14 [2023-11-08T18:53:40.757Z] Removing intermediate container eb61ba886d14 [2023-11-08T18:53:40.757Z] ---> 9ad536019801 [2023-11-08T18:53:40.757Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T18:53:40.757Z] ---> Running in b85ce80ff50b [2023-11-08T18:53:40.757Z] Removing intermediate container b85ce80ff50b [2023-11-08T18:53:40.757Z] ---> d125962e9347 [2023-11-08T18:53:40.757Z] Step 23/25 : LABEL arch=amd64 [2023-11-08T18:53:41.016Z] ---> Running in 1d6cc18ccc56 [2023-11-08T18:53:41.017Z] Removing intermediate container 1d6cc18ccc56 [2023-11-08T18:53:41.017Z] ---> a05e4b04dd69 [2023-11-08T18:53:41.017Z] Step 24/25 : LABEL git_sha=41c1ef57410c6681f03d0987537b86c091ab4d75 [2023-11-08T18:53:41.017Z] ---> Running in dde2ecc2a665 [2023-11-08T18:53:41.017Z] Removing intermediate container dde2ecc2a665 [2023-11-08T18:53:41.017Z] ---> 10c181f168c7 [2023-11-08T18:53:41.017Z] Step 25/25 : LABEL version=0.0.0 [2023-11-08T18:53:41.017Z] ---> Running in d9d956236412 [2023-11-08T18:53:41.017Z] Removing intermediate container d9d956236412 [2023-11-08T18:53:41.017Z] ---> 3d42fa7ab74b [2023-11-08T18:53:41.017Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T18:53:41.017Z] Successfully built 3d42fa7ab74b [2023-11-08T18:53:41.017Z] 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-08T18:53:42.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:53:42.030Z] [2023-11-08T18:53:42.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:53:42.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:53:42.411Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T18:53:42.411Z] 5eb5b503b376: Pulling fs layer [2023-11-08T18:53:42.411Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T18:53:42.411Z] ec43610c2a17: Pulling fs layer [2023-11-08T18:53:42.411Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T18:53:42.411Z] 33b1e0a273af: Pulling fs layer [2023-11-08T18:53:42.411Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T18:53:42.411Z] 2f39f015ded8: Pulling fs layer [2023-11-08T18:53:42.411Z] 33b1e0a273af: Waiting [2023-11-08T18:53:42.411Z] 5d3b04190fa2: Waiting [2023-11-08T18:53:42.411Z] 2f39f015ded8: Waiting [2023-11-08T18:53:42.411Z] 3a2ae6a8a46f: Waiting [2023-11-08T18:53:42.411Z] 5c69ac0246d0: Download complete [2023-11-08T18:53:42.411Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T18:53:42.411Z] 3a2ae6a8a46f: Download complete [2023-11-08T18:53:42.411Z] 33b1e0a273af: Verifying Checksum [2023-11-08T18:53:42.411Z] 33b1e0a273af: Download complete [2023-11-08T18:53:42.411Z] 5d3b04190fa2: Download complete [2023-11-08T18:53:42.411Z] ec43610c2a17: Verifying Checksum [2023-11-08T18:53:42.411Z] ec43610c2a17: Download complete [2023-11-08T18:53:42.671Z] 5eb5b503b376: Verifying Checksum [2023-11-08T18:53:42.671Z] 5eb5b503b376: Download complete [2023-11-08T18:53:43.237Z] 2f39f015ded8: Download complete [2023-11-08T18:53:43.804Z] 5eb5b503b376: Pull complete [2023-11-08T18:53:43.804Z] 5c69ac0246d0: Pull complete [2023-11-08T18:53:44.371Z] ec43610c2a17: Pull complete [2023-11-08T18:53:44.371Z] 3a2ae6a8a46f: Pull complete [2023-11-08T18:53:44.629Z] 33b1e0a273af: Pull complete [2023-11-08T18:53:44.629Z] 5d3b04190fa2: Pull complete [2023-11-08T18:53:48.820Z] 2f39f015ded8: Pull complete [2023-11-08T18:53:48.820Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T18:53:48.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:53:48.821Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:53:49.035Z] prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container [2023-11-08T18:53:49.055Z] $ 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-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T18:53:55.172Z] $ docker top 99bb9a80c062ccbf5580399053e7f1081594f9a43058b4b9f7aaaa5b134ca0e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:53:55.630Z] ---> job-cost.sh [2023-11-08T18:53:55.630Z] lf-activate-venv: SKIPPING [2023-11-08T18:53:55.630Z] INFO: No Stack... [2023-11-08T18:53:55.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:53:56.158Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:53:56.487Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-364/archives/cost.csv [2023-11-08T18:53:56.487Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T18:53:56.528Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [2023-11-08T18:53:56.533Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] did not exist. Created. [2023-11-08T18:53:56.533Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:53:56.933Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T18:53:56.985Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:53:57.018Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:53:57.081Z] $ docker stop --time=1 99bb9a80c062ccbf5580399053e7f1081594f9a43058b4b9f7aaaa5b134ca0e4 [2023-11-08T18:53:58.229Z] $ docker rm -f --volumes 99bb9a80c062ccbf5580399053e7f1081594f9a43058b4b9f7aaaa5b134ca0e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T18:54:53.364Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17067 in /w/workspace/gexfoundry_device-rest-go_PR-364 [Pipeline] { [Pipeline] ws [2023-11-08T18:54:53.424Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-08T18:54:53.507Z] The recommended git tool is: git [2023-11-08T18:54:59.888Z] using credential edgex-jenkins-ssh [2023-11-08T18:54:59.915Z] Cloning the remote Git repository [2023-11-08T18:54:59.971Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-08T18:55:00.084Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-08T18:55:00.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-08T18:55:00.271Z] > git --version # timeout=10 [2023-11-08T18:55:00.298Z] > git --version # 'git version 2.25.1' [2023-11-08T18:55:00.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:55:00.492Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:55:02.523Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-08T18:55:02.566Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:55:03.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-08T18:55:03.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-08T18:55:03.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:55:03.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-08T18:55:04.414Z] Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 41c1ef57410c6681f03d0987537b86c091ab4d75 [2023-11-08T18:55:04.769Z] Merge succeeded, producing 41c1ef57410c6681f03d0987537b86c091ab4d75 [2023-11-08T18:55:04.769Z] Checking out Revision 41c1ef57410c6681f03d0987537b86c091ab4d75 (PR-364) [2023-11-08T18:55:04.439Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:55:04.564Z] > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # timeout=10 [2023-11-08T18:55:04.657Z] > git remote # timeout=10 [2023-11-08T18:55:04.681Z] > git config --get remote.origin.url # timeout=10 [2023-11-08T18:55:04.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:55:04.718Z] > git merge 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 [2023-11-08T18:55:04.751Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-08T18:55:04.778Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:55:04.797Z] > git checkout -f 41c1ef57410c6681f03d0987537b86c091ab4d75 # timeout=10 [2023-11-08T18:55:08.321Z] Commit message: "build: Update go mod for Napa" [2023-11-08T18:55:08.377Z] > git --version # timeout=10 [2023-11-08T18:55:08.391Z] > git --version # 'git version 2.25.1' [2023-11-08T18:55:08.405Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:55:09.526Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T18:55:09.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T18:55:09.526Z] Dload Upload Total Spent Left Speed [2023-11-08T18:55:09.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 206k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh [2023-11-08T18:55:10.298Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T18:55:10.655Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T18:55:10.655Z] + sudo tee /etc/docker/daemon.new [2023-11-08T18:55:10.655Z] { [2023-11-08T18:55:10.655Z] "registry-mirrors": [ [2023-11-08T18:55:10.655Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T18:55:10.655Z] ], [2023-11-08T18:55:10.655Z] "bip": "10.250.0.254/24", [2023-11-08T18:55:10.655Z] "hosts": [ [2023-11-08T18:55:10.655Z] "tcp://0.0.0.0:5555", [2023-11-08T18:55:10.655Z] "unix:///var/run/docker.sock" [2023-11-08T18:55:10.655Z] ], [2023-11-08T18:55:10.655Z] "mtu": 1458, [2023-11-08T18:55:10.655Z] "selinux-enabled": true, [2023-11-08T18:55:10.655Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T18:55:10.655Z] } [Pipeline] sh [2023-11-08T18:55:11.000Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T18:55:11.353Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:55:29.732Z] provisioning config files... [2023-11-08T18:55:29.768Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5582268546876454803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:55:30.194Z] ---> docker-login.sh [2023-11-08T18:55:30.194Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:55:30.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:55:30.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:55:30.786Z] Configure a credential helper to remove this warning. See [2023-11-08T18:55:30.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:55:30.786Z] [2023-11-08T18:55:30.786Z] Login Succeeded [2023-11-08T18:55:31.056Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:55:31.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:55:31.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:55:31.329Z] Configure a credential helper to remove this warning. See [2023-11-08T18:55:31.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:55:31.329Z] [2023-11-08T18:55:31.329Z] Login Succeeded [2023-11-08T18:55:31.329Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:55:31.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:55:31.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:55:31.879Z] Configure a credential helper to remove this warning. See [2023-11-08T18:55:31.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:55:31.879Z] [2023-11-08T18:55:31.879Z] Login Succeeded [2023-11-08T18:55:31.879Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:55:32.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:55:32.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:55:32.152Z] Configure a credential helper to remove this warning. See [2023-11-08T18:55:32.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:55:32.152Z] [2023-11-08T18:55:32.152Z] Login Succeeded [2023-11-08T18:55:32.152Z] docker.io [2023-11-08T18:55:32.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:55:32.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:55:32.693Z] Configure a credential helper to remove this warning. See [2023-11-08T18:55:32.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:55:32.693Z] [2023-11-08T18:55:32.693Z] Login Succeeded [2023-11-08T18:55:32.693Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:55:32.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:55:33.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:55:33.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:55:33.286Z] ========================================================= [2023-11-08T18:55:33.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T18:55:33.286Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:55:33.827Z] + 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-08T18:55:33.827Z] Sending build context to Docker daemon 125.4kB [2023-11-08T18:55:34.100Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:55:34.100Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T18:55:34.372Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T18:55:34.372Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T18:55:34.372Z] 5d54e960e981: Pulling fs layer [2023-11-08T18:55:34.372Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T18:55:34.372Z] f0e02332f6b5: Pulling fs layer [2023-11-08T18:55:34.372Z] cefa15bbcfad: Pulling fs layer [2023-11-08T18:55:34.372Z] 17808c966233: Pulling fs layer [2023-11-08T18:55:34.372Z] f4c1fc716caa: Pulling fs layer [2023-11-08T18:55:34.372Z] 17808c966233: Waiting [2023-11-08T18:55:34.372Z] f4c1fc716caa: Waiting [2023-11-08T18:55:34.372Z] f0e02332f6b5: Waiting [2023-11-08T18:55:34.372Z] cefa15bbcfad: Waiting [2023-11-08T18:55:34.372Z] 5d54e960e981: Download complete [2023-11-08T18:55:34.372Z] f0e02332f6b5: Verifying Checksum [2023-11-08T18:55:34.372Z] f0e02332f6b5: Download complete [2023-11-08T18:55:34.372Z] cefa15bbcfad: Verifying Checksum [2023-11-08T18:55:34.372Z] cefa15bbcfad: Download complete [2023-11-08T18:55:34.372Z] 9fda8d8052c6: Download complete [2023-11-08T18:55:34.969Z] f4c1fc716caa: Verifying Checksum [2023-11-08T18:55:34.969Z] f4c1fc716caa: Download complete [2023-11-08T18:55:35.564Z] 9fda8d8052c6: Pull complete [2023-11-08T18:55:36.157Z] 5d54e960e981: Pull complete [2023-11-08T18:55:36.428Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T18:55:36.428Z] c4a7e357bf2a: Download complete [2023-11-08T18:55:37.398Z] 17808c966233: Verifying Checksum [2023-11-08T18:55:37.398Z] 17808c966233: Download complete [2023-11-08T18:55:49.727Z] c4a7e357bf2a: Pull complete [2023-11-08T18:55:49.727Z] f0e02332f6b5: Pull complete [2023-11-08T18:55:49.996Z] cefa15bbcfad: Pull complete [2023-11-08T18:56:02.376Z] 17808c966233: Pull complete [2023-11-08T18:56:02.376Z] f4c1fc716caa: Pull complete [2023-11-08T18:56:02.376Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T18:56:02.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T18:56:02.376Z] ---> ea914061e18c [2023-11-08T18:56:02.376Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:56:03.796Z] ---> Running in 5825d129a6a5 [2023-11-08T18:56:04.068Z] Removing intermediate container 5825d129a6a5 [2023-11-08T18:56:04.068Z] ---> 557bcf152c7d [2023-11-08T18:56:04.068Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:56:04.336Z] ---> Running in 4b962b8ead05 [2023-11-08T18:56:04.605Z] Removing intermediate container 4b962b8ead05 [2023-11-08T18:56:04.605Z] ---> 0c102b9ae786 [2023-11-08T18:56:04.605Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:56:04.605Z] ---> Running in bf02d32eeb00 [2023-11-08T18:56:04.876Z] Removing intermediate container bf02d32eeb00 [2023-11-08T18:56:04.876Z] ---> ac70b7323706 [2023-11-08T18:56:04.876Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:56:05.146Z] ---> Running in 055ce69c7471 [2023-11-08T18:56:05.415Z] Removing intermediate container 055ce69c7471 [2023-11-08T18:56:05.415Z] ---> fc7d0ed7cc97 [2023-11-08T18:56:05.415Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:56:05.691Z] ---> Running in 43c76abfcbc5 [2023-11-08T18:56:06.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:56:07.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:56:08.686Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T18:56:08.686Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T18:56:08.686Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T18:56:08.686Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T18:56:08.686Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:56:08.686Z] OK: 270 MiB in 56 packages [2023-11-08T18:56:09.659Z] Removing intermediate container 43c76abfcbc5 [2023-11-08T18:56:09.659Z] ---> 06e2b7fe5f5a [2023-11-08T18:56:09.659Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-08T18:56:09.928Z] ---> Running in 4e46ee84d3dd [2023-11-08T18:56:10.200Z] Removing intermediate container 4e46ee84d3dd [2023-11-08T18:56:10.200Z] ---> 6fa99f961469 [2023-11-08T18:56:10.200Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T18:56:10.788Z] ---> 8e373d41b596 [2023-11-08T18:56:10.788Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:56:10.788Z] ---> Running in 94406f6bc065 [2023-11-08T18:57:32.500Z] Removing intermediate container 94406f6bc065 [2023-11-08T18:57:32.500Z] ---> 34eb0adff089 [2023-11-08T18:57:32.500Z] Step 11/12 : COPY . . [2023-11-08T18:57:32.500Z] ---> a17eea5c27ae [2023-11-08T18:57:32.500Z] Step 12/12 : RUN $MAKE [2023-11-08T18:57:32.500Z] ---> Running in 2dcf7e3ba1d2 [2023-11-08T18:57:32.500Z] noop [2023-11-08T18:57:32.500Z] Removing intermediate container 2dcf7e3ba1d2 [2023-11-08T18:57:32.500Z] ---> a904e968c08e [2023-11-08T18:57:32.500Z] Successfully built a904e968c08e [2023-11-08T18:57:32.500Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:32.997Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:57:32.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:57:33.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-17067 does not seem to be running inside a container [2023-11-08T18:57:33.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:57:34.711Z] $ docker top 14b0e12da6ebc5766df87e0142466d9197690b1e0388c06574dae51289f84f0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:57:35.619Z] + go version [2023-11-08T18:57:35.619Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T18:57:35.662Z] $ docker stop --time=1 14b0e12da6ebc5766df87e0142466d9197690b1e0388c06574dae51289f84f0d [2023-11-08T18:57:37.346Z] $ docker rm -f --volumes 14b0e12da6ebc5766df87e0142466d9197690b1e0388c06574dae51289f84f0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:38.254Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:57:38.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:57:38.527Z] prd-ubuntu20.04-docker-arm64-4c-16g-17067 does not seem to be running inside a container [2023-11-08T18:57:38.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:57:40.160Z] $ docker top 9d3703c4623a637f91b3721e2b1797f2d86b846f69a7c1a1e7453f1f255396a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:57:41.059Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-08T18:57:41.788Z] + make test [2023-11-08T18:57:41.788Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T18:57:46.055Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-08T18:59:52.816Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-08T18:59:52.816Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.2% of statements [2023-11-08T18:59:52.816Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T18:59:52.816Z] go vet ./... [2023-11-08T19:00:25.079Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T19:00:25.079Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T19:00:25.079Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T19:00:25.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T19:00:25.168Z] $ docker stop --time=1 9d3703c4623a637f91b3721e2b1797f2d86b846f69a7c1a1e7453f1f255396a9 [2023-11-08T19:00:27.271Z] $ docker rm -f --volumes 9d3703c4623a637f91b3721e2b1797f2d86b846f69a7c1a1e7453f1f255396a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:00:28.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T19:00:28.799Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T19:00:29.350Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:00:29.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T19:00:30.307Z] + ls -al . [2023-11-08T19:00:30.307Z] total 172 [2023-11-08T19:00:30.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:57 . [2023-11-08T19:00:30.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:55 .. [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 18:55 .dockerignore [2023-11-08T19:00:30.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:55 .git [2023-11-08T19:00:30.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:55 .github [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:55 .gitignore [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:55 .golangci.yml [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 18:55 Attribution.txt [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 18:55 CHANGELOG.md [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 18:55 Dockerfile [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:55 GOVERNANCE.md [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 18:55 Jenkinsfile [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:55 LICENSE [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 18:55 Makefile [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:55 OWNERS.md [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 18:55 README.md [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:51 VERSION [2023-11-08T19:00:30.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:55 bin [2023-11-08T19:00:30.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:55 cmd [2023-11-08T19:00:30.307Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 18:59 coverage.out [2023-11-08T19:00:30.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:55 driver [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 18:55 go.mod [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:55 go.sum [2023-11-08T19:00:30.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:55 openapi [2023-11-08T19:00:30.307Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:00:30.850Z] + 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=41c1ef57410c6681f03d0987537b86c091ab4d75 --label arch=arm64 --label version=0.0.0 . [2023-11-08T19:00:30.850Z] Sending build context to Docker daemon 140.8kB [2023-11-08T19:00:31.122Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:00:31.122Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T19:00:31.122Z] ---> a904e968c08e [2023-11-08T19:00:31.122Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:00:32.578Z] ---> Running in ac65acac4686 [2023-11-08T19:00:32.885Z] Removing intermediate container ac65acac4686 [2023-11-08T19:00:32.885Z] ---> fd0f7d1e9e6d [2023-11-08T19:00:32.885Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:00:32.885Z] ---> Running in 9060bc2735db [2023-11-08T19:00:33.493Z] Removing intermediate container 9060bc2735db [2023-11-08T19:00:33.493Z] ---> 14c299223086 [2023-11-08T19:00:33.493Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T19:00:33.493Z] ---> Running in 7c9172f8a7c3 [2023-11-08T19:00:33.763Z] Removing intermediate container 7c9172f8a7c3 [2023-11-08T19:00:33.763Z] ---> 4bfd2eaeab45 [2023-11-08T19:00:33.763Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:00:33.763Z] ---> Running in c7190511dd07 [2023-11-08T19:00:34.355Z] Removing intermediate container c7190511dd07 [2023-11-08T19:00:34.355Z] ---> dbc0a32da7a8 [2023-11-08T19:00:34.355Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:00:34.355Z] ---> Running in 6d9ba1a72d9d [2023-11-08T19:00:35.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:00:35.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:00:37.814Z] OK: 270 MiB in 56 packages [2023-11-08T19:00:40.813Z] Removing intermediate container 6d9ba1a72d9d [2023-11-08T19:00:40.813Z] ---> e42970ba83f7 [2023-11-08T19:00:40.813Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-08T19:00:40.813Z] ---> Running in e503829a0f1e [2023-11-08T19:00:40.813Z] Removing intermediate container e503829a0f1e [2023-11-08T19:00:40.813Z] ---> 0b4223d5e87a [2023-11-08T19:00:40.813Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-08T19:00:40.813Z] ---> caba833faece [2023-11-08T19:00:40.813Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:00:40.813Z] ---> Running in bdc56bb8973d [2023-11-08T19:00:41.399Z] Removing intermediate container bdc56bb8973d [2023-11-08T19:00:41.399Z] ---> 2c4a268adf44 [2023-11-08T19:00:41.399Z] Step 11/25 : COPY . . [2023-11-08T19:00:41.986Z] ---> 47f0d47640c9 [2023-11-08T19:00:41.986Z] Step 12/25 : RUN $MAKE [2023-11-08T19:00:41.986Z] ---> Running in 0204f87a5b9d [2023-11-08T19:00:42.956Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-08T19:03:04.706Z] Removing intermediate container 0204f87a5b9d [2023-11-08T19:03:04.706Z] ---> a201fbaab11e [2023-11-08T19:03:04.706Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T19:03:04.706Z] 3.18: Pulling from library/alpine [2023-11-08T19:03:04.706Z] 579b34f0a95b: Pulling fs layer [2023-11-08T19:03:04.706Z] 579b34f0a95b: Verifying Checksum [2023-11-08T19:03:04.706Z] 579b34f0a95b: Download complete [2023-11-08T19:03:04.706Z] 579b34f0a95b: Pull complete [2023-11-08T19:03:04.706Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T19:03:04.706Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T19:03:04.706Z] ---> 3cc203321400 [2023-11-08T19:03:04.706Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T19:03:04.706Z] ---> Running in bc262d4d1e29 [2023-11-08T19:03:04.706Z] Removing intermediate container bc262d4d1e29 [2023-11-08T19:03:04.706Z] ---> 7f2bbfc2d99f [2023-11-08T19:03:04.706Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-08T19:03:04.706Z] ---> Running in 4206c0c5c208 [2023-11-08T19:03:04.706Z] Removing intermediate container 4206c0c5c208 [2023-11-08T19:03:04.706Z] ---> 1c9ad00c2b70 [2023-11-08T19:03:04.706Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T19:03:04.706Z] ---> Running in 94114a3f7129 [2023-11-08T19:03:04.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:03:04.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:03:04.706Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T19:03:04.706Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:03:04.706Z] OK: 8 MiB in 16 packages [2023-11-08T19:03:04.706Z] Removing intermediate container 94114a3f7129 [2023-11-08T19:03:04.706Z] ---> 84c8dcfc9b11 [2023-11-08T19:03:04.706Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-08T19:03:04.706Z] ---> af71f504dd3a [2023-11-08T19:03:04.706Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-08T19:03:04.706Z] ---> 34629dc30a5e [2023-11-08T19:03:04.706Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-08T19:03:04.706Z] ---> a885fdeb2e7b [2023-11-08T19:03:04.706Z] Step 20/25 : EXPOSE 59986 [2023-11-08T19:03:04.706Z] ---> Running in 2eabd4153a09 [2023-11-08T19:03:04.706Z] Removing intermediate container 2eabd4153a09 [2023-11-08T19:03:04.706Z] ---> ef6bbdd06a3d [2023-11-08T19:03:04.706Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-08T19:03:04.706Z] ---> Running in 09403ad35e19 [2023-11-08T19:03:04.706Z] Removing intermediate container 09403ad35e19 [2023-11-08T19:03:04.706Z] ---> c296606985a9 [2023-11-08T19:03:04.706Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T19:03:04.706Z] ---> Running in adb7650641fd [2023-11-08T19:03:04.706Z] Removing intermediate container adb7650641fd [2023-11-08T19:03:04.706Z] ---> d4e5aba54a63 [2023-11-08T19:03:04.706Z] Step 23/25 : LABEL arch=arm64 [2023-11-08T19:03:04.706Z] ---> Running in 1e5dcee9c7e4 [2023-11-08T19:03:04.706Z] Removing intermediate container 1e5dcee9c7e4 [2023-11-08T19:03:04.706Z] ---> 2a9ed5aeb21a [2023-11-08T19:03:04.706Z] Step 24/25 : LABEL git_sha=41c1ef57410c6681f03d0987537b86c091ab4d75 [2023-11-08T19:03:04.706Z] ---> Running in b42ba0f834a1 [2023-11-08T19:03:04.706Z] Removing intermediate container b42ba0f834a1 [2023-11-08T19:03:04.706Z] ---> 2f5ae86ada1c [2023-11-08T19:03:04.706Z] Step 25/25 : LABEL version=0.0.0 [2023-11-08T19:03:04.706Z] ---> Running in debfe3bea1d9 [2023-11-08T19:03:04.706Z] Removing intermediate container debfe3bea1d9 [2023-11-08T19:03:04.706Z] ---> 0e9ecc6d9e19 [2023-11-08T19:03:04.706Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T19:03:04.706Z] Successfully built 0e9ecc6d9e19 [2023-11-08T19:03:04.706Z] 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-08T19:03:05.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:03:05.609Z] [2023-11-08T19:03:05.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:03:06.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:03:06.604Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T19:03:06.604Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T19:03:06.604Z] 04944245beec: Pulling fs layer [2023-11-08T19:03:06.604Z] 699f458cf7ca: Pulling fs layer [2023-11-08T19:03:06.604Z] 765212b225bb: Pulling fs layer [2023-11-08T19:03:06.604Z] f23df028b6ca: Pulling fs layer [2023-11-08T19:03:06.604Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T19:03:06.604Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T19:03:06.604Z] 765212b225bb: Waiting [2023-11-08T19:03:06.604Z] d65c8cfc05b1: Waiting [2023-11-08T19:03:06.604Z] f23df028b6ca: Waiting [2023-11-08T19:03:06.604Z] 2437ff75d9bd: Waiting [2023-11-08T19:03:06.604Z] 04944245beec: Verifying Checksum [2023-11-08T19:03:06.604Z] 04944245beec: Download complete [2023-11-08T19:03:06.604Z] 765212b225bb: Verifying Checksum [2023-11-08T19:03:06.604Z] 765212b225bb: Download complete [2023-11-08T19:03:06.876Z] f23df028b6ca: Verifying Checksum [2023-11-08T19:03:06.876Z] f23df028b6ca: Download complete [2023-11-08T19:03:06.876Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T19:03:06.876Z] d65c8cfc05b1: Download complete [2023-11-08T19:03:06.876Z] 699f458cf7ca: Verifying Checksum [2023-11-08T19:03:06.876Z] 699f458cf7ca: Download complete [2023-11-08T19:03:07.460Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T19:03:07.460Z] 8998bd30e6a1: Download complete [2023-11-08T19:03:10.040Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T19:03:10.040Z] 2437ff75d9bd: Download complete [2023-11-08T19:03:11.987Z] 8998bd30e6a1: Pull complete [2023-11-08T19:03:12.255Z] 04944245beec: Pull complete [2023-11-08T19:03:13.671Z] 699f458cf7ca: Pull complete [2023-11-08T19:03:14.259Z] 765212b225bb: Pull complete [2023-11-08T19:03:15.223Z] f23df028b6ca: Pull complete [2023-11-08T19:03:15.223Z] d65c8cfc05b1: Pull complete [2023-11-08T19:03:33.436Z] 2437ff75d9bd: Pull complete [2023-11-08T19:03:33.436Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T19:03:33.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:03:33.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:03:33.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-17067 does not seem to be running inside a container [2023-11-08T19:03:33.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-08T19:03:36.608Z] $ docker top 4030c3ac1944dc830b5de09f6dfd8f01693eed18b7344f137aa781ce68326395 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:37.551Z] ---> job-cost.sh [2023-11-08T19:03:37.551Z] lf-activate-venv: SKIPPING [2023-11-08T19:03:37.551Z] INFO: No Stack... [2023-11-08T19:03:37.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T19:03:38.776Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:03:39.444Z] + cut -d, -f6 [2023-11-08T19:03:39.444Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-11-08T19:03:39.496Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [2023-11-08T19:03:39.503Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] did not exist. Created. [2023-11-08T19:03:39.503Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:03:40.231Z] /w/workspace/device-rest-go/1@tmp/durable-872924fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T19:03:40.909Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T19:03:40.943Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T19:03:40.992Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:03:41.007Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:03:41.088Z] $ docker stop --time=1 4030c3ac1944dc830b5de09f6dfd8f01693eed18b7344f137aa781ce68326395 [2023-11-08T19:03:42.633Z] $ docker rm -f --volumes 4030c3ac1944dc830b5de09f6dfd8f01693eed18b7344f137aa781ce68326395 [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-08T19:03:43.654Z] provisioning config files... [2023-11-08T19:03:43.671Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config3573028276511717535tmp [Pipeline] { [Pipeline] sh [2023-11-08T19:03:43.987Z] + set +x [2023-11-08T19:03:43.988Z] + curl -s https://codecov.io/bash [2023-11-08T19:03:43.988Z] + bash -s -- [2023-11-08T19:03:43.988Z] [2023-11-08T19:03:43.988Z] _____ _ [2023-11-08T19:03:43.988Z] / ____| | | [2023-11-08T19:03:43.988Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T19:03:43.988Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T19:03:43.988Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T19:03:43.988Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T19:03:43.988Z] Bash-1.0.6 [2023-11-08T19:03:43.988Z] [2023-11-08T19:03:43.988Z] [2023-11-08T19:03:43.988Z] ==> git version 2.25.1 found [2023-11-08T19:03:43.988Z] ==> 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-08T19:03:43.988Z] Release-Date: 2020-01-08 [2023-11-08T19:03:43.988Z] 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-08T19:03:43.988Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T19:03:43.988Z] ==> Jenkins CI detected. [2023-11-08T19:03:43.988Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-364 [2023-11-08T19:03:43.988Z] project root: . [2023-11-08T19:03:43.988Z] --> token set from env [2023-11-08T19:03:43.988Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T19:03:43.988Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T19:03:43.988Z] ==> Python coveragepy not found [2023-11-08T19:03:43.988Z] ==> Searching for coverage reports in: [2023-11-08T19:03:43.988Z] + . [2023-11-08T19:03:43.988Z] -> Found 1 reports [2023-11-08T19:03:43.988Z] ==> Detecting git/mercurial file structure [2023-11-08T19:03:43.988Z] ==> Reading reports [2023-11-08T19:03:43.988Z] + ./coverage.out bytes=14499 [2023-11-08T19:03:43.988Z] ==> Appending adjustments [2023-11-08T19:03:43.988Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T19:03:44.246Z] + Found adjustments [2023-11-08T19:03:44.246Z] ==> Gzipping contents [2023-11-08T19:03:44.246Z] 4.0K /tmp/codecov.vISVRo.gz [2023-11-08T19:03:44.246Z] ==> Uploading reports [2023-11-08T19:03:44.246Z] url: https://codecov.io [2023-11-08T19:03:44.246Z] query: branch=PR-364&commit=41c1ef57410c6681f03d0987537b86c091ab4d75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=364&job=&cmd_args= [2023-11-08T19:03:44.246Z] -> Pinging Codecov [2023-11-08T19:03:44.246Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-364&commit=41c1ef57410c6681f03d0987537b86c091ab4d75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=364&job=&cmd_args= [2023-11-08T19:03:44.246Z] -> Uploading to [2023-11-08T19:03:44.246Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/4E5D53B4F1F92C436F7061BF334D961C/41c1ef57410c6681f03d0987537b86c091ab4d75/1c735f5a-fff0-4261-9085-b5fe704353ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T190344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a50bef6e21f975a79bc9d383c5aac89a03a169e000f03aa522f80e0718efe925 [2023-11-08T19:03:44.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T19:03:44.246Z] Dload Upload Total Spent Left Speed [2023-11-08T19:03:44.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 9670 --:--:-- --:--:-- --:--:-- 9630 [2023-11-08T19:03:44.506Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/41c1ef57410c6681f03d0987537b86c091ab4d75 [Pipeline] } [2023-11-08T19:03:44.532Z] 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-08T19:03:46.895Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-364/archives ] [2023-11-08T19:03:46.895Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-364/archives [2023-11-08T19:03:46.895Z] total 16 [2023-11-08T19:03:46.895Z] drwxr-xr-x 3 root root 4096 Nov 8 18:53 . [2023-11-08T19:03:46.895Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:53 .. [2023-11-08T19:03:46.895Z] drwxr-xr-x 2 root root 4096 Nov 8 18:53 cost [2023-11-08T19:03:46.895Z] -rw-r--r-- 1 root root 86 Nov 8 18:53 cost.csv [2023-11-08T19:03:46.895Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-364/archives [2023-11-08T19:03:46.895Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-364/archives [2023-11-08T19:03:46.895Z] total 16 [2023-11-08T19:03:46.895Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:53 . [2023-11-08T19:03:46.895Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:53 .. [2023-11-08T19:03:46.895Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:53 cost [2023-11-08T19:03:46.895Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:47.222Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:48.140Z] ---> package-listing.sh [2023-11-08T19:03:48.140Z] ++ facter osfamily [2023-11-08T19:03:48.140Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T19:03:48.399Z] + OS_FAMILY=debian [2023-11-08T19:03:48.399Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-364 [2023-11-08T19:03:48.399Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T19:03:48.399Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T19:03:48.399Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T19:03:48.399Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T19:03:48.399Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-364 ']' [2023-11-08T19:03:48.399Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T19:03:48.399Z] + case "${OS_FAMILY}" in [2023-11-08T19:03:48.399Z] + dpkg -l [2023-11-08T19:03:48.399Z] + grep '^ii' [2023-11-08T19:03:48.399Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T19:03:48.399Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T19:03:48.399Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T19:03:48.399Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-364 ']' [2023-11-08T19:03:48.399Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-364/archives/ [2023-11-08T19:03:48.399Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-364/archives/ [Pipeline] echo [2023-11-08T19:03:48.434Z] 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-364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T19:03:48.726Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:03:49.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:03:49.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:03:49.526Z] prd-ubuntu20.04-docker-8c-8g-17062 does not seem to be running inside a container [2023-11-08T19:03:49.529Z] $ 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-364/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-364 -v /w/workspace/gexfoundry_device-rest-go_PR-364:/w/workspace/gexfoundry_device-rest-go_PR-364:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-364@tmp:/w/workspace/gexfoundry_device-rest-go_PR-364@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-08T19:03:51.478Z] $ docker top bc5f26d755cf8cba1860646575cb3c8eb156d791b0283b9c8d29392bca2ca4ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:03:51.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T19:03:52.224Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T19:03:52.541Z] + ls /var/log/sa-host [2023-11-08T19:03:52.541Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:03:52.676Z] provisioning config files... [2023-11-08T19:03:52.685Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-364@tmp/config1942582308733644001tmp [Pipeline] { [Pipeline] echo [2023-11-08T19:03:52.737Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:53.050Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T19:03:53.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:53.482Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T19:03:53.513Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:53.825Z] ---> sudo-logs.sh [2023-11-08T19:03:53.825Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T19:03:53.913Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:54.224Z] ---> job-cost.sh [2023-11-08T19:03:54.224Z] lf-activate-venv: SKIPPING [2023-11-08T19:03:54.224Z] DEBUG: total: 0.2199999988079071 [2023-11-08T19:03:54.224Z] INFO: Retrieving Stack Cost... [2023-11-08T19:03:54.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:03:55.053Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T19:03:55.097Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:55.407Z] ---> logs-deploy.sh [2023-11-08T19:03:55.407Z] lf-activate-venv: SKIPPING [2023-11-08T19:03:55.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-364/1 [2023-11-08T19:03:55.407Z] INFO: archiving workspace using pattern(s): [2023-11-08T19:03:56.343Z] Archives upload complete. [2023-11-08T19:03:56.343Z] INFO: archiving logs to Nexus