Pull request #414 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 21d3830f1720a37f1895b62ff4ca15d755f1aed1+735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (265c4c71f736b74e982a07b26fed262bfde1e919) 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-ssh16830782646293519982.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-ssh3392504974068277150.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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8369313213078625049.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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2900853944175445716.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-ssh1308754264545978327.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15243191662574833994.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15551 in /w/workspace/gexfoundry_device-rest-go_PR-414 [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-414 # 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 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 21d3830f1720a37f1895b62ff4ca15d755f1aed1 Merge succeeded, producing 21d3830f1720a37f1895b62ff4ca15d755f1aed1 Checking out Revision 21d3830f1720a37f1895b62ff4ca15d755f1aed1 (PR-414) > 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21d3830f1720a37f1895b62ff4ca15d755f1aed1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21d3830f1720a37f1895b62ff4ca15d755f1aed1 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T02:37:44.391Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T02:37:44.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T02:37:44.753Z] ========================================================= [2024-10-04T02:37:44.753Z] EdgeX Global Pipelines Version Info [2024-10-04T02:37:44.753Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:37:45.544Z] ------------------- [2024-10-04T02:37:45.544Z] stable info: [2024-10-04T02:37:45.544Z] ------------------- [2024-10-04T02:37:45.544Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T02:37:45.544Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T02:37:45.544Z] Message: update stable to v1.0.265 [2024-10-04T02:37:46.117Z] ------------------- [2024-10-04T02:37:46.118Z] experimental info: [2024-10-04T02:37:46.118Z] ------------------- [2024-10-04T02:37:46.118Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T02:37:46.118Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T02:37:46.118Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T02:37:46.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-04T02:37:46.478Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-04T02:37:46.545Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T02:37:46.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T02:37:46.671Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T02:37:46.743Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T02:37:46.824Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T02:37:46.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T02:37:46.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T02:37:47.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T02:37:47.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T02:37:47.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-04T02:37:47.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T02:37:47.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T02:37:47.345Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T02:37:47.411Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T02:37:47.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T02:37:47.552Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T02:37:47.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T02:37:47.701Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T02:37:47.770Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T02:37:47.841Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T02:37:47.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T02:37:47.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T02:37:48.035Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T02:37:48.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T02:37:48.171Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T02:37:48.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2024-10-04T02:37:48.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2024-10-04T02:37:48.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2024-10-04T02:37:48.445Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo [2024-10-04T02:37:48.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21d3830 [Pipeline] echo [2024-10-04T02:37:48.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T02:37:48.743Z] provisioning config files... [2024-10-04T02:37:48.774Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config9613326794839283751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:37:49.188Z] ---> ****-login.sh [2024-10-04T02:37:49.188Z] nexus3.edgexfoundry.org:10001 [2024-10-04T02:37:49.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:37:49.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:37:49.711Z] Configure a credential helper to remove this warning. See [2024-10-04T02:37:49.711Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:37:49.711Z] [2024-10-04T02:37:49.711Z] Login Succeeded [2024-10-04T02:37:49.711Z] nexus3.edgexfoundry.org:10002 [2024-10-04T02:37:49.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:37:49.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:37:49.712Z] Configure a credential helper to remove this warning. See [2024-10-04T02:37:49.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:37:49.712Z] [2024-10-04T02:37:49.712Z] Login Succeeded [2024-10-04T02:37:49.712Z] nexus3.edgexfoundry.org:10003 [2024-10-04T02:37:49.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:37:49.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:37:49.973Z] Configure a credential helper to remove this warning. See [2024-10-04T02:37:49.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:37:49.973Z] [2024-10-04T02:37:49.973Z] Login Succeeded [2024-10-04T02:37:49.973Z] nexus3.edgexfoundry.org:10004 [2024-10-04T02:37:49.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:37:49.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:37:49.973Z] Configure a credential helper to remove this warning. See [2024-10-04T02:37:49.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:37:49.973Z] [2024-10-04T02:37:49.973Z] Login Succeeded [2024-10-04T02:37:49.973Z] ****.io [2024-10-04T02:37:49.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:37:50.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:37:50.234Z] Configure a credential helper to remove this warning. See [2024-10-04T02:37:50.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:37:50.234Z] [2024-10-04T02:37:50.234Z] Login Succeeded [2024-10-04T02:37:50.234Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T02:37:50.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T02:37:50.978Z] + git rev-list -1 --merges 21d3830f1720a37f1895b62ff4ca15d755f1aed1~1..21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo [2024-10-04T02:37:51.034Z] -----------> git rev-list -1 --merges 21d3830f1720a37f1895b62ff4ca15d755f1aed1~1..21d3830f1720a37f1895b62ff4ca15d755f1aed1 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [false] [Pipeline] sh [2024-10-04T02:37:51.368Z] + git log --format=format:%s -1 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo [2024-10-04T02:37:51.419Z] ========================================================= [2024-10-04T02:37:51.419Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T02:37:51.419Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T02:37:51.901Z] + git log --format=format:%s -1 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo [2024-10-04T02:37:51.941Z] [semverPrep] GIT_COMMIT: 21d3830f1720a37f1895b62ff4ca15d755f1aed1, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T02:37:51.982Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T02:37:52.423Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T02:37:52.423Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T02:37:52.423Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T02:37:52.423Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T02:37:52.423Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T02:37:52.423Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T02:37:52.423Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:37:52.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T02:37:52.972Z] [2024-10-04T02:37:52.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:37:53.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T02:37:53.379Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T02:37:53.379Z] b85a868b505f: Pulling fs layer [2024-10-04T02:37:53.379Z] e2be974225ed: Pulling fs layer [2024-10-04T02:37:53.379Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T02:37:53.379Z] 988bab9f4d93: Pulling fs layer [2024-10-04T02:37:53.379Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T02:37:53.379Z] eaf3925da568: Pulling fs layer [2024-10-04T02:37:53.379Z] bab4dde63d76: Pulling fs layer [2024-10-04T02:37:53.379Z] bde34c3a00c8: Pulling fs layer [2024-10-04T02:37:53.379Z] b352a97aabf1: Pulling fs layer [2024-10-04T02:37:53.379Z] 4872d77fe225: Pulling fs layer [2024-10-04T02:37:53.379Z] 5851b861e8e6: Pulling fs layer [2024-10-04T02:37:53.379Z] 988bab9f4d93: Waiting [2024-10-04T02:37:53.379Z] bde34c3a00c8: Waiting [2024-10-04T02:37:53.379Z] b352a97aabf1: Waiting [2024-10-04T02:37:53.379Z] 1469e6f7b9e6: Waiting [2024-10-04T02:37:53.379Z] bab4dde63d76: Waiting [2024-10-04T02:37:53.379Z] eaf3925da568: Waiting [2024-10-04T02:37:53.379Z] 4872d77fe225: Waiting [2024-10-04T02:37:53.379Z] 5851b861e8e6: Waiting [2024-10-04T02:37:53.379Z] e2be974225ed: Download complete [2024-10-04T02:37:53.379Z] 988bab9f4d93: Download complete [2024-10-04T02:37:53.640Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T02:37:53.640Z] 1469e6f7b9e6: Download complete [2024-10-04T02:37:53.640Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T02:37:53.640Z] 339a4e72a1f5: Download complete [2024-10-04T02:37:53.640Z] eaf3925da568: Download complete [2024-10-04T02:37:53.640Z] bde34c3a00c8: Verifying Checksum [2024-10-04T02:37:53.640Z] bde34c3a00c8: Download complete [2024-10-04T02:37:53.640Z] b352a97aabf1: Verifying Checksum [2024-10-04T02:37:53.640Z] b352a97aabf1: Download complete [2024-10-04T02:37:53.640Z] 4872d77fe225: Download complete [2024-10-04T02:37:53.640Z] 5851b861e8e6: Download complete [2024-10-04T02:37:53.640Z] b85a868b505f: Verifying Checksum [2024-10-04T02:37:53.640Z] b85a868b505f: Download complete [2024-10-04T02:37:53.901Z] bab4dde63d76: Verifying Checksum [2024-10-04T02:37:53.901Z] bab4dde63d76: Download complete [2024-10-04T02:37:55.283Z] b85a868b505f: Pull complete [2024-10-04T02:37:55.283Z] e2be974225ed: Pull complete [2024-10-04T02:37:55.544Z] 339a4e72a1f5: Pull complete [2024-10-04T02:37:55.804Z] 988bab9f4d93: Pull complete [2024-10-04T02:37:56.064Z] 1469e6f7b9e6: Pull complete [2024-10-04T02:37:56.064Z] eaf3925da568: Pull complete [2024-10-04T02:37:57.975Z] bab4dde63d76: Pull complete [2024-10-04T02:37:57.975Z] bde34c3a00c8: Pull complete [2024-10-04T02:37:57.975Z] b352a97aabf1: Pull complete [2024-10-04T02:37:58.236Z] 4872d77fe225: Pull complete [2024-10-04T02:37:58.236Z] 5851b861e8e6: Pull complete [2024-10-04T02:37:58.236Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T02:37:58.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T02:37:58.236Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:37:58.549Z] prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container [2024-10-04T02:37:58.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-414 -v /w/workspace/gexfoundry_device-rest-go_PR-414:/w/workspace/gexfoundry_device-rest-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-414@tmp:/w/workspace/gexfoundry_device-rest-go_PR-414@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-devops/py-git-semver:0.1.4 cat [2024-10-04T02:38:02.846Z] $ docker top b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T02:38:03.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T02:38:03.085Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T02:38:03.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T02:38:03.208Z] $ docker exec b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent [2024-10-04T02:38:03.321Z] SSH_AUTH_SOCK=/tmp/ssh-KduS8IvYPEXY/agent.33 [2024-10-04T02:38:03.321Z] SSH_AGENT_PID=39 [2024-10-04T02:38:03.326Z] Running ssh-add (command line suppressed) [2024-10-04T02:38:03.432Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-414@tmp/private_key_17008812655876839552.key (/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/private_key_17008812655876839552.key) [2024-10-04T02:38:03.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T02:38:04.251Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T02:38:04.281Z] $ docker exec --env ******** --env ******** b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent -k [2024-10-04T02:38:04.382Z] unset SSH_AUTH_SOCK; [2024-10-04T02:38:04.382Z] unset SSH_AGENT_PID; [2024-10-04T02:38:04.383Z] echo Agent pid 39 killed; [2024-10-04T02:38:04.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T02:38:04.513Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T02:38:04.513Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T02:38:04.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T02:38:04.622Z] $ docker exec b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent [2024-10-04T02:38:04.734Z] SSH_AUTH_SOCK=/tmp/ssh-WQpY7ikT4P8x/agent.72 [2024-10-04T02:38:04.734Z] SSH_AGENT_PID=78 [2024-10-04T02:38:04.739Z] Running ssh-add (command line suppressed) [2024-10-04T02:38:04.856Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-414@tmp/private_key_7040859956715895890.key (/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/private_key_7040859956715895890.key) [2024-10-04T02:38:04.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T02:38:05.216Z] + git semver init [2024-10-04T02:38:05.477Z] 2024-10-04 02:38:05,397 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T02:38:05.477Z] 2024-10-04 02:38:05,398 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-414/.semver [2024-10-04T02:38:05.477Z] 2024-10-04 02:38:05,398 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-414/.semver [2024-10-04T02:38:05.477Z] 2024-10-04 02:38:05,399 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-414, universal_newlines=False, shell=None, istream=None) [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,843 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-414/.git/info/exclude [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-414/.semver/PR-414 with force:False [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,843 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-414/.semver/PR-414 [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,847 [execute] INFO git cat-file --batch-check [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,853 [execute] INFO git cat-file --batch [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T02:38:07.484Z] 2024-10-04 02:38:06,858 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-414/.semver/PR-414 [2024-10-04T02:38:07.484Z] 0.0.0 [Pipeline] } [2024-10-04T02:38:07.515Z] $ docker exec --env ******** --env ******** b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent -k [2024-10-04T02:38:07.620Z] unset SSH_AUTH_SOCK; [2024-10-04T02:38:07.621Z] unset SSH_AGENT_PID; [2024-10-04T02:38:07.621Z] echo Agent pid 78 killed; [2024-10-04T02:38:07.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T02:38:08.112Z] + git semver [Pipeline] } [2024-10-04T02:38:08.403Z] $ docker stop --time=1 b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 [2024-10-04T02:38:09.675Z] $ docker rm -f --volumes b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T02:38:10.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T02:38:10.453Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T02:38:10.485Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T02:38:11.270Z] provisioning config files... [2024-10-04T02:38:11.280Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config4535266169573633191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:38:11.668Z] ---> ****-login.sh [2024-10-04T02:38:11.668Z] nexus3.edgexfoundry.org:10001 [2024-10-04T02:38:11.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:38:11.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:38:11.668Z] Configure a credential helper to remove this warning. See [2024-10-04T02:38:11.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:38:11.668Z] [2024-10-04T02:38:11.668Z] Login Succeeded [2024-10-04T02:38:11.668Z] nexus3.edgexfoundry.org:10002 [2024-10-04T02:38:11.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:38:11.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:38:11.669Z] Configure a credential helper to remove this warning. See [2024-10-04T02:38:11.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:38:11.669Z] [2024-10-04T02:38:11.669Z] Login Succeeded [2024-10-04T02:38:11.669Z] nexus3.edgexfoundry.org:10003 [2024-10-04T02:38:11.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:38:11.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:38:11.929Z] Configure a credential helper to remove this warning. See [2024-10-04T02:38:11.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:38:11.929Z] [2024-10-04T02:38:11.929Z] Login Succeeded [2024-10-04T02:38:11.929Z] nexus3.edgexfoundry.org:10004 [2024-10-04T02:38:11.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:38:11.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:38:11.929Z] Configure a credential helper to remove this warning. See [2024-10-04T02:38:11.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:38:11.929Z] [2024-10-04T02:38:11.929Z] Login Succeeded [2024-10-04T02:38:11.929Z] ****.io [2024-10-04T02:38:12.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:38:12.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:38:12.190Z] Configure a credential helper to remove this warning. See [2024-10-04T02:38:12.190Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:38:12.190Z] [2024-10-04T02:38:12.190Z] Login Succeeded [2024-10-04T02:38:12.190Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T02:38:12.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T02:38:12.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T02:38:12.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T02:38:12.578Z] ========================================================= [2024-10-04T02:38:12.578Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T02:38:12.578Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:38:13.143Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T02:38:13.144Z] Sending build context to Docker daemon 16.61MB [2024-10-04T02:38:13.144Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T02:38:13.144Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T02:38:13.144Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T02:38:13.144Z] 43c4264eed91: Pulling fs layer [2024-10-04T02:38:13.144Z] 4cc291be95ef: Pulling fs layer [2024-10-04T02:38:13.144Z] 2ac1f1163629: Pulling fs layer [2024-10-04T02:38:13.144Z] 5c3c966382ef: Pulling fs layer [2024-10-04T02:38:13.144Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T02:38:13.144Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T02:38:13.144Z] 9f66e0745190: Pulling fs layer [2024-10-04T02:38:13.144Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T02:38:13.144Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T02:38:13.144Z] 5c3c966382ef: Waiting [2024-10-04T02:38:13.144Z] 4f4fb700ef54: Waiting [2024-10-04T02:38:13.144Z] 5d5c8e513c77: Waiting [2024-10-04T02:38:13.144Z] 9f66e0745190: Waiting [2024-10-04T02:38:13.144Z] f49a43e4bbc0: Waiting [2024-10-04T02:38:13.144Z] 561ebcabdf7f: Waiting [2024-10-04T02:38:13.407Z] 4cc291be95ef: Verifying Checksum [2024-10-04T02:38:13.407Z] 4cc291be95ef: Download complete [2024-10-04T02:38:13.407Z] 5c3c966382ef: Verifying Checksum [2024-10-04T02:38:13.407Z] 5c3c966382ef: Download complete [2024-10-04T02:38:13.407Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T02:38:13.407Z] 4f4fb700ef54: Download complete [2024-10-04T02:38:13.407Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T02:38:13.407Z] 5d5c8e513c77: Download complete [2024-10-04T02:38:13.407Z] 43c4264eed91: Download complete [2024-10-04T02:38:13.407Z] 9f66e0745190: Verifying Checksum [2024-10-04T02:38:13.407Z] 9f66e0745190: Download complete [2024-10-04T02:38:13.407Z] 43c4264eed91: Pull complete [2024-10-04T02:38:13.667Z] 4cc291be95ef: Pull complete [2024-10-04T02:38:13.667Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T02:38:13.667Z] 561ebcabdf7f: Download complete [2024-10-04T02:38:13.928Z] 2ac1f1163629: Download complete [2024-10-04T02:38:14.186Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T02:38:14.186Z] f49a43e4bbc0: Download complete [2024-10-04T02:38:20.208Z] 2ac1f1163629: Pull complete [2024-10-04T02:38:20.208Z] 5c3c966382ef: Pull complete [2024-10-04T02:38:20.208Z] 4f4fb700ef54: Pull complete [2024-10-04T02:38:20.208Z] 5d5c8e513c77: Pull complete [2024-10-04T02:38:20.208Z] 9f66e0745190: Pull complete [2024-10-04T02:38:20.208Z] f49a43e4bbc0: Pull complete [2024-10-04T02:38:20.469Z] 561ebcabdf7f: Pull complete [2024-10-04T02:38:20.469Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T02:38:20.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T02:38:20.469Z] ---> 3a752c3f9dda [2024-10-04T02:38:20.469Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T02:38:26.032Z] Still waiting to schedule task [2024-10-04T02:38:26.032Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-04T02:38:27.088Z] ---> Running in 5bd8448b13bb [2024-10-04T02:38:27.088Z] Removing intermediate container 5bd8448b13bb [2024-10-04T02:38:27.088Z] ---> cdabd95e978b [2024-10-04T02:38:27.088Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T02:38:27.088Z] ---> Running in 63e7290a1fa4 [2024-10-04T02:38:27.088Z] Removing intermediate container 63e7290a1fa4 [2024-10-04T02:38:27.088Z] ---> bf1d8b99bead [2024-10-04T02:38:27.088Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T02:38:27.088Z] ---> Running in 24167e989150 [2024-10-04T02:38:27.088Z] Removing intermediate container 24167e989150 [2024-10-04T02:38:27.088Z] ---> 8b25feed400c [2024-10-04T02:38:27.088Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T02:38:27.088Z] ---> Running in 39e365b16841 [2024-10-04T02:38:27.088Z] Removing intermediate container 39e365b16841 [2024-10-04T02:38:27.088Z] ---> 2b05c073a2cf [2024-10-04T02:38:27.088Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T02:38:27.088Z] ---> Running in 26ff64fbc343 [2024-10-04T02:38:27.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T02:38:27.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T02:38:27.878Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T02:38:27.878Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T02:38:27.878Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T02:38:27.878Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T02:38:27.878Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:38:27.878Z] OK: 250 MiB in 58 packages [2024-10-04T02:38:28.451Z] Removing intermediate container 26ff64fbc343 [2024-10-04T02:38:28.451Z] ---> 069d204b090d [2024-10-04T02:38:28.451Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-04T02:38:28.451Z] ---> Running in dd72507da72d [2024-10-04T02:38:28.713Z] Removing intermediate container dd72507da72d [2024-10-04T02:38:28.713Z] ---> de59b8363f31 [2024-10-04T02:38:28.713Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T02:38:28.713Z] ---> 5500b5936994 [2024-10-04T02:38:28.713Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T02:38:28.713Z] ---> Running in 1e2805ffee4a [2024-10-04T02:39:25.924Z] Removing intermediate container 1e2805ffee4a [2024-10-04T02:39:25.925Z] ---> c117bf37d452 [2024-10-04T02:39:25.925Z] Step 11/12 : COPY . . [2024-10-04T02:39:25.925Z] ---> 07f81597f06b [2024-10-04T02:39:25.925Z] Step 12/12 : RUN $MAKE [2024-10-04T02:39:25.925Z] ---> Running in afc7c01587d0 [2024-10-04T02:39:25.925Z] noop [2024-10-04T02:39:25.925Z] Removing intermediate container afc7c01587d0 [2024-10-04T02:39:25.925Z] ---> 61ac466072ff [2024-10-04T02:39:25.925Z] Successfully built 61ac466072ff [2024-10-04T02:39:25.925Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:39:26.431Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T02:39:26.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:39:26.665Z] prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container [2024-10-04T02:39:26.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-414 -v /w/workspace/gexfoundry_device-rest-go_PR-414:/w/workspace/gexfoundry_device-rest-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-414@tmp:/w/workspace/gexfoundry_device-rest-go_PR-414@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T02:39:27.090Z] $ docker top a5aed134f8cf91cf06e96ffb965ffa41322cff768955195eec523f5ab7e23984 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T02:39:27.499Z] + go version [2024-10-04T02:39:27.499Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T02:39:27.539Z] $ docker stop --time=1 a5aed134f8cf91cf06e96ffb965ffa41322cff768955195eec523f5ab7e23984 [2024-10-04T02:39:29.346Z] $ docker rm -f --volumes a5aed134f8cf91cf06e96ffb965ffa41322cff768955195eec523f5ab7e23984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:39:30.192Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T02:39:30.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:39:30.374Z] prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container [2024-10-04T02:39:30.411Z] $ 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-414 -v /w/workspace/gexfoundry_device-rest-go_PR-414:/w/workspace/gexfoundry_device-rest-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-414@tmp:/w/workspace/gexfoundry_device-rest-go_PR-414@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T02:39:30.778Z] $ docker top 025caa1ea2a72a5e983132dc9b028e42220ccfb17a389033cd789c056a707828 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T02:39:31.208Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-414 [Pipeline] fileExists [Pipeline] sh [2024-10-04T02:39:31.603Z] + make test [2024-10-04T02:39:31.603Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T02:39:34.988Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-04T02:39:54.367Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-04T02:39:54.367Z] ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements [2024-10-04T02:40:06.665Z] go vet ./... [2024-10-04T02:40:11.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T02:40:11.986Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T02:40:11.986Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T02:40:12.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T02:40:12.336Z] $ docker stop --time=1 025caa1ea2a72a5e983132dc9b028e42220ccfb17a389033cd789c056a707828 [2024-10-04T02:40:17.717Z] $ docker rm -f --volumes 025caa1ea2a72a5e983132dc9b028e42220ccfb17a389033cd789c056a707828 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T02:40:18.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T02:40:18.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T02:40:19.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T02:40:19.482Z] + ls -al . [2024-10-04T02:40:19.482Z] total 256 [2024-10-04T02:40:19.482Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 02:39 . [2024-10-04T02:40:19.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:37 .. [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 02:37 .dockerignore [2024-10-04T02:40:19.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:39 .git [2024-10-04T02:40:19.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:37 .github [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 02:37 .gitignore [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 02:37 .golangci.yml [2024-10-04T02:40:19.482Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:38 .semver [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 02:37 Attribution.txt [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 02:37 CHANGELOG.md [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 02:37 Dockerfile [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:37 GOVERNANCE.md [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 02:37 Jenkinsfile [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 02:37 LICENSE [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 02:37 Makefile [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 02:37 OWNERS.md [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 02:37 README.md [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:38 VERSION [2024-10-04T02:40:19.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:37 bin [2024-10-04T02:40:19.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:37 cmd [2024-10-04T02:40:19.482Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 02:39 coverage.out [2024-10-04T02:40:19.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:37 driver [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 02:37 go.mod [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 02:37 go.sum [2024-10-04T02:40:19.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:37 openapi [2024-10-04T02:40:19.482Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 02:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:40:19.928Z] + 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=21d3830f1720a37f1895b62ff4ca15d755f1aed1 --label arch=amd64 --label version=0.0.0 . [2024-10-04T02:40:19.928Z] Sending build context to Docker daemon 16.62MB [2024-10-04T02:40:19.928Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T02:40:19.928Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T02:40:19.928Z] ---> 61ac466072ff [2024-10-04T02:40:19.928Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T02:40:20.189Z] ---> Running in 41c512f80c03 [2024-10-04T02:40:20.189Z] Removing intermediate container 41c512f80c03 [2024-10-04T02:40:20.189Z] ---> d1c55dfd16e5 [2024-10-04T02:40:20.189Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T02:40:20.189Z] ---> Running in b928d08f287e [2024-10-04T02:40:20.448Z] Removing intermediate container b928d08f287e [2024-10-04T02:40:20.448Z] ---> 3c1a5233999c [2024-10-04T02:40:20.448Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T02:40:20.448Z] ---> Running in ee3e84bfb282 [2024-10-04T02:40:20.448Z] Removing intermediate container ee3e84bfb282 [2024-10-04T02:40:20.448Z] ---> 5d75ce786b12 [2024-10-04T02:40:20.448Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T02:40:20.448Z] ---> Running in 25c4604e1fc3 [2024-10-04T02:40:20.448Z] Removing intermediate container 25c4604e1fc3 [2024-10-04T02:40:20.448Z] ---> 481abfd3833e [2024-10-04T02:40:20.448Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T02:40:20.708Z] ---> Running in e8709ceb4c7c [2024-10-04T02:40:20.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T02:40:20.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T02:40:21.537Z] OK: 250 MiB in 58 packages [2024-10-04T02:40:21.798Z] Removing intermediate container e8709ceb4c7c [2024-10-04T02:40:21.798Z] ---> a5863a3e8618 [2024-10-04T02:40:21.798Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-04T02:40:21.798Z] ---> Running in e3b6598b8130 [2024-10-04T02:40:21.798Z] Removing intermediate container e3b6598b8130 [2024-10-04T02:40:21.798Z] ---> 8dd840b06819 [2024-10-04T02:40:21.798Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-04T02:40:22.057Z] ---> e65cf2d74cb1 [2024-10-04T02:40:22.057Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T02:40:22.057Z] ---> Running in 26155afc84b6 [2024-10-04T02:40:23.226Z] Removing intermediate container 26155afc84b6 [2024-10-04T02:40:23.226Z] ---> 2d0e69ca12ac [2024-10-04T02:40:23.226Z] Step 11/26 : COPY . . [2024-10-04T02:40:23.487Z] ---> 638de6542bbe [2024-10-04T02:40:23.487Z] Step 12/26 : RUN $MAKE [2024-10-04T02:40:23.487Z] ---> Running in fabb505182a1 [2024-10-04T02:40:23.749Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-10-04T02:41:04.222Z] Removing intermediate container fabb505182a1 [2024-10-04T02:41:04.222Z] ---> 0c8a5945febf [2024-10-04T02:41:04.222Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T02:41:04.222Z] 3.20: Pulling from library/alpine [2024-10-04T02:41:04.222Z] 43c4264eed91: Already exists [2024-10-04T02:41:04.222Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T02:41:04.222Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T02:41:04.222Z] ---> 91ef0af61f39 [2024-10-04T02:41:04.222Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T02:41:04.222Z] ---> Running in edc17b00fe00 [2024-10-04T02:41:04.222Z] Removing intermediate container edc17b00fe00 [2024-10-04T02:41:04.222Z] ---> f2b27bd4d475 [2024-10-04T02:41:04.222Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-04T02:41:04.222Z] ---> Running in e8aba257334f [2024-10-04T02:41:04.222Z] Removing intermediate container e8aba257334f [2024-10-04T02:41:04.222Z] ---> 3abaeba0ec3d [2024-10-04T02:41:04.222Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T02:41:04.222Z] ---> Running in 03c28c74562f [2024-10-04T02:41:04.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T02:41:04.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T02:41:04.222Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T02:41:04.222Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:41:04.222Z] OK: 8 MiB in 15 packages [2024-10-04T02:41:04.482Z] Removing intermediate container 03c28c74562f [2024-10-04T02:41:04.482Z] ---> 85982f01cece [2024-10-04T02:41:04.482Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-04T02:41:04.482Z] ---> Running in ef3bc7d910da [2024-10-04T02:41:04.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T02:41:04.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T02:41:05.002Z] Upgrading critical system libraries and apk-tools: [2024-10-04T02:41:05.002Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T02:41:05.002Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:41:05.261Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T02:41:05.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T02:41:05.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T02:41:05.521Z] OK: 8 MiB in 15 packages [2024-10-04T02:41:06.089Z] Removing intermediate container ef3bc7d910da [2024-10-04T02:41:06.089Z] ---> 3de7b4b25cd3 [2024-10-04T02:41:06.089Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-04T02:41:07.503Z] ---> 27563191fa9c [2024-10-04T02:41:07.503Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-04T02:41:07.503Z] ---> 86870ce249c9 [2024-10-04T02:41:07.503Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-04T02:41:07.770Z] ---> 9a858bc64bf6 [2024-10-04T02:41:07.771Z] Step 21/26 : EXPOSE 59986 [2024-10-04T02:41:07.771Z] ---> Running in cbb638ee3348 [2024-10-04T02:41:07.771Z] Removing intermediate container cbb638ee3348 [2024-10-04T02:41:07.771Z] ---> cfa7213c915d [2024-10-04T02:41:07.771Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-04T02:41:07.771Z] ---> Running in f414de22e05b [2024-10-04T02:41:07.771Z] Removing intermediate container f414de22e05b [2024-10-04T02:41:07.771Z] ---> 9b7e435c5305 [2024-10-04T02:41:07.771Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-04T02:41:07.771Z] ---> Running in 6d250bca712e [2024-10-04T02:41:08.030Z] Removing intermediate container 6d250bca712e [2024-10-04T02:41:08.030Z] ---> 29f86a19a25c [2024-10-04T02:41:08.030Z] Step 24/26 : LABEL arch=amd64 [2024-10-04T02:41:08.030Z] ---> Running in 11951685dad8 [2024-10-04T02:41:08.030Z] Removing intermediate container 11951685dad8 [2024-10-04T02:41:08.030Z] ---> 8db953ea6c82 [2024-10-04T02:41:08.030Z] Step 25/26 : LABEL git_sha=21d3830f1720a37f1895b62ff4ca15d755f1aed1 [2024-10-04T02:41:08.030Z] ---> Running in 0fbf8d369696 [2024-10-04T02:41:08.030Z] Removing intermediate container 0fbf8d369696 [2024-10-04T02:41:08.030Z] ---> e7178d060bee [2024-10-04T02:41:08.030Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T02:41:08.030Z] ---> Running in 24df58c7a28f [2024-10-04T02:41:08.289Z] Removing intermediate container 24df58c7a28f [2024-10-04T02:41:08.289Z] ---> 4a16b390f072 [2024-10-04T02:41:08.289Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T02:41:08.289Z] Successfully built 4a16b390f072 [2024-10-04T02:41:08.289Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:41:09.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T02:41:09.334Z] [2024-10-04T02:41:09.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:41:09.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T02:41:09.741Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T02:41:09.741Z] 5eb5b503b376: Pulling fs layer [2024-10-04T02:41:09.741Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T02:41:09.741Z] ec43610c2a17: Pulling fs layer [2024-10-04T02:41:09.741Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T02:41:09.741Z] 33b1e0a273af: Pulling fs layer [2024-10-04T02:41:09.741Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T02:41:09.741Z] 2f39f015ded8: Pulling fs layer [2024-10-04T02:41:09.741Z] 3a2ae6a8a46f: Waiting [2024-10-04T02:41:09.741Z] 33b1e0a273af: Waiting [2024-10-04T02:41:09.741Z] 2f39f015ded8: Waiting [2024-10-04T02:41:09.741Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T02:41:09.741Z] 5c69ac0246d0: Download complete [2024-10-04T02:41:09.741Z] 3a2ae6a8a46f: Download complete [2024-10-04T02:41:09.741Z] 33b1e0a273af: Verifying Checksum [2024-10-04T02:41:09.741Z] 33b1e0a273af: Download complete [2024-10-04T02:41:09.741Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T02:41:09.741Z] 5d3b04190fa2: Download complete [2024-10-04T02:41:09.741Z] ec43610c2a17: Verifying Checksum [2024-10-04T02:41:09.741Z] ec43610c2a17: Download complete [2024-10-04T02:41:10.013Z] 5eb5b503b376: Verifying Checksum [2024-10-04T02:41:10.013Z] 5eb5b503b376: Download complete [2024-10-04T02:41:10.581Z] 2f39f015ded8: Download complete [2024-10-04T02:41:11.147Z] 5eb5b503b376: Pull complete [2024-10-04T02:41:11.408Z] 5c69ac0246d0: Pull complete [2024-10-04T02:41:18.503Z] ec43610c2a17: Pull complete [2024-10-04T02:41:18.503Z] 3a2ae6a8a46f: Pull complete [2024-10-04T02:41:18.503Z] 33b1e0a273af: Pull complete [2024-10-04T02:41:18.503Z] 5d3b04190fa2: Pull complete [2024-10-04T02:41:18.503Z] 2f39f015ded8: Pull complete [2024-10-04T02:41:18.503Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T02:41:18.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T02:41:18.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:41:18.821Z] prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container [2024-10-04T02:41:18.854Z] $ 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-414 -v /w/workspace/gexfoundry_device-rest-go_PR-414:/w/workspace/gexfoundry_device-rest-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-414@tmp:/w/workspace/gexfoundry_device-rest-go_PR-414@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T02:41:24.708Z] $ docker top 8712ca5fe580ca49ab591d384270a668c3af53b6a37fa5ac04aeaae8d787158b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:41:25.257Z] ---> job-cost.sh [2024-10-04T02:41:25.257Z] lf-activate-venv: SKIPPING [2024-10-04T02:41:25.257Z] INFO: No Stack... [2024-10-04T02:41:25.518Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T02:41:25.778Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T02:41:26.099Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-414/archives/cost.csv [2024-10-04T02:41:26.099Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T02:41:26.149Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [2024-10-04T02:41:26.155Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] did not exist. Created. [2024-10-04T02:41:26.162Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T02:41:26.585Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T02:41:26.642Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T02:41:26.684Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T02:41:26.781Z] $ docker stop --time=1 8712ca5fe580ca49ab591d384270a668c3af53b6a37fa5ac04aeaae8d787158b [2024-10-04T02:41:27.933Z] $ docker rm -f --volumes 8712ca5fe580ca49ab591d384270a668c3af53b6a37fa5ac04aeaae8d787158b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T02:42:08.036Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15552 in /w/workspace/gexfoundry_device-rest-go_PR-414 [Pipeline] { [Pipeline] ws [2024-10-04T02:42:08.115Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T02:42:08.205Z] The recommended git tool is: git [2024-10-04T02:42:14.324Z] using credential edgex-jenkins-ssh [2024-10-04T02:42:14.363Z] Cloning the remote Git repository [2024-10-04T02:42:14.437Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-04T02:42:14.573Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-04T02:42:14.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-04T02:42:14.729Z] > git --version # timeout=10 [2024-10-04T02:42:14.750Z] > git --version # 'git version 2.25.1' [2024-10-04T02:42:14.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T02:42:14.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T02:42:18.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-04T02:42:18.061Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T02:42:19.967Z] Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [2024-10-04T02:42:19.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-04T02:42:19.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-04T02:42:19.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T02:42:19.373Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T02:42:20.028Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T02:42:20.556Z] Merge succeeded, producing 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [2024-10-04T02:42:20.557Z] Checking out Revision 21d3830f1720a37f1895b62ff4ca15d755f1aed1 (PR-414) [2024-10-04T02:42:20.201Z] > git checkout -f 21d3830f1720a37f1895b62ff4ca15d755f1aed1 # timeout=10 [2024-10-04T02:42:20.299Z] > git remote # timeout=10 [2024-10-04T02:42:20.335Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T02:42:20.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T02:42:20.429Z] > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 [2024-10-04T02:42:20.487Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T02:42:20.566Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T02:42:20.657Z] > git checkout -f 21d3830f1720a37f1895b62ff4ca15d755f1aed1 # timeout=10 [2024-10-04T02:42:24.740Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T02:42:24.807Z] > git --version # timeout=10 [2024-10-04T02:42:24.830Z] > git --version # 'git version 2.25.1' [2024-10-04T02:42:24.851Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T02:42:27.641Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T02:42:27.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T02:42:27.641Z] Dload Upload Total Spent Left Speed [2024-10-04T02:42:27.641Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 96451 [Pipeline] sh [2024-10-04T02:42:28.039Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T02:42:28.439Z] + sudo tee /etc/docker/daemon.new [2024-10-04T02:42:28.439Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T02:42:28.723Z] { [2024-10-04T02:42:28.723Z] "registry-mirrors": [ [2024-10-04T02:42:28.723Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T02:42:28.723Z] ], [2024-10-04T02:42:28.723Z] "bip": "10.250.0.254/24", [2024-10-04T02:42:28.723Z] "hosts": [ [2024-10-04T02:42:28.723Z] "tcp://0.0.0.0:5555", [2024-10-04T02:42:28.723Z] "unix:///var/run/docker.sock" [2024-10-04T02:42:28.723Z] ], [2024-10-04T02:42:28.723Z] "mtu": 1458, [2024-10-04T02:42:28.723Z] "selinux-enabled": true, [2024-10-04T02:42:28.723Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T02:42:28.723Z] } [Pipeline] sh [2024-10-04T02:42:29.094Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T02:42:29.498Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T02:42:47.930Z] provisioning config files... [2024-10-04T02:42:47.957Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1565838619054871204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:42:48.491Z] ---> ****-login.sh [2024-10-04T02:42:48.491Z] nexus3.edgexfoundry.org:10001 [2024-10-04T02:42:48.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:42:49.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:42:49.036Z] Configure a credential helper to remove this warning. See [2024-10-04T02:42:49.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:42:49.036Z] [2024-10-04T02:42:49.036Z] Login Succeeded [2024-10-04T02:42:49.036Z] nexus3.edgexfoundry.org:10002 [2024-10-04T02:42:49.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:42:49.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:42:49.307Z] Configure a credential helper to remove this warning. See [2024-10-04T02:42:49.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:42:49.307Z] [2024-10-04T02:42:49.307Z] Login Succeeded [2024-10-04T02:42:49.307Z] nexus3.edgexfoundry.org:10003 [2024-10-04T02:42:49.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:42:49.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:42:49.855Z] Configure a credential helper to remove this warning. See [2024-10-04T02:42:49.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:42:49.855Z] [2024-10-04T02:42:49.855Z] Login Succeeded [2024-10-04T02:42:49.855Z] nexus3.edgexfoundry.org:10004 [2024-10-04T02:42:49.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:42:50.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:42:50.134Z] Configure a credential helper to remove this warning. See [2024-10-04T02:42:50.134Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:42:50.134Z] [2024-10-04T02:42:50.134Z] Login Succeeded [2024-10-04T02:42:50.134Z] ****.io [2024-10-04T02:42:50.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T02:42:50.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T02:42:50.678Z] Configure a credential helper to remove this warning. See [2024-10-04T02:42:50.678Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T02:42:50.678Z] [2024-10-04T02:42:50.678Z] Login Succeeded [2024-10-04T02:42:50.678Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T02:42:50.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T02:42:51.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T02:42:51.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T02:42:51.347Z] ========================================================= [2024-10-04T02:42:51.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T02:42:51.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:42:51.926Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T02:42:51.926Z] Sending build context to Docker daemon 140.3kB [2024-10-04T02:42:52.209Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T02:42:52.209Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T02:42:52.209Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T02:42:52.209Z] cf04c63912e1: Pulling fs layer [2024-10-04T02:42:52.209Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T02:42:52.209Z] a37a00ec5f00: Pulling fs layer [2024-10-04T02:42:52.209Z] 50b3750afda1: Pulling fs layer [2024-10-04T02:42:52.209Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T02:42:52.209Z] 80978eb59214: Pulling fs layer [2024-10-04T02:42:52.209Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T02:42:52.209Z] c5a475d317c9: Pulling fs layer [2024-10-04T02:42:52.209Z] 4f4fb700ef54: Waiting [2024-10-04T02:42:52.209Z] 80978eb59214: Waiting [2024-10-04T02:42:52.209Z] c9f46d7d2bd2: Waiting [2024-10-04T02:42:52.209Z] 50b3750afda1: Waiting [2024-10-04T02:42:52.209Z] c5a475d317c9: Waiting [2024-10-04T02:42:52.481Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T02:42:52.481Z] 55b35a11ae5e: Download complete [2024-10-04T02:42:52.481Z] 50b3750afda1: Verifying Checksum [2024-10-04T02:42:52.481Z] 50b3750afda1: Download complete [2024-10-04T02:42:52.481Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T02:42:52.481Z] 4f4fb700ef54: Download complete [2024-10-04T02:42:52.481Z] 80978eb59214: Verifying Checksum [2024-10-04T02:42:52.481Z] 80978eb59214: Download complete [2024-10-04T02:42:52.481Z] cf04c63912e1: Verifying Checksum [2024-10-04T02:42:52.481Z] cf04c63912e1: Download complete [2024-10-04T02:42:53.069Z] c5a475d317c9: Verifying Checksum [2024-10-04T02:42:53.069Z] c5a475d317c9: Download complete [2024-10-04T02:42:53.658Z] cf04c63912e1: Pull complete [2024-10-04T02:42:53.930Z] 55b35a11ae5e: Pull complete [2024-10-04T02:42:54.524Z] a37a00ec5f00: Verifying Checksum [2024-10-04T02:42:54.525Z] a37a00ec5f00: Download complete [2024-10-04T02:42:55.118Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T02:42:55.118Z] c9f46d7d2bd2: Download complete [2024-10-04T02:43:10.535Z] a37a00ec5f00: Pull complete [2024-10-04T02:43:10.535Z] 50b3750afda1: Pull complete [2024-10-04T02:43:10.535Z] 4f4fb700ef54: Pull complete [2024-10-04T02:43:10.535Z] 80978eb59214: Pull complete [2024-10-04T02:43:16.552Z] c9f46d7d2bd2: Pull complete [2024-10-04T02:43:18.511Z] c5a475d317c9: Pull complete [2024-10-04T02:43:18.511Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T02:43:18.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T02:43:18.511Z] ---> be29e6b0f0d4 [2024-10-04T02:43:18.511Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T02:43:19.475Z] ---> Running in e4522ed01610 [2024-10-04T02:43:19.475Z] Removing intermediate container e4522ed01610 [2024-10-04T02:43:19.475Z] ---> 81c7b611dd8a [2024-10-04T02:43:19.475Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T02:43:19.756Z] ---> Running in 20417cc9aa32 [2024-10-04T02:43:20.024Z] Removing intermediate container 20417cc9aa32 [2024-10-04T02:43:20.024Z] ---> 27190f9f93d2 [2024-10-04T02:43:20.024Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T02:43:20.024Z] ---> Running in dafd545132e9 [2024-10-04T02:43:20.291Z] Removing intermediate container dafd545132e9 [2024-10-04T02:43:20.291Z] ---> 8508c5279eb0 [2024-10-04T02:43:20.291Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T02:43:20.291Z] ---> Running in 446553da45df [2024-10-04T02:43:20.558Z] Removing intermediate container 446553da45df [2024-10-04T02:43:20.558Z] ---> 8a164c725149 [2024-10-04T02:43:20.558Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T02:43:20.558Z] ---> Running in 311314a8d201 [2024-10-04T02:43:21.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:43:21.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:43:24.580Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T02:43:24.580Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T02:43:24.580Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T02:43:24.580Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T02:43:24.580Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:43:24.850Z] OK: 242 MiB in 58 packages [2024-10-04T02:43:25.811Z] Removing intermediate container 311314a8d201 [2024-10-04T02:43:25.811Z] ---> 1b5d8b345517 [2024-10-04T02:43:25.811Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-04T02:43:25.811Z] ---> Running in a400a0fe2f85 [2024-10-04T02:43:26.077Z] Removing intermediate container a400a0fe2f85 [2024-10-04T02:43:26.078Z] ---> c53ef6a3cea3 [2024-10-04T02:43:26.078Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T02:43:26.666Z] ---> 649edd419e02 [2024-10-04T02:43:26.666Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T02:43:26.666Z] ---> Running in e6b9b048c80c [2024-10-04T02:45:18.335Z] Removing intermediate container e6b9b048c80c [2024-10-04T02:45:18.335Z] ---> 4977e8f6253a [2024-10-04T02:45:18.335Z] Step 11/12 : COPY . . [2024-10-04T02:45:18.335Z] ---> 3fd6745715bc [2024-10-04T02:45:18.335Z] Step 12/12 : RUN $MAKE [2024-10-04T02:45:18.335Z] ---> Running in 80f2845655e5 [2024-10-04T02:45:18.335Z] noop [2024-10-04T02:45:18.335Z] Removing intermediate container 80f2845655e5 [2024-10-04T02:45:18.335Z] ---> afe4eb1ff512 [2024-10-04T02:45:18.335Z] Successfully built afe4eb1ff512 [2024-10-04T02:45:18.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:45:18.854Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T02:45:18.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:45:19.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-15552 does not seem to be running inside a container [2024-10-04T02:45:19.236Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T02:45:20.431Z] $ docker top 26fb023e3ac46c1ad39885c5e703e55e1353ccbdae00ab1b0785f53776762b55 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T02:45:21.321Z] + go version [2024-10-04T02:45:21.321Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T02:45:21.362Z] $ docker stop --time=1 26fb023e3ac46c1ad39885c5e703e55e1353ccbdae00ab1b0785f53776762b55 [2024-10-04T02:45:22.969Z] $ docker rm -f --volumes 26fb023e3ac46c1ad39885c5e703e55e1353ccbdae00ab1b0785f53776762b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:45:23.960Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T02:45:23.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:45:24.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-15552 does not seem to be running inside a container [2024-10-04T02:45:24.307Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T02:45:25.467Z] $ docker top 7afb9a788336dc217d2eec281bd1be0388bee19ec439e5da4151ae54e8c25d13 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T02:45:26.347Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T02:45:27.067Z] + make test [2024-10-04T02:45:27.067Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T02:45:32.400Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-04T02:48:54.424Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-04T02:48:54.424Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements [2024-10-04T02:48:54.424Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T02:48:54.424Z] go vet ./... [2024-10-04T02:49:43.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T02:49:43.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T02:49:43.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T02:49:43.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T02:49:43.645Z] $ docker stop --time=1 7afb9a788336dc217d2eec281bd1be0388bee19ec439e5da4151ae54e8c25d13 [2024-10-04T02:49:46.256Z] $ docker rm -f --volumes 7afb9a788336dc217d2eec281bd1be0388bee19ec439e5da4151ae54e8c25d13 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T02:49:47.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T02:49:48.029Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T02:49:48.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T02:49:49.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T02:49:49.531Z] + ls -al . [2024-10-04T02:49:49.532Z] total 252 [2024-10-04T02:49:49.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:45 . [2024-10-04T02:49:49.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:42 .. [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 02:42 .dockerignore [2024-10-04T02:49:49.532Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:42 .git [2024-10-04T02:49:49.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:42 .github [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 02:42 .gitignore [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 02:42 .golangci.yml [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 02:42 Attribution.txt [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 02:42 CHANGELOG.md [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 02:42 Dockerfile [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:42 GOVERNANCE.md [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 02:42 Jenkinsfile [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 02:42 LICENSE [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 02:42 Makefile [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 02:42 OWNERS.md [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 02:42 README.md [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:38 VERSION [2024-10-04T02:49:49.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:42 bin [2024-10-04T02:49:49.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:42 cmd [2024-10-04T02:49:49.532Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 02:48 coverage.out [2024-10-04T02:49:49.532Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:42 driver [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 02:42 go.mod [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 02:42 go.sum [2024-10-04T02:49:49.532Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:42 openapi [2024-10-04T02:49:49.532Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:49:50.053Z] + 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=21d3830f1720a37f1895b62ff4ca15d755f1aed1 --label arch=arm64 --label version=0.0.0 . [2024-10-04T02:49:50.053Z] Sending build context to Docker daemon 155.6kB [2024-10-04T02:49:50.551Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T02:49:50.552Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T02:49:50.552Z] ---> afe4eb1ff512 [2024-10-04T02:49:50.552Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T02:49:50.552Z] ---> Running in 809de3f918d0 [2024-10-04T02:49:50.552Z] Removing intermediate container 809de3f918d0 [2024-10-04T02:49:50.552Z] ---> 6d903854609f [2024-10-04T02:49:50.552Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T02:49:50.819Z] ---> Running in bbdbd688c640 [2024-10-04T02:49:51.087Z] Removing intermediate container bbdbd688c640 [2024-10-04T02:49:51.087Z] ---> 134cb55f63fe [2024-10-04T02:49:51.087Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T02:49:51.087Z] ---> Running in 9b0441afd167 [2024-10-04T02:49:51.355Z] Removing intermediate container 9b0441afd167 [2024-10-04T02:49:51.355Z] ---> 20d2a9618654 [2024-10-04T02:49:51.355Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T02:49:51.622Z] ---> Running in e6d24e41a423 [2024-10-04T02:49:51.889Z] Removing intermediate container e6d24e41a423 [2024-10-04T02:49:51.889Z] ---> e2e1195b6429 [2024-10-04T02:49:51.889Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T02:49:51.889Z] ---> Running in d2fe8693679e [2024-10-04T02:49:52.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:49:53.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:49:54.853Z] OK: 242 MiB in 58 packages [2024-10-04T02:49:55.820Z] Removing intermediate container d2fe8693679e [2024-10-04T02:49:55.820Z] ---> 33d43426fbd9 [2024-10-04T02:49:55.820Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-04T02:49:55.820Z] ---> Running in 8dd90dfc9630 [2024-10-04T02:49:56.086Z] Removing intermediate container 8dd90dfc9630 [2024-10-04T02:49:56.086Z] ---> 2ad41307cd7b [2024-10-04T02:49:56.086Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-04T02:49:56.669Z] ---> 3d026d8ddd9d [2024-10-04T02:49:56.669Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T02:49:56.669Z] ---> Running in cf4c0f33c760 [2024-10-04T02:49:59.251Z] Removing intermediate container cf4c0f33c760 [2024-10-04T02:49:59.252Z] ---> 0f6b28f3b290 [2024-10-04T02:49:59.252Z] Step 11/26 : COPY . . [2024-10-04T02:49:59.519Z] ---> abb631d0648e [2024-10-04T02:49:59.519Z] Step 12/26 : RUN $MAKE [2024-10-04T02:49:59.519Z] ---> Running in 4109fec71c06 [2024-10-04T02:50:00.483Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-10-04T02:53:23.445Z] Removing intermediate container 4109fec71c06 [2024-10-04T02:53:23.445Z] ---> 31acb9bef2fc [2024-10-04T02:53:23.445Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T02:53:23.445Z] 3.20: Pulling from library/alpine [2024-10-04T02:53:23.445Z] cf04c63912e1: Already exists [2024-10-04T02:53:23.445Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T02:53:23.445Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T02:53:23.445Z] ---> c157a85ed455 [2024-10-04T02:53:23.445Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T02:53:23.445Z] ---> Running in 03e078de55a0 [2024-10-04T02:53:23.445Z] Removing intermediate container 03e078de55a0 [2024-10-04T02:53:23.445Z] ---> c361d6c54c8f [2024-10-04T02:53:23.445Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-04T02:53:23.445Z] ---> Running in 62fcf675181d [2024-10-04T02:53:23.445Z] Removing intermediate container 62fcf675181d [2024-10-04T02:53:23.445Z] ---> 6bc2a40482ce [2024-10-04T02:53:23.445Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T02:53:23.445Z] ---> Running in c0bdb9f1764d [2024-10-04T02:53:23.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:53:23.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:53:23.445Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T02:53:23.445Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:53:23.445Z] OK: 9 MiB in 15 packages [2024-10-04T02:53:23.445Z] Removing intermediate container c0bdb9f1764d [2024-10-04T02:53:23.445Z] ---> f83040a33bb9 [2024-10-04T02:53:23.445Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-04T02:53:23.445Z] ---> Running in 011394cffd09 [2024-10-04T02:53:24.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:53:24.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:53:26.087Z] Upgrading critical system libraries and apk-tools: [2024-10-04T02:53:26.087Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T02:53:26.087Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T02:53:26.087Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T02:53:26.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T02:53:26.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T02:53:27.765Z] OK: 9 MiB in 15 packages [2024-10-04T02:53:28.725Z] Removing intermediate container 011394cffd09 [2024-10-04T02:53:28.725Z] ---> 785dc9522f72 [2024-10-04T02:53:28.725Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-04T02:53:30.668Z] ---> 362b82d0ce0b [2024-10-04T02:53:30.668Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-04T02:53:31.248Z] ---> abc04d50ce75 [2024-10-04T02:53:31.248Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-04T02:53:31.833Z] ---> 66b7783d5d60 [2024-10-04T02:53:31.833Z] Step 21/26 : EXPOSE 59986 [2024-10-04T02:53:31.833Z] ---> Running in 14429110d6f6 [2024-10-04T02:53:32.100Z] Removing intermediate container 14429110d6f6 [2024-10-04T02:53:32.100Z] ---> 4302ab15b3a7 [2024-10-04T02:53:32.100Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-04T02:53:32.100Z] ---> Running in c8924d717665 [2024-10-04T02:53:32.369Z] Removing intermediate container c8924d717665 [2024-10-04T02:53:32.369Z] ---> e18e94e2e384 [2024-10-04T02:53:32.369Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-04T02:53:32.636Z] ---> Running in 853113256e9c [2024-10-04T02:53:32.902Z] Removing intermediate container 853113256e9c [2024-10-04T02:53:32.902Z] ---> f900dc953074 [2024-10-04T02:53:32.902Z] Step 24/26 : LABEL arch=arm64 [2024-10-04T02:53:32.902Z] ---> Running in 4c6437268221 [2024-10-04T02:53:33.169Z] Removing intermediate container 4c6437268221 [2024-10-04T02:53:33.169Z] ---> 791ea251c6b4 [2024-10-04T02:53:33.169Z] Step 25/26 : LABEL git_sha=21d3830f1720a37f1895b62ff4ca15d755f1aed1 [2024-10-04T02:53:33.169Z] ---> Running in 4ac2e1fc553e [2024-10-04T02:53:33.436Z] Removing intermediate container 4ac2e1fc553e [2024-10-04T02:53:33.436Z] ---> 3077ed3ecb09 [2024-10-04T02:53:33.436Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T02:53:33.703Z] ---> Running in 8593c23d1669 [2024-10-04T02:53:33.969Z] Removing intermediate container 8593c23d1669 [2024-10-04T02:53:33.969Z] ---> 76f49f1b13b6 [2024-10-04T02:53:33.969Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T02:53:33.969Z] Successfully built 76f49f1b13b6 [2024-10-04T02:53:33.969Z] 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-10-04T02:53:34.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T02:53:34.945Z] [2024-10-04T02:53:34.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:53:35.367Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T02:53:35.636Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T02:53:35.636Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T02:53:35.636Z] 04944245beec: Pulling fs layer [2024-10-04T02:53:35.636Z] 699f458cf7ca: Pulling fs layer [2024-10-04T02:53:35.636Z] 765212b225bb: Pulling fs layer [2024-10-04T02:53:35.636Z] f23df028b6ca: Pulling fs layer [2024-10-04T02:53:35.636Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T02:53:35.636Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T02:53:35.636Z] 765212b225bb: Waiting [2024-10-04T02:53:35.636Z] f23df028b6ca: Waiting [2024-10-04T02:53:35.636Z] 2437ff75d9bd: Waiting [2024-10-04T02:53:35.636Z] d65c8cfc05b1: Waiting [2024-10-04T02:53:35.636Z] 04944245beec: Verifying Checksum [2024-10-04T02:53:35.636Z] 04944245beec: Download complete [2024-10-04T02:53:35.636Z] 765212b225bb: Verifying Checksum [2024-10-04T02:53:35.636Z] 765212b225bb: Download complete [2024-10-04T02:53:35.636Z] f23df028b6ca: Verifying Checksum [2024-10-04T02:53:35.636Z] f23df028b6ca: Download complete [2024-10-04T02:53:35.636Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T02:53:35.636Z] d65c8cfc05b1: Download complete [2024-10-04T02:53:35.903Z] 699f458cf7ca: Verifying Checksum [2024-10-04T02:53:35.903Z] 699f458cf7ca: Download complete [2024-10-04T02:53:36.170Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T02:53:36.170Z] 8998bd30e6a1: Download complete [2024-10-04T02:53:38.751Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T02:53:38.751Z] 2437ff75d9bd: Download complete [2024-10-04T02:53:41.333Z] 8998bd30e6a1: Pull complete [2024-10-04T02:53:41.333Z] 04944245beec: Pull complete [2024-10-04T02:53:43.272Z] 699f458cf7ca: Pull complete [2024-10-04T02:53:43.272Z] 765212b225bb: Pull complete [2024-10-04T02:53:44.232Z] f23df028b6ca: Pull complete [2024-10-04T02:53:44.232Z] d65c8cfc05b1: Pull complete [2024-10-04T02:54:02.422Z] 2437ff75d9bd: Pull complete [2024-10-04T02:54:02.422Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T02:54:02.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T02:54:02.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:54:02.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-15552 does not seem to be running inside a container [2024-10-04T02:54:02.842Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T02:54:05.419Z] $ docker top 612bc3d73348a4d62223d3dd2a3ac0cc89e040471fdf491b152c0e5ab64e32bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:06.005Z] ---> job-cost.sh [2024-10-04T02:54:06.269Z] lf-activate-venv: SKIPPING [2024-10-04T02:54:06.269Z] INFO: No Stack... [2024-10-04T02:54:06.533Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T02:54:07.488Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T02:54:07.832Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-04T02:54:07.832Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T02:54:07.908Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [2024-10-04T02:54:07.914Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] did not exist. Created. [2024-10-04T02:54:07.920Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T02:54:08.353Z] /w/workspace/device-rest-go/1@tmp/durable-062f4dfa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T02:54:08.727Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T02:54:08.776Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T02:54:08.832Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T02:54:08.854Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T02:54:08.959Z] $ docker stop --time=1 612bc3d73348a4d62223d3dd2a3ac0cc89e040471fdf491b152c0e5ab64e32bf [2024-10-04T02:54:10.432Z] $ docker rm -f --volumes 612bc3d73348a4d62223d3dd2a3ac0cc89e040471fdf491b152c0e5ab64e32bf [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-10-04T02:54:11.634Z] provisioning config files... [2024-10-04T02:54:11.644Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config802532751585119125tmp [Pipeline] { [Pipeline] sh [2024-10-04T02:54:12.002Z] + set +x [2024-10-04T02:54:12.002Z] + curl -s https://codecov.io/bash [2024-10-04T02:54:12.002Z] + bash -s -- [2024-10-04T02:54:12.002Z] [2024-10-04T02:54:12.002Z] _____ _ [2024-10-04T02:54:12.002Z] / ____| | | [2024-10-04T02:54:12.002Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T02:54:12.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T02:54:12.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T02:54:12.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T02:54:12.002Z] Bash-1.0.6 [2024-10-04T02:54:12.002Z] [2024-10-04T02:54:12.002Z] [2024-10-04T02:54:12.002Z] ==> git version 2.25.1 found [2024-10-04T02:54:12.002Z] ==> 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-10-04T02:54:12.002Z] Release-Date: 2020-01-08 [2024-10-04T02:54:12.002Z] 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-10-04T02:54:12.002Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T02:54:12.002Z] ==> Jenkins CI detected. [2024-10-04T02:54:12.002Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-414 [2024-10-04T02:54:12.002Z] project root: . [2024-10-04T02:54:12.002Z] --> token set from env [2024-10-04T02:54:12.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T02:54:12.263Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T02:54:12.263Z] ==> Python coveragepy not found [2024-10-04T02:54:12.263Z] ==> Searching for coverage reports in: [2024-10-04T02:54:12.263Z] + . [2024-10-04T02:54:12.263Z] -> Found 1 reports [2024-10-04T02:54:12.263Z] ==> Detecting git/mercurial file structure [2024-10-04T02:54:12.263Z] ==> Reading reports [2024-10-04T02:54:12.263Z] + ./coverage.out bytes=14565 [2024-10-04T02:54:12.263Z] ==> Appending adjustments [2024-10-04T02:54:12.263Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T02:54:12.263Z] + Found adjustments [2024-10-04T02:54:12.263Z] ==> Gzipping contents [2024-10-04T02:54:12.263Z] 4.0K /tmp/codecov.h0yMZm.gz [2024-10-04T02:54:12.263Z] ==> Uploading reports [2024-10-04T02:54:12.263Z] url: https://codecov.io [2024-10-04T02:54:12.263Z] query: branch=PR-414&commit=21d3830f1720a37f1895b62ff4ca15d755f1aed1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2024-10-04T02:54:12.263Z] -> Pinging Codecov [2024-10-04T02:54:12.263Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-414&commit=21d3830f1720a37f1895b62ff4ca15d755f1aed1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2024-10-04T02:54:12.525Z] -> Uploading to [2024-10-04T02:54:12.525Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/21d3830f1720a37f1895b62ff4ca15d755f1aed1/c9aef38c-86a3-4927-9d06-bef96b4d64e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T025412Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d0fdf16c24a8abab2df99b50ab7423ebe582e3ddae09ab8a396df7d5e88214d0 [2024-10-04T02:54:12.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T02:54:12.525Z] Dload Upload Total Spent Left Speed [2024-10-04T02:54:12.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 10143 --:--:-- --:--:-- --:--:-- 10099 100 2333 0 0 100 2333 0 10143 --:--:-- --:--:-- --:--:-- 10099 [2024-10-04T02:54:12.786Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] } [2024-10-04T02:54:12.818Z] 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-10-04T02:54:15.111Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-414/archives ] [2024-10-04T02:54:15.111Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-414/archives [2024-10-04T02:54:15.111Z] total 16 [2024-10-04T02:54:15.111Z] drwxr-xr-x 3 root root 4096 Oct 4 02:41 . [2024-10-04T02:54:15.111Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 02:41 .. [2024-10-04T02:54:15.111Z] drwxr-xr-x 2 root root 4096 Oct 4 02:41 cost [2024-10-04T02:54:15.111Z] -rw-r--r-- 1 root root 86 Oct 4 02:41 cost.csv [2024-10-04T02:54:15.111Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-414/archives [2024-10-04T02:54:15.111Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-414/archives [2024-10-04T02:54:15.111Z] total 16 [2024-10-04T02:54:15.111Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:41 . [2024-10-04T02:54:15.111Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 02:41 .. [2024-10-04T02:54:15.111Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 02:41 cost [2024-10-04T02:54:15.111Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 02:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:15.456Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:16.369Z] ---> package-listing.sh [2024-10-04T02:54:16.369Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T02:54:16.369Z] ++ facter osfamily [2024-10-04T02:54:16.630Z] + OS_FAMILY=debian [2024-10-04T02:54:16.630Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-414 [2024-10-04T02:54:16.630Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T02:54:16.630Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T02:54:16.630Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T02:54:16.630Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T02:54:16.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-414 ']' [2024-10-04T02:54:16.630Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T02:54:16.630Z] + case "${OS_FAMILY}" in [2024-10-04T02:54:16.630Z] + dpkg -l [2024-10-04T02:54:16.630Z] + grep '^ii' [2024-10-04T02:54:16.630Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T02:54:16.630Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T02:54:16.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T02:54:16.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-414 ']' [2024-10-04T02:54:16.630Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-414/archives/ [2024-10-04T02:54:16.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-414/archives/ [Pipeline] echo [2024-10-04T02:54:16.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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T02:54:16.981Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T02:54:17.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T02:54:17.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T02:54:17.824Z] prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container [2024-10-04T02:54:17.854Z] $ 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-414/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-414 -v /w/workspace/gexfoundry_device-rest-go_PR-414:/w/workspace/gexfoundry_device-rest-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-414@tmp:/w/workspace/gexfoundry_device-rest-go_PR-414@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T02:54:18.040Z] $ docker top aff9feb5e11c78dc923983acddca3a652fb5e95e54b59bb0bde73389d89cfa5b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T02:54:18.454Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T02:54:18.777Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T02:54:19.097Z] + ls /var/log/sa-host [2024-10-04T02:54:19.097Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T02:54:19.374Z] provisioning config files... [2024-10-04T02:54:19.386Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config17847483619345677686tmp [Pipeline] { [Pipeline] echo [2024-10-04T02:54:19.461Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:19.808Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T02:54:19.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:20.277Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T02:54:20.314Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:20.648Z] ---> sudo-logs.sh [2024-10-04T02:54:20.648Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T02:54:20.757Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:21.095Z] ---> job-cost.sh [2024-10-04T02:54:21.096Z] lf-activate-venv: SKIPPING [2024-10-04T02:54:21.096Z] DEBUG: total: 0.2199999988079071 [2024-10-04T02:54:21.096Z] INFO: Retrieving Stack Cost... [2024-10-04T02:54:21.356Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T02:54:21.616Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T02:54:21.662Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T02:54:21.989Z] ---> logs-deploy.sh [2024-10-04T02:54:21.989Z] lf-activate-venv: SKIPPING [2024-10-04T02:54:21.989Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-414/1 [2024-10-04T02:54:21.989Z] INFO: archiving workspace using pattern(s): [2024-10-04T02:54:22.926Z] Archives upload complete. [2024-10-04T02:54:23.185Z] INFO: archiving logs to Nexus [2024-10-04T02:54:23.755Z] ---> uname -a: [2024-10-04T02:54:23.755Z] Linux prd-ubuntu20-04-docker-8c-8g-15551 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z] ---> lscpu: [2024-10-04T02:54:23.755Z] Architecture: x86_64 [2024-10-04T02:54:23.755Z] CPU op-mode(s): 32-bit, 64-bit [2024-10-04T02:54:23.755Z] Byte Order: Little Endian [2024-10-04T02:54:23.755Z] Address sizes: 40 bits physical, 48 bits virtual [2024-10-04T02:54:23.755Z] CPU(s): 8 [2024-10-04T02:54:23.755Z] On-line CPU(s) list: 0-7 [2024-10-04T02:54:23.755Z] Thread(s) per core: 1 [2024-10-04T02:54:23.755Z] Core(s) per socket: 1 [2024-10-04T02:54:23.755Z] Socket(s): 8 [2024-10-04T02:54:23.755Z] NUMA node(s): 1 [2024-10-04T02:54:23.755Z] Vendor ID: AuthenticAMD [2024-10-04T02:54:23.755Z] CPU family: 23 [2024-10-04T02:54:23.755Z] Model: 49 [2024-10-04T02:54:23.755Z] Model name: AMD EPYC-Rome Processor [2024-10-04T02:54:23.755Z] Stepping: 0 [2024-10-04T02:54:23.755Z] CPU MHz: 2799.998 [2024-10-04T02:54:23.755Z] BogoMIPS: 5599.99 [2024-10-04T02:54:23.755Z] Virtualization: AMD-V [2024-10-04T02:54:23.755Z] Hypervisor vendor: KVM [2024-10-04T02:54:23.755Z] Virtualization type: full [2024-10-04T02:54:23.755Z] L1d cache: 256 KiB [2024-10-04T02:54:23.755Z] L1i cache: 256 KiB [2024-10-04T02:54:23.755Z] L2 cache: 4 MiB [2024-10-04T02:54:23.755Z] L3 cache: 128 MiB [2024-10-04T02:54:23.755Z] NUMA node0 CPU(s): 0-7 [2024-10-04T02:54:23.755Z] Vulnerability Itlb multihit: Not affected [2024-10-04T02:54:23.755Z] Vulnerability L1tf: Not affected [2024-10-04T02:54:23.755Z] Vulnerability Mds: Not affected [2024-10-04T02:54:23.755Z] Vulnerability Meltdown: Not affected [2024-10-04T02:54:23.755Z] Vulnerability Mmio stale data: Not affected [2024-10-04T02:54:23.755Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-10-04T02:54:23.755Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-10-04T02:54:23.755Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-10-04T02:54:23.755Z] Vulnerability Srbds: Not affected [2024-10-04T02:54:23.755Z] Vulnerability Tsx async abort: Not affected [2024-10-04T02:54:23.755Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z] ---> nproc: [2024-10-04T02:54:23.755Z] 8 [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z] ---> df -h: [2024-10-04T02:54:23.755Z] Filesystem Size Used Avail Use% Mounted on [2024-10-04T02:54:23.755Z] overlay 155G 12G 143G 8% / [2024-10-04T02:54:23.755Z] tmpfs 64M 0 64M 0% /dev [2024-10-04T02:54:23.755Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-10-04T02:54:23.755Z] shm 64M 0 64M 0% /dev/shm [2024-10-04T02:54:23.755Z] /dev/vda1 155G 12G 143G 8% /facter-os [2024-10-04T02:54:23.755Z] [2024-10-04T02:54:23.755Z]