Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08427a0a736a1f625753fbdd42df6f4661635c6b+990d379436bad360529865c6b1e601239e616fa1 (eb9be78c9220fd272e2930cbe595bf1a0ed8ab68) 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-ssh12533569014531825644.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5772551862763308846.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh 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-368/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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5056300010396070448.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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13052991966641297591.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh9286935764673779835.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-368/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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9258603403018716382.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-347 in /w/workspace/gexfoundry_device-rest-go_PR-368 [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-368 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 08427a0a736a1f625753fbdd42df6f4661635c6b Merge succeeded, producing 08427a0a736a1f625753fbdd42df6f4661635c6b Checking out Revision 08427a0a736a1f625753fbdd42df6f4661635c6b (PR-368) > 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/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08427a0a736a1f625753fbdd42df6f4661635c6b # 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 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08427a0a736a1f625753fbdd42df6f4661635c6b # timeout=10 Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-21T22:20:19.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-21T22:20:19.781Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-21T22:20:19.895Z] ========================================================= [2023-11-21T22:20:19.895Z] EdgeX Global Pipelines Version Info [2023-11-21T22:20:19.895Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:20:20.655Z] ------------------- [2023-11-21T22:20:20.656Z] stable info: [2023-11-21T22:20:20.656Z] ------------------- [2023-11-21T22:20:20.656Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-21T22:20:20.656Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:20:20.656Z] Message: update stable to v1.0.258 [2023-11-21T22:20:21.230Z] ------------------- [2023-11-21T22:20:21.230Z] experimental info: [2023-11-21T22:20:21.230Z] ------------------- [2023-11-21T22:20:21.230Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-21T22:20:21.230Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:20:21.230Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-21T22:20:21.421Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-21T22:20:21.477Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-21T22:20:21.533Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-21T22:20:21.585Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-21T22:20:21.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-21T22:20:21.700Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-21T22:20:21.754Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-21T22:20:21.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-21T22:20:21.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-21T22:20:21.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-21T22:20:21.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-21T22:20:22.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-21T22:20:22.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-21T22:20:22.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-21T22:20:22.248Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:20:22.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:20:22.385Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:20:22.453Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:20:22.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-21T22:20:22.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-21T22:20:22.663Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-21T22:20:22.722Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-21T22:20:22.796Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-21T22:20:22.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-21T22:20:22.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-21T22:20:22.995Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-21T22:20:23.067Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-21T22:20:23.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo [2023-11-21T22:20:23.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo [2023-11-21T22:20:23.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo [2023-11-21T22:20:23.358Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08427a0a736a1f625753fbdd42df6f4661635c6b [Pipeline] echo [2023-11-21T22:20:23.431Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08427a0 [Pipeline] echo [2023-11-21T22:20:23.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:20:23.673Z] provisioning config files... [2023-11-21T22:20:23.689Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp/config16935519781572576143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:20:24.097Z] ---> ****-login.sh [2023-11-21T22:20:24.097Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:20:24.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:24.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:24.358Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:24.358Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:24.358Z] [2023-11-21T22:20:24.358Z] Login Succeeded [2023-11-21T22:20:24.358Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:20:24.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:24.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:24.618Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:24.618Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:24.618Z] [2023-11-21T22:20:24.618Z] Login Succeeded [2023-11-21T22:20:24.618Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:20:24.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:24.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:24.619Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:24.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:24.619Z] [2023-11-21T22:20:24.619Z] Login Succeeded [2023-11-21T22:20:24.619Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:20:24.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:24.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:24.619Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:24.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:24.619Z] [2023-11-21T22:20:24.619Z] Login Succeeded [2023-11-21T22:20:24.619Z] ****.io [2023-11-21T22:20:24.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:25.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:25.138Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:25.138Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:25.138Z] [2023-11-21T22:20:25.138Z] Login Succeeded [2023-11-21T22:20:25.138Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:20:25.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-21T22:20:25.974Z] + git rev-list -1 --merges 08427a0a736a1f625753fbdd42df6f4661635c6b~1..08427a0a736a1f625753fbdd42df6f4661635c6b [Pipeline] echo [2023-11-21T22:20:26.010Z] -----------> git rev-list -1 --merges 08427a0a736a1f625753fbdd42df6f4661635c6b~1..08427a0a736a1f625753fbdd42df6f4661635c6b 08427a0a736a1f625753fbdd42df6f4661635c6b [false] [Pipeline] sh [2023-11-21T22:20:26.341Z] + git log --format=format:%s -1 08427a0a736a1f625753fbdd42df6f4661635c6b [Pipeline] echo [2023-11-21T22:20:26.375Z] ========================================================= [2023-11-21T22:20:26.375Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-21T22:20:26.375Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:20:26.863Z] + git log --format=format:%s -1 08427a0a736a1f625753fbdd42df6f4661635c6b [Pipeline] echo [2023-11-21T22:20:26.893Z] [semverPrep] GIT_COMMIT: 08427a0a736a1f625753fbdd42df6f4661635c6b, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo [2023-11-21T22:20:26.951Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-21T22:20:27.360Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-21T22:20:27.360Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-21T22:20:27.360Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-21T22:20:27.360Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-21T22:20:27.360Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-21T22:20:27.360Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-21T22:20:27.360Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:20:27.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:20:27.792Z] [2023-11-21T22:20:27.792Z] 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-21T22:20:28.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:20:28.258Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-21T22:20:28.258Z] b85a868b505f: Pulling fs layer [2023-11-21T22:20:28.258Z] e2be974225ed: Pulling fs layer [2023-11-21T22:20:28.258Z] 339a4e72a1f5: Pulling fs layer [2023-11-21T22:20:28.258Z] 988bab9f4d93: Pulling fs layer [2023-11-21T22:20:28.258Z] 1469e6f7b9e6: Pulling fs layer [2023-11-21T22:20:28.258Z] eaf3925da568: Pulling fs layer [2023-11-21T22:20:28.258Z] bab4dde63d76: Pulling fs layer [2023-11-21T22:20:28.258Z] bde34c3a00c8: Pulling fs layer [2023-11-21T22:20:28.258Z] b352a97aabf1: Pulling fs layer [2023-11-21T22:20:28.258Z] 4872d77fe225: Pulling fs layer [2023-11-21T22:20:28.258Z] 5851b861e8e6: Pulling fs layer [2023-11-21T22:20:28.258Z] 1469e6f7b9e6: Waiting [2023-11-21T22:20:28.258Z] eaf3925da568: Waiting [2023-11-21T22:20:28.258Z] bab4dde63d76: Waiting [2023-11-21T22:20:28.258Z] bde34c3a00c8: Waiting [2023-11-21T22:20:28.258Z] b352a97aabf1: Waiting [2023-11-21T22:20:28.258Z] 4872d77fe225: Waiting [2023-11-21T22:20:28.258Z] 988bab9f4d93: Waiting [2023-11-21T22:20:28.517Z] e2be974225ed: Download complete [2023-11-21T22:20:28.517Z] 988bab9f4d93: Verifying Checksum [2023-11-21T22:20:28.517Z] 988bab9f4d93: Download complete [2023-11-21T22:20:28.517Z] 1469e6f7b9e6: Verifying Checksum [2023-11-21T22:20:28.517Z] 1469e6f7b9e6: Download complete [2023-11-21T22:20:28.517Z] eaf3925da568: Download complete [2023-11-21T22:20:28.517Z] 339a4e72a1f5: Verifying Checksum [2023-11-21T22:20:28.517Z] 339a4e72a1f5: Download complete [2023-11-21T22:20:28.517Z] bde34c3a00c8: Verifying Checksum [2023-11-21T22:20:28.517Z] bde34c3a00c8: Download complete [2023-11-21T22:20:28.517Z] b352a97aabf1: Verifying Checksum [2023-11-21T22:20:28.517Z] b352a97aabf1: Download complete [2023-11-21T22:20:28.517Z] 4872d77fe225: Download complete [2023-11-21T22:20:28.517Z] 5851b861e8e6: Download complete [2023-11-21T22:20:28.795Z] b85a868b505f: Verifying Checksum [2023-11-21T22:20:28.795Z] b85a868b505f: Download complete [2023-11-21T22:20:29.059Z] bab4dde63d76: Verifying Checksum [2023-11-21T22:20:29.059Z] bab4dde63d76: Download complete [2023-11-21T22:20:29.993Z] b85a868b505f: Pull complete [2023-11-21T22:20:29.993Z] e2be974225ed: Pull complete [2023-11-21T22:20:30.567Z] 339a4e72a1f5: Pull complete [2023-11-21T22:20:30.567Z] 988bab9f4d93: Pull complete [2023-11-21T22:20:30.825Z] 1469e6f7b9e6: Pull complete [2023-11-21T22:20:30.825Z] eaf3925da568: Pull complete [2023-11-21T22:20:32.733Z] bab4dde63d76: Pull complete [2023-11-21T22:20:33.000Z] bde34c3a00c8: Pull complete [2023-11-21T22:20:33.000Z] b352a97aabf1: Pull complete [2023-11-21T22:20:33.000Z] 4872d77fe225: Pull complete [2023-11-21T22:20:33.272Z] 5851b861e8e6: Pull complete [2023-11-21T22:20:33.272Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-21T22:20:33.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:20:33.272Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:20:33.638Z] prd-ubuntu20.04-docker-8c-8g-347 does not seem to be running inside a container [2023-11-21T22:20:33.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-368 -v /w/workspace/gexfoundry_device-rest-go_PR-368:/w/workspace/gexfoundry_device-rest-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-368@tmp:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-21T22:20:35.820Z] $ docker top 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f -eo pid,comm [2023-11-21T22:20:35.880Z] 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-21T22:20:35.880Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-21T22:20:36.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:20:36.086Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:20:36.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:20:36.208Z] $ docker exec 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f ssh-agent [2023-11-21T22:20:36.317Z] SSH_AUTH_SOCK=/tmp/ssh-T2QAXA1Dno5B/agent.32 [2023-11-21T22:20:36.317Z] SSH_AGENT_PID=38 [2023-11-21T22:20:36.324Z] Running ssh-add (command line suppressed) [2023-11-21T22:20:36.432Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-368@tmp/private_key_15788854662845032760.key (/w/workspace/gexfoundry_device-rest-go_PR-368@tmp/private_key_15788854662845032760.key) [2023-11-21T22:20:36.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:20:36.798Z] + git tag --points-at HEAD [Pipeline] } [2023-11-21T22:20:36.824Z] $ docker exec --env ******** --env ******** 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f ssh-agent -k [2023-11-21T22:20:36.928Z] unset SSH_AUTH_SOCK; [2023-11-21T22:20:36.928Z] unset SSH_AGENT_PID; [2023-11-21T22:20:36.928Z] echo Agent pid 38 killed; [2023-11-21T22:20:36.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-21T22:20:37.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:20:37.084Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:20:37.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:20:37.211Z] $ docker exec 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f ssh-agent [2023-11-21T22:20:37.321Z] SSH_AUTH_SOCK=/tmp/ssh-sKLOiYYHf09e/agent.70 [2023-11-21T22:20:37.321Z] SSH_AGENT_PID=76 [2023-11-21T22:20:37.326Z] Running ssh-add (command line suppressed) [2023-11-21T22:20:37.448Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-368@tmp/private_key_13450317241600854239.key (/w/workspace/gexfoundry_device-rest-go_PR-368@tmp/private_key_13450317241600854239.key) [2023-11-21T22:20:37.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:20:37.841Z] + git semver init [2023-11-21T22:20:38.103Z] 2023-11-21 22:20:38,016 [run_init] DEBUG init version:0.0.0 force:False [2023-11-21T22:20:38.103Z] 2023-11-21 22:20:38,017 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-368/.semver [2023-11-21T22:20:38.103Z] 2023-11-21 22:20:38,017 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-368/.semver [2023-11-21T22:20:38.103Z] 2023-11-21 22:20:38,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-368/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-368, universal_newlines=False, shell=None, istream=None) [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,342 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-368/.git/info/exclude [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,343 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-368/.semver/PR-368 with force:False [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,343 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-368/.semver/PR-368 [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,346 [execute] INFO git cat-file --batch-check [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,353 [execute] INFO git cat-file --batch [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:20:39.481Z] 2023-11-21 22:20:39,359 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-368/.semver/PR-368 [2023-11-21T22:20:39.481Z] 0.0.0 [Pipeline] } [2023-11-21T22:20:39.506Z] $ docker exec --env ******** --env ******** 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f ssh-agent -k [2023-11-21T22:20:39.604Z] unset SSH_AUTH_SOCK; [2023-11-21T22:20:39.605Z] unset SSH_AGENT_PID; [2023-11-21T22:20:39.605Z] echo Agent pid 76 killed; [2023-11-21T22:20:39.613Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-21T22:20:40.143Z] + git semver [Pipeline] } [2023-11-21T22:20:40.424Z] $ docker stop --time=1 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f [2023-11-21T22:20:41.746Z] $ docker rm -f --volumes 8b30708074538f18cca0387039e066f88aa30d4105d44d7ebfc5155de5429c3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:20:42.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-21T22:20:42.515Z] Stashed 1 file(s) [Pipeline] echo [2023-11-21T22:20:42.531Z] [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-21T22:20:43.393Z] provisioning config files... [2023-11-21T22:20:43.403Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp/config7897822707433913308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:20:43.808Z] ---> ****-login.sh [2023-11-21T22:20:43.808Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:20:43.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:43.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:43.809Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:43.809Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:43.809Z] [2023-11-21T22:20:43.809Z] Login Succeeded [2023-11-21T22:20:43.809Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:20:43.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:43.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:43.809Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:43.809Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:43.809Z] [2023-11-21T22:20:43.809Z] Login Succeeded [2023-11-21T22:20:43.809Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:20:44.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:44.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:44.069Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:44.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:44.069Z] [2023-11-21T22:20:44.069Z] Login Succeeded [2023-11-21T22:20:44.069Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:20:44.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:44.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:44.069Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:44.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:44.069Z] [2023-11-21T22:20:44.069Z] Login Succeeded [2023-11-21T22:20:44.069Z] ****.io [2023-11-21T22:20:44.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:44.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:44.328Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:44.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:44.328Z] [2023-11-21T22:20:44.328Z] Login Succeeded [2023-11-21T22:20:44.328Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:20:44.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:20:44.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:20:44.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:20:44.815Z] ========================================================= [2023-11-21T22:20:44.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-21T22:20:44.816Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:20:45.436Z] + 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-21T22:20:45.436Z] Sending build context to Docker daemon 16.34MB [2023-11-21T22:20:45.436Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:20:45.436Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:20:45.695Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-21T22:20:45.695Z] 7264a8db6415: Pulling fs layer [2023-11-21T22:20:45.695Z] c4d48a809fc2: Pulling fs layer [2023-11-21T22:20:45.695Z] 4f1c88b9dad5: Pulling fs layer [2023-11-21T22:20:45.695Z] ad3a456e5733: Pulling fs layer [2023-11-21T22:20:45.695Z] 69c7f0334f64: Pulling fs layer [2023-11-21T22:20:45.695Z] 1f1c1a5573a3: Pulling fs layer [2023-11-21T22:20:45.695Z] ce7588e14bc9: Pulling fs layer [2023-11-21T22:20:45.695Z] b5e4710f87ac: Pulling fs layer [2023-11-21T22:20:45.695Z] ad3a456e5733: Waiting [2023-11-21T22:20:45.695Z] 69c7f0334f64: Waiting [2023-11-21T22:20:45.695Z] 1f1c1a5573a3: Waiting [2023-11-21T22:20:45.695Z] b5e4710f87ac: Waiting [2023-11-21T22:20:45.695Z] ce7588e14bc9: Waiting [2023-11-21T22:20:45.695Z] c4d48a809fc2: Download complete [2023-11-21T22:20:45.695Z] ad3a456e5733: Verifying Checksum [2023-11-21T22:20:45.695Z] ad3a456e5733: Download complete [2023-11-21T22:20:45.695Z] 69c7f0334f64: Verifying Checksum [2023-11-21T22:20:45.695Z] 69c7f0334f64: Download complete [2023-11-21T22:20:45.966Z] 7264a8db6415: Verifying Checksum [2023-11-21T22:20:45.966Z] 7264a8db6415: Download complete [2023-11-21T22:20:45.966Z] 1f1c1a5573a3: Verifying Checksum [2023-11-21T22:20:45.966Z] 1f1c1a5573a3: Download complete [2023-11-21T22:20:46.225Z] b5e4710f87ac: Verifying Checksum [2023-11-21T22:20:46.225Z] b5e4710f87ac: Download complete [2023-11-21T22:20:46.225Z] 7264a8db6415: Pull complete [2023-11-21T22:20:46.225Z] 4f1c88b9dad5: Verifying Checksum [2023-11-21T22:20:46.225Z] 4f1c88b9dad5: Download complete [2023-11-21T22:20:46.487Z] c4d48a809fc2: Pull complete [2023-11-21T22:20:46.746Z] ce7588e14bc9: Verifying Checksum [2023-11-21T22:20:46.746Z] ce7588e14bc9: Download complete [2023-11-21T22:20:50.938Z] 4f1c88b9dad5: Pull complete [2023-11-21T22:20:50.938Z] ad3a456e5733: Pull complete [2023-11-21T22:20:50.938Z] 69c7f0334f64: Pull complete [2023-11-21T22:20:50.938Z] 1f1c1a5573a3: Pull complete [2023-11-21T22:20:53.088Z] ce7588e14bc9: Pull complete [2023-11-21T22:20:53.655Z] b5e4710f87ac: Pull complete [2023-11-21T22:20:53.655Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-21T22:20:53.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-21T22:20:53.655Z] ---> 88b5674ff536 [2023-11-21T22:20:53.655Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:20:55.558Z] ---> Running in 9c46da322838 [2023-11-21T22:20:55.558Z] Removing intermediate container 9c46da322838 [2023-11-21T22:20:55.558Z] ---> 35f23253541d [2023-11-21T22:20:55.558Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:20:55.827Z] ---> Running in 84f0abc9d7b7 [2023-11-21T22:20:55.827Z] Removing intermediate container 84f0abc9d7b7 [2023-11-21T22:20:55.827Z] ---> 0744ceba2b04 [2023-11-21T22:20:55.827Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:20:55.827Z] ---> Running in b792fe7933b3 [2023-11-21T22:20:55.827Z] Removing intermediate container b792fe7933b3 [2023-11-21T22:20:55.827Z] ---> c9621f7ca3da [2023-11-21T22:20:55.827Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:20:55.827Z] ---> Running in 2af1babd8033 [2023-11-21T22:20:56.085Z] Removing intermediate container 2af1babd8033 [2023-11-21T22:20:56.085Z] ---> 82f1b74ddbca [2023-11-21T22:20:56.085Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:20:56.085Z] ---> Running in e8a5c505bc7f [2023-11-21T22:20:56.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:20:56.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:20:56.608Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:20:56.608Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:20:56.608Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:20:56.608Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:20:56.608Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:20:56.608Z] OK: 268 MiB in 56 packages [2023-11-21T22:20:56.869Z] Removing intermediate container e8a5c505bc7f [2023-11-21T22:20:56.869Z] ---> ca815425d756 [2023-11-21T22:20:56.869Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-21T22:20:56.869Z] ---> Running in 5944b8500f44 [2023-11-21T22:20:57.127Z] Removing intermediate container 5944b8500f44 [2023-11-21T22:20:57.127Z] ---> ac9c0489c292 [2023-11-21T22:20:57.127Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:20:57.127Z] ---> 26c713066f14 [2023-11-21T22:20:57.127Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:20:57.127Z] ---> Running in 2bb659447f47 [2023-11-21T22:20:58.152Z] Still waiting to schedule task [2023-11-21T22:20:58.152Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-21T22:21:56.985Z] Removing intermediate container 2bb659447f47 [2023-11-21T22:21:56.985Z] ---> ad9a7e479972 [2023-11-21T22:21:56.985Z] Step 11/12 : COPY . . [2023-11-21T22:21:56.985Z] ---> a474697717be [2023-11-21T22:21:56.985Z] Step 12/12 : RUN $MAKE [2023-11-21T22:21:56.985Z] ---> Running in 248c31012521 [2023-11-21T22:21:56.985Z] noop [2023-11-21T22:21:56.985Z] Removing intermediate container 248c31012521 [2023-11-21T22:21:56.985Z] ---> 5bd70fb52dd8 [2023-11-21T22:21:56.985Z] Successfully built 5bd70fb52dd8 [2023-11-21T22:21:56.985Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:57.629Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:21:57.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:21:57.858Z] prd-ubuntu20.04-docker-8c-8g-347 does not seem to be running inside a container [2023-11-21T22:21:57.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-368 -v /w/workspace/gexfoundry_device-rest-go_PR-368:/w/workspace/gexfoundry_device-rest-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-368@tmp:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-21T22:22:00.229Z] $ docker top 58c32bcbefe973ba727516c5eac23df1f934b7c7fe8c65ab094e66aea157720b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:22:00.826Z] + go version [2023-11-21T22:22:00.826Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-21T22:22:00.862Z] $ docker stop --time=1 58c32bcbefe973ba727516c5eac23df1f934b7c7fe8c65ab094e66aea157720b [2023-11-21T22:22:02.477Z] $ docker rm -f --volumes 58c32bcbefe973ba727516c5eac23df1f934b7c7fe8c65ab094e66aea157720b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:03.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:22:03.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:03.764Z] prd-ubuntu20.04-docker-8c-8g-347 does not seem to be running inside a container [2023-11-21T22:22:03.802Z] $ 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-368 -v /w/workspace/gexfoundry_device-rest-go_PR-368:/w/workspace/gexfoundry_device-rest-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-368@tmp:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-21T22:22:04.530Z] $ docker top 52849bb91ea57b0878a7bd3178ba835f6fe3b9b8317dd0fbf28eeef0483178f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:22:04.988Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-368 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:22:05.400Z] + make test [2023-11-21T22:22:05.400Z] go test ./... -coverprofile=coverage.out ./... [2023-11-21T22:22:08.700Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-21T22:22:19.083Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-21T22:22:19.083Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-11-21T22:22:24.359Z] go vet ./... [2023-11-21T22:22:27.648Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:22:27.649Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:22:27.649Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:22:27.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:22:27.782Z] $ docker stop --time=1 52849bb91ea57b0878a7bd3178ba835f6fe3b9b8317dd0fbf28eeef0483178f8 [2023-11-21T22:22:30.771Z] $ docker rm -f --volumes 52849bb91ea57b0878a7bd3178ba835f6fe3b9b8317dd0fbf28eeef0483178f8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:22:31.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:22:31.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-21T22:22:32.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:22:32.648Z] + ls -al . [2023-11-21T22:22:32.648Z] total 180 [2023-11-21T22:22:32.648Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:22 . [2023-11-21T22:22:32.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:20 .. [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 21 22:20 .dockerignore [2023-11-21T22:22:32.648Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:22 .git [2023-11-21T22:22:32.648Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:20 .github [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 21 22:20 .gitignore [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:20 .golangci.yml [2023-11-21T22:22:32.648Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:20 .semver [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 21 22:20 Attribution.txt [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 21 22:20 CHANGELOG.md [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 21 22:20 Dockerfile [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:20 GOVERNANCE.md [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 21 22:20 Jenkinsfile [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:20 LICENSE [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 21 22:20 Makefile [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:20 OWNERS.md [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 21 22:20 README.md [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:20 VERSION [2023-11-21T22:22:32.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:20 bin [2023-11-21T22:22:32.648Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:20 cmd [2023-11-21T22:22:32.648Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 21 22:22 coverage.out [2023-11-21T22:22:32.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:20 driver [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 21 22:20 go.mod [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 21 22:20 go.sum [2023-11-21T22:22:32.648Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:20 openapi [2023-11-21T22:22:32.648Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 21 22:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:33.172Z] + 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=08427a0a736a1f625753fbdd42df6f4661635c6b --label arch=amd64 --label version=0.0.0 . [2023-11-21T22:22:33.172Z] Sending build context to Docker daemon 16.35MB [2023-11-21T22:22:33.172Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:22:33.172Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-21T22:22:33.172Z] ---> 5bd70fb52dd8 [2023-11-21T22:22:33.172Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:22:33.431Z] ---> Running in 45e157944551 [2023-11-21T22:22:33.688Z] Removing intermediate container 45e157944551 [2023-11-21T22:22:33.688Z] ---> 487329419b44 [2023-11-21T22:22:33.688Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:22:33.688Z] ---> Running in 3c8265cd7ce7 [2023-11-21T22:22:34.684Z] Removing intermediate container 3c8265cd7ce7 [2023-11-21T22:22:34.684Z] ---> b8409fc027c3 [2023-11-21T22:22:34.684Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:22:34.684Z] ---> Running in 1f999fac1662 [2023-11-21T22:22:34.942Z] Removing intermediate container 1f999fac1662 [2023-11-21T22:22:34.942Z] ---> 2eed97445387 [2023-11-21T22:22:34.942Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:22:35.209Z] ---> Running in 59e0f1c5a03f [2023-11-21T22:22:35.469Z] Removing intermediate container 59e0f1c5a03f [2023-11-21T22:22:35.469Z] ---> 258bc778bcac [2023-11-21T22:22:35.469Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:22:35.741Z] ---> Running in d24461297bc0 [2023-11-21T22:22:36.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:36.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:36.259Z] OK: 268 MiB in 56 packages [2023-11-21T22:22:36.824Z] Removing intermediate container d24461297bc0 [2023-11-21T22:22:36.824Z] ---> 7ee987964bae [2023-11-21T22:22:36.824Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-21T22:22:36.824Z] ---> Running in 0c1eb6ec827e [2023-11-21T22:22:36.824Z] Removing intermediate container 0c1eb6ec827e [2023-11-21T22:22:36.824Z] ---> 326fe99edb39 [2023-11-21T22:22:36.824Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-21T22:22:36.824Z] ---> caa33a91f1d0 [2023-11-21T22:22:36.824Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:22:36.824Z] ---> Running in 709fb2a16126 [2023-11-21T22:22:37.391Z] Removing intermediate container 709fb2a16126 [2023-11-21T22:22:37.391Z] ---> 0afddeaa6960 [2023-11-21T22:22:37.391Z] Step 11/26 : COPY . . [2023-11-21T22:22:38.261Z] ---> f2a9f80110a6 [2023-11-21T22:22:38.261Z] Step 12/26 : RUN $MAKE [2023-11-21T22:22:38.261Z] ---> Running in 14bbc4292dba [2023-11-21T22:22:38.521Z] 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-21T22:23:00.489Z] Removing intermediate container 14bbc4292dba [2023-11-21T22:23:00.489Z] ---> 538f74af4b62 [2023-11-21T22:23:00.489Z] Step 13/26 : FROM alpine:3.18 [2023-11-21T22:23:00.489Z] 3.18: Pulling from library/alpine [2023-11-21T22:23:00.489Z] 96526aa774ef: Pulling fs layer [2023-11-21T22:23:00.489Z] 96526aa774ef: Verifying Checksum [2023-11-21T22:23:00.489Z] 96526aa774ef: Download complete [2023-11-21T22:23:00.489Z] 96526aa774ef: Pull complete [2023-11-21T22:23:00.490Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:23:00.490Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:23:00.490Z] ---> 8ca4688f4f35 [2023-11-21T22:23:00.490Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-21T22:23:00.490Z] ---> Running in 150dac35db93 [2023-11-21T22:23:00.490Z] Removing intermediate container 150dac35db93 [2023-11-21T22:23:00.490Z] ---> 042ea5f63f2e [2023-11-21T22:23:00.490Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-21T22:23:00.490Z] ---> Running in d066d6b8c50b [2023-11-21T22:23:00.490Z] Removing intermediate container d066d6b8c50b [2023-11-21T22:23:00.490Z] ---> 33a08b584074 [2023-11-21T22:23:00.490Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:23:00.490Z] ---> Running in ebb95a6c48ed [2023-11-21T22:23:00.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:00.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:00.490Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:23:00.490Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:23:00.490Z] OK: 7 MiB in 16 packages [2023-11-21T22:23:00.490Z] Removing intermediate container ebb95a6c48ed [2023-11-21T22:23:00.490Z] ---> 7ca588cd5dd1 [2023-11-21T22:23:00.490Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-21T22:23:00.490Z] ---> Running in b4e0ed878345 [2023-11-21T22:23:00.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:00.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:00.490Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:23:00.490Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:23:00.490Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:23:00.490Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:23:00.490Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:23:00.490Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:23:00.490Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:23:00.490Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:23:00.490Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:23:00.490Z] OK: 7 MiB in 16 packages [2023-11-21T22:23:01.059Z] Removing intermediate container b4e0ed878345 [2023-11-21T22:23:01.059Z] ---> 1d5901812d9f [2023-11-21T22:23:01.059Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-21T22:23:01.727Z] ---> 33dcc16f252c [2023-11-21T22:23:01.727Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-21T22:23:01.990Z] ---> 679a1f9d8579 [2023-11-21T22:23:01.990Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-21T22:23:01.990Z] ---> 1891d186af36 [2023-11-21T22:23:01.990Z] Step 21/26 : EXPOSE 59986 [2023-11-21T22:23:01.990Z] ---> Running in 42d30fbb870f [2023-11-21T22:23:02.249Z] Removing intermediate container 42d30fbb870f [2023-11-21T22:23:02.249Z] ---> 20c4141e9b5a [2023-11-21T22:23:02.249Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-21T22:23:02.249Z] ---> Running in 241d5dfa2652 [2023-11-21T22:23:02.249Z] Removing intermediate container 241d5dfa2652 [2023-11-21T22:23:02.249Z] ---> d9771ee0748e [2023-11-21T22:23:02.249Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-21T22:23:02.249Z] ---> Running in ddf7cec5a080 [2023-11-21T22:23:02.249Z] Removing intermediate container ddf7cec5a080 [2023-11-21T22:23:02.249Z] ---> 2a1c033920c7 [2023-11-21T22:23:02.249Z] Step 24/26 : LABEL arch=amd64 [2023-11-21T22:23:02.249Z] ---> Running in 682b5e360d5b [2023-11-21T22:23:02.510Z] Removing intermediate container 682b5e360d5b [2023-11-21T22:23:02.510Z] ---> f645113503e6 [2023-11-21T22:23:02.510Z] Step 25/26 : LABEL git_sha=08427a0a736a1f625753fbdd42df6f4661635c6b [2023-11-21T22:23:02.510Z] ---> Running in 324a0d4d8341 [2023-11-21T22:23:02.510Z] Removing intermediate container 324a0d4d8341 [2023-11-21T22:23:02.510Z] ---> 57afbea2a3cd [2023-11-21T22:23:02.510Z] Step 26/26 : LABEL version=0.0.0 [2023-11-21T22:23:02.510Z] ---> Running in 47f60e5d186c [2023-11-21T22:23:02.510Z] Removing intermediate container 47f60e5d186c [2023-11-21T22:23:02.510Z] ---> c1732a8648c6 [2023-11-21T22:23:02.510Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:23:02.510Z] Successfully built c1732a8648c6 [2023-11-21T22:23:02.510Z] 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-21T22:23:03.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:23:03.806Z] [2023-11-21T22:23:03.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:04.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:23:04.218Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-21T22:23:04.218Z] 5eb5b503b376: Pulling fs layer [2023-11-21T22:23:04.218Z] 5c69ac0246d0: Pulling fs layer [2023-11-21T22:23:04.218Z] ec43610c2a17: Pulling fs layer [2023-11-21T22:23:04.218Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-21T22:23:04.218Z] 33b1e0a273af: Pulling fs layer [2023-11-21T22:23:04.218Z] 5d3b04190fa2: Pulling fs layer [2023-11-21T22:23:04.218Z] 2f39f015ded8: Pulling fs layer [2023-11-21T22:23:04.218Z] 33b1e0a273af: Waiting [2023-11-21T22:23:04.218Z] 5d3b04190fa2: Waiting [2023-11-21T22:23:04.218Z] 2f39f015ded8: Waiting [2023-11-21T22:23:04.218Z] 3a2ae6a8a46f: Waiting [2023-11-21T22:23:04.218Z] 5c69ac0246d0: Download complete [2023-11-21T22:23:04.218Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-21T22:23:04.218Z] 3a2ae6a8a46f: Download complete [2023-11-21T22:23:04.218Z] 33b1e0a273af: Verifying Checksum [2023-11-21T22:23:04.218Z] 33b1e0a273af: Download complete [2023-11-21T22:23:04.218Z] ec43610c2a17: Verifying Checksum [2023-11-21T22:23:04.218Z] ec43610c2a17: Download complete [2023-11-21T22:23:04.218Z] 5d3b04190fa2: Download complete [2023-11-21T22:23:04.477Z] 5eb5b503b376: Verifying Checksum [2023-11-21T22:23:04.478Z] 5eb5b503b376: Download complete [2023-11-21T22:23:05.047Z] 2f39f015ded8: Download complete [2023-11-21T22:23:05.614Z] 5eb5b503b376: Pull complete [2023-11-21T22:23:05.873Z] 5c69ac0246d0: Pull complete [2023-11-21T22:23:06.130Z] ec43610c2a17: Pull complete [2023-11-21T22:23:06.389Z] 3a2ae6a8a46f: Pull complete [2023-11-21T22:23:06.389Z] 33b1e0a273af: Pull complete [2023-11-21T22:23:06.647Z] 5d3b04190fa2: Pull complete [2023-11-21T22:23:10.831Z] 2f39f015ded8: Pull complete [2023-11-21T22:23:10.831Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-21T22:23:10.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:23:10.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:23:11.182Z] prd-ubuntu20.04-docker-8c-8g-347 does not seem to be running inside a container [2023-11-21T22:23:11.220Z] $ 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-368 -v /w/workspace/gexfoundry_device-rest-go_PR-368:/w/workspace/gexfoundry_device-rest-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-368@tmp:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:23:17.053Z] $ docker top fe91ee627c9e2294d0b169bca80a7908e84b77a4e2ae12e8d673c9f3cb3b6111 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:23:17.555Z] ---> job-cost.sh [2023-11-21T22:23:17.555Z] lf-activate-venv: SKIPPING [2023-11-21T22:23:17.555Z] INFO: No Stack... [2023-11-21T22:23:17.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:23:18.380Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:23:18.693Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-368/archives/cost.csv [2023-11-21T22:23:18.693Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:23:18.730Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] [2023-11-21T22:23:18.735Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] did not exist. Created. [2023-11-21T22:23:18.735Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:23:19.191Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-21T22:23:19.244Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:23:19.304Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:23:19.458Z] $ docker stop --time=1 fe91ee627c9e2294d0b169bca80a7908e84b77a4e2ae12e8d673c9f3cb3b6111 [2023-11-21T22:23:20.603Z] $ docker rm -f --volumes fe91ee627c9e2294d0b169bca80a7908e84b77a4e2ae12e8d673c9f3cb3b6111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-21T22:23:54.617Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-368 in /w/workspace/gexfoundry_device-rest-go_PR-368 [Pipeline] { [Pipeline] ws [2023-11-21T22:23:54.708Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-21T22:23:57.857Z] The recommended git tool is: git [2023-11-21T22:24:09.964Z] using credential edgex-jenkins-ssh [2023-11-21T22:24:09.990Z] Cloning the remote Git repository [2023-11-21T22:24:10.068Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-21T22:24:10.236Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-21T22:24:10.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-21T22:24:10.523Z] > git --version # timeout=10 [2023-11-21T22:24:10.574Z] > git --version # 'git version 2.25.1' [2023-11-21T22:24:10.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:24:10.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:24:14.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-21T22:24:14.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:24:16.253Z] Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 08427a0a736a1f625753fbdd42df6f4661635c6b [2023-11-21T22:24:16.613Z] Merge succeeded, producing 08427a0a736a1f625753fbdd42df6f4661635c6b [2023-11-21T22:24:16.613Z] Checking out Revision 08427a0a736a1f625753fbdd42df6f4661635c6b (PR-368) [2023-11-21T22:24:15.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-21T22:24:15.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-21T22:24:15.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:24:15.673Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-21T22:24:16.277Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:24:16.368Z] > git checkout -f 08427a0a736a1f625753fbdd42df6f4661635c6b # timeout=10 [2023-11-21T22:24:16.477Z] > git remote # timeout=10 [2023-11-21T22:24:16.505Z] > git config --get remote.origin.url # timeout=10 [2023-11-21T22:24:16.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:24:16.541Z] > git merge 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 [2023-11-21T22:24:16.582Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-21T22:24:16.621Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:24:16.641Z] > git checkout -f 08427a0a736a1f625753fbdd42df6f4661635c6b # timeout=10 [2023-11-21T22:24:17.353Z] Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" [2023-11-21T22:24:17.417Z] > git --version # timeout=10 [2023-11-21T22:24:17.433Z] > git --version # 'git version 2.25.1' [2023-11-21T22:24:17.451Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:24:18.917Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-21T22:24:18.917Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:24:18.917Z] Dload Upload Total Spent Left Speed [2023-11-21T22:24:18.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 203k [Pipeline] sh [2023-11-21T22:24:19.306Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-21T22:24:19.680Z] + sudo tee /etc/docker/daemon.new [2023-11-21T22:24:19.680Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-21T22:24:19.680Z] { [2023-11-21T22:24:19.680Z] "registry-mirrors": [ [2023-11-21T22:24:19.680Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-21T22:24:19.680Z] ], [2023-11-21T22:24:19.680Z] "bip": "10.250.0.254/24", [2023-11-21T22:24:19.680Z] "hosts": [ [2023-11-21T22:24:19.680Z] "tcp://0.0.0.0:5555", [2023-11-21T22:24:19.680Z] "unix:///var/run/docker.sock" [2023-11-21T22:24:19.680Z] ], [2023-11-21T22:24:19.680Z] "mtu": 1458, [2023-11-21T22:24:19.680Z] "selinux-enabled": true, [2023-11-21T22:24:19.680Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-21T22:24:19.680Z] } [Pipeline] sh [2023-11-21T22:24:20.058Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-21T22:24:20.438Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:24:38.922Z] provisioning config files... [2023-11-21T22:24:38.958Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10404183060219137478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:24:39.542Z] ---> ****-login.sh [2023-11-21T22:24:39.543Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:24:40.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:24:40.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:24:40.144Z] Configure a credential helper to remove this warning. See [2023-11-21T22:24:40.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:24:40.144Z] [2023-11-21T22:24:40.144Z] Login Succeeded [2023-11-21T22:24:40.144Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:24:40.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:24:40.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:24:40.711Z] Configure a credential helper to remove this warning. See [2023-11-21T22:24:40.711Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:24:40.711Z] [2023-11-21T22:24:40.711Z] Login Succeeded [2023-11-21T22:24:40.711Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:24:40.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:24:40.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:24:40.989Z] Configure a credential helper to remove this warning. See [2023-11-21T22:24:40.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:24:40.989Z] [2023-11-21T22:24:40.989Z] Login Succeeded [2023-11-21T22:24:40.989Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:24:41.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:24:41.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:24:41.540Z] Configure a credential helper to remove this warning. See [2023-11-21T22:24:41.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:24:41.540Z] [2023-11-21T22:24:41.540Z] Login Succeeded [2023-11-21T22:24:41.540Z] ****.io [2023-11-21T22:24:41.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:24:42.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:24:42.091Z] Configure a credential helper to remove this warning. See [2023-11-21T22:24:42.091Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:24:42.091Z] [2023-11-21T22:24:42.091Z] Login Succeeded [2023-11-21T22:24:42.091Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:24:42.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:24:42.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:24:42.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:24:42.935Z] ========================================================= [2023-11-21T22:24:42.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-21T22:24:42.935Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:43.641Z] + 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-21T22:24:43.641Z] Sending build context to Docker daemon 127.5kB [2023-11-21T22:24:43.916Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:24:43.916Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:24:44.202Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-21T22:24:44.202Z] 9fda8d8052c6: Pulling fs layer [2023-11-21T22:24:44.202Z] 5d54e960e981: Pulling fs layer [2023-11-21T22:24:44.202Z] c4a7e357bf2a: Pulling fs layer [2023-11-21T22:24:44.202Z] f0e02332f6b5: Pulling fs layer [2023-11-21T22:24:44.202Z] 872ee5b61b7b: Pulling fs layer [2023-11-21T22:24:44.202Z] 0c6a40ed1a82: Pulling fs layer [2023-11-21T22:24:44.202Z] 94ae7d8d031c: Pulling fs layer [2023-11-21T22:24:44.202Z] 872ee5b61b7b: Waiting [2023-11-21T22:24:44.202Z] 0c6a40ed1a82: Waiting [2023-11-21T22:24:44.202Z] 94ae7d8d031c: Waiting [2023-11-21T22:24:44.202Z] f0e02332f6b5: Waiting [2023-11-21T22:24:44.202Z] 5d54e960e981: Download complete [2023-11-21T22:24:44.202Z] f0e02332f6b5: Verifying Checksum [2023-11-21T22:24:44.202Z] f0e02332f6b5: Download complete [2023-11-21T22:24:44.202Z] 872ee5b61b7b: Download complete [2023-11-21T22:24:44.202Z] 9fda8d8052c6: Download complete [2023-11-21T22:24:44.813Z] 94ae7d8d031c: Verifying Checksum [2023-11-21T22:24:44.813Z] 94ae7d8d031c: Download complete [2023-11-21T22:24:45.439Z] 9fda8d8052c6: Pull complete [2023-11-21T22:24:46.434Z] 5d54e960e981: Pull complete [2023-11-21T22:24:46.434Z] c4a7e357bf2a: Verifying Checksum [2023-11-21T22:24:46.434Z] c4a7e357bf2a: Download complete [2023-11-21T22:24:47.419Z] 0c6a40ed1a82: Verifying Checksum [2023-11-21T22:24:47.419Z] 0c6a40ed1a82: Download complete [2023-11-21T22:25:02.506Z] c4a7e357bf2a: Pull complete [2023-11-21T22:25:02.506Z] f0e02332f6b5: Pull complete [2023-11-21T22:25:02.506Z] 872ee5b61b7b: Pull complete [2023-11-21T22:25:09.312Z] 0c6a40ed1a82: Pull complete [2023-11-21T22:25:11.336Z] 94ae7d8d031c: Pull complete [2023-11-21T22:25:11.336Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-21T22:25:11.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-21T22:25:11.336Z] ---> 86de565de09d [2023-11-21T22:25:11.336Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:25:13.953Z] ---> Running in 2f7ce2d76e1c [2023-11-21T22:25:13.953Z] Removing intermediate container 2f7ce2d76e1c [2023-11-21T22:25:13.953Z] ---> ea326034448f [2023-11-21T22:25:13.953Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:25:13.953Z] ---> Running in 7a8691fdb02a [2023-11-21T22:25:15.921Z] Removing intermediate container 7a8691fdb02a [2023-11-21T22:25:15.921Z] ---> 626bd715fcd8 [2023-11-21T22:25:15.921Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:25:15.921Z] ---> Running in 7957f9fe2ea9 [2023-11-21T22:25:16.193Z] Removing intermediate container 7957f9fe2ea9 [2023-11-21T22:25:16.193Z] ---> 397887634869 [2023-11-21T22:25:16.193Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:25:16.193Z] ---> Running in 7bb3add00361 [2023-11-21T22:25:16.472Z] Removing intermediate container 7bb3add00361 [2023-11-21T22:25:16.472Z] ---> 0533c63065b2 [2023-11-21T22:25:16.472Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:25:16.752Z] ---> Running in 841b185a41d3 [2023-11-21T22:25:18.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:25:18.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:25:19.891Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:25:19.892Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:25:19.892Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:25:19.892Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:25:19.892Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:25:19.892Z] OK: 271 MiB in 56 packages [2023-11-21T22:25:23.281Z] Removing intermediate container 841b185a41d3 [2023-11-21T22:25:23.281Z] ---> de5b4641f07a [2023-11-21T22:25:23.281Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-21T22:25:23.553Z] ---> Running in 913a5a622554 [2023-11-21T22:25:23.826Z] Removing intermediate container 913a5a622554 [2023-11-21T22:25:23.826Z] ---> bdc33d7ab7c4 [2023-11-21T22:25:23.826Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:25:24.412Z] ---> 4ee933d7c264 [2023-11-21T22:25:24.412Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:25:24.412Z] ---> Running in ac489e32e990 [2023-11-21T22:26:46.141Z] Removing intermediate container ac489e32e990 [2023-11-21T22:26:46.141Z] ---> 9c52cab9edd9 [2023-11-21T22:26:46.141Z] Step 11/12 : COPY . . [2023-11-21T22:26:46.735Z] ---> dd6f2cfc0e07 [2023-11-21T22:26:46.735Z] Step 12/12 : RUN $MAKE [2023-11-21T22:26:47.008Z] ---> Running in 62af635c4f29 [2023-11-21T22:26:47.979Z] noop [2023-11-21T22:26:48.961Z] Removing intermediate container 62af635c4f29 [2023-11-21T22:26:48.961Z] ---> dcdafdf6f110 [2023-11-21T22:26:48.961Z] Successfully built dcdafdf6f110 [2023-11-21T22:26:48.961Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:26:49.568Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:26:49.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:26:49.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-368 does not seem to be running inside a container [2023-11-21T22:26:50.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-21T22:26:51.424Z] $ docker top ee60a89d8386009ab8a7aafaee52ab4ead654fe237745d84afac99d09701393f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:26:52.463Z] + go version [2023-11-21T22:26:52.463Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-21T22:26:52.499Z] $ docker stop --time=1 ee60a89d8386009ab8a7aafaee52ab4ead654fe237745d84afac99d09701393f [2023-11-21T22:26:54.252Z] $ docker rm -f --volumes ee60a89d8386009ab8a7aafaee52ab4ead654fe237745d84afac99d09701393f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:26:55.483Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:26:55.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:26:55.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-368 does not seem to be running inside a container [2023-11-21T22:26:55.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-21T22:26:57.458Z] $ docker top 36cbb55bf9f77e7d50fc50bca736c9038b3173184a7b58eed95a32599fd1122f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:26:58.507Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:26:59.284Z] + make test [2023-11-21T22:26:59.284Z] go test ./... -coverprofile=coverage.out ./... [2023-11-21T22:27:04.660Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-21T22:28:56.468Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-21T22:28:56.468Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.2% of statements [2023-11-21T22:28:56.468Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-21T22:28:56.468Z] go vet ./... [2023-11-21T22:29:23.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:29:23.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:29:23.919Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:29:23.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:29:24.033Z] $ docker stop --time=1 36cbb55bf9f77e7d50fc50bca736c9038b3173184a7b58eed95a32599fd1122f [2023-11-21T22:29:26.149Z] $ docker rm -f --volumes 36cbb55bf9f77e7d50fc50bca736c9038b3173184a7b58eed95a32599fd1122f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:29:27.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:29:27.808Z] Warning: overwriting stash ‘coverage-report’ [2023-11-21T22:29:28.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:29:29.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:29:29.708Z] + ls -al . [2023-11-21T22:29:29.708Z] total 176 [2023-11-21T22:29:29.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:27 . [2023-11-21T22:29:29.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:24 .. [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 21 22:24 .dockerignore [2023-11-21T22:29:29.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 .git [2023-11-21T22:29:29.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:24 .github [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 21 22:24 .gitignore [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:24 .golangci.yml [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 21 22:24 Attribution.txt [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 21 22:24 CHANGELOG.md [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 21 22:24 Dockerfile [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:24 GOVERNANCE.md [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 21 22:24 Jenkinsfile [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:24 LICENSE [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 21 22:24 Makefile [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:24 OWNERS.md [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 21 22:24 README.md [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:20 VERSION [2023-11-21T22:29:29.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:24 bin [2023-11-21T22:29:29.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:24 cmd [2023-11-21T22:29:29.708Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 21 22:28 coverage.out [2023-11-21T22:29:29.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:24 driver [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 21 22:24 go.mod [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 21 22:24 go.sum [2023-11-21T22:29:29.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:24 openapi [2023-11-21T22:29:29.708Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 21 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:29:30.237Z] + 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=08427a0a736a1f625753fbdd42df6f4661635c6b --label arch=arm64 --label version=0.0.0 . [2023-11-21T22:29:30.237Z] Sending build context to Docker daemon 142.8kB [2023-11-21T22:29:30.515Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:29:30.515Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-21T22:29:30.515Z] ---> dcdafdf6f110 [2023-11-21T22:29:30.515Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:29:30.789Z] ---> Running in 4e6e8536e2cd [2023-11-21T22:29:31.062Z] Removing intermediate container 4e6e8536e2cd [2023-11-21T22:29:31.062Z] ---> 4d5ba4e90a38 [2023-11-21T22:29:31.062Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:29:31.332Z] ---> Running in 32ca9e78bd99 [2023-11-21T22:29:31.606Z] Removing intermediate container 32ca9e78bd99 [2023-11-21T22:29:31.606Z] ---> 154e92db2b61 [2023-11-21T22:29:31.606Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:29:31.887Z] ---> Running in 90e28dbfb069 [2023-11-21T22:29:32.162Z] Removing intermediate container 90e28dbfb069 [2023-11-21T22:29:32.162Z] ---> e630fb9f459f [2023-11-21T22:29:32.162Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:29:32.436Z] ---> Running in 2bf42b12dd83 [2023-11-21T22:29:32.710Z] Removing intermediate container 2bf42b12dd83 [2023-11-21T22:29:32.710Z] ---> 8fb593309d6f [2023-11-21T22:29:32.710Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:29:32.991Z] ---> Running in e44ed7aec669 [2023-11-21T22:29:34.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:29:34.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:29:36.118Z] OK: 271 MiB in 56 packages [2023-11-21T22:29:37.546Z] Removing intermediate container e44ed7aec669 [2023-11-21T22:29:37.546Z] ---> 93a2dcb1c247 [2023-11-21T22:29:37.546Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-21T22:29:37.546Z] ---> Running in bad35f17a222 [2023-11-21T22:29:37.816Z] Removing intermediate container bad35f17a222 [2023-11-21T22:29:37.816Z] ---> fca87e04886e [2023-11-21T22:29:37.816Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-21T22:29:38.409Z] ---> ac24abffcc88 [2023-11-21T22:29:38.409Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:29:38.688Z] ---> Running in 779ac6137c21 [2023-11-21T22:29:41.298Z] Removing intermediate container 779ac6137c21 [2023-11-21T22:29:41.298Z] ---> 0237c9feeffa [2023-11-21T22:29:41.298Z] Step 11/26 : COPY . . [2023-11-21T22:29:41.895Z] ---> 376ce4d6d402 [2023-11-21T22:29:41.895Z] Step 12/26 : RUN $MAKE [2023-11-21T22:29:41.895Z] ---> Running in 43ce24baf95d [2023-11-21T22:29:43.329Z] 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-21T22:32:05.170Z] Removing intermediate container 43ce24baf95d [2023-11-21T22:32:05.170Z] ---> fb9c924b7632 [2023-11-21T22:32:05.170Z] Step 13/26 : FROM alpine:3.18 [2023-11-21T22:32:05.170Z] 3.18: Pulling from library/alpine [2023-11-21T22:32:05.170Z] 579b34f0a95b: Pulling fs layer [2023-11-21T22:32:05.170Z] 579b34f0a95b: Download complete [2023-11-21T22:32:05.170Z] 579b34f0a95b: Pull complete [2023-11-21T22:32:05.170Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:32:05.170Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:32:05.170Z] ---> 3cc203321400 [2023-11-21T22:32:05.170Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-21T22:32:05.170Z] ---> Running in ba864e8c4fc4 [2023-11-21T22:32:05.170Z] Removing intermediate container ba864e8c4fc4 [2023-11-21T22:32:05.170Z] ---> 53ac24b76ce5 [2023-11-21T22:32:05.170Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-21T22:32:05.170Z] ---> Running in db35eb91b7da [2023-11-21T22:32:05.170Z] Removing intermediate container db35eb91b7da [2023-11-21T22:32:05.170Z] ---> 868573c3ed8b [2023-11-21T22:32:05.170Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:32:05.170Z] ---> Running in 0789d7c84e3c [2023-11-21T22:32:05.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:32:05.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:32:05.170Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:32:05.170Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:32:05.170Z] OK: 8 MiB in 16 packages [2023-11-21T22:32:05.170Z] Removing intermediate container 0789d7c84e3c [2023-11-21T22:32:05.170Z] ---> 11c8327cf329 [2023-11-21T22:32:05.170Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-21T22:32:05.170Z] ---> Running in 667930b2a849 [2023-11-21T22:32:05.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:32:05.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:32:05.170Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:32:05.170Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:32:05.170Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:32:05.170Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:32:05.170Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:32:05.170Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:32:05.170Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:32:05.170Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:32:05.170Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:32:05.170Z] OK: 8 MiB in 16 packages [2023-11-21T22:32:05.170Z] Removing intermediate container 667930b2a849 [2023-11-21T22:32:05.170Z] ---> 3c6308f4c7d0 [2023-11-21T22:32:05.170Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-21T22:32:05.170Z] ---> fbc80c00a024 [2023-11-21T22:32:05.170Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-21T22:32:05.170Z] ---> c5ce71066577 [2023-11-21T22:32:05.170Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-21T22:32:05.170Z] ---> b308189aa64a [2023-11-21T22:32:05.170Z] Step 21/26 : EXPOSE 59986 [2023-11-21T22:32:05.170Z] ---> Running in f63cf5f9df44 [2023-11-21T22:32:05.170Z] Removing intermediate container f63cf5f9df44 [2023-11-21T22:32:05.170Z] ---> a67393c917ac [2023-11-21T22:32:05.170Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-21T22:32:05.170Z] ---> Running in 7728583ef06d [2023-11-21T22:32:05.170Z] Removing intermediate container 7728583ef06d [2023-11-21T22:32:05.170Z] ---> 2f72e63fb815 [2023-11-21T22:32:05.170Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-21T22:32:05.446Z] ---> Running in b10aa10cd9ec [2023-11-21T22:32:05.719Z] Removing intermediate container b10aa10cd9ec [2023-11-21T22:32:05.719Z] ---> 678faf57fee0 [2023-11-21T22:32:05.719Z] Step 24/26 : LABEL arch=arm64 [2023-11-21T22:32:05.719Z] ---> Running in 3906296c5853 [2023-11-21T22:32:06.319Z] Removing intermediate container 3906296c5853 [2023-11-21T22:32:06.320Z] ---> 0b98b5bef7f6 [2023-11-21T22:32:06.320Z] Step 25/26 : LABEL git_sha=08427a0a736a1f625753fbdd42df6f4661635c6b [2023-11-21T22:32:06.320Z] ---> Running in 8fd56dd55c82 [2023-11-21T22:32:06.590Z] Removing intermediate container 8fd56dd55c82 [2023-11-21T22:32:06.590Z] ---> 3fe9377a5014 [2023-11-21T22:32:06.590Z] Step 26/26 : LABEL version=0.0.0 [2023-11-21T22:32:06.590Z] ---> Running in d27831a6e91c [2023-11-21T22:32:07.184Z] Removing intermediate container d27831a6e91c [2023-11-21T22:32:07.184Z] ---> d07dcf078747 [2023-11-21T22:32:07.184Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:32:07.184Z] Successfully built d07dcf078747 [2023-11-21T22:32:07.184Z] 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-21T22:32:08.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:32:08.470Z] [2023-11-21T22:32:08.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:32:08.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:32:09.191Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-21T22:32:09.191Z] 8998bd30e6a1: Pulling fs layer [2023-11-21T22:32:09.191Z] 04944245beec: Pulling fs layer [2023-11-21T22:32:09.191Z] 699f458cf7ca: Pulling fs layer [2023-11-21T22:32:09.191Z] 765212b225bb: Pulling fs layer [2023-11-21T22:32:09.191Z] f23df028b6ca: Pulling fs layer [2023-11-21T22:32:09.191Z] d65c8cfc05b1: Pulling fs layer [2023-11-21T22:32:09.191Z] 2437ff75d9bd: Pulling fs layer [2023-11-21T22:32:09.191Z] 2437ff75d9bd: Waiting [2023-11-21T22:32:09.191Z] f23df028b6ca: Waiting [2023-11-21T22:32:09.191Z] d65c8cfc05b1: Waiting [2023-11-21T22:32:09.191Z] 765212b225bb: Waiting [2023-11-21T22:32:09.191Z] 04944245beec: Verifying Checksum [2023-11-21T22:32:09.191Z] 765212b225bb: Verifying Checksum [2023-11-21T22:32:09.191Z] 765212b225bb: Download complete [2023-11-21T22:32:09.191Z] f23df028b6ca: Verifying Checksum [2023-11-21T22:32:09.191Z] f23df028b6ca: Download complete [2023-11-21T22:32:09.475Z] d65c8cfc05b1: Verifying Checksum [2023-11-21T22:32:09.475Z] d65c8cfc05b1: Download complete [2023-11-21T22:32:09.475Z] 699f458cf7ca: Verifying Checksum [2023-11-21T22:32:09.475Z] 699f458cf7ca: Download complete [2023-11-21T22:32:10.065Z] 8998bd30e6a1: Verifying Checksum [2023-11-21T22:32:10.066Z] 8998bd30e6a1: Download complete [2023-11-21T22:32:12.779Z] 2437ff75d9bd: Verifying Checksum [2023-11-21T22:32:12.779Z] 2437ff75d9bd: Download complete [2023-11-21T22:32:15.372Z] 8998bd30e6a1: Pull complete [2023-11-21T22:32:15.642Z] 04944245beec: Pull complete [2023-11-21T22:32:17.596Z] 699f458cf7ca: Pull complete [2023-11-21T22:32:17.596Z] 765212b225bb: Pull complete [2023-11-21T22:32:18.193Z] f23df028b6ca: Pull complete [2023-11-21T22:32:18.465Z] d65c8cfc05b1: Pull complete [2023-11-21T22:32:40.554Z] 2437ff75d9bd: Pull complete [2023-11-21T22:32:40.554Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-21T22:32:40.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:32:40.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:32:41.086Z] prd-ubuntu20.04-docker-arm64-4c-16g-368 does not seem to be running inside a container [2023-11-21T22:32:41.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-21T22:32:44.367Z] $ docker top 979e4097e98dac0655a1703fb2c401b2957834d54420a91aa7f6cdf278999ba1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:32:45.448Z] ---> job-cost.sh [2023-11-21T22:32:45.448Z] lf-activate-venv: SKIPPING [2023-11-21T22:32:45.448Z] INFO: No Stack... [2023-11-21T22:32:45.726Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-21T22:32:46.723Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:32:47.438Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-11-21T22:32:47.438Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:32:47.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] [2023-11-21T22:32:47.524Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] did not exist. Created. [2023-11-21T22:32:47.524Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:32:48.345Z] /w/workspace/device-rest-go/1@tmp/durable-e93eba1b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-21T22:32:49.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-21T22:32:49.052Z] Warning: overwriting stash ‘stack-cost’ [2023-11-21T22:32:49.105Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:32:49.139Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:32:49.303Z] $ docker stop --time=1 979e4097e98dac0655a1703fb2c401b2957834d54420a91aa7f6cdf278999ba1 [2023-11-21T22:32:53.517Z] $ docker rm -f --volumes 979e4097e98dac0655a1703fb2c401b2957834d54420a91aa7f6cdf278999ba1 [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-21T22:32:55.545Z] provisioning config files... [2023-11-21T22:32:55.555Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp/config10059617675197839984tmp [Pipeline] { [Pipeline] sh [2023-11-21T22:32:55.990Z] + set +x [2023-11-21T22:32:55.990Z] + curl -s https://codecov.io/bash [2023-11-21T22:32:55.990Z] + bash -s -- [2023-11-21T22:32:55.990Z] [2023-11-21T22:32:55.990Z] _____ _ [2023-11-21T22:32:55.990Z] / ____| | | [2023-11-21T22:32:55.990Z] | | ___ __| | ___ ___ _____ __ [2023-11-21T22:32:55.990Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-21T22:32:55.990Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-21T22:32:55.990Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-21T22:32:55.990Z] Bash-1.0.6 [2023-11-21T22:32:55.990Z] [2023-11-21T22:32:55.990Z] [2023-11-21T22:32:55.990Z] ==> git version 2.25.1 found [2023-11-21T22:32:55.990Z] ==> 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-21T22:32:55.990Z] Release-Date: 2020-01-08 [2023-11-21T22:32:55.990Z] 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-21T22:32:55.990Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-21T22:32:55.990Z] ==> Jenkins CI detected. [2023-11-21T22:32:55.990Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-368 [2023-11-21T22:32:55.990Z] project root: . [2023-11-21T22:32:55.990Z] --> token set from env [2023-11-21T22:32:55.990Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-21T22:32:55.990Z] ==> Running gcov in . (disable via -X gcov) [2023-11-21T22:32:55.990Z] ==> Python coveragepy not found [2023-11-21T22:32:55.990Z] ==> Searching for coverage reports in: [2023-11-21T22:32:55.990Z] + . [2023-11-21T22:32:55.990Z] -> Found 1 reports [2023-11-21T22:32:55.990Z] ==> Detecting git/mercurial file structure [2023-11-21T22:32:55.990Z] ==> Reading reports [2023-11-21T22:32:55.990Z] + ./coverage.out bytes=14499 [2023-11-21T22:32:55.990Z] ==> Appending adjustments [2023-11-21T22:32:55.990Z] https://docs.codecov.io/docs/fixing-reports [2023-11-21T22:32:56.248Z] + Found adjustments [2023-11-21T22:32:56.248Z] ==> Gzipping contents [2023-11-21T22:32:56.248Z] 4.0K /tmp/codecov.QHsmx4.gz [2023-11-21T22:32:56.248Z] ==> Uploading reports [2023-11-21T22:32:56.248Z] url: https://codecov.io [2023-11-21T22:32:56.248Z] query: branch=PR-368&commit=08427a0a736a1f625753fbdd42df6f4661635c6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=368&job=&cmd_args= [2023-11-21T22:32:56.248Z] -> Pinging Codecov [2023-11-21T22:32:56.248Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-368&commit=08427a0a736a1f625753fbdd42df6f4661635c6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=368&job=&cmd_args= [2023-11-21T22:32:56.248Z] -> Uploading to [2023-11-21T22:32:56.248Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-21/4E5D53B4F1F92C436F7061BF334D961C/08427a0a736a1f625753fbdd42df6f4661635c6b/44277523-6599-49c9-966a-4cc04c9f2b46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T223256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc7e4090670278d5178620e018372db3b860090759b6fe8832fa42fab24d97b9 [2023-11-21T22:32:56.249Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:32:56.249Z] Dload Upload Total Spent Left Speed [2023-11-21T22:32:56.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9670 --:--:-- --:--:-- --:--:-- 9670 [2023-11-21T22:32:56.508Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/08427a0a736a1f625753fbdd42df6f4661635c6b [Pipeline] } [2023-11-21T22:32:56.534Z] 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-21T22:32:59.700Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-368/archives ] [2023-11-21T22:32:59.700Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-368/archives [2023-11-21T22:32:59.700Z] total 16 [2023-11-21T22:32:59.700Z] drwxr-xr-x 3 root root 4096 Nov 21 22:23 . [2023-11-21T22:32:59.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:23 .. [2023-11-21T22:32:59.700Z] drwxr-xr-x 2 root root 4096 Nov 21 22:23 cost [2023-11-21T22:32:59.700Z] -rw-r--r-- 1 root root 86 Nov 21 22:23 cost.csv [2023-11-21T22:32:59.700Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-368/archives [2023-11-21T22:32:59.700Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-368/archives [2023-11-21T22:32:59.700Z] total 16 [2023-11-21T22:32:59.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:23 . [2023-11-21T22:32:59.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:23 .. [2023-11-21T22:32:59.700Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:23 cost [2023-11-21T22:32:59.700Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 21 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:00.028Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:00.923Z] ---> package-listing.sh [2023-11-21T22:33:00.923Z] ++ facter osfamily [2023-11-21T22:33:00.923Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-21T22:33:01.184Z] + OS_FAMILY=debian [2023-11-21T22:33:01.184Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-368 [2023-11-21T22:33:01.184Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-21T22:33:01.184Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-21T22:33:01.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-21T22:33:01.184Z] + PACKAGES=/tmp/packages_start.txt [2023-11-21T22:33:01.184Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-368 ']' [2023-11-21T22:33:01.184Z] + PACKAGES=/tmp/packages_end.txt [2023-11-21T22:33:01.184Z] + case "${OS_FAMILY}" in [2023-11-21T22:33:01.184Z] + dpkg -l [2023-11-21T22:33:01.184Z] + grep '^ii' [2023-11-21T22:33:01.184Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-21T22:33:01.184Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-21T22:33:01.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-21T22:33:01.184Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-368 ']' [2023-11-21T22:33:01.184Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-368/archives/ [2023-11-21T22:33:01.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-368/archives/ [Pipeline] echo [2023-11-21T22:33:01.215Z] 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-21T22:33:01.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:33:02.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:33:02.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:33:02.443Z] prd-ubuntu20.04-docker-8c-8g-347 does not seem to be running inside a container [2023-11-21T22:33:02.482Z] $ 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-368/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-368 -v /w/workspace/gexfoundry_device-rest-go_PR-368:/w/workspace/gexfoundry_device-rest-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-368@tmp:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:33:02.664Z] $ docker top 652035e2f7a42d355a407d22153026736dbb7ea90e3d73013ff6b8843109f62c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:33:03.156Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-21T22:33:03.455Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-21T22:33:03.778Z] + ls /var/log/sa-host [2023-11-21T22:33:03.778Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:33:03.947Z] provisioning config files... [2023-11-21T22:33:03.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-368@tmp/config17087603060206330521tmp [Pipeline] { [Pipeline] echo [2023-11-21T22:33:04.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:04.434Z] ---> create-netrc.sh [Pipeline] } [2023-11-21T22:33:04.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:04.947Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-21T22:33:04.974Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:05.286Z] ---> sudo-logs.sh [2023-11-21T22:33:05.286Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-21T22:33:05.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:05.778Z] ---> job-cost.sh [2023-11-21T22:33:05.778Z] lf-activate-venv: SKIPPING [2023-11-21T22:33:05.778Z] DEBUG: total: 0.2199999988079071 [2023-11-21T22:33:05.778Z] INFO: Retrieving Stack Cost... [2023-11-21T22:33:06.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:33:06.610Z] INFO: Archiving Costs [Pipeline] echo [2023-11-21T22:33:06.645Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:33:06.961Z] ---> logs-deploy.sh [2023-11-21T22:33:06.961Z] lf-activate-venv: SKIPPING [2023-11-21T22:33:06.961Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-368/1 [2023-11-21T22:33:06.961Z] INFO: archiving workspace using pattern(s): [2023-11-21T22:33:07.899Z] Archives upload complete. [2023-11-21T22:33:07.899Z] INFO: archiving logs to Nexus