Pull request #385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27d8266983d04630bb50d9a9262f21ce9bf5f564+b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc (f677991a5d6597eed9229a6139f875a5a443b7cf) 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-ssh5943466597412668543.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-ssh4925500216044430331.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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3433403927578312921.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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3812848676270271491.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-ssh9317424095646791432.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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17996942999493171855.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 ‘prd-centos7-blackbox-4c-2g-5310’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5507’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5508’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5509’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5569’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5570’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5571’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5566’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5577 in /w/workspace/gexfoundry_device-rest-go_PR-385 [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-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc into PR head commit 27d8266983d04630bb50d9a9262f21ce9bf5f564 Merge succeeded, producing 27d8266983d04630bb50d9a9262f21ce9bf5f564 Checking out Revision 27d8266983d04630bb50d9a9262f21ce9bf5f564 (PR-385) Commit message: "build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 27d8266983d04630bb50d9a9262f21ce9bf5f564 # 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 b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27d8266983d04630bb50d9a9262f21ce9bf5f564 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-13T23:34:46.612Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-13T23:34:46.803Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-13T23:34:46.905Z] ========================================================= [2024-03-13T23:34:46.905Z] EdgeX Global Pipelines Version Info [2024-03-13T23:34:46.905Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:47.647Z] ------------------- [2024-03-13T23:34:47.647Z] stable info: [2024-03-13T23:34:47.647Z] ------------------- [2024-03-13T23:34:47.647Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-13T23:34:47.647Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:34:47.647Z] Message: update stable to v1.0.258 [2024-03-13T23:34:48.607Z] ------------------- [2024-03-13T23:34:48.607Z] experimental info: [2024-03-13T23:34:48.607Z] ------------------- [2024-03-13T23:34:48.607Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-13T23:34:48.607Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:34:48.607Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-13T23:34:48.788Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-03-13T23:34:48.848Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-03-13T23:34:48.909Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-13T23:34:48.965Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-13T23:34:49.017Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-13T23:34:49.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-13T23:34:49.129Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-13T23:34:49.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-13T23:34:49.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-13T23:34:49.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-13T23:34:49.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-13T23:34:49.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-03-13T23:34:49.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-13T23:34:49.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-13T23:34:49.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:34:49.798Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:34:49.854Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:34:49.908Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:34:49.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-13T23:34:50.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-13T23:34:50.079Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-13T23:34:50.147Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-13T23:34:50.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-13T23:34:50.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-13T23:34:50.360Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-13T23:34:50.425Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-13T23:34:50.490Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-13T23:34:50.551Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2024-03-13T23:34:50.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2024-03-13T23:34:50.700Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2024-03-13T23:34:50.792Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27d8266983d04630bb50d9a9262f21ce9bf5f564 [Pipeline] echo [2024-03-13T23:34:50.872Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27d8266 [Pipeline] echo [2024-03-13T23:34:50.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:34:51.117Z] provisioning config files... [2024-03-13T23:34:51.134Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-385@tmp/config11098811732964195648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:51.566Z] ---> ****-login.sh [2024-03-13T23:34:51.566Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:34:51.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:51.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:51.830Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:51.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:51.830Z] [2024-03-13T23:34:51.830Z] Login Succeeded [2024-03-13T23:34:51.830Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:34:52.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:52.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:52.091Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:52.091Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:52.091Z] [2024-03-13T23:34:52.091Z] Login Succeeded [2024-03-13T23:34:52.091Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:34:52.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:52.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:52.091Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:52.091Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:52.091Z] [2024-03-13T23:34:52.091Z] Login Succeeded [2024-03-13T23:34:52.091Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:34:52.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:52.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:52.360Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:52.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:52.360Z] [2024-03-13T23:34:52.360Z] Login Succeeded [2024-03-13T23:34:52.360Z] ****.io [2024-03-13T23:34:52.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:52.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:52.623Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:52.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:52.623Z] [2024-03-13T23:34:52.623Z] Login Succeeded [2024-03-13T23:34:52.623Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:34:52.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-13T23:34:53.523Z] + git rev-list -1 --merges 27d8266983d04630bb50d9a9262f21ce9bf5f564~1..27d8266983d04630bb50d9a9262f21ce9bf5f564 [Pipeline] echo [2024-03-13T23:34:53.582Z] -----------> git rev-list -1 --merges 27d8266983d04630bb50d9a9262f21ce9bf5f564~1..27d8266983d04630bb50d9a9262f21ce9bf5f564 27d8266983d04630bb50d9a9262f21ce9bf5f564 [false] [Pipeline] sh [2024-03-13T23:34:53.931Z] + git log --format=format:%s -1 27d8266983d04630bb50d9a9262f21ce9bf5f564 [Pipeline] echo [2024-03-13T23:34:53.968Z] ========================================================= [2024-03-13T23:34:53.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-13T23:34:53.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:34:54.487Z] + git log --format=format:%s -1 27d8266983d04630bb50d9a9262f21ce9bf5f564 [Pipeline] echo [2024-03-13T23:34:54.598Z] [semverPrep] GIT_COMMIT: 27d8266983d04630bb50d9a9262f21ce9bf5f564, Commit Message: build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 [Pipeline] echo [2024-03-13T23:34:54.657Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-13T23:34:55.072Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-13T23:34:55.072Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-13T23:34:55.072Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-13T23:34:55.072Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-13T23:34:55.072Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-13T23:34:55.072Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-13T23:34:55.072Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:55.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:55.634Z] [2024-03-13T23:34:55.634Z] 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-13T23:34:56.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:56.098Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-13T23:34:56.098Z] b85a868b505f: Pulling fs layer [2024-03-13T23:34:56.099Z] e2be974225ed: Pulling fs layer [2024-03-13T23:34:56.099Z] 339a4e72a1f5: Pulling fs layer [2024-03-13T23:34:56.099Z] 988bab9f4d93: Pulling fs layer [2024-03-13T23:34:56.099Z] 1469e6f7b9e6: Pulling fs layer [2024-03-13T23:34:56.099Z] eaf3925da568: Pulling fs layer [2024-03-13T23:34:56.099Z] bab4dde63d76: Pulling fs layer [2024-03-13T23:34:56.099Z] 988bab9f4d93: Waiting [2024-03-13T23:34:56.099Z] 1469e6f7b9e6: Waiting [2024-03-13T23:34:56.099Z] eaf3925da568: Waiting [2024-03-13T23:34:56.099Z] bde34c3a00c8: Pulling fs layer [2024-03-13T23:34:56.099Z] b352a97aabf1: Pulling fs layer [2024-03-13T23:34:56.099Z] bab4dde63d76: Waiting [2024-03-13T23:34:56.099Z] bde34c3a00c8: Waiting [2024-03-13T23:34:56.099Z] 4872d77fe225: Pulling fs layer [2024-03-13T23:34:56.099Z] 5851b861e8e6: Pulling fs layer [2024-03-13T23:34:56.099Z] 4872d77fe225: Waiting [2024-03-13T23:34:56.099Z] b352a97aabf1: Waiting [2024-03-13T23:34:56.099Z] 5851b861e8e6: Waiting [2024-03-13T23:34:56.099Z] e2be974225ed: Download complete [2024-03-13T23:34:56.099Z] 988bab9f4d93: Download complete [2024-03-13T23:34:56.367Z] 1469e6f7b9e6: Verifying Checksum [2024-03-13T23:34:56.367Z] 1469e6f7b9e6: Download complete [2024-03-13T23:34:56.367Z] 339a4e72a1f5: Verifying Checksum [2024-03-13T23:34:56.367Z] 339a4e72a1f5: Download complete [2024-03-13T23:34:56.367Z] eaf3925da568: Download complete [2024-03-13T23:34:56.367Z] bde34c3a00c8: Verifying Checksum [2024-03-13T23:34:56.367Z] bde34c3a00c8: Download complete [2024-03-13T23:34:56.367Z] b352a97aabf1: Verifying Checksum [2024-03-13T23:34:56.367Z] b352a97aabf1: Download complete [2024-03-13T23:34:56.367Z] 4872d77fe225: Verifying Checksum [2024-03-13T23:34:56.367Z] 4872d77fe225: Download complete [2024-03-13T23:34:56.367Z] 5851b861e8e6: Download complete [2024-03-13T23:34:56.631Z] b85a868b505f: Download complete [2024-03-13T23:34:56.897Z] bab4dde63d76: Verifying Checksum [2024-03-13T23:34:56.897Z] bab4dde63d76: Download complete [2024-03-13T23:34:57.849Z] b85a868b505f: Pull complete [2024-03-13T23:34:57.849Z] e2be974225ed: Pull complete [2024-03-13T23:34:58.421Z] 339a4e72a1f5: Pull complete [2024-03-13T23:34:58.421Z] 988bab9f4d93: Pull complete [2024-03-13T23:34:58.682Z] 1469e6f7b9e6: Pull complete [2024-03-13T23:34:58.941Z] eaf3925da568: Pull complete [2024-03-13T23:35:00.847Z] bab4dde63d76: Pull complete [2024-03-13T23:35:00.847Z] bde34c3a00c8: Pull complete [2024-03-13T23:35:00.847Z] b352a97aabf1: Pull complete [2024-03-13T23:35:00.847Z] 4872d77fe225: Pull complete [2024-03-13T23:35:01.107Z] 5851b861e8e6: Pull complete [2024-03-13T23:35:01.107Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-13T23:35:01.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:35:01.107Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:35:01.452Z] prd-ubuntu20.04-docker-8c-8g-5577 does not seem to be running inside a container [2024-03-13T23:35:01.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-385 -v /w/workspace/gexfoundry_device-rest-go_PR-385:/w/workspace/gexfoundry_device-rest-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-385@tmp:/w/workspace/gexfoundry_device-rest-go_PR-385@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-13T23:35:07.800Z] $ docker top 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 -eo pid,comm [2024-03-13T23:35:07.854Z] 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-13T23:35:07.854Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-13T23:35:08.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:35:08.043Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:35:08.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:35:08.166Z] $ docker exec 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 ssh-agent [2024-03-13T23:35:08.298Z] SSH_AUTH_SOCK=/tmp/ssh-5nGcaR4UOdEH/agent.31 [2024-03-13T23:35:08.298Z] SSH_AGENT_PID=37 [2024-03-13T23:35:08.303Z] Running ssh-add (command line suppressed) [2024-03-13T23:35:08.402Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-385@tmp/private_key_6781216117430217685.key (/w/workspace/gexfoundry_device-rest-go_PR-385@tmp/private_key_6781216117430217685.key) [2024-03-13T23:35:08.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:35:08.802Z] + git tag --points-at HEAD [Pipeline] } [2024-03-13T23:35:08.826Z] $ docker exec --env ******** --env ******** 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 ssh-agent -k [2024-03-13T23:35:08.914Z] unset SSH_AUTH_SOCK; [2024-03-13T23:35:08.914Z] unset SSH_AGENT_PID; [2024-03-13T23:35:08.914Z] echo Agent pid 37 killed; [2024-03-13T23:35:08.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-13T23:35:09.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:35:09.057Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:35:09.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:35:09.158Z] $ docker exec 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 ssh-agent [2024-03-13T23:35:09.266Z] SSH_AUTH_SOCK=/tmp/ssh-LjjXyQkEzMhh/agent.69 [2024-03-13T23:35:09.266Z] SSH_AGENT_PID=75 [2024-03-13T23:35:09.271Z] Running ssh-add (command line suppressed) [2024-03-13T23:35:09.367Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-385@tmp/private_key_13924440458792718784.key (/w/workspace/gexfoundry_device-rest-go_PR-385@tmp/private_key_13924440458792718784.key) [2024-03-13T23:35:09.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:35:09.734Z] + git semver init [2024-03-13T23:35:09.994Z] 2024-03-13 23:35:09,922 [run_init] DEBUG init version:0.0.0 force:False [2024-03-13T23:35:09.994Z] 2024-03-13 23:35:09,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-385/.semver [2024-03-13T23:35:09.994Z] 2024-03-13 23:35:09,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-385/.semver [2024-03-13T23:35:09.994Z] 2024-03-13 23:35:09,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-385/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-385, universal_newlines=False, shell=None, istream=None) [2024-03-13T23:35:11.383Z] 2024-03-13 23:35:11,372 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-385/.git/info/exclude [2024-03-13T23:35:11.383Z] 2024-03-13 23:35:11,372 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-385/.semver/PR-385 with force:False [2024-03-13T23:35:11.383Z] 2024-03-13 23:35:11,372 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-385/.semver/PR-385 [2024-03-13T23:35:11.383Z] 2024-03-13 23:35:11,376 [execute] INFO git cat-file --batch-check [2024-03-13T23:35:11.383Z] 2024-03-13 23:35:11,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:35:11.383Z] 2024-03-13 23:35:11,383 [execute] INFO git cat-file --batch [2024-03-13T23:35:11.643Z] 2024-03-13 23:35:11,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:35:11.643Z] 2024-03-13 23:35:11,389 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-385/.semver/PR-385 [2024-03-13T23:35:11.643Z] 0.0.0 [Pipeline] } [2024-03-13T23:35:11.670Z] $ docker exec --env ******** --env ******** 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 ssh-agent -k [2024-03-13T23:35:11.774Z] unset SSH_AUTH_SOCK; [2024-03-13T23:35:11.775Z] unset SSH_AGENT_PID; [2024-03-13T23:35:11.775Z] echo Agent pid 75 killed; [2024-03-13T23:35:11.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-13T23:35:12.280Z] + git semver [Pipeline] } [2024-03-13T23:35:12.566Z] $ docker stop --time=1 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 [2024-03-13T23:35:13.854Z] $ docker rm -f --volumes 04b7fcc04615ec654cead09c2f3798567eaddda0c05eec7d3500679dbff9c892 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:35:14.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-13T23:35:14.607Z] Stashed 1 file(s) [Pipeline] echo [2024-03-13T23:35:14.624Z] [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-13T23:35:15.544Z] provisioning config files... [2024-03-13T23:35:15.552Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-385@tmp/config6964897264607637620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:35:15.972Z] ---> ****-login.sh [2024-03-13T23:35:15.972Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:35:15.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:35:15.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:35:15.972Z] Configure a credential helper to remove this warning. See [2024-03-13T23:35:15.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:35:15.972Z] [2024-03-13T23:35:15.972Z] Login Succeeded [2024-03-13T23:35:15.972Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:35:15.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:35:15.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:35:15.972Z] Configure a credential helper to remove this warning. See [2024-03-13T23:35:15.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:35:15.972Z] [2024-03-13T23:35:15.972Z] Login Succeeded [2024-03-13T23:35:15.972Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:35:16.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:35:16.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:35:16.233Z] Configure a credential helper to remove this warning. See [2024-03-13T23:35:16.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:35:16.233Z] [2024-03-13T23:35:16.233Z] Login Succeeded [2024-03-13T23:35:16.233Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:35:16.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:35:16.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:35:16.233Z] Configure a credential helper to remove this warning. See [2024-03-13T23:35:16.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:35:16.234Z] [2024-03-13T23:35:16.234Z] Login Succeeded [2024-03-13T23:35:16.234Z] ****.io [2024-03-13T23:35:16.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:35:16.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:35:16.496Z] Configure a credential helper to remove this warning. See [2024-03-13T23:35:16.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:35:16.496Z] [2024-03-13T23:35:16.496Z] Login Succeeded [2024-03-13T23:35:16.496Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:35:16.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:35:16.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:35:16.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:35:16.967Z] ========================================================= [2024-03-13T23:35:16.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-13T23:35:16.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:35:17.624Z] + 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-13T23:35:17.624Z] Sending build context to Docker daemon 16.34MB [2024-03-13T23:35:17.624Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:35:17.624Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-13T23:35:17.624Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-13T23:35:17.624Z] 7264a8db6415: Pulling fs layer [2024-03-13T23:35:17.624Z] c4d48a809fc2: Pulling fs layer [2024-03-13T23:35:17.624Z] 4f1c88b9dad5: Pulling fs layer [2024-03-13T23:35:17.624Z] ad3a456e5733: Pulling fs layer [2024-03-13T23:35:17.624Z] 69c7f0334f64: Pulling fs layer [2024-03-13T23:35:17.624Z] 1f1c1a5573a3: Pulling fs layer [2024-03-13T23:35:17.624Z] ce7588e14bc9: Pulling fs layer [2024-03-13T23:35:17.624Z] b5e4710f87ac: Pulling fs layer [2024-03-13T23:35:17.624Z] ad3a456e5733: Waiting [2024-03-13T23:35:17.624Z] 69c7f0334f64: Waiting [2024-03-13T23:35:17.624Z] b5e4710f87ac: Waiting [2024-03-13T23:35:17.624Z] ce7588e14bc9: Waiting [2024-03-13T23:35:17.624Z] 1f1c1a5573a3: Waiting [2024-03-13T23:35:17.883Z] c4d48a809fc2: Download complete [2024-03-13T23:35:17.883Z] ad3a456e5733: Download complete [2024-03-13T23:35:17.883Z] 69c7f0334f64: Download complete [2024-03-13T23:35:17.883Z] 7264a8db6415: Verifying Checksum [2024-03-13T23:35:17.883Z] 7264a8db6415: Download complete [2024-03-13T23:35:17.883Z] 1f1c1a5573a3: Verifying Checksum [2024-03-13T23:35:17.883Z] 1f1c1a5573a3: Download complete [2024-03-13T23:35:18.147Z] 7264a8db6415: Pull complete [2024-03-13T23:35:18.147Z] b5e4710f87ac: Verifying Checksum [2024-03-13T23:35:18.147Z] b5e4710f87ac: Download complete [2024-03-13T23:35:18.147Z] c4d48a809fc2: Pull complete [2024-03-13T23:35:18.406Z] 4f1c88b9dad5: Verifying Checksum [2024-03-13T23:35:18.406Z] 4f1c88b9dad5: Download complete [2024-03-13T23:35:18.668Z] ce7588e14bc9: Verifying Checksum [2024-03-13T23:35:18.668Z] ce7588e14bc9: Download complete [2024-03-13T23:35:22.089Z] 4f1c88b9dad5: Pull complete [2024-03-13T23:35:22.089Z] ad3a456e5733: Pull complete [2024-03-13T23:35:22.089Z] 69c7f0334f64: Pull complete [2024-03-13T23:35:22.089Z] 1f1c1a5573a3: Pull complete [2024-03-13T23:35:24.623Z] ce7588e14bc9: Pull complete [2024-03-13T23:35:25.193Z] b5e4710f87ac: Pull complete [2024-03-13T23:35:25.193Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-13T23:35:25.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-13T23:35:25.193Z] ---> 88b5674ff536 [2024-03-13T23:35:25.193Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:35:30.278Z] Still waiting to schedule task [2024-03-13T23:35:30.278Z] ‘prd-centos7-blackbox-4c-2g-5310’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-centos7-blackbox-4c-2g-5311’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu18.04-docker-8c-8g-5507’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu18.04-docker-8c-8g-5508’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu18.04-docker-8c-8g-5509’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu20.04-docker-8c-8g-5573’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu20.04-docker-8c-8g-5574’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu20.04-docker-8c-8g-5575’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:30.278Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5576’ is offline [2024-03-13T23:35:30.278Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5578’ is offline [2024-03-13T23:35:30.279Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5579’ is offline [2024-03-13T23:35:33.348Z] ---> Running in 3ca1facb1af0 [2024-03-13T23:35:33.348Z] Removing intermediate container 3ca1facb1af0 [2024-03-13T23:35:33.348Z] ---> 77ef622162d9 [2024-03-13T23:35:33.348Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:35:33.348Z] ---> Running in 32296f69ea24 [2024-03-13T23:35:33.348Z] Removing intermediate container 32296f69ea24 [2024-03-13T23:35:33.348Z] ---> a998e1d7f942 [2024-03-13T23:35:33.348Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:35:33.348Z] ---> Running in d50b54830646 [2024-03-13T23:35:33.348Z] Removing intermediate container d50b54830646 [2024-03-13T23:35:33.348Z] ---> 401ba1da3243 [2024-03-13T23:35:33.348Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:35:33.348Z] ---> Running in e5cd34dd7fbe [2024-03-13T23:35:33.607Z] Removing intermediate container e5cd34dd7fbe [2024-03-13T23:35:33.607Z] ---> d7f7ae14db4f [2024-03-13T23:35:33.607Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:35:33.607Z] ---> Running in b45d1b5bbcf2 [2024-03-13T23:35:33.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:33.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:34.133Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-13T23:35:34.133Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-13T23:35:34.133Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-13T23:35:34.133Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-13T23:35:34.133Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:35:34.133Z] OK: 268 MiB in 56 packages [2024-03-13T23:35:35.068Z] Removing intermediate container b45d1b5bbcf2 [2024-03-13T23:35:35.068Z] ---> 508486522749 [2024-03-13T23:35:35.068Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-13T23:35:35.068Z] ---> Running in e128c30284ed [2024-03-13T23:35:35.068Z] Removing intermediate container e128c30284ed [2024-03-13T23:35:35.068Z] ---> 392440921498 [2024-03-13T23:35:35.068Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-13T23:35:35.068Z] ---> 8fd399f8a112 [2024-03-13T23:35:35.068Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:35:35.068Z] ---> Running in 6046b8704591 [2024-03-13T23:36:07.214Z] Removing intermediate container 6046b8704591 [2024-03-13T23:36:07.214Z] ---> 6a23f1ad131b [2024-03-13T23:36:07.214Z] Step 11/12 : COPY . . [2024-03-13T23:36:07.214Z] ---> 1f373e0722c1 [2024-03-13T23:36:07.214Z] Step 12/12 : RUN $MAKE [2024-03-13T23:36:07.214Z] ---> Running in dccc17baa323 [2024-03-13T23:36:07.214Z] noop [2024-03-13T23:36:07.214Z] Removing intermediate container dccc17baa323 [2024-03-13T23:36:07.214Z] ---> 3686f6009087 [2024-03-13T23:36:07.214Z] Successfully built 3686f6009087 [2024-03-13T23:36:07.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:07.751Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:36:07.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:36:07.959Z] prd-ubuntu20.04-docker-8c-8g-5577 does not seem to be running inside a container [2024-03-13T23:36:07.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-385 -v /w/workspace/gexfoundry_device-rest-go_PR-385:/w/workspace/gexfoundry_device-rest-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-385@tmp:/w/workspace/gexfoundry_device-rest-go_PR-385@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-13T23:36:08.341Z] $ docker top 51977ee863af87596ead3fe45e18ae64deddc0a2cbdfd41c22202cc25b401133 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:36:08.798Z] + go version [2024-03-13T23:36:08.798Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-13T23:36:08.832Z] $ docker stop --time=1 51977ee863af87596ead3fe45e18ae64deddc0a2cbdfd41c22202cc25b401133 [2024-03-13T23:36:10.084Z] $ docker rm -f --volumes 51977ee863af87596ead3fe45e18ae64deddc0a2cbdfd41c22202cc25b401133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:11.147Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:36:11.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:36:11.401Z] prd-ubuntu20.04-docker-8c-8g-5577 does not seem to be running inside a container [2024-03-13T23:36:11.430Z] $ 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-385 -v /w/workspace/gexfoundry_device-rest-go_PR-385:/w/workspace/gexfoundry_device-rest-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-385@tmp:/w/workspace/gexfoundry_device-rest-go_PR-385@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-13T23:36:11.742Z] $ docker top 771c75e7dc8065438a2bcf0223ce8fc120cc38b1854a79bb4e7c10c1248fd2b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:36:12.196Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:36:12.585Z] + make test [2024-03-13T23:36:12.585Z] go test ./... -coverprofile=coverage.out ./... [2024-03-13T23:36:13.516Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-13T23:36:25.755Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-13T23:36:25.755Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2024-03-13T23:36:32.435Z] go vet ./... [2024-03-13T23:36:35.714Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:36:35.714Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:36:35.714Z] ./bin/test-attribution-txt.sh [2024-03-13T23:36:35.714Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:36:35.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:36:35.830Z] $ docker stop --time=1 771c75e7dc8065438a2bcf0223ce8fc120cc38b1854a79bb4e7c10c1248fd2b0 [2024-03-13T23:36:39.210Z] $ docker rm -f --volumes 771c75e7dc8065438a2bcf0223ce8fc120cc38b1854a79bb4e7c10c1248fd2b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:36:39.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:36:39.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-13T23:36:40.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:36:41.027Z] + ls -al . [2024-03-13T23:36:41.027Z] total 180 [2024-03-13T23:36:41.027Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:36 . [2024-03-13T23:36:41.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:34 .. [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 23:34 .dockerignore [2024-03-13T23:36:41.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:36 .git [2024-03-13T23:36:41.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 .github [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 13 23:34 .gitignore [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 23:34 .golangci.yml [2024-03-13T23:36:41.027Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:35 .semver [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 13 23:34 Attribution.txt [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 13 23:34 CHANGELOG.md [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 13 23:34 Dockerfile [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:34 GOVERNANCE.md [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 23:34 Jenkinsfile [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 23:34 LICENSE [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 13 23:34 Makefile [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 23:34 OWNERS.md [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 13 23:34 README.md [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:35 VERSION [2024-03-13T23:36:41.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:34 bin [2024-03-13T23:36:41.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 cmd [2024-03-13T23:36:41.027Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 13 23:36 coverage.out [2024-03-13T23:36:41.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:34 driver [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 3936 Mar 13 23:34 go.mod [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 13 23:34 go.sum [2024-03-13T23:36:41.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 openapi [2024-03-13T23:36:41.027Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:41.486Z] + 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=27d8266983d04630bb50d9a9262f21ce9bf5f564 --label arch=amd64 --label version=0.0.0 . [2024-03-13T23:36:41.486Z] Sending build context to Docker daemon 16.35MB [2024-03-13T23:36:41.486Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:36:41.486Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-13T23:36:41.486Z] ---> 3686f6009087 [2024-03-13T23:36:41.486Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:36:42.058Z] ---> Running in ca17a5a91994 [2024-03-13T23:36:42.059Z] Removing intermediate container ca17a5a91994 [2024-03-13T23:36:42.059Z] ---> 1e47e875fd48 [2024-03-13T23:36:42.059Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:36:42.059Z] ---> Running in 359786dfdb10 [2024-03-13T23:36:42.059Z] Removing intermediate container 359786dfdb10 [2024-03-13T23:36:42.059Z] ---> a61be56d0ded [2024-03-13T23:36:42.059Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:36:42.059Z] ---> Running in e0bf93a12e48 [2024-03-13T23:36:42.059Z] Removing intermediate container e0bf93a12e48 [2024-03-13T23:36:42.059Z] ---> 894a8558fd5e [2024-03-13T23:36:42.059Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:36:42.059Z] ---> Running in 682bc0a55f96 [2024-03-13T23:36:42.316Z] Removing intermediate container 682bc0a55f96 [2024-03-13T23:36:42.316Z] ---> 1f1e31bb9698 [2024-03-13T23:36:42.316Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:36:42.316Z] ---> Running in 4dbedc8ca3b7 [2024-03-13T23:36:42.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:36:42.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:36:42.832Z] OK: 268 MiB in 56 packages [2024-03-13T23:36:43.089Z] Removing intermediate container 4dbedc8ca3b7 [2024-03-13T23:36:43.089Z] ---> c07cc0f9e9c5 [2024-03-13T23:36:43.089Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-13T23:36:43.089Z] ---> Running in 40716aecb1a7 [2024-03-13T23:36:43.351Z] Removing intermediate container 40716aecb1a7 [2024-03-13T23:36:43.351Z] ---> 2a626550e977 [2024-03-13T23:36:43.352Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-13T23:36:43.352Z] ---> 41450b948518 [2024-03-13T23:36:43.352Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:36:43.352Z] ---> Running in f4ed0740991b [2024-03-13T23:36:43.917Z] Removing intermediate container f4ed0740991b [2024-03-13T23:36:43.917Z] ---> d207e499c2db [2024-03-13T23:36:43.917Z] Step 11/26 : COPY . . [2024-03-13T23:36:44.520Z] ---> 050ace397106 [2024-03-13T23:36:44.520Z] Step 12/26 : RUN $MAKE [2024-03-13T23:36:44.520Z] ---> Running in cd52158aac4c [2024-03-13T23:36:44.777Z] 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.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-13T23:37:02.857Z] Removing intermediate container cd52158aac4c [2024-03-13T23:37:02.857Z] ---> 4ecacb67602a [2024-03-13T23:37:02.857Z] Step 13/26 : FROM alpine:3.18 [2024-03-13T23:37:03.806Z] 3.18: Pulling from library/alpine [2024-03-13T23:37:03.806Z] 619be1103602: Pulling fs layer [2024-03-13T23:37:04.064Z] 619be1103602: Download complete [2024-03-13T23:37:04.064Z] 619be1103602: Pull complete [2024-03-13T23:37:04.064Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:37:04.064Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:37:04.064Z] ---> d3782b16ccc9 [2024-03-13T23:37:04.064Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-13T23:37:04.332Z] ---> Running in 1b39a98bed38 [2024-03-13T23:37:04.332Z] Removing intermediate container 1b39a98bed38 [2024-03-13T23:37:04.332Z] ---> af88d302167d [2024-03-13T23:37:04.332Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-13T23:37:04.332Z] ---> Running in 96cada9f28c6 [2024-03-13T23:37:04.332Z] Removing intermediate container 96cada9f28c6 [2024-03-13T23:37:04.332Z] ---> 9d118967387f [2024-03-13T23:37:04.332Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-13T23:37:04.332Z] ---> Running in ca7c5d853d16 [2024-03-13T23:37:04.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:04.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:07.454Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-13T23:37:07.454Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:37:07.454Z] OK: 7 MiB in 16 packages [2024-03-13T23:37:07.454Z] Removing intermediate container ca7c5d853d16 [2024-03-13T23:37:07.454Z] ---> 444cf33a996b [2024-03-13T23:37:07.454Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-13T23:37:07.454Z] ---> Running in fb8c72a3958a [2024-03-13T23:37:07.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:11.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:11.000Z] OK: 7 MiB in 16 packages [2024-03-13T23:37:11.000Z] Removing intermediate container fb8c72a3958a [2024-03-13T23:37:11.000Z] ---> bdf30f2e1ff0 [2024-03-13T23:37:11.000Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-13T23:37:11.000Z] ---> 59811046a8d3 [2024-03-13T23:37:11.000Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-13T23:37:11.000Z] ---> 59083ff8a9ae [2024-03-13T23:37:11.000Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-13T23:37:11.000Z] ---> c15439e67e7e [2024-03-13T23:37:11.000Z] Step 21/26 : EXPOSE 59986 [2024-03-13T23:37:11.000Z] ---> Running in c56ba3ffb7f8 [2024-03-13T23:37:11.000Z] Removing intermediate container c56ba3ffb7f8 [2024-03-13T23:37:11.000Z] ---> 5ed9b777f647 [2024-03-13T23:37:11.000Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-13T23:37:11.000Z] ---> Running in 5b032201b006 [2024-03-13T23:37:11.000Z] Removing intermediate container 5b032201b006 [2024-03-13T23:37:11.000Z] ---> d8ecac32ffc5 [2024-03-13T23:37:11.000Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-13T23:37:11.000Z] ---> Running in c1991af21e35 [2024-03-13T23:37:11.000Z] Removing intermediate container c1991af21e35 [2024-03-13T23:37:11.000Z] ---> 7a9ab7c5cdc1 [2024-03-13T23:37:11.000Z] Step 24/26 : LABEL arch=amd64 [2024-03-13T23:37:11.000Z] ---> Running in 56af46e5e56f [2024-03-13T23:37:11.000Z] Removing intermediate container 56af46e5e56f [2024-03-13T23:37:11.000Z] ---> 1fa17e3a518a [2024-03-13T23:37:11.000Z] Step 25/26 : LABEL git_sha=27d8266983d04630bb50d9a9262f21ce9bf5f564 [2024-03-13T23:37:11.000Z] ---> Running in ff9c65da07a1 [2024-03-13T23:37:11.000Z] Removing intermediate container ff9c65da07a1 [2024-03-13T23:37:11.000Z] ---> 7fbababdd40f [2024-03-13T23:37:11.000Z] Step 26/26 : LABEL version=0.0.0 [2024-03-13T23:37:11.000Z] ---> Running in 774b84580525 [2024-03-13T23:37:11.000Z] Removing intermediate container 774b84580525 [2024-03-13T23:37:11.000Z] ---> 621b5e56153e [2024-03-13T23:37:11.000Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:37:11.000Z] Successfully built 621b5e56153e [2024-03-13T23:37:11.000Z] 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-13T23:37:31.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:37:31.828Z] [2024-03-13T23:37:31.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:37:32.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:37:32.262Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-13T23:37:32.262Z] 5eb5b503b376: Pulling fs layer [2024-03-13T23:37:32.262Z] 5c69ac0246d0: Pulling fs layer [2024-03-13T23:37:32.262Z] ec43610c2a17: Pulling fs layer [2024-03-13T23:37:32.262Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-13T23:37:32.262Z] 33b1e0a273af: Pulling fs layer [2024-03-13T23:37:32.262Z] 5d3b04190fa2: Pulling fs layer [2024-03-13T23:37:32.262Z] 2f39f015ded8: Pulling fs layer [2024-03-13T23:37:32.262Z] 33b1e0a273af: Waiting [2024-03-13T23:37:32.262Z] 5d3b04190fa2: Waiting [2024-03-13T23:37:32.262Z] 2f39f015ded8: Waiting [2024-03-13T23:37:32.262Z] 3a2ae6a8a46f: Waiting [2024-03-13T23:37:32.262Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-13T23:37:32.262Z] 3a2ae6a8a46f: Download complete [2024-03-13T23:37:32.262Z] 33b1e0a273af: Verifying Checksum [2024-03-13T23:37:32.262Z] 33b1e0a273af: Download complete [2024-03-13T23:37:32.262Z] 5d3b04190fa2: Verifying Checksum [2024-03-13T23:37:32.262Z] 5d3b04190fa2: Download complete [2024-03-13T23:37:32.262Z] ec43610c2a17: Verifying Checksum [2024-03-13T23:37:32.262Z] ec43610c2a17: Download complete [2024-03-13T23:37:32.521Z] 5eb5b503b376: Verifying Checksum [2024-03-13T23:37:32.521Z] 5eb5b503b376: Download complete [2024-03-13T23:37:33.087Z] 2f39f015ded8: Download complete [2024-03-13T23:37:33.651Z] 5eb5b503b376: Pull complete [2024-03-13T23:37:33.923Z] 5c69ac0246d0: Pull complete [2024-03-13T23:37:34.182Z] ec43610c2a17: Pull complete [2024-03-13T23:37:34.182Z] 3a2ae6a8a46f: Pull complete [2024-03-13T23:37:34.442Z] 33b1e0a273af: Pull complete [2024-03-13T23:37:34.442Z] 5d3b04190fa2: Pull complete [2024-03-13T23:37:38.625Z] 2f39f015ded8: Pull complete [2024-03-13T23:37:38.625Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-13T23:37:38.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:37:38.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:37:38.968Z] prd-ubuntu20.04-docker-8c-8g-5577 does not seem to be running inside a container [2024-03-13T23:37:38.999Z] $ 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-385 -v /w/workspace/gexfoundry_device-rest-go_PR-385:/w/workspace/gexfoundry_device-rest-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-385@tmp:/w/workspace/gexfoundry_device-rest-go_PR-385@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-13T23:37:43.374Z] $ docker top 96f9f2bb5656aa676170cb4e39eb0a835644cec20c3d3e1c0e492e293eed5053 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:37:43.876Z] ---> job-cost.sh [2024-03-13T23:37:43.876Z] lf-activate-venv: SKIPPING [2024-03-13T23:37:43.876Z] INFO: No Stack... [2024-03-13T23:37:44.134Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:37:44.391Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:37:44.705Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-385/archives/cost.csv [2024-03-13T23:37:44.705Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:37:44.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] [2024-03-13T23:37:44.746Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] did not exist. Created. [2024-03-13T23:37:44.751Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:37:45.211Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-13T23:37:45.254Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:37:45.321Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:37:45.482Z] $ docker stop --time=1 96f9f2bb5656aa676170cb4e39eb0a835644cec20c3d3e1c0e492e293eed5053 [2024-03-13T23:37:46.634Z] $ docker rm -f --volumes 96f9f2bb5656aa676170cb4e39eb0a835644cec20c3d3e1c0e492e293eed5053 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-13T23:44:59.650Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5599 in /w/workspace/gexfoundry_device-rest-go_PR-385 [Pipeline] { [Pipeline] ws [2024-03-13T23:44:59.761Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-03-13T23:45:02.899Z] The recommended git tool is: git [2024-03-13T23:45:09.299Z] using credential edgex-jenkins-ssh [2024-03-13T23:45:09.323Z] Cloning the remote Git repository [2024-03-13T23:45:09.386Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-03-13T23:45:09.504Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-03-13T23:45:09.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-13T23:45:09.697Z] > git --version # timeout=10 [2024-03-13T23:45:09.724Z] > git --version # 'git version 2.25.1' [2024-03-13T23:45:09.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:45:09.919Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:45:13.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-13T23:45:13.079Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:45:14.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-13T23:45:14.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-13T23:45:14.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:45:14.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-13T23:45:15.035Z] Merging remotes/origin/main commit b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc into PR head commit 27d8266983d04630bb50d9a9262f21ce9bf5f564 [2024-03-13T23:45:15.369Z] Merge succeeded, producing 27d8266983d04630bb50d9a9262f21ce9bf5f564 [2024-03-13T23:45:15.369Z] Checking out Revision 27d8266983d04630bb50d9a9262f21ce9bf5f564 (PR-385) [2024-03-13T23:45:16.065Z] Commit message: "build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0" [2024-03-13T23:45:16.126Z] > git --version # timeout=10 [2024-03-13T23:45:16.141Z] > git --version # 'git version 2.25.1' [2024-03-13T23:45:16.172Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:45:15.058Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:45:15.137Z] > git checkout -f 27d8266983d04630bb50d9a9262f21ce9bf5f564 # timeout=10 [2024-03-13T23:45:15.236Z] > git remote # timeout=10 [2024-03-13T23:45:15.269Z] > git config --get remote.origin.url # timeout=10 [2024-03-13T23:45:15.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:45:15.307Z] > git merge b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 [2024-03-13T23:45:15.342Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-13T23:45:15.378Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:45:15.400Z] > git checkout -f 27d8266983d04630bb50d9a9262f21ce9bf5f564 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:45:17.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-13T23:45:17.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:45:17.576Z] Dload Upload Total Spent Left Speed [2024-03-13T23:45:17.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh [2024-03-13T23:45:17.942Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-13T23:45:18.307Z] + + sudo tee /etc/docker/daemon.newsudo [2024-03-13T23:45:18.307Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-13T23:45:18.307Z] { [2024-03-13T23:45:18.307Z] "registry-mirrors": [ [2024-03-13T23:45:18.307Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-13T23:45:18.307Z] ], [2024-03-13T23:45:18.307Z] "bip": "10.250.0.254/24", [2024-03-13T23:45:18.307Z] "hosts": [ [2024-03-13T23:45:18.307Z] "tcp://0.0.0.0:5555", [2024-03-13T23:45:18.307Z] "unix:///var/run/docker.sock" [2024-03-13T23:45:18.307Z] ], [2024-03-13T23:45:18.307Z] "mtu": 1458, [2024-03-13T23:45:18.307Z] "selinux-enabled": true, [2024-03-13T23:45:18.307Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-13T23:45:18.307Z] } [Pipeline] sh [2024-03-13T23:45:18.676Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-13T23:45:19.045Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:45:37.577Z] provisioning config files... [2024-03-13T23:45:37.631Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17355595976036460616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:45:38.248Z] ---> ****-login.sh [2024-03-13T23:45:38.249Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:45:38.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:45:39.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:45:39.256Z] Configure a credential helper to remove this warning. See [2024-03-13T23:45:39.256Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:45:39.256Z] [2024-03-13T23:45:39.256Z] Login Succeeded [2024-03-13T23:45:39.256Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:45:39.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:45:39.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:45:39.538Z] Configure a credential helper to remove this warning. See [2024-03-13T23:45:39.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:45:39.538Z] [2024-03-13T23:45:39.538Z] Login Succeeded [2024-03-13T23:45:39.821Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:45:40.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:45:40.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:45:40.110Z] Configure a credential helper to remove this warning. See [2024-03-13T23:45:40.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:45:40.110Z] [2024-03-13T23:45:40.110Z] Login Succeeded [2024-03-13T23:45:40.110Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:45:40.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:45:40.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:45:40.734Z] Configure a credential helper to remove this warning. See [2024-03-13T23:45:40.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:45:40.734Z] [2024-03-13T23:45:40.734Z] Login Succeeded [2024-03-13T23:45:40.734Z] ****.io [2024-03-13T23:45:41.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:45:41.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:45:41.305Z] Configure a credential helper to remove this warning. See [2024-03-13T23:45:41.305Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:45:41.305Z] [2024-03-13T23:45:41.305Z] Login Succeeded [2024-03-13T23:45:41.305Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:45:41.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:45:42.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:45:42.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:45:42.308Z] ========================================================= [2024-03-13T23:45:42.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-13T23:45:42.308Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:45:43.023Z] + 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-13T23:45:43.023Z] Sending build context to Docker daemon 127.5kB [2024-03-13T23:45:43.307Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:45:43.307Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-13T23:45:43.587Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-13T23:45:43.587Z] 9fda8d8052c6: Pulling fs layer [2024-03-13T23:45:43.587Z] 5d54e960e981: Pulling fs layer [2024-03-13T23:45:43.587Z] c4a7e357bf2a: Pulling fs layer [2024-03-13T23:45:43.587Z] f0e02332f6b5: Pulling fs layer [2024-03-13T23:45:43.587Z] 872ee5b61b7b: Pulling fs layer [2024-03-13T23:45:43.587Z] 0c6a40ed1a82: Pulling fs layer [2024-03-13T23:45:43.587Z] 94ae7d8d031c: Pulling fs layer [2024-03-13T23:45:43.587Z] f0e02332f6b5: Waiting [2024-03-13T23:45:43.587Z] 872ee5b61b7b: Waiting [2024-03-13T23:45:43.587Z] 0c6a40ed1a82: Waiting [2024-03-13T23:45:43.587Z] 94ae7d8d031c: Waiting [2024-03-13T23:45:43.587Z] 5d54e960e981: Download complete [2024-03-13T23:45:43.587Z] f0e02332f6b5: Verifying Checksum [2024-03-13T23:45:43.587Z] f0e02332f6b5: Download complete [2024-03-13T23:45:43.882Z] 872ee5b61b7b: Verifying Checksum [2024-03-13T23:45:43.882Z] 872ee5b61b7b: Download complete [2024-03-13T23:45:43.882Z] 9fda8d8052c6: Verifying Checksum [2024-03-13T23:45:43.882Z] 9fda8d8052c6: Download complete [2024-03-13T23:45:44.503Z] 94ae7d8d031c: Verifying Checksum [2024-03-13T23:45:44.503Z] 94ae7d8d031c: Download complete [2024-03-13T23:45:45.993Z] 9fda8d8052c6: Pull complete [2024-03-13T23:45:46.285Z] c4a7e357bf2a: Verifying Checksum [2024-03-13T23:45:46.285Z] c4a7e357bf2a: Download complete [2024-03-13T23:45:46.564Z] 5d54e960e981: Pull complete [2024-03-13T23:45:47.558Z] 0c6a40ed1a82: Download complete [2024-03-13T23:46:02.699Z] c4a7e357bf2a: Pull complete [2024-03-13T23:46:02.699Z] f0e02332f6b5: Pull complete [2024-03-13T23:46:02.699Z] 872ee5b61b7b: Pull complete [2024-03-13T23:46:11.027Z] 0c6a40ed1a82: Pull complete [2024-03-13T23:46:12.018Z] 94ae7d8d031c: Pull complete [2024-03-13T23:46:12.296Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-13T23:46:12.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-13T23:46:12.296Z] ---> 86de565de09d [2024-03-13T23:46:12.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:46:13.896Z] ---> Running in 3e57a64e556a [2024-03-13T23:46:14.181Z] Removing intermediate container 3e57a64e556a [2024-03-13T23:46:14.181Z] ---> 5b09dfc19a87 [2024-03-13T23:46:14.181Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:46:14.181Z] ---> Running in f750db1e0313 [2024-03-13T23:46:14.796Z] Removing intermediate container f750db1e0313 [2024-03-13T23:46:14.796Z] ---> c42828c97e38 [2024-03-13T23:46:14.796Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:46:14.796Z] ---> Running in f7c114c9b539 [2024-03-13T23:46:15.436Z] Removing intermediate container f7c114c9b539 [2024-03-13T23:46:15.436Z] ---> 55781d1f51af [2024-03-13T23:46:15.436Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:46:15.436Z] ---> Running in eeafc6ab8e8c [2024-03-13T23:46:15.725Z] Removing intermediate container eeafc6ab8e8c [2024-03-13T23:46:15.725Z] ---> 3d19de720863 [2024-03-13T23:46:15.725Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:46:16.004Z] ---> Running in 306b400a5725 [2024-03-13T23:46:17.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:17.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:19.129Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-13T23:46:19.129Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-13T23:46:19.129Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-13T23:46:19.129Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-13T23:46:19.129Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:46:19.129Z] OK: 271 MiB in 56 packages [2024-03-13T23:46:20.111Z] Removing intermediate container 306b400a5725 [2024-03-13T23:46:20.111Z] ---> 1fa06c630e73 [2024-03-13T23:46:20.111Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-13T23:46:20.385Z] ---> Running in 28d9974b3887 [2024-03-13T23:46:20.665Z] Removing intermediate container 28d9974b3887 [2024-03-13T23:46:20.665Z] ---> 9d7ee1aeb0b3 [2024-03-13T23:46:20.665Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-13T23:46:21.268Z] ---> 0b95abe7cc3b [2024-03-13T23:46:21.268Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:46:21.547Z] ---> Running in 3c315db0b101 [2024-03-13T23:47:30.017Z] Removing intermediate container 3c315db0b101 [2024-03-13T23:47:30.017Z] ---> 01cb69795168 [2024-03-13T23:47:30.017Z] Step 11/12 : COPY . . [2024-03-13T23:47:31.070Z] ---> 8f3483114da0 [2024-03-13T23:47:31.070Z] Step 12/12 : RUN $MAKE [2024-03-13T23:47:31.070Z] ---> Running in c34e7f4f72e5 [2024-03-13T23:47:32.057Z] noop [2024-03-13T23:47:33.156Z] Removing intermediate container c34e7f4f72e5 [2024-03-13T23:47:33.156Z] ---> c6d8d97d1776 [2024-03-13T23:47:33.156Z] Successfully built c6d8d97d1776 [2024-03-13T23:47:33.156Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:47:33.821Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:47:33.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:47:34.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container [2024-03-13T23:47:34.340Z] $ 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-13T23:47:35.665Z] $ docker top 154aa9eafc64ac70eb2127092f24d9e0821fe3d7ec16279043d42f006546e2a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:47:36.688Z] + go version [2024-03-13T23:47:36.688Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-13T23:47:36.733Z] $ docker stop --time=1 154aa9eafc64ac70eb2127092f24d9e0821fe3d7ec16279043d42f006546e2a7 [2024-03-13T23:47:38.445Z] $ docker rm -f --volumes 154aa9eafc64ac70eb2127092f24d9e0821fe3d7ec16279043d42f006546e2a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:47:39.777Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:47:39.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:47:40.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container [2024-03-13T23:47:40.235Z] $ 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-13T23:47:41.614Z] $ docker top a50f8123c83fcd18e504964ab9d158c7574f1f2f5037197baeb237e808eac89f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:47:42.676Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:47:43.428Z] + make test [2024-03-13T23:47:43.428Z] go test ./... -coverprofile=coverage.out ./... [2024-03-13T23:47:47.727Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-13T23:50:09.516Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-13T23:50:09.516Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 33.2% of statements [2024-03-13T23:50:09.516Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-13T23:50:09.516Z] go vet ./... [2024-03-13T23:50:19.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:50:19.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:50:19.601Z] ./bin/test-attribution-txt.sh [2024-03-13T23:50:19.869Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:50:19.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:50:19.984Z] $ docker stop --time=1 a50f8123c83fcd18e504964ab9d158c7574f1f2f5037197baeb237e808eac89f [2024-03-13T23:50:21.812Z] $ docker rm -f --volumes a50f8123c83fcd18e504964ab9d158c7574f1f2f5037197baeb237e808eac89f [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:50:23.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:50:23.231Z] Warning: overwriting stash ‘coverage-report’ [2024-03-13T23:50:23.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:50:24.586Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:50:24.921Z] + ls -al . [2024-03-13T23:50:24.921Z] total 176 [2024-03-13T23:50:24.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:47 . [2024-03-13T23:50:24.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:45 .. [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 13 23:45 .dockerignore [2024-03-13T23:50:24.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:45 .git [2024-03-13T23:50:24.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:45 .github [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 13 23:45 .gitignore [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 23:45 .golangci.yml [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 13 23:45 Attribution.txt [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 13 23:45 CHANGELOG.md [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 13 23:45 Dockerfile [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:45 GOVERNANCE.md [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 23:45 Jenkinsfile [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 23:45 LICENSE [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 13 23:45 Makefile [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 23:45 OWNERS.md [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 13 23:45 README.md [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:35 VERSION [2024-03-13T23:50:24.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:45 bin [2024-03-13T23:50:24.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:45 cmd [2024-03-13T23:50:24.921Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 13 23:49 coverage.out [2024-03-13T23:50:24.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:45 driver [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 3936 Mar 13 23:45 go.mod [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 13 23:45 go.sum [2024-03-13T23:50:24.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:45 openapi [2024-03-13T23:50:24.921Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 13 23:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:50:25.443Z] + 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=27d8266983d04630bb50d9a9262f21ce9bf5f564 --label arch=arm64 --label version=0.0.0 . [2024-03-13T23:50:25.443Z] Sending build context to Docker daemon 142.8kB [2024-03-13T23:50:25.712Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:50:25.713Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-13T23:50:25.713Z] ---> c6d8d97d1776 [2024-03-13T23:50:25.713Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:50:25.713Z] ---> Running in f9aab8c14993 [2024-03-13T23:50:25.983Z] Removing intermediate container f9aab8c14993 [2024-03-13T23:50:25.983Z] ---> 3f770e11433d [2024-03-13T23:50:25.983Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:50:26.255Z] ---> Running in b8549e23fb56 [2024-03-13T23:50:26.522Z] Removing intermediate container b8549e23fb56 [2024-03-13T23:50:26.522Z] ---> 6fef2750b20e [2024-03-13T23:50:26.522Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:50:26.522Z] ---> Running in 835b7fcbcf8f [2024-03-13T23:50:26.788Z] Removing intermediate container 835b7fcbcf8f [2024-03-13T23:50:26.788Z] ---> c12af7d0c421 [2024-03-13T23:50:26.788Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:50:26.788Z] ---> Running in a956c1a71647 [2024-03-13T23:50:27.054Z] Removing intermediate container a956c1a71647 [2024-03-13T23:50:27.054Z] ---> bfc77f303626 [2024-03-13T23:50:27.054Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:50:27.320Z] ---> Running in d5bf53876546 [2024-03-13T23:50:28.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:50:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:50:29.953Z] OK: 271 MiB in 56 packages [2024-03-13T23:50:30.536Z] Removing intermediate container d5bf53876546 [2024-03-13T23:50:30.536Z] ---> abd7392fe019 [2024-03-13T23:50:30.536Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-13T23:50:30.536Z] ---> Running in 816bcd06f4f8 [2024-03-13T23:50:30.801Z] Removing intermediate container 816bcd06f4f8 [2024-03-13T23:50:30.801Z] ---> 9fe22fa9680e [2024-03-13T23:50:30.801Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-13T23:50:31.390Z] ---> f8b56158fc1a [2024-03-13T23:50:31.390Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:50:31.390Z] ---> Running in a472e44170d9 [2024-03-13T23:50:33.340Z] Removing intermediate container a472e44170d9 [2024-03-13T23:50:33.340Z] ---> 1cde93654b9e [2024-03-13T23:50:33.340Z] Step 11/26 : COPY . . [2024-03-13T23:50:33.927Z] ---> 0a13ee93b03a [2024-03-13T23:50:33.927Z] Step 12/26 : RUN $MAKE [2024-03-13T23:50:33.927Z] ---> Running in c3a9f0620b2d [2024-03-13T23:50:34.891Z] 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.10" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-13T23:52:26.585Z] Removing intermediate container c3a9f0620b2d [2024-03-13T23:52:26.585Z] ---> a209caffce8e [2024-03-13T23:52:26.585Z] Step 13/26 : FROM alpine:3.18 [2024-03-13T23:52:26.585Z] 3.18: Pulling from library/alpine [2024-03-13T23:52:26.585Z] c6b39de5b339: Pulling fs layer [2024-03-13T23:52:26.585Z] c6b39de5b339: Verifying Checksum [2024-03-13T23:52:26.585Z] c6b39de5b339: Download complete [2024-03-13T23:52:26.585Z] c6b39de5b339: Pull complete [2024-03-13T23:52:26.585Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:52:26.585Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:52:26.585Z] ---> 33abbf032149 [2024-03-13T23:52:26.585Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-13T23:52:26.585Z] ---> Running in 9358cbf97b12 [2024-03-13T23:52:26.585Z] Removing intermediate container 9358cbf97b12 [2024-03-13T23:52:26.585Z] ---> 6b61aacbb346 [2024-03-13T23:52:26.585Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-13T23:52:26.585Z] ---> Running in 020aae593bca [2024-03-13T23:52:26.585Z] Removing intermediate container 020aae593bca [2024-03-13T23:52:26.585Z] ---> 7c16c2937498 [2024-03-13T23:52:26.585Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-13T23:52:26.585Z] ---> Running in e611fbc29702 [2024-03-13T23:52:27.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:52:28.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:52:29.107Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-13T23:52:29.107Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:52:29.107Z] OK: 8 MiB in 16 packages [2024-03-13T23:52:30.072Z] Removing intermediate container e611fbc29702 [2024-03-13T23:52:30.073Z] ---> 4679a92b9be0 [2024-03-13T23:52:30.073Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-13T23:52:30.073Z] ---> Running in b69367991e19 [2024-03-13T23:52:31.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:52:31.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:52:32.713Z] OK: 8 MiB in 16 packages [2024-03-13T23:52:33.685Z] Removing intermediate container b69367991e19 [2024-03-13T23:52:33.685Z] ---> 71e16b7c6b1f [2024-03-13T23:52:33.685Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-13T23:52:34.659Z] ---> 0b36ef702c78 [2024-03-13T23:52:34.659Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-13T23:52:35.243Z] ---> dcf8ddc2eb8d [2024-03-13T23:52:35.243Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-13T23:52:35.828Z] ---> fa3cef2a2b6f [2024-03-13T23:52:35.828Z] Step 21/26 : EXPOSE 59986 [2024-03-13T23:52:35.828Z] ---> Running in dfe5eb3d27cc [2024-03-13T23:52:36.093Z] Removing intermediate container dfe5eb3d27cc [2024-03-13T23:52:36.093Z] ---> 7dc5b0617e6f [2024-03-13T23:52:36.093Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-13T23:52:36.093Z] ---> Running in d8f60455cb5b [2024-03-13T23:52:36.673Z] Removing intermediate container d8f60455cb5b [2024-03-13T23:52:36.673Z] ---> 3a0211a0d697 [2024-03-13T23:52:36.673Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-13T23:52:36.673Z] ---> Running in 703d816153d9 [2024-03-13T23:52:36.938Z] Removing intermediate container 703d816153d9 [2024-03-13T23:52:36.938Z] ---> e9ac01b1b1a8 [2024-03-13T23:52:36.938Z] Step 24/26 : LABEL arch=arm64 [2024-03-13T23:52:36.938Z] ---> Running in ff42b6dee0f8 [2024-03-13T23:52:37.203Z] Removing intermediate container ff42b6dee0f8 [2024-03-13T23:52:37.203Z] ---> fdb3ea377069 [2024-03-13T23:52:37.203Z] Step 25/26 : LABEL git_sha=27d8266983d04630bb50d9a9262f21ce9bf5f564 [2024-03-13T23:52:37.469Z] ---> Running in a732a47836bc [2024-03-13T23:52:37.736Z] Removing intermediate container a732a47836bc [2024-03-13T23:52:37.736Z] ---> 82937fb06c68 [2024-03-13T23:52:37.736Z] Step 26/26 : LABEL version=0.0.0 [2024-03-13T23:52:37.736Z] ---> Running in ad135de9beae [2024-03-13T23:52:38.002Z] Removing intermediate container ad135de9beae [2024-03-13T23:52:38.002Z] ---> 7bf3a4449486 [2024-03-13T23:52:38.002Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:52:38.002Z] Successfully built 7bf3a4449486 [2024-03-13T23:52:38.002Z] 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-13T23:52:39.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:52:39.380Z] [2024-03-13T23:52:39.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:52:39.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:52:39.818Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-13T23:52:39.818Z] 8998bd30e6a1: Pulling fs layer [2024-03-13T23:52:39.818Z] 04944245beec: Pulling fs layer [2024-03-13T23:52:39.818Z] 699f458cf7ca: Pulling fs layer [2024-03-13T23:52:39.818Z] 765212b225bb: Pulling fs layer [2024-03-13T23:52:39.818Z] f23df028b6ca: Pulling fs layer [2024-03-13T23:52:39.818Z] d65c8cfc05b1: Pulling fs layer [2024-03-13T23:52:39.818Z] 2437ff75d9bd: Pulling fs layer [2024-03-13T23:52:39.818Z] 765212b225bb: Waiting [2024-03-13T23:52:39.818Z] f23df028b6ca: Waiting [2024-03-13T23:52:39.818Z] d65c8cfc05b1: Waiting [2024-03-13T23:52:39.818Z] 2437ff75d9bd: Waiting [2024-03-13T23:52:40.086Z] 04944245beec: Verifying Checksum [2024-03-13T23:52:40.086Z] 04944245beec: Download complete [2024-03-13T23:52:40.086Z] 765212b225bb: Verifying Checksum [2024-03-13T23:52:40.086Z] 765212b225bb: Download complete [2024-03-13T23:52:40.087Z] f23df028b6ca: Verifying Checksum [2024-03-13T23:52:40.087Z] f23df028b6ca: Download complete [2024-03-13T23:52:40.087Z] d65c8cfc05b1: Verifying Checksum [2024-03-13T23:52:40.087Z] d65c8cfc05b1: Download complete [2024-03-13T23:52:40.353Z] 699f458cf7ca: Verifying Checksum [2024-03-13T23:52:40.353Z] 699f458cf7ca: Download complete [2024-03-13T23:52:40.619Z] 8998bd30e6a1: Verifying Checksum [2024-03-13T23:52:40.619Z] 8998bd30e6a1: Download complete [2024-03-13T23:52:43.202Z] 2437ff75d9bd: Verifying Checksum [2024-03-13T23:52:43.202Z] 2437ff75d9bd: Download complete [2024-03-13T23:52:45.792Z] 8998bd30e6a1: Pull complete [2024-03-13T23:52:45.792Z] 04944245beec: Pull complete [2024-03-13T23:52:47.818Z] 699f458cf7ca: Pull complete [2024-03-13T23:52:48.092Z] 765212b225bb: Pull complete [2024-03-13T23:52:49.066Z] f23df028b6ca: Pull complete [2024-03-13T23:52:49.344Z] d65c8cfc05b1: Pull complete [2024-03-13T23:53:07.571Z] 2437ff75d9bd: Pull complete [2024-03-13T23:53:07.571Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-13T23:53:07.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:53:07.571Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:53:08.080Z] prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container [2024-03-13T23:53:08.163Z] $ 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-13T23:53:11.072Z] $ docker top 70df0d6f11187de19251678463b478d55184b873654226fd30d30ce233899695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:12.067Z] ---> job-cost.sh [2024-03-13T23:53:12.067Z] lf-activate-venv: SKIPPING [2024-03-13T23:53:12.067Z] INFO: No Stack... [2024-03-13T23:53:12.334Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-13T23:53:13.294Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:53:13.958Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-03-13T23:53:13.958Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:53:14.041Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] [2024-03-13T23:53:14.046Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] did not exist. Created. [2024-03-13T23:53:14.051Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:53:14.870Z] /w/workspace/device-rest-go/1@tmp/durable-84c77440/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-13T23:53:15.535Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-13T23:53:15.573Z] Warning: overwriting stash ‘stack-cost’ [2024-03-13T23:53:15.631Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:53:15.675Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:53:15.849Z] $ docker stop --time=1 70df0d6f11187de19251678463b478d55184b873654226fd30d30ce233899695 [2024-03-13T23:53:17.379Z] $ docker rm -f --volumes 70df0d6f11187de19251678463b478d55184b873654226fd30d30ce233899695 [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-13T23:53:26.201Z] provisioning config files... [2024-03-13T23:53:26.208Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-385@tmp/config1272712343010167248tmp [Pipeline] { [Pipeline] sh [2024-03-13T23:53:26.643Z] + set +x [2024-03-13T23:53:26.643Z] + curl -s https://codecov.io/bash [2024-03-13T23:53:26.643Z] + bash -s -- [2024-03-13T23:53:26.643Z] [2024-03-13T23:53:26.643Z] _____ _ [2024-03-13T23:53:26.643Z] / ____| | | [2024-03-13T23:53:26.643Z] | | ___ __| | ___ ___ _____ __ [2024-03-13T23:53:26.643Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-13T23:53:26.643Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-13T23:53:26.643Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-13T23:53:26.643Z] Bash-1.0.6 [2024-03-13T23:53:26.643Z] [2024-03-13T23:53:26.643Z] [2024-03-13T23:53:26.643Z] ==> git version 2.25.1 found [2024-03-13T23:53:26.643Z] ==> 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-13T23:53:26.643Z] Release-Date: 2020-01-08 [2024-03-13T23:53:26.643Z] 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-13T23:53:26.643Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-13T23:53:26.643Z] ==> Jenkins CI detected. [2024-03-13T23:53:26.643Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-385 [2024-03-13T23:53:26.643Z] project root: . [2024-03-13T23:53:26.643Z] --> token set from env [2024-03-13T23:53:26.643Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-13T23:53:26.903Z] ==> Running gcov in . (disable via -X gcov) [2024-03-13T23:53:26.903Z] ==> Python coveragepy not found [2024-03-13T23:53:26.903Z] ==> Searching for coverage reports in: [2024-03-13T23:53:26.903Z] + . [2024-03-13T23:53:26.903Z] -> Found 1 reports [2024-03-13T23:53:26.903Z] ==> Detecting git/mercurial file structure [2024-03-13T23:53:26.903Z] ==> Reading reports [2024-03-13T23:53:26.903Z] + ./coverage.out bytes=14499 [2024-03-13T23:53:26.903Z] ==> Appending adjustments [2024-03-13T23:53:26.903Z] https://docs.codecov.io/docs/fixing-reports [2024-03-13T23:53:26.903Z] + Found adjustments [2024-03-13T23:53:26.903Z] ==> Gzipping contents [2024-03-13T23:53:26.903Z] 4.0K /tmp/codecov.7HuWjF.gz [2024-03-13T23:53:26.903Z] ==> Uploading reports [2024-03-13T23:53:26.903Z] url: https://codecov.io [2024-03-13T23:53:26.903Z] query: branch=PR-385&commit=27d8266983d04630bb50d9a9262f21ce9bf5f564&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2024-03-13T23:53:26.903Z] -> Pinging Codecov [2024-03-13T23:53:26.903Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-385&commit=27d8266983d04630bb50d9a9262f21ce9bf5f564&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2024-03-13T23:53:27.162Z] -> Uploading to [2024-03-13T23:53:27.162Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-13/4E5D53B4F1F92C436F7061BF334D961C/27d8266983d04630bb50d9a9262f21ce9bf5f564/6f44a96c-125e-46b8-b0e7-fae053306e82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240313T235326Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7f3c62b604bad3273f949092b365e8450f0de47ea1f19bc5e03f6a1937a0fe5 [2024-03-13T23:53:27.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:53:27.162Z] Dload Upload Total Spent Left Speed [2024-03-13T23:53:27.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9247 --:--:-- --:--:-- --:--:-- 9247 [2024-03-13T23:53:27.422Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/27d8266983d04630bb50d9a9262f21ce9bf5f564 [Pipeline] } [2024-03-13T23:53:27.449Z] 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-13T23:53:30.667Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-385/archives ] [2024-03-13T23:53:30.668Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-385/archives [2024-03-13T23:53:30.668Z] total 16 [2024-03-13T23:53:30.668Z] drwxr-xr-x 3 root root 4096 Mar 13 23:37 . [2024-03-13T23:53:30.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 23:37 .. [2024-03-13T23:53:30.668Z] drwxr-xr-x 2 root root 4096 Mar 13 23:37 cost [2024-03-13T23:53:30.668Z] -rw-r--r-- 1 root root 86 Mar 13 23:37 cost.csv [2024-03-13T23:53:30.668Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-385/archives [2024-03-13T23:53:30.668Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-385/archives [2024-03-13T23:53:30.668Z] total 16 [2024-03-13T23:53:30.668Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:37 . [2024-03-13T23:53:30.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 23:37 .. [2024-03-13T23:53:30.668Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:37 cost [2024-03-13T23:53:30.668Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 23:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:30.996Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:31.895Z] ---> package-listing.sh [2024-03-13T23:53:31.895Z] ++ facter osfamily [2024-03-13T23:53:31.895Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-13T23:53:31.895Z] + OS_FAMILY=debian [2024-03-13T23:53:31.895Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-385 [2024-03-13T23:53:31.895Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-13T23:53:31.895Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-13T23:53:31.895Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-13T23:53:31.895Z] + PACKAGES=/tmp/packages_start.txt [2024-03-13T23:53:31.895Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-385 ']' [2024-03-13T23:53:31.895Z] + PACKAGES=/tmp/packages_end.txt [2024-03-13T23:53:31.895Z] + case "${OS_FAMILY}" in [2024-03-13T23:53:31.895Z] + dpkg -l [2024-03-13T23:53:31.895Z] + grep '^ii' [2024-03-13T23:53:32.155Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-13T23:53:32.155Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-13T23:53:32.155Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-13T23:53:32.155Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-385 ']' [2024-03-13T23:53:32.155Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-385/archives/ [2024-03-13T23:53:32.155Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-385/archives/ [Pipeline] echo [2024-03-13T23:53:32.190Z] 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-13T23:53:32.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:53:33.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:53:33.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:53:33.887Z] prd-ubuntu20.04-docker-8c-8g-5577 does not seem to be running inside a container [2024-03-13T23:53:33.914Z] $ 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-385/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-385 -v /w/workspace/gexfoundry_device-rest-go_PR-385:/w/workspace/gexfoundry_device-rest-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-385@tmp:/w/workspace/gexfoundry_device-rest-go_PR-385@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-13T23:53:34.102Z] $ docker top af6ce99aebcf5493f64ca156f7bec37d758d06695f7c3575478ecbbd872e7fec -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:53:34.594Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-13T23:53:34.907Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-13T23:53:35.223Z] + ls /var/log/sa-host [2024-03-13T23:53:35.223Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:53:35.420Z] provisioning config files... [2024-03-13T23:53:35.428Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-385@tmp/config4702150329633203678tmp [Pipeline] { [Pipeline] echo [2024-03-13T23:53:35.580Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:35.897Z] ---> create-netrc.sh [Pipeline] } [2024-03-13T23:53:35.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:36.433Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-13T23:53:36.469Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:36.833Z] ---> sudo-logs.sh [2024-03-13T23:53:36.833Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-13T23:53:36.984Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:37.300Z] ---> job-cost.sh [2024-03-13T23:53:37.300Z] lf-activate-venv: SKIPPING [2024-03-13T23:53:37.300Z] DEBUG: total: 0.2199999988079071 [2024-03-13T23:53:37.300Z] INFO: Retrieving Stack Cost... [2024-03-13T23:53:37.559Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:53:38.125Z] INFO: Archiving Costs [Pipeline] echo [2024-03-13T23:53:38.160Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:53:38.633Z] ---> logs-deploy.sh [2024-03-13T23:53:38.633Z] lf-activate-venv: SKIPPING [2024-03-13T23:53:38.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-385/1 [2024-03-13T23:53:38.633Z] INFO: archiving workspace using pattern(s): [2024-03-13T23:53:39.569Z] Archives upload complete. [2024-03-13T23:53:39.569Z] INFO: archiving logs to Nexus [2024-03-13T23:53:40.138Z] ---> uname -a: [2024-03-13T23:53:40.138Z] Linux prd-ubuntu20-04-docker-8c-8g-5577 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-03-13T23:53:40.138Z] [2024-03-13T23:53:40.138Z]