Pull request #413 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03d48d99ee3cb45f5402866c5c33b3983d25ae6c+735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (1a0820ecb196d29f7d6b20c62709f73ada3e3284) 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-ssh14580931752069408235.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh9498466370588706840.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-413/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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5958039935648640530.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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12467797320338791031.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh18272950340940002292.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-413/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-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15461005886839347537.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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-15473 in /w/workspace/gexfoundry_device-rest-go_PR-413 [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-413 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 03d48d99ee3cb45f5402866c5c33b3983d25ae6c Merge succeeded, producing 03d48d99ee3cb45f5402866c5c33b3983d25ae6c Checking out Revision 03d48d99ee3cb45f5402866c5c33b3983d25ae6c (PR-413) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # 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 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T20:40:41.138Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T20:40:41.369Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T20:40:41.484Z] ========================================================= [2024-10-03T20:40:41.484Z] EdgeX Global Pipelines Version Info [2024-10-03T20:40:41.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:40:42.250Z] ------------------- [2024-10-03T20:40:42.250Z] stable info: [2024-10-03T20:40:42.250Z] ------------------- [2024-10-03T20:40:42.250Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-03T20:40:42.250Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-03T20:40:42.250Z] Message: update stable to v1.0.265 [2024-10-03T20:40:42.819Z] ------------------- [2024-10-03T20:40:42.819Z] experimental info: [2024-10-03T20:40:42.819Z] ------------------- [2024-10-03T20:40:42.819Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T20:40:42.819Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T20:40:42.819Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-03T20:40:43.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-03T20:40:43.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-03T20:40:43.168Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-03T20:40:43.227Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-03T20:40:43.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-03T20:40:43.339Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-03T20:40:43.394Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-03T20:40:43.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T20:40:43.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-03T20:40:43.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T20:40:43.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-03T20:40:43.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-03T20:40:43.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-03T20:40:43.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-03T20:40:43.872Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T20:40:43.925Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T20:40:43.986Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T20:40:44.045Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T20:40:44.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T20:40:44.167Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-03T20:40:44.224Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-03T20:40:44.278Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-03T20:40:44.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-03T20:40:44.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-03T20:40:44.446Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-03T20:40:44.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T20:40:44.559Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-03T20:40:44.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo [2024-10-03T20:40:44.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo [2024-10-03T20:40:44.730Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo [2024-10-03T20:40:44.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo [2024-10-03T20:40:44.856Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03d48d9 [Pipeline] echo [2024-10-03T20:40:44.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T20:40:45.076Z] provisioning config files... [2024-10-03T20:40:45.089Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/config4592923214191410088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:40:45.493Z] ---> ****-login.sh [2024-10-03T20:40:45.493Z] nexus3.edgexfoundry.org:10001 [2024-10-03T20:40:45.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:40:46.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:40:46.015Z] Configure a credential helper to remove this warning. See [2024-10-03T20:40:46.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:40:46.015Z] [2024-10-03T20:40:46.015Z] Login Succeeded [2024-10-03T20:40:46.015Z] nexus3.edgexfoundry.org:10002 [2024-10-03T20:40:46.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:40:46.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:40:46.015Z] Configure a credential helper to remove this warning. See [2024-10-03T20:40:46.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:40:46.015Z] [2024-10-03T20:40:46.015Z] Login Succeeded [2024-10-03T20:40:46.015Z] nexus3.edgexfoundry.org:10003 [2024-10-03T20:40:46.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:40:46.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:40:46.275Z] Configure a credential helper to remove this warning. See [2024-10-03T20:40:46.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:40:46.275Z] [2024-10-03T20:40:46.275Z] Login Succeeded [2024-10-03T20:40:46.275Z] nexus3.edgexfoundry.org:10004 [2024-10-03T20:40:46.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:40:46.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:40:46.275Z] Configure a credential helper to remove this warning. See [2024-10-03T20:40:46.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:40:46.275Z] [2024-10-03T20:40:46.275Z] Login Succeeded [2024-10-03T20:40:46.275Z] ****.io [2024-10-03T20:40:46.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:40:46.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:40:46.535Z] Configure a credential helper to remove this warning. See [2024-10-03T20:40:46.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:40:46.535Z] [2024-10-03T20:40:46.535Z] Login Succeeded [2024-10-03T20:40:46.535Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T20:40:46.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-03T20:40:47.246Z] + git rev-list -1 --merges 03d48d99ee3cb45f5402866c5c33b3983d25ae6c~1..03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo [2024-10-03T20:40:47.296Z] -----------> git rev-list -1 --merges 03d48d99ee3cb45f5402866c5c33b3983d25ae6c~1..03d48d99ee3cb45f5402866c5c33b3983d25ae6c 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [false] [Pipeline] sh [2024-10-03T20:40:47.619Z] + git log --format=format:%s -1 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo [2024-10-03T20:40:47.664Z] ========================================================= [2024-10-03T20:40:47.664Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-03T20:40:47.664Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T20:40:48.146Z] + git log --format=format:%s -1 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [Pipeline] echo [2024-10-03T20:40:48.185Z] [semverPrep] GIT_COMMIT: 03d48d99ee3cb45f5402866c5c33b3983d25ae6c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-03T20:40:48.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-03T20:40:48.651Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-03T20:40:48.651Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-03T20:40:48.651Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-03T20:40:48.651Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-03T20:40:48.651Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-03T20:40:48.651Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-03T20:40:48.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:40:49.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T20:40:49.165Z] [2024-10-03T20:40:49.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:40:49.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T20:40:49.563Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-03T20:40:49.563Z] b85a868b505f: Pulling fs layer [2024-10-03T20:40:49.563Z] e2be974225ed: Pulling fs layer [2024-10-03T20:40:49.563Z] 339a4e72a1f5: Pulling fs layer [2024-10-03T20:40:49.563Z] 988bab9f4d93: Pulling fs layer [2024-10-03T20:40:49.563Z] 1469e6f7b9e6: Pulling fs layer [2024-10-03T20:40:49.563Z] eaf3925da568: Pulling fs layer [2024-10-03T20:40:49.563Z] bab4dde63d76: Pulling fs layer [2024-10-03T20:40:49.563Z] bde34c3a00c8: Pulling fs layer [2024-10-03T20:40:49.563Z] b352a97aabf1: Pulling fs layer [2024-10-03T20:40:49.563Z] 4872d77fe225: Pulling fs layer [2024-10-03T20:40:49.563Z] 5851b861e8e6: Pulling fs layer [2024-10-03T20:40:49.563Z] bab4dde63d76: Waiting [2024-10-03T20:40:49.563Z] bde34c3a00c8: Waiting [2024-10-03T20:40:49.563Z] 5851b861e8e6: Waiting [2024-10-03T20:40:49.563Z] b352a97aabf1: Waiting [2024-10-03T20:40:49.563Z] eaf3925da568: Waiting [2024-10-03T20:40:49.563Z] 4872d77fe225: Waiting [2024-10-03T20:40:49.563Z] 988bab9f4d93: Waiting [2024-10-03T20:40:49.563Z] 1469e6f7b9e6: Waiting [2024-10-03T20:40:49.563Z] e2be974225ed: Verifying Checksum [2024-10-03T20:40:49.563Z] e2be974225ed: Download complete [2024-10-03T20:40:49.563Z] 988bab9f4d93: Verifying Checksum [2024-10-03T20:40:49.563Z] 988bab9f4d93: Download complete [2024-10-03T20:40:49.563Z] 1469e6f7b9e6: Verifying Checksum [2024-10-03T20:40:49.563Z] 1469e6f7b9e6: Download complete [2024-10-03T20:40:49.563Z] eaf3925da568: Verifying Checksum [2024-10-03T20:40:49.563Z] eaf3925da568: Download complete [2024-10-03T20:40:49.823Z] 339a4e72a1f5: Verifying Checksum [2024-10-03T20:40:49.823Z] 339a4e72a1f5: Download complete [2024-10-03T20:40:49.823Z] bde34c3a00c8: Download complete [2024-10-03T20:40:49.823Z] b352a97aabf1: Verifying Checksum [2024-10-03T20:40:49.823Z] b352a97aabf1: Download complete [2024-10-03T20:40:49.823Z] 4872d77fe225: Verifying Checksum [2024-10-03T20:40:49.823Z] 4872d77fe225: Download complete [2024-10-03T20:40:49.823Z] 5851b861e8e6: Verifying Checksum [2024-10-03T20:40:49.823Z] 5851b861e8e6: Download complete [2024-10-03T20:40:49.823Z] b85a868b505f: Verifying Checksum [2024-10-03T20:40:49.823Z] b85a868b505f: Download complete [2024-10-03T20:40:50.082Z] bab4dde63d76: Verifying Checksum [2024-10-03T20:40:50.082Z] bab4dde63d76: Download complete [2024-10-03T20:40:51.018Z] b85a868b505f: Pull complete [2024-10-03T20:40:51.278Z] e2be974225ed: Pull complete [2024-10-03T20:40:51.539Z] 339a4e72a1f5: Pull complete [2024-10-03T20:40:51.799Z] 988bab9f4d93: Pull complete [2024-10-03T20:40:52.058Z] 1469e6f7b9e6: Pull complete [2024-10-03T20:40:52.058Z] eaf3925da568: Pull complete [2024-10-03T20:40:53.973Z] bab4dde63d76: Pull complete [2024-10-03T20:40:53.973Z] bde34c3a00c8: Pull complete [2024-10-03T20:40:53.973Z] b352a97aabf1: Pull complete [2024-10-03T20:40:53.973Z] 4872d77fe225: Pull complete [2024-10-03T20:40:53.973Z] 5851b861e8e6: Pull complete [2024-10-03T20:40:54.233Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-03T20:40:54.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T20:40:54.233Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:40:54.512Z] prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container [2024-10-03T20:40:54.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-03T20:40:57.567Z] $ docker top b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec -eo pid,comm [2024-10-03T20:40:57.620Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-03T20:40:57.620Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-03T20:40:57.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T20:40:57.788Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T20:40:57.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T20:40:57.905Z] $ docker exec b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent [2024-10-03T20:40:58.017Z] SSH_AUTH_SOCK=/tmp/ssh-8jPbHu3BRp4e/agent.31 [2024-10-03T20:40:58.017Z] SSH_AGENT_PID=37 [2024-10-03T20:40:58.022Z] Running ssh-add (command line suppressed) [2024-10-03T20:40:58.118Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_13353394413106342158.key (/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_13353394413106342158.key) [2024-10-03T20:40:58.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T20:40:58.469Z] + git tag --points-at HEAD [Pipeline] } [2024-10-03T20:40:58.495Z] $ docker exec --env ******** --env ******** b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent -k [2024-10-03T20:40:58.586Z] unset SSH_AUTH_SOCK; [2024-10-03T20:40:58.587Z] unset SSH_AGENT_PID; [2024-10-03T20:40:58.587Z] echo Agent pid 37 killed; [2024-10-03T20:40:58.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-03T20:40:58.713Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T20:40:58.713Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T20:40:58.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T20:40:58.812Z] $ docker exec b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent [2024-10-03T20:40:58.920Z] SSH_AUTH_SOCK=/tmp/ssh-zCOvZ8tR6Oa7/agent.70 [2024-10-03T20:40:58.920Z] SSH_AGENT_PID=76 [2024-10-03T20:40:58.926Z] Running ssh-add (command line suppressed) [2024-10-03T20:40:59.033Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_1926944135848750888.key (/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/private_key_1926944135848750888.key) [2024-10-03T20:40:59.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T20:40:59.395Z] + git semver init [2024-10-03T20:40:59.654Z] 2024-10-03 20:40:59,559 [run_init] DEBUG init version:0.0.0 force:False [2024-10-03T20:40:59.654Z] 2024-10-03 20:40:59,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-413/.semver [2024-10-03T20:40:59.654Z] 2024-10-03 20:40:59,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-413/.semver [2024-10-03T20:40:59.654Z] 2024-10-03 20:40:59,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-413/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-413, universal_newlines=False, shell=None, istream=None) [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,776 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-413/.git/info/exclude [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-413/.semver/PR-413 with force:False [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,776 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-413/.semver/PR-413 [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,781 [execute] INFO git cat-file --batch-check [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,788 [execute] INFO git cat-file --batch [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T20:41:01.033Z] 2024-10-03 20:41:00,793 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-413/.semver/PR-413 [2024-10-03T20:41:01.033Z] 0.0.0 [Pipeline] } [2024-10-03T20:41:01.062Z] $ docker exec --env ******** --env ******** b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec ssh-agent -k [2024-10-03T20:41:01.179Z] unset SSH_AUTH_SOCK; [2024-10-03T20:41:01.179Z] unset SSH_AGENT_PID; [2024-10-03T20:41:01.181Z] echo Agent pid 76 killed; [2024-10-03T20:41:01.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-03T20:41:01.645Z] + git semver [Pipeline] } [2024-10-03T20:41:01.933Z] $ docker stop --time=1 b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec [2024-10-03T20:41:03.251Z] $ docker rm -f --volumes b69b4db81b2e093b23e821132995d514f476b303b1fd0c04537090d3aa5aa7ec [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T20:41:03.785Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-03T20:41:04.085Z] Stashed 1 file(s) [Pipeline] echo [2024-10-03T20:41:04.110Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T20:41:04.827Z] provisioning config files... [2024-10-03T20:41:04.837Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/config11593780438372663608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:41:05.203Z] ---> ****-login.sh [2024-10-03T20:41:05.203Z] nexus3.edgexfoundry.org:10001 [2024-10-03T20:41:05.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:41:05.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:41:05.203Z] Configure a credential helper to remove this warning. See [2024-10-03T20:41:05.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:41:05.203Z] [2024-10-03T20:41:05.203Z] Login Succeeded [2024-10-03T20:41:05.203Z] nexus3.edgexfoundry.org:10002 [2024-10-03T20:41:05.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:41:05.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:41:05.204Z] Configure a credential helper to remove this warning. See [2024-10-03T20:41:05.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:41:05.204Z] [2024-10-03T20:41:05.204Z] Login Succeeded [2024-10-03T20:41:05.204Z] nexus3.edgexfoundry.org:10003 [2024-10-03T20:41:05.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:41:05.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:41:05.464Z] Configure a credential helper to remove this warning. See [2024-10-03T20:41:05.464Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:41:05.464Z] [2024-10-03T20:41:05.464Z] Login Succeeded [2024-10-03T20:41:05.464Z] nexus3.edgexfoundry.org:10004 [2024-10-03T20:41:05.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:41:05.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:41:05.464Z] Configure a credential helper to remove this warning. See [2024-10-03T20:41:05.464Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:41:05.464Z] [2024-10-03T20:41:05.464Z] Login Succeeded [2024-10-03T20:41:05.464Z] ****.io [2024-10-03T20:41:05.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:41:05.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:41:05.724Z] Configure a credential helper to remove this warning. See [2024-10-03T20:41:05.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:41:05.724Z] [2024-10-03T20:41:05.724Z] Login Succeeded [2024-10-03T20:41:05.724Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T20:41:05.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T20:41:05.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T20:41:06.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T20:41:06.072Z] ========================================================= [2024-10-03T20:41:06.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-03T20:41:06.072Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:41:06.598Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-03T20:41:06.598Z] Sending build context to Docker daemon 16.6MB [2024-10-03T20:41:06.598Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T20:41:06.598Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-03T20:41:06.598Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-03T20:41:06.598Z] 43c4264eed91: Pulling fs layer [2024-10-03T20:41:06.598Z] 4cc291be95ef: Pulling fs layer [2024-10-03T20:41:06.598Z] 2ac1f1163629: Pulling fs layer [2024-10-03T20:41:06.598Z] 5c3c966382ef: Pulling fs layer [2024-10-03T20:41:06.598Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T20:41:06.598Z] 5d5c8e513c77: Pulling fs layer [2024-10-03T20:41:06.598Z] 9f66e0745190: Pulling fs layer [2024-10-03T20:41:06.598Z] f49a43e4bbc0: Pulling fs layer [2024-10-03T20:41:06.598Z] 561ebcabdf7f: Pulling fs layer [2024-10-03T20:41:06.598Z] 4f4fb700ef54: Waiting [2024-10-03T20:41:06.598Z] 5d5c8e513c77: Waiting [2024-10-03T20:41:06.598Z] 9f66e0745190: Waiting [2024-10-03T20:41:06.598Z] f49a43e4bbc0: Waiting [2024-10-03T20:41:06.598Z] 561ebcabdf7f: Waiting [2024-10-03T20:41:06.598Z] 5c3c966382ef: Waiting [2024-10-03T20:41:06.598Z] 4cc291be95ef: Verifying Checksum [2024-10-03T20:41:06.598Z] 4cc291be95ef: Download complete [2024-10-03T20:41:06.856Z] 5c3c966382ef: Verifying Checksum [2024-10-03T20:41:06.856Z] 5c3c966382ef: Download complete [2024-10-03T20:41:06.856Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T20:41:06.856Z] 4f4fb700ef54: Download complete [2024-10-03T20:41:06.856Z] 5d5c8e513c77: Verifying Checksum [2024-10-03T20:41:06.856Z] 5d5c8e513c77: Download complete [2024-10-03T20:41:06.856Z] 43c4264eed91: Download complete [2024-10-03T20:41:06.856Z] 9f66e0745190: Verifying Checksum [2024-10-03T20:41:06.856Z] 9f66e0745190: Download complete [2024-10-03T20:41:06.856Z] 561ebcabdf7f: Download complete [2024-10-03T20:41:07.114Z] 43c4264eed91: Pull complete [2024-10-03T20:41:07.114Z] 4cc291be95ef: Pull complete [2024-10-03T20:41:07.373Z] 2ac1f1163629: Download complete [2024-10-03T20:41:07.630Z] f49a43e4bbc0: Verifying Checksum [2024-10-03T20:41:07.630Z] f49a43e4bbc0: Download complete [2024-10-03T20:41:10.941Z] 2ac1f1163629: Pull complete [2024-10-03T20:41:10.941Z] 5c3c966382ef: Pull complete [2024-10-03T20:41:10.941Z] 4f4fb700ef54: Pull complete [2024-10-03T20:41:10.941Z] 5d5c8e513c77: Pull complete [2024-10-03T20:41:10.941Z] 9f66e0745190: Pull complete [2024-10-03T20:41:12.843Z] f49a43e4bbc0: Pull complete [2024-10-03T20:41:13.411Z] 561ebcabdf7f: Pull complete [2024-10-03T20:41:13.411Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-03T20:41:13.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-03T20:41:13.411Z] ---> 3a752c3f9dda [2024-10-03T20:41:13.411Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-03T20:41:19.605Z] Still waiting to schedule task [2024-10-03T20:41:19.605Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-03T20:41:20.002Z] ---> Running in 990fe8ef98f8 [2024-10-03T20:41:20.002Z] Removing intermediate container 990fe8ef98f8 [2024-10-03T20:41:20.002Z] ---> faaa89d41e35 [2024-10-03T20:41:20.002Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T20:41:20.002Z] ---> Running in f2ef79009875 [2024-10-03T20:41:20.002Z] Removing intermediate container f2ef79009875 [2024-10-03T20:41:20.002Z] ---> efc77dae09a2 [2024-10-03T20:41:20.002Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T20:41:20.002Z] ---> Running in 87bca0443749 [2024-10-03T20:41:20.002Z] Removing intermediate container 87bca0443749 [2024-10-03T20:41:20.002Z] ---> a7f4e1c80d8c [2024-10-03T20:41:20.002Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T20:41:20.002Z] ---> Running in 7de5640063fd [2024-10-03T20:41:20.002Z] Removing intermediate container 7de5640063fd [2024-10-03T20:41:20.002Z] ---> 7a5c312ec639 [2024-10-03T20:41:20.002Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T20:41:20.002Z] ---> Running in 5f2584b3921e [2024-10-03T20:41:20.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T20:41:20.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T20:41:20.522Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-03T20:41:20.522Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-03T20:41:20.522Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-03T20:41:20.522Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-03T20:41:20.522Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T20:41:20.522Z] OK: 250 MiB in 58 packages [2024-10-03T20:41:21.091Z] Removing intermediate container 5f2584b3921e [2024-10-03T20:41:21.091Z] ---> 26d4bbf63b3e [2024-10-03T20:41:21.091Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-03T20:41:21.091Z] ---> Running in f959ee044720 [2024-10-03T20:41:21.091Z] Removing intermediate container f959ee044720 [2024-10-03T20:41:21.091Z] ---> 55509ae1f2d1 [2024-10-03T20:41:21.091Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-03T20:41:21.091Z] ---> 9b6adb97884f [2024-10-03T20:41:21.091Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T20:41:21.091Z] ---> Running in 11451cd11839 [2024-10-03T20:42:17.333Z] Removing intermediate container 11451cd11839 [2024-10-03T20:42:17.333Z] ---> 62d7d2f89b85 [2024-10-03T20:42:17.333Z] Step 11/12 : COPY . . [2024-10-03T20:42:17.333Z] ---> b2a51908ca48 [2024-10-03T20:42:17.333Z] Step 12/12 : RUN $MAKE [2024-10-03T20:42:17.333Z] ---> Running in 9da227e741c6 [2024-10-03T20:42:17.333Z] noop [2024-10-03T20:42:17.333Z] Removing intermediate container 9da227e741c6 [2024-10-03T20:42:17.333Z] ---> 7e37442c1f6e [2024-10-03T20:42:17.333Z] Successfully built 7e37442c1f6e [2024-10-03T20:42:17.333Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:42:17.820Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T20:42:17.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:42:17.993Z] prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container [2024-10-03T20:42:18.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-03T20:42:18.372Z] $ docker top b86c60b841a8e968017ba7d9578e7be150bbb39abc0114cbacdafc25ab1fb9b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T20:42:18.778Z] + go version [2024-10-03T20:42:18.778Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-03T20:42:18.813Z] $ docker stop --time=1 b86c60b841a8e968017ba7d9578e7be150bbb39abc0114cbacdafc25ab1fb9b0 [2024-10-03T20:42:20.061Z] $ docker rm -f --volumes b86c60b841a8e968017ba7d9578e7be150bbb39abc0114cbacdafc25ab1fb9b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:42:20.871Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T20:42:20.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:42:21.040Z] prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container [2024-10-03T20:42:21.073Z] $ 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-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-03T20:42:21.401Z] $ docker top f59a611a62352bfb63ab99e1bc36959a46adb6530737cfdb4b460c24483dc36a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T20:42:21.806Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-413 [Pipeline] fileExists [Pipeline] sh [2024-10-03T20:42:22.193Z] + make test [2024-10-03T20:42:22.193Z] go test ./... -coverprofile=coverage.out ./... [2024-10-03T20:42:22.764Z] go: updates to go.mod needed; to update it: [2024-10-03T20:42:22.764Z] go mod tidy [2024-10-03T20:42:22.764Z] make: *** [Makefile:32: unittest] Error 1 [Pipeline] } [2024-10-03T20:42:22.813Z] $ docker stop --time=1 f59a611a62352bfb63ab99e1bc36959a46adb6530737cfdb4b460c24483dc36a [2024-10-03T20:42:24.166Z] $ docker rm -f --volumes f59a611a62352bfb63ab99e1bc36959a46adb6530737cfdb4b460c24483dc36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:42:25.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T20:42:25.488Z] [2024-10-03T20:42:25.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:42:25.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T20:42:25.884Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T20:42:25.884Z] 5eb5b503b376: Pulling fs layer [2024-10-03T20:42:25.884Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T20:42:25.884Z] ec43610c2a17: Pulling fs layer [2024-10-03T20:42:25.884Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T20:42:25.884Z] 33b1e0a273af: Pulling fs layer [2024-10-03T20:42:25.884Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T20:42:25.884Z] 2f39f015ded8: Pulling fs layer [2024-10-03T20:42:25.884Z] 5d3b04190fa2: Waiting [2024-10-03T20:42:25.884Z] 3a2ae6a8a46f: Waiting [2024-10-03T20:42:25.884Z] 33b1e0a273af: Waiting [2024-10-03T20:42:25.884Z] 5c69ac0246d0: Verifying Checksum [2024-10-03T20:42:25.884Z] 5c69ac0246d0: Download complete [2024-10-03T20:42:25.884Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-03T20:42:25.884Z] 3a2ae6a8a46f: Download complete [2024-10-03T20:42:25.884Z] 33b1e0a273af: Verifying Checksum [2024-10-03T20:42:25.884Z] 33b1e0a273af: Download complete [2024-10-03T20:42:25.884Z] 5d3b04190fa2: Verifying Checksum [2024-10-03T20:42:25.884Z] 5d3b04190fa2: Download complete [2024-10-03T20:42:25.884Z] ec43610c2a17: Verifying Checksum [2024-10-03T20:42:25.884Z] ec43610c2a17: Download complete [2024-10-03T20:42:26.143Z] 5eb5b503b376: Verifying Checksum [2024-10-03T20:42:26.143Z] 5eb5b503b376: Download complete [2024-10-03T20:42:26.708Z] 2f39f015ded8: Verifying Checksum [2024-10-03T20:42:26.708Z] 2f39f015ded8: Download complete [2024-10-03T20:42:27.274Z] 5eb5b503b376: Pull complete [2024-10-03T20:42:27.274Z] 5c69ac0246d0: Pull complete [2024-10-03T20:42:27.841Z] ec43610c2a17: Pull complete [2024-10-03T20:42:27.841Z] 3a2ae6a8a46f: Pull complete [2024-10-03T20:42:28.099Z] 33b1e0a273af: Pull complete [2024-10-03T20:42:28.099Z] 5d3b04190fa2: Pull complete [2024-10-03T20:42:32.281Z] 2f39f015ded8: Pull complete [2024-10-03T20:42:32.281Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T20:42:32.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T20:42:32.281Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:42:32.532Z] prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container [2024-10-03T20:42:32.559Z] $ 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-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T20:42:38.322Z] $ docker top 1f0e00f74fac6dbdecf5d30d50910ff5377a04a27ce9feb8c2c84a66508dfbb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:42:48.118Z] ---> job-cost.sh [2024-10-03T20:42:48.118Z] lf-activate-venv: SKIPPING [2024-10-03T20:42:48.118Z] INFO: No Stack... [2024-10-03T20:42:48.377Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T20:42:48.635Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T20:42:48.958Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-413/archives/cost.csv [2024-10-03T20:42:48.958Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T20:42:49.011Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [2024-10-03T20:42:49.017Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] did not exist. Created. [2024-10-03T20:42:49.023Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T20:42:49.442Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T20:42:49.500Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T20:42:49.532Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T20:42:49.626Z] $ docker stop --time=1 1f0e00f74fac6dbdecf5d30d50910ff5377a04a27ce9feb8c2c84a66508dfbb4 [2024-10-03T20:42:50.776Z] $ docker rm -f --volumes 1f0e00f74fac6dbdecf5d30d50910ff5377a04a27ce9feb8c2c84a66508dfbb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T20:42:51.211Z] Failed in branch amd64 [2024-10-03T20:43:20.854Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15474 in /w/workspace/gexfoundry_device-rest-go_PR-413 [Pipeline] { [Pipeline] ws [2024-10-03T20:43:20.934Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-03T20:43:21.017Z] The recommended git tool is: git [2024-10-03T20:43:25.785Z] using credential edgex-jenkins-ssh [2024-10-03T20:43:25.810Z] Cloning the remote Git repository [2024-10-03T20:43:25.848Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-03T20:43:25.939Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-03T20:43:26.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-03T20:43:26.082Z] > git --version # timeout=10 [2024-10-03T20:43:26.103Z] > git --version # 'git version 2.25.1' [2024-10-03T20:43:26.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T20:43:26.241Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T20:43:28.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-03T20:43:28.954Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T20:43:30.392Z] Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [2024-10-03T20:43:30.665Z] Merge succeeded, producing 03d48d99ee3cb45f5402866c5c33b3983d25ae6c [2024-10-03T20:43:30.665Z] Checking out Revision 03d48d99ee3cb45f5402866c5c33b3983d25ae6c (PR-413) [2024-10-03T20:43:29.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-03T20:43:29.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-03T20:43:29.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T20:43:29.881Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-03T20:43:30.421Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T20:43:30.490Z] > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # timeout=10 [2024-10-03T20:43:30.570Z] > git remote # timeout=10 [2024-10-03T20:43:30.590Z] > git config --get remote.origin.url # timeout=10 [2024-10-03T20:43:30.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T20:43:30.623Z] > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 [2024-10-03T20:43:30.649Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-03T20:43:30.668Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T20:43:30.679Z] > git checkout -f 03d48d99ee3cb45f5402866c5c33b3983d25ae6c # timeout=10 [2024-10-03T20:43:31.199Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-03T20:43:31.244Z] > git --version # timeout=10 [2024-10-03T20:43:31.257Z] > git --version # 'git version 2.25.1' [2024-10-03T20:43:31.271Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T20:43:36.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T20:43:36.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T20:43:36.432Z] Dload Upload Total Spent Left Speed [2024-10-03T20:43:36.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh [2024-10-03T20:43:36.790Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T20:43:37.150Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T20:43:37.150Z] + sudo tee /etc/docker/daemon.new [2024-10-03T20:43:37.150Z] { [2024-10-03T20:43:37.150Z] "registry-mirrors": [ [2024-10-03T20:43:37.150Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T20:43:37.150Z] ], [2024-10-03T20:43:37.150Z] "bip": "10.250.0.254/24", [2024-10-03T20:43:37.150Z] "hosts": [ [2024-10-03T20:43:37.150Z] "tcp://0.0.0.0:5555", [2024-10-03T20:43:37.150Z] "unix:///var/run/docker.sock" [2024-10-03T20:43:37.150Z] ], [2024-10-03T20:43:37.150Z] "mtu": 1458, [2024-10-03T20:43:37.150Z] "selinux-enabled": true, [2024-10-03T20:43:37.150Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T20:43:37.150Z] } [Pipeline] sh [2024-10-03T20:43:37.503Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T20:43:37.865Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T20:43:56.213Z] provisioning config files... [2024-10-03T20:43:56.242Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8579973022927905985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:43:56.751Z] ---> ****-login.sh [2024-10-03T20:43:56.752Z] nexus3.edgexfoundry.org:10001 [2024-10-03T20:43:57.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:43:57.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:43:57.298Z] Configure a credential helper to remove this warning. See [2024-10-03T20:43:57.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:43:57.298Z] [2024-10-03T20:43:57.298Z] Login Succeeded [2024-10-03T20:43:57.298Z] nexus3.edgexfoundry.org:10002 [2024-10-03T20:43:57.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:43:57.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:43:57.843Z] Configure a credential helper to remove this warning. See [2024-10-03T20:43:57.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:43:57.843Z] [2024-10-03T20:43:57.843Z] Login Succeeded [2024-10-03T20:43:57.843Z] nexus3.edgexfoundry.org:10003 [2024-10-03T20:43:58.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:43:58.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:43:58.120Z] Configure a credential helper to remove this warning. See [2024-10-03T20:43:58.120Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:43:58.120Z] [2024-10-03T20:43:58.120Z] Login Succeeded [2024-10-03T20:43:58.120Z] nexus3.edgexfoundry.org:10004 [2024-10-03T20:43:58.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:43:58.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:43:58.390Z] Configure a credential helper to remove this warning. See [2024-10-03T20:43:58.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:43:58.390Z] [2024-10-03T20:43:58.390Z] Login Succeeded [2024-10-03T20:43:58.390Z] ****.io [2024-10-03T20:43:58.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T20:43:58.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T20:43:58.933Z] Configure a credential helper to remove this warning. See [2024-10-03T20:43:58.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T20:43:58.933Z] [2024-10-03T20:43:58.933Z] Login Succeeded [2024-10-03T20:43:58.933Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T20:43:58.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T20:43:59.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T20:43:59.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T20:43:59.651Z] ========================================================= [2024-10-03T20:43:59.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-03T20:43:59.651Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:44:00.216Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-03T20:44:00.216Z] Sending build context to Docker daemon 130.6kB [2024-10-03T20:44:00.483Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T20:44:00.483Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-03T20:44:00.483Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-03T20:44:00.753Z] cf04c63912e1: Pulling fs layer [2024-10-03T20:44:00.753Z] 55b35a11ae5e: Pulling fs layer [2024-10-03T20:44:00.753Z] a37a00ec5f00: Pulling fs layer [2024-10-03T20:44:00.753Z] 50b3750afda1: Pulling fs layer [2024-10-03T20:44:00.753Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T20:44:00.753Z] 80978eb59214: Pulling fs layer [2024-10-03T20:44:00.753Z] c9f46d7d2bd2: Pulling fs layer [2024-10-03T20:44:00.753Z] c5a475d317c9: Pulling fs layer [2024-10-03T20:44:00.753Z] 50b3750afda1: Waiting [2024-10-03T20:44:00.753Z] 4f4fb700ef54: Waiting [2024-10-03T20:44:00.753Z] 80978eb59214: Waiting [2024-10-03T20:44:00.753Z] c9f46d7d2bd2: Waiting [2024-10-03T20:44:00.753Z] c5a475d317c9: Waiting [2024-10-03T20:44:00.753Z] 55b35a11ae5e: Verifying Checksum [2024-10-03T20:44:00.753Z] 55b35a11ae5e: Download complete [2024-10-03T20:44:00.753Z] 50b3750afda1: Verifying Checksum [2024-10-03T20:44:00.753Z] 50b3750afda1: Download complete [2024-10-03T20:44:00.753Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T20:44:00.753Z] 4f4fb700ef54: Download complete [2024-10-03T20:44:00.753Z] 80978eb59214: Verifying Checksum [2024-10-03T20:44:00.753Z] 80978eb59214: Download complete [2024-10-03T20:44:00.753Z] cf04c63912e1: Verifying Checksum [2024-10-03T20:44:00.753Z] cf04c63912e1: Download complete [2024-10-03T20:44:01.365Z] c5a475d317c9: Verifying Checksum [2024-10-03T20:44:01.365Z] c5a475d317c9: Download complete [2024-10-03T20:44:01.955Z] cf04c63912e1: Pull complete [2024-10-03T20:44:02.546Z] 55b35a11ae5e: Pull complete [2024-10-03T20:44:02.815Z] a37a00ec5f00: Verifying Checksum [2024-10-03T20:44:02.815Z] a37a00ec5f00: Download complete [2024-10-03T20:44:03.780Z] c9f46d7d2bd2: Download complete [2024-10-03T20:44:18.804Z] a37a00ec5f00: Pull complete [2024-10-03T20:44:18.804Z] 50b3750afda1: Pull complete [2024-10-03T20:44:18.804Z] 4f4fb700ef54: Pull complete [2024-10-03T20:44:18.804Z] 80978eb59214: Pull complete [2024-10-03T20:44:25.466Z] c9f46d7d2bd2: Pull complete [2024-10-03T20:44:26.904Z] c5a475d317c9: Pull complete [2024-10-03T20:44:27.177Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-03T20:44:27.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-03T20:44:27.177Z] ---> be29e6b0f0d4 [2024-10-03T20:44:27.177Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-03T20:44:29.129Z] ---> Running in 5425852d66d0 [2024-10-03T20:44:29.129Z] Removing intermediate container 5425852d66d0 [2024-10-03T20:44:29.129Z] ---> b75681cf41df [2024-10-03T20:44:29.129Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T20:44:29.129Z] ---> Running in 1fa8f19a15a6 [2024-10-03T20:44:29.397Z] Removing intermediate container 1fa8f19a15a6 [2024-10-03T20:44:29.397Z] ---> 1e275ee14e2a [2024-10-03T20:44:29.397Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T20:44:29.666Z] ---> Running in 257cbcbda008 [2024-10-03T20:44:29.934Z] Removing intermediate container 257cbcbda008 [2024-10-03T20:44:29.934Z] ---> 34086f0d74c8 [2024-10-03T20:44:29.934Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T20:44:29.934Z] ---> Running in 168cdb583a23 [2024-10-03T20:44:30.202Z] Removing intermediate container 168cdb583a23 [2024-10-03T20:44:30.202Z] ---> cb89301fefd3 [2024-10-03T20:44:30.202Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T20:44:30.202Z] ---> Running in afa5be229473 [2024-10-03T20:44:31.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T20:44:31.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T20:44:33.319Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-03T20:44:33.319Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-03T20:44:33.319Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-03T20:44:33.319Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-03T20:44:33.319Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T20:44:33.319Z] OK: 242 MiB in 58 packages [2024-10-03T20:44:34.289Z] Removing intermediate container afa5be229473 [2024-10-03T20:44:34.289Z] ---> a93bba042426 [2024-10-03T20:44:34.289Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-03T20:44:34.289Z] ---> Running in 4a51dc4cfca7 [2024-10-03T20:44:34.555Z] Removing intermediate container 4a51dc4cfca7 [2024-10-03T20:44:34.555Z] ---> 9837337dcc62 [2024-10-03T20:44:34.555Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-03T20:44:35.524Z] ---> 23e13898dd0d [2024-10-03T20:44:35.524Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T20:44:35.524Z] ---> Running in fbb19028ed1e [2024-10-03T20:46:27.213Z] Removing intermediate container fbb19028ed1e [2024-10-03T20:46:27.213Z] ---> e39b891f5de6 [2024-10-03T20:46:27.213Z] Step 11/12 : COPY . . [2024-10-03T20:46:27.213Z] ---> a06ac172ccbb [2024-10-03T20:46:27.213Z] Step 12/12 : RUN $MAKE [2024-10-03T20:46:27.213Z] ---> Running in 150246ddc8e8 [2024-10-03T20:46:27.213Z] noop [2024-10-03T20:46:27.213Z] Removing intermediate container 150246ddc8e8 [2024-10-03T20:46:27.213Z] ---> ba4a5385d27f [2024-10-03T20:46:27.213Z] Successfully built ba4a5385d27f [2024-10-03T20:46:27.213Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:46:27.732Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T20:46:27.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:46:28.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container [2024-10-03T20:46:28.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-03T20:46:29.254Z] $ docker top 946d2bb50dbb19978602c3a5898d3cfbbfa3aab942076ddba4daabcbf829d70d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T20:46:30.133Z] + go version [2024-10-03T20:46:30.133Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-03T20:46:30.171Z] $ docker stop --time=1 946d2bb50dbb19978602c3a5898d3cfbbfa3aab942076ddba4daabcbf829d70d [2024-10-03T20:46:31.782Z] $ docker rm -f --volumes 946d2bb50dbb19978602c3a5898d3cfbbfa3aab942076ddba4daabcbf829d70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:46:32.721Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T20:46:32.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:46:32.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container [2024-10-03T20:46:33.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-03T20:46:34.211Z] $ docker top aab8eeec78ffd1b06e3765a2e1f00accc37703c44eff7e76a513d6224025cc02 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T20:46:34.781Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-03T20:46:35.780Z] + make test [2024-10-03T20:46:35.780Z] go test ./... -coverprofile=coverage.out ./... [2024-10-03T20:46:40.042Z] go: updates to go.mod needed; to update it: [2024-10-03T20:46:40.042Z] go mod tidy [2024-10-03T20:46:40.042Z] make: *** [Makefile:32: unittest] Error 1 [Pipeline] } [2024-10-03T20:46:40.091Z] $ docker stop --time=1 aab8eeec78ffd1b06e3765a2e1f00accc37703c44eff7e76a513d6224025cc02 [2024-10-03T20:46:41.886Z] $ docker rm -f --volumes aab8eeec78ffd1b06e3765a2e1f00accc37703c44eff7e76a513d6224025cc02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:46:43.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T20:46:43.306Z] [2024-10-03T20:46:43.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:46:43.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T20:46:44.008Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T20:46:44.008Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T20:46:44.008Z] 04944245beec: Pulling fs layer [2024-10-03T20:46:44.008Z] 699f458cf7ca: Pulling fs layer [2024-10-03T20:46:44.008Z] 765212b225bb: Pulling fs layer [2024-10-03T20:46:44.008Z] f23df028b6ca: Pulling fs layer [2024-10-03T20:46:44.008Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T20:46:44.008Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T20:46:44.008Z] f23df028b6ca: Waiting [2024-10-03T20:46:44.008Z] d65c8cfc05b1: Waiting [2024-10-03T20:46:44.008Z] 765212b225bb: Waiting [2024-10-03T20:46:44.008Z] 2437ff75d9bd: Waiting [2024-10-03T20:46:44.008Z] 04944245beec: Verifying Checksum [2024-10-03T20:46:44.008Z] 04944245beec: Download complete [2024-10-03T20:46:44.008Z] 765212b225bb: Verifying Checksum [2024-10-03T20:46:44.008Z] 765212b225bb: Download complete [2024-10-03T20:46:44.275Z] f23df028b6ca: Verifying Checksum [2024-10-03T20:46:44.275Z] f23df028b6ca: Download complete [2024-10-03T20:46:44.275Z] d65c8cfc05b1: Download complete [2024-10-03T20:46:44.275Z] 699f458cf7ca: Verifying Checksum [2024-10-03T20:46:44.275Z] 699f458cf7ca: Download complete [2024-10-03T20:46:44.858Z] 8998bd30e6a1: Download complete [2024-10-03T20:46:47.441Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T20:46:47.441Z] 2437ff75d9bd: Download complete [2024-10-03T20:46:49.396Z] 8998bd30e6a1: Pull complete [2024-10-03T20:46:49.662Z] 04944245beec: Pull complete [2024-10-03T20:46:51.605Z] 699f458cf7ca: Pull complete [2024-10-03T20:46:51.605Z] 765212b225bb: Pull complete [2024-10-03T20:46:52.568Z] f23df028b6ca: Pull complete [2024-10-03T20:46:52.568Z] d65c8cfc05b1: Pull complete [2024-10-03T20:47:10.783Z] 2437ff75d9bd: Pull complete [2024-10-03T20:47:10.783Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T20:47:10.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T20:47:10.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:47:11.148Z] prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container [2024-10-03T20:47:11.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-03T20:47:13.673Z] $ docker top 51631d58ae650bf2b8441d043a53bae3c0b406833897b6579e917a438ffac14e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:14.570Z] ---> job-cost.sh [2024-10-03T20:47:14.570Z] lf-activate-venv: SKIPPING [2024-10-03T20:47:14.570Z] INFO: No Stack... [2024-10-03T20:47:14.836Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T20:47:15.790Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T20:47:16.141Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-03T20:47:16.141Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T20:47:16.223Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [2024-10-03T20:47:16.230Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] did not exist. Created. [2024-10-03T20:47:16.237Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T20:47:16.984Z] /w/workspace/device-rest-go/1@tmp/durable-abb5b0b1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T20:47:17.338Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T20:47:17.378Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T20:47:17.781Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T20:47:17.802Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T20:47:17.889Z] $ docker stop --time=1 51631d58ae650bf2b8441d043a53bae3c0b406833897b6579e917a438ffac14e [2024-10-03T20:47:19.343Z] $ docker rm -f --volumes 51631d58ae650bf2b8441d043a53bae3c0b406833897b6579e917a438ffac14e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T20:47:20.202Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T20:47:22.911Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-413/archives ] [2024-10-03T20:47:22.911Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-413/archives [2024-10-03T20:47:22.911Z] total 16 [2024-10-03T20:47:22.911Z] drwxr-xr-x 3 root root 4096 Oct 3 20:42 . [2024-10-03T20:47:22.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:42 .. [2024-10-03T20:47:22.911Z] drwxr-xr-x 2 root root 4096 Oct 3 20:42 cost [2024-10-03T20:47:22.911Z] -rw-r--r-- 1 root root 86 Oct 3 20:42 cost.csv [2024-10-03T20:47:22.911Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-413/archives [2024-10-03T20:47:22.911Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-413/archives [2024-10-03T20:47:22.911Z] total 16 [2024-10-03T20:47:22.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:42 . [2024-10-03T20:47:22.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:42 .. [2024-10-03T20:47:22.911Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:42 cost [2024-10-03T20:47:22.911Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:23.252Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:24.162Z] ---> package-listing.sh [2024-10-03T20:47:24.162Z] ++ facter osfamily [2024-10-03T20:47:24.162Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T20:47:24.421Z] + OS_FAMILY=debian [2024-10-03T20:47:24.421Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-413 [2024-10-03T20:47:24.421Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T20:47:24.421Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T20:47:24.421Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T20:47:24.421Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T20:47:24.421Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-413 ']' [2024-10-03T20:47:24.421Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T20:47:24.422Z] + case "${OS_FAMILY}" in [2024-10-03T20:47:24.422Z] + dpkg -l [2024-10-03T20:47:24.422Z] + grep '^ii' [2024-10-03T20:47:24.422Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T20:47:24.422Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T20:47:24.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T20:47:24.422Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-413 ']' [2024-10-03T20:47:24.422Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-413/archives/ [2024-10-03T20:47:24.422Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-413/archives/ [Pipeline] echo [2024-10-03T20:47:24.462Z] 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T20:47:24.762Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T20:47:25.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T20:47:25.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T20:47:25.583Z] prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container [2024-10-03T20:47:25.614Z] $ 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-413/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-413 -v /w/workspace/gexfoundry_device-rest-go_PR-413:/w/workspace/gexfoundry_device-rest-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-413@tmp:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T20:47:25.797Z] $ docker top e0b0705cd8523fa440994d741040a94919ef21416eeac6baff777c050a4e28e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T20:47:26.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T20:47:26.518Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T20:47:26.839Z] + ls /var/log/sa-host [2024-10-03T20:47:26.839Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T20:47:27.090Z] provisioning config files... [2024-10-03T20:47:27.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-413@tmp/config10098859050682587301tmp [Pipeline] { [Pipeline] echo [2024-10-03T20:47:27.166Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:27.489Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T20:47:27.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:27.954Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T20:47:27.994Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:28.331Z] ---> sudo-logs.sh [2024-10-03T20:47:28.331Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T20:47:28.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:28.764Z] ---> job-cost.sh [2024-10-03T20:47:28.764Z] lf-activate-venv: SKIPPING [2024-10-03T20:47:28.764Z] DEBUG: total: 0.2199999988079071 [2024-10-03T20:47:28.764Z] INFO: Retrieving Stack Cost... [2024-10-03T20:47:29.024Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T20:47:29.284Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T20:47:29.331Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T20:47:29.711Z] ---> logs-deploy.sh [2024-10-03T20:47:29.711Z] lf-activate-venv: SKIPPING [2024-10-03T20:47:29.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-413/1 [2024-10-03T20:47:29.711Z] INFO: archiving workspace using pattern(s): [2024-10-03T20:47:30.649Z] Archives upload complete. [2024-10-03T20:47:30.649Z] INFO: archiving logs to Nexus