Pull request #378 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f0224c78dace112ef91cc60376261b822d0c7bd+cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (597d565ad83b93998bc4f84d5d6bae1c21637fba) 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-ssh15086198282380708622.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-ssh8743705228993273865.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-378/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-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12135857775023054040.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-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12379524879192134505.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-ssh14161969905714844071.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-378/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-378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15452482177136298270.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-26404 in /w/workspace/gexfoundry_device-rest-go_PR-378 [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-378 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 1f0224c78dace112ef91cc60376261b822d0c7bd Merge succeeded, producing 1f0224c78dace112ef91cc60376261b822d0c7bd Checking out Revision 1f0224c78dace112ef91cc60376261b822d0c7bd (PR-378) 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 [Pipeline] } 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/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # 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 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-29T20:26:15.353Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-29T20:26:15.564Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-29T20:26:15.670Z] ========================================================= [2023-12-29T20:26:15.670Z] EdgeX Global Pipelines Version Info [2023-12-29T20:26:15.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:26:16.849Z] ------------------- [2023-12-29T20:26:16.849Z] stable info: [2023-12-29T20:26:16.849Z] ------------------- [2023-12-29T20:26:16.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-29T20:26:16.849Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-29T20:26:16.849Z] Message: update stable to v1.0.258 [2023-12-29T20:26:17.110Z] ------------------- [2023-12-29T20:26:17.110Z] experimental info: [2023-12-29T20:26:17.110Z] ------------------- [2023-12-29T20:26:17.110Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-29T20:26:17.110Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-29T20:26:17.110Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-29T20:26:17.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-29T20:26:17.415Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-29T20:26:17.475Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-29T20:26:17.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-29T20:26:17.598Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-29T20:26:17.660Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-29T20:26:17.716Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-29T20:26:17.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-29T20:26:17.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-29T20:26:17.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-29T20:26:17.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-29T20:26:18.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-29T20:26:18.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-29T20:26:18.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-29T20:26:18.235Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-29T20:26:18.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-29T20:26:18.368Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-29T20:26:18.435Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-29T20:26:18.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-29T20:26:18.576Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-29T20:26:18.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-29T20:26:18.713Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-29T20:26:18.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-29T20:26:18.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-29T20:26:18.923Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-29T20:26:18.996Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-29T20:26:19.071Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-29T20:26:19.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo [2023-12-29T20:26:19.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo [2023-12-29T20:26:19.303Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo [2023-12-29T20:26:19.386Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo [2023-12-29T20:26:19.462Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f0224c [Pipeline] echo [2023-12-29T20:26:19.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-29T20:26:19.713Z] provisioning config files... [2023-12-29T20:26:19.730Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config8435628418902691911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:26:20.132Z] ---> ****-login.sh [2023-12-29T20:26:20.132Z] nexus3.edgexfoundry.org:10001 [2023-12-29T20:26:20.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:20.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:20.652Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:20.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:20.652Z] [2023-12-29T20:26:20.652Z] Login Succeeded [2023-12-29T20:26:20.653Z] nexus3.edgexfoundry.org:10002 [2023-12-29T20:26:20.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:20.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:20.653Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:20.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:20.653Z] [2023-12-29T20:26:20.653Z] Login Succeeded [2023-12-29T20:26:20.653Z] nexus3.edgexfoundry.org:10003 [2023-12-29T20:26:20.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:20.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:20.653Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:20.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:20.653Z] [2023-12-29T20:26:20.653Z] Login Succeeded [2023-12-29T20:26:20.653Z] nexus3.edgexfoundry.org:10004 [2023-12-29T20:26:20.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:20.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:20.913Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:20.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:20.913Z] [2023-12-29T20:26:20.913Z] Login Succeeded [2023-12-29T20:26:20.913Z] ****.io [2023-12-29T20:26:20.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:21.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:21.175Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:21.176Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:21.176Z] [2023-12-29T20:26:21.176Z] Login Succeeded [2023-12-29T20:26:21.176Z] ---> ****-login.sh ends [Pipeline] } [2023-12-29T20:26:21.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-29T20:26:22.006Z] + git rev-list -1 --merges 1f0224c78dace112ef91cc60376261b822d0c7bd~1..1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo [2023-12-29T20:26:22.054Z] -----------> git rev-list -1 --merges 1f0224c78dace112ef91cc60376261b822d0c7bd~1..1f0224c78dace112ef91cc60376261b822d0c7bd 1f0224c78dace112ef91cc60376261b822d0c7bd [false] [Pipeline] sh [2023-12-29T20:26:22.382Z] + git log --format=format:%s -1 1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo [2023-12-29T20:26:22.463Z] ========================================================= [2023-12-29T20:26:22.463Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-29T20:26:22.463Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-29T20:26:22.944Z] + git log --format=format:%s -1 1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo [2023-12-29T20:26:22.978Z] [semverPrep] GIT_COMMIT: 1f0224c78dace112ef91cc60376261b822d0c7bd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-12-29T20:26:23.024Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-29T20:26:23.460Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-29T20:26:23.460Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-29T20:26:23.460Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-29T20:26:23.460Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-29T20:26:23.460Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-29T20:26:23.460Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-29T20:26:23.460Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:26:23.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-29T20:26:23.986Z] [2023-12-29T20:26:23.986Z] 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-29T20:26:24.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-29T20:26:24.400Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-29T20:26:24.400Z] b85a868b505f: Pulling fs layer [2023-12-29T20:26:24.400Z] e2be974225ed: Pulling fs layer [2023-12-29T20:26:24.400Z] 339a4e72a1f5: Pulling fs layer [2023-12-29T20:26:24.400Z] 988bab9f4d93: Pulling fs layer [2023-12-29T20:26:24.400Z] 1469e6f7b9e6: Pulling fs layer [2023-12-29T20:26:24.400Z] eaf3925da568: Pulling fs layer [2023-12-29T20:26:24.400Z] bab4dde63d76: Pulling fs layer [2023-12-29T20:26:24.400Z] bde34c3a00c8: Pulling fs layer [2023-12-29T20:26:24.400Z] b352a97aabf1: Pulling fs layer [2023-12-29T20:26:24.400Z] 4872d77fe225: Pulling fs layer [2023-12-29T20:26:24.400Z] 5851b861e8e6: Pulling fs layer [2023-12-29T20:26:24.400Z] eaf3925da568: Waiting [2023-12-29T20:26:24.400Z] bab4dde63d76: Waiting [2023-12-29T20:26:24.400Z] bde34c3a00c8: Waiting [2023-12-29T20:26:24.400Z] 5851b861e8e6: Waiting [2023-12-29T20:26:24.400Z] b352a97aabf1: Waiting [2023-12-29T20:26:24.400Z] 4872d77fe225: Waiting [2023-12-29T20:26:24.400Z] 988bab9f4d93: Waiting [2023-12-29T20:26:24.400Z] 1469e6f7b9e6: Waiting [2023-12-29T20:26:24.400Z] e2be974225ed: Download complete [2023-12-29T20:26:24.400Z] 988bab9f4d93: Verifying Checksum [2023-12-29T20:26:24.400Z] 988bab9f4d93: Download complete [2023-12-29T20:26:24.400Z] 1469e6f7b9e6: Verifying Checksum [2023-12-29T20:26:24.400Z] 1469e6f7b9e6: Download complete [2023-12-29T20:26:24.400Z] eaf3925da568: Download complete [2023-12-29T20:26:24.659Z] 339a4e72a1f5: Verifying Checksum [2023-12-29T20:26:24.659Z] 339a4e72a1f5: Download complete [2023-12-29T20:26:24.659Z] bde34c3a00c8: Verifying Checksum [2023-12-29T20:26:24.659Z] bde34c3a00c8: Download complete [2023-12-29T20:26:24.659Z] b352a97aabf1: Verifying Checksum [2023-12-29T20:26:24.659Z] b352a97aabf1: Download complete [2023-12-29T20:26:24.659Z] 4872d77fe225: Download complete [2023-12-29T20:26:24.659Z] 5851b861e8e6: Verifying Checksum [2023-12-29T20:26:24.659Z] 5851b861e8e6: Download complete [2023-12-29T20:26:24.659Z] b85a868b505f: Verifying Checksum [2023-12-29T20:26:24.659Z] b85a868b505f: Download complete [2023-12-29T20:26:24.919Z] bab4dde63d76: Verifying Checksum [2023-12-29T20:26:24.919Z] bab4dde63d76: Download complete [2023-12-29T20:26:25.856Z] b85a868b505f: Pull complete [2023-12-29T20:26:26.117Z] e2be974225ed: Pull complete [2023-12-29T20:26:26.376Z] 339a4e72a1f5: Pull complete [2023-12-29T20:26:26.636Z] 988bab9f4d93: Pull complete [2023-12-29T20:26:26.896Z] 1469e6f7b9e6: Pull complete [2023-12-29T20:26:26.896Z] eaf3925da568: Pull complete [2023-12-29T20:26:29.477Z] bab4dde63d76: Pull complete [2023-12-29T20:26:30.858Z] bde34c3a00c8: Pull complete [2023-12-29T20:26:31.800Z] b352a97aabf1: Pull complete [2023-12-29T20:26:32.060Z] 4872d77fe225: Pull complete [2023-12-29T20:26:32.319Z] 5851b861e8e6: Pull complete [2023-12-29T20:26:32.319Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-29T20:26:32.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-29T20:26:32.319Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:26:32.681Z] prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container [2023-12-29T20:26:32.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-29T20:26:38.421Z] $ docker top 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 -eo pid,comm [2023-12-29T20:26:38.469Z] 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-29T20:26:38.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-29T20:26:38.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-29T20:26:38.675Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-29T20:26:38.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-29T20:26:38.793Z] $ docker exec 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent [2023-12-29T20:26:38.892Z] SSH_AUTH_SOCK=/tmp/ssh-jKTf3AyW9ufY/agent.31 [2023-12-29T20:26:38.892Z] SSH_AGENT_PID=37 [2023-12-29T20:26:38.898Z] Running ssh-add (command line suppressed) [2023-12-29T20:26:38.996Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_2710414970285203864.key (/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_2710414970285203864.key) [2023-12-29T20:26:39.007Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-29T20:26:39.358Z] + git tag --points-at HEAD [Pipeline] } [2023-12-29T20:26:39.389Z] $ docker exec --env ******** --env ******** 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent -k [2023-12-29T20:26:39.479Z] unset SSH_AUTH_SOCK; [2023-12-29T20:26:39.479Z] unset SSH_AGENT_PID; [2023-12-29T20:26:39.479Z] echo Agent pid 37 killed; [2023-12-29T20:26:39.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-29T20:26:39.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-29T20:26:39.633Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-29T20:26:39.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-29T20:26:39.756Z] $ docker exec 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent [2023-12-29T20:26:39.856Z] SSH_AUTH_SOCK=/tmp/ssh-OmuFW3tThuVb/agent.69 [2023-12-29T20:26:39.856Z] SSH_AGENT_PID=75 [2023-12-29T20:26:39.861Z] Running ssh-add (command line suppressed) [2023-12-29T20:26:39.971Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_705345204974849387.key (/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_705345204974849387.key) [2023-12-29T20:26:39.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-29T20:26:40.337Z] + git semver init [2023-12-29T20:26:40.597Z] 2023-12-29 20:26:40,553 [run_init] DEBUG init version:0.0.0 force:False [2023-12-29T20:26:40.597Z] 2023-12-29 20:26:40,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-378/.semver [2023-12-29T20:26:40.597Z] 2023-12-29 20:26:40,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-378/.semver [2023-12-29T20:26:40.597Z] 2023-12-29 20:26:40,555 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-378, universal_newlines=False, shell=None, istream=None) [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,221 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-378/.git/info/exclude [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,222 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-378/.semver/PR-378 with force:False [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,222 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-378/.semver/PR-378 [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,226 [execute] INFO git cat-file --batch-check [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,232 [execute] INFO git cat-file --batch [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) [2023-12-29T20:26:42.514Z] 2023-12-29 20:26:42,237 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-378/.semver/PR-378 [2023-12-29T20:26:42.514Z] 0.0.0 [Pipeline] } [2023-12-29T20:26:42.541Z] $ docker exec --env ******** --env ******** 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent -k [2023-12-29T20:26:42.632Z] unset SSH_AUTH_SOCK; [2023-12-29T20:26:42.633Z] unset SSH_AGENT_PID; [2023-12-29T20:26:42.633Z] echo Agent pid 75 killed; [2023-12-29T20:26:42.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-29T20:26:43.163Z] + git semver [Pipeline] } [2023-12-29T20:26:43.450Z] $ docker stop --time=1 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 [2023-12-29T20:26:46.255Z] $ docker rm -f --volumes 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-29T20:26:47.060Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-29T20:26:47.394Z] Stashed 1 file(s) [Pipeline] echo [2023-12-29T20:26:47.410Z] [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-29T20:26:48.347Z] provisioning config files... [2023-12-29T20:26:48.356Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config9169061922628336928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:26:48.756Z] ---> ****-login.sh [2023-12-29T20:26:48.756Z] nexus3.edgexfoundry.org:10001 [2023-12-29T20:26:48.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:48.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:48.756Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:48.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:48.756Z] [2023-12-29T20:26:48.756Z] Login Succeeded [2023-12-29T20:26:48.756Z] nexus3.edgexfoundry.org:10002 [2023-12-29T20:26:48.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:48.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:48.756Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:48.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:48.756Z] [2023-12-29T20:26:48.756Z] Login Succeeded [2023-12-29T20:26:48.756Z] nexus3.edgexfoundry.org:10003 [2023-12-29T20:26:49.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:49.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:49.015Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:49.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:49.015Z] [2023-12-29T20:26:49.015Z] Login Succeeded [2023-12-29T20:26:49.015Z] nexus3.edgexfoundry.org:10004 [2023-12-29T20:26:49.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:49.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:49.015Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:49.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:49.015Z] [2023-12-29T20:26:49.015Z] Login Succeeded [2023-12-29T20:26:49.015Z] ****.io [2023-12-29T20:26:49.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:26:49.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:26:49.275Z] Configure a credential helper to remove this warning. See [2023-12-29T20:26:49.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:26:49.275Z] [2023-12-29T20:26:49.275Z] Login Succeeded [2023-12-29T20:26:49.275Z] ---> ****-login.sh ends [Pipeline] } [2023-12-29T20:26:49.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-29T20:26:49.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-29T20:26:49.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-29T20:26:49.767Z] ========================================================= [2023-12-29T20:26:49.767Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-29T20:26:49.767Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:26:50.359Z] + 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-29T20:26:50.359Z] Sending build context to Docker daemon 16.31MB [2023-12-29T20:26:50.359Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-29T20:26:50.359Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-29T20:26:50.359Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-29T20:26:50.359Z] 7264a8db6415: Pulling fs layer [2023-12-29T20:26:50.359Z] c4d48a809fc2: Pulling fs layer [2023-12-29T20:26:50.359Z] 4f1c88b9dad5: Pulling fs layer [2023-12-29T20:26:50.359Z] ad3a456e5733: Pulling fs layer [2023-12-29T20:26:50.359Z] 69c7f0334f64: Pulling fs layer [2023-12-29T20:26:50.359Z] 1f1c1a5573a3: Pulling fs layer [2023-12-29T20:26:50.359Z] ce7588e14bc9: Pulling fs layer [2023-12-29T20:26:50.359Z] b5e4710f87ac: Pulling fs layer [2023-12-29T20:26:50.359Z] ad3a456e5733: Waiting [2023-12-29T20:26:50.359Z] 69c7f0334f64: Waiting [2023-12-29T20:26:50.359Z] 1f1c1a5573a3: Waiting [2023-12-29T20:26:50.359Z] b5e4710f87ac: Waiting [2023-12-29T20:26:50.359Z] ce7588e14bc9: Waiting [2023-12-29T20:26:50.359Z] c4d48a809fc2: Download complete [2023-12-29T20:26:50.359Z] ad3a456e5733: Verifying Checksum [2023-12-29T20:26:50.359Z] ad3a456e5733: Download complete [2023-12-29T20:26:50.359Z] 69c7f0334f64: Verifying Checksum [2023-12-29T20:26:50.359Z] 69c7f0334f64: Download complete [2023-12-29T20:26:50.618Z] 7264a8db6415: Verifying Checksum [2023-12-29T20:26:50.618Z] 7264a8db6415: Download complete [2023-12-29T20:26:50.618Z] 1f1c1a5573a3: Verifying Checksum [2023-12-29T20:26:50.618Z] 1f1c1a5573a3: Download complete [2023-12-29T20:26:50.618Z] b5e4710f87ac: Verifying Checksum [2023-12-29T20:26:50.618Z] b5e4710f87ac: Download complete [2023-12-29T20:26:50.618Z] 7264a8db6415: Pull complete [2023-12-29T20:26:50.877Z] c4d48a809fc2: Pull complete [2023-12-29T20:26:51.136Z] 4f1c88b9dad5: Verifying Checksum [2023-12-29T20:26:51.136Z] 4f1c88b9dad5: Download complete [2023-12-29T20:26:51.393Z] ce7588e14bc9: Verifying Checksum [2023-12-29T20:26:53.925Z] 4f1c88b9dad5: Pull complete [2023-12-29T20:26:53.925Z] ad3a456e5733: Pull complete [2023-12-29T20:26:54.190Z] 69c7f0334f64: Pull complete [2023-12-29T20:26:54.191Z] 1f1c1a5573a3: Pull complete [2023-12-29T20:26:56.727Z] ce7588e14bc9: Pull complete [2023-12-29T20:26:56.987Z] b5e4710f87ac: Pull complete [2023-12-29T20:26:56.987Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-29T20:26:56.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-29T20:26:56.987Z] ---> 88b5674ff536 [2023-12-29T20:26:56.987Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-29T20:27:03.085Z] Still waiting to schedule task [2023-12-29T20:27:03.085Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-29T20:27:06.971Z] ---> Running in 378ac59bc5a0 [2023-12-29T20:27:06.971Z] Removing intermediate container 378ac59bc5a0 [2023-12-29T20:27:06.971Z] ---> a1c084aaa7fe [2023-12-29T20:27:06.971Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-29T20:27:06.971Z] ---> Running in 8f5d069571a0 [2023-12-29T20:27:06.971Z] Removing intermediate container 8f5d069571a0 [2023-12-29T20:27:06.971Z] ---> e8bc3aa5867c [2023-12-29T20:27:06.971Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-29T20:27:06.971Z] ---> Running in c50d0fe577a7 [2023-12-29T20:27:06.971Z] Removing intermediate container c50d0fe577a7 [2023-12-29T20:27:06.971Z] ---> aea5f769a723 [2023-12-29T20:27:06.971Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-29T20:27:06.971Z] ---> Running in 588612d4c9a0 [2023-12-29T20:27:06.971Z] Removing intermediate container 588612d4c9a0 [2023-12-29T20:27:06.971Z] ---> 8f649b9de421 [2023-12-29T20:27:06.971Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-29T20:27:06.971Z] ---> Running in f27b1e5593c4 [2023-12-29T20:27:06.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-29T20:27:06.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-29T20:27:07.231Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2023-12-29T20:27:07.231Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-29T20:27:07.231Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2023-12-29T20:27:07.231Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2023-12-29T20:27:07.231Z] Executing busybox-1.36.1-r5.trigger [2023-12-29T20:27:07.493Z] OK: 268 MiB in 56 packages [2023-12-29T20:27:08.061Z] Removing intermediate container f27b1e5593c4 [2023-12-29T20:27:08.061Z] ---> 382443ab5057 [2023-12-29T20:27:08.061Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-29T20:27:08.061Z] ---> Running in f6ba8944d824 [2023-12-29T20:27:08.320Z] Removing intermediate container f6ba8944d824 [2023-12-29T20:27:08.320Z] ---> 654066b7ccc5 [2023-12-29T20:27:08.320Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-29T20:27:08.320Z] ---> 17bc1481c725 [2023-12-29T20:27:08.320Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-29T20:27:08.320Z] ---> Running in 0e5d438a2c29 [2023-12-29T20:28:04.673Z] Removing intermediate container 0e5d438a2c29 [2023-12-29T20:28:04.673Z] ---> e147d5fe036d [2023-12-29T20:28:04.673Z] Step 11/12 : COPY . . [2023-12-29T20:28:04.673Z] ---> 3110665bc269 [2023-12-29T20:28:04.673Z] Step 12/12 : RUN $MAKE [2023-12-29T20:28:04.673Z] ---> Running in 4eddac36265e [2023-12-29T20:28:04.673Z] noop [2023-12-29T20:28:04.673Z] Removing intermediate container 4eddac36265e [2023-12-29T20:28:04.673Z] ---> 7a32830ea1ac [2023-12-29T20:28:04.673Z] Successfully built 7a32830ea1ac [2023-12-29T20:28:04.673Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:28:05.220Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-29T20:28:05.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:28:05.424Z] prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container [2023-12-29T20:28:05.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-29T20:28:05.798Z] $ docker top fb6b2da3fa3eff095feb279166b8d21a7dc7e3de275162226ec72705fd4ff89f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-29T20:28:06.342Z] + go version [2023-12-29T20:28:06.342Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-29T20:28:06.375Z] $ docker stop --time=1 fb6b2da3fa3eff095feb279166b8d21a7dc7e3de275162226ec72705fd4ff89f [2023-12-29T20:28:07.623Z] $ docker rm -f --volumes fb6b2da3fa3eff095feb279166b8d21a7dc7e3de275162226ec72705fd4ff89f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:28:08.604Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-29T20:28:08.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:28:08.816Z] prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container [2023-12-29T20:28:08.851Z] $ 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-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-29T20:28:09.188Z] $ docker top b36976b3e4c5496436b96a345ba5ef758eb5acabf840a8f9494fd46a7f8ae320 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-29T20:28:09.635Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-378 [Pipeline] fileExists [Pipeline] sh [2023-12-29T20:28:10.030Z] + make test [2023-12-29T20:28:10.030Z] go test ./... -coverprofile=coverage.out ./... [2023-12-29T20:28:11.407Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-29T20:28:21.374Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-29T20:28:21.374Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2023-12-29T20:28:26.638Z] go vet ./... [2023-12-29T20:28:29.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-29T20:28:29.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-29T20:28:29.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-29T20:28:29.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-29T20:28:29.279Z] $ docker stop --time=1 b36976b3e4c5496436b96a345ba5ef758eb5acabf840a8f9494fd46a7f8ae320 [2023-12-29T20:28:34.238Z] $ docker rm -f --volumes b36976b3e4c5496436b96a345ba5ef758eb5acabf840a8f9494fd46a7f8ae320 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-29T20:28:34.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-29T20:28:34.889Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-29T20:28:35.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-29T20:28:36.075Z] + ls -al . [2023-12-29T20:28:36.075Z] total 180 [2023-12-29T20:28:36.075Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 20:28 . [2023-12-29T20:28:36.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 20:26 .. [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 29 20:26 .dockerignore [2023-12-29T20:28:36.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 20:28 .git [2023-12-29T20:28:36.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:26 .github [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 29 20:26 .gitignore [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 20:26 .golangci.yml [2023-12-29T20:28:36.075Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 20:26 .semver [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 29 20:26 Attribution.txt [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 29 20:26 CHANGELOG.md [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 29 20:26 Dockerfile [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 20:26 GOVERNANCE.md [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 29 20:26 Jenkinsfile [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 20:26 LICENSE [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 29 20:26 Makefile [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 20:26 OWNERS.md [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 29 20:26 README.md [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 20:26 VERSION [2023-12-29T20:28:36.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:26 bin [2023-12-29T20:28:36.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:26 cmd [2023-12-29T20:28:36.075Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 29 20:28 coverage.out [2023-12-29T20:28:36.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:26 driver [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 3887 Dec 29 20:26 go.mod [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 34595 Dec 29 20:26 go.sum [2023-12-29T20:28:36.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:26 openapi [2023-12-29T20:28:36.075Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 29 20:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:28:36.538Z] + 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=1f0224c78dace112ef91cc60376261b822d0c7bd --label arch=amd64 --label version=0.0.0 . [2023-12-29T20:28:36.538Z] Sending build context to Docker daemon 16.33MB [2023-12-29T20:28:36.538Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-29T20:28:36.538Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-29T20:28:36.538Z] ---> 7a32830ea1ac [2023-12-29T20:28:36.538Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-29T20:28:36.797Z] ---> Running in de2446a69e5c [2023-12-29T20:28:37.057Z] Removing intermediate container de2446a69e5c [2023-12-29T20:28:37.057Z] ---> a4a10d04125b [2023-12-29T20:28:37.057Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-29T20:28:37.057Z] ---> Running in 1b78803c92b1 [2023-12-29T20:28:37.057Z] Removing intermediate container 1b78803c92b1 [2023-12-29T20:28:37.057Z] ---> 47298b823239 [2023-12-29T20:28:37.057Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-29T20:28:37.057Z] ---> Running in 52600325566f [2023-12-29T20:28:37.057Z] Removing intermediate container 52600325566f [2023-12-29T20:28:37.057Z] ---> f5f5cbc7d2b0 [2023-12-29T20:28:37.057Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-29T20:28:37.057Z] ---> Running in 7763e8bc2bd1 [2023-12-29T20:28:37.316Z] Removing intermediate container 7763e8bc2bd1 [2023-12-29T20:28:37.316Z] ---> aa1b703d8850 [2023-12-29T20:28:37.316Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-29T20:28:37.316Z] ---> Running in 9d4ca19fa2db [2023-12-29T20:28:37.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-29T20:28:37.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-29T20:28:38.094Z] OK: 268 MiB in 56 packages [2023-12-29T20:28:39.472Z] Removing intermediate container 9d4ca19fa2db [2023-12-29T20:28:39.472Z] ---> 32ca7dc16118 [2023-12-29T20:28:39.472Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-29T20:28:39.731Z] ---> Running in e026917cd3ad [2023-12-29T20:28:40.666Z] Removing intermediate container e026917cd3ad [2023-12-29T20:28:40.666Z] ---> 1bc89f1e8e20 [2023-12-29T20:28:40.666Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-29T20:28:41.605Z] ---> a51e0595742f [2023-12-29T20:28:41.605Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-29T20:28:41.605Z] ---> Running in 2a61614e31d5 [2023-12-29T20:28:44.248Z] Removing intermediate container 2a61614e31d5 [2023-12-29T20:28:44.248Z] ---> 7ff18927ee92 [2023-12-29T20:28:44.248Z] Step 11/26 : COPY . . [2023-12-29T20:28:44.508Z] ---> f1ffb55e9da6 [2023-12-29T20:28:44.508Z] Step 12/26 : RUN $MAKE [2023-12-29T20:28:44.508Z] ---> Running in 51ed698ad52a [2023-12-29T20:28:44.765Z] 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.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-29T20:28:46.497Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26405 in /w/workspace/gexfoundry_device-rest-go_PR-378 [Pipeline] { [Pipeline] ws [2023-12-29T20:28:46.588Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-12-29T20:28:49.742Z] The recommended git tool is: git [2023-12-29T20:28:55.400Z] using credential edgex-jenkins-ssh [2023-12-29T20:28:55.427Z] Cloning the remote Git repository [2023-12-29T20:28:55.479Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-29T20:28:55.584Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-12-29T20:28:55.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-29T20:28:55.748Z] > git --version # timeout=10 [2023-12-29T20:28:55.767Z] > git --version # 'git version 2.25.1' [2023-12-29T20:28:55.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-29T20:28:55.929Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-29T20:28:59.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-29T20:28:59.708Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-29T20:29:01.088Z] Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 1f0224c78dace112ef91cc60376261b822d0c7bd [2023-12-29T20:29:01.354Z] Merge succeeded, producing 1f0224c78dace112ef91cc60376261b822d0c7bd [2023-12-29T20:29:01.354Z] Checking out Revision 1f0224c78dace112ef91cc60376261b822d0c7bd (PR-378) [2023-12-29T20:29:00.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-29T20:29:00.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-29T20:29:00.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-29T20:29:00.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-29T20:29:01.108Z] > git config core.sparsecheckout # timeout=10 [2023-12-29T20:29:01.172Z] > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 [2023-12-29T20:29:01.257Z] > git remote # timeout=10 [2023-12-29T20:29:01.276Z] > git config --get remote.origin.url # timeout=10 [2023-12-29T20:29:01.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-29T20:29:01.309Z] > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 [2023-12-29T20:29:01.339Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-29T20:29:01.362Z] > git config core.sparsecheckout # timeout=10 [2023-12-29T20:29:01.379Z] > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 [2023-12-29T20:29:01.905Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-12-29T20:29:01.961Z] > git --version # timeout=10 [2023-12-29T20:29:01.972Z] > git --version # 'git version 2.25.1' [2023-12-29T20:29:01.986Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-29T20:29:03.395Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-29T20:29:03.395Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-29T20:29:03.395Z] Dload Upload Total Spent Left Speed [2023-12-29T20:29:03.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86272 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh [2023-12-29T20:29:03.740Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-29T20:29:04.085Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-12-29T20:29:04.086Z] [2023-12-29T20:29:04.086Z] { [2023-12-29T20:29:04.086Z] "registry-mirrors": [ [2023-12-29T20:29:04.086Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-29T20:29:04.086Z] ], [2023-12-29T20:29:04.086Z] "bip": "10.250.0.254/24", [2023-12-29T20:29:04.086Z] "hosts": [ [2023-12-29T20:29:04.086Z] "tcp://0.0.0.0:5555", [2023-12-29T20:29:04.086Z] "unix:///var/run/docker.sock" [2023-12-29T20:29:04.086Z] ], [2023-12-29T20:29:04.086Z] "mtu": 1458, [2023-12-29T20:29:04.086Z] "selinux-enabled": true, [2023-12-29T20:29:04.086Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-29T20:29:04.086Z] } [Pipeline] sh [2023-12-29T20:29:04.425Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-29T20:29:04.771Z] + sudo service docker restart [2023-12-29T20:29:06.696Z] Removing intermediate container 51ed698ad52a [2023-12-29T20:29:06.696Z] ---> 2715b9478e7d [2023-12-29T20:29:06.696Z] Step 13/26 : FROM alpine:3.18 [2023-12-29T20:29:06.696Z] 3.18: Pulling from library/alpine [2023-12-29T20:29:06.696Z] c926b61bad3b: Pulling fs layer [2023-12-29T20:29:06.696Z] c926b61bad3b: Download complete [2023-12-29T20:29:06.696Z] c926b61bad3b: Pull complete [2023-12-29T20:29:06.696Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-29T20:29:06.696Z] Status: Downloaded newer image for alpine:3.18 [2023-12-29T20:29:06.696Z] ---> b541f2080109 [2023-12-29T20:29:06.696Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-29T20:29:07.265Z] ---> Running in 83a0d3f24279 [2023-12-29T20:29:07.527Z] Removing intermediate container 83a0d3f24279 [2023-12-29T20:29:07.527Z] ---> c7e2fa2a693c [2023-12-29T20:29:07.527Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-29T20:29:08.140Z] ---> Running in 737af00386d7 [2023-12-29T20:29:08.401Z] Removing intermediate container 737af00386d7 [2023-12-29T20:29:08.401Z] ---> 547a47c5c2fe [2023-12-29T20:29:08.401Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-29T20:29:08.969Z] ---> Running in 74dc2e39046c [2023-12-29T20:29:09.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-29T20:29:09.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-29T20:29:10.054Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-29T20:29:10.054Z] Executing busybox-1.36.1-r5.trigger [2023-12-29T20:29:10.054Z] OK: 7 MiB in 16 packages [2023-12-29T20:29:12.592Z] Removing intermediate container 74dc2e39046c [2023-12-29T20:29:12.592Z] ---> 7938ce105c94 [2023-12-29T20:29:12.592Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-29T20:29:13.161Z] ---> Running in 472e973934aa [2023-12-29T20:29:14.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-29T20:29:14.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-29T20:29:14.796Z] OK: 7 MiB in 16 packages [2023-12-29T20:29:15.055Z] Removing intermediate container 472e973934aa [2023-12-29T20:29:15.055Z] ---> fcf5098bf00b [2023-12-29T20:29:15.056Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-29T20:29:15.626Z] ---> 08acaae672e0 [2023-12-29T20:29:15.626Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-29T20:29:15.626Z] ---> 79de4d90acc8 [2023-12-29T20:29:15.626Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-29T20:29:15.886Z] ---> 7f20caf0e7cb [2023-12-29T20:29:15.886Z] Step 21/26 : EXPOSE 59986 [2023-12-29T20:29:15.886Z] ---> Running in aa80220db413 [2023-12-29T20:29:15.886Z] Removing intermediate container aa80220db413 [2023-12-29T20:29:15.886Z] ---> d89f8cc3e623 [2023-12-29T20:29:15.886Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-29T20:29:15.886Z] ---> Running in 0aacd3fce869 [2023-12-29T20:29:15.886Z] Removing intermediate container 0aacd3fce869 [2023-12-29T20:29:15.886Z] ---> 354f3d6c5f95 [2023-12-29T20:29:15.886Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-29T20:29:16.144Z] ---> Running in abc43da1a4f4 [2023-12-29T20:29:16.144Z] Removing intermediate container abc43da1a4f4 [2023-12-29T20:29:16.144Z] ---> 8d69cd0e033d [2023-12-29T20:29:16.144Z] Step 24/26 : LABEL arch=amd64 [2023-12-29T20:29:16.144Z] ---> Running in 5d73abb74c6d [2023-12-29T20:29:16.144Z] Removing intermediate container 5d73abb74c6d [2023-12-29T20:29:16.144Z] ---> f682770e12be [2023-12-29T20:29:16.144Z] Step 25/26 : LABEL git_sha=1f0224c78dace112ef91cc60376261b822d0c7bd [2023-12-29T20:29:16.403Z] ---> Running in d51fd0a345ea [2023-12-29T20:29:16.403Z] Removing intermediate container d51fd0a345ea [2023-12-29T20:29:16.403Z] ---> 9bb8b515ab04 [2023-12-29T20:29:16.403Z] Step 26/26 : LABEL version=0.0.0 [2023-12-29T20:29:16.403Z] ---> Running in 6c3077e92e46 [2023-12-29T20:29:16.403Z] Removing intermediate container 6c3077e92e46 [2023-12-29T20:29:16.403Z] ---> b632d9f4a0e1 [2023-12-29T20:29:16.403Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-29T20:29:16.403Z] Successfully built b632d9f4a0e1 [2023-12-29T20:29:16.403Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:29:17.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-29T20:29:17.660Z] [2023-12-29T20:29:17.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:29:18.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-29T20:29:18.072Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-29T20:29:18.072Z] 5eb5b503b376: Pulling fs layer [2023-12-29T20:29:18.072Z] 5c69ac0246d0: Pulling fs layer [2023-12-29T20:29:18.072Z] ec43610c2a17: Pulling fs layer [2023-12-29T20:29:18.072Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-29T20:29:18.072Z] 33b1e0a273af: Pulling fs layer [2023-12-29T20:29:18.072Z] 5d3b04190fa2: Pulling fs layer [2023-12-29T20:29:18.072Z] 2f39f015ded8: Pulling fs layer [2023-12-29T20:29:18.072Z] 3a2ae6a8a46f: Waiting [2023-12-29T20:29:18.072Z] 33b1e0a273af: Waiting [2023-12-29T20:29:18.072Z] 5d3b04190fa2: Waiting [2023-12-29T20:29:18.072Z] 2f39f015ded8: Waiting [2023-12-29T20:29:18.072Z] 5c69ac0246d0: Download complete [2023-12-29T20:29:18.072Z] 3a2ae6a8a46f: Download complete [2023-12-29T20:29:18.072Z] 33b1e0a273af: Verifying Checksum [2023-12-29T20:29:18.072Z] 33b1e0a273af: Download complete [2023-12-29T20:29:18.072Z] ec43610c2a17: Verifying Checksum [2023-12-29T20:29:18.072Z] ec43610c2a17: Download complete [2023-12-29T20:29:18.072Z] 5d3b04190fa2: Verifying Checksum [2023-12-29T20:29:18.072Z] 5d3b04190fa2: Download complete [2023-12-29T20:29:18.330Z] 5eb5b503b376: Verifying Checksum [2023-12-29T20:29:18.330Z] 5eb5b503b376: Download complete [2023-12-29T20:29:18.894Z] 2f39f015ded8: Download complete [2023-12-29T20:29:19.459Z] 5eb5b503b376: Pull complete [2023-12-29T20:29:19.459Z] 5c69ac0246d0: Pull complete [2023-12-29T20:29:20.024Z] ec43610c2a17: Pull complete [2023-12-29T20:29:20.024Z] 3a2ae6a8a46f: Pull complete [2023-12-29T20:29:20.282Z] 33b1e0a273af: Pull complete [2023-12-29T20:29:20.282Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-29T20:29:23.109Z] provisioning config files... [2023-12-29T20:29:23.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4034801753512607022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:29:23.654Z] ---> ****-login.sh [2023-12-29T20:29:23.654Z] nexus3.edgexfoundry.org:10001 [2023-12-29T20:29:23.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:29:24.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:29:24.213Z] Configure a credential helper to remove this warning. See [2023-12-29T20:29:24.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:29:24.213Z] [2023-12-29T20:29:24.213Z] Login Succeeded [2023-12-29T20:29:24.213Z] nexus3.edgexfoundry.org:10002 [2023-12-29T20:29:24.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:29:24.461Z] 2f39f015ded8: Pull complete [2023-12-29T20:29:24.462Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-29T20:29:24.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-29T20:29:24.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-29T20:29:24.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:29:24.482Z] Configure a credential helper to remove this warning. See [2023-12-29T20:29:24.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:29:24.482Z] [2023-12-29T20:29:24.482Z] Login Succeeded [2023-12-29T20:29:24.482Z] nexus3.edgexfoundry.org:10003 [2023-12-29T20:29:24.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2023-12-29T20:29:24.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:29:24.752Z] Configure a credential helper to remove this warning. See [2023-12-29T20:29:24.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:29:24.752Z] [2023-12-29T20:29:24.752Z] Login Succeeded [2023-12-29T20:29:24.752Z] nexus3.edgexfoundry.org:10004 [2023-12-29T20:29:24.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer [2023-12-29T20:29:24.847Z] prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container [2023-12-29T20:29:24.878Z] $ 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-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-29T20:29:25.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:29:25.023Z] Configure a credential helper to remove this warning. See [2023-12-29T20:29:25.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:29:25.023Z] [2023-12-29T20:29:25.023Z] Login Succeeded [2023-12-29T20:29:25.023Z] ****.io [2023-12-29T20:29:25.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-29T20:29:25.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-29T20:29:25.292Z] Configure a credential helper to remove this warning. See [2023-12-29T20:29:25.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-29T20:29:25.292Z] [2023-12-29T20:29:25.292Z] Login Succeeded [2023-12-29T20:29:25.292Z] ---> ****-login.sh ends [2023-12-29T20:29:32.181Z] $ docker top b77254ac9ca6922986570c7a851217b31f5d0ab349806ae84d90031e47a52204 -eo pid,comm [Pipeline] { [Pipeline] } [2023-12-29T20:29:32.462Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-12-29T20:29:32.912Z] ---> job-cost.sh [2023-12-29T20:29:32.912Z] lf-activate-venv: SKIPPING [2023-12-29T20:29:32.912Z] INFO: No Stack... [Pipeline] echo [2023-12-29T20:29:33.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2023-12-29T20:29:33.248Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] echo [2023-12-29T20:29:33.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-29T20:29:33.420Z] ========================================================= [2023-12-29T20:29:33.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-29T20:29:33.420Z] ========================================================= [Pipeline] fileExists [2023-12-29T20:29:33.506Z] INFO: Archiving Costs [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-12-29T20:29:33.934Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-378/archives/cost.csv [2023-12-29T20:29:33.934Z] + cut -d, -f6 [Pipeline] sh [Pipeline] lock [2023-12-29T20:29:34.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [2023-12-29T20:29:34.140Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] did not exist. Created. [2023-12-29T20:29:34.140Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-12-29T20:29:34.264Z] + 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 . [Pipeline] sh [2023-12-29T20:29:34.649Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-29T20:29:34.698Z] Stashed 1 file(s) [Pipeline] } [2023-12-29T20:29:34.767Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-29T20:29:34.923Z] $ docker stop --time=1 b77254ac9ca6922986570c7a851217b31f5d0ab349806ae84d90031e47a52204 [2023-12-29T20:29:35.235Z] #0 building with "default" instance using docker driver [2023-12-29T20:29:35.235Z] [2023-12-29T20:29:35.235Z] #1 [internal] load .dockerignore [2023-12-29T20:29:35.235Z] #1 transferring context: 193B done [2023-12-29T20:29:35.235Z] #1 DONE 0.1s [2023-12-29T20:29:35.235Z] [2023-12-29T20:29:35.235Z] #2 [internal] load build definition from Dockerfile [2023-12-29T20:29:35.235Z] #2 transferring dockerfile: 1.73kB 0.0s done [2023-12-29T20:29:35.235Z] #2 DONE 0.1s [2023-12-29T20:29:35.235Z] [2023-12-29T20:29:35.235Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-29T20:29:35.508Z] #3 DONE 0.1s [2023-12-29T20:29:35.508Z] [2023-12-29T20:29:35.508Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-29T20:29:35.508Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-29T20:29:35.781Z] #4 ... [2023-12-29T20:29:35.781Z] [2023-12-29T20:29:35.781Z] #5 [internal] load build context [2023-12-29T20:29:35.781Z] #5 transferring context: 95.80kB 0.0s done [2023-12-29T20:29:35.781Z] #5 DONE 0.1s [2023-12-29T20:29:35.781Z] [2023-12-29T20:29:35.781Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-29T20:29:35.781Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s [2023-12-29T20:29:35.781Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-29T20:29:35.781Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-29T20:29:35.781Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done [2023-12-29T20:29:35.781Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-29T20:29:35.781Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-29T20:29:35.781Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-29T20:29:35.781Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-29T20:29:35.781Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.3s [2023-12-29T20:29:35.781Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s [2023-12-29T20:29:35.781Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 4.19MB / 97.63MB 0.3s [2023-12-29T20:29:35.781Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.4s [2023-12-29T20:29:35.781Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.48MB / 11.40MB 0.4s [2023-12-29T20:29:35.781Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.4s [2023-12-29T20:29:36.052Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.64MB / 63.99MB 0.5s [2023-12-29T20:29:36.052Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.98MB / 11.40MB 0.5s [2023-12-29T20:29:36.052Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.68MB / 97.63MB 0.5s [2023-12-29T20:29:36.052Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.15MB / 63.99MB 0.6s [2023-12-29T20:29:36.052Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-29T20:29:36.052Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done [2023-12-29T20:29:36.110Z] $ docker rm -f --volumes b77254ac9ca6922986570c7a851217b31f5d0ab349806ae84d90031e47a52204 [Pipeline] // withDockerContainer [2023-12-29T20:29:36.321Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.8s [2023-12-29T20:29:36.321Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s [2023-12-29T20:29:36.321Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 0.9s [2023-12-29T20:29:36.321Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s [2023-12-29T20:29:36.321Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s [Pipeline] } [Pipeline] // script [Pipeline] } [2023-12-29T20:29:36.592Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 1.0s [2023-12-29T20:29:36.592Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.0s [2023-12-29T20:29:36.592Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-29T20:29:36.592Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.2s [2023-12-29T20:29:36.592Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.2s [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-12-29T20:29:36.861Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.64MB / 63.99MB 1.3s [2023-12-29T20:29:36.861Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.46MB / 97.63MB 1.3s [2023-12-29T20:29:36.861Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.4s [Pipeline] } [2023-12-29T20:29:37.131Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s done [2023-12-29T20:29:37.131Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.6s [2023-12-29T20:29:37.131Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-29T20:29:37.131Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.7s [2023-12-29T20:29:37.400Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.8s [2023-12-29T20:29:37.400Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.0s [2023-12-29T20:29:37.669Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s [2023-12-29T20:29:37.938Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done [2023-12-29T20:29:43.296Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s [2023-12-29T20:29:48.651Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s [2023-12-29T20:29:55.324Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.3s done [2023-12-29T20:29:56.733Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-29T20:29:57.000Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-29T20:29:57.000Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-29T20:30:02.346Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s [2023-12-29T20:30:06.591Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done [2023-12-29T20:30:06.591Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-29T20:30:07.998Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done [2023-12-29T20:30:08.266Z] #4 DONE 32.8s [2023-12-29T20:30:08.266Z] [2023-12-29T20:30:08.266Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-29T20:30:08.853Z] #6 0.670 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-29T20:30:09.436Z] #6 1.048 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-29T20:30:10.410Z] #6 2.022 (1/4) Installing openssh-keygen (9.3_p2-r1) [2023-12-29T20:30:10.410Z] #6 2.048 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-29T20:30:10.410Z] #6 2.063 (3/4) Installing openssh-client-common (9.3_p2-r1) [2023-12-29T20:30:10.410Z] #6 2.127 (4/4) Installing openssh-client-default (9.3_p2-r1) [2023-12-29T20:30:10.410Z] #6 2.155 Executing busybox-1.36.1-r5.trigger [2023-12-29T20:30:10.410Z] #6 2.196 OK: 271 MiB in 56 packages [2023-12-29T20:30:12.358Z] #6 DONE 4.0s [2023-12-29T20:30:12.358Z] [2023-12-29T20:30:12.358Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-29T20:30:12.358Z] #7 DONE 0.1s [2023-12-29T20:30:12.358Z] [2023-12-29T20:30:12.358Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-29T20:30:12.358Z] #8 DONE 0.1s [2023-12-29T20:30:12.358Z] [2023-12-29T20:30:12.358Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-29T20:30:39.029Z] #9 DONE 22.6s [2023-12-29T20:30:39.029Z] [2023-12-29T20:30:39.029Z] #10 [builder 6/7] COPY . . [2023-12-29T20:30:39.029Z] #10 DONE 0.1s [2023-12-29T20:30:39.029Z] [2023-12-29T20:30:39.029Z] #11 [builder 7/7] RUN echo noop [2023-12-29T20:30:39.029Z] #11 0.597 noop [2023-12-29T20:30:39.988Z] #11 DONE 4.7s [2023-12-29T20:30:39.988Z] [2023-12-29T20:30:39.988Z] #12 exporting to image [2023-12-29T20:30:39.988Z] #12 exporting layers [2023-12-29T20:31:06.673Z] #12 exporting layers 22.5s done [2023-12-29T20:31:06.673Z] #12 writing image sha256:46569274d8d4fcbf0753b254f2ea70cede299c7688d38ad19ca4928cbfe4b25f done [2023-12-29T20:31:06.673Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-29T20:31:06.673Z] #12 DONE 22.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:31:07.276Z] + docker inspect -f . ci-base-image-arm64 [2023-12-29T20:31:07.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:31:08.857Z] prd-ubuntu20.04-docker-arm64-4c-16g-26405 does not seem to be running inside a container [2023-12-29T20:31:08.924Z] $ 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-29T20:31:10.036Z] $ docker top bd4205e2bfdd03270f219256847570eefab372757e8d0cb017a6be67ff56d4a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-29T20:31:10.721Z] + go version [2023-12-29T20:31:10.721Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-29T20:31:10.762Z] $ docker stop --time=1 bd4205e2bfdd03270f219256847570eefab372757e8d0cb017a6be67ff56d4a7 [2023-12-29T20:31:12.304Z] $ docker rm -f --volumes bd4205e2bfdd03270f219256847570eefab372757e8d0cb017a6be67ff56d4a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:31:13.659Z] + docker inspect -f . ci-base-image-arm64 [2023-12-29T20:31:13.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:31:13.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-26405 does not seem to be running inside a container [2023-12-29T20:31:14.017Z] $ 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-29T20:31:14.888Z] $ docker top 4d11decd0e15d1728bc145d0f3260413c389c29164ed01e3d1cfaa0722731c50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-29T20:31:15.474Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-29T20:31:15.903Z] + make test [2023-12-29T20:31:15.903Z] go test ./... -coverprofile=coverage.out ./... [2023-12-29T20:31:20.162Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-29T20:32:16.552Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-29T20:32:16.552Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements [2023-12-29T20:32:16.552Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-29T20:32:16.552Z] go vet ./... [2023-12-29T20:32:24.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-29T20:32:24.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-29T20:32:24.796Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-29T20:32:24.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-29T20:32:24.920Z] $ docker stop --time=1 4d11decd0e15d1728bc145d0f3260413c389c29164ed01e3d1cfaa0722731c50 [2023-12-29T20:32:26.728Z] $ docker rm -f --volumes 4d11decd0e15d1728bc145d0f3260413c389c29164ed01e3d1cfaa0722731c50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-29T20:32:27.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-29T20:32:27.978Z] Warning: overwriting stash ‘coverage-report’ [2023-12-29T20:32:28.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-29T20:32:29.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-29T20:32:29.538Z] + ls -al . [2023-12-29T20:32:29.538Z] total 176 [2023-12-29T20:32:29.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 20:31 . [2023-12-29T20:32:29.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 20:28 .. [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 29 20:29 .dockerignore [2023-12-29T20:32:29.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 20:29 .git [2023-12-29T20:32:29.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:29 .github [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 29 20:29 .gitignore [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 20:29 .golangci.yml [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 29 20:29 Attribution.txt [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 29 20:29 CHANGELOG.md [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 29 20:29 Dockerfile [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 20:29 GOVERNANCE.md [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 29 20:29 Jenkinsfile [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 20:29 LICENSE [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 29 20:29 Makefile [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 20:29 OWNERS.md [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 29 20:29 README.md [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 20:26 VERSION [2023-12-29T20:32:29.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:29 bin [2023-12-29T20:32:29.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:29 cmd [2023-12-29T20:32:29.538Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 29 20:32 coverage.out [2023-12-29T20:32:29.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:29 driver [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 3887 Dec 29 20:29 go.mod [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 34595 Dec 29 20:29 go.sum [2023-12-29T20:32:29.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:29 openapi [2023-12-29T20:32:29.538Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 29 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:32:30.030Z] + 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=1f0224c78dace112ef91cc60376261b822d0c7bd --label arch=arm64 --label version=0.0.0 . [2023-12-29T20:32:30.621Z] #0 building with "default" instance using docker driver [2023-12-29T20:32:30.621Z] [2023-12-29T20:32:30.621Z] #1 [internal] load .dockerignore [2023-12-29T20:32:30.621Z] #1 transferring context: [2023-12-29T20:32:30.889Z] #1 transferring context: 193B done [2023-12-29T20:32:30.889Z] #1 DONE 0.0s [2023-12-29T20:32:30.889Z] [2023-12-29T20:32:30.889Z] #2 [internal] load build definition from Dockerfile [2023-12-29T20:32:30.889Z] #2 transferring dockerfile: 1.73kB done [2023-12-29T20:32:30.889Z] #2 DONE 0.0s [2023-12-29T20:32:30.889Z] [2023-12-29T20:32:30.889Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-29T20:32:30.889Z] #3 DONE 0.0s [2023-12-29T20:32:30.889Z] [2023-12-29T20:32:30.889Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-29T20:32:35.149Z] #4 DONE 4.4s [2023-12-29T20:32:35.149Z] [2023-12-29T20:32:35.149Z] #5 [internal] load build context [2023-12-29T20:32:35.149Z] #5 transferring context: 16.04kB 0.0s done [2023-12-29T20:32:35.149Z] #5 DONE 0.1s [2023-12-29T20:32:35.149Z] [2023-12-29T20:32:35.149Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-29T20:32:35.149Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-29T20:32:35.424Z] #6 ... [2023-12-29T20:32:35.424Z] [2023-12-29T20:32:35.424Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-29T20:32:35.424Z] #7 DONE 0.2s [2023-12-29T20:32:35.424Z] [2023-12-29T20:32:35.424Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-29T20:32:35.424Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-29T20:32:35.424Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-29T20:32:35.424Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-29T20:32:35.424Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s [2023-12-29T20:32:35.693Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done [2023-12-29T20:32:35.693Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-29T20:32:35.960Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2023-12-29T20:32:36.233Z] #6 DONE 1.0s [2023-12-29T20:32:36.233Z] [2023-12-29T20:32:36.233Z] #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-29T20:32:36.233Z] #8 0.706 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-29T20:32:36.499Z] #8 1.144 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-29T20:32:37.905Z] #8 2.245 OK: 271 MiB in 56 packages [2023-12-29T20:32:37.905Z] #8 DONE 2.6s [2023-12-29T20:32:37.905Z] [2023-12-29T20:32:37.905Z] #9 [builder 3/7] WORKDIR /device-rest-go [2023-12-29T20:32:37.905Z] #9 DONE 0.1s [2023-12-29T20:32:37.905Z] [2023-12-29T20:32:37.905Z] #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-29T20:32:37.905Z] #10 0.628 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-29T20:32:37.905Z] #10 0.950 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-29T20:32:38.172Z] #10 1.965 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-29T20:32:38.172Z] #10 ... [2023-12-29T20:32:38.172Z] [2023-12-29T20:32:38.172Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-29T20:32:38.172Z] #11 DONE 0.1s [2023-12-29T20:32:38.172Z] [2023-12-29T20:32:38.172Z] #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-29T20:32:38.172Z] #10 1.982 Executing busybox-1.36.1-r5.trigger [2023-12-29T20:32:38.172Z] #10 2.017 OK: 8 MiB in 16 packages [2023-12-29T20:32:38.761Z] #10 DONE 2.3s [2023-12-29T20:32:38.761Z] [2023-12-29T20:32:38.761Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-29T20:32:39.344Z] #12 0.724 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-29T20:32:39.611Z] #12 ... [2023-12-29T20:32:39.611Z] [2023-12-29T20:32:39.611Z] #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-29T20:32:39.611Z] #13 DONE 1.4s [2023-12-29T20:32:39.611Z] [2023-12-29T20:32:39.611Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-29T20:32:39.611Z] #12 1.072 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-29T20:32:39.611Z] #12 ... [2023-12-29T20:32:39.611Z] [2023-12-29T20:32:39.611Z] #14 [builder 6/7] COPY . . [2023-12-29T20:32:39.611Z] #14 DONE 0.2s [2023-12-29T20:32:39.882Z] [2023-12-29T20:32:39.882Z] #15 [builder 7/7] RUN make build [2023-12-29T20:32:40.466Z] #15 0.668 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.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-29T20:32:41.052Z] #15 ... [2023-12-29T20:32:41.052Z] [2023-12-29T20:32:41.052Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-29T20:32:41.052Z] #12 2.176 OK: 8 MiB in 16 packages [2023-12-29T20:32:41.052Z] #12 DONE 2.5s [2023-12-29T20:32:41.322Z] [2023-12-29T20:32:41.322Z] #15 [builder 7/7] RUN make build [2023-12-29T20:33:49.159Z] #15 DONE 59.4s [2023-12-29T20:33:49.159Z] [2023-12-29T20:33:49.159Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-29T20:33:49.159Z] #16 DONE 0.2s [2023-12-29T20:33:49.159Z] [2023-12-29T20:33:49.159Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-29T20:33:49.159Z] #17 DONE 0.1s [2023-12-29T20:33:49.159Z] [2023-12-29T20:33:49.159Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-29T20:33:49.159Z] #18 DONE 0.1s [2023-12-29T20:33:49.159Z] [2023-12-29T20:33:49.159Z] #19 exporting to image [2023-12-29T20:33:49.159Z] #19 exporting layers [2023-12-29T20:33:49.159Z] #19 exporting layers 0.3s done [2023-12-29T20:33:49.159Z] #19 writing image sha256:8851da4b536c555755d1ee5467320ba08d543f1e032d90e9f2ff68d2a513392a done [2023-12-29T20:33:49.159Z] #19 naming to docker.io/library/device-rest-arm64 done [2023-12-29T20:33:49.159Z] #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-29T20:33:50.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-29T20:33:50.438Z] [2023-12-29T20:33:50.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:33:50.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-29T20:33:50.884Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-29T20:33:50.884Z] 8998bd30e6a1: Pulling fs layer [2023-12-29T20:33:50.884Z] 04944245beec: Pulling fs layer [2023-12-29T20:33:50.884Z] 699f458cf7ca: Pulling fs layer [2023-12-29T20:33:50.884Z] 765212b225bb: Pulling fs layer [2023-12-29T20:33:50.884Z] f23df028b6ca: Pulling fs layer [2023-12-29T20:33:50.884Z] d65c8cfc05b1: Pulling fs layer [2023-12-29T20:33:50.884Z] 2437ff75d9bd: Pulling fs layer [2023-12-29T20:33:50.884Z] f23df028b6ca: Waiting [2023-12-29T20:33:50.884Z] d65c8cfc05b1: Waiting [2023-12-29T20:33:50.884Z] 2437ff75d9bd: Waiting [2023-12-29T20:33:50.884Z] 765212b225bb: Waiting [2023-12-29T20:33:51.152Z] 04944245beec: Verifying Checksum [2023-12-29T20:33:51.152Z] 04944245beec: Download complete [2023-12-29T20:33:51.152Z] 765212b225bb: Download complete [2023-12-29T20:33:51.152Z] f23df028b6ca: Verifying Checksum [2023-12-29T20:33:51.152Z] f23df028b6ca: Download complete [2023-12-29T20:33:51.152Z] d65c8cfc05b1: Verifying Checksum [2023-12-29T20:33:51.152Z] d65c8cfc05b1: Download complete [2023-12-29T20:33:51.422Z] 699f458cf7ca: Verifying Checksum [2023-12-29T20:33:51.422Z] 699f458cf7ca: Download complete [2023-12-29T20:33:51.689Z] 8998bd30e6a1: Verifying Checksum [2023-12-29T20:33:51.689Z] 8998bd30e6a1: Download complete [2023-12-29T20:33:53.635Z] 2437ff75d9bd: Verifying Checksum [2023-12-29T20:33:53.635Z] 2437ff75d9bd: Download complete [2023-12-29T20:33:57.881Z] 8998bd30e6a1: Pull complete [2023-12-29T20:33:58.149Z] 04944245beec: Pull complete [2023-12-29T20:34:00.094Z] 699f458cf7ca: Pull complete [2023-12-29T20:34:00.094Z] 765212b225bb: Pull complete [2023-12-29T20:34:04.339Z] f23df028b6ca: Pull complete [2023-12-29T20:34:04.339Z] d65c8cfc05b1: Pull complete [2023-12-29T20:34:26.377Z] 2437ff75d9bd: Pull complete [2023-12-29T20:34:26.377Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-29T20:34:26.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-29T20:34:26.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:34:26.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-26405 does not seem to be running inside a container [2023-12-29T20:34:26.915Z] $ 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-29T20:34:33.137Z] $ docker top 532921a87fac9b11ea62bbbb5e94bd6a5fbda2fa13b10bc8835b6de147a6a501 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:33.860Z] ---> job-cost.sh [2023-12-29T20:34:34.125Z] lf-activate-venv: SKIPPING [2023-12-29T20:34:34.125Z] INFO: No Stack... [2023-12-29T20:34:34.390Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-29T20:34:35.342Z] INFO: Archiving Costs [Pipeline] sh [2023-12-29T20:34:35.677Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-12-29T20:34:35.677Z] + cut -d, -f6 [Pipeline] lock [2023-12-29T20:34:35.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [2023-12-29T20:34:35.755Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] did not exist. Created. [2023-12-29T20:34:35.755Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-29T20:34:36.246Z] /w/workspace/device-rest-go/1@tmp/durable-aa20c566/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-29T20:34:36.588Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-29T20:34:36.625Z] Warning: overwriting stash ‘stack-cost’ [2023-12-29T20:34:36.667Z] Stashed 1 file(s) [Pipeline] } [2023-12-29T20:34:36.713Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-29T20:34:36.886Z] $ docker stop --time=1 532921a87fac9b11ea62bbbb5e94bd6a5fbda2fa13b10bc8835b6de147a6a501 [2023-12-29T20:34:38.251Z] $ docker rm -f --volumes 532921a87fac9b11ea62bbbb5e94bd6a5fbda2fa13b10bc8835b6de147a6a501 [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-29T20:34:40.232Z] provisioning config files... [2023-12-29T20:34:40.241Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config9162595776874341688tmp [Pipeline] { [Pipeline] sh [2023-12-29T20:34:40.674Z] + set +x [2023-12-29T20:34:40.674Z] + bash -s -- [2023-12-29T20:34:40.674Z] + curl -s https://codecov.io/bash [2023-12-29T20:34:40.674Z] [2023-12-29T20:34:40.674Z] _____ _ [2023-12-29T20:34:40.674Z] / ____| | | [2023-12-29T20:34:40.674Z] | | ___ __| | ___ ___ _____ __ [2023-12-29T20:34:40.674Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-29T20:34:40.674Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-29T20:34:40.674Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-29T20:34:40.674Z] Bash-1.0.6 [2023-12-29T20:34:40.674Z] [2023-12-29T20:34:40.674Z] [2023-12-29T20:34:40.674Z] ==> git version 2.25.1 found [2023-12-29T20:34:40.674Z] ==> 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-29T20:34:40.674Z] Release-Date: 2020-01-08 [2023-12-29T20:34:40.674Z] 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-29T20:34:40.674Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-29T20:34:40.674Z] ==> Jenkins CI detected. [2023-12-29T20:34:40.674Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-378 [2023-12-29T20:34:40.674Z] project root: . [2023-12-29T20:34:40.674Z] --> token set from env [2023-12-29T20:34:40.674Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-29T20:34:40.937Z] ==> Running gcov in . (disable via -X gcov) [2023-12-29T20:34:40.937Z] ==> Python coveragepy not found [2023-12-29T20:34:40.937Z] ==> Searching for coverage reports in: [2023-12-29T20:34:40.937Z] + . [2023-12-29T20:34:40.937Z] -> Found 1 reports [2023-12-29T20:34:40.937Z] ==> Detecting git/mercurial file structure [2023-12-29T20:34:40.937Z] ==> Reading reports [2023-12-29T20:34:40.937Z] + ./coverage.out bytes=14499 [2023-12-29T20:34:40.937Z] ==> Appending adjustments [2023-12-29T20:34:40.937Z] https://docs.codecov.io/docs/fixing-reports [2023-12-29T20:34:40.937Z] + Found adjustments [2023-12-29T20:34:40.937Z] ==> Gzipping contents [2023-12-29T20:34:40.937Z] 4.0K /tmp/codecov.lHJWiQ.gz [2023-12-29T20:34:40.937Z] ==> Uploading reports [2023-12-29T20:34:40.937Z] url: https://codecov.io [2023-12-29T20:34:40.937Z] query: branch=PR-378&commit=1f0224c78dace112ef91cc60376261b822d0c7bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=378&job=&cmd_args= [2023-12-29T20:34:40.937Z] -> Pinging Codecov [2023-12-29T20:34:40.937Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-378&commit=1f0224c78dace112ef91cc60376261b822d0c7bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=378&job=&cmd_args= [2023-12-29T20:34:41.196Z] -> Uploading to [2023-12-29T20:34:41.196Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-29/4E5D53B4F1F92C436F7061BF334D961C/1f0224c78dace112ef91cc60376261b822d0c7bd/cc5d38b8-5efe-425e-beb9-a45db8bfc769.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T203440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f3d4104abf822d0e99abf897af0c9036990e0ced54cca686e5de4e6c482c21c [2023-12-29T20:34:41.196Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-29T20:34:41.196Z] Dload Upload Total Spent Left Speed [2023-12-29T20:34:41.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9358 --:--:-- --:--:-- --:--:-- 9358 [2023-12-29T20:34:41.551Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] } [2023-12-29T20:34:41.580Z] 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-29T20:34:44.815Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-378/archives ] [2023-12-29T20:34:44.815Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-378/archives [2023-12-29T20:34:44.815Z] total 16 [2023-12-29T20:34:44.815Z] drwxr-xr-x 3 root root 4096 Dec 29 20:29 . [2023-12-29T20:34:44.815Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 20:29 .. [2023-12-29T20:34:44.815Z] drwxr-xr-x 2 root root 4096 Dec 29 20:29 cost [2023-12-29T20:34:44.815Z] -rw-r--r-- 1 root root 86 Dec 29 20:29 cost.csv [2023-12-29T20:34:44.815Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-378/archives [2023-12-29T20:34:44.815Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-378/archives [2023-12-29T20:34:44.815Z] total 16 [2023-12-29T20:34:44.815Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 20:29 . [2023-12-29T20:34:44.815Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 20:29 .. [2023-12-29T20:34:44.815Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 20:29 cost [2023-12-29T20:34:44.815Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 29 20:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:45.146Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:46.050Z] ---> package-listing.sh [2023-12-29T20:34:46.050Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-29T20:34:46.050Z] ++ facter osfamily [2023-12-29T20:34:46.308Z] + OS_FAMILY=debian [2023-12-29T20:34:46.308Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-378 [2023-12-29T20:34:46.308Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-29T20:34:46.308Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-29T20:34:46.308Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-29T20:34:46.308Z] + PACKAGES=/tmp/packages_start.txt [2023-12-29T20:34:46.308Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-378 ']' [2023-12-29T20:34:46.308Z] + PACKAGES=/tmp/packages_end.txt [2023-12-29T20:34:46.308Z] + case "${OS_FAMILY}" in [2023-12-29T20:34:46.308Z] + grep '^ii' [2023-12-29T20:34:46.308Z] + dpkg -l [2023-12-29T20:34:46.308Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-29T20:34:46.308Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-29T20:34:46.308Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-29T20:34:46.308Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-378 ']' [2023-12-29T20:34:46.308Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-378/archives/ [2023-12-29T20:34:46.308Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-378/archives/ [Pipeline] echo [2023-12-29T20:34:46.348Z] 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-29T20:34:46.642Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-29T20:34:47.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-29T20:34:47.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-29T20:34:47.596Z] prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container [2023-12-29T20:34:47.624Z] $ 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-378/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-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@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-29T20:34:48.111Z] $ docker top 3f689133998d1d3107cccd0073884b8d75975e78ba3fbd6d450393d17afa1ddd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-29T20:34:48.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-29T20:34:48.924Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-29T20:34:49.255Z] + ls /var/log/sa-host [2023-12-29T20:34:49.255Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-29T20:34:49.521Z] provisioning config files... [2023-12-29T20:34:49.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config4647861827163221756tmp [Pipeline] { [Pipeline] echo [2023-12-29T20:34:49.684Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:50.004Z] ---> create-netrc.sh [Pipeline] } [2023-12-29T20:34:50.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:50.550Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-29T20:34:50.582Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:50.895Z] ---> sudo-logs.sh [2023-12-29T20:34:50.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-29T20:34:51.031Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:51.342Z] ---> job-cost.sh [2023-12-29T20:34:51.342Z] lf-activate-venv: SKIPPING [2023-12-29T20:34:51.342Z] DEBUG: total: 0.2199999988079071 [2023-12-29T20:34:51.342Z] INFO: Retrieving Stack Cost... [2023-12-29T20:34:51.602Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-29T20:34:51.862Z] INFO: Archiving Costs [Pipeline] echo [2023-12-29T20:34:51.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-29T20:34:52.229Z] ---> logs-deploy.sh [2023-12-29T20:34:52.229Z] lf-activate-venv: SKIPPING [2023-12-29T20:34:52.229Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-378/1 [2023-12-29T20:34:52.229Z] INFO: archiving workspace using pattern(s): [2023-12-29T20:34:53.166Z] Archives upload complete. [2023-12-29T20:34:53.425Z] INFO: archiving logs to Nexus