Pull request #377 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31c8860b20509faeaf00a7d8d0ac5130bcf38919+cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (3567b5a14544a8acea4cba1783084ec63c973361) 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-ssh15500567445637259016.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-ssh11950064518501353500.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-377/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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh687963142079145470.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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14798181625445721576.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-ssh3129963167562505655.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-377/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-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13363521817730169720.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26328 in /w/workspace/gexfoundry_device-rest-go_PR-377 [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-377 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 31c8860b20509faeaf00a7d8d0ac5130bcf38919 Merge succeeded, producing 31c8860b20509faeaf00a7d8d0ac5130bcf38919 Checking out Revision 31c8860b20509faeaf00a7d8d0ac5130bcf38919 (PR-377) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # 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 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-28T20:09:40.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-28T20:09:40.464Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-28T20:09:40.588Z] ========================================================= [2023-12-28T20:09:40.588Z] EdgeX Global Pipelines Version Info [2023-12-28T20:09:40.588Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:09:41.327Z] ------------------- [2023-12-28T20:09:41.327Z] stable info: [2023-12-28T20:09:41.327Z] ------------------- [2023-12-28T20:09:41.328Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-28T20:09:41.328Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-28T20:09:41.328Z] Message: update stable to v1.0.258 [2023-12-28T20:09:41.900Z] ------------------- [2023-12-28T20:09:41.900Z] experimental info: [2023-12-28T20:09:41.900Z] ------------------- [2023-12-28T20:09:41.900Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-28T20:09:41.900Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-28T20:09:41.900Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-28T20:09:42.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-28T20:09:42.170Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-28T20:09:42.228Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-28T20:09:42.290Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-28T20:09:42.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-28T20:09:42.418Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-28T20:09:42.486Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-28T20:09:42.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-28T20:09:42.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-28T20:09:42.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-28T20:09:42.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-28T20:09:42.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-28T20:09:42.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-28T20:09:42.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-28T20:09:42.998Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-28T20:09:43.062Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-28T20:09:43.135Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-28T20:09:43.203Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-28T20:09:43.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-28T20:09:43.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-28T20:09:43.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-28T20:09:43.486Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-28T20:09:43.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-28T20:09:43.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-28T20:09:43.690Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-28T20:09:43.764Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-28T20:09:43.841Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-28T20:09:43.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo [2023-12-28T20:09:43.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo [2023-12-28T20:09:44.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo [2023-12-28T20:09:44.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo [2023-12-28T20:09:44.226Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31c8860 [Pipeline] echo [2023-12-28T20:09:44.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-28T20:09:44.492Z] provisioning config files... [2023-12-28T20:09:44.506Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config7568312203494345596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:09:44.916Z] ---> ****-login.sh [2023-12-28T20:09:44.916Z] nexus3.edgexfoundry.org:10001 [2023-12-28T20:09:45.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:09:45.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:09:45.177Z] Configure a credential helper to remove this warning. See [2023-12-28T20:09:45.177Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:09:45.177Z] [2023-12-28T20:09:45.177Z] Login Succeeded [2023-12-28T20:09:45.177Z] nexus3.edgexfoundry.org:10002 [2023-12-28T20:09:45.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:09:45.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:09:45.439Z] Configure a credential helper to remove this warning. See [2023-12-28T20:09:45.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:09:45.439Z] [2023-12-28T20:09:45.439Z] Login Succeeded [2023-12-28T20:09:45.439Z] nexus3.edgexfoundry.org:10003 [2023-12-28T20:09:45.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:09:45.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:09:45.439Z] Configure a credential helper to remove this warning. See [2023-12-28T20:09:45.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:09:45.439Z] [2023-12-28T20:09:45.439Z] Login Succeeded [2023-12-28T20:09:45.439Z] nexus3.edgexfoundry.org:10004 [2023-12-28T20:09:45.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:09:45.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:09:45.700Z] Configure a credential helper to remove this warning. See [2023-12-28T20:09:45.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:09:45.700Z] [2023-12-28T20:09:45.700Z] Login Succeeded [2023-12-28T20:09:45.700Z] ****.io [2023-12-28T20:09:45.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:09:45.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:09:45.961Z] Configure a credential helper to remove this warning. See [2023-12-28T20:09:45.961Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:09:45.961Z] [2023-12-28T20:09:45.961Z] Login Succeeded [2023-12-28T20:09:45.961Z] ---> ****-login.sh ends [Pipeline] } [2023-12-28T20:09:45.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-28T20:09:46.767Z] + git rev-list -1 --merges 31c8860b20509faeaf00a7d8d0ac5130bcf38919~1..31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo [2023-12-28T20:09:46.815Z] -----------> git rev-list -1 --merges 31c8860b20509faeaf00a7d8d0ac5130bcf38919~1..31c8860b20509faeaf00a7d8d0ac5130bcf38919 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [false] [Pipeline] sh [2023-12-28T20:09:47.145Z] + git log --format=format:%s -1 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo [2023-12-28T20:09:47.186Z] ========================================================= [2023-12-28T20:09:47.186Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-28T20:09:47.186Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-28T20:09:47.705Z] + git log --format=format:%s -1 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo [2023-12-28T20:09:47.738Z] [semverPrep] GIT_COMMIT: 31c8860b20509faeaf00a7d8d0ac5130bcf38919, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-12-28T20:09:47.788Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-28T20:09:48.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-28T20:09:48.217Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-28T20:09:48.217Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-28T20:09:48.217Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-28T20:09:48.217Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-28T20:09:48.217Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-28T20:09:48.217Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:09:48.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-28T20:09:48.766Z] [2023-12-28T20:09:48.766Z] 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-28T20:09:49.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-28T20:09:49.172Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-28T20:09:49.172Z] b85a868b505f: Pulling fs layer [2023-12-28T20:09:49.172Z] e2be974225ed: Pulling fs layer [2023-12-28T20:09:49.172Z] 339a4e72a1f5: Pulling fs layer [2023-12-28T20:09:49.172Z] 988bab9f4d93: Pulling fs layer [2023-12-28T20:09:49.172Z] 1469e6f7b9e6: Pulling fs layer [2023-12-28T20:09:49.172Z] eaf3925da568: Pulling fs layer [2023-12-28T20:09:49.172Z] bab4dde63d76: Pulling fs layer [2023-12-28T20:09:49.172Z] bde34c3a00c8: Pulling fs layer [2023-12-28T20:09:49.172Z] eaf3925da568: Waiting [2023-12-28T20:09:49.172Z] bab4dde63d76: Waiting [2023-12-28T20:09:49.172Z] b352a97aabf1: Pulling fs layer [2023-12-28T20:09:49.172Z] 4872d77fe225: Pulling fs layer [2023-12-28T20:09:49.172Z] bde34c3a00c8: Waiting [2023-12-28T20:09:49.172Z] b352a97aabf1: Waiting [2023-12-28T20:09:49.172Z] 5851b861e8e6: Pulling fs layer [2023-12-28T20:09:49.172Z] 4872d77fe225: Waiting [2023-12-28T20:09:49.172Z] 5851b861e8e6: Waiting [2023-12-28T20:09:49.172Z] e2be974225ed: Verifying Checksum [2023-12-28T20:09:49.172Z] e2be974225ed: Download complete [2023-12-28T20:09:49.172Z] 988bab9f4d93: Verifying Checksum [2023-12-28T20:09:49.172Z] 988bab9f4d93: Download complete [2023-12-28T20:09:49.432Z] 339a4e72a1f5: Verifying Checksum [2023-12-28T20:09:49.432Z] 339a4e72a1f5: Download complete [2023-12-28T20:09:49.432Z] eaf3925da568: Verifying Checksum [2023-12-28T20:09:49.432Z] eaf3925da568: Download complete [2023-12-28T20:09:49.432Z] 1469e6f7b9e6: Verifying Checksum [2023-12-28T20:09:49.432Z] 1469e6f7b9e6: Download complete [2023-12-28T20:09:49.432Z] bde34c3a00c8: Verifying Checksum [2023-12-28T20:09:49.432Z] bde34c3a00c8: Download complete [2023-12-28T20:09:49.432Z] 4872d77fe225: Verifying Checksum [2023-12-28T20:09:49.432Z] 4872d77fe225: Download complete [2023-12-28T20:09:49.432Z] 5851b861e8e6: Download complete [2023-12-28T20:09:49.432Z] b85a868b505f: Verifying Checksum [2023-12-28T20:09:49.432Z] b85a868b505f: Download complete [2023-12-28T20:09:49.691Z] bab4dde63d76: Verifying Checksum [2023-12-28T20:09:49.691Z] bab4dde63d76: Download complete [2023-12-28T20:09:50.629Z] b85a868b505f: Pull complete [2023-12-28T20:09:50.888Z] e2be974225ed: Pull complete [2023-12-28T20:09:51.457Z] 339a4e72a1f5: Pull complete [2023-12-28T20:09:51.457Z] 988bab9f4d93: Pull complete [2023-12-28T20:09:51.716Z] 1469e6f7b9e6: Pull complete [2023-12-28T20:09:51.717Z] eaf3925da568: Pull complete [2023-12-28T20:09:53.634Z] bab4dde63d76: Pull complete [2023-12-28T20:09:53.634Z] bde34c3a00c8: Pull complete [2023-12-28T20:09:53.895Z] b352a97aabf1: Pull complete [2023-12-28T20:09:53.895Z] 4872d77fe225: Pull complete [2023-12-28T20:09:54.468Z] 5851b861e8e6: Pull complete [2023-12-28T20:09:54.468Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-28T20:09:54.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-28T20:09:54.728Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:09:55.088Z] prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container [2023-12-28T20:09:55.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-28T20:10:07.040Z] $ docker top a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 -eo pid,comm [2023-12-28T20:10:07.126Z] 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-28T20:10:07.126Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-28T20:10:07.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-28T20:10:07.325Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-28T20:10:07.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-28T20:10:07.444Z] $ docker exec a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent [2023-12-28T20:10:07.550Z] SSH_AUTH_SOCK=/tmp/ssh-W8jvRUHkvTR9/agent.14 [2023-12-28T20:10:07.550Z] SSH_AGENT_PID=20 [2023-12-28T20:10:07.556Z] Running ssh-add (command line suppressed) [2023-12-28T20:10:07.659Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_12374067710247915061.key (/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_12374067710247915061.key) [2023-12-28T20:10:07.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-28T20:10:08.034Z] + git tag --points-at HEAD [Pipeline] } [2023-12-28T20:10:08.065Z] $ docker exec --env ******** --env ******** a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent -k [2023-12-28T20:10:08.165Z] unset SSH_AUTH_SOCK; [2023-12-28T20:10:08.165Z] unset SSH_AGENT_PID; [2023-12-28T20:10:08.165Z] echo Agent pid 20 killed; [2023-12-28T20:10:08.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-28T20:10:08.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-28T20:10:08.317Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-28T20:10:08.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-28T20:10:08.435Z] $ docker exec a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent [2023-12-28T20:10:08.543Z] SSH_AUTH_SOCK=/tmp/ssh-wXC9NyRmNWsm/agent.70 [2023-12-28T20:10:08.543Z] SSH_AGENT_PID=76 [2023-12-28T20:10:08.548Z] Running ssh-add (command line suppressed) [2023-12-28T20:10:08.640Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_3500029206530360209.key (/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_3500029206530360209.key) [2023-12-28T20:10:08.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-28T20:10:09.007Z] + git semver init [2023-12-28T20:10:09.268Z] 2023-12-28 20:10:09,191 [run_init] DEBUG init version:0.0.0 force:False [2023-12-28T20:10:09.268Z] 2023-12-28 20:10:09,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-377/.semver [2023-12-28T20:10:09.268Z] 2023-12-28 20:10:09,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-377/.semver [2023-12-28T20:10:09.268Z] 2023-12-28 20:10:09,194 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-377/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-377, universal_newlines=False, shell=None, istream=None) [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,609 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-377/.git/info/exclude [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-377/.semver/PR-377 with force:False [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,610 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-377/.semver/PR-377 [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,615 [execute] INFO git cat-file --batch-check [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,620 [execute] INFO git cat-file --batch [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) [2023-12-28T20:10:10.651Z] 2023-12-28 20:10:10,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-377/.semver/PR-377 [2023-12-28T20:10:10.651Z] 0.0.0 [Pipeline] } [2023-12-28T20:10:10.683Z] $ docker exec --env ******** --env ******** a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent -k [2023-12-28T20:10:10.779Z] unset SSH_AUTH_SOCK; [2023-12-28T20:10:10.780Z] unset SSH_AGENT_PID; [2023-12-28T20:10:10.780Z] echo Agent pid 76 killed; [2023-12-28T20:10:10.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-28T20:10:11.344Z] + git semver [Pipeline] } [2023-12-28T20:10:11.639Z] $ docker stop --time=1 a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 [2023-12-28T20:10:13.110Z] $ docker rm -f --volumes a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-28T20:10:13.575Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-28T20:10:13.924Z] Stashed 1 file(s) [Pipeline] echo [2023-12-28T20:10:13.944Z] [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-28T20:10:14.939Z] provisioning config files... [2023-12-28T20:10:14.948Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config16091835305587742446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:10:15.358Z] ---> ****-login.sh [2023-12-28T20:10:15.358Z] nexus3.edgexfoundry.org:10001 [2023-12-28T20:10:15.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:10:15.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:10:15.359Z] Configure a credential helper to remove this warning. See [2023-12-28T20:10:15.359Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:10:15.359Z] [2023-12-28T20:10:15.359Z] Login Succeeded [2023-12-28T20:10:15.359Z] nexus3.edgexfoundry.org:10002 [2023-12-28T20:10:15.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:10:15.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:10:15.359Z] Configure a credential helper to remove this warning. See [2023-12-28T20:10:15.359Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:10:15.359Z] [2023-12-28T20:10:15.359Z] Login Succeeded [2023-12-28T20:10:15.359Z] nexus3.edgexfoundry.org:10003 [2023-12-28T20:10:15.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:10:15.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:10:15.621Z] Configure a credential helper to remove this warning. See [2023-12-28T20:10:15.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:10:15.621Z] [2023-12-28T20:10:15.621Z] Login Succeeded [2023-12-28T20:10:15.621Z] nexus3.edgexfoundry.org:10004 [2023-12-28T20:10:15.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:10:15.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:10:15.622Z] Configure a credential helper to remove this warning. See [2023-12-28T20:10:15.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:10:15.622Z] [2023-12-28T20:10:15.622Z] Login Succeeded [2023-12-28T20:10:15.622Z] ****.io [2023-12-28T20:10:15.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:10:15.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:10:15.882Z] Configure a credential helper to remove this warning. See [2023-12-28T20:10:15.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:10:15.882Z] [2023-12-28T20:10:15.882Z] Login Succeeded [2023-12-28T20:10:15.882Z] ---> ****-login.sh ends [Pipeline] } [2023-12-28T20:10:15.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-28T20:10:16.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T20:10:16.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T20:10:16.436Z] ========================================================= [2023-12-28T20:10:16.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-28T20:10:16.436Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:10:17.033Z] + 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-28T20:10:17.033Z] Sending build context to Docker daemon 16.31MB [2023-12-28T20:10:17.033Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-28T20:10:17.033Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-28T20:10:17.033Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-28T20:10:17.033Z] 7264a8db6415: Pulling fs layer [2023-12-28T20:10:17.033Z] c4d48a809fc2: Pulling fs layer [2023-12-28T20:10:17.033Z] 4f1c88b9dad5: Pulling fs layer [2023-12-28T20:10:17.033Z] ad3a456e5733: Pulling fs layer [2023-12-28T20:10:17.033Z] 69c7f0334f64: Pulling fs layer [2023-12-28T20:10:17.033Z] 1f1c1a5573a3: Pulling fs layer [2023-12-28T20:10:17.033Z] ce7588e14bc9: Pulling fs layer [2023-12-28T20:10:17.033Z] b5e4710f87ac: Pulling fs layer [2023-12-28T20:10:17.033Z] 69c7f0334f64: Waiting [2023-12-28T20:10:17.033Z] 1f1c1a5573a3: Waiting [2023-12-28T20:10:17.033Z] ce7588e14bc9: Waiting [2023-12-28T20:10:17.033Z] b5e4710f87ac: Waiting [2023-12-28T20:10:17.033Z] ad3a456e5733: Waiting [2023-12-28T20:10:17.033Z] c4d48a809fc2: Download complete [2023-12-28T20:10:17.033Z] ad3a456e5733: Verifying Checksum [2023-12-28T20:10:17.033Z] ad3a456e5733: Download complete [2023-12-28T20:10:17.319Z] 69c7f0334f64: Verifying Checksum [2023-12-28T20:10:17.319Z] 69c7f0334f64: Download complete [2023-12-28T20:10:17.319Z] 7264a8db6415: Verifying Checksum [2023-12-28T20:10:17.319Z] 7264a8db6415: Download complete [2023-12-28T20:10:17.319Z] 1f1c1a5573a3: Verifying Checksum [2023-12-28T20:10:17.319Z] 1f1c1a5573a3: Download complete [2023-12-28T20:10:17.579Z] b5e4710f87ac: Verifying Checksum [2023-12-28T20:10:17.579Z] b5e4710f87ac: Download complete [2023-12-28T20:10:17.579Z] 7264a8db6415: Pull complete [2023-12-28T20:10:17.579Z] c4d48a809fc2: Pull complete [2023-12-28T20:10:17.840Z] 4f1c88b9dad5: Verifying Checksum [2023-12-28T20:10:17.840Z] 4f1c88b9dad5: Download complete [2023-12-28T20:10:18.106Z] ce7588e14bc9: Verifying Checksum [2023-12-28T20:10:18.106Z] ce7588e14bc9: Download complete [2023-12-28T20:10:21.397Z] 4f1c88b9dad5: Pull complete [2023-12-28T20:10:21.397Z] ad3a456e5733: Pull complete [2023-12-28T20:10:21.397Z] 69c7f0334f64: Pull complete [2023-12-28T20:10:21.397Z] 1f1c1a5573a3: Pull complete [2023-12-28T20:10:23.931Z] ce7588e14bc9: Pull complete [2023-12-28T20:10:24.498Z] b5e4710f87ac: Pull complete [2023-12-28T20:10:24.498Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-28T20:10:24.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-28T20:10:24.498Z] ---> 88b5674ff536 [2023-12-28T20:10:24.498Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-28T20:10:29.653Z] Still waiting to schedule task [2023-12-28T20:10:29.653Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-28T20:10:32.631Z] ---> Running in 138ee90224ce [2023-12-28T20:10:32.631Z] Removing intermediate container 138ee90224ce [2023-12-28T20:10:32.631Z] ---> 0ebff25d95d8 [2023-12-28T20:10:32.631Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-28T20:10:32.631Z] ---> Running in d465221776e7 [2023-12-28T20:10:32.631Z] Removing intermediate container d465221776e7 [2023-12-28T20:10:32.631Z] ---> 8092f7025097 [2023-12-28T20:10:32.631Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-28T20:10:32.631Z] ---> Running in f9b58095e9fb [2023-12-28T20:10:32.631Z] Removing intermediate container f9b58095e9fb [2023-12-28T20:10:32.631Z] ---> 930677d4f1aa [2023-12-28T20:10:32.631Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-28T20:10:32.631Z] ---> Running in d62e473d4eae [2023-12-28T20:10:32.631Z] Removing intermediate container d62e473d4eae [2023-12-28T20:10:32.631Z] ---> f04bd18ce9aa [2023-12-28T20:10:32.631Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-28T20:10:32.631Z] ---> Running in 199f95f3d790 [2023-12-28T20:10:32.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T20:10:32.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T20:10:32.894Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2023-12-28T20:10:32.894Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-28T20:10:32.894Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2023-12-28T20:10:32.894Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2023-12-28T20:10:32.894Z] Executing busybox-1.36.1-r5.trigger [2023-12-28T20:10:32.894Z] OK: 268 MiB in 56 packages [2023-12-28T20:10:33.463Z] Removing intermediate container 199f95f3d790 [2023-12-28T20:10:33.463Z] ---> 7ebfc7b72666 [2023-12-28T20:10:33.463Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-28T20:10:33.463Z] ---> Running in 4599ea6c0298 [2023-12-28T20:10:33.722Z] Removing intermediate container 4599ea6c0298 [2023-12-28T20:10:33.722Z] ---> cfb8ff019d92 [2023-12-28T20:10:33.722Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-28T20:10:33.722Z] ---> e65950d1e960 [2023-12-28T20:10:33.722Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T20:10:33.722Z] ---> Running in a50caddd3664 [2023-12-28T20:11:29.992Z] Removing intermediate container a50caddd3664 [2023-12-28T20:11:29.992Z] ---> dd83d59de7b3 [2023-12-28T20:11:29.992Z] Step 11/12 : COPY . . [2023-12-28T20:11:29.992Z] ---> 734fdbd0ca7d [2023-12-28T20:11:29.992Z] Step 12/12 : RUN $MAKE [2023-12-28T20:11:29.992Z] ---> Running in 6087fd5497f6 [2023-12-28T20:11:29.992Z] noop [2023-12-28T20:11:29.992Z] Removing intermediate container 6087fd5497f6 [2023-12-28T20:11:29.992Z] ---> 69e8cfe9d669 [2023-12-28T20:11:29.992Z] Successfully built 69e8cfe9d669 [2023-12-28T20:11:29.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:11:30.521Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-28T20:11:30.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:11:30.731Z] prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container [2023-12-28T20:11:30.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-28T20:11:31.110Z] $ docker top 3cdf105126ec232e37a05c97416e18c0a0771204d537e842b79ec1c36e8128d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T20:11:31.562Z] + go version [2023-12-28T20:11:31.562Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-28T20:11:31.600Z] $ docker stop --time=1 3cdf105126ec232e37a05c97416e18c0a0771204d537e842b79ec1c36e8128d8 [2023-12-28T20:11:32.869Z] $ docker rm -f --volumes 3cdf105126ec232e37a05c97416e18c0a0771204d537e842b79ec1c36e8128d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:11:33.803Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-28T20:11:33.803Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:11:34.020Z] prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container [2023-12-28T20:11:34.057Z] $ 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-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-28T20:11:34.416Z] $ docker top 55502b1c520943755036327193a10eb23967e97839f8701888e21530ac968b13 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T20:11:34.856Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-377 [Pipeline] fileExists [Pipeline] sh [2023-12-28T20:11:35.254Z] + make test [2023-12-28T20:11:35.254Z] go test ./... -coverprofile=coverage.out ./... [2023-12-28T20:11:37.158Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-28T20:11:47.166Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-28T20:11:47.166Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-12-28T20:11:52.433Z] go vet ./... [2023-12-28T20:11:55.712Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-28T20:11:55.712Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-28T20:11:55.712Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-28T20:11:55.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-28T20:11:55.824Z] $ docker stop --time=1 55502b1c520943755036327193a10eb23967e97839f8701888e21530ac968b13 [2023-12-28T20:11:59.366Z] $ docker rm -f --volumes 55502b1c520943755036327193a10eb23967e97839f8701888e21530ac968b13 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-28T20:11:59.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-28T20:12:00.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-28T20:12:00.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-28T20:12:01.183Z] + ls -al . [2023-12-28T20:12:01.183Z] total 180 [2023-12-28T20:12:01.183Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 28 20:11 . [2023-12-28T20:12:01.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 20:09 .. [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 28 20:09 .dockerignore [2023-12-28T20:12:01.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 20:11 .git [2023-12-28T20:12:01.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:09 .github [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 28 20:09 .gitignore [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 20:09 .golangci.yml [2023-12-28T20:12:01.183Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 20:10 .semver [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 28 20:09 Attribution.txt [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 28 20:09 CHANGELOG.md [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 28 20:09 Dockerfile [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 20:09 GOVERNANCE.md [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 28 20:09 Jenkinsfile [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 20:09 LICENSE [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 28 20:09 Makefile [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 28 20:09 OWNERS.md [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 28 20:09 README.md [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 20:10 VERSION [2023-12-28T20:12:01.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:09 bin [2023-12-28T20:12:01.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:09 cmd [2023-12-28T20:12:01.183Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 28 20:11 coverage.out [2023-12-28T20:12:01.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:09 driver [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 28 20:09 go.mod [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 34593 Dec 28 20:09 go.sum [2023-12-28T20:12:01.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:09 openapi [2023-12-28T20:12:01.183Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 28 20:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:12:01.642Z] + 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=31c8860b20509faeaf00a7d8d0ac5130bcf38919 --label arch=amd64 --label version=0.0.0 . [2023-12-28T20:12:01.643Z] Sending build context to Docker daemon 16.33MB [2023-12-28T20:12:01.643Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-28T20:12:01.643Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-28T20:12:01.643Z] ---> 69e8cfe9d669 [2023-12-28T20:12:01.643Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-28T20:12:01.903Z] ---> Running in d7c1ba57fe01 [2023-12-28T20:12:02.164Z] Removing intermediate container d7c1ba57fe01 [2023-12-28T20:12:02.164Z] ---> 305c8d199952 [2023-12-28T20:12:02.164Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-28T20:12:02.164Z] ---> Running in 08b83bdecd50 [2023-12-28T20:12:02.164Z] Removing intermediate container 08b83bdecd50 [2023-12-28T20:12:02.164Z] ---> 00506e29746a [2023-12-28T20:12:02.164Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-28T20:12:02.164Z] ---> Running in 4df1269c21ea [2023-12-28T20:12:02.423Z] Removing intermediate container 4df1269c21ea [2023-12-28T20:12:02.423Z] ---> e12c4eee76b9 [2023-12-28T20:12:02.423Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-28T20:12:02.423Z] ---> Running in a81d793d2139 [2023-12-28T20:12:02.423Z] Removing intermediate container a81d793d2139 [2023-12-28T20:12:02.423Z] ---> 8dc8f334bdb7 [2023-12-28T20:12:02.423Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-28T20:12:02.423Z] ---> Running in 8208f61f3c02 [2023-12-28T20:12:02.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T20:12:02.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T20:12:03.203Z] OK: 268 MiB in 56 packages [2023-12-28T20:12:03.773Z] Removing intermediate container 8208f61f3c02 [2023-12-28T20:12:03.773Z] ---> ed46d376c5ea [2023-12-28T20:12:03.773Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-28T20:12:03.773Z] ---> Running in 882fc8a95db5 [2023-12-28T20:12:03.773Z] Removing intermediate container 882fc8a95db5 [2023-12-28T20:12:03.773Z] ---> 1ac87445d8c6 [2023-12-28T20:12:03.773Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-28T20:12:03.773Z] ---> 636fe7c1aa4a [2023-12-28T20:12:03.773Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T20:12:03.773Z] ---> Running in 6641bb6055e9 [2023-12-28T20:12:04.340Z] Removing intermediate container 6641bb6055e9 [2023-12-28T20:12:04.341Z] ---> 44d11fce3029 [2023-12-28T20:12:04.341Z] Step 11/26 : COPY . . [2023-12-28T20:12:05.277Z] ---> 3340770cddf3 [2023-12-28T20:12:05.277Z] Step 12/26 : RUN $MAKE [2023-12-28T20:12:05.277Z] ---> Running in a65a3688cf6e [2023-12-28T20:12:05.277Z] 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.5" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-28T20:12:11.562Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26329 in /w/workspace/gexfoundry_device-rest-go_PR-377 [Pipeline] { [Pipeline] ws [2023-12-28T20:12:11.665Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-12-28T20:12:14.798Z] The recommended git tool is: git [2023-12-28T20:12:22.942Z] using credential edgex-jenkins-ssh [2023-12-28T20:12:22.958Z] Cloning the remote Git repository [2023-12-28T20:12:22.997Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-28T20:12:23.090Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-12-28T20:12:23.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-28T20:12:23.220Z] > git --version # timeout=10 [2023-12-28T20:12:23.238Z] > git --version # 'git version 2.25.1' [2023-12-28T20:12:23.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-28T20:12:23.373Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-28T20:12:25.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-28T20:12:25.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-28T20:12:27.231Z] Removing intermediate container a65a3688cf6e [2023-12-28T20:12:27.232Z] ---> c83c79c111c1 [2023-12-28T20:12:27.232Z] Step 13/26 : FROM alpine:3.18 [2023-12-28T20:12:27.232Z] 3.18: Pulling from library/alpine [2023-12-28T20:12:27.232Z] c926b61bad3b: Pulling fs layer [2023-12-28T20:12:27.232Z] c926b61bad3b: Download complete [2023-12-28T20:12:27.232Z] c926b61bad3b: Pull complete [2023-12-28T20:12:27.232Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T20:12:27.232Z] Status: Downloaded newer image for alpine:3.18 [2023-12-28T20:12:27.232Z] ---> b541f2080109 [2023-12-28T20:12:27.232Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-28T20:12:27.232Z] ---> Running in 23ae18d48798 [2023-12-28T20:12:27.232Z] Removing intermediate container 23ae18d48798 [2023-12-28T20:12:27.232Z] ---> e2c4e2295dbc [2023-12-28T20:12:27.232Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-28T20:12:27.232Z] ---> Running in d0785f5473dc [2023-12-28T20:12:27.232Z] Removing intermediate container d0785f5473dc [2023-12-28T20:12:27.232Z] ---> 2849a02f1fe1 [2023-12-28T20:12:27.232Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-28T20:12:27.232Z] ---> Running in 7351f44cd17a [2023-12-28T20:12:27.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T20:12:27.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T20:12:27.232Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-28T20:12:27.232Z] Executing busybox-1.36.1-r5.trigger [2023-12-28T20:12:27.232Z] OK: 7 MiB in 16 packages [2023-12-28T20:12:27.232Z] Removing intermediate container 7351f44cd17a [2023-12-28T20:12:27.232Z] ---> 32091eb73165 [2023-12-28T20:12:27.232Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-28T20:12:27.232Z] ---> Running in b5fae0e32d55 [2023-12-28T20:12:27.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T20:12:27.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T20:12:27.232Z] OK: 7 MiB in 16 packages [2023-12-28T20:12:27.318Z] Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [2023-12-28T20:12:27.547Z] Merge succeeded, producing 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [2023-12-28T20:12:27.547Z] Checking out Revision 31c8860b20509faeaf00a7d8d0ac5130bcf38919 (PR-377) [2023-12-28T20:12:26.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-28T20:12:26.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-28T20:12:26.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-28T20:12:26.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-28T20:12:27.333Z] > git config core.sparsecheckout # timeout=10 [2023-12-28T20:12:27.399Z] > git checkout -f 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # timeout=10 [2023-12-28T20:12:27.470Z] > git remote # timeout=10 [2023-12-28T20:12:27.487Z] > git config --get remote.origin.url # timeout=10 [2023-12-28T20:12:27.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-28T20:12:27.511Z] > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 [2023-12-28T20:12:27.533Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-28T20:12:27.552Z] > git config core.sparsecheckout # timeout=10 [2023-12-28T20:12:27.563Z] > git checkout -f 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # timeout=10 [2023-12-28T20:12:27.800Z] Removing intermediate container b5fae0e32d55 [2023-12-28T20:12:27.800Z] ---> 7e0e317c0e61 [2023-12-28T20:12:27.800Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-28T20:12:28.030Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-12-28T20:12:28.075Z] > git --version # timeout=10 [2023-12-28T20:12:28.085Z] > git --version # 'git version 2.25.1' [2023-12-28T20:12:28.096Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-28T20:12:28.368Z] ---> 449aead69881 [2023-12-28T20:12:28.368Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-28T20:12:28.368Z] ---> aec393a6e65f [2023-12-28T20:12:28.368Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { [2023-12-28T20:12:28.630Z] ---> 3edfbdc3427e [2023-12-28T20:12:28.630Z] Step 21/26 : EXPOSE 59986 [2023-12-28T20:12:28.630Z] ---> Running in 972e9dcbaeeb [2023-12-28T20:12:28.630Z] Removing intermediate container 972e9dcbaeeb [2023-12-28T20:12:28.630Z] ---> 42db62a08aa7 [2023-12-28T20:12:28.630Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-28T20:12:28.630Z] ---> Running in 6bdc0c733994 [2023-12-28T20:12:28.630Z] Removing intermediate container 6bdc0c733994 [2023-12-28T20:12:28.630Z] ---> 642755d3ed6a [2023-12-28T20:12:28.630Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-28T20:12:28.630Z] ---> Running in cbf35829c45d [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-12-28T20:12:28.889Z] Removing intermediate container cbf35829c45d [2023-12-28T20:12:28.889Z] ---> 1bd86526a04f [2023-12-28T20:12:28.889Z] Step 24/26 : LABEL arch=amd64 [2023-12-28T20:12:28.889Z] ---> Running in ea04e6d4ae93 [2023-12-28T20:12:28.889Z] Removing intermediate container ea04e6d4ae93 [2023-12-28T20:12:28.889Z] ---> 144e558e8505 [2023-12-28T20:12:28.889Z] Step 25/26 : LABEL git_sha=31c8860b20509faeaf00a7d8d0ac5130bcf38919 [2023-12-28T20:12:28.889Z] ---> Running in d8f4d4893c2a [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-28T20:12:29.151Z] Removing intermediate container d8f4d4893c2a [2023-12-28T20:12:29.151Z] ---> b0e1c5f396fb [2023-12-28T20:12:29.151Z] Step 26/26 : LABEL version=0.0.0 [2023-12-28T20:12:29.151Z] ---> Running in 8f14b81406fb [2023-12-28T20:12:29.151Z] Removing intermediate container 8f14b81406fb [2023-12-28T20:12:29.151Z] ---> ab822d0f9649 [2023-12-28T20:12:29.151Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-28T20:12:29.151Z] Successfully built ab822d0f9649 [2023-12-28T20:12:29.151Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-12-28T20:12:29.490Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-28T20:12:29.490Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-28T20:12:29.490Z] Dload Upload Total Spent Left Speed [2023-12-28T20:12:29.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 84546 [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2023-12-28T20:12:29.883Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2023-12-28T20:12:30.287Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-28T20:12:30.288Z] + sudo tee /etc/docker/daemon.new [2023-12-28T20:12:30.288Z] { [2023-12-28T20:12:30.288Z] "registry-mirrors": [ [2023-12-28T20:12:30.288Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-28T20:12:30.288Z] ], [2023-12-28T20:12:30.288Z] "bip": "10.250.0.254/24", [2023-12-28T20:12:30.288Z] "hosts": [ [2023-12-28T20:12:30.288Z] "tcp://0.0.0.0:5555", [2023-12-28T20:12:30.288Z] "unix:///var/run/docker.sock" [2023-12-28T20:12:30.288Z] ], [2023-12-28T20:12:30.288Z] "mtu": 1458, [2023-12-28T20:12:30.288Z] "selinux-enabled": true, [2023-12-28T20:12:30.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-28T20:12:30.288Z] } Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:12:30.676Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-28T20:12:30.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T20:12:30.950Z] [2023-12-28T20:12:30.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:12:31.109Z] + sudo service docker restart [2023-12-28T20:12:31.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T20:12:31.375Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-28T20:12:31.375Z] 5eb5b503b376: Pulling fs layer [2023-12-28T20:12:31.375Z] 5c69ac0246d0: Pulling fs layer [2023-12-28T20:12:31.375Z] ec43610c2a17: Pulling fs layer [2023-12-28T20:12:31.375Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-28T20:12:31.375Z] 33b1e0a273af: Pulling fs layer [2023-12-28T20:12:31.375Z] 5d3b04190fa2: Pulling fs layer [2023-12-28T20:12:31.375Z] 2f39f015ded8: Pulling fs layer [2023-12-28T20:12:31.375Z] 3a2ae6a8a46f: Waiting [2023-12-28T20:12:31.375Z] 33b1e0a273af: Waiting [2023-12-28T20:12:31.375Z] 5d3b04190fa2: Waiting [2023-12-28T20:12:31.375Z] 2f39f015ded8: Waiting [2023-12-28T20:12:31.375Z] 5c69ac0246d0: Verifying Checksum [2023-12-28T20:12:31.375Z] 5c69ac0246d0: Download complete [2023-12-28T20:12:31.375Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-28T20:12:31.375Z] 3a2ae6a8a46f: Download complete [2023-12-28T20:12:31.634Z] 33b1e0a273af: Verifying Checksum [2023-12-28T20:12:31.634Z] 33b1e0a273af: Download complete [2023-12-28T20:12:31.634Z] 5d3b04190fa2: Download complete [2023-12-28T20:12:31.634Z] ec43610c2a17: Verifying Checksum [2023-12-28T20:12:31.634Z] ec43610c2a17: Download complete [2023-12-28T20:12:31.634Z] 5eb5b503b376: Verifying Checksum [2023-12-28T20:12:31.634Z] 5eb5b503b376: Download complete [2023-12-28T20:12:32.204Z] 2f39f015ded8: Download complete [2023-12-28T20:12:32.769Z] 5eb5b503b376: Pull complete [2023-12-28T20:12:32.769Z] 5c69ac0246d0: Pull complete [2023-12-28T20:12:33.336Z] ec43610c2a17: Pull complete [2023-12-28T20:12:33.336Z] 3a2ae6a8a46f: Pull complete [2023-12-28T20:12:33.594Z] 33b1e0a273af: Pull complete [2023-12-28T20:12:33.594Z] 5d3b04190fa2: Pull complete [2023-12-28T20:12:37.779Z] 2f39f015ded8: Pull complete [2023-12-28T20:12:37.779Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-28T20:12:37.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T20:12:37.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:12:38.138Z] prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container [2023-12-28T20:12:38.176Z] $ 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-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@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-28T20:12:44.143Z] $ docker top 0a6b88005533d6fe9566ed5c633fe306a2826888c208f196ae5bb85f4b908cd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:12:44.680Z] ---> job-cost.sh [2023-12-28T20:12:44.680Z] lf-activate-venv: SKIPPING [2023-12-28T20:12:44.680Z] INFO: No Stack... [2023-12-28T20:12:45.247Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-28T20:12:45.506Z] INFO: Archiving Costs [Pipeline] sh [2023-12-28T20:12:45.827Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-377/archives/cost.csv [2023-12-28T20:12:45.827Z] + cut -d, -f6 [Pipeline] lock [2023-12-28T20:12:45.875Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [2023-12-28T20:12:45.880Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] did not exist. Created. [2023-12-28T20:12:45.880Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-28T20:12:46.356Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-28T20:12:46.409Z] Stashed 1 file(s) [Pipeline] } [2023-12-28T20:12:46.483Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-28T20:12:46.650Z] $ docker stop --time=1 0a6b88005533d6fe9566ed5c633fe306a2826888c208f196ae5bb85f4b908cd2 [2023-12-28T20:12:47.789Z] $ docker rm -f --volumes 0a6b88005533d6fe9566ed5c633fe306a2826888c208f196ae5bb85f4b908cd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-28T20:12:53.302Z] provisioning config files... [2023-12-28T20:12:53.329Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1701188763146625154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:12:53.828Z] ---> ****-login.sh [2023-12-28T20:12:53.828Z] nexus3.edgexfoundry.org:10001 [2023-12-28T20:12:54.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:12:54.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:12:54.364Z] Configure a credential helper to remove this warning. See [2023-12-28T20:12:54.364Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:12:54.364Z] [2023-12-28T20:12:54.364Z] Login Succeeded [2023-12-28T20:12:54.364Z] nexus3.edgexfoundry.org:10002 [2023-12-28T20:12:54.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:12:54.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:12:54.633Z] Configure a credential helper to remove this warning. See [2023-12-28T20:12:54.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:12:54.633Z] [2023-12-28T20:12:54.633Z] Login Succeeded [2023-12-28T20:12:54.633Z] nexus3.edgexfoundry.org:10003 [2023-12-28T20:12:54.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:12:54.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:12:54.904Z] Configure a credential helper to remove this warning. See [2023-12-28T20:12:54.905Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:12:54.905Z] [2023-12-28T20:12:54.905Z] Login Succeeded [2023-12-28T20:12:54.905Z] nexus3.edgexfoundry.org:10004 [2023-12-28T20:12:54.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:12:55.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:12:55.175Z] Configure a credential helper to remove this warning. See [2023-12-28T20:12:55.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:12:55.175Z] [2023-12-28T20:12:55.175Z] Login Succeeded [2023-12-28T20:12:55.175Z] ****.io [2023-12-28T20:12:55.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T20:12:55.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T20:12:55.443Z] Configure a credential helper to remove this warning. See [2023-12-28T20:12:55.443Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T20:12:55.443Z] [2023-12-28T20:12:55.443Z] Login Succeeded [2023-12-28T20:12:55.443Z] ---> ****-login.sh ends [Pipeline] } [2023-12-28T20:12:55.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-28T20:12:56.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T20:12:56.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T20:12:56.179Z] ========================================================= [2023-12-28T20:12:56.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-28T20:12:56.179Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:12:56.879Z] + 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-28T20:12:57.840Z] #0 building with "default" instance using docker driver [2023-12-28T20:12:57.840Z] [2023-12-28T20:12:57.840Z] #1 [internal] load build definition from Dockerfile [2023-12-28T20:12:57.840Z] #1 transferring dockerfile: 1.73kB 0.0s done [2023-12-28T20:12:57.840Z] #1 DONE 0.1s [2023-12-28T20:12:57.840Z] [2023-12-28T20:12:57.840Z] #2 [internal] load .dockerignore [2023-12-28T20:12:57.840Z] #2 transferring context: 193B 0.0s done [2023-12-28T20:12:57.840Z] #2 DONE 0.1s [2023-12-28T20:12:57.840Z] [2023-12-28T20:12:57.840Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-28T20:12:58.107Z] #3 DONE 0.1s [2023-12-28T20:12:58.107Z] [2023-12-28T20:12:58.107Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-28T20:12:58.107Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-28T20:12:58.376Z] #4 ... [2023-12-28T20:12:58.376Z] [2023-12-28T20:12:58.376Z] #5 [internal] load build context [2023-12-28T20:12:58.376Z] #5 transferring context: 95.80kB 0.0s done [2023-12-28T20:12:58.376Z] #5 DONE 0.1s [2023-12-28T20:12:58.376Z] [2023-12-28T20:12:58.376Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-28T20:12:58.376Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 3.15MB / 63.99MB 0.2s [2023-12-28T20:12:58.376Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-28T20:12:58.376Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done [2023-12-28T20:12:58.376Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-28T20:12:58.376Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-28T20:12:58.376Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-28T20:12:58.376Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done [2023-12-28T20:12:58.376Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 0B / 440B 0.2s [2023-12-28T20:12:58.376Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.2s [2023-12-28T20:12:58.376Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.56MB / 63.99MB 0.3s [2023-12-28T20:12:58.376Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-28T20:12:58.376Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s [2023-12-28T20:12:58.646Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.53MB / 63.99MB 0.4s [2023-12-28T20:12:58.646Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.35MB / 97.63MB 0.4s [2023-12-28T20:12:58.646Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.4s [2023-12-28T20:12:58.646Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s [2023-12-28T20:12:58.646Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s [2023-12-28T20:12:58.916Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.6s [2023-12-28T20:12:58.916Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2023-12-28T20:12:58.916Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.30MB / 97.63MB 0.6s [2023-12-28T20:12:58.916Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done [2023-12-28T20:12:58.916Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.19MB / 63.99MB 0.8s [2023-12-28T20:12:58.916Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s [2023-12-28T20:12:59.187Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 0.9s [2023-12-28T20:12:59.187Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s [2023-12-28T20:12:59.187Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-28T20:12:59.187Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.98MB / 63.99MB 1.1s [2023-12-28T20:12:59.187Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.55MB / 97.63MB 1.1s [2023-12-28T20:12:59.187Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-28T20:12:59.456Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.23MB / 63.99MB 1.2s [2023-12-28T20:12:59.456Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.3s [2023-12-28T20:12:59.456Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.68MB / 97.63MB 1.3s [2023-12-28T20:12:59.456Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.61MB / 63.99MB 1.4s [2023-12-28T20:12:59.456Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.4s [2023-12-28T20:12:59.726Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.5s [2023-12-28T20:12:59.726Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 1.7s [2023-12-28T20:12:59.995Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 1.8s [2023-12-28T20:12:59.995Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 1.9s [2023-12-28T20:13:00.263Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s [2023-12-28T20:13:03.607Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.8s done [2023-12-28T20:13:03.607Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.0s done [2023-12-28T20:13:03.607Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s [2023-12-28T20:13:08.951Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.4s [2023-12-28T20:13:14.295Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s [2023-12-28T20:13:19.633Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.3s done [2023-12-28T20:13:21.039Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-28T20:13:21.039Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-28T20:13:21.039Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-28T20:13:26.374Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-28T20:13:28.952Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.9s done [2023-12-28T20:13:32.296Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-28T20:13:33.705Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done [2023-12-28T20:13:33.975Z] #4 DONE 35.8s [2023-12-28T20:13:33.975Z] [2023-12-28T20:13:33.975Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-28T20:13:34.559Z] #6 0.664 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T20:13:35.140Z] #6 1.037 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T20:13:35.730Z] #6 1.965 (1/4) Installing openssh-keygen (9.3_p2-r1) [2023-12-28T20:13:35.730Z] #6 1.990 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-28T20:13:35.999Z] #6 2.003 (3/4) Installing openssh-client-common (9.3_p2-r1) [2023-12-28T20:13:35.999Z] #6 2.066 (4/4) Installing openssh-client-default (9.3_p2-r1) [2023-12-28T20:13:35.999Z] #6 2.094 Executing busybox-1.36.1-r5.trigger [2023-12-28T20:13:35.999Z] #6 2.128 OK: 271 MiB in 56 packages [2023-12-28T20:13:37.944Z] #6 DONE 3.9s [2023-12-28T20:13:37.944Z] [2023-12-28T20:13:37.944Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-28T20:13:37.944Z] #7 DONE 0.1s [2023-12-28T20:13:37.944Z] [2023-12-28T20:13:37.944Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-28T20:13:38.210Z] #8 DONE 0.1s [2023-12-28T20:13:38.210Z] [2023-12-28T20:13:38.210Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T20:14:00.274Z] #9 DONE 21.9s [2023-12-28T20:14:00.274Z] [2023-12-28T20:14:00.274Z] #10 [builder 6/7] COPY . . [2023-12-28T20:14:00.274Z] #10 DONE 0.1s [2023-12-28T20:14:00.274Z] [2023-12-28T20:14:00.274Z] #11 [builder 7/7] RUN echo noop [2023-12-28T20:14:00.862Z] #11 0.644 noop [2023-12-28T20:14:02.271Z] #11 DONE 2.0s [2023-12-28T20:14:02.271Z] [2023-12-28T20:14:02.271Z] #12 exporting to image [2023-12-28T20:14:02.271Z] #12 exporting layers [2023-12-28T20:14:24.372Z] #12 exporting layers 22.2s done [2023-12-28T20:14:24.372Z] #12 writing image sha256:900eacfa7106ad52fb765c7c16b66818aeede87eba6518cd18e58f57657eae74 done [2023-12-28T20:14:24.372Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-28T20:14:24.373Z] #12 DONE 22.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:14:25.005Z] + docker inspect -f . ci-base-image-arm64 [2023-12-28T20:14:25.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:14:25.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-26329 does not seem to be running inside a container [2023-12-28T20:14:25.414Z] $ 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-28T20:14:26.617Z] $ docker top 93a68201922df1137a84472cb6c91a9b7fe69f528a958bed203158619a9a995f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T20:14:27.221Z] + go version [2023-12-28T20:14:27.221Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-28T20:14:27.257Z] $ docker stop --time=1 93a68201922df1137a84472cb6c91a9b7fe69f528a958bed203158619a9a995f [2023-12-28T20:14:32.502Z] $ docker rm -f --volumes 93a68201922df1137a84472cb6c91a9b7fe69f528a958bed203158619a9a995f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:14:33.683Z] + docker inspect -f . ci-base-image-arm64 [2023-12-28T20:14:33.683Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:14:33.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-26329 does not seem to be running inside a container [2023-12-28T20:14:34.055Z] $ 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-28T20:14:34.944Z] $ docker top 0a7765f99e1d6b619602974552723f8aa1a9487e3daa98a247943ec868957fc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T20:14:35.538Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-28T20:14:35.992Z] + make test [2023-12-28T20:14:35.992Z] go test ./... -coverprofile=coverage.out ./... [2023-12-28T20:14:40.258Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-28T20:15:36.693Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-28T20:15:36.693Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements [2023-12-28T20:15:36.693Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-28T20:15:36.693Z] go vet ./... [2023-12-28T20:15:46.768Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-28T20:15:46.768Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-28T20:15:46.768Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-28T20:15:46.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-28T20:15:46.871Z] $ docker stop --time=1 0a7765f99e1d6b619602974552723f8aa1a9487e3daa98a247943ec868957fc6 [2023-12-28T20:15:48.736Z] $ docker rm -f --volumes 0a7765f99e1d6b619602974552723f8aa1a9487e3daa98a247943ec868957fc6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-28T20:15:49.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-28T20:15:49.983Z] Warning: overwriting stash ‘coverage-report’ [2023-12-28T20:15:50.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-28T20:15:51.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-28T20:15:51.569Z] + ls -al . [2023-12-28T20:15:51.569Z] total 176 [2023-12-28T20:15:51.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 20:14 . [2023-12-28T20:15:51.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 20:12 .. [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 28 20:12 .dockerignore [2023-12-28T20:15:51.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 20:12 .git [2023-12-28T20:15:51.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:12 .github [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 28 20:12 .gitignore [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 20:12 .golangci.yml [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 28 20:12 Attribution.txt [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 28 20:12 CHANGELOG.md [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 28 20:12 Dockerfile [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 20:12 GOVERNANCE.md [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 28 20:12 Jenkinsfile [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 20:12 LICENSE [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 28 20:12 Makefile [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 28 20:12 OWNERS.md [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 28 20:12 README.md [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 20:10 VERSION [2023-12-28T20:15:51.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:12 bin [2023-12-28T20:15:51.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:12 cmd [2023-12-28T20:15:51.569Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 28 20:15 coverage.out [2023-12-28T20:15:51.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:12 driver [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 28 20:12 go.mod [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 34593 Dec 28 20:12 go.sum [2023-12-28T20:15:51.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:12 openapi [2023-12-28T20:15:51.569Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 28 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:15:52.077Z] + 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=31c8860b20509faeaf00a7d8d0ac5130bcf38919 --label arch=arm64 --label version=0.0.0 . [2023-12-28T20:15:52.663Z] #0 building with "default" instance using docker driver [2023-12-28T20:15:52.663Z] [2023-12-28T20:15:52.663Z] #1 [internal] load .dockerignore [2023-12-28T20:15:52.663Z] #1 transferring context: 33B [2023-12-28T20:15:52.931Z] #1 transferring context: 193B 0.0s done [2023-12-28T20:15:52.931Z] #1 DONE 0.1s [2023-12-28T20:15:52.932Z] [2023-12-28T20:15:52.932Z] #2 [internal] load build definition from Dockerfile [2023-12-28T20:15:52.932Z] #2 transferring dockerfile: 1.73kB 0.0s done [2023-12-28T20:15:52.932Z] #2 DONE 0.0s [2023-12-28T20:15:52.932Z] [2023-12-28T20:15:52.932Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-28T20:15:52.932Z] #3 DONE 0.0s [2023-12-28T20:15:52.932Z] [2023-12-28T20:15:52.932Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-28T20:15:53.896Z] #4 DONE 0.9s [2023-12-28T20:15:53.896Z] [2023-12-28T20:15:53.896Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T20:15:53.896Z] #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-28T20:15:53.896Z] #5 ... [2023-12-28T20:15:53.896Z] [2023-12-28T20:15:53.896Z] #6 [internal] load build context [2023-12-28T20:15:53.896Z] #6 transferring context: 16.04kB 0.0s done [2023-12-28T20:15:53.896Z] #6 DONE 0.1s [2023-12-28T20:15:53.896Z] [2023-12-28T20:15:53.896Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T20:15:53.896Z] #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-28T20:15:53.896Z] #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-28T20:15:53.896Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s [2023-12-28T20:15:53.896Z] #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-28T20:15:53.896Z] #5 ... [2023-12-28T20:15:53.896Z] [2023-12-28T20:15:53.896Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-28T20:15:53.896Z] #7 DONE 0.2s [2023-12-28T20:15:53.896Z] [2023-12-28T20:15:53.896Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T20:15:53.896Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s [2023-12-28T20:15:54.164Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.3s done [2023-12-28T20:15:54.164Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-28T20:15:54.432Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2023-12-28T20:15:57.778Z] #5 ... [2023-12-28T20:15:57.778Z] [2023-12-28T20:15:57.778Z] #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-28T20:15:57.778Z] #8 0.735 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T20:15:57.778Z] #8 1.122 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T20:15:57.778Z] #8 2.144 OK: 271 MiB in 56 packages [2023-12-28T20:15:57.778Z] #8 DONE 3.5s [2023-12-28T20:15:57.778Z] [2023-12-28T20:15:57.778Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T20:15:57.778Z] #5 DONE 3.8s [2023-12-28T20:15:57.778Z] [2023-12-28T20:15:57.778Z] #9 [builder 3/7] WORKDIR /device-rest-go [2023-12-28T20:15:57.778Z] #9 DONE 0.1s [2023-12-28T20:15:57.778Z] [2023-12-28T20:15:57.778Z] #10 [builder 4/7] COPY go.mod vendor* ./ [2023-12-28T20:15:57.778Z] #10 DONE 0.2s [2023-12-28T20:15:57.778Z] [2023-12-28T20:15:57.778Z] #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T20:15:59.188Z] #11 DONE 1.2s [2023-12-28T20:15:59.188Z] [2023-12-28T20:15:59.188Z] #12 [builder 6/7] COPY . . [2023-12-28T20:15:59.188Z] #12 DONE 0.1s [2023-12-28T20:15:59.188Z] [2023-12-28T20:15:59.188Z] #13 [builder 7/7] RUN make build [2023-12-28T20:15:59.781Z] #13 0.707 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.5" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-28T20:16:00.051Z] #13 ... [2023-12-28T20:16:00.051Z] [2023-12-28T20:16:00.051Z] #14 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-28T20:16:00.051Z] #14 0.762 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T20:16:00.051Z] #14 1.079 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T20:16:00.051Z] #14 2.165 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-28T20:16:00.051Z] #14 2.179 Executing busybox-1.36.1-r5.trigger [2023-12-28T20:16:00.051Z] #14 2.202 OK: 8 MiB in 16 packages [2023-12-28T20:16:00.051Z] #14 DONE 2.5s [2023-12-28T20:16:00.321Z] [2023-12-28T20:16:00.321Z] #15 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-28T20:16:00.920Z] #15 0.838 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T20:16:01.188Z] #15 1.185 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T20:16:02.607Z] #15 2.235 OK: 8 MiB in 16 packages [2023-12-28T20:16:02.607Z] #15 DONE 2.5s [2023-12-28T20:16:02.607Z] [2023-12-28T20:16:02.607Z] #13 [builder 7/7] RUN make build [2023-12-28T20:17:10.475Z] #13 DONE 61.2s [2023-12-28T20:17:10.475Z] [2023-12-28T20:17:10.475Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-28T20:17:10.475Z] #16 DONE 0.2s [2023-12-28T20:17:10.475Z] [2023-12-28T20:17:10.475Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-28T20:17:10.475Z] #17 DONE 0.1s [2023-12-28T20:17:10.475Z] [2023-12-28T20:17:10.475Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-28T20:17:10.475Z] #18 DONE 0.1s [2023-12-28T20:17:10.475Z] [2023-12-28T20:17:10.475Z] #19 exporting to image [2023-12-28T20:17:10.475Z] #19 exporting layers [2023-12-28T20:17:10.475Z] #19 exporting layers 0.3s done [2023-12-28T20:17:10.475Z] #19 writing image sha256:0002ea9dec82e36a13c1e4cac20dee34de0456cc2b62448e72eb78a810ef9216 done [2023-12-28T20:17:10.475Z] #19 naming to docker.io/library/device-rest-arm64 done [2023-12-28T20:17:10.475Z] #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-28T20:17:11.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-28T20:17:11.808Z] [2023-12-28T20:17:11.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:17:12.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-28T20:17:12.258Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-28T20:17:12.258Z] 8998bd30e6a1: Pulling fs layer [2023-12-28T20:17:12.258Z] 04944245beec: Pulling fs layer [2023-12-28T20:17:12.258Z] 699f458cf7ca: Pulling fs layer [2023-12-28T20:17:12.258Z] 765212b225bb: Pulling fs layer [2023-12-28T20:17:12.258Z] f23df028b6ca: Pulling fs layer [2023-12-28T20:17:12.258Z] 765212b225bb: Waiting [2023-12-28T20:17:12.258Z] f23df028b6ca: Waiting [2023-12-28T20:17:12.258Z] d65c8cfc05b1: Pulling fs layer [2023-12-28T20:17:12.258Z] d65c8cfc05b1: Waiting [2023-12-28T20:17:12.258Z] 2437ff75d9bd: Pulling fs layer [2023-12-28T20:17:12.524Z] 04944245beec: Verifying Checksum [2023-12-28T20:17:12.525Z] 04944245beec: Download complete [2023-12-28T20:17:12.525Z] 765212b225bb: Download complete [2023-12-28T20:17:12.525Z] f23df028b6ca: Download complete [2023-12-28T20:17:12.525Z] d65c8cfc05b1: Verifying Checksum [2023-12-28T20:17:12.525Z] d65c8cfc05b1: Download complete [2023-12-28T20:17:12.525Z] 699f458cf7ca: Download complete [2023-12-28T20:17:13.105Z] 8998bd30e6a1: Download complete [2023-12-28T20:17:15.054Z] 2437ff75d9bd: Verifying Checksum [2023-12-28T20:17:15.054Z] 2437ff75d9bd: Download complete [2023-12-28T20:17:19.311Z] 8998bd30e6a1: Pull complete [2023-12-28T20:17:19.311Z] 04944245beec: Pull complete [2023-12-28T20:17:20.713Z] 699f458cf7ca: Pull complete [2023-12-28T20:17:20.713Z] 765212b225bb: Pull complete [2023-12-28T20:17:24.195Z] f23df028b6ca: Pull complete [2023-12-28T20:17:24.461Z] d65c8cfc05b1: Pull complete [2023-12-28T20:17:46.625Z] 2437ff75d9bd: Pull complete [2023-12-28T20:17:46.625Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-28T20:17:46.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-28T20:17:46.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:17:47.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-26329 does not seem to be running inside a container [2023-12-28T20:17:47.202Z] $ 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-28T20:17:49.046Z] $ docker top 00f8bd75b9f03d20b3ce1d39608c9a71cbd76aebd8bd8b57a1829b335390f2b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:17:49.707Z] ---> job-cost.sh [2023-12-28T20:17:49.976Z] lf-activate-venv: SKIPPING [2023-12-28T20:17:49.976Z] INFO: No Stack... [2023-12-28T20:17:50.247Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-28T20:17:50.829Z] INFO: Archiving Costs [Pipeline] sh [2023-12-28T20:17:51.163Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-12-28T20:17:51.163Z] + cut -d, -f6 [Pipeline] lock [2023-12-28T20:17:51.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [2023-12-28T20:17:51.246Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] did not exist. Created. [2023-12-28T20:17:51.247Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-28T20:17:51.753Z] /w/workspace/device-rest-go/1@tmp/durable-10b47e2a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-28T20:17:52.094Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-28T20:17:52.130Z] Warning: overwriting stash ‘stack-cost’ [2023-12-28T20:17:52.173Z] Stashed 1 file(s) [Pipeline] } [2023-12-28T20:17:52.224Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-28T20:17:52.406Z] $ docker stop --time=1 00f8bd75b9f03d20b3ce1d39608c9a71cbd76aebd8bd8b57a1829b335390f2b2 [2023-12-28T20:17:55.547Z] $ docker rm -f --volumes 00f8bd75b9f03d20b3ce1d39608c9a71cbd76aebd8bd8b57a1829b335390f2b2 [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-28T20:17:57.519Z] provisioning config files... [2023-12-28T20:17:57.529Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config7734001705439699536tmp [Pipeline] { [Pipeline] sh [2023-12-28T20:17:57.957Z] + set +x [2023-12-28T20:17:57.957Z] + curl -s https://codecov.io/bash [2023-12-28T20:17:57.957Z] + bash -s -- [2023-12-28T20:17:57.957Z] [2023-12-28T20:17:57.957Z] _____ _ [2023-12-28T20:17:57.957Z] / ____| | | [2023-12-28T20:17:57.957Z] | | ___ __| | ___ ___ _____ __ [2023-12-28T20:17:57.957Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-28T20:17:57.957Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-28T20:17:57.957Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-28T20:17:57.957Z] Bash-1.0.6 [2023-12-28T20:17:57.957Z] [2023-12-28T20:17:57.957Z] [2023-12-28T20:17:57.957Z] ==> git version 2.25.1 found [2023-12-28T20:17:57.957Z] ==> 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-28T20:17:57.957Z] Release-Date: 2020-01-08 [2023-12-28T20:17:57.957Z] 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-28T20:17:57.957Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-28T20:17:57.957Z] ==> Jenkins CI detected. [2023-12-28T20:17:57.957Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-377 [2023-12-28T20:17:57.957Z] project root: . [2023-12-28T20:17:57.957Z] --> token set from env [2023-12-28T20:17:57.957Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-28T20:17:57.957Z] ==> Running gcov in . (disable via -X gcov) [2023-12-28T20:17:57.957Z] ==> Python coveragepy not found [2023-12-28T20:17:57.957Z] ==> Searching for coverage reports in: [2023-12-28T20:17:57.957Z] + . [2023-12-28T20:17:57.957Z] -> Found 1 reports [2023-12-28T20:17:57.957Z] ==> Detecting git/mercurial file structure [2023-12-28T20:17:58.217Z] ==> Reading reports [2023-12-28T20:17:58.217Z] + ./coverage.out bytes=14499 [2023-12-28T20:17:58.217Z] ==> Appending adjustments [2023-12-28T20:17:58.217Z] https://docs.codecov.io/docs/fixing-reports [2023-12-28T20:17:58.217Z] + Found adjustments [2023-12-28T20:17:58.217Z] ==> Gzipping contents [2023-12-28T20:17:58.217Z] 4.0K /tmp/codecov.X6Usvs.gz [2023-12-28T20:17:58.217Z] ==> Uploading reports [2023-12-28T20:17:58.217Z] url: https://codecov.io [2023-12-28T20:17:58.217Z] query: branch=PR-377&commit=31c8860b20509faeaf00a7d8d0ac5130bcf38919&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=377&job=&cmd_args= [2023-12-28T20:17:58.217Z] -> Pinging Codecov [2023-12-28T20:17:58.217Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-377&commit=31c8860b20509faeaf00a7d8d0ac5130bcf38919&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=377&job=&cmd_args= [2023-12-28T20:17:58.478Z] -> Uploading to [2023-12-28T20:17:58.478Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-28/4E5D53B4F1F92C436F7061BF334D961C/31c8860b20509faeaf00a7d8d0ac5130bcf38919/5bfde06b-16c4-4fe2-8bd6-01177584fe11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T201758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33b6d6b1e0e9f15bc169188351a1b2bab09368382ebbff8fc8e2c3c8b741e252 [2023-12-28T20:17:58.478Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-28T20:17:58.478Z] Dload Upload Total Spent Left Speed [2023-12-28T20:17:58.739Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11158 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 9630 --:--:-- --:--:-- --:--:-- 9590 [2023-12-28T20:17:58.739Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] } [2023-12-28T20:17:58.766Z] 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-28T20:18:02.040Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-377/archives ] [2023-12-28T20:18:02.040Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-377/archives [2023-12-28T20:18:02.040Z] total 16 [2023-12-28T20:18:02.040Z] drwxr-xr-x 3 root root 4096 Dec 28 20:12 . [2023-12-28T20:18:02.040Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 20:12 .. [2023-12-28T20:18:02.040Z] drwxr-xr-x 2 root root 4096 Dec 28 20:12 cost [2023-12-28T20:18:02.040Z] -rw-r--r-- 1 root root 86 Dec 28 20:12 cost.csv [2023-12-28T20:18:02.040Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-377/archives [2023-12-28T20:18:02.040Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-377/archives [2023-12-28T20:18:02.040Z] total 16 [2023-12-28T20:18:02.040Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 20:12 . [2023-12-28T20:18:02.040Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 20:12 .. [2023-12-28T20:18:02.040Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 20:12 cost [2023-12-28T20:18:02.040Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 28 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:02.374Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:03.271Z] ---> package-listing.sh [2023-12-28T20:18:03.272Z] ++ facter osfamily [2023-12-28T20:18:03.272Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-28T20:18:03.532Z] + OS_FAMILY=debian [2023-12-28T20:18:03.532Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-377 [2023-12-28T20:18:03.532Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-28T20:18:03.532Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-28T20:18:03.532Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-28T20:18:03.532Z] + PACKAGES=/tmp/packages_start.txt [2023-12-28T20:18:03.532Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-377 ']' [2023-12-28T20:18:03.532Z] + PACKAGES=/tmp/packages_end.txt [2023-12-28T20:18:03.532Z] + case "${OS_FAMILY}" in [2023-12-28T20:18:03.532Z] + dpkg -l [2023-12-28T20:18:03.532Z] + grep '^ii' [2023-12-28T20:18:03.532Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-28T20:18:03.532Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-28T20:18:03.532Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-28T20:18:03.532Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-377 ']' [2023-12-28T20:18:03.532Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-377/archives/ [2023-12-28T20:18:03.532Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-377/archives/ [Pipeline] echo [2023-12-28T20:18:03.569Z] 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-28T20:18:03.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T20:18:04.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T20:18:04.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T20:18:04.792Z] prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container [2023-12-28T20:18:04.830Z] $ 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-377/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-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-28T20:18:05.066Z] $ docker top 6fd5c0bf2d6b7d07513868580681d2aed0143902cc8b71c12dfb150473d935d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T20:18:05.555Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-28T20:18:05.866Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-28T20:18:06.185Z] + ls /var/log/sa-host [2023-12-28T20:18:06.185Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-28T20:18:06.458Z] provisioning config files... [2023-12-28T20:18:06.467Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config3229061864899445796tmp [Pipeline] { [Pipeline] echo [2023-12-28T20:18:06.614Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:06.932Z] ---> create-netrc.sh [Pipeline] } [2023-12-28T20:18:06.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:07.461Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-28T20:18:07.497Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:07.811Z] ---> sudo-logs.sh [2023-12-28T20:18:07.811Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-28T20:18:07.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:08.272Z] ---> job-cost.sh [2023-12-28T20:18:08.272Z] lf-activate-venv: SKIPPING [2023-12-28T20:18:08.272Z] DEBUG: total: 0.2199999988079071 [2023-12-28T20:18:08.272Z] INFO: Retrieving Stack Cost... [2023-12-28T20:18:08.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-28T20:18:08.793Z] INFO: Archiving Costs [Pipeline] echo [2023-12-28T20:18:08.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T20:18:09.153Z] ---> logs-deploy.sh [2023-12-28T20:18:09.153Z] lf-activate-venv: SKIPPING [2023-12-28T20:18:09.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-377/1 [2023-12-28T20:18:09.153Z] INFO: archiving workspace using pattern(s): [2023-12-28T20:18:10.090Z] Archives upload complete. [2023-12-28T20:18:10.090Z] INFO: archiving logs to Nexus