Pull request #426 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 74e7619f5207b26d95297af529df20dd724650e8+8257fd91468d3a13c9b08aa2e5cf32be113d097a (a79199d759d4240e62eb51ab2a744ceebf1bdd5c) 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-ssh6537947555593948192.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-ssh14983911663871669257.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-426/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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14501626460482459879.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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2353249606926796283.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-ssh2934189350012869241.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-426/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-426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10561055856904344831.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-25963 in /w/workspace/gexfoundry_device-rest-go_PR-426 [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-426 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit 74e7619f5207b26d95297af529df20dd724650e8 Merge succeeded, producing 74e7619f5207b26d95297af529df20dd724650e8 Checking out Revision 74e7619f5207b26d95297af529df20dd724650e8 (PR-426) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74e7619f5207b26d95297af529df20dd724650e8 # 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 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74e7619f5207b26d95297af529df20dd724650e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T20:43:12.257Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T20:43:12.472Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T20:43:12.598Z] ========================================================= [2024-11-08T20:43:12.598Z] EdgeX Global Pipelines Version Info [2024-11-08T20:43:12.598Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:43:13.355Z] ------------------- [2024-11-08T20:43:13.355Z] stable info: [2024-11-08T20:43:13.355Z] ------------------- [2024-11-08T20:43:13.355Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T20:43:13.355Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T20:43:13.355Z] Message: update stable to v1.0.265 [2024-11-08T20:43:13.928Z] ------------------- [2024-11-08T20:43:13.928Z] experimental info: [2024-11-08T20:43:13.928Z] ------------------- [2024-11-08T20:43:13.928Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T20:43:13.928Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T20:43:13.928Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T20:43:14.162Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-11-08T20:43:14.225Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-11-08T20:43:14.282Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T20:43:14.340Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T20:43:14.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T20:43:14.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T20:43:14.529Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T20:43:14.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T20:43:14.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T20:43:14.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T20:43:14.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T20:43:14.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-11-08T20:43:14.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T20:43:14.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T20:43:14.991Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T20:43:15.054Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T20:43:15.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T20:43:15.172Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T20:43:15.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T20:43:15.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T20:43:15.352Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T20:43:15.411Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T20:43:15.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T20:43:15.526Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T20:43:15.584Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T20:43:15.645Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T20:43:15.706Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T20:43:15.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-426 [Pipeline] echo [2024-11-08T20:43:15.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-426 [Pipeline] echo [2024-11-08T20:43:15.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-426 [Pipeline] echo [2024-11-08T20:43:15.948Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74e7619f5207b26d95297af529df20dd724650e8 [Pipeline] echo [2024-11-08T20:43:16.002Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74e7619 [Pipeline] echo [2024-11-08T20:43:16.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T20:43:16.211Z] provisioning config files... [2024-11-08T20:43:16.225Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-426@tmp/config731337065806787782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:43:16.606Z] ---> ****-login.sh [2024-11-08T20:43:16.606Z] nexus3.edgexfoundry.org:10001 [2024-11-08T20:43:16.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:16.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:16.866Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:16.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:16.866Z] [2024-11-08T20:43:16.866Z] Login Succeeded [2024-11-08T20:43:16.866Z] nexus3.edgexfoundry.org:10002 [2024-11-08T20:43:17.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:17.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:17.126Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:17.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:17.126Z] [2024-11-08T20:43:17.126Z] Login Succeeded [2024-11-08T20:43:17.126Z] nexus3.edgexfoundry.org:10003 [2024-11-08T20:43:17.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:17.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:17.126Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:17.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:17.126Z] [2024-11-08T20:43:17.126Z] Login Succeeded [2024-11-08T20:43:17.126Z] nexus3.edgexfoundry.org:10004 [2024-11-08T20:43:17.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:17.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:17.387Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:17.387Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:17.387Z] [2024-11-08T20:43:17.387Z] Login Succeeded [2024-11-08T20:43:17.387Z] ****.io [2024-11-08T20:43:17.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:17.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:17.648Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:17.648Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:17.648Z] [2024-11-08T20:43:17.648Z] Login Succeeded [2024-11-08T20:43:17.648Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T20:43:17.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T20:43:18.395Z] + git rev-list -1 --merges 74e7619f5207b26d95297af529df20dd724650e8~1..74e7619f5207b26d95297af529df20dd724650e8 [Pipeline] echo [2024-11-08T20:43:18.448Z] -----------> git rev-list -1 --merges 74e7619f5207b26d95297af529df20dd724650e8~1..74e7619f5207b26d95297af529df20dd724650e8 74e7619f5207b26d95297af529df20dd724650e8 [false] [Pipeline] sh [2024-11-08T20:43:18.772Z] + git log --format=format:%s -1 74e7619f5207b26d95297af529df20dd724650e8 [Pipeline] echo [2024-11-08T20:43:18.815Z] ========================================================= [2024-11-08T20:43:18.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T20:43:18.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T20:43:19.292Z] + git log --format=format:%s -1 74e7619f5207b26d95297af529df20dd724650e8 [Pipeline] echo [2024-11-08T20:43:19.337Z] [semverPrep] GIT_COMMIT: 74e7619f5207b26d95297af529df20dd724650e8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-08T20:43:19.382Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T20:43:19.816Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T20:43:19.816Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T20:43:19.816Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T20:43:19.816Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T20:43:19.816Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T20:43:19.816Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T20:43:19.816Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:43:20.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T20:43:20.370Z] [2024-11-08T20:43:20.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:43:20.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T20:43:21.036Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T20:43:21.036Z] b85a868b505f: Pulling fs layer [2024-11-08T20:43:21.036Z] e2be974225ed: Pulling fs layer [2024-11-08T20:43:21.036Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T20:43:21.036Z] 988bab9f4d93: Pulling fs layer [2024-11-08T20:43:21.036Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T20:43:21.036Z] eaf3925da568: Pulling fs layer [2024-11-08T20:43:21.036Z] bab4dde63d76: Pulling fs layer [2024-11-08T20:43:21.036Z] bde34c3a00c8: Pulling fs layer [2024-11-08T20:43:21.036Z] b352a97aabf1: Pulling fs layer [2024-11-08T20:43:21.036Z] 4872d77fe225: Pulling fs layer [2024-11-08T20:43:21.036Z] 5851b861e8e6: Pulling fs layer [2024-11-08T20:43:21.036Z] 988bab9f4d93: Waiting [2024-11-08T20:43:21.036Z] bde34c3a00c8: Waiting [2024-11-08T20:43:21.036Z] b352a97aabf1: Waiting [2024-11-08T20:43:21.036Z] 1469e6f7b9e6: Waiting [2024-11-08T20:43:21.036Z] 4872d77fe225: Waiting [2024-11-08T20:43:21.036Z] eaf3925da568: Waiting [2024-11-08T20:43:21.036Z] 5851b861e8e6: Waiting [2024-11-08T20:43:21.036Z] bab4dde63d76: Waiting [2024-11-08T20:43:21.036Z] e2be974225ed: Download complete [2024-11-08T20:43:21.036Z] 988bab9f4d93: Verifying Checksum [2024-11-08T20:43:21.036Z] 988bab9f4d93: Download complete [2024-11-08T20:43:21.036Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T20:43:21.036Z] 1469e6f7b9e6: Download complete [2024-11-08T20:43:21.036Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T20:43:21.036Z] 339a4e72a1f5: Download complete [2024-11-08T20:43:21.036Z] eaf3925da568: Verifying Checksum [2024-11-08T20:43:21.036Z] eaf3925da568: Download complete [2024-11-08T20:43:21.036Z] bde34c3a00c8: Verifying Checksum [2024-11-08T20:43:21.036Z] bde34c3a00c8: Download complete [2024-11-08T20:43:21.036Z] b352a97aabf1: Download complete [2024-11-08T20:43:21.036Z] 4872d77fe225: Verifying Checksum [2024-11-08T20:43:21.036Z] 5851b861e8e6: Verifying Checksum [2024-11-08T20:43:21.036Z] 5851b861e8e6: Download complete [2024-11-08T20:43:21.294Z] b85a868b505f: Verifying Checksum [2024-11-08T20:43:21.294Z] b85a868b505f: Download complete [2024-11-08T20:43:21.553Z] bab4dde63d76: Verifying Checksum [2024-11-08T20:43:21.553Z] bab4dde63d76: Download complete [2024-11-08T20:43:22.491Z] b85a868b505f: Pull complete [2024-11-08T20:43:22.752Z] e2be974225ed: Pull complete [2024-11-08T20:43:23.321Z] 339a4e72a1f5: Pull complete [2024-11-08T20:43:23.321Z] 988bab9f4d93: Pull complete [2024-11-08T20:43:23.889Z] 1469e6f7b9e6: Pull complete [2024-11-08T20:43:24.150Z] eaf3925da568: Pull complete [2024-11-08T20:43:26.055Z] bab4dde63d76: Pull complete [2024-11-08T20:43:26.314Z] bde34c3a00c8: Pull complete [2024-11-08T20:43:26.581Z] b352a97aabf1: Pull complete [2024-11-08T20:43:26.840Z] 4872d77fe225: Pull complete [2024-11-08T20:43:26.840Z] 5851b861e8e6: Pull complete [2024-11-08T20:43:27.099Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T20:43:27.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T20:43:27.099Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:43:27.404Z] prd-ubuntu20.04-docker-8c-8g-25963 does not seem to be running inside a container [2024-11-08T20:43:27.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-426 -v /w/workspace/gexfoundry_device-rest-go_PR-426:/w/workspace/gexfoundry_device-rest-go_PR-426:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-426@tmp:/w/workspace/gexfoundry_device-rest-go_PR-426@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-11-08T20:43:32.281Z] $ docker top ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 -eo pid,comm [2024-11-08T20:43:32.335Z] 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-11-08T20:43:32.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T20:43:32.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T20:43:32.505Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T20:43:32.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T20:43:32.613Z] $ docker exec ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 ssh-agent [2024-11-08T20:43:32.720Z] SSH_AUTH_SOCK=/tmp/ssh-ywz8QO3yQ8fn/agent.31 [2024-11-08T20:43:32.720Z] SSH_AGENT_PID=37 [2024-11-08T20:43:32.726Z] Running ssh-add (command line suppressed) [2024-11-08T20:43:32.840Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-426@tmp/private_key_12341764681954798028.key (/w/workspace/gexfoundry_device-rest-go_PR-426@tmp/private_key_12341764681954798028.key) [2024-11-08T20:43:32.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T20:43:33.198Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T20:43:33.223Z] $ docker exec --env ******** --env ******** ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 ssh-agent -k [2024-11-08T20:43:33.317Z] unset SSH_AUTH_SOCK; [2024-11-08T20:43:33.317Z] unset SSH_AGENT_PID; [2024-11-08T20:43:33.317Z] echo Agent pid 37 killed; [2024-11-08T20:43:33.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T20:43:33.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T20:43:33.442Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T20:43:33.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T20:43:33.552Z] $ docker exec ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 ssh-agent [2024-11-08T20:43:33.656Z] SSH_AUTH_SOCK=/tmp/ssh-lWw4Q9KiXwfS/agent.70 [2024-11-08T20:43:33.656Z] SSH_AGENT_PID=76 [2024-11-08T20:43:33.661Z] Running ssh-add (command line suppressed) [2024-11-08T20:43:33.784Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-426@tmp/private_key_13005248868005851967.key (/w/workspace/gexfoundry_device-rest-go_PR-426@tmp/private_key_13005248868005851967.key) [2024-11-08T20:43:33.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T20:43:34.144Z] + git semver init [2024-11-08T20:43:34.404Z] 2024-11-08 20:43:34,326 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T20:43:34.404Z] 2024-11-08 20:43:34,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-426/.semver [2024-11-08T20:43:34.404Z] 2024-11-08 20:43:34,327 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-426/.semver [2024-11-08T20:43:34.404Z] 2024-11-08 20:43:34,327 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-426/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-426, universal_newlines=False, shell=None, istream=None) [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,523 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-426/.git/info/exclude [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-426/.semver/PR-426 with force:False [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,523 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-426/.semver/PR-426 [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,527 [execute] INFO git cat-file --batch-check [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-426/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,534 [execute] INFO git cat-file --batch [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-426/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T20:43:35.785Z] 2024-11-08 20:43:35,539 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-426/.semver/PR-426 [2024-11-08T20:43:35.785Z] 0.0.0 [Pipeline] } [2024-11-08T20:43:35.816Z] $ docker exec --env ******** --env ******** ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 ssh-agent -k [2024-11-08T20:43:35.898Z] unset SSH_AUTH_SOCK; [2024-11-08T20:43:35.899Z] unset SSH_AGENT_PID; [2024-11-08T20:43:35.899Z] echo Agent pid 76 killed; [2024-11-08T20:43:35.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T20:43:36.371Z] + git semver [Pipeline] } [2024-11-08T20:43:36.659Z] $ docker stop --time=1 ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 [2024-11-08T20:43:37.978Z] $ docker rm -f --volumes ce9f1ed3a78d876b3fd2003d539719a8248e6834b184981a9de32424ca600d32 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T20:43:38.391Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T20:43:38.690Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T20:43:38.715Z] [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-11-08T20:43:39.532Z] provisioning config files... [2024-11-08T20:43:39.542Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-426@tmp/config15141855638121169121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:43:39.908Z] ---> ****-login.sh [2024-11-08T20:43:39.908Z] nexus3.edgexfoundry.org:10001 [2024-11-08T20:43:39.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:39.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:39.908Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:39.908Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:39.908Z] [2024-11-08T20:43:39.908Z] Login Succeeded [2024-11-08T20:43:39.908Z] nexus3.edgexfoundry.org:10002 [2024-11-08T20:43:39.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:39.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:39.909Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:39.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:39.909Z] [2024-11-08T20:43:39.909Z] Login Succeeded [2024-11-08T20:43:39.909Z] nexus3.edgexfoundry.org:10003 [2024-11-08T20:43:40.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:40.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:40.171Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:40.171Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:40.171Z] [2024-11-08T20:43:40.171Z] Login Succeeded [2024-11-08T20:43:40.171Z] nexus3.edgexfoundry.org:10004 [2024-11-08T20:43:40.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:40.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:40.172Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:40.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:40.172Z] [2024-11-08T20:43:40.172Z] Login Succeeded [2024-11-08T20:43:40.172Z] ****.io [2024-11-08T20:43:40.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:43:40.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:43:40.432Z] Configure a credential helper to remove this warning. See [2024-11-08T20:43:40.432Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:43:40.432Z] [2024-11-08T20:43:40.432Z] Login Succeeded [2024-11-08T20:43:40.432Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T20:43:40.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T20:43:40.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T20:43:40.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T20:43:40.797Z] ========================================================= [2024-11-08T20:43:40.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T20:43:40.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:43:41.299Z] + 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-11-08T20:43:41.299Z] Sending build context to Docker daemon 16.65MB [2024-11-08T20:43:41.299Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T20:43:41.299Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T20:43:41.870Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T20:43:41.870Z] 43c4264eed91: Pulling fs layer [2024-11-08T20:43:41.870Z] 4cc291be95ef: Pulling fs layer [2024-11-08T20:43:41.870Z] 2ac1f1163629: Pulling fs layer [2024-11-08T20:43:41.870Z] 5c3c966382ef: Pulling fs layer [2024-11-08T20:43:41.870Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T20:43:41.870Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T20:43:41.870Z] 9f66e0745190: Pulling fs layer [2024-11-08T20:43:41.870Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T20:43:41.870Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T20:43:41.870Z] 9f66e0745190: Waiting [2024-11-08T20:43:41.870Z] f49a43e4bbc0: Waiting [2024-11-08T20:43:41.870Z] 5c3c966382ef: Waiting [2024-11-08T20:43:41.870Z] 4f4fb700ef54: Waiting [2024-11-08T20:43:41.870Z] 5d5c8e513c77: Waiting [2024-11-08T20:43:41.870Z] 4cc291be95ef: Download complete [2024-11-08T20:43:41.870Z] 5c3c966382ef: Verifying Checksum [2024-11-08T20:43:41.870Z] 5c3c966382ef: Download complete [2024-11-08T20:43:41.870Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T20:43:41.870Z] 4f4fb700ef54: Download complete [2024-11-08T20:43:41.870Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T20:43:41.870Z] 5d5c8e513c77: Download complete [2024-11-08T20:43:41.870Z] 9f66e0745190: Verifying Checksum [2024-11-08T20:43:41.870Z] 9f66e0745190: Download complete [2024-11-08T20:43:42.437Z] 43c4264eed91: Pull complete [2024-11-08T20:43:42.437Z] 561ebcabdf7f: Download complete [2024-11-08T20:43:42.437Z] 2ac1f1163629: Verifying Checksum [2024-11-08T20:43:42.437Z] 2ac1f1163629: Download complete [2024-11-08T20:43:42.696Z] 4cc291be95ef: Pull complete [2024-11-08T20:43:42.696Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T20:43:42.696Z] f49a43e4bbc0: Download complete [2024-11-08T20:43:45.977Z] 2ac1f1163629: Pull complete [2024-11-08T20:43:45.977Z] 5c3c966382ef: Pull complete [2024-11-08T20:43:45.977Z] 4f4fb700ef54: Pull complete [2024-11-08T20:43:45.977Z] 5d5c8e513c77: Pull complete [2024-11-08T20:43:45.977Z] 9f66e0745190: Pull complete [2024-11-08T20:43:47.879Z] f49a43e4bbc0: Pull complete [2024-11-08T20:43:48.449Z] 561ebcabdf7f: Pull complete [2024-11-08T20:43:48.449Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T20:43:48.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T20:43:48.449Z] ---> 3a752c3f9dda [2024-11-08T20:43:48.449Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T20:43:54.319Z] Still waiting to schedule task [2024-11-08T20:43:54.320Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-08T20:43:56.714Z] ---> Running in 4da43847745c [2024-11-08T20:43:56.714Z] Removing intermediate container 4da43847745c [2024-11-08T20:43:56.714Z] ---> a62bc6e344ca [2024-11-08T20:43:56.714Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T20:43:56.714Z] ---> Running in ed3dab80642e [2024-11-08T20:43:56.714Z] Removing intermediate container ed3dab80642e [2024-11-08T20:43:56.714Z] ---> 6d431fdda132 [2024-11-08T20:43:56.714Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T20:43:56.714Z] ---> Running in 852352aa7053 [2024-11-08T20:43:56.714Z] Removing intermediate container 852352aa7053 [2024-11-08T20:43:56.714Z] ---> aa58854a2eca [2024-11-08T20:43:56.714Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T20:43:56.714Z] ---> Running in 71b36149be1c [2024-11-08T20:43:56.714Z] Removing intermediate container 71b36149be1c [2024-11-08T20:43:56.714Z] ---> 4807b5d1b21c [2024-11-08T20:43:56.714Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T20:43:56.714Z] ---> Running in 29e4a6bf1a78 [2024-11-08T20:43:56.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T20:43:56.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T20:43:56.973Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T20:43:56.973Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T20:43:56.973Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T20:43:56.973Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T20:43:56.973Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T20:43:56.973Z] OK: 250 MiB in 58 packages [2024-11-08T20:43:57.542Z] Removing intermediate container 29e4a6bf1a78 [2024-11-08T20:43:57.542Z] ---> c93099cffc32 [2024-11-08T20:43:57.542Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-08T20:43:57.542Z] ---> Running in be2373504607 [2024-11-08T20:43:57.542Z] Removing intermediate container be2373504607 [2024-11-08T20:43:57.542Z] ---> 14b11b5050bf [2024-11-08T20:43:57.542Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T20:43:57.801Z] ---> d9e4283550d6 [2024-11-08T20:43:57.801Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T20:43:57.801Z] ---> Running in c45265cb235d [2024-11-08T20:45:05.516Z] Removing intermediate container c45265cb235d [2024-11-08T20:45:05.516Z] ---> 56e15f9c3d82 [2024-11-08T20:45:05.516Z] Step 11/12 : COPY . . [2024-11-08T20:45:05.516Z] ---> be1d7198e3d7 [2024-11-08T20:45:05.516Z] Step 12/12 : RUN $MAKE [2024-11-08T20:45:05.516Z] ---> Running in 17c6bc232ab6 [2024-11-08T20:45:05.516Z] noop [2024-11-08T20:45:05.516Z] Removing intermediate container 17c6bc232ab6 [2024-11-08T20:45:05.516Z] ---> a307403bc643 [2024-11-08T20:45:05.516Z] Successfully built a307403bc643 [2024-11-08T20:45:05.516Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:45:06.024Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T20:45:06.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:45:06.198Z] prd-ubuntu20.04-docker-8c-8g-25963 does not seem to be running inside a container [2024-11-08T20:45:06.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-426 -v /w/workspace/gexfoundry_device-rest-go_PR-426:/w/workspace/gexfoundry_device-rest-go_PR-426:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-426@tmp:/w/workspace/gexfoundry_device-rest-go_PR-426@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-11-08T20:45:06.555Z] $ docker top fe40385fd9d1f60f3e5e9179aa6a3decc0aa97d8c7dcc443b37b06fafe181b4c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T20:45:06.969Z] + go version [2024-11-08T20:45:06.970Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T20:45:07.015Z] $ docker stop --time=1 fe40385fd9d1f60f3e5e9179aa6a3decc0aa97d8c7dcc443b37b06fafe181b4c [2024-11-08T20:45:08.291Z] $ docker rm -f --volumes fe40385fd9d1f60f3e5e9179aa6a3decc0aa97d8c7dcc443b37b06fafe181b4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:45:09.084Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T20:45:09.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:45:09.262Z] prd-ubuntu20.04-docker-8c-8g-25963 does not seem to be running inside a container [2024-11-08T20:45:09.296Z] $ 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-426 -v /w/workspace/gexfoundry_device-rest-go_PR-426:/w/workspace/gexfoundry_device-rest-go_PR-426:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-426@tmp:/w/workspace/gexfoundry_device-rest-go_PR-426@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-11-08T20:45:09.612Z] $ docker top 480cbe04325d716dfed0f4a72800ec23dbdf19e9625c849b6acf24667b129e3b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T20:45:10.014Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-426 [Pipeline] fileExists [Pipeline] sh [2024-11-08T20:45:10.389Z] + make test [2024-11-08T20:45:10.389Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T20:45:12.293Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-08T20:45:30.370Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-08T20:45:30.371Z] ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements [2024-11-08T20:45:32.276Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25964 in /w/workspace/gexfoundry_device-rest-go_PR-426 [Pipeline] { [Pipeline] ws [2024-11-08T20:45:32.358Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-11-08T20:45:35.523Z] The recommended git tool is: git [2024-11-08T20:45:38.477Z] go vet ./... [2024-11-08T20:45:40.450Z] using credential edgex-jenkins-ssh [2024-11-08T20:45:40.477Z] Cloning the remote Git repository [2024-11-08T20:45:40.515Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T20:45:40.630Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-11-08T20:45:40.773Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T20:45:40.774Z] > git --version # timeout=10 [2024-11-08T20:45:40.793Z] > git --version # 'git version 2.25.1' [2024-11-08T20:45:40.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T20:45:40.953Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T20:45:43.738Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T20:45:43.738Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T20:45:43.738Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T20:45:43.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T20:45:43.851Z] $ docker stop --time=1 480cbe04325d716dfed0f4a72800ec23dbdf19e9625c849b6acf24667b129e3b [2024-11-08T20:45:43.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-08T20:45:43.755Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T20:45:45.252Z] Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit 74e7619f5207b26d95297af529df20dd724650e8 [2024-11-08T20:45:45.509Z] Merge succeeded, producing 74e7619f5207b26d95297af529df20dd724650e8 [2024-11-08T20:45:45.509Z] Checking out Revision 74e7619f5207b26d95297af529df20dd724650e8 (PR-426) [2024-11-08T20:45:44.663Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-08T20:45:44.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T20:45:44.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T20:45:44.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T20:45:45.266Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T20:45:45.327Z] > git checkout -f 74e7619f5207b26d95297af529df20dd724650e8 # timeout=10 [2024-11-08T20:45:45.404Z] > git remote # timeout=10 [2024-11-08T20:45:45.420Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T20:45:45.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T20:45:45.463Z] > git merge 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 [2024-11-08T20:45:45.487Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T20:45:45.514Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T20:45:45.533Z] > git checkout -f 74e7619f5207b26d95297af529df20dd724650e8 # timeout=10 [2024-11-08T20:45:46.088Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-08T20:45:46.140Z] > git --version # timeout=10 [2024-11-08T20:45:46.152Z] > git --version # 'git version 2.25.1' [2024-11-08T20:45:46.166Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T20:45:48.257Z] $ docker rm -f --volumes 480cbe04325d716dfed0f4a72800ec23dbdf19e9625c849b6acf24667b129e3b [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T20:45:48.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T20:45:48.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T20:45:49.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T20:45:49.959Z] + ls -al . [2024-11-08T20:45:49.959Z] total 244 [2024-11-08T20:45:49.959Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 20:45 . [2024-11-08T20:45:49.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:43 .. [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 20:43 .dockerignore [2024-11-08T20:45:49.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:45 .git [2024-11-08T20:45:49.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:43 .github [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 20:43 .gitignore [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:43 .golangci.yml [2024-11-08T20:45:49.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:43 .semver [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 20:43 Attribution.txt [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 20:43 CHANGELOG.md [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 20:43 Dockerfile [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:43 GOVERNANCE.md [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:43 Jenkinsfile [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:43 LICENSE [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 20:43 Makefile [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 20:43 OWNERS.md [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 20:43 README.md [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:43 VERSION [2024-11-08T20:45:49.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:43 bin [2024-11-08T20:45:49.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:43 cmd [2024-11-08T20:45:49.960Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 20:45 coverage.out [2024-11-08T20:45:49.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:43 driver [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 20:43 go.mod [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 20:43 go.sum [2024-11-08T20:45:49.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:43 openapi [2024-11-08T20:45:49.960Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:45:50.371Z] + 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=74e7619f5207b26d95297af529df20dd724650e8 --label arch=amd64 --label version=0.0.0 . [2024-11-08T20:45:50.371Z] Sending build context to Docker daemon 16.66MB [2024-11-08T20:45:50.371Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T20:45:50.371Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T20:45:50.371Z] ---> a307403bc643 [2024-11-08T20:45:50.371Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T20:45:50.629Z] ---> Running in 513936a528b9 [2024-11-08T20:45:51.066Z] Removing intermediate container 513936a528b9 [2024-11-08T20:45:51.066Z] ---> c162d6cd548e [2024-11-08T20:45:51.066Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T20:45:51.066Z] ---> Running in 8545594523c7 [2024-11-08T20:45:51.066Z] Removing intermediate container 8545594523c7 [2024-11-08T20:45:51.066Z] ---> 3eae8c981d0c [2024-11-08T20:45:51.066Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T20:45:51.255Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T20:45:51.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T20:45:51.255Z] Dload Upload Total Spent Left Speed [2024-11-08T20:45:51.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 83843 0 --:--:-- --:--:-- --:--:-- 83298 [Pipeline] sh [2024-11-08T20:45:51.324Z] ---> Running in 180bb32a4cf5 [2024-11-08T20:45:51.324Z] Removing intermediate container 180bb32a4cf5 [2024-11-08T20:45:51.324Z] ---> f346652fb8f4 [2024-11-08T20:45:51.324Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T20:45:51.585Z] ---> Running in 32fbe1da1d67 [2024-11-08T20:45:51.585Z] Removing intermediate container 32fbe1da1d67 [2024-11-08T20:45:51.585Z] ---> ff9a74caf546 [2024-11-08T20:45:51.585Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T20:45:51.585Z] ---> Running in a9445dcddd4e [2024-11-08T20:45:51.614Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T20:45:51.972Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T20:45:51.972Z] + sudo tee /etc/docker/daemon.new [2024-11-08T20:45:51.972Z] { [2024-11-08T20:45:51.972Z] "registry-mirrors": [ [2024-11-08T20:45:51.972Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T20:45:51.972Z] ], [2024-11-08T20:45:51.972Z] "bip": "10.250.0.254/24", [2024-11-08T20:45:51.972Z] "hosts": [ [2024-11-08T20:45:51.972Z] "tcp://0.0.0.0:5555", [2024-11-08T20:45:51.972Z] "unix:///var/run/docker.sock" [2024-11-08T20:45:51.972Z] ], [2024-11-08T20:45:51.972Z] "mtu": 1458, [2024-11-08T20:45:51.972Z] "selinux-enabled": true, [2024-11-08T20:45:51.972Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T20:45:51.972Z] } [Pipeline] sh [2024-11-08T20:45:52.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T20:45:52.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T20:45:52.338Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T20:45:52.410Z] OK: 250 MiB in 58 packages [2024-11-08T20:45:52.708Z] + sudo service docker restart [2024-11-08T20:45:52.977Z] Removing intermediate container a9445dcddd4e [2024-11-08T20:45:52.978Z] ---> 3143b4c73667 [2024-11-08T20:45:52.978Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-08T20:45:52.978Z] ---> Running in 7637f372cc5e [2024-11-08T20:45:53.236Z] Removing intermediate container 7637f372cc5e [2024-11-08T20:45:53.236Z] ---> 46578df4818c [2024-11-08T20:45:53.236Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-08T20:45:53.496Z] ---> 740b4d4adba4 [2024-11-08T20:45:53.496Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T20:45:53.496Z] ---> Running in f27a50ec7326 [2024-11-08T20:45:54.061Z] Removing intermediate container f27a50ec7326 [2024-11-08T20:45:54.061Z] ---> 5c28d9d3e7dd [2024-11-08T20:45:54.061Z] Step 11/26 : COPY . . [2024-11-08T20:45:54.628Z] ---> d0c24b8609c8 [2024-11-08T20:45:54.628Z] Step 12/26 : RUN $MAKE [2024-11-08T20:45:54.628Z] ---> Running in d8c515a7923c [2024-11-08T20:45:54.888Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T20:46:11.104Z] provisioning config files... [2024-11-08T20:46:11.135Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config18321163119083313644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:46:11.664Z] ---> ****-login.sh [2024-11-08T20:46:11.664Z] nexus3.edgexfoundry.org:10001 [2024-11-08T20:46:12.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:46:12.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:46:12.257Z] Configure a credential helper to remove this warning. See [2024-11-08T20:46:12.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:46:12.257Z] [2024-11-08T20:46:12.257Z] Login Succeeded [2024-11-08T20:46:12.257Z] nexus3.edgexfoundry.org:10002 [2024-11-08T20:46:12.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:46:12.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:46:12.800Z] Configure a credential helper to remove this warning. See [2024-11-08T20:46:12.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:46:12.801Z] [2024-11-08T20:46:12.801Z] Login Succeeded [2024-11-08T20:46:12.801Z] nexus3.edgexfoundry.org:10003 [2024-11-08T20:46:13.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:46:13.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:46:13.075Z] Configure a credential helper to remove this warning. See [2024-11-08T20:46:13.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:46:13.075Z] [2024-11-08T20:46:13.075Z] Login Succeeded [2024-11-08T20:46:13.075Z] nexus3.edgexfoundry.org:10004 [2024-11-08T20:46:13.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:46:13.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:46:13.621Z] Configure a credential helper to remove this warning. See [2024-11-08T20:46:13.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:46:13.621Z] [2024-11-08T20:46:13.621Z] Login Succeeded [2024-11-08T20:46:13.621Z] ****.io [2024-11-08T20:46:13.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T20:46:14.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T20:46:14.161Z] Configure a credential helper to remove this warning. See [2024-11-08T20:46:14.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T20:46:14.161Z] [2024-11-08T20:46:14.161Z] Login Succeeded [2024-11-08T20:46:14.161Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T20:46:14.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T20:46:14.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T20:46:14.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T20:46:14.796Z] ========================================================= [2024-11-08T20:46:14.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T20:46:14.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:46:15.364Z] + 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-11-08T20:46:15.365Z] Sending build context to Docker daemon 140.8kB [2024-11-08T20:46:15.635Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T20:46:15.635Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T20:46:15.905Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T20:46:15.905Z] cf04c63912e1: Pulling fs layer [2024-11-08T20:46:15.905Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T20:46:15.905Z] a37a00ec5f00: Pulling fs layer [2024-11-08T20:46:15.905Z] 50b3750afda1: Pulling fs layer [2024-11-08T20:46:15.905Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T20:46:15.905Z] 80978eb59214: Pulling fs layer [2024-11-08T20:46:15.905Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T20:46:15.905Z] c5a475d317c9: Pulling fs layer [2024-11-08T20:46:15.905Z] 50b3750afda1: Waiting [2024-11-08T20:46:15.905Z] 4f4fb700ef54: Waiting [2024-11-08T20:46:15.905Z] 80978eb59214: Waiting [2024-11-08T20:46:15.905Z] c9f46d7d2bd2: Waiting [2024-11-08T20:46:15.905Z] c5a475d317c9: Waiting [2024-11-08T20:46:15.905Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T20:46:15.905Z] 55b35a11ae5e: Download complete [2024-11-08T20:46:15.905Z] 50b3750afda1: Verifying Checksum [2024-11-08T20:46:15.905Z] 50b3750afda1: Download complete [2024-11-08T20:46:15.905Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T20:46:15.905Z] 4f4fb700ef54: Download complete [2024-11-08T20:46:15.905Z] cf04c63912e1: Verifying Checksum [2024-11-08T20:46:15.905Z] cf04c63912e1: Download complete [2024-11-08T20:46:15.905Z] 80978eb59214: Download complete [2024-11-08T20:46:16.504Z] c5a475d317c9: Verifying Checksum [2024-11-08T20:46:16.504Z] c5a475d317c9: Download complete [2024-11-08T20:46:16.777Z] cf04c63912e1: Pull complete [2024-11-08T20:46:17.750Z] 55b35a11ae5e: Pull complete [2024-11-08T20:46:18.020Z] a37a00ec5f00: Verifying Checksum [2024-11-08T20:46:18.020Z] a37a00ec5f00: Download complete [2024-11-08T20:46:18.997Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T20:46:18.998Z] c9f46d7d2bd2: Download complete [2024-11-08T20:46:26.985Z] Removing intermediate container d8c515a7923c [2024-11-08T20:46:26.985Z] ---> 72ffca2ffae6 [2024-11-08T20:46:26.985Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T20:46:26.985Z] 3.20: Pulling from library/alpine [2024-11-08T20:46:26.985Z] 43c4264eed91: Already exists [2024-11-08T20:46:26.985Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T20:46:26.985Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T20:46:26.985Z] ---> 91ef0af61f39 [2024-11-08T20:46:26.985Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T20:46:26.985Z] ---> Running in e3ae0c941a8e [2024-11-08T20:46:26.985Z] Removing intermediate container e3ae0c941a8e [2024-11-08T20:46:26.985Z] ---> 21772835c26e [2024-11-08T20:46:26.985Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-08T20:46:26.985Z] ---> Running in 56b345b78f73 [2024-11-08T20:46:26.985Z] Removing intermediate container 56b345b78f73 [2024-11-08T20:46:26.985Z] ---> a55e08aa07ac [2024-11-08T20:46:26.985Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T20:46:26.985Z] ---> Running in 4537b17b4931 [2024-11-08T20:46:26.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T20:46:26.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T20:46:26.985Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T20:46:26.985Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T20:46:26.985Z] OK: 8 MiB in 15 packages [2024-11-08T20:46:27.553Z] Removing intermediate container 4537b17b4931 [2024-11-08T20:46:27.553Z] ---> ff9797526c9c [2024-11-08T20:46:27.553Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-08T20:46:27.553Z] ---> Running in de036e668a20 [2024-11-08T20:46:27.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T20:46:27.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T20:46:28.071Z] Upgrading critical system libraries and apk-tools: [2024-11-08T20:46:28.071Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T20:46:28.071Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T20:46:28.071Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T20:46:28.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T20:46:28.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T20:46:28.590Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T20:46:28.590Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T20:46:28.590Z] OK: 8 MiB in 15 packages [2024-11-08T20:46:29.157Z] Removing intermediate container de036e668a20 [2024-11-08T20:46:29.157Z] ---> 6e50a52fd995 [2024-11-08T20:46:29.157Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-08T20:46:30.533Z] ---> eb5b15bc7553 [2024-11-08T20:46:30.533Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-08T20:46:30.533Z] ---> 6c9f6709d010 [2024-11-08T20:46:30.533Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-08T20:46:30.533Z] ---> 14b58951a8e8 [2024-11-08T20:46:30.533Z] Step 21/26 : EXPOSE 59986 [2024-11-08T20:46:30.533Z] ---> Running in bed860df3005 [2024-11-08T20:46:30.533Z] Removing intermediate container bed860df3005 [2024-11-08T20:46:30.533Z] ---> 4503dad56c9f [2024-11-08T20:46:30.533Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-08T20:46:30.792Z] ---> Running in f0dbe5c803e3 [2024-11-08T20:46:30.792Z] Removing intermediate container f0dbe5c803e3 [2024-11-08T20:46:30.792Z] ---> 0d81924577a7 [2024-11-08T20:46:30.792Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T20:46:30.792Z] ---> Running in b670138d43cc [2024-11-08T20:46:30.792Z] Removing intermediate container b670138d43cc [2024-11-08T20:46:30.792Z] ---> e894d6a83eec [2024-11-08T20:46:30.792Z] Step 24/26 : LABEL arch=amd64 [2024-11-08T20:46:30.792Z] ---> Running in 9f85c6aa2913 [2024-11-08T20:46:31.050Z] Removing intermediate container 9f85c6aa2913 [2024-11-08T20:46:31.050Z] ---> bb15c8d64343 [2024-11-08T20:46:31.050Z] Step 25/26 : LABEL git_sha=74e7619f5207b26d95297af529df20dd724650e8 [2024-11-08T20:46:31.050Z] ---> Running in 1ec5dbdfd6b0 [2024-11-08T20:46:31.050Z] Removing intermediate container 1ec5dbdfd6b0 [2024-11-08T20:46:31.050Z] ---> 4e5cf492342b [2024-11-08T20:46:31.050Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T20:46:31.050Z] ---> Running in c9060a9911b7 [2024-11-08T20:46:31.050Z] Removing intermediate container c9060a9911b7 [2024-11-08T20:46:31.050Z] ---> d4cf029d0f10 [2024-11-08T20:46:31.050Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T20:46:31.050Z] Successfully built d4cf029d0f10 [2024-11-08T20:46:31.050Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [2024-11-08T20:46:31.347Z] a37a00ec5f00: Pull complete [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-11-08T20:46:31.617Z] 50b3750afda1: Pull complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:46:31.885Z] 4f4fb700ef54: Pull complete [2024-11-08T20:46:32.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T20:46:32.134Z] [2024-11-08T20:46:32.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T20:46:32.160Z] 80978eb59214: Pull complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:46:32.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T20:46:32.545Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T20:46:32.545Z] 5eb5b503b376: Pulling fs layer [2024-11-08T20:46:32.545Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T20:46:32.545Z] ec43610c2a17: Pulling fs layer [2024-11-08T20:46:32.545Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T20:46:32.545Z] 33b1e0a273af: Pulling fs layer [2024-11-08T20:46:32.545Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T20:46:32.545Z] 2f39f015ded8: Pulling fs layer [2024-11-08T20:46:32.545Z] 3a2ae6a8a46f: Waiting [2024-11-08T20:46:32.545Z] 33b1e0a273af: Waiting [2024-11-08T20:46:32.545Z] 5d3b04190fa2: Waiting [2024-11-08T20:46:32.545Z] 2f39f015ded8: Waiting [2024-11-08T20:46:32.545Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T20:46:32.545Z] 5c69ac0246d0: Download complete [2024-11-08T20:46:32.545Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T20:46:32.545Z] 3a2ae6a8a46f: Download complete [2024-11-08T20:46:32.545Z] 33b1e0a273af: Verifying Checksum [2024-11-08T20:46:32.545Z] 33b1e0a273af: Download complete [2024-11-08T20:46:32.545Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T20:46:32.545Z] 5d3b04190fa2: Download complete [2024-11-08T20:46:32.545Z] ec43610c2a17: Verifying Checksum [2024-11-08T20:46:32.545Z] ec43610c2a17: Download complete [2024-11-08T20:46:32.804Z] 5eb5b503b376: Verifying Checksum [2024-11-08T20:46:32.804Z] 5eb5b503b376: Download complete [2024-11-08T20:46:33.370Z] 2f39f015ded8: Verifying Checksum [2024-11-08T20:46:33.370Z] 2f39f015ded8: Download complete [2024-11-08T20:46:33.936Z] 5eb5b503b376: Pull complete [2024-11-08T20:46:33.936Z] 5c69ac0246d0: Pull complete [2024-11-08T20:46:34.502Z] ec43610c2a17: Pull complete [2024-11-08T20:46:34.502Z] 3a2ae6a8a46f: Pull complete [2024-11-08T20:46:34.502Z] 33b1e0a273af: Pull complete [2024-11-08T20:46:34.760Z] 5d3b04190fa2: Pull complete [2024-11-08T20:46:38.948Z] 2f39f015ded8: Pull complete [2024-11-08T20:46:38.948Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T20:46:38.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T20:46:38.948Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:46:39.204Z] prd-ubuntu20.04-docker-8c-8g-25963 does not seem to be running inside a container [2024-11-08T20:46:39.244Z] $ 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-426 -v /w/workspace/gexfoundry_device-rest-go_PR-426:/w/workspace/gexfoundry_device-rest-go_PR-426:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-426@tmp:/w/workspace/gexfoundry_device-rest-go_PR-426@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-11-08T20:46:40.400Z] c9f46d7d2bd2: Pull complete [2024-11-08T20:46:41.363Z] c5a475d317c9: Pull complete [2024-11-08T20:46:41.363Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T20:46:41.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T20:46:41.363Z] ---> be29e6b0f0d4 [2024-11-08T20:46:41.364Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T20:46:42.324Z] ---> Running in f4eedf82c782 [2024-11-08T20:46:42.592Z] Removing intermediate container f4eedf82c782 [2024-11-08T20:46:42.592Z] ---> 0ba2d9be1a85 [2024-11-08T20:46:42.592Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T20:46:42.592Z] ---> Running in 385b95dd6c04 [2024-11-08T20:46:43.153Z] $ docker top be26435d0a78fa5bc5ad7b12bd23b00e41903957e7e7a12730a7833dedde3d72 -eo pid,comm [2024-11-08T20:46:43.179Z] Removing intermediate container 385b95dd6c04 [2024-11-08T20:46:43.179Z] ---> dfcc2f10d861 [2024-11-08T20:46:43.179Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T20:46:43.179Z] ---> Running in 268fa4e3ff92 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:46:43.448Z] Removing intermediate container 268fa4e3ff92 [2024-11-08T20:46:43.448Z] ---> 3b1862aba36f [2024-11-08T20:46:43.448Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T20:46:43.448Z] ---> Running in 5f13db01bbeb [2024-11-08T20:46:43.700Z] ---> job-cost.sh [2024-11-08T20:46:43.700Z] lf-activate-venv: SKIPPING [2024-11-08T20:46:43.700Z] INFO: No Stack... [2024-11-08T20:46:43.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T20:46:44.040Z] Removing intermediate container 5f13db01bbeb [2024-11-08T20:46:44.040Z] ---> a95dc1722878 [2024-11-08T20:46:44.040Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T20:46:44.040Z] ---> Running in 0c6b79dcedaf [2024-11-08T20:46:44.220Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T20:46:44.545Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-426/archives/cost.csv [2024-11-08T20:46:44.545Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T20:46:44.600Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] [2024-11-08T20:46:44.606Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] did not exist. Created. [2024-11-08T20:46:44.612Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T20:46:45.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T20:46:45.046Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T20:46:45.111Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T20:46:45.144Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T20:46:45.252Z] $ docker stop --time=1 be26435d0a78fa5bc5ad7b12bd23b00e41903957e7e7a12730a7833dedde3d72 [2024-11-08T20:46:45.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T20:46:46.472Z] $ docker rm -f --volumes be26435d0a78fa5bc5ad7b12bd23b00e41903957e7e7a12730a7833dedde3d72 [2024-11-08T20:46:46.560Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-11-08T20:46:46.830Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T20:46:46.830Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T20:46:46.830Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T20:46:46.830Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T20:46:46.830Z] OK: 242 MiB in 58 packages [Pipeline] // stage [Pipeline] } [2024-11-08T20:46:48.247Z] Removing intermediate container 0c6b79dcedaf [2024-11-08T20:46:48.247Z] ---> 9a1ac946c341 [2024-11-08T20:46:48.247Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-08T20:46:48.247Z] ---> Running in 58f41be7c43e [2024-11-08T20:46:48.247Z] Removing intermediate container 58f41be7c43e [2024-11-08T20:46:48.247Z] ---> 34102415f63b [2024-11-08T20:46:48.247Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T20:46:48.837Z] ---> 80dbc8969236 [2024-11-08T20:46:48.837Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T20:46:48.837Z] ---> Running in 115a5e9286b4 [2024-11-08T20:48:40.534Z] Removing intermediate container 115a5e9286b4 [2024-11-08T20:48:40.534Z] ---> 3cc83e28e78b [2024-11-08T20:48:40.534Z] Step 11/12 : COPY . . [2024-11-08T20:48:40.534Z] ---> ce2d5bde6a43 [2024-11-08T20:48:40.534Z] Step 12/12 : RUN $MAKE [2024-11-08T20:48:40.534Z] ---> Running in ddf05ca9f312 [2024-11-08T20:48:40.534Z] noop [2024-11-08T20:48:40.534Z] Removing intermediate container ddf05ca9f312 [2024-11-08T20:48:40.534Z] ---> b19ce32bd34d [2024-11-08T20:48:40.534Z] Successfully built b19ce32bd34d [2024-11-08T20:48:40.534Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:48:41.077Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T20:48:41.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:48:41.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-25964 does not seem to be running inside a container [2024-11-08T20:48:41.449Z] $ 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-11-08T20:48:42.686Z] $ docker top 9953e815228d991297cde1407fe328dec575ecd64d8517865a73fee995288c6f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T20:48:43.592Z] + go version [2024-11-08T20:48:43.592Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T20:48:43.629Z] $ docker stop --time=1 9953e815228d991297cde1407fe328dec575ecd64d8517865a73fee995288c6f [2024-11-08T20:48:45.246Z] $ docker rm -f --volumes 9953e815228d991297cde1407fe328dec575ecd64d8517865a73fee995288c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:48:46.106Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T20:48:46.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:48:46.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-25964 does not seem to be running inside a container [2024-11-08T20:48:46.435Z] $ 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-11-08T20:48:47.958Z] $ docker top 5f84e3e090d3fa9918cb3959db6771c67e2156155d61a44eaf64cdf497a4a8f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T20:48:48.520Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-08T20:48:48.919Z] + make test [2024-11-08T20:48:48.919Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T20:48:54.256Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-08T20:52:17.352Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-08T20:52:17.352Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 33.2% of statements [2024-11-08T20:52:17.352Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T20:52:17.352Z] go vet ./... [2024-11-08T20:53:04.221Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T20:53:04.221Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T20:53:04.221Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T20:53:04.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T20:53:04.306Z] $ docker stop --time=1 5f84e3e090d3fa9918cb3959db6771c67e2156155d61a44eaf64cdf497a4a8f8 [2024-11-08T20:53:06.086Z] $ docker rm -f --volumes 5f84e3e090d3fa9918cb3959db6771c67e2156155d61a44eaf64cdf497a4a8f8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T20:53:07.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T20:53:07.676Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T20:53:08.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T20:53:08.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T20:53:09.236Z] + ls -al . [2024-11-08T20:53:09.237Z] total 240 [2024-11-08T20:53:09.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:48 . [2024-11-08T20:53:09.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:45 .. [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 20:45 .dockerignore [2024-11-08T20:53:09.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:45 .git [2024-11-08T20:53:09.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:45 .github [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 20:45 .gitignore [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:45 .golangci.yml [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 20:45 Attribution.txt [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 20:45 CHANGELOG.md [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 20:45 Dockerfile [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:45 GOVERNANCE.md [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:45 Jenkinsfile [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:45 LICENSE [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 20:45 Makefile [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 20:45 OWNERS.md [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 20:45 README.md [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:43 VERSION [2024-11-08T20:53:09.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:45 bin [2024-11-08T20:53:09.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:45 cmd [2024-11-08T20:53:09.237Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 20:52 coverage.out [2024-11-08T20:53:09.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:45 driver [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 20:45 go.mod [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 20:45 go.sum [2024-11-08T20:53:09.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:45 openapi [2024-11-08T20:53:09.237Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:53:09.691Z] + 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=74e7619f5207b26d95297af529df20dd724650e8 --label arch=arm64 --label version=0.0.0 . [2024-11-08T20:53:09.692Z] Sending build context to Docker daemon 156.2kB [2024-11-08T20:53:09.958Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T20:53:09.958Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T20:53:09.958Z] ---> b19ce32bd34d [2024-11-08T20:53:09.958Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T20:53:09.958Z] ---> Running in cebe47c53fad [2024-11-08T20:53:10.226Z] Removing intermediate container cebe47c53fad [2024-11-08T20:53:10.226Z] ---> 058c48ded62f [2024-11-08T20:53:10.226Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T20:53:10.492Z] ---> Running in 52fbb7d7a996 [2024-11-08T20:53:10.759Z] Removing intermediate container 52fbb7d7a996 [2024-11-08T20:53:10.759Z] ---> c3ff65f30641 [2024-11-08T20:53:10.759Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T20:53:10.759Z] ---> Running in 029477788c65 [2024-11-08T20:53:11.024Z] Removing intermediate container 029477788c65 [2024-11-08T20:53:11.024Z] ---> 7943f3801dc4 [2024-11-08T20:53:11.024Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T20:53:11.024Z] ---> Running in f25914d44710 [2024-11-08T20:53:11.291Z] Removing intermediate container f25914d44710 [2024-11-08T20:53:11.292Z] ---> 68863ac613ee [2024-11-08T20:53:11.292Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T20:53:11.292Z] ---> Running in 9e9ebc90d75a [2024-11-08T20:53:12.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T20:53:12.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T20:53:14.241Z] OK: 242 MiB in 58 packages [2024-11-08T20:53:14.831Z] Removing intermediate container 9e9ebc90d75a [2024-11-08T20:53:14.831Z] ---> e7ee2d98752b [2024-11-08T20:53:14.831Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-08T20:53:14.831Z] ---> Running in 9878e45d03cb [2024-11-08T20:53:15.103Z] Removing intermediate container 9878e45d03cb [2024-11-08T20:53:15.103Z] ---> e9bc2567febf [2024-11-08T20:53:15.103Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-08T20:53:15.688Z] ---> a11404560c2f [2024-11-08T20:53:15.688Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T20:53:15.688Z] ---> Running in a58ff30c3e51 [2024-11-08T20:53:17.625Z] Removing intermediate container a58ff30c3e51 [2024-11-08T20:53:17.625Z] ---> af871537801b [2024-11-08T20:53:17.625Z] Step 11/26 : COPY . . [2024-11-08T20:53:18.215Z] ---> 9aa0e523c28e [2024-11-08T20:53:18.215Z] Step 12/26 : RUN $MAKE [2024-11-08T20:53:18.215Z] ---> Running in 9ee3a7e400f9 [2024-11-08T20:53:19.180Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-08T20:56:40.997Z] Removing intermediate container 9ee3a7e400f9 [2024-11-08T20:56:40.997Z] ---> 092b42da0fd3 [2024-11-08T20:56:40.997Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T20:56:40.997Z] 3.20: Pulling from library/alpine [2024-11-08T20:56:40.997Z] cf04c63912e1: Already exists [2024-11-08T20:56:40.997Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T20:56:40.997Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T20:56:40.997Z] ---> c157a85ed455 [2024-11-08T20:56:40.997Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T20:56:40.997Z] ---> Running in 986af59b25e1 [2024-11-08T20:56:40.997Z] Removing intermediate container 986af59b25e1 [2024-11-08T20:56:40.997Z] ---> 1bdd3bc6b6c3 [2024-11-08T20:56:40.997Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-08T20:56:40.997Z] ---> Running in 2cafdcbaded5 [2024-11-08T20:56:40.997Z] Removing intermediate container 2cafdcbaded5 [2024-11-08T20:56:40.997Z] ---> 9c6df26de674 [2024-11-08T20:56:40.997Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T20:56:40.997Z] ---> Running in 53ea41278d2d [2024-11-08T20:56:40.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T20:56:40.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T20:56:40.997Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T20:56:40.997Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T20:56:40.997Z] OK: 9 MiB in 15 packages [2024-11-08T20:56:40.997Z] Removing intermediate container 53ea41278d2d [2024-11-08T20:56:40.997Z] ---> 9c306b617fc0 [2024-11-08T20:56:40.997Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-08T20:56:40.997Z] ---> Running in 28aab7d9f4a1 [2024-11-08T20:56:40.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T20:56:40.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T20:56:40.997Z] Upgrading critical system libraries and apk-tools: [2024-11-08T20:56:40.997Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T20:56:40.997Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T20:56:40.997Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T20:56:40.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T20:56:40.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T20:56:42.418Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T20:56:42.418Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T20:56:42.418Z] OK: 9 MiB in 15 packages [2024-11-08T20:56:43.837Z] Removing intermediate container 28aab7d9f4a1 [2024-11-08T20:56:43.837Z] ---> 8722abfec605 [2024-11-08T20:56:43.837Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-08T20:56:45.247Z] ---> 45eda993f8ce [2024-11-08T20:56:45.247Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-08T20:56:45.830Z] ---> 1a6a1876533a [2024-11-08T20:56:45.830Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-08T20:56:46.413Z] ---> a3a605eda248 [2024-11-08T20:56:46.413Z] Step 21/26 : EXPOSE 59986 [2024-11-08T20:56:46.413Z] ---> Running in 5fd40aa5c39b [2024-11-08T20:56:46.682Z] Removing intermediate container 5fd40aa5c39b [2024-11-08T20:56:46.682Z] ---> e4dcb755fd54 [2024-11-08T20:56:46.682Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-08T20:56:46.682Z] ---> Running in dd54263781f8 [2024-11-08T20:56:46.949Z] Removing intermediate container dd54263781f8 [2024-11-08T20:56:46.949Z] ---> 3e951c4276d6 [2024-11-08T20:56:46.949Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T20:56:47.217Z] ---> Running in 54da806d6e64 [2024-11-08T20:56:47.484Z] Removing intermediate container 54da806d6e64 [2024-11-08T20:56:47.484Z] ---> 1ebaa75695e8 [2024-11-08T20:56:47.484Z] Step 24/26 : LABEL arch=arm64 [2024-11-08T20:56:47.484Z] ---> Running in 9da95ec49b57 [2024-11-08T20:56:47.754Z] Removing intermediate container 9da95ec49b57 [2024-11-08T20:56:47.754Z] ---> 369ad3c59009 [2024-11-08T20:56:47.754Z] Step 25/26 : LABEL git_sha=74e7619f5207b26d95297af529df20dd724650e8 [2024-11-08T20:56:47.754Z] ---> Running in 35f2f771af73 [2024-11-08T20:56:48.022Z] Removing intermediate container 35f2f771af73 [2024-11-08T20:56:48.022Z] ---> 2b29f9cd5a7c [2024-11-08T20:56:48.022Z] Step 26/26 : LABEL version=0.0.0 [2024-11-08T20:56:48.290Z] ---> Running in b853f3f71195 [2024-11-08T20:56:48.557Z] Removing intermediate container b853f3f71195 [2024-11-08T20:56:48.557Z] ---> 6393096cec6e [2024-11-08T20:56:48.557Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T20:56:48.557Z] Successfully built 6393096cec6e [2024-11-08T20:56:48.557Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:56:49.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T20:56:49.494Z] [2024-11-08T20:56:49.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:56:49.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T20:56:49.907Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T20:56:49.907Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T20:56:49.907Z] 04944245beec: Pulling fs layer [2024-11-08T20:56:49.907Z] 699f458cf7ca: Pulling fs layer [2024-11-08T20:56:49.907Z] 765212b225bb: Pulling fs layer [2024-11-08T20:56:49.907Z] f23df028b6ca: Pulling fs layer [2024-11-08T20:56:49.907Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T20:56:49.907Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T20:56:49.907Z] f23df028b6ca: Waiting [2024-11-08T20:56:49.907Z] d65c8cfc05b1: Waiting [2024-11-08T20:56:49.907Z] 2437ff75d9bd: Waiting [2024-11-08T20:56:49.907Z] 765212b225bb: Waiting [2024-11-08T20:56:50.174Z] 04944245beec: Verifying Checksum [2024-11-08T20:56:50.174Z] 04944245beec: Download complete [2024-11-08T20:56:50.174Z] 765212b225bb: Verifying Checksum [2024-11-08T20:56:50.174Z] 765212b225bb: Download complete [2024-11-08T20:56:50.174Z] f23df028b6ca: Verifying Checksum [2024-11-08T20:56:50.174Z] f23df028b6ca: Download complete [2024-11-08T20:56:50.174Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T20:56:50.174Z] d65c8cfc05b1: Download complete [2024-11-08T20:56:50.443Z] 699f458cf7ca: Verifying Checksum [2024-11-08T20:56:50.443Z] 699f458cf7ca: Download complete [2024-11-08T20:56:50.710Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T20:56:50.710Z] 8998bd30e6a1: Download complete [2024-11-08T20:56:53.304Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T20:56:53.304Z] 2437ff75d9bd: Download complete [2024-11-08T20:56:55.241Z] 8998bd30e6a1: Pull complete [2024-11-08T20:56:55.827Z] 04944245beec: Pull complete [2024-11-08T20:56:57.230Z] 699f458cf7ca: Pull complete [2024-11-08T20:56:57.495Z] 765212b225bb: Pull complete [2024-11-08T20:56:58.450Z] f23df028b6ca: Pull complete [2024-11-08T20:56:58.716Z] d65c8cfc05b1: Pull complete [2024-11-08T20:57:13.682Z] 2437ff75d9bd: Pull complete [2024-11-08T20:57:13.682Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T20:57:13.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T20:57:13.682Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:57:14.034Z] prd-ubuntu20.04-docker-arm64-4c-16g-25964 does not seem to be running inside a container [2024-11-08T20:57:14.087Z] $ 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-11-08T20:57:17.491Z] $ docker top 9d48396c82c15304f271c39ae41580c711219751d92b67fad9ba3fbc0fa20527 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:18.412Z] ---> job-cost.sh [2024-11-08T20:57:18.412Z] lf-activate-venv: SKIPPING [2024-11-08T20:57:18.412Z] INFO: No Stack... [2024-11-08T20:57:18.678Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T20:57:19.630Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T20:57:19.975Z] + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 [2024-11-08T20:57:19.975Z] [Pipeline] lock [2024-11-08T20:57:20.055Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] [2024-11-08T20:57:20.061Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] did not exist. Created. [2024-11-08T20:57:20.067Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T20:57:20.495Z] /w/workspace/device-rest-go/1@tmp/durable-d552d924/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T20:57:20.847Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T20:57:20.891Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T20:57:20.929Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T20:57:20.951Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T20:57:21.044Z] $ docker stop --time=1 9d48396c82c15304f271c39ae41580c711219751d92b67fad9ba3fbc0fa20527 [2024-11-08T20:57:22.565Z] $ docker rm -f --volumes 9d48396c82c15304f271c39ae41580c711219751d92b67fad9ba3fbc0fa20527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-08T20:57:23.775Z] provisioning config files... [2024-11-08T20:57:23.783Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-426@tmp/config629909738006183271tmp [Pipeline] { [Pipeline] sh [2024-11-08T20:57:24.136Z] + set +x [2024-11-08T20:57:24.136Z] + curl -s https://codecov.io/bash [2024-11-08T20:57:24.136Z] + bash -s -- [2024-11-08T20:57:24.136Z] [2024-11-08T20:57:24.136Z] _____ _ [2024-11-08T20:57:24.136Z] / ____| | | [2024-11-08T20:57:24.136Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T20:57:24.136Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T20:57:24.136Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T20:57:24.136Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T20:57:24.136Z] Bash-1.0.6 [2024-11-08T20:57:24.136Z] [2024-11-08T20:57:24.136Z] [2024-11-08T20:57:24.136Z] ==> git version 2.25.1 found [2024-11-08T20:57:24.136Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-08T20:57:24.136Z] Release-Date: 2020-01-08 [2024-11-08T20:57:24.136Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-08T20:57:24.136Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T20:57:24.136Z] ==> Jenkins CI detected. [2024-11-08T20:57:24.136Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-426 [2024-11-08T20:57:24.136Z] project root: . [2024-11-08T20:57:24.136Z] --> token set from env [2024-11-08T20:57:24.136Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T20:57:24.136Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T20:57:24.136Z] ==> Python coveragepy not found [2024-11-08T20:57:24.136Z] ==> Searching for coverage reports in: [2024-11-08T20:57:24.136Z] + . [2024-11-08T20:57:24.136Z] -> Found 1 reports [2024-11-08T20:57:24.136Z] ==> Detecting git/mercurial file structure [2024-11-08T20:57:24.136Z] ==> Reading reports [2024-11-08T20:57:24.397Z] + ./coverage.out bytes=14565 [2024-11-08T20:57:24.397Z] ==> Appending adjustments [2024-11-08T20:57:24.397Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T20:57:24.397Z] + Found adjustments [2024-11-08T20:57:24.397Z] ==> Gzipping contents [2024-11-08T20:57:24.397Z] 4.0K /tmp/codecov.S53Xg9.gz [2024-11-08T20:57:24.397Z] ==> Uploading reports [2024-11-08T20:57:24.397Z] url: https://codecov.io [2024-11-08T20:57:24.397Z] query: branch=PR-426&commit=74e7619f5207b26d95297af529df20dd724650e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=426&job=&cmd_args= [2024-11-08T20:57:24.397Z] -> Pinging Codecov [2024-11-08T20:57:24.398Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-426&commit=74e7619f5207b26d95297af529df20dd724650e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=426&job=&cmd_args= [2024-11-08T20:57:24.658Z] -> Uploading to [2024-11-08T20:57:24.658Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/74e7619f5207b26d95297af529df20dd724650e8/b2e205e7-2102-4f8b-ad37-e75c483af82a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T205724Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=379096fc8de6b91c7118987fbf4ae06aae8b88c4a5f80bc6ae937bd92bf33c88 [2024-11-08T20:57:24.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T20:57:24.658Z] Dload Upload Total Spent Left Speed [2024-11-08T20:57:24.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10073 --:--:-- --:--:-- --:--:-- 10030 [2024-11-08T20:57:24.920Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/74e7619f5207b26d95297af529df20dd724650e8 [Pipeline] } [2024-11-08T20:57:24.951Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-11-08T20:57:27.124Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-426/archives ] [2024-11-08T20:57:27.124Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-426/archives [2024-11-08T20:57:27.124Z] total 16 [2024-11-08T20:57:27.124Z] drwxr-xr-x 3 root root 4096 Nov 8 20:46 . [2024-11-08T20:57:27.124Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:46 .. [2024-11-08T20:57:27.124Z] drwxr-xr-x 2 root root 4096 Nov 8 20:46 cost [2024-11-08T20:57:27.124Z] -rw-r--r-- 1 root root 86 Nov 8 20:46 cost.csv [2024-11-08T20:57:27.124Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-426/archives [2024-11-08T20:57:27.124Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-426/archives [2024-11-08T20:57:27.124Z] total 16 [2024-11-08T20:57:27.124Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:46 . [2024-11-08T20:57:27.124Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:46 .. [2024-11-08T20:57:27.124Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 20:46 cost [2024-11-08T20:57:27.124Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:27.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:28.369Z] ---> package-listing.sh [2024-11-08T20:57:28.370Z] ++ facter osfamily [2024-11-08T20:57:28.370Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T20:57:28.629Z] + OS_FAMILY=debian [2024-11-08T20:57:28.629Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-426 [2024-11-08T20:57:28.629Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T20:57:28.629Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T20:57:28.629Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T20:57:28.629Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T20:57:28.629Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-426 ']' [2024-11-08T20:57:28.629Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T20:57:28.629Z] + case "${OS_FAMILY}" in [2024-11-08T20:57:28.629Z] + dpkg -l [2024-11-08T20:57:28.630Z] + grep '^ii' [2024-11-08T20:57:28.630Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T20:57:28.630Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T20:57:28.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T20:57:28.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-426 ']' [2024-11-08T20:57:28.630Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-426/archives/ [2024-11-08T20:57:28.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-426/archives/ [Pipeline] echo [2024-11-08T20:57:28.675Z] 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-426/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T20:57:28.975Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T20:57:29.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T20:57:29.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T20:57:29.785Z] prd-ubuntu20.04-docker-8c-8g-25963 does not seem to be running inside a container [2024-11-08T20:57:29.817Z] $ 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-426/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-426 -v /w/workspace/gexfoundry_device-rest-go_PR-426:/w/workspace/gexfoundry_device-rest-go_PR-426:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-426@tmp:/w/workspace/gexfoundry_device-rest-go_PR-426@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-11-08T20:57:29.992Z] $ docker top b28608d9bb573ea160cf94a61c071a5219ebe50da7c718030b89e9f41f3c8d91 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T20:57:30.477Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T20:57:30.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T20:57:31.162Z] + ls /var/log/sa-host [2024-11-08T20:57:31.162Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T20:57:31.414Z] provisioning config files... [2024-11-08T20:57:31.423Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-426@tmp/config16183502959525807002tmp [Pipeline] { [Pipeline] echo [2024-11-08T20:57:31.486Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:31.807Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T20:57:31.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:32.276Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T20:57:32.317Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:32.648Z] ---> sudo-logs.sh [2024-11-08T20:57:32.648Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T20:57:32.748Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:33.275Z] ---> job-cost.sh [2024-11-08T20:57:33.275Z] lf-activate-venv: SKIPPING [2024-11-08T20:57:33.275Z] DEBUG: total: 0.2199999988079071 [2024-11-08T20:57:33.275Z] INFO: Retrieving Stack Cost... [2024-11-08T20:57:33.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T20:57:33.793Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T20:57:33.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T20:57:34.160Z] ---> logs-deploy.sh [2024-11-08T20:57:34.161Z] lf-activate-venv: SKIPPING [2024-11-08T20:57:34.161Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-426/1 [2024-11-08T20:57:34.161Z] INFO: archiving workspace using pattern(s): [2024-11-08T20:57:35.102Z] Archives upload complete. [2024-11-08T20:57:35.102Z] INFO: archiving logs to Nexus