Pull request #383 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87d2dddde376be64c23e51c41d2b911feec4d340+402bee10dda5ca46600812a85f59fdfe6bf70583 (0866829fc4ea4563f777035105522a893d8eae0b) 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-ssh2265382423682276720.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-ssh8320435487118325368.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-383/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-383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14249848863738769251.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-383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7797129079240913093.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-ssh7813582566590057622.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-383/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-383/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9833886694024852300.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5137 in /w/workspace/gexfoundry_device-rest-go_PR-383 [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-383 # 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 402bee10dda5ca46600812a85f59fdfe6bf70583 into PR head commit 87d2dddde376be64c23e51c41d2b911feec4d340 Merge succeeded, producing 87d2dddde376be64c23e51c41d2b911feec4d340 Checking out Revision 87d2dddde376be64c23e51c41d2b911feec4d340 (PR-383) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > 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/383/head:refs/remotes/origin/PR-383 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87d2dddde376be64c23e51c41d2b911feec4d340 # 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 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87d2dddde376be64c23e51c41d2b911feec4d340 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-07T23:06:08.471Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-07T23:06:08.674Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-07T23:06:08.781Z] ========================================================= [2024-03-07T23:06:08.781Z] EdgeX Global Pipelines Version Info [2024-03-07T23:06:08.781Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:06:09.540Z] ------------------- [2024-03-07T23:06:09.540Z] stable info: [2024-03-07T23:06:09.540Z] ------------------- [2024-03-07T23:06:09.540Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-07T23:06:09.540Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:06:09.540Z] Message: update stable to v1.0.258 [2024-03-07T23:06:10.112Z] ------------------- [2024-03-07T23:06:10.112Z] experimental info: [2024-03-07T23:06:10.112Z] ------------------- [2024-03-07T23:06:10.112Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-07T23:06:10.112Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:06:10.112Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-07T23:06:10.334Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-03-07T23:06:10.391Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-03-07T23:06:10.449Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-07T23:06:10.506Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-07T23:06:10.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-07T23:06:10.620Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-07T23:06:10.681Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-07T23:06:10.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-07T23:06:10.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-07T23:06:10.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-07T23:06:10.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-07T23:06:10.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-03-07T23:06:11.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-07T23:06:11.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-07T23:06:11.165Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-07T23:06:11.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-07T23:06:11.288Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:06:11.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:06:13.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-07T23:06:15.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-07T23:06:15.896Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-07T23:06:16.083Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-07T23:06:16.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-07T23:06:16.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-07T23:06:16.351Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-07T23:06:16.435Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-07T23:06:16.505Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-07T23:06:16.603Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-383 [Pipeline] echo [2024-03-07T23:06:16.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-383 [Pipeline] echo [2024-03-07T23:06:16.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-383 [Pipeline] echo [2024-03-07T23:06:16.920Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87d2dddde376be64c23e51c41d2b911feec4d340 [Pipeline] echo [2024-03-07T23:06:17.008Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87d2ddd [Pipeline] echo [2024-03-07T23:06:17.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:06:17.403Z] provisioning config files... [2024-03-07T23:06:17.416Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-383@tmp/config11022428258370414470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:06:19.753Z] ---> ****-login.sh [2024-03-07T23:06:19.753Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:06:19.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:19.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:19.753Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:19.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:19.753Z] [2024-03-07T23:06:19.753Z] Login Succeeded [2024-03-07T23:06:19.753Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:06:20.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:20.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:20.013Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:20.013Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:20.013Z] [2024-03-07T23:06:20.013Z] Login Succeeded [2024-03-07T23:06:20.013Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:06:20.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:20.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:20.013Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:20.013Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:20.013Z] [2024-03-07T23:06:20.013Z] Login Succeeded [2024-03-07T23:06:20.013Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:06:20.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:20.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:20.283Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:20.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:20.283Z] [2024-03-07T23:06:20.283Z] Login Succeeded [2024-03-07T23:06:20.283Z] ****.io [2024-03-07T23:06:20.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:20.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:20.546Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:20.546Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:20.546Z] [2024-03-07T23:06:20.546Z] Login Succeeded [2024-03-07T23:06:20.546Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:06:20.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-07T23:06:21.599Z] + git rev-list -1 --merges 87d2dddde376be64c23e51c41d2b911feec4d340~1..87d2dddde376be64c23e51c41d2b911feec4d340 [Pipeline] echo [2024-03-07T23:06:21.678Z] -----------> git rev-list -1 --merges 87d2dddde376be64c23e51c41d2b911feec4d340~1..87d2dddde376be64c23e51c41d2b911feec4d340 87d2dddde376be64c23e51c41d2b911feec4d340 [false] [Pipeline] sh [2024-03-07T23:06:22.139Z] + git log --format=format:%s -1 87d2dddde376be64c23e51c41d2b911feec4d340 [Pipeline] echo [2024-03-07T23:06:22.199Z] ========================================================= [2024-03-07T23:06:22.199Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-07T23:06:22.199Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:06:22.854Z] + git log --format=format:%s -1 87d2dddde376be64c23e51c41d2b911feec4d340 [Pipeline] echo [2024-03-07T23:06:22.896Z] [semverPrep] GIT_COMMIT: 87d2dddde376be64c23e51c41d2b911feec4d340, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 [Pipeline] echo [2024-03-07T23:06:22.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-07T23:06:23.463Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-07T23:06:23.464Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-07T23:06:23.464Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-07T23:06:23.464Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-07T23:06:23.464Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-07T23:06:23.464Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-07T23:06:23.464Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:06:23.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:06:23.978Z] [2024-03-07T23:06:23.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:06:24.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:06:24.400Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-07T23:06:24.400Z] b85a868b505f: Pulling fs layer [2024-03-07T23:06:24.400Z] e2be974225ed: Pulling fs layer [2024-03-07T23:06:24.400Z] 339a4e72a1f5: Pulling fs layer [2024-03-07T23:06:24.400Z] 988bab9f4d93: Pulling fs layer [2024-03-07T23:06:24.400Z] 1469e6f7b9e6: Pulling fs layer [2024-03-07T23:06:24.400Z] eaf3925da568: Pulling fs layer [2024-03-07T23:06:24.400Z] bab4dde63d76: Pulling fs layer [2024-03-07T23:06:24.400Z] bde34c3a00c8: Pulling fs layer [2024-03-07T23:06:24.400Z] b352a97aabf1: Pulling fs layer [2024-03-07T23:06:24.400Z] 4872d77fe225: Pulling fs layer [2024-03-07T23:06:24.400Z] 5851b861e8e6: Pulling fs layer [2024-03-07T23:06:24.400Z] 988bab9f4d93: Waiting [2024-03-07T23:06:24.400Z] bab4dde63d76: Waiting [2024-03-07T23:06:24.400Z] 4872d77fe225: Waiting [2024-03-07T23:06:24.400Z] 1469e6f7b9e6: Waiting [2024-03-07T23:06:24.400Z] eaf3925da568: Waiting [2024-03-07T23:06:24.400Z] 5851b861e8e6: Waiting [2024-03-07T23:06:24.400Z] bde34c3a00c8: Waiting [2024-03-07T23:06:24.400Z] b352a97aabf1: Waiting [2024-03-07T23:06:24.400Z] e2be974225ed: Verifying Checksum [2024-03-07T23:06:24.400Z] e2be974225ed: Download complete [2024-03-07T23:06:24.400Z] 988bab9f4d93: Verifying Checksum [2024-03-07T23:06:24.400Z] 988bab9f4d93: Download complete [2024-03-07T23:06:24.667Z] 1469e6f7b9e6: Verifying Checksum [2024-03-07T23:06:24.667Z] 1469e6f7b9e6: Download complete [2024-03-07T23:06:24.667Z] eaf3925da568: Verifying Checksum [2024-03-07T23:06:24.667Z] eaf3925da568: Download complete [2024-03-07T23:06:24.667Z] 339a4e72a1f5: Verifying Checksum [2024-03-07T23:06:24.667Z] 339a4e72a1f5: Download complete [2024-03-07T23:06:24.667Z] bde34c3a00c8: Download complete [2024-03-07T23:06:24.667Z] b352a97aabf1: Verifying Checksum [2024-03-07T23:06:24.667Z] b352a97aabf1: Download complete [2024-03-07T23:06:24.667Z] 4872d77fe225: Verifying Checksum [2024-03-07T23:06:24.667Z] 4872d77fe225: Download complete [2024-03-07T23:06:24.667Z] 5851b861e8e6: Download complete [2024-03-07T23:06:24.667Z] b85a868b505f: Verifying Checksum [2024-03-07T23:06:24.667Z] b85a868b505f: Download complete [2024-03-07T23:06:24.941Z] bab4dde63d76: Verifying Checksum [2024-03-07T23:06:24.941Z] bab4dde63d76: Download complete [2024-03-07T23:06:25.893Z] b85a868b505f: Pull complete [2024-03-07T23:06:26.152Z] e2be974225ed: Pull complete [2024-03-07T23:06:26.734Z] 339a4e72a1f5: Pull complete [2024-03-07T23:06:26.734Z] 988bab9f4d93: Pull complete [2024-03-07T23:06:26.999Z] 1469e6f7b9e6: Pull complete [2024-03-07T23:06:26.999Z] eaf3925da568: Pull complete [2024-03-07T23:06:28.785Z] bab4dde63d76: Pull complete [2024-03-07T23:06:29.049Z] bde34c3a00c8: Pull complete [2024-03-07T23:06:29.049Z] b352a97aabf1: Pull complete [2024-03-07T23:06:29.310Z] 4872d77fe225: Pull complete [2024-03-07T23:06:29.310Z] 5851b861e8e6: Pull complete [2024-03-07T23:06:29.310Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-07T23:06:29.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:06:29.310Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:06:29.697Z] prd-ubuntu20.04-docker-8c-8g-5137 does not seem to be running inside a container [2024-03-07T23:06:29.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-383 -v /w/workspace/gexfoundry_device-rest-go_PR-383:/w/workspace/gexfoundry_device-rest-go_PR-383:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-383@tmp:/w/workspace/gexfoundry_device-rest-go_PR-383@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-07T23:06:32.775Z] $ docker top 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e -eo pid,comm [2024-03-07T23:06:32.830Z] 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). [2024-03-07T23:06:32.830Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-07T23:06:33.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-07T23:06:33.025Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-07T23:06:33.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-07T23:06:33.145Z] $ docker exec 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e ssh-agent [2024-03-07T23:06:33.269Z] SSH_AUTH_SOCK=/tmp/ssh-q43Xax35WY4L/agent.32 [2024-03-07T23:06:33.269Z] SSH_AGENT_PID=38 [2024-03-07T23:06:33.276Z] Running ssh-add (command line suppressed) [2024-03-07T23:06:33.380Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-383@tmp/private_key_1352463383490804880.key (/w/workspace/gexfoundry_device-rest-go_PR-383@tmp/private_key_1352463383490804880.key) [2024-03-07T23:06:33.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-07T23:06:33.755Z] + git tag --points-at HEAD [Pipeline] } [2024-03-07T23:06:33.782Z] $ docker exec --env ******** --env ******** 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e ssh-agent -k [2024-03-07T23:06:33.896Z] unset SSH_AUTH_SOCK; [2024-03-07T23:06:33.897Z] unset SSH_AGENT_PID; [2024-03-07T23:06:33.897Z] echo Agent pid 38 killed; [2024-03-07T23:06:33.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-07T23:06:34.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-07T23:06:34.176Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-07T23:06:34.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-07T23:06:34.304Z] $ docker exec 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e ssh-agent [2024-03-07T23:06:34.429Z] SSH_AUTH_SOCK=/tmp/ssh-o68wYdWvvBNZ/agent.70 [2024-03-07T23:06:34.429Z] SSH_AGENT_PID=76 [2024-03-07T23:06:34.433Z] Running ssh-add (command line suppressed) [2024-03-07T23:06:34.541Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-383@tmp/private_key_17282596286650113013.key (/w/workspace/gexfoundry_device-rest-go_PR-383@tmp/private_key_17282596286650113013.key) [2024-03-07T23:06:34.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-07T23:06:34.925Z] + git semver init [2024-03-07T23:06:35.188Z] 2024-03-07 23:06:35,105 [run_init] DEBUG init version:0.0.0 force:False [2024-03-07T23:06:35.188Z] 2024-03-07 23:06:35,106 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-383/.semver [2024-03-07T23:06:35.188Z] 2024-03-07 23:06:35,106 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-383/.semver [2024-03-07T23:06:35.188Z] 2024-03-07 23:06:35,106 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-383/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-383, universal_newlines=False, shell=None, istream=None) [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,792 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-383/.git/info/exclude [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-383/.semver/PR-383 with force:False [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,793 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-383/.semver/PR-383 [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,796 [execute] INFO git cat-file --batch-check [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-383/.semver, universal_newlines=False, shell=None, istream=) [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,802 [execute] INFO git cat-file --batch [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-383/.semver, universal_newlines=False, shell=None, istream=) [2024-03-07T23:06:41.545Z] 2024-03-07 23:06:36,809 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-383/.semver/PR-383 [2024-03-07T23:06:41.545Z] 0.0.0 [Pipeline] } [2024-03-07T23:06:41.598Z] $ docker exec --env ******** --env ******** 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e ssh-agent -k [2024-03-07T23:06:41.697Z] unset SSH_AUTH_SOCK; [2024-03-07T23:06:41.698Z] unset SSH_AGENT_PID; [2024-03-07T23:06:41.698Z] echo Agent pid 76 killed; [2024-03-07T23:06:43.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-07T23:06:44.324Z] + git semver [Pipeline] } [2024-03-07T23:06:44.611Z] $ docker stop --time=1 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e [2024-03-07T23:06:45.920Z] $ docker rm -f --volumes 563ce5e571cadc6e0bdccd4e0abbcd449ec9cd48b063c8f95b316ac7c0bb4b4e [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:06:46.423Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-07T23:06:48.478Z] Stashed 1 file(s) [Pipeline] echo [2024-03-07T23:06:48.533Z] [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 [2024-03-07T23:06:50.100Z] provisioning config files... [2024-03-07T23:06:50.114Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-383@tmp/config3686263626597572353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:06:50.510Z] ---> ****-login.sh [2024-03-07T23:06:50.510Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:06:50.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:50.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:50.510Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:50.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:50.510Z] [2024-03-07T23:06:50.510Z] Login Succeeded [2024-03-07T23:06:50.510Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:06:50.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:50.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:50.510Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:50.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:50.510Z] [2024-03-07T23:06:50.510Z] Login Succeeded [2024-03-07T23:06:50.510Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:06:50.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:50.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:50.776Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:50.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:50.776Z] [2024-03-07T23:06:50.776Z] Login Succeeded [2024-03-07T23:06:50.776Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:06:50.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:50.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:50.776Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:50.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:50.776Z] [2024-03-07T23:06:50.776Z] Login Succeeded [2024-03-07T23:06:50.776Z] ****.io [2024-03-07T23:06:51.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:51.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:51.040Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:51.040Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:51.040Z] [2024-03-07T23:06:51.040Z] Login Succeeded [2024-03-07T23:06:51.040Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:06:51.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-07T23:06:51.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:06:51.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:06:51.590Z] ========================================================= [2024-03-07T23:06:51.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-07T23:06:51.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:06:53.017Z] + 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 . [2024-03-07T23:06:53.017Z] Sending build context to Docker daemon 16.33MB [2024-03-07T23:06:53.017Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:06:53.017Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-07T23:06:53.017Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-07T23:06:53.017Z] 7264a8db6415: Pulling fs layer [2024-03-07T23:06:53.017Z] c4d48a809fc2: Pulling fs layer [2024-03-07T23:06:53.017Z] 4f1c88b9dad5: Pulling fs layer [2024-03-07T23:06:53.017Z] ad3a456e5733: Pulling fs layer [2024-03-07T23:06:53.017Z] 69c7f0334f64: Pulling fs layer [2024-03-07T23:06:53.017Z] 1f1c1a5573a3: Pulling fs layer [2024-03-07T23:06:53.017Z] ce7588e14bc9: Pulling fs layer [2024-03-07T23:06:53.017Z] b5e4710f87ac: Pulling fs layer [2024-03-07T23:06:53.017Z] 1f1c1a5573a3: Waiting [2024-03-07T23:06:53.017Z] ce7588e14bc9: Waiting [2024-03-07T23:06:53.017Z] b5e4710f87ac: Waiting [2024-03-07T23:06:53.017Z] ad3a456e5733: Waiting [2024-03-07T23:06:53.017Z] 69c7f0334f64: Waiting [2024-03-07T23:06:53.017Z] c4d48a809fc2: Verifying Checksum [2024-03-07T23:06:53.017Z] c4d48a809fc2: Download complete [2024-03-07T23:06:53.017Z] ad3a456e5733: Verifying Checksum [2024-03-07T23:06:53.017Z] ad3a456e5733: Download complete [2024-03-07T23:06:53.017Z] 69c7f0334f64: Download complete [2024-03-07T23:06:53.275Z] 7264a8db6415: Verifying Checksum [2024-03-07T23:06:53.275Z] 7264a8db6415: Download complete [2024-03-07T23:06:53.275Z] 1f1c1a5573a3: Verifying Checksum [2024-03-07T23:06:53.275Z] 1f1c1a5573a3: Download complete [2024-03-07T23:06:53.275Z] 7264a8db6415: Pull complete [2024-03-07T23:06:53.533Z] c4d48a809fc2: Pull complete [2024-03-07T23:06:53.533Z] b5e4710f87ac: Verifying Checksum [2024-03-07T23:06:53.533Z] b5e4710f87ac: Download complete [2024-03-07T23:06:53.791Z] 4f1c88b9dad5: Download complete [2024-03-07T23:06:54.048Z] ce7588e14bc9: Verifying Checksum [2024-03-07T23:06:54.048Z] ce7588e14bc9: Download complete [2024-03-07T23:06:57.349Z] 4f1c88b9dad5: Pull complete [2024-03-07T23:06:57.349Z] ad3a456e5733: Pull complete [2024-03-07T23:06:57.349Z] 69c7f0334f64: Pull complete [2024-03-07T23:06:57.349Z] 1f1c1a5573a3: Pull complete [2024-03-07T23:07:00.105Z] ce7588e14bc9: Pull complete [2024-03-07T23:07:00.372Z] b5e4710f87ac: Pull complete [2024-03-07T23:07:00.372Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-07T23:07:00.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-07T23:07:00.372Z] ---> 88b5674ff536 [2024-03-07T23:07:00.372Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:07:04.689Z] Still waiting to schedule task [2024-03-07T23:07:04.690Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-07T23:07:06.956Z] ---> Running in 6bc7d7077825 [2024-03-07T23:07:06.956Z] Removing intermediate container 6bc7d7077825 [2024-03-07T23:07:06.956Z] ---> 63e5a932c041 [2024-03-07T23:07:06.956Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:07:06.956Z] ---> Running in 0bc5a1eb73aa [2024-03-07T23:07:06.956Z] Removing intermediate container 0bc5a1eb73aa [2024-03-07T23:07:06.956Z] ---> b6b3f9c4303e [2024-03-07T23:07:06.956Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:07:06.956Z] ---> Running in 5dc7a452e6e7 [2024-03-07T23:07:07.229Z] Removing intermediate container 5dc7a452e6e7 [2024-03-07T23:07:07.229Z] ---> ed824f6db476 [2024-03-07T23:07:07.229Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:07:07.497Z] ---> Running in c19d17e82aa9 [2024-03-07T23:07:08.077Z] Removing intermediate container c19d17e82aa9 [2024-03-07T23:07:08.077Z] ---> f2ec2cdbf6ed [2024-03-07T23:07:08.077Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:07:08.077Z] ---> Running in 47b7e2cdb9c2 [2024-03-07T23:07:08.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:08.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:08.928Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-07T23:07:08.928Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-07T23:07:08.928Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-07T23:07:08.928Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-07T23:07:08.928Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:07:08.928Z] OK: 268 MiB in 56 packages [2024-03-07T23:07:09.514Z] Removing intermediate container 47b7e2cdb9c2 [2024-03-07T23:07:09.514Z] ---> f75a7f9c41ff [2024-03-07T23:07:09.514Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-07T23:07:09.514Z] ---> Running in 101066588ee4 [2024-03-07T23:07:09.514Z] Removing intermediate container 101066588ee4 [2024-03-07T23:07:09.514Z] ---> e47fb0aa679b [2024-03-07T23:07:09.514Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-07T23:07:09.775Z] ---> 5daa1d5dde18 [2024-03-07T23:07:09.775Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:07:09.775Z] ---> Running in 903454901f21 [2024-03-07T23:07:44.831Z] Removing intermediate container 903454901f21 [2024-03-07T23:07:44.831Z] ---> d4a9a7fadb5a [2024-03-07T23:07:44.831Z] Step 11/12 : COPY . . [2024-03-07T23:07:44.831Z] ---> 31946d85ebfd [2024-03-07T23:07:44.831Z] Step 12/12 : RUN $MAKE [2024-03-07T23:07:44.831Z] ---> Running in 89f62ddcd71d [2024-03-07T23:07:44.831Z] noop [2024-03-07T23:07:44.831Z] Removing intermediate container 89f62ddcd71d [2024-03-07T23:07:44.831Z] ---> 182320ed0222 [2024-03-07T23:07:44.831Z] Successfully built 182320ed0222 [2024-03-07T23:07:44.831Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:45.405Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-07T23:07:45.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:07:45.684Z] prd-ubuntu20.04-docker-8c-8g-5137 does not seem to be running inside a container [2024-03-07T23:07:45.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-383 -v /w/workspace/gexfoundry_device-rest-go_PR-383:/w/workspace/gexfoundry_device-rest-go_PR-383:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-383@tmp:/w/workspace/gexfoundry_device-rest-go_PR-383@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-x86_64 cat [2024-03-07T23:07:46.077Z] $ docker top 13346dd605acbce6311f0a062caa1dd8e9ceab33b029f1a175012f356a517282 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:07:46.614Z] + go version [2024-03-07T23:07:46.614Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-07T23:07:46.652Z] $ docker stop --time=1 13346dd605acbce6311f0a062caa1dd8e9ceab33b029f1a175012f356a517282 [2024-03-07T23:07:47.892Z] $ docker rm -f --volumes 13346dd605acbce6311f0a062caa1dd8e9ceab33b029f1a175012f356a517282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:49.072Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-07T23:07:49.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:07:49.467Z] prd-ubuntu20.04-docker-8c-8g-5137 does not seem to be running inside a container [2024-03-07T23:07:49.497Z] $ 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-383 -v /w/workspace/gexfoundry_device-rest-go_PR-383:/w/workspace/gexfoundry_device-rest-go_PR-383:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-383@tmp:/w/workspace/gexfoundry_device-rest-go_PR-383@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-x86_64 cat [2024-03-07T23:07:49.836Z] $ docker top c8bb453f78c488cfb9b4b263dfc24bc70c7a0aa06666c4ac37d2f9180ab99426 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:07:50.298Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-383 [Pipeline] fileExists [Pipeline] sh [2024-03-07T23:07:50.690Z] + make test [2024-03-07T23:07:50.690Z] go test ./... -coverprofile=coverage.out ./... [2024-03-07T23:07:52.079Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-07T23:08:02.175Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-07T23:08:02.175Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 33.2% of statements [2024-03-07T23:08:10.296Z] go vet ./... [2024-03-07T23:08:12.828Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-07T23:08:12.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-07T23:08:13.086Z] ./bin/test-attribution-txt.sh [2024-03-07T23:08:13.086Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-07T23:08:13.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-07T23:08:13.188Z] $ docker stop --time=1 c8bb453f78c488cfb9b4b263dfc24bc70c7a0aa06666c4ac37d2f9180ab99426 [2024-03-07T23:08:16.395Z] $ docker rm -f --volumes c8bb453f78c488cfb9b4b263dfc24bc70c7a0aa06666c4ac37d2f9180ab99426 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:08:17.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-07T23:08:17.220Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-07T23:08:18.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-07T23:08:18.353Z] + ls -al . [2024-03-07T23:08:18.353Z] total 180 [2024-03-07T23:08:18.353Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 23:07 . [2024-03-07T23:08:18.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:06 .. [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 7 23:06 .dockerignore [2024-03-07T23:08:18.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:08 .git [2024-03-07T23:08:18.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 .github [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 7 23:06 .gitignore [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 23:06 .golangci.yml [2024-03-07T23:08:18.353Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:06 .semver [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 7 23:06 Attribution.txt [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 7 23:06 CHANGELOG.md [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 7 23:06 Dockerfile [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:06 GOVERNANCE.md [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 7 23:06 Jenkinsfile [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 23:06 LICENSE [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 7 23:06 Makefile [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 23:06 OWNERS.md [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 7 23:06 README.md [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:06 VERSION [2024-03-07T23:08:18.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:06 bin [2024-03-07T23:08:18.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 cmd [2024-03-07T23:08:18.353Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 7 23:08 coverage.out [2024-03-07T23:08:18.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:06 driver [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 3935 Mar 7 23:06 go.mod [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 36481 Mar 7 23:06 go.sum [2024-03-07T23:08:18.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 openapi [2024-03-07T23:08:18.353Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 7 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:08:18.898Z] + 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=87d2dddde376be64c23e51c41d2b911feec4d340 --label arch=amd64 --label version=0.0.0 . [2024-03-07T23:08:18.898Z] Sending build context to Docker daemon 16.34MB [2024-03-07T23:08:18.898Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:08:18.898Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-07T23:08:18.898Z] ---> 182320ed0222 [2024-03-07T23:08:18.898Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:08:19.158Z] ---> Running in be2e8e3cbe2d [2024-03-07T23:08:19.428Z] Removing intermediate container be2e8e3cbe2d [2024-03-07T23:08:19.428Z] ---> eb556ff4d0c2 [2024-03-07T23:08:19.428Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:08:19.428Z] ---> Running in c1135750ec84 [2024-03-07T23:08:19.428Z] Removing intermediate container c1135750ec84 [2024-03-07T23:08:19.428Z] ---> 5bf27d3b9787 [2024-03-07T23:08:19.428Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:08:19.428Z] ---> Running in ce14b7a07784 [2024-03-07T23:08:19.428Z] Removing intermediate container ce14b7a07784 [2024-03-07T23:08:19.428Z] ---> d2e75e3ca7c6 [2024-03-07T23:08:19.428Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:08:19.687Z] ---> Running in a7906a5d0268 [2024-03-07T23:08:19.946Z] Removing intermediate container a7906a5d0268 [2024-03-07T23:08:19.946Z] ---> 0d9cf68530c3 [2024-03-07T23:08:19.946Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:08:20.205Z] ---> Running in 21258c61084e [2024-03-07T23:08:20.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:20.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:20.729Z] OK: 268 MiB in 56 packages [2024-03-07T23:08:21.297Z] Removing intermediate container 21258c61084e [2024-03-07T23:08:21.297Z] ---> ed4c8185b825 [2024-03-07T23:08:21.297Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-07T23:08:21.297Z] ---> Running in 8af1f3a75278 [2024-03-07T23:08:21.297Z] Removing intermediate container 8af1f3a75278 [2024-03-07T23:08:21.297Z] ---> ebd81e160562 [2024-03-07T23:08:21.297Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-07T23:08:21.297Z] ---> 6ab5bb135485 [2024-03-07T23:08:21.297Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:08:21.297Z] ---> Running in 86e01a120e39 [2024-03-07T23:08:21.866Z] Removing intermediate container 86e01a120e39 [2024-03-07T23:08:21.866Z] ---> 78cc4c57f816 [2024-03-07T23:08:21.866Z] Step 11/26 : COPY . . [2024-03-07T23:08:22.801Z] ---> 63186a43f4b0 [2024-03-07T23:08:22.801Z] Step 12/26 : RUN $MAKE [2024-03-07T23:08:22.801Z] ---> Running in 3304db45dc0a [2024-03-07T23:08:22.801Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-07T23:08:44.723Z] Removing intermediate container 3304db45dc0a [2024-03-07T23:08:44.723Z] ---> d7bbbd8d9577 [2024-03-07T23:08:44.723Z] Step 13/26 : FROM alpine:3.18 [2024-03-07T23:08:44.723Z] 3.18: Pulling from library/alpine [2024-03-07T23:08:44.723Z] 619be1103602: Pulling fs layer [2024-03-07T23:08:44.723Z] 619be1103602: Verifying Checksum [2024-03-07T23:08:44.723Z] 619be1103602: Download complete [2024-03-07T23:08:44.723Z] 619be1103602: Pull complete [2024-03-07T23:08:44.723Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-07T23:08:44.723Z] Status: Downloaded newer image for alpine:3.18 [2024-03-07T23:08:44.723Z] ---> d3782b16ccc9 [2024-03-07T23:08:44.723Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-07T23:08:44.723Z] ---> Running in 33995039e0ec [2024-03-07T23:08:44.723Z] Removing intermediate container 33995039e0ec [2024-03-07T23:08:44.723Z] ---> 0df53fe8ac06 [2024-03-07T23:08:44.723Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-07T23:08:44.723Z] ---> Running in 9c8402c0f45d [2024-03-07T23:08:44.723Z] Removing intermediate container 9c8402c0f45d [2024-03-07T23:08:44.723Z] ---> e5420f41fbc2 [2024-03-07T23:08:44.723Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-07T23:08:44.723Z] ---> Running in a04143670709 [2024-03-07T23:08:44.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:44.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:44.723Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-07T23:08:44.723Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:08:44.723Z] OK: 7 MiB in 16 packages [2024-03-07T23:08:44.723Z] Removing intermediate container a04143670709 [2024-03-07T23:08:44.723Z] ---> d326aab94683 [2024-03-07T23:08:44.723Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-07T23:08:44.723Z] ---> Running in 62bf983710a7 [2024-03-07T23:08:44.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:44.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:44.986Z] OK: 7 MiB in 16 packages [2024-03-07T23:08:45.244Z] Removing intermediate container 62bf983710a7 [2024-03-07T23:08:45.244Z] ---> 55532b3d1cd8 [2024-03-07T23:08:45.244Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-07T23:08:45.813Z] ---> 7753587fbc72 [2024-03-07T23:08:45.813Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-07T23:08:46.075Z] ---> 3c324582916c [2024-03-07T23:08:46.075Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-07T23:08:46.075Z] ---> ccb8fa4285d3 [2024-03-07T23:08:46.075Z] Step 21/26 : EXPOSE 59986 [2024-03-07T23:08:46.075Z] ---> Running in 9433514ba170 [2024-03-07T23:08:46.335Z] Removing intermediate container 9433514ba170 [2024-03-07T23:08:46.335Z] ---> 77661d231d48 [2024-03-07T23:08:46.335Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-07T23:08:46.335Z] ---> Running in bcfa7fd7c89d [2024-03-07T23:08:46.335Z] Removing intermediate container bcfa7fd7c89d [2024-03-07T23:08:46.335Z] ---> d15c99bece6f [2024-03-07T23:08:46.335Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-07T23:08:46.335Z] ---> Running in 8512160a618c [2024-03-07T23:08:46.335Z] Removing intermediate container 8512160a618c [2024-03-07T23:08:46.335Z] ---> 931c8b374ee3 [2024-03-07T23:08:46.335Z] Step 24/26 : LABEL arch=amd64 [2024-03-07T23:08:46.335Z] ---> Running in 96bcf2be70db [2024-03-07T23:08:46.597Z] Removing intermediate container 96bcf2be70db [2024-03-07T23:08:46.597Z] ---> 90aa9f4c7e7f [2024-03-07T23:08:46.597Z] Step 25/26 : LABEL git_sha=87d2dddde376be64c23e51c41d2b911feec4d340 [2024-03-07T23:08:46.597Z] ---> Running in e2a5c7c5ebfb [2024-03-07T23:08:46.597Z] Removing intermediate container e2a5c7c5ebfb [2024-03-07T23:08:46.597Z] ---> 3af512e7477f [2024-03-07T23:08:46.597Z] Step 26/26 : LABEL version=0.0.0 [2024-03-07T23:08:46.597Z] ---> Running in 71b52e146b04 [2024-03-07T23:08:46.597Z] Removing intermediate container 71b52e146b04 [2024-03-07T23:08:46.597Z] ---> 342ab2fe1b32 [2024-03-07T23:08:46.597Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-07T23:08:46.597Z] Successfully built 342ab2fe1b32 [2024-03-07T23:08:46.597Z] 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 [2024-03-07T23:08:47.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:08:47.939Z] [2024-03-07T23:08:47.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:08:48.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:08:48.410Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-07T23:08:48.410Z] 5eb5b503b376: Pulling fs layer [2024-03-07T23:08:48.410Z] 5c69ac0246d0: Pulling fs layer [2024-03-07T23:08:48.410Z] ec43610c2a17: Pulling fs layer [2024-03-07T23:08:48.410Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-07T23:08:48.410Z] 33b1e0a273af: Pulling fs layer [2024-03-07T23:08:48.410Z] 5d3b04190fa2: Pulling fs layer [2024-03-07T23:08:48.410Z] 2f39f015ded8: Pulling fs layer [2024-03-07T23:08:48.410Z] 33b1e0a273af: Waiting [2024-03-07T23:08:48.410Z] 5d3b04190fa2: Waiting [2024-03-07T23:08:48.410Z] 2f39f015ded8: Waiting [2024-03-07T23:08:48.410Z] 3a2ae6a8a46f: Waiting [2024-03-07T23:08:48.410Z] 5c69ac0246d0: Verifying Checksum [2024-03-07T23:08:48.410Z] 5c69ac0246d0: Download complete [2024-03-07T23:08:48.410Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-07T23:08:48.410Z] 3a2ae6a8a46f: Download complete [2024-03-07T23:08:48.410Z] 33b1e0a273af: Verifying Checksum [2024-03-07T23:08:48.410Z] 33b1e0a273af: Download complete [2024-03-07T23:08:48.410Z] ec43610c2a17: Download complete [2024-03-07T23:08:48.410Z] 5d3b04190fa2: Download complete [2024-03-07T23:08:48.669Z] 5eb5b503b376: Verifying Checksum [2024-03-07T23:08:48.669Z] 5eb5b503b376: Download complete [2024-03-07T23:08:49.235Z] 2f39f015ded8: Verifying Checksum [2024-03-07T23:08:49.235Z] 2f39f015ded8: Download complete [2024-03-07T23:08:49.798Z] 5eb5b503b376: Pull complete [2024-03-07T23:08:49.798Z] 5c69ac0246d0: Pull complete [2024-03-07T23:08:50.363Z] ec43610c2a17: Pull complete [2024-03-07T23:08:50.363Z] 3a2ae6a8a46f: Pull complete [2024-03-07T23:08:50.363Z] 33b1e0a273af: Pull complete [2024-03-07T23:08:50.623Z] 5d3b04190fa2: Pull complete [2024-03-07T23:08:54.832Z] 2f39f015ded8: Pull complete [2024-03-07T23:08:55.091Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-07T23:08:55.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:08:55.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:08:55.461Z] prd-ubuntu20.04-docker-8c-8g-5137 does not seem to be running inside a container [2024-03-07T23:08:55.496Z] $ 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-383 -v /w/workspace/gexfoundry_device-rest-go_PR-383:/w/workspace/gexfoundry_device-rest-go_PR-383:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-383@tmp:/w/workspace/gexfoundry_device-rest-go_PR-383@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:latest cat [2024-03-07T23:09:02.419Z] $ docker top b76ecd89a61629fcd66d581a6bf688e2d87868e9a373bcf0fa62015bfaeac05c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:09:02.931Z] ---> job-cost.sh [2024-03-07T23:09:02.931Z] lf-activate-venv: SKIPPING [2024-03-07T23:09:02.931Z] INFO: No Stack... [2024-03-07T23:09:03.190Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-07T23:09:03.451Z] INFO: Archiving Costs [Pipeline] sh [2024-03-07T23:09:03.758Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-383/archives/cost.csv [2024-03-07T23:09:03.758Z] + cut -d, -f6 [Pipeline] lock [2024-03-07T23:09:03.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] [2024-03-07T23:09:03.803Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] did not exist. Created. [2024-03-07T23:09:03.816Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-07T23:09:04.285Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-07T23:09:04.332Z] Stashed 1 file(s) [Pipeline] } [2024-03-07T23:09:04.403Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-07T23:09:04.554Z] $ docker stop --time=1 b76ecd89a61629fcd66d581a6bf688e2d87868e9a373bcf0fa62015bfaeac05c [2024-03-07T23:09:05.711Z] $ docker rm -f --volumes b76ecd89a61629fcd66d581a6bf688e2d87868e9a373bcf0fa62015bfaeac05c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-07T23:09:58.575Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5140 in /w/workspace/gexfoundry_device-rest-go_PR-383 [Pipeline] { [Pipeline] ws [2024-03-07T23:09:58.675Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-03-07T23:10:01.826Z] The recommended git tool is: git [2024-03-07T23:10:10.181Z] using credential edgex-jenkins-ssh [2024-03-07T23:10:10.213Z] Cloning the remote Git repository [2024-03-07T23:10:10.305Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-03-07T23:10:10.466Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-03-07T23:10:10.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-07T23:10:10.704Z] > git --version # timeout=10 [2024-03-07T23:10:10.737Z] > git --version # 'git version 2.25.1' [2024-03-07T23:10:10.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:10:11.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-07T23:10:16.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-07T23:10:16.180Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-07T23:10:18.426Z] Merging remotes/origin/main commit 402bee10dda5ca46600812a85f59fdfe6bf70583 into PR head commit 87d2dddde376be64c23e51c41d2b911feec4d340 [2024-03-07T23:10:17.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-07T23:10:17.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-07T23:10:17.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:10:17.804Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/383/head:refs/remotes/origin/PR-383 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-07T23:10:18.456Z] > git config core.sparsecheckout # timeout=10 [2024-03-07T23:10:18.808Z] Merge succeeded, producing 87d2dddde376be64c23e51c41d2b911feec4d340 [2024-03-07T23:10:18.809Z] Checking out Revision 87d2dddde376be64c23e51c41d2b911feec4d340 (PR-383) [2024-03-07T23:10:19.918Z] Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" [2024-03-07T23:10:20.009Z] > git --version # timeout=10 [2024-03-07T23:10:20.024Z] > git --version # 'git version 2.25.1' [2024-03-07T23:10:20.044Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:10:18.557Z] > git checkout -f 87d2dddde376be64c23e51c41d2b911feec4d340 # timeout=10 [2024-03-07T23:10:18.675Z] > git remote # timeout=10 [2024-03-07T23:10:18.708Z] > git config --get remote.origin.url # timeout=10 [2024-03-07T23:10:18.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:10:18.755Z] > git merge 402bee10dda5ca46600812a85f59fdfe6bf70583 # timeout=10 [2024-03-07T23:10:18.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-07T23:10:18.821Z] > git config core.sparsecheckout # timeout=10 [2024-03-07T23:10:18.846Z] > git checkout -f 87d2dddde376be64c23e51c41d2b911feec4d340 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:10:21.660Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-07T23:10:21.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-07T23:10:21.660Z] Dload Upload Total Spent Left Speed [2024-03-07T23:10:21.660Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 167k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh [2024-03-07T23:10:22.073Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-07T23:10:22.465Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-07T23:10:22.465Z] + sudo tee /etc/docker/daemon.new [2024-03-07T23:10:22.465Z] { [2024-03-07T23:10:22.465Z] "registry-mirrors": [ [2024-03-07T23:10:22.465Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-07T23:10:22.465Z] ], [2024-03-07T23:10:22.465Z] "bip": "10.250.0.254/24", [2024-03-07T23:10:22.465Z] "hosts": [ [2024-03-07T23:10:22.465Z] "tcp://0.0.0.0:5555", [2024-03-07T23:10:22.465Z] "unix:///var/run/docker.sock" [2024-03-07T23:10:22.465Z] ], [2024-03-07T23:10:22.465Z] "mtu": 1458, [2024-03-07T23:10:22.465Z] "selinux-enabled": true, [2024-03-07T23:10:22.465Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-07T23:10:22.465Z] } [Pipeline] sh [2024-03-07T23:10:22.867Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-07T23:10:23.286Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:10:41.867Z] provisioning config files... [2024-03-07T23:10:41.919Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7351089887846336730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:10:42.539Z] ---> ****-login.sh [2024-03-07T23:10:42.539Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:10:43.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:10:43.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:10:43.438Z] Configure a credential helper to remove this warning. See [2024-03-07T23:10:43.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:10:43.438Z] [2024-03-07T23:10:43.438Z] Login Succeeded [2024-03-07T23:10:43.438Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:10:43.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:10:44.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:10:44.001Z] Configure a credential helper to remove this warning. See [2024-03-07T23:10:44.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:10:44.001Z] [2024-03-07T23:10:44.001Z] Login Succeeded [2024-03-07T23:10:44.001Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:10:44.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:10:44.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:10:44.288Z] Configure a credential helper to remove this warning. See [2024-03-07T23:10:44.288Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:10:44.288Z] [2024-03-07T23:10:44.288Z] Login Succeeded [2024-03-07T23:10:44.288Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:10:44.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:10:44.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:10:44.895Z] Configure a credential helper to remove this warning. See [2024-03-07T23:10:44.895Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:10:44.895Z] [2024-03-07T23:10:44.895Z] Login Succeeded [2024-03-07T23:10:44.895Z] ****.io [2024-03-07T23:10:45.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:10:45.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:10:45.459Z] Configure a credential helper to remove this warning. See [2024-03-07T23:10:45.459Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:10:45.459Z] [2024-03-07T23:10:45.459Z] Login Succeeded [2024-03-07T23:10:45.459Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:10:45.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-07T23:10:46.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:10:46.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:10:46.513Z] ========================================================= [2024-03-07T23:10:46.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-07T23:10:46.513Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:10:47.252Z] + 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 . [2024-03-07T23:10:47.252Z] Sending build context to Docker daemon 127.5kB [2024-03-07T23:10:47.540Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:10:47.540Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-07T23:10:48.174Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-07T23:10:48.174Z] 9fda8d8052c6: Pulling fs layer [2024-03-07T23:10:48.174Z] 5d54e960e981: Pulling fs layer [2024-03-07T23:10:48.174Z] c4a7e357bf2a: Pulling fs layer [2024-03-07T23:10:48.174Z] f0e02332f6b5: Pulling fs layer [2024-03-07T23:10:48.174Z] 872ee5b61b7b: Pulling fs layer [2024-03-07T23:10:48.174Z] 0c6a40ed1a82: Pulling fs layer [2024-03-07T23:10:48.174Z] 94ae7d8d031c: Pulling fs layer [2024-03-07T23:10:48.174Z] f0e02332f6b5: Waiting [2024-03-07T23:10:48.174Z] 872ee5b61b7b: Waiting [2024-03-07T23:10:48.174Z] 0c6a40ed1a82: Waiting [2024-03-07T23:10:48.174Z] 94ae7d8d031c: Waiting [2024-03-07T23:10:48.174Z] 5d54e960e981: Verifying Checksum [2024-03-07T23:10:48.174Z] 5d54e960e981: Download complete [2024-03-07T23:10:48.174Z] f0e02332f6b5: Verifying Checksum [2024-03-07T23:10:48.174Z] f0e02332f6b5: Download complete [2024-03-07T23:10:48.174Z] 872ee5b61b7b: Verifying Checksum [2024-03-07T23:10:48.174Z] 872ee5b61b7b: Download complete [2024-03-07T23:10:48.174Z] 9fda8d8052c6: Download complete [2024-03-07T23:10:48.784Z] 94ae7d8d031c: Verifying Checksum [2024-03-07T23:10:48.784Z] 94ae7d8d031c: Download complete [2024-03-07T23:10:49.780Z] 9fda8d8052c6: Pull complete [2024-03-07T23:10:50.775Z] 5d54e960e981: Pull complete [2024-03-07T23:10:50.776Z] c4a7e357bf2a: Verifying Checksum [2024-03-07T23:10:50.776Z] c4a7e357bf2a: Download complete [2024-03-07T23:10:52.241Z] 0c6a40ed1a82: Verifying Checksum [2024-03-07T23:10:52.241Z] 0c6a40ed1a82: Download complete [2024-03-07T23:11:07.368Z] c4a7e357bf2a: Pull complete [2024-03-07T23:11:07.368Z] f0e02332f6b5: Pull complete [2024-03-07T23:11:07.368Z] 872ee5b61b7b: Pull complete [2024-03-07T23:11:17.576Z] 0c6a40ed1a82: Pull complete [2024-03-07T23:11:19.572Z] 94ae7d8d031c: Pull complete [2024-03-07T23:11:19.573Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-07T23:11:19.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-07T23:11:19.573Z] ---> 86de565de09d [2024-03-07T23:11:19.573Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:11:21.688Z] ---> Running in c2ac3372ebd7 [2024-03-07T23:11:21.688Z] Removing intermediate container c2ac3372ebd7 [2024-03-07T23:11:21.688Z] ---> 12517ed2db00 [2024-03-07T23:11:21.688Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:11:21.973Z] ---> Running in b1ffa529f408 [2024-03-07T23:11:22.258Z] Removing intermediate container b1ffa529f408 [2024-03-07T23:11:22.258Z] ---> d35abb52148e [2024-03-07T23:11:22.258Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:11:22.538Z] ---> Running in e276aabc25bc [2024-03-07T23:11:22.814Z] Removing intermediate container e276aabc25bc [2024-03-07T23:11:22.814Z] ---> 71e2c05e99c4 [2024-03-07T23:11:22.814Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:11:23.094Z] ---> Running in 2640321cc65e [2024-03-07T23:11:23.374Z] Removing intermediate container 2640321cc65e [2024-03-07T23:11:23.374Z] ---> 505fd24a2e92 [2024-03-07T23:11:23.374Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:11:23.649Z] ---> Running in 3eeae1ff68dc [2024-03-07T23:11:25.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:11:25.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:11:27.153Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-07T23:11:27.436Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-07T23:11:27.436Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-07T23:11:27.436Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-07T23:11:27.436Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:11:27.436Z] OK: 271 MiB in 56 packages [2024-03-07T23:11:29.458Z] Removing intermediate container 3eeae1ff68dc [2024-03-07T23:11:29.458Z] ---> 0bb17db0ed16 [2024-03-07T23:11:29.458Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-07T23:11:29.458Z] ---> Running in 60e95ca54b40 [2024-03-07T23:11:29.741Z] Removing intermediate container 60e95ca54b40 [2024-03-07T23:11:29.741Z] ---> fa3b2e9bb0e3 [2024-03-07T23:11:29.741Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-07T23:11:30.347Z] ---> f755a51ff334 [2024-03-07T23:11:30.347Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:11:30.629Z] ---> Running in d10ef8f96611 [2024-03-07T23:12:53.334Z] Removing intermediate container d10ef8f96611 [2024-03-07T23:12:53.334Z] ---> e78c9da04802 [2024-03-07T23:12:53.334Z] Step 11/12 : COPY . . [2024-03-07T23:12:53.334Z] ---> beb6c5d4c3b3 [2024-03-07T23:12:53.334Z] Step 12/12 : RUN $MAKE [2024-03-07T23:12:53.334Z] ---> Running in 89c8d3e42f53 [2024-03-07T23:12:53.334Z] noop [2024-03-07T23:12:53.334Z] Removing intermediate container 89c8d3e42f53 [2024-03-07T23:12:53.334Z] ---> 78023cbed6ee [2024-03-07T23:12:53.334Z] Successfully built 78023cbed6ee [2024-03-07T23:12:53.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:12:53.964Z] + docker inspect -f . ci-base-image-arm64 [2024-03-07T23:12:53.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:12:54.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-5140 does not seem to be running inside a container [2024-03-07T23:12:54.494Z] $ 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 [2024-03-07T23:12:56.043Z] $ docker top 57b23c2c852d298c74be436de39d76f1a46a6a1636ac092e180f97b5f73ad8a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:12:57.050Z] + go version [2024-03-07T23:12:57.050Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-07T23:12:57.097Z] $ docker stop --time=1 57b23c2c852d298c74be436de39d76f1a46a6a1636ac092e180f97b5f73ad8a0 [2024-03-07T23:12:58.850Z] $ docker rm -f --volumes 57b23c2c852d298c74be436de39d76f1a46a6a1636ac092e180f97b5f73ad8a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:13:00.129Z] + docker inspect -f . ci-base-image-arm64 [2024-03-07T23:13:00.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:13:00.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-5140 does not seem to be running inside a container [2024-03-07T23:13:00.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-07T23:13:01.984Z] $ docker top 65c9a4cacac25ea11e861472a8ea5a5a96db969d488a77e68bf8d7442ae2c9f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:13:03.001Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-07T23:13:03.787Z] + make test [2024-03-07T23:13:03.787Z] go test ./... -coverprofile=coverage.out ./... [2024-03-07T23:13:09.247Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-07T23:15:31.301Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-07T23:15:31.301Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements [2024-03-07T23:15:31.301Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-07T23:15:31.301Z] go vet ./... [2024-03-07T23:15:58.119Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-07T23:15:58.119Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-07T23:15:58.119Z] ./bin/test-attribution-txt.sh [2024-03-07T23:15:58.119Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-07T23:15:58.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-07T23:15:58.273Z] $ docker stop --time=1 65c9a4cacac25ea11e861472a8ea5a5a96db969d488a77e68bf8d7442ae2c9f8 [2024-03-07T23:16:00.266Z] $ docker rm -f --volumes 65c9a4cacac25ea11e861472a8ea5a5a96db969d488a77e68bf8d7442ae2c9f8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:16:35.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-07T23:16:35.633Z] Warning: overwriting stash ‘coverage-report’ [2024-03-07T23:16:36.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:16:37.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-07T23:16:37.441Z] + ls -al . [2024-03-07T23:16:37.441Z] total 176 [2024-03-07T23:16:37.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:13 . [2024-03-07T23:16:37.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:10 .. [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 7 23:10 .dockerignore [2024-03-07T23:16:37.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:10 .git [2024-03-07T23:16:37.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:10 .github [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 7 23:10 .gitignore [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 23:10 .golangci.yml [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 7 23:10 Attribution.txt [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 7 23:10 CHANGELOG.md [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 7 23:10 Dockerfile [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:10 GOVERNANCE.md [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 7 23:10 Jenkinsfile [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 23:10 LICENSE [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 7 23:10 Makefile [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 23:10 OWNERS.md [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 7 23:10 README.md [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:06 VERSION [2024-03-07T23:16:37.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:10 bin [2024-03-07T23:16:37.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:10 cmd [2024-03-07T23:16:37.441Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 7 23:15 coverage.out [2024-03-07T23:16:37.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:10 driver [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 3935 Mar 7 23:10 go.mod [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 36481 Mar 7 23:10 go.sum [2024-03-07T23:16:37.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:10 openapi [2024-03-07T23:16:37.441Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 7 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:16:37.968Z] + 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=87d2dddde376be64c23e51c41d2b911feec4d340 --label arch=arm64 --label version=0.0.0 . [2024-03-07T23:16:37.968Z] Sending build context to Docker daemon 142.8kB [2024-03-07T23:16:38.241Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:16:38.241Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-07T23:16:38.241Z] ---> 78023cbed6ee [2024-03-07T23:16:38.241Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:16:38.241Z] ---> Running in 94cb1e04d1f7 [2024-03-07T23:16:38.830Z] Removing intermediate container 94cb1e04d1f7 [2024-03-07T23:16:38.830Z] ---> 22219d62a433 [2024-03-07T23:16:38.830Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:16:38.830Z] ---> Running in 81738693e3e6 [2024-03-07T23:16:39.106Z] Removing intermediate container 81738693e3e6 [2024-03-07T23:16:39.106Z] ---> 245913f2de82 [2024-03-07T23:16:39.106Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:16:39.382Z] ---> Running in c6716fd7d941 [2024-03-07T23:16:39.652Z] Removing intermediate container c6716fd7d941 [2024-03-07T23:16:39.652Z] ---> 4b2d7f40071b [2024-03-07T23:16:39.652Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:16:39.652Z] ---> Running in 4569cf6e1dc2 [2024-03-07T23:16:40.245Z] Removing intermediate container 4569cf6e1dc2 [2024-03-07T23:16:40.245Z] ---> c25377b3aa7d [2024-03-07T23:16:40.245Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:16:40.245Z] ---> Running in ad76bb0528c8 [2024-03-07T23:16:41.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:16:41.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:16:43.307Z] OK: 271 MiB in 56 packages [2024-03-07T23:16:44.283Z] Removing intermediate container ad76bb0528c8 [2024-03-07T23:16:44.283Z] ---> 26d2f7cb62de [2024-03-07T23:16:44.283Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-07T23:16:44.283Z] ---> Running in 67047a0f579a [2024-03-07T23:16:44.552Z] Removing intermediate container 67047a0f579a [2024-03-07T23:16:44.552Z] ---> 84701a663734 [2024-03-07T23:16:44.552Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-07T23:16:45.144Z] ---> 9c99074ffd0e [2024-03-07T23:16:45.144Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:16:45.144Z] ---> Running in 943f1e504faa [2024-03-07T23:16:47.738Z] Removing intermediate container 943f1e504faa [2024-03-07T23:16:47.738Z] ---> b96a2502d58f [2024-03-07T23:16:47.738Z] Step 11/26 : COPY . . [2024-03-07T23:16:48.007Z] ---> ce1baa936750 [2024-03-07T23:16:48.007Z] Step 12/26 : RUN $MAKE [2024-03-07T23:16:48.007Z] ---> Running in 2e09ecb647f4 [2024-03-07T23:16:48.968Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-07T23:18:55.697Z] Removing intermediate container 2e09ecb647f4 [2024-03-07T23:18:55.697Z] ---> 55a2141c7582 [2024-03-07T23:18:55.697Z] Step 13/26 : FROM alpine:3.18 [2024-03-07T23:18:55.697Z] 3.18: Pulling from library/alpine [2024-03-07T23:18:55.697Z] c6b39de5b339: Pulling fs layer [2024-03-07T23:18:55.697Z] c6b39de5b339: Download complete [2024-03-07T23:18:55.697Z] c6b39de5b339: Pull complete [2024-03-07T23:18:55.697Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-07T23:18:55.697Z] Status: Downloaded newer image for alpine:3.18 [2024-03-07T23:18:55.697Z] ---> 33abbf032149 [2024-03-07T23:18:55.697Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-07T23:18:55.697Z] ---> Running in 72ee000f984f [2024-03-07T23:18:55.697Z] Removing intermediate container 72ee000f984f [2024-03-07T23:18:55.697Z] ---> eeacf0d6f5a7 [2024-03-07T23:18:55.697Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-07T23:18:55.697Z] ---> Running in 7229de86c3cd [2024-03-07T23:18:55.697Z] Removing intermediate container 7229de86c3cd [2024-03-07T23:18:55.697Z] ---> 1a40b76694e8 [2024-03-07T23:18:55.697Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-07T23:18:55.697Z] ---> Running in 0ab15afc0b43 [2024-03-07T23:18:55.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:18:55.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:18:55.697Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-07T23:18:55.697Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:18:55.697Z] OK: 8 MiB in 16 packages [2024-03-07T23:18:55.697Z] Removing intermediate container 0ab15afc0b43 [2024-03-07T23:18:55.697Z] ---> efa052b1c5c4 [2024-03-07T23:18:55.697Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-07T23:18:55.697Z] ---> Running in db80e3a95606 [2024-03-07T23:18:55.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:18:55.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:18:56.661Z] OK: 8 MiB in 16 packages [2024-03-07T23:18:57.625Z] Removing intermediate container db80e3a95606 [2024-03-07T23:18:57.625Z] ---> 25a2e8ec1b50 [2024-03-07T23:18:57.625Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-07T23:18:58.587Z] ---> 6d212f60151f [2024-03-07T23:18:58.587Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-07T23:18:59.169Z] ---> 98ba31c3f177 [2024-03-07T23:18:59.169Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-07T23:18:59.755Z] ---> 6972f33fe9a6 [2024-03-07T23:18:59.755Z] Step 21/26 : EXPOSE 59986 [2024-03-07T23:18:59.755Z] ---> Running in 36dd1b55c871 [2024-03-07T23:19:00.021Z] Removing intermediate container 36dd1b55c871 [2024-03-07T23:19:00.021Z] ---> 0330be4001ef [2024-03-07T23:19:00.021Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-07T23:19:00.021Z] ---> Running in 855b8bb40648 [2024-03-07T23:19:00.289Z] Removing intermediate container 855b8bb40648 [2024-03-07T23:19:00.289Z] ---> a44a822f5aa9 [2024-03-07T23:19:00.289Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-07T23:19:00.559Z] ---> Running in 5e3d64a02285 [2024-03-07T23:19:00.827Z] Removing intermediate container 5e3d64a02285 [2024-03-07T23:19:00.827Z] ---> 5bab94fd8712 [2024-03-07T23:19:00.827Z] Step 24/26 : LABEL arch=arm64 [2024-03-07T23:19:00.827Z] ---> Running in 032a60096b4b [2024-03-07T23:19:01.426Z] Removing intermediate container 032a60096b4b [2024-03-07T23:19:01.426Z] ---> 3902426f0a83 [2024-03-07T23:19:01.426Z] Step 25/26 : LABEL git_sha=87d2dddde376be64c23e51c41d2b911feec4d340 [2024-03-07T23:19:01.426Z] ---> Running in 8edaa962ec2e [2024-03-07T23:19:01.698Z] Removing intermediate container 8edaa962ec2e [2024-03-07T23:19:01.698Z] ---> dc7d6e045207 [2024-03-07T23:19:01.698Z] Step 26/26 : LABEL version=0.0.0 [2024-03-07T23:19:01.967Z] ---> Running in 8ce35491012f [2024-03-07T23:19:02.236Z] Removing intermediate container 8ce35491012f [2024-03-07T23:19:02.236Z] ---> 346c5baa450e [2024-03-07T23:19:02.236Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-07T23:19:02.236Z] Successfully built 346c5baa450e [2024-03-07T23:19:02.236Z] 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 [2024-03-07T23:19:03.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:19:03.543Z] [2024-03-07T23:19:03.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:19:04.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:19:04.377Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-07T23:19:04.377Z] 8998bd30e6a1: Pulling fs layer [2024-03-07T23:19:04.377Z] 04944245beec: Pulling fs layer [2024-03-07T23:19:04.377Z] 699f458cf7ca: Pulling fs layer [2024-03-07T23:19:04.377Z] 765212b225bb: Pulling fs layer [2024-03-07T23:19:04.377Z] f23df028b6ca: Pulling fs layer [2024-03-07T23:19:04.377Z] d65c8cfc05b1: Pulling fs layer [2024-03-07T23:19:04.377Z] 2437ff75d9bd: Pulling fs layer [2024-03-07T23:19:04.377Z] f23df028b6ca: Waiting [2024-03-07T23:19:04.377Z] d65c8cfc05b1: Waiting [2024-03-07T23:19:04.377Z] 2437ff75d9bd: Waiting [2024-03-07T23:19:04.377Z] 04944245beec: Verifying Checksum [2024-03-07T23:19:04.377Z] 04944245beec: Download complete [2024-03-07T23:19:04.377Z] 765212b225bb: Verifying Checksum [2024-03-07T23:19:04.377Z] 765212b225bb: Download complete [2024-03-07T23:19:04.377Z] f23df028b6ca: Verifying Checksum [2024-03-07T23:19:04.377Z] f23df028b6ca: Download complete [2024-03-07T23:19:04.377Z] d65c8cfc05b1: Verifying Checksum [2024-03-07T23:19:04.377Z] d65c8cfc05b1: Download complete [2024-03-07T23:19:04.653Z] 699f458cf7ca: Verifying Checksum [2024-03-07T23:19:04.653Z] 699f458cf7ca: Download complete [2024-03-07T23:19:05.258Z] 8998bd30e6a1: Verifying Checksum [2024-03-07T23:19:05.258Z] 8998bd30e6a1: Download complete [2024-03-07T23:19:07.848Z] 2437ff75d9bd: Verifying Checksum [2024-03-07T23:19:07.848Z] 2437ff75d9bd: Download complete [2024-03-07T23:19:10.450Z] 8998bd30e6a1: Pull complete [2024-03-07T23:19:10.451Z] 04944245beec: Pull complete [2024-03-07T23:19:12.406Z] 699f458cf7ca: Pull complete [2024-03-07T23:19:12.406Z] 765212b225bb: Pull complete [2024-03-07T23:19:13.372Z] f23df028b6ca: Pull complete [2024-03-07T23:19:13.640Z] d65c8cfc05b1: Pull complete [2024-03-07T23:19:31.852Z] 2437ff75d9bd: Pull complete [2024-03-07T23:19:31.852Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-07T23:19:31.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:19:31.852Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:19:32.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-5140 does not seem to be running inside a container [2024-03-07T23:19:32.463Z] $ 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 [2024-03-07T23:19:35.534Z] $ docker top 05c6cb769895ea176c6a1e87cb4cef1818082c48fe2373b4574fe86f1cff6acb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:36.614Z] ---> job-cost.sh [2024-03-07T23:19:36.614Z] lf-activate-venv: SKIPPING [2024-03-07T23:19:36.614Z] INFO: No Stack... [2024-03-07T23:19:37.580Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-07T23:19:38.546Z] INFO: Archiving Costs [Pipeline] sh [2024-03-07T23:19:39.223Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-03-07T23:19:39.223Z] + cut -d, -f6 [Pipeline] lock [2024-03-07T23:19:39.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] [2024-03-07T23:19:39.313Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] did not exist. Created. [2024-03-07T23:19:39.319Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-07T23:19:40.175Z] /w/workspace/device-rest-go/1@tmp/durable-1ac1ce5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-07T23:19:40.860Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-07T23:19:40.897Z] Warning: overwriting stash ‘stack-cost’ [2024-03-07T23:19:40.963Z] Stashed 1 file(s) [Pipeline] } [2024-03-07T23:19:40.984Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-07T23:19:41.170Z] $ docker stop --time=1 05c6cb769895ea176c6a1e87cb4cef1818082c48fe2373b4574fe86f1cff6acb [2024-03-07T23:19:42.761Z] $ docker rm -f --volumes 05c6cb769895ea176c6a1e87cb4cef1818082c48fe2373b4574fe86f1cff6acb [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 [2024-03-07T23:19:44.817Z] provisioning config files... [2024-03-07T23:19:44.825Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-383@tmp/config109359635529396726tmp [Pipeline] { [Pipeline] sh [2024-03-07T23:19:45.261Z] + set +x [2024-03-07T23:19:45.261Z] + curl -s https://codecov.io/bash [2024-03-07T23:19:45.261Z] + bash -s -- [2024-03-07T23:19:45.261Z] [2024-03-07T23:19:45.261Z] _____ _ [2024-03-07T23:19:45.261Z] / ____| | | [2024-03-07T23:19:45.261Z] | | ___ __| | ___ ___ _____ __ [2024-03-07T23:19:45.261Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-07T23:19:45.261Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-07T23:19:45.261Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-07T23:19:45.261Z] Bash-1.0.6 [2024-03-07T23:19:45.261Z] [2024-03-07T23:19:45.261Z] [2024-03-07T23:19:45.261Z] ==> git version 2.25.1 found [2024-03-07T23:19:45.261Z] ==> 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 [2024-03-07T23:19:45.261Z] Release-Date: 2020-01-08 [2024-03-07T23:19:45.261Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-07T23:19:45.261Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-07T23:19:45.261Z] ==> Jenkins CI detected. [2024-03-07T23:19:45.261Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-383 [2024-03-07T23:19:45.261Z] project root: . [2024-03-07T23:19:45.261Z] --> token set from env [2024-03-07T23:19:45.261Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-07T23:19:45.261Z] ==> Running gcov in . (disable via -X gcov) [2024-03-07T23:19:45.261Z] ==> Python coveragepy not found [2024-03-07T23:19:45.261Z] ==> Searching for coverage reports in: [2024-03-07T23:19:45.261Z] + . [2024-03-07T23:19:45.261Z] -> Found 1 reports [2024-03-07T23:19:45.261Z] ==> Detecting git/mercurial file structure [2024-03-07T23:19:45.261Z] ==> Reading reports [2024-03-07T23:19:45.261Z] + ./coverage.out bytes=14499 [2024-03-07T23:19:45.261Z] ==> Appending adjustments [2024-03-07T23:19:45.261Z] https://docs.codecov.io/docs/fixing-reports [2024-03-07T23:19:45.522Z] + Found adjustments [2024-03-07T23:19:45.522Z] ==> Gzipping contents [2024-03-07T23:19:45.522Z] 4.0K /tmp/codecov.z5BDet.gz [2024-03-07T23:19:45.522Z] ==> Uploading reports [2024-03-07T23:19:45.522Z] url: https://codecov.io [2024-03-07T23:19:45.522Z] query: branch=PR-383&commit=87d2dddde376be64c23e51c41d2b911feec4d340&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-383%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=383&job=&cmd_args= [2024-03-07T23:19:45.522Z] -> Pinging Codecov [2024-03-07T23:19:45.522Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-383&commit=87d2dddde376be64c23e51c41d2b911feec4d340&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-383%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=383&job=&cmd_args= [2024-03-07T23:19:45.783Z] -> Uploading to [2024-03-07T23:19:45.783Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-07/4E5D53B4F1F92C436F7061BF334D961C/87d2dddde376be64c23e51c41d2b911feec4d340/29e03261-309c-43e0-844f-5dfd8fe6f052.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240307T231945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd72294271811242bf62de6890e880a62a39b3e2569bd159a8aa2fcc0e7dd068 [2024-03-07T23:19:45.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-07T23:19:45.783Z] Dload Upload Total Spent Left Speed [2024-03-07T23:19:46.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 5966 --:--:-- --:--:-- --:--:-- 5966 [2024-03-07T23:19:46.043Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/87d2dddde376be64c23e51c41d2b911feec4d340 [Pipeline] } [2024-03-07T23:19:46.071Z] 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 [2024-03-07T23:19:49.454Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-383/archives ] [2024-03-07T23:19:49.454Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-383/archives [2024-03-07T23:19:49.454Z] total 16 [2024-03-07T23:19:49.454Z] drwxr-xr-x 3 root root 4096 Mar 7 23:09 . [2024-03-07T23:19:49.454Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 23:09 .. [2024-03-07T23:19:49.454Z] drwxr-xr-x 2 root root 4096 Mar 7 23:09 cost [2024-03-07T23:19:49.454Z] -rw-r--r-- 1 root root 86 Mar 7 23:09 cost.csv [2024-03-07T23:19:49.454Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-383/archives [2024-03-07T23:19:49.454Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-383/archives [2024-03-07T23:19:49.454Z] total 16 [2024-03-07T23:19:49.454Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:09 . [2024-03-07T23:19:49.454Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 23:09 .. [2024-03-07T23:19:49.454Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 23:09 cost [2024-03-07T23:19:49.454Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:49.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:50.675Z] ---> package-listing.sh [2024-03-07T23:19:50.675Z] ++ facter osfamily [2024-03-07T23:19:50.675Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-07T23:19:50.936Z] + OS_FAMILY=debian [2024-03-07T23:19:50.936Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-383 [2024-03-07T23:19:50.936Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-07T23:19:50.936Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-07T23:19:50.936Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-07T23:19:50.936Z] + PACKAGES=/tmp/packages_start.txt [2024-03-07T23:19:50.936Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-383 ']' [2024-03-07T23:19:50.936Z] + PACKAGES=/tmp/packages_end.txt [2024-03-07T23:19:50.936Z] + case "${OS_FAMILY}" in [2024-03-07T23:19:50.936Z] + dpkg -l [2024-03-07T23:19:50.936Z] + grep '^ii' [2024-03-07T23:19:50.936Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-07T23:19:50.936Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-07T23:19:50.936Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-07T23:19:50.936Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-383 ']' [2024-03-07T23:19:50.936Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-383/archives/ [2024-03-07T23:19:50.936Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-383/archives/ [Pipeline] echo [2024-03-07T23:19:50.979Z] 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-383/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-07T23:19:51.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:19:51.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:19:51.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:19:52.226Z] prd-ubuntu20.04-docker-8c-8g-5137 does not seem to be running inside a container [2024-03-07T23:19:52.264Z] $ 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-383/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-383 -v /w/workspace/gexfoundry_device-rest-go_PR-383:/w/workspace/gexfoundry_device-rest-go_PR-383:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-383@tmp:/w/workspace/gexfoundry_device-rest-go_PR-383@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 [2024-03-07T23:19:52.466Z] $ docker top f5b9db8ab33a9a6c21a7cd4973edacdd7856bdc75a78b9ba5a269fe80bbea1af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:19:52.971Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-07T23:19:53.287Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-07T23:19:53.600Z] + ls /var/log/sa-host [2024-03-07T23:19:53.600Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:19:53.800Z] provisioning config files... [2024-03-07T23:19:53.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-383@tmp/config13503810725974907213tmp [Pipeline] { [Pipeline] echo [2024-03-07T23:19:53.968Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:54.275Z] ---> create-netrc.sh [Pipeline] } [2024-03-07T23:19:54.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:54.905Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-07T23:19:54.951Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:55.282Z] ---> sudo-logs.sh [2024-03-07T23:19:55.283Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-07T23:19:55.463Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:55.781Z] ---> job-cost.sh [2024-03-07T23:19:55.781Z] lf-activate-venv: SKIPPING [2024-03-07T23:19:55.781Z] DEBUG: total: 0.2199999988079071 [2024-03-07T23:19:55.781Z] INFO: Retrieving Stack Cost... [2024-03-07T23:19:56.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-07T23:19:56.608Z] INFO: Archiving Costs [Pipeline] echo [2024-03-07T23:19:56.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:19:56.972Z] ---> logs-deploy.sh [2024-03-07T23:19:56.972Z] lf-activate-venv: SKIPPING [2024-03-07T23:19:56.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-383/1 [2024-03-07T23:19:56.972Z] INFO: archiving workspace using pattern(s): [2024-03-07T23:19:57.919Z] Archives upload complete. [2024-03-07T23:19:57.919Z] INFO: archiving logs to Nexus