Pull request #375 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cea1857acf47b58d4b77fdbce7fda449fa156310+cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (34e7ffdd2388a1d8dd13a99bbc41a7bc386866c6) 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-ssh11710279347852166606.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-ssh3511212667393533362.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-375/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-375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11279421146490800315.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-375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13952536220727868657.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-ssh8859199121626030374.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-375/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-375/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4987029202252236576.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-25217’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-25218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-25332’ is offline ‘prd-ubuntu20.04-docker-8c-8g-25346’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-25333’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-25342’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-25344’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25348 in /w/workspace/gexfoundry_device-rest-go_PR-375 [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-375 # 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 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit cea1857acf47b58d4b77fdbce7fda449fa156310 Merge succeeded, producing cea1857acf47b58d4b77fdbce7fda449fa156310 Checking out Revision cea1857acf47b58d4b77fdbce7fda449fa156310 (PR-375) Commit message: "build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage > 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/375/head:refs/remotes/origin/PR-375 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cea1857acf47b58d4b77fdbce7fda449fa156310 # 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 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cea1857acf47b58d4b77fdbce7fda449fa156310 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-18T23:37:37.534Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-18T23:37:37.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-18T23:37:38.012Z] ========================================================= [2023-12-18T23:37:38.012Z] EdgeX Global Pipelines Version Info [2023-12-18T23:37:38.012Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:37:38.795Z] ------------------- [2023-12-18T23:37:38.795Z] stable info: [2023-12-18T23:37:38.795Z] ------------------- [2023-12-18T23:37:38.795Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-18T23:37:38.795Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-18T23:37:38.795Z] Message: update stable to v1.0.258 [2023-12-18T23:37:39.806Z] ------------------- [2023-12-18T23:37:39.806Z] experimental info: [2023-12-18T23:37:39.806Z] ------------------- [2023-12-18T23:37:39.806Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-18T23:37:39.806Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-18T23:37:39.806Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-18T23:37:40.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-18T23:37:40.119Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-18T23:37:40.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-18T23:37:40.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-18T23:37:40.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-18T23:37:40.368Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-18T23:37:40.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-18T23:37:40.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-18T23:37:40.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-18T23:37:40.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-18T23:37:40.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-18T23:37:40.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-18T23:37:40.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-18T23:37:40.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-18T23:37:40.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-18T23:37:41.026Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-18T23:37:41.092Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-18T23:37:41.163Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-18T23:37:41.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-18T23:37:41.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-18T23:37:41.386Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-18T23:37:41.463Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-18T23:37:41.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-18T23:37:41.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-18T23:37:41.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-18T23:37:41.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-18T23:37:41.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-18T23:37:41.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-375 [Pipeline] echo [2023-12-18T23:37:41.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-375 [Pipeline] echo [2023-12-18T23:37:42.067Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-375 [Pipeline] echo [2023-12-18T23:37:42.141Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cea1857acf47b58d4b77fdbce7fda449fa156310 [Pipeline] echo [2023-12-18T23:37:42.213Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cea1857 [Pipeline] echo [2023-12-18T23:37:42.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-18T23:37:42.463Z] provisioning config files... [2023-12-18T23:37:42.476Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-375@tmp/config9670696727670595109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:37:42.888Z] ---> ****-login.sh [2023-12-18T23:37:42.888Z] nexus3.edgexfoundry.org:10001 [2023-12-18T23:37:43.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:37:43.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:37:43.146Z] Configure a credential helper to remove this warning. See [2023-12-18T23:37:43.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:37:43.146Z] [2023-12-18T23:37:43.146Z] Login Succeeded [2023-12-18T23:37:43.146Z] nexus3.edgexfoundry.org:10002 [2023-12-18T23:37:43.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:37:43.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:37:43.147Z] Configure a credential helper to remove this warning. See [2023-12-18T23:37:43.147Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:37:43.147Z] [2023-12-18T23:37:43.147Z] Login Succeeded [2023-12-18T23:37:43.147Z] nexus3.edgexfoundry.org:10003 [2023-12-18T23:37:43.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:37:43.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:37:43.406Z] Configure a credential helper to remove this warning. See [2023-12-18T23:37:43.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:37:43.406Z] [2023-12-18T23:37:43.406Z] Login Succeeded [2023-12-18T23:37:43.406Z] nexus3.edgexfoundry.org:10004 [2023-12-18T23:37:43.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:37:43.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:37:43.407Z] Configure a credential helper to remove this warning. See [2023-12-18T23:37:43.407Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:37:43.407Z] [2023-12-18T23:37:43.407Z] Login Succeeded [2023-12-18T23:37:43.407Z] ****.io [2023-12-18T23:37:43.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:37:43.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:37:43.668Z] Configure a credential helper to remove this warning. See [2023-12-18T23:37:43.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:37:43.668Z] [2023-12-18T23:37:43.668Z] Login Succeeded [2023-12-18T23:37:43.668Z] ---> ****-login.sh ends [Pipeline] } [2023-12-18T23:37:43.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-18T23:37:44.500Z] + git rev-list -1 --merges cea1857acf47b58d4b77fdbce7fda449fa156310~1..cea1857acf47b58d4b77fdbce7fda449fa156310 [Pipeline] echo [2023-12-18T23:37:44.539Z] -----------> git rev-list -1 --merges cea1857acf47b58d4b77fdbce7fda449fa156310~1..cea1857acf47b58d4b77fdbce7fda449fa156310 cea1857acf47b58d4b77fdbce7fda449fa156310 [false] [Pipeline] sh [2023-12-18T23:37:44.867Z] + git log --format=format:%s -1 cea1857acf47b58d4b77fdbce7fda449fa156310 [Pipeline] echo [2023-12-18T23:37:44.899Z] ========================================================= [2023-12-18T23:37:44.900Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-18T23:37:44.900Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-18T23:37:45.386Z] + git log --format=format:%s -1 cea1857acf47b58d4b77fdbce7fda449fa156310 [Pipeline] echo [2023-12-18T23:37:45.420Z] [semverPrep] GIT_COMMIT: cea1857acf47b58d4b77fdbce7fda449fa156310, Commit Message: build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0 [Pipeline] echo [2023-12-18T23:37:45.468Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-18T23:37:45.893Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-18T23:37:45.893Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-18T23:37:45.893Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-18T23:37:45.893Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-18T23:37:45.893Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-18T23:37:45.893Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-18T23:37:45.893Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:37:46.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-18T23:37:46.344Z] [2023-12-18T23:37:46.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:37:46.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-18T23:37:46.759Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-18T23:37:46.759Z] b85a868b505f: Pulling fs layer [2023-12-18T23:37:46.759Z] e2be974225ed: Pulling fs layer [2023-12-18T23:37:46.759Z] 339a4e72a1f5: Pulling fs layer [2023-12-18T23:37:46.759Z] 988bab9f4d93: Pulling fs layer [2023-12-18T23:37:46.759Z] 1469e6f7b9e6: Pulling fs layer [2023-12-18T23:37:46.759Z] eaf3925da568: Pulling fs layer [2023-12-18T23:37:46.759Z] bab4dde63d76: Pulling fs layer [2023-12-18T23:37:46.759Z] bde34c3a00c8: Pulling fs layer [2023-12-18T23:37:46.759Z] b352a97aabf1: Pulling fs layer [2023-12-18T23:37:46.759Z] 4872d77fe225: Pulling fs layer [2023-12-18T23:37:46.759Z] 5851b861e8e6: Pulling fs layer [2023-12-18T23:37:46.759Z] 988bab9f4d93: Waiting [2023-12-18T23:37:46.759Z] 1469e6f7b9e6: Waiting [2023-12-18T23:37:46.759Z] eaf3925da568: Waiting [2023-12-18T23:37:46.759Z] bab4dde63d76: Waiting [2023-12-18T23:37:46.759Z] b352a97aabf1: Waiting [2023-12-18T23:37:46.759Z] bde34c3a00c8: Waiting [2023-12-18T23:37:46.759Z] e2be974225ed: Download complete [2023-12-18T23:37:46.759Z] 988bab9f4d93: Download complete [2023-12-18T23:37:46.759Z] 1469e6f7b9e6: Verifying Checksum [2023-12-18T23:37:46.759Z] 1469e6f7b9e6: Download complete [2023-12-18T23:37:46.759Z] 339a4e72a1f5: Verifying Checksum [2023-12-18T23:37:46.759Z] 339a4e72a1f5: Download complete [2023-12-18T23:37:47.019Z] eaf3925da568: Download complete [2023-12-18T23:37:47.019Z] bde34c3a00c8: Download complete [2023-12-18T23:37:47.019Z] b352a97aabf1: Verifying Checksum [2023-12-18T23:37:47.019Z] b352a97aabf1: Download complete [2023-12-18T23:37:47.019Z] 4872d77fe225: Verifying Checksum [2023-12-18T23:37:47.019Z] 4872d77fe225: Download complete [2023-12-18T23:37:47.019Z] 5851b861e8e6: Download complete [2023-12-18T23:37:47.019Z] b85a868b505f: Verifying Checksum [2023-12-18T23:37:47.019Z] b85a868b505f: Download complete [2023-12-18T23:37:47.279Z] bab4dde63d76: Verifying Checksum [2023-12-18T23:37:47.279Z] bab4dde63d76: Download complete [2023-12-18T23:37:48.215Z] b85a868b505f: Pull complete [2023-12-18T23:37:48.474Z] e2be974225ed: Pull complete [2023-12-18T23:37:48.734Z] 339a4e72a1f5: Pull complete [2023-12-18T23:37:48.734Z] 988bab9f4d93: Pull complete [2023-12-18T23:37:48.993Z] 1469e6f7b9e6: Pull complete [2023-12-18T23:37:49.252Z] eaf3925da568: Pull complete [2023-12-18T23:37:50.625Z] bab4dde63d76: Pull complete [2023-12-18T23:37:50.625Z] bde34c3a00c8: Pull complete [2023-12-18T23:37:50.887Z] b352a97aabf1: Pull complete [2023-12-18T23:37:50.887Z] 4872d77fe225: Pull complete [2023-12-18T23:37:50.887Z] 5851b861e8e6: Pull complete [2023-12-18T23:37:50.887Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-18T23:37:50.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-18T23:37:50.887Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:37:51.228Z] prd-ubuntu20.04-docker-8c-8g-25348 does not seem to be running inside a container [2023-12-18T23:37:51.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-375 -v /w/workspace/gexfoundry_device-rest-go_PR-375:/w/workspace/gexfoundry_device-rest-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-375@tmp:/w/workspace/gexfoundry_device-rest-go_PR-375@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 [2023-12-18T23:37:52.530Z] $ docker top 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 -eo pid,comm [2023-12-18T23:37:52.592Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-12-18T23:37:52.592Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-18T23:37:52.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-18T23:37:52.811Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-18T23:37:52.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-18T23:37:52.924Z] $ docker exec 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 ssh-agent [2023-12-18T23:37:53.026Z] SSH_AUTH_SOCK=/tmp/ssh-mylm98XV3SR7/agent.32 [2023-12-18T23:37:53.026Z] SSH_AGENT_PID=38 [2023-12-18T23:37:53.033Z] Running ssh-add (command line suppressed) [2023-12-18T23:37:53.142Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-375@tmp/private_key_6644662905889178468.key (/w/workspace/gexfoundry_device-rest-go_PR-375@tmp/private_key_6644662905889178468.key) [2023-12-18T23:37:53.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-18T23:37:53.504Z] + git tag --points-at HEAD [Pipeline] } [2023-12-18T23:37:53.534Z] $ docker exec --env ******** --env ******** 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 ssh-agent -k [2023-12-18T23:37:53.626Z] unset SSH_AUTH_SOCK; [2023-12-18T23:37:53.627Z] unset SSH_AGENT_PID; [2023-12-18T23:37:53.627Z] echo Agent pid 38 killed; [2023-12-18T23:37:53.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-18T23:37:53.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-18T23:37:53.776Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-18T23:37:53.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-18T23:37:53.885Z] $ docker exec 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 ssh-agent [2023-12-18T23:37:53.985Z] SSH_AUTH_SOCK=/tmp/ssh-zscKLGreyXlr/agent.71 [2023-12-18T23:37:53.985Z] SSH_AGENT_PID=78 [2023-12-18T23:37:53.990Z] Running ssh-add (command line suppressed) [2023-12-18T23:37:54.099Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-375@tmp/private_key_8295841314947640969.key (/w/workspace/gexfoundry_device-rest-go_PR-375@tmp/private_key_8295841314947640969.key) [2023-12-18T23:37:54.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-18T23:37:54.473Z] + git semver init [2023-12-18T23:37:54.732Z] 2023-12-18 23:37:54,644 [run_init] DEBUG init version:0.0.0 force:False [2023-12-18T23:37:54.732Z] 2023-12-18 23:37:54,645 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-375/.semver [2023-12-18T23:37:54.732Z] 2023-12-18 23:37:54,646 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-375/.semver [2023-12-18T23:37:54.732Z] 2023-12-18 23:37:54,646 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-375/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-375, universal_newlines=False, shell=None, istream=None) [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,967 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-375/.git/info/exclude [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,968 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-375/.semver/PR-375 with force:False [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,968 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-375/.semver/PR-375 [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,972 [execute] INFO git cat-file --batch-check [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,979 [execute] INFO git cat-file --batch [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) [2023-12-18T23:37:56.115Z] 2023-12-18 23:37:55,983 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-375/.semver/PR-375 [2023-12-18T23:37:56.115Z] 0.0.0 [Pipeline] } [2023-12-18T23:37:56.156Z] $ docker exec --env ******** --env ******** 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 ssh-agent -k [2023-12-18T23:37:56.255Z] unset SSH_AUTH_SOCK; [2023-12-18T23:37:56.255Z] unset SSH_AGENT_PID; [2023-12-18T23:37:56.256Z] echo Agent pid 78 killed; [2023-12-18T23:37:56.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-18T23:37:56.812Z] + git semver [Pipeline] } [2023-12-18T23:37:57.229Z] $ docker stop --time=1 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 [2023-12-18T23:37:58.533Z] $ docker rm -f --volumes 9a2979ce268094216725b2c8fa8493ce0ce2375964b07ceabd29ce4efe622c50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-18T23:37:58.995Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-18T23:37:59.400Z] Stashed 1 file(s) [Pipeline] echo [2023-12-18T23:37:59.422Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-18T23:38:00.419Z] provisioning config files... [2023-12-18T23:38:00.428Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-375@tmp/config3011903522938766797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:38:00.828Z] ---> ****-login.sh [2023-12-18T23:38:00.828Z] nexus3.edgexfoundry.org:10001 [2023-12-18T23:38:00.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:38:00.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:38:00.829Z] Configure a credential helper to remove this warning. See [2023-12-18T23:38:00.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:38:00.829Z] [2023-12-18T23:38:00.829Z] Login Succeeded [2023-12-18T23:38:00.829Z] nexus3.edgexfoundry.org:10002 [2023-12-18T23:38:00.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:38:01.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:38:01.089Z] Configure a credential helper to remove this warning. See [2023-12-18T23:38:01.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:38:01.089Z] [2023-12-18T23:38:01.089Z] Login Succeeded [2023-12-18T23:38:01.089Z] nexus3.edgexfoundry.org:10003 [2023-12-18T23:38:01.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:38:01.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:38:01.090Z] Configure a credential helper to remove this warning. See [2023-12-18T23:38:01.090Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:38:01.090Z] [2023-12-18T23:38:01.090Z] Login Succeeded [2023-12-18T23:38:01.090Z] nexus3.edgexfoundry.org:10004 [2023-12-18T23:38:01.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:38:01.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:38:01.351Z] Configure a credential helper to remove this warning. See [2023-12-18T23:38:01.351Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:38:01.351Z] [2023-12-18T23:38:01.351Z] Login Succeeded [2023-12-18T23:38:01.351Z] ****.io [2023-12-18T23:38:01.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:38:01.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:38:01.610Z] Configure a credential helper to remove this warning. See [2023-12-18T23:38:01.610Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:38:01.610Z] [2023-12-18T23:38:01.610Z] Login Succeeded [2023-12-18T23:38:01.610Z] ---> ****-login.sh ends [Pipeline] } [2023-12-18T23:38:01.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-18T23:38:01.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-18T23:38:02.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-18T23:38:02.066Z] ========================================================= [2023-12-18T23:38:02.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-18T23:38:02.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:38:02.643Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-18T23:38:02.643Z] Sending build context to Docker daemon 16.31MB [2023-12-18T23:38:02.643Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-18T23:38:02.643Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-18T23:38:02.643Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-18T23:38:02.643Z] 7264a8db6415: Pulling fs layer [2023-12-18T23:38:02.643Z] c4d48a809fc2: Pulling fs layer [2023-12-18T23:38:02.643Z] 4f1c88b9dad5: Pulling fs layer [2023-12-18T23:38:02.643Z] ad3a456e5733: Pulling fs layer [2023-12-18T23:38:02.643Z] 69c7f0334f64: Pulling fs layer [2023-12-18T23:38:02.643Z] 1f1c1a5573a3: Pulling fs layer [2023-12-18T23:38:02.643Z] ce7588e14bc9: Pulling fs layer [2023-12-18T23:38:02.643Z] b5e4710f87ac: Pulling fs layer [2023-12-18T23:38:02.643Z] ad3a456e5733: Waiting [2023-12-18T23:38:02.643Z] 1f1c1a5573a3: Waiting [2023-12-18T23:38:02.643Z] ce7588e14bc9: Waiting [2023-12-18T23:38:02.643Z] b5e4710f87ac: Waiting [2023-12-18T23:38:02.643Z] 69c7f0334f64: Waiting [2023-12-18T23:38:02.643Z] c4d48a809fc2: Verifying Checksum [2023-12-18T23:38:02.643Z] c4d48a809fc2: Download complete [2023-12-18T23:38:02.643Z] ad3a456e5733: Verifying Checksum [2023-12-18T23:38:02.643Z] ad3a456e5733: Download complete [2023-12-18T23:38:02.903Z] 69c7f0334f64: Verifying Checksum [2023-12-18T23:38:02.903Z] 69c7f0334f64: Download complete [2023-12-18T23:38:02.903Z] 7264a8db6415: Verifying Checksum [2023-12-18T23:38:02.903Z] 7264a8db6415: Download complete [2023-12-18T23:38:02.903Z] 1f1c1a5573a3: Verifying Checksum [2023-12-18T23:38:02.903Z] 1f1c1a5573a3: Download complete [2023-12-18T23:38:02.903Z] 7264a8db6415: Pull complete [2023-12-18T23:38:02.903Z] b5e4710f87ac: Verifying Checksum [2023-12-18T23:38:02.903Z] b5e4710f87ac: Download complete [2023-12-18T23:38:03.163Z] c4d48a809fc2: Pull complete [2023-12-18T23:38:03.163Z] 4f1c88b9dad5: Verifying Checksum [2023-12-18T23:38:03.163Z] 4f1c88b9dad5: Download complete [2023-12-18T23:38:03.729Z] ce7588e14bc9: Verifying Checksum [2023-12-18T23:38:03.729Z] ce7588e14bc9: Download complete [2023-12-18T23:38:06.260Z] 4f1c88b9dad5: Pull complete [2023-12-18T23:38:06.525Z] ad3a456e5733: Pull complete [2023-12-18T23:38:06.525Z] 69c7f0334f64: Pull complete [2023-12-18T23:38:06.525Z] 1f1c1a5573a3: Pull complete [2023-12-18T23:38:09.059Z] ce7588e14bc9: Pull complete [2023-12-18T23:38:09.322Z] b5e4710f87ac: Pull complete [2023-12-18T23:38:09.582Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-18T23:38:09.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-18T23:38:09.582Z] ---> 88b5674ff536 [2023-12-18T23:38:09.582Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-18T23:38:10.962Z] ---> Running in 1dafb02b35e5 [2023-12-18T23:38:10.962Z] Removing intermediate container 1dafb02b35e5 [2023-12-18T23:38:10.962Z] ---> 008627c00609 [2023-12-18T23:38:10.962Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-18T23:38:10.962Z] ---> Running in c2e8cd5110ae [2023-12-18T23:38:10.962Z] Removing intermediate container c2e8cd5110ae [2023-12-18T23:38:10.962Z] ---> d5fd5d1599d3 [2023-12-18T23:38:10.962Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-18T23:38:10.962Z] ---> Running in 5d6d020b4312 [2023-12-18T23:38:11.220Z] Removing intermediate container 5d6d020b4312 [2023-12-18T23:38:11.220Z] ---> b1c855a47b48 [2023-12-18T23:38:11.220Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-18T23:38:11.220Z] ---> Running in 51e112ecf96b [2023-12-18T23:38:11.220Z] Removing intermediate container 51e112ecf96b [2023-12-18T23:38:11.220Z] ---> bdbcac5a04bc [2023-12-18T23:38:11.220Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-18T23:38:11.220Z] ---> Running in b2b529c7b0ef [2023-12-18T23:38:11.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-18T23:38:11.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-18T23:38:11.738Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-18T23:38:11.738Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-18T23:38:11.738Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-18T23:38:11.738Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-18T23:38:11.738Z] Executing busybox-1.36.1-r5.trigger [2023-12-18T23:38:11.738Z] OK: 268 MiB in 56 packages [2023-12-18T23:38:12.308Z] Removing intermediate container b2b529c7b0ef [2023-12-18T23:38:12.308Z] ---> 55db63c3e342 [2023-12-18T23:38:12.308Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-18T23:38:12.308Z] ---> Running in 2ca67ef488a6 [2023-12-18T23:38:12.308Z] Removing intermediate container 2ca67ef488a6 [2023-12-18T23:38:12.308Z] ---> 1e22585aded6 [2023-12-18T23:38:12.308Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-18T23:38:12.308Z] ---> bdb01a1ad1be [2023-12-18T23:38:12.308Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-18T23:38:12.308Z] ---> Running in 52085e5d0d5c [2023-12-18T23:38:15.148Z] Still waiting to schedule task [2023-12-18T23:38:15.148Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-12-18T23:38:38.944Z] Removing intermediate container 52085e5d0d5c [2023-12-18T23:38:38.944Z] ---> 5ee7afc5cf8f [2023-12-18T23:38:38.944Z] Step 11/12 : COPY . . [2023-12-18T23:38:38.944Z] ---> 3a0004cff310 [2023-12-18T23:38:38.944Z] Step 12/12 : RUN $MAKE [2023-12-18T23:38:38.944Z] ---> Running in 5afdd45ca5bf [2023-12-18T23:38:38.944Z] noop [2023-12-18T23:38:38.944Z] Removing intermediate container 5afdd45ca5bf [2023-12-18T23:38:38.944Z] ---> d13e8e168848 [2023-12-18T23:38:38.944Z] Successfully built d13e8e168848 [2023-12-18T23:38:38.944Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:38:39.513Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-18T23:38:39.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:38:39.728Z] prd-ubuntu20.04-docker-8c-8g-25348 does not seem to be running inside a container [2023-12-18T23:38:39.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-375 -v /w/workspace/gexfoundry_device-rest-go_PR-375:/w/workspace/gexfoundry_device-rest-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-375@tmp:/w/workspace/gexfoundry_device-rest-go_PR-375@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 [2023-12-18T23:38:40.066Z] $ docker top e9f80e4deadfdafc7e0f4204cc8e89be209d252bdb47a3ed03631acbace8da1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-18T23:38:40.509Z] + go version [2023-12-18T23:38:40.509Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-18T23:38:40.541Z] $ docker stop --time=1 e9f80e4deadfdafc7e0f4204cc8e89be209d252bdb47a3ed03631acbace8da1d [2023-12-18T23:38:41.818Z] $ docker rm -f --volumes e9f80e4deadfdafc7e0f4204cc8e89be209d252bdb47a3ed03631acbace8da1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:38:42.801Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-18T23:38:42.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:38:43.019Z] prd-ubuntu20.04-docker-8c-8g-25348 does not seem to be running inside a container [2023-12-18T23:38:43.052Z] $ 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-375 -v /w/workspace/gexfoundry_device-rest-go_PR-375:/w/workspace/gexfoundry_device-rest-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-375@tmp:/w/workspace/gexfoundry_device-rest-go_PR-375@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 [2023-12-18T23:38:43.358Z] $ docker top b1f1bbadc114705c98a533ffcd91a8d652c91529139730f97ac49740eb422d4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-18T23:38:43.811Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-375 [Pipeline] fileExists [Pipeline] sh [2023-12-18T23:38:44.214Z] + make test [2023-12-18T23:38:44.214Z] go test ./... -coverprofile=coverage.out ./... [2023-12-18T23:38:45.151Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-18T23:38:55.129Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-18T23:38:55.129Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-12-18T23:39:00.389Z] go vet ./... [2023-12-18T23:39:02.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-18T23:39:02.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-18T23:39:02.945Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-18T23:39:02.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-18T23:39:03.040Z] $ docker stop --time=1 b1f1bbadc114705c98a533ffcd91a8d652c91529139730f97ac49740eb422d4a [2023-12-18T23:39:04.793Z] $ docker rm -f --volumes b1f1bbadc114705c98a533ffcd91a8d652c91529139730f97ac49740eb422d4a [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-18T23:39:05.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-18T23:39:05.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-18T23:39:06.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-18T23:39:06.584Z] + ls -al . [2023-12-18T23:39:06.584Z] total 180 [2023-12-18T23:39:06.584Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 18 23:38 . [2023-12-18T23:39:06.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:37 .. [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 18 23:37 .dockerignore [2023-12-18T23:39:06.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:38 .git [2023-12-18T23:39:06.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 .github [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 18 23:37 .gitignore [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:37 .golangci.yml [2023-12-18T23:39:06.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:37 .semver [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 18 23:37 Attribution.txt [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 18 23:37 CHANGELOG.md [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 18 23:37 Dockerfile [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:37 GOVERNANCE.md [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 18 23:37 Jenkinsfile [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:37 LICENSE [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 18 23:37 Makefile [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 18 23:37 OWNERS.md [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 18 23:37 README.md [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:37 VERSION [2023-12-18T23:39:06.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:37 bin [2023-12-18T23:39:06.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 cmd [2023-12-18T23:39:06.584Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 18 23:38 coverage.out [2023-12-18T23:39:06.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:37 driver [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 18 23:37 go.mod [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 18 23:37 go.sum [2023-12-18T23:39:06.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 openapi [2023-12-18T23:39:06.584Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 18 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:39:07.041Z] + 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=cea1857acf47b58d4b77fdbce7fda449fa156310 --label arch=amd64 --label version=0.0.0 . [2023-12-18T23:39:07.041Z] Sending build context to Docker daemon 16.33MB [2023-12-18T23:39:07.041Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-18T23:39:07.041Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-18T23:39:07.041Z] ---> d13e8e168848 [2023-12-18T23:39:07.041Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-18T23:39:07.041Z] ---> Running in 6cd21f43b555 [2023-12-18T23:39:07.300Z] Removing intermediate container 6cd21f43b555 [2023-12-18T23:39:07.300Z] ---> 7377295b8b67 [2023-12-18T23:39:07.300Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-18T23:39:07.300Z] ---> Running in 605ccc136f72 [2023-12-18T23:39:07.300Z] Removing intermediate container 605ccc136f72 [2023-12-18T23:39:07.300Z] ---> 723e9e623804 [2023-12-18T23:39:07.300Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-18T23:39:07.300Z] ---> Running in 2e29f4cb689e [2023-12-18T23:39:07.300Z] Removing intermediate container 2e29f4cb689e [2023-12-18T23:39:07.300Z] ---> e468324a1f2d [2023-12-18T23:39:07.300Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-18T23:39:07.300Z] ---> Running in 65e53cb9b33b [2023-12-18T23:39:07.559Z] Removing intermediate container 65e53cb9b33b [2023-12-18T23:39:07.559Z] ---> ad9b28ac97cb [2023-12-18T23:39:07.559Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-18T23:39:07.559Z] ---> Running in b06e9fd7d4b9 [2023-12-18T23:39:07.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-18T23:39:07.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-18T23:39:08.075Z] OK: 268 MiB in 56 packages [2023-12-18T23:39:08.333Z] Removing intermediate container b06e9fd7d4b9 [2023-12-18T23:39:08.333Z] ---> eb52a46633ab [2023-12-18T23:39:08.333Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-18T23:39:08.333Z] ---> Running in a41b7c543e7e [2023-12-18T23:39:08.333Z] Removing intermediate container a41b7c543e7e [2023-12-18T23:39:08.333Z] ---> 32cfde9c7082 [2023-12-18T23:39:08.333Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-18T23:39:08.592Z] ---> 2e623bf649f3 [2023-12-18T23:39:08.592Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-18T23:39:08.592Z] ---> Running in 052a71837e99 [2023-12-18T23:39:09.165Z] Removing intermediate container 052a71837e99 [2023-12-18T23:39:09.165Z] ---> 00426b09a838 [2023-12-18T23:39:09.165Z] Step 11/26 : COPY . . [2023-12-18T23:39:09.431Z] ---> 6d052809e930 [2023-12-18T23:39:09.431Z] Step 12/26 : RUN $MAKE [2023-12-18T23:39:09.431Z] ---> Running in 251b4a079c85 [2023-12-18T23:39:09.688Z] 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.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-18T23:39:24.723Z] Removing intermediate container 251b4a079c85 [2023-12-18T23:39:24.723Z] ---> 49919dac7715 [2023-12-18T23:39:24.723Z] Step 13/26 : FROM alpine:3.18 [2023-12-18T23:39:24.723Z] 3.18: Pulling from library/alpine [2023-12-18T23:39:24.723Z] c926b61bad3b: Pulling fs layer [2023-12-18T23:39:24.999Z] c926b61bad3b: Download complete [2023-12-18T23:39:24.999Z] c926b61bad3b: Pull complete [2023-12-18T23:39:24.999Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-18T23:39:24.999Z] Status: Downloaded newer image for alpine:3.18 [2023-12-18T23:39:24.999Z] ---> b541f2080109 [2023-12-18T23:39:24.999Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-18T23:39:24.999Z] ---> Running in d165b9b07275 [2023-12-18T23:39:25.258Z] Removing intermediate container d165b9b07275 [2023-12-18T23:39:25.258Z] ---> e5bc1403cf44 [2023-12-18T23:39:25.258Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-18T23:39:25.258Z] ---> Running in ec73b1ba89f7 [2023-12-18T23:39:25.258Z] Removing intermediate container ec73b1ba89f7 [2023-12-18T23:39:25.258Z] ---> 27fa24330187 [2023-12-18T23:39:25.258Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-18T23:39:25.258Z] ---> Running in 99e7b1104743 [2023-12-18T23:39:25.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-18T23:39:25.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-18T23:39:25.773Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-18T23:39:25.773Z] Executing busybox-1.36.1-r5.trigger [2023-12-18T23:39:25.773Z] OK: 7 MiB in 16 packages [2023-12-18T23:39:26.033Z] Removing intermediate container 99e7b1104743 [2023-12-18T23:39:26.033Z] ---> 9e32daf8f2c2 [2023-12-18T23:39:26.033Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-18T23:39:26.033Z] ---> Running in aee11301d4d3 [2023-12-18T23:39:26.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-18T23:39:26.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-18T23:39:26.810Z] OK: 7 MiB in 16 packages [2023-12-18T23:39:27.069Z] Removing intermediate container aee11301d4d3 [2023-12-18T23:39:27.069Z] ---> 2a3a4e73913f [2023-12-18T23:39:27.069Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-18T23:39:27.327Z] ---> ab3013730712 [2023-12-18T23:39:27.327Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-18T23:39:27.327Z] ---> 38090f52f8af [2023-12-18T23:39:27.327Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-18T23:39:27.585Z] ---> 83c1e87a96d8 [2023-12-18T23:39:27.585Z] Step 21/26 : EXPOSE 59986 [2023-12-18T23:39:27.585Z] ---> Running in d2be833d6faa [2023-12-18T23:39:27.585Z] Removing intermediate container d2be833d6faa [2023-12-18T23:39:27.585Z] ---> 1034507db1fc [2023-12-18T23:39:27.585Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-18T23:39:27.585Z] ---> Running in 10fd12197363 [2023-12-18T23:39:27.843Z] Removing intermediate container 10fd12197363 [2023-12-18T23:39:27.843Z] ---> fd75cb82c719 [2023-12-18T23:39:27.843Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-18T23:39:27.843Z] ---> Running in 2b0f32a37f83 [2023-12-18T23:39:27.843Z] Removing intermediate container 2b0f32a37f83 [2023-12-18T23:39:27.843Z] ---> 70af9319e129 [2023-12-18T23:39:27.843Z] Step 24/26 : LABEL arch=amd64 [2023-12-18T23:39:27.843Z] ---> Running in a273c8354075 [2023-12-18T23:39:27.843Z] Removing intermediate container a273c8354075 [2023-12-18T23:39:27.843Z] ---> 090bee96f83b [2023-12-18T23:39:27.843Z] Step 25/26 : LABEL git_sha=cea1857acf47b58d4b77fdbce7fda449fa156310 [2023-12-18T23:39:27.843Z] ---> Running in f45e45e0279a [2023-12-18T23:39:28.102Z] Removing intermediate container f45e45e0279a [2023-12-18T23:39:28.102Z] ---> 7a315ae4a184 [2023-12-18T23:39:28.102Z] Step 26/26 : LABEL version=0.0.0 [2023-12-18T23:39:28.102Z] ---> Running in a6847fba846b [2023-12-18T23:39:28.102Z] Removing intermediate container a6847fba846b [2023-12-18T23:39:28.102Z] ---> c4082a28ea92 [2023-12-18T23:39:28.102Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-18T23:39:28.102Z] Successfully built c4082a28ea92 [2023-12-18T23:39:28.102Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:39:29.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-18T23:39:29.333Z] [2023-12-18T23:39:29.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:39:29.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-18T23:39:29.746Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-18T23:39:29.746Z] 5eb5b503b376: Pulling fs layer [2023-12-18T23:39:29.746Z] 5c69ac0246d0: Pulling fs layer [2023-12-18T23:39:29.746Z] ec43610c2a17: Pulling fs layer [2023-12-18T23:39:29.746Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-18T23:39:29.746Z] 33b1e0a273af: Pulling fs layer [2023-12-18T23:39:29.746Z] 5d3b04190fa2: Pulling fs layer [2023-12-18T23:39:29.746Z] 2f39f015ded8: Pulling fs layer [2023-12-18T23:39:29.746Z] 3a2ae6a8a46f: Waiting [2023-12-18T23:39:29.746Z] 33b1e0a273af: Waiting [2023-12-18T23:39:29.746Z] 5d3b04190fa2: Waiting [2023-12-18T23:39:29.746Z] 5c69ac0246d0: Verifying Checksum [2023-12-18T23:39:29.746Z] 5c69ac0246d0: Download complete [2023-12-18T23:39:29.746Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-18T23:39:29.746Z] 3a2ae6a8a46f: Download complete [2023-12-18T23:39:29.746Z] ec43610c2a17: Verifying Checksum [2023-12-18T23:39:29.746Z] ec43610c2a17: Download complete [2023-12-18T23:39:29.746Z] 33b1e0a273af: Verifying Checksum [2023-12-18T23:39:29.746Z] 33b1e0a273af: Download complete [2023-12-18T23:39:29.746Z] 5d3b04190fa2: Verifying Checksum [2023-12-18T23:39:29.746Z] 5d3b04190fa2: Download complete [2023-12-18T23:39:30.006Z] 5eb5b503b376: Verifying Checksum [2023-12-18T23:39:30.006Z] 5eb5b503b376: Download complete [2023-12-18T23:39:30.578Z] 2f39f015ded8: Download complete [2023-12-18T23:39:31.145Z] 5eb5b503b376: Pull complete [2023-12-18T23:39:31.403Z] 5c69ac0246d0: Pull complete [2023-12-18T23:39:31.666Z] ec43610c2a17: Pull complete [2023-12-18T23:39:31.927Z] 3a2ae6a8a46f: Pull complete [2023-12-18T23:39:31.927Z] 33b1e0a273af: Pull complete [2023-12-18T23:39:32.185Z] 5d3b04190fa2: Pull complete [2023-12-18T23:39:36.370Z] 2f39f015ded8: Pull complete [2023-12-18T23:39:36.370Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-18T23:39:36.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-18T23:39:36.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:39:36.728Z] prd-ubuntu20.04-docker-8c-8g-25348 does not seem to be running inside a container [2023-12-18T23:39:36.762Z] $ 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-375 -v /w/workspace/gexfoundry_device-rest-go_PR-375:/w/workspace/gexfoundry_device-rest-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-375@tmp:/w/workspace/gexfoundry_device-rest-go_PR-375@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 [2023-12-18T23:39:38.020Z] $ docker top 63e2871166df48aea3b192577a4360965c375fa1534f60534bfddf7a8e463251 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:39:38.536Z] ---> job-cost.sh [2023-12-18T23:39:38.536Z] lf-activate-venv: SKIPPING [2023-12-18T23:39:38.536Z] INFO: No Stack... [2023-12-18T23:39:38.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-18T23:39:39.055Z] INFO: Archiving Costs [Pipeline] sh [2023-12-18T23:39:39.369Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-375/archives/cost.csv [2023-12-18T23:39:39.369Z] + cut -d, -f6 [Pipeline] lock [2023-12-18T23:39:39.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] [2023-12-18T23:39:39.414Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] did not exist. Created. [2023-12-18T23:39:39.414Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-18T23:39:39.879Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-18T23:39:39.928Z] Stashed 1 file(s) [Pipeline] } [2023-12-18T23:39:39.998Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-18T23:39:40.161Z] $ docker stop --time=1 63e2871166df48aea3b192577a4360965c375fa1534f60534bfddf7a8e463251 [2023-12-18T23:39:41.313Z] $ docker rm -f --volumes 63e2871166df48aea3b192577a4360965c375fa1534f60534bfddf7a8e463251 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-18T23:47:14.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25566 in /w/workspace/gexfoundry_device-rest-go_PR-375 [Pipeline] { [Pipeline] ws [2023-12-18T23:47:14.922Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-12-18T23:47:18.075Z] The recommended git tool is: git [2023-12-18T23:47:25.026Z] using credential edgex-jenkins-ssh [2023-12-18T23:47:25.053Z] Cloning the remote Git repository [2023-12-18T23:47:25.112Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-18T23:47:25.222Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-12-18T23:47:25.391Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-18T23:47:25.392Z] > git --version # timeout=10 [2023-12-18T23:47:25.420Z] > git --version # 'git version 2.25.1' [2023-12-18T23:47:25.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-18T23:47:25.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-18T23:47:28.505Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-18T23:47:28.529Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-18T23:47:29.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-18T23:47:29.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-18T23:47:29.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-18T23:47:29.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/375/head:refs/remotes/origin/PR-375 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-18T23:47:30.058Z] Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit cea1857acf47b58d4b77fdbce7fda449fa156310 [2023-12-18T23:47:30.349Z] Merge succeeded, producing cea1857acf47b58d4b77fdbce7fda449fa156310 [2023-12-18T23:47:30.350Z] Checking out Revision cea1857acf47b58d4b77fdbce7fda449fa156310 (PR-375) [2023-12-18T23:47:30.948Z] Commit message: "build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0" [2023-12-18T23:47:31.001Z] > git --version # timeout=10 [2023-12-18T23:47:31.013Z] > git --version # 'git version 2.25.1' [2023-12-18T23:47:31.031Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-18T23:47:30.076Z] > git config core.sparsecheckout # timeout=10 [2023-12-18T23:47:30.148Z] > git checkout -f cea1857acf47b58d4b77fdbce7fda449fa156310 # timeout=10 [2023-12-18T23:47:30.244Z] > git remote # timeout=10 [2023-12-18T23:47:30.266Z] > git config --get remote.origin.url # timeout=10 [2023-12-18T23:47:30.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-18T23:47:30.300Z] > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 [2023-12-18T23:47:30.328Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-18T23:47:30.354Z] > git config core.sparsecheckout # timeout=10 [2023-12-18T23:47:30.370Z] > git checkout -f cea1857acf47b58d4b77fdbce7fda449fa156310 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-18T23:47:32.381Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-18T23:47:32.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-18T23:47:32.381Z] Dload Upload Total Spent Left Speed [2023-12-18T23:47:32.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2023-12-18T23:47:32.731Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-18T23:47:33.077Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-18T23:47:33.077Z] + sudo tee /etc/docker/daemon.new [2023-12-18T23:47:33.077Z] { [2023-12-18T23:47:33.077Z] "registry-mirrors": [ [2023-12-18T23:47:33.077Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-18T23:47:33.077Z] ], [2023-12-18T23:47:33.077Z] "bip": "10.250.0.254/24", [2023-12-18T23:47:33.077Z] "hosts": [ [2023-12-18T23:47:33.077Z] "tcp://0.0.0.0:5555", [2023-12-18T23:47:33.077Z] "unix:///var/run/docker.sock" [2023-12-18T23:47:33.077Z] ], [2023-12-18T23:47:33.077Z] "mtu": 1458, [2023-12-18T23:47:33.077Z] "selinux-enabled": true, [2023-12-18T23:47:33.077Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-18T23:47:33.077Z] } [Pipeline] sh [2023-12-18T23:47:33.417Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-18T23:47:33.768Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-18T23:47:52.143Z] provisioning config files... [2023-12-18T23:47:52.180Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7118003061385480758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:47:52.721Z] ---> ****-login.sh [2023-12-18T23:47:52.721Z] nexus3.edgexfoundry.org:10001 [2023-12-18T23:47:52.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:47:53.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:47:53.266Z] Configure a credential helper to remove this warning. See [2023-12-18T23:47:53.266Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:47:53.266Z] [2023-12-18T23:47:53.266Z] Login Succeeded [2023-12-18T23:47:53.266Z] nexus3.edgexfoundry.org:10002 [2023-12-18T23:47:53.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:47:53.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:47:53.537Z] Configure a credential helper to remove this warning. See [2023-12-18T23:47:53.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:47:53.537Z] [2023-12-18T23:47:53.537Z] Login Succeeded [2023-12-18T23:47:53.537Z] nexus3.edgexfoundry.org:10003 [2023-12-18T23:47:53.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:47:53.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:47:53.808Z] Configure a credential helper to remove this warning. See [2023-12-18T23:47:53.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:47:53.808Z] [2023-12-18T23:47:53.808Z] Login Succeeded [2023-12-18T23:47:53.808Z] nexus3.edgexfoundry.org:10004 [2023-12-18T23:47:54.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:47:54.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:47:54.080Z] Configure a credential helper to remove this warning. See [2023-12-18T23:47:54.080Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:47:54.080Z] [2023-12-18T23:47:54.080Z] Login Succeeded [2023-12-18T23:47:54.080Z] ****.io [2023-12-18T23:47:54.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-18T23:47:54.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-18T23:47:54.685Z] Configure a credential helper to remove this warning. See [2023-12-18T23:47:54.685Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-18T23:47:54.685Z] [2023-12-18T23:47:54.685Z] Login Succeeded [2023-12-18T23:47:54.685Z] ---> ****-login.sh ends [Pipeline] } [2023-12-18T23:47:54.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-18T23:47:55.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-18T23:47:55.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-18T23:47:55.491Z] ========================================================= [2023-12-18T23:47:55.491Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-18T23:47:55.491Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:47:56.187Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-18T23:47:57.610Z] #0 building with "default" instance using docker driver [2023-12-18T23:47:57.610Z] [2023-12-18T23:47:57.610Z] #1 [internal] load build definition from Dockerfile [2023-12-18T23:47:57.610Z] #1 transferring dockerfile: [2023-12-18T23:47:57.879Z] #1 transferring dockerfile: 1.73kB 0.0s done [2023-12-18T23:47:57.879Z] #1 DONE 0.1s [2023-12-18T23:47:57.879Z] [2023-12-18T23:47:57.879Z] #2 [internal] load .dockerignore [2023-12-18T23:47:57.879Z] #2 transferring context: 193B 0.0s done [2023-12-18T23:47:57.879Z] #2 DONE 0.1s [2023-12-18T23:47:57.879Z] [2023-12-18T23:47:57.879Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-18T23:48:03.244Z] #3 DONE 4.9s [2023-12-18T23:48:03.244Z] [2023-12-18T23:48:03.244Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-18T23:48:03.244Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-18T23:48:03.244Z] #4 ... [2023-12-18T23:48:03.244Z] [2023-12-18T23:48:03.244Z] #5 [internal] load build context [2023-12-18T23:48:03.244Z] #5 transferring context: 95.80kB 0.0s done [2023-12-18T23:48:03.244Z] #5 DONE 0.1s [2023-12-18T23:48:03.244Z] [2023-12-18T23:48:03.244Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-18T23:48:03.244Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-18T23:48:03.244Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s [2023-12-18T23:48:03.244Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s [2023-12-18T23:48:03.244Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-18T23:48:03.244Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-18T23:48:03.244Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-18T23:48:03.244Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-18T23:48:03.244Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.3s [2023-12-18T23:48:03.244Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-18T23:48:03.244Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-18T23:48:03.244Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done [2023-12-18T23:48:03.244Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.4s [2023-12-18T23:48:03.244Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.4s [2023-12-18T23:48:03.244Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.5s [2023-12-18T23:48:03.244Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.6s [2023-12-18T23:48:03.244Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-18T23:48:03.244Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.6s [2023-12-18T23:48:03.533Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.8s [2023-12-18T23:48:03.533Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.9s [2023-12-18T23:48:03.818Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 1.0s [2023-12-18T23:48:03.818Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 1.0s [2023-12-18T23:48:03.818Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s [2023-12-18T23:48:03.818Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 1.1s [2023-12-18T23:48:03.818Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-18T23:48:04.092Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.83MB / 63.99MB 1.3s [2023-12-18T23:48:04.092Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 1.3s [2023-12-18T23:48:04.092Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 1.4s [2023-12-18T23:48:04.373Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 1.6s [2023-12-18T23:48:04.373Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 1.8s [2023-12-18T23:48:04.859Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 1.9s [2023-12-18T23:48:04.859Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 1.9s [2023-12-18T23:48:04.859Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.05MB / 63.99MB 2.1s [2023-12-18T23:48:04.859Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 2.1s [2023-12-18T23:48:04.859Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 1.9s done [2023-12-18T23:48:05.135Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 2.4s [2023-12-18T23:48:05.135Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 2.5s [2023-12-18T23:48:05.419Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 2.7s [2023-12-18T23:48:05.699Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 2.9s [2023-12-18T23:48:05.699Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 3.0s [2023-12-18T23:48:05.978Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 3.2s [2023-12-18T23:48:05.978Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 3.3s [2023-12-18T23:48:06.259Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.03MB / 63.99MB 3.4s [2023-12-18T23:48:06.259Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 3.6s [2023-12-18T23:48:06.259Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 3.6s [2023-12-18T23:48:06.534Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.82MB / 63.99MB 3.8s [2023-12-18T23:48:06.809Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 4.0s [2023-12-18T23:48:06.809Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.1s done [2023-12-18T23:48:06.809Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 4.2s [2023-12-18T23:48:07.080Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s [2023-12-18T23:48:07.080Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.83MB / 97.63MB 4.4s [2023-12-18T23:48:07.354Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 64.50MB / 97.63MB 4.6s [2023-12-18T23:48:07.354Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.97MB / 97.63MB 4.8s [2023-12-18T23:48:07.627Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 5.0s [2023-12-18T23:48:07.901Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.84MB / 97.63MB 5.3s [2023-12-18T23:48:08.193Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.5s [2023-12-18T23:48:08.463Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.6s done [2023-12-18T23:48:13.832Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.0s [2023-12-18T23:48:19.195Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.3s [2023-12-18T23:48:25.867Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.6s done [2023-12-18T23:48:27.283Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e [2023-12-18T23:48:27.283Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-18T23:48:27.283Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-18T23:48:27.283Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-18T23:48:32.650Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s [2023-12-18T23:48:36.005Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done [2023-12-18T23:48:36.005Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-18T23:48:37.950Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done [2023-12-18T23:48:38.219Z] #4 DONE 35.6s [2023-12-18T23:48:38.489Z] [2023-12-18T23:48:38.489Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-18T23:48:39.071Z] #6 0.813 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-18T23:48:39.338Z] #6 1.184 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-18T23:48:40.752Z] #6 2.392 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-18T23:48:40.752Z] #6 2.415 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-18T23:48:40.752Z] #6 2.433 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-18T23:48:40.752Z] #6 2.513 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-18T23:48:41.029Z] #6 2.546 Executing busybox-1.36.1-r5.trigger [2023-12-18T23:48:41.029Z] #6 2.593 OK: 271 MiB in 56 packages [2023-12-18T23:48:43.621Z] #6 DONE 4.8s [2023-12-18T23:48:43.621Z] [2023-12-18T23:48:43.621Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-18T23:48:43.621Z] #7 DONE 0.1s [2023-12-18T23:48:43.621Z] [2023-12-18T23:48:43.621Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-18T23:48:43.621Z] #8 DONE 0.2s [2023-12-18T23:48:43.621Z] [2023-12-18T23:48:43.621Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-18T23:49:10.593Z] #9 DONE 25.6s [2023-12-18T23:49:10.593Z] [2023-12-18T23:49:10.593Z] #10 [builder 6/7] COPY . . [2023-12-18T23:49:10.593Z] #10 DONE 0.2s [2023-12-18T23:49:10.593Z] [2023-12-18T23:49:10.593Z] #11 [builder 7/7] RUN echo noop [2023-12-18T23:49:10.593Z] #11 0.654 noop [2023-12-18T23:49:10.593Z] #11 DONE 0.8s [2023-12-18T23:49:10.593Z] [2023-12-18T23:49:10.593Z] #12 exporting to image [2023-12-18T23:49:10.593Z] #12 exporting layers [2023-12-18T23:49:37.318Z] #12 exporting layers 24.5s done [2023-12-18T23:49:37.318Z] #12 writing image sha256:489786fbbc99209bbb261fd7fdd4a09b5898b02819cc2facbde44013b5caaa31 done [2023-12-18T23:49:37.318Z] #12 naming to docker.io/library/ci-base-image-arm64 0.0s done [2023-12-18T23:49:37.318Z] #12 DONE 24.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:49:37.919Z] + docker inspect -f . ci-base-image-arm64 [2023-12-18T23:49:37.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:49:38.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-25566 does not seem to be running inside a container [2023-12-18T23:49:38.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-18T23:49:39.736Z] $ docker top f6999aaab23692ae1c9aacec3ac139729223b8c5baca77b03b60a04924cf2a4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-18T23:49:40.717Z] + go version [2023-12-18T23:49:40.717Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-18T23:49:40.754Z] $ docker stop --time=1 f6999aaab23692ae1c9aacec3ac139729223b8c5baca77b03b60a04924cf2a4e [2023-12-18T23:49:45.232Z] $ docker rm -f --volumes f6999aaab23692ae1c9aacec3ac139729223b8c5baca77b03b60a04924cf2a4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:49:46.472Z] + docker inspect -f . ci-base-image-arm64 [2023-12-18T23:49:46.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:49:46.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-25566 does not seem to be running inside a container [2023-12-18T23:49:46.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-18T23:49:48.018Z] $ docker top 6174f6e62c8107c9cab24bc85b2dbf28ae4b9507ca33c60504fafbdbedc3f81a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-18T23:49:48.676Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-18T23:49:49.135Z] + make test [2023-12-18T23:49:49.411Z] go test ./... -coverprofile=coverage.out ./... [2023-12-18T23:49:54.794Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-18T23:51:03.064Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-18T23:51:03.064Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 33.2% of statements [2023-12-18T23:51:03.064Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-18T23:51:03.064Z] go vet ./... [2023-12-18T23:51:21.322Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-18T23:51:21.322Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-18T23:51:21.322Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-18T23:51:21.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-18T23:51:21.429Z] $ docker stop --time=1 6174f6e62c8107c9cab24bc85b2dbf28ae4b9507ca33c60504fafbdbedc3f81a [2023-12-18T23:51:23.446Z] $ docker rm -f --volumes 6174f6e62c8107c9cab24bc85b2dbf28ae4b9507ca33c60504fafbdbedc3f81a [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-18T23:51:24.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-18T23:51:25.018Z] Warning: overwriting stash ‘coverage-report’ [2023-12-18T23:51:25.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-18T23:51:26.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-18T23:51:26.912Z] + ls -al . [2023-12-18T23:51:26.912Z] total 176 [2023-12-18T23:51:26.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:49 . [2023-12-18T23:51:26.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:47 .. [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 18 23:47 .dockerignore [2023-12-18T23:51:26.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:47 .git [2023-12-18T23:51:26.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 .github [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 18 23:47 .gitignore [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:47 .golangci.yml [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 18 23:47 Attribution.txt [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 18 23:47 CHANGELOG.md [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 18 23:47 Dockerfile [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:47 GOVERNANCE.md [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 18 23:47 Jenkinsfile [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:47 LICENSE [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 18 23:47 Makefile [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 18 23:47 OWNERS.md [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 18 23:47 README.md [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:37 VERSION [2023-12-18T23:51:26.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:47 bin [2023-12-18T23:51:26.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 cmd [2023-12-18T23:51:26.912Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 18 23:51 coverage.out [2023-12-18T23:51:26.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:47 driver [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 18 23:47 go.mod [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 18 23:47 go.sum [2023-12-18T23:51:26.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 openapi [2023-12-18T23:51:26.912Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 18 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:51:27.439Z] + 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=cea1857acf47b58d4b77fdbce7fda449fa156310 --label arch=arm64 --label version=0.0.0 . [2023-12-18T23:51:28.419Z] #0 building with "default" instance using docker driver [2023-12-18T23:51:28.419Z] [2023-12-18T23:51:28.419Z] #1 [internal] load .dockerignore [2023-12-18T23:51:28.419Z] #1 transferring context: 193B 0.0s done [2023-12-18T23:51:28.419Z] #1 DONE 0.0s [2023-12-18T23:51:28.419Z] [2023-12-18T23:51:28.419Z] #2 [internal] load build definition from Dockerfile [2023-12-18T23:51:28.419Z] #2 transferring dockerfile: 1.73kB done [2023-12-18T23:51:28.419Z] #2 DONE 0.1s [2023-12-18T23:51:28.419Z] [2023-12-18T23:51:28.419Z] #3 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-18T23:51:28.419Z] #3 ... [2023-12-18T23:51:28.419Z] [2023-12-18T23:51:28.419Z] #4 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-18T23:51:28.419Z] #4 DONE 0.0s [2023-12-18T23:51:28.693Z] [2023-12-18T23:51:28.693Z] #3 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-18T23:51:28.693Z] #3 DONE 0.3s [2023-12-18T23:51:28.693Z] [2023-12-18T23:51:28.693Z] #5 [internal] load build context [2023-12-18T23:51:28.970Z] #5 transferring context: 16.04kB 0.0s done [2023-12-18T23:51:28.970Z] #5 DONE 0.1s [2023-12-18T23:51:28.970Z] [2023-12-18T23:51:28.970Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-18T23:51:28.970Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-18T23:51:29.246Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-18T23:51:29.246Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-18T23:51:29.246Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-18T23:51:29.246Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s [2023-12-18T23:51:29.246Z] #6 ... [2023-12-18T23:51:29.246Z] [2023-12-18T23:51:29.246Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-18T23:51:29.246Z] #7 DONE 0.4s [2023-12-18T23:51:29.246Z] [2023-12-18T23:51:29.246Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-18T23:51:29.246Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done [2023-12-18T23:51:29.246Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-18T23:51:29.838Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-18T23:51:30.108Z] #6 DONE 1.2s [2023-12-18T23:51:30.108Z] [2023-12-18T23:51:30.108Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-18T23:51:31.076Z] #8 0.894 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-18T23:51:31.350Z] #8 1.383 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-18T23:51:33.311Z] #8 2.974 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-18T23:51:33.311Z] #8 2.992 Executing busybox-1.36.1-r5.trigger [2023-12-18T23:51:33.311Z] #8 3.022 OK: 8 MiB in 16 packages [2023-12-18T23:51:33.311Z] #8 ... [2023-12-18T23:51:33.311Z] [2023-12-18T23:51:33.311Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-18T23:51:33.311Z] #9 1.773 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-18T23:51:33.311Z] #9 2.243 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-18T23:51:33.311Z] #9 3.857 OK: 271 MiB in 56 packages [2023-12-18T23:51:33.311Z] #9 DONE 4.2s [2023-12-18T23:51:33.580Z] [2023-12-18T23:51:33.580Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-18T23:51:33.580Z] #8 DONE 3.5s [2023-12-18T23:51:33.580Z] [2023-12-18T23:51:33.580Z] #10 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-18T23:51:33.851Z] #10 ... [2023-12-18T23:51:33.851Z] [2023-12-18T23:51:33.851Z] #11 [builder 3/7] WORKDIR /device-rest-go [2023-12-18T23:51:33.851Z] #11 DONE 0.2s [2023-12-18T23:51:33.851Z] [2023-12-18T23:51:33.851Z] #12 [builder 4/7] COPY go.mod vendor* ./ [2023-12-18T23:51:33.851Z] #12 DONE 0.2s [2023-12-18T23:51:33.851Z] [2023-12-18T23:51:33.851Z] #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-18T23:51:35.272Z] #13 DONE 1.6s [2023-12-18T23:51:35.272Z] [2023-12-18T23:51:35.272Z] #14 [builder 6/7] COPY . . [2023-12-18T23:51:35.569Z] #14 DONE 0.2s [2023-12-18T23:51:35.569Z] [2023-12-18T23:51:35.569Z] #15 [builder 7/7] RUN make build [2023-12-18T23:51:36.539Z] #15 0.774 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.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-18T23:51:37.131Z] #15 ... [2023-12-18T23:51:37.131Z] [2023-12-18T23:51:37.131Z] #10 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-18T23:51:37.131Z] #10 1.175 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-18T23:51:37.131Z] #10 1.608 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-18T23:51:37.131Z] #10 3.137 OK: 8 MiB in 16 packages [2023-12-18T23:51:37.131Z] #10 DONE 3.5s [2023-12-18T23:51:37.131Z] [2023-12-18T23:51:37.131Z] #15 [builder 7/7] RUN make build [2023-12-18T23:53:13.840Z] #15 DONE 89.1s [2023-12-18T23:53:13.840Z] [2023-12-18T23:53:13.840Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-18T23:53:13.840Z] #16 DONE 0.4s [2023-12-18T23:53:13.840Z] [2023-12-18T23:53:13.840Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-18T23:53:13.840Z] #17 DONE 0.2s [2023-12-18T23:53:13.840Z] [2023-12-18T23:53:13.840Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-18T23:53:13.840Z] #18 DONE 0.1s [2023-12-18T23:53:13.840Z] [2023-12-18T23:53:13.840Z] #19 exporting to image [2023-12-18T23:53:13.840Z] #19 exporting layers [2023-12-18T23:53:13.840Z] #19 exporting layers 0.3s done [2023-12-18T23:53:13.840Z] #19 writing image sha256:968396a465095fe2dc72338e0d0551935571343239744c0f3863765a934cdb3e done [2023-12-18T23:53:13.840Z] #19 naming to docker.io/library/device-rest-arm64 0.0s done [2023-12-18T23:53:13.840Z] #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:53:15.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-18T23:53:15.580Z] [2023-12-18T23:53:15.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:53:16.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-18T23:53:16.331Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-18T23:53:16.331Z] 8998bd30e6a1: Pulling fs layer [2023-12-18T23:53:16.331Z] 04944245beec: Pulling fs layer [2023-12-18T23:53:16.331Z] 699f458cf7ca: Pulling fs layer [2023-12-18T23:53:16.331Z] 765212b225bb: Pulling fs layer [2023-12-18T23:53:16.331Z] 765212b225bb: Waiting [2023-12-18T23:53:16.331Z] f23df028b6ca: Pulling fs layer [2023-12-18T23:53:16.331Z] f23df028b6ca: Waiting [2023-12-18T23:53:16.331Z] d65c8cfc05b1: Pulling fs layer [2023-12-18T23:53:16.331Z] d65c8cfc05b1: Waiting [2023-12-18T23:53:16.331Z] 2437ff75d9bd: Pulling fs layer [2023-12-18T23:53:16.331Z] 2437ff75d9bd: Waiting [2023-12-18T23:53:16.331Z] 04944245beec: Verifying Checksum [2023-12-18T23:53:16.331Z] 04944245beec: Download complete [2023-12-18T23:53:16.331Z] 765212b225bb: Verifying Checksum [2023-12-18T23:53:16.331Z] 765212b225bb: Download complete [2023-12-18T23:53:16.607Z] f23df028b6ca: Verifying Checksum [2023-12-18T23:53:16.607Z] f23df028b6ca: Download complete [2023-12-18T23:53:16.607Z] d65c8cfc05b1: Download complete [2023-12-18T23:53:16.607Z] 699f458cf7ca: Download complete [2023-12-18T23:53:17.203Z] 8998bd30e6a1: Verifying Checksum [2023-12-18T23:53:17.203Z] 8998bd30e6a1: Download complete [2023-12-18T23:53:19.165Z] 2437ff75d9bd: Verifying Checksum [2023-12-18T23:53:19.165Z] 2437ff75d9bd: Download complete [2023-12-18T23:53:24.532Z] 8998bd30e6a1: Pull complete [2023-12-18T23:53:29.892Z] 04944245beec: Pull complete [2023-12-18T23:53:31.313Z] 699f458cf7ca: Pull complete [2023-12-18T23:53:31.313Z] 765212b225bb: Pull complete [2023-12-18T23:53:32.279Z] f23df028b6ca: Pull complete [2023-12-18T23:53:32.279Z] d65c8cfc05b1: Pull complete [2023-12-18T23:53:58.995Z] 2437ff75d9bd: Pull complete [2023-12-18T23:53:58.995Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-18T23:53:58.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-18T23:53:58.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:53:59.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-25566 does not seem to be running inside a container [2023-12-18T23:53:59.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-12-18T23:54:01.888Z] $ docker top 85072d52cc5c6542bbc1892eb2f360b3e8653a29eb413325d8c0914bf9dc3baa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:02.541Z] ---> job-cost.sh [2023-12-18T23:54:02.811Z] lf-activate-venv: SKIPPING [2023-12-18T23:54:02.811Z] INFO: No Stack... [2023-12-18T23:54:03.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-18T23:54:04.048Z] INFO: Archiving Costs [Pipeline] sh [2023-12-18T23:54:04.403Z] + + catcut /w/workspace/device-rest-go/1/archives/cost.csv -d, [2023-12-18T23:54:04.403Z] -f6 [Pipeline] lock [2023-12-18T23:54:04.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] [2023-12-18T23:54:04.513Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] did not exist. Created. [2023-12-18T23:54:04.513Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-18T23:54:05.051Z] /w/workspace/device-rest-go/1@tmp/durable-57065b6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-18T23:54:05.401Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-18T23:54:05.440Z] Warning: overwriting stash ‘stack-cost’ [2023-12-18T23:54:05.492Z] Stashed 1 file(s) [Pipeline] } [2023-12-18T23:54:05.540Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-375-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-18T23:54:05.707Z] $ docker stop --time=1 85072d52cc5c6542bbc1892eb2f360b3e8653a29eb413325d8c0914bf9dc3baa [2023-12-18T23:54:07.161Z] $ docker rm -f --volumes 85072d52cc5c6542bbc1892eb2f360b3e8653a29eb413325d8c0914bf9dc3baa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-12-18T23:54:09.303Z] provisioning config files... [2023-12-18T23:54:09.310Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-375@tmp/config16963074475624987117tmp [Pipeline] { [Pipeline] sh [2023-12-18T23:54:09.745Z] + set +x [2023-12-18T23:54:09.745Z] + + curl -s https://codecov.io/bash [2023-12-18T23:54:09.745Z] bash -s -- [2023-12-18T23:54:09.745Z] [2023-12-18T23:54:09.746Z] _____ _ [2023-12-18T23:54:09.746Z] / ____| | | [2023-12-18T23:54:09.746Z] | | ___ __| | ___ ___ _____ __ [2023-12-18T23:54:09.746Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-18T23:54:09.746Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-18T23:54:09.746Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-18T23:54:09.746Z] Bash-1.0.6 [2023-12-18T23:54:09.746Z] [2023-12-18T23:54:09.746Z] [2023-12-18T23:54:09.746Z] ==> git version 2.25.1 found [2023-12-18T23:54:09.746Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-12-18T23:54:09.746Z] Release-Date: 2020-01-08 [2023-12-18T23:54:09.746Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-18T23:54:09.746Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-18T23:54:09.746Z] ==> Jenkins CI detected. [2023-12-18T23:54:09.746Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-375 [2023-12-18T23:54:09.746Z] project root: . [2023-12-18T23:54:09.746Z] --> token set from env [2023-12-18T23:54:09.746Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-18T23:54:09.746Z] ==> Running gcov in . (disable via -X gcov) [2023-12-18T23:54:09.746Z] ==> Python coveragepy not found [2023-12-18T23:54:09.746Z] ==> Searching for coverage reports in: [2023-12-18T23:54:09.746Z] + . [2023-12-18T23:54:09.746Z] -> Found 1 reports [2023-12-18T23:54:09.746Z] ==> Detecting git/mercurial file structure [2023-12-18T23:54:09.746Z] ==> Reading reports [2023-12-18T23:54:09.746Z] + ./coverage.out bytes=14499 [2023-12-18T23:54:09.746Z] ==> Appending adjustments [2023-12-18T23:54:09.746Z] https://docs.codecov.io/docs/fixing-reports [2023-12-18T23:54:10.006Z] + Found adjustments [2023-12-18T23:54:10.006Z] ==> Gzipping contents [2023-12-18T23:54:10.006Z] 4.0K /tmp/codecov.HhiYHP.gz [2023-12-18T23:54:10.006Z] ==> Uploading reports [2023-12-18T23:54:10.006Z] url: https://codecov.io [2023-12-18T23:54:10.006Z] query: branch=PR-375&commit=cea1857acf47b58d4b77fdbce7fda449fa156310&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-375%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=375&job=&cmd_args= [2023-12-18T23:54:10.006Z] -> Pinging Codecov [2023-12-18T23:54:10.006Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-375&commit=cea1857acf47b58d4b77fdbce7fda449fa156310&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-375%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=375&job=&cmd_args= [2023-12-18T23:54:10.006Z] -> Uploading to [2023-12-18T23:54:10.006Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-18/4E5D53B4F1F92C436F7061BF334D961C/cea1857acf47b58d4b77fdbce7fda449fa156310/897e6b5b-4653-4879-a2c2-928f0257e608.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231218T235409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc216168b1cbe9586ff2e23bc59db9c38133acea4e5d5926da5832d13aff6449 [2023-12-18T23:54:10.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-18T23:54:10.006Z] Dload Upload Total Spent Left Speed [2023-12-18T23:54:10.267Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10361 --:--:-- --:--:-- --:--:-- 10408 [2023-12-18T23:54:10.267Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/cea1857acf47b58d4b77fdbce7fda449fa156310 [Pipeline] } [2023-12-18T23:54:10.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-18T23:54:13.692Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-375/archives ] [2023-12-18T23:54:13.692Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-375/archives [2023-12-18T23:54:13.692Z] total 16 [2023-12-18T23:54:13.692Z] drwxr-xr-x 3 root root 4096 Dec 18 23:39 . [2023-12-18T23:54:13.692Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:39 .. [2023-12-18T23:54:13.692Z] drwxr-xr-x 2 root root 4096 Dec 18 23:39 cost [2023-12-18T23:54:13.692Z] -rw-r--r-- 1 root root 86 Dec 18 23:39 cost.csv [2023-12-18T23:54:13.692Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-375/archives [2023-12-18T23:54:13.692Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-375/archives [2023-12-18T23:54:13.692Z] total 16 [2023-12-18T23:54:13.692Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:39 . [2023-12-18T23:54:13.692Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:39 .. [2023-12-18T23:54:13.692Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 23:39 cost [2023-12-18T23:54:13.692Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 18 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:14.031Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:14.930Z] ---> package-listing.sh [2023-12-18T23:54:14.930Z] ++ facter osfamily [2023-12-18T23:54:14.930Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-18T23:54:15.191Z] + OS_FAMILY=debian [2023-12-18T23:54:15.191Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-375 [2023-12-18T23:54:15.191Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-18T23:54:15.191Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-18T23:54:15.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-18T23:54:15.191Z] + PACKAGES=/tmp/packages_start.txt [2023-12-18T23:54:15.191Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-375 ']' [2023-12-18T23:54:15.191Z] + PACKAGES=/tmp/packages_end.txt [2023-12-18T23:54:15.191Z] + case "${OS_FAMILY}" in [2023-12-18T23:54:15.191Z] + dpkg -l [2023-12-18T23:54:15.191Z] + grep '^ii' [2023-12-18T23:54:15.191Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-18T23:54:15.191Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-18T23:54:15.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-18T23:54:15.191Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-375 ']' [2023-12-18T23:54:15.191Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-375/archives/ [2023-12-18T23:54:15.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-375/archives/ [Pipeline] echo [2023-12-18T23:54:15.233Z] 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-375/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-18T23:54:15.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-18T23:54:16.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-18T23:54:16.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-18T23:54:16.479Z] prd-ubuntu20.04-docker-8c-8g-25348 does not seem to be running inside a container [2023-12-18T23:54:16.512Z] $ 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-375/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-375 -v /w/workspace/gexfoundry_device-rest-go_PR-375:/w/workspace/gexfoundry_device-rest-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-375@tmp:/w/workspace/gexfoundry_device-rest-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-18T23:54:16.696Z] $ docker top 66b842f8b1738f922a2285b747355acd6008e9f0b697aee544952ba962cc48bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-18T23:54:17.176Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-18T23:54:17.485Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-18T23:54:17.795Z] + ls /var/log/sa-host [2023-12-18T23:54:17.795Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-18T23:54:17.982Z] provisioning config files... [2023-12-18T23:54:17.989Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-375@tmp/config4177656258593927978tmp [Pipeline] { [Pipeline] echo [2023-12-18T23:54:18.151Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:18.475Z] ---> create-netrc.sh [Pipeline] } [2023-12-18T23:54:18.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:19.030Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-18T23:54:19.063Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:19.379Z] ---> sudo-logs.sh [2023-12-18T23:54:19.379Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-18T23:54:19.550Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:19.860Z] ---> job-cost.sh [2023-12-18T23:54:19.860Z] lf-activate-venv: SKIPPING [2023-12-18T23:54:19.860Z] DEBUG: total: 0.2199999988079071 [2023-12-18T23:54:19.860Z] INFO: Retrieving Stack Cost... [2023-12-18T23:54:20.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-18T23:54:20.380Z] INFO: Archiving Costs [Pipeline] echo [2023-12-18T23:54:20.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-18T23:54:20.730Z] ---> logs-deploy.sh [2023-12-18T23:54:20.730Z] lf-activate-venv: SKIPPING [2023-12-18T23:54:20.730Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-375/1 [2023-12-18T23:54:20.730Z] INFO: archiving workspace using pattern(s): [2023-12-18T23:54:21.670Z] Archives upload complete. [2023-12-18T23:54:21.670Z] INFO: archiving logs to Nexus