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 02:37:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:37:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:37:44 ========================================================= 02:37:44 EdgeX Global Pipelines Version Info 02:37:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:37:45 ------------------- 02:37:45 stable info: 02:37:45 ------------------- 02:37:45 Commited By: Ginny Guan ginny@iotechsys.com 02:37:45 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 02:37:45 Message: update stable to v1.0.265 02:37:46 ------------------- 02:37:46 experimental info: 02:37:46 ------------------- 02:37:46 Commited By: Cherry Wang cherry@iotechsys.com 02:37:46 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:37:46 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:37:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21d3830 [Pipeline] echo 02:37:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:48 provisioning config files... 02:37:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config9613326794839283751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:49 ---> ****-login.sh 02:37:49 nexus3.edgexfoundry.org:10001 02:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:49 Configure a credential helper to remove this warning. See 02:37:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:49 02:37:49 Login Succeeded 02:37:49 nexus3.edgexfoundry.org:10002 02:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:49 Configure a credential helper to remove this warning. See 02:37:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:49 02:37:49 Login Succeeded 02:37:49 nexus3.edgexfoundry.org:10003 02:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:49 Configure a credential helper to remove this warning. See 02:37:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:49 02:37:49 Login Succeeded 02:37:49 nexus3.edgexfoundry.org:10004 02:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:49 Configure a credential helper to remove this warning. See 02:37:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:49 02:37:49 Login Succeeded 02:37:49 ****.io 02:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:50 Configure a credential helper to remove this warning. See 02:37:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:50 02:37:50 Login Succeeded 02:37:50 ---> ****-login.sh ends [Pipeline] } 02:37:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:37:50 + git rev-list -1 --merges 21d3830f1720a37f1895b62ff4ca15d755f1aed1~1..21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo 02:37:51 -----------> git rev-list -1 --merges 21d3830f1720a37f1895b62ff4ca15d755f1aed1~1..21d3830f1720a37f1895b62ff4ca15d755f1aed1 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [false] [Pipeline] sh 02:37:51 + git log --format=format:%s -1 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo 02:37:51 ========================================================= 02:37:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:37:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:51 + git log --format=format:%s -1 21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] echo 02:37:51 [semverPrep] GIT_COMMIT: 21d3830f1720a37f1895b62ff4ca15d755f1aed1, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo 02:37:51 [semverPrep] This is not a build commit. [Pipeline] sh 02:37:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:37:52 + grep -v github /etc/ssh/ssh_known_hosts 02:37:52 + [ -e /tmp/ssh_known_hosts ] 02:37:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:37:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:37:52 + sudo tee -a /etc/ssh/ssh_known_hosts 02:37:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:52 02:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:53 0.1.4: Pulling from edgex-devops/py-git-semver 02:37:53 b85a868b505f: Pulling fs layer 02:37:53 e2be974225ed: Pulling fs layer 02:37:53 339a4e72a1f5: Pulling fs layer 02:37:53 988bab9f4d93: Pulling fs layer 02:37:53 1469e6f7b9e6: Pulling fs layer 02:37:53 eaf3925da568: Pulling fs layer 02:37:53 bab4dde63d76: Pulling fs layer 02:37:53 bde34c3a00c8: Pulling fs layer 02:37:53 b352a97aabf1: Pulling fs layer 02:37:53 4872d77fe225: Pulling fs layer 02:37:53 5851b861e8e6: Pulling fs layer 02:37:53 988bab9f4d93: Waiting 02:37:53 bde34c3a00c8: Waiting 02:37:53 b352a97aabf1: Waiting 02:37:53 1469e6f7b9e6: Waiting 02:37:53 bab4dde63d76: Waiting 02:37:53 eaf3925da568: Waiting 02:37:53 4872d77fe225: Waiting 02:37:53 5851b861e8e6: Waiting 02:37:53 e2be974225ed: Download complete 02:37:53 988bab9f4d93: Download complete 02:37:53 1469e6f7b9e6: Verifying Checksum 02:37:53 1469e6f7b9e6: Download complete 02:37:53 339a4e72a1f5: Verifying Checksum 02:37:53 339a4e72a1f5: Download complete 02:37:53 eaf3925da568: Download complete 02:37:53 bde34c3a00c8: Verifying Checksum 02:37:53 bde34c3a00c8: Download complete 02:37:53 b352a97aabf1: Verifying Checksum 02:37:53 b352a97aabf1: Download complete 02:37:53 4872d77fe225: Download complete 02:37:53 5851b861e8e6: Download complete 02:37:53 b85a868b505f: Verifying Checksum 02:37:53 b85a868b505f: Download complete 02:37:53 bab4dde63d76: Verifying Checksum 02:37:53 bab4dde63d76: Download complete 02:37:55 b85a868b505f: Pull complete 02:37:55 e2be974225ed: Pull complete 02:37:55 339a4e72a1f5: Pull complete 02:37:55 988bab9f4d93: Pull complete 02:37:56 1469e6f7b9e6: Pull complete 02:37:56 eaf3925da568: Pull complete 02:37:57 bab4dde63d76: Pull complete 02:37:57 bde34c3a00c8: Pull complete 02:37:57 b352a97aabf1: Pull complete 02:37:58 4872d77fe225: Pull complete 02:37:58 5851b861e8e6: Pull complete 02:37:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:37:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:58 prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container 02:37:58 $ 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 02:38:02 $ docker top b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:03 [ssh-agent] Looking for ssh-agent implementation... 02:38:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:03 $ docker exec b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent 02:38:03 SSH_AUTH_SOCK=/tmp/ssh-KduS8IvYPEXY/agent.33 02:38:03 SSH_AGENT_PID=39 02:38:03 Running ssh-add (command line suppressed) 02:38:03 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) 02:38:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:04 + git tag --points-at HEAD [Pipeline] } 02:38:04 $ docker exec --env ******** --env ******** b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent -k 02:38:04 unset SSH_AUTH_SOCK; 02:38:04 unset SSH_AGENT_PID; 02:38:04 echo Agent pid 39 killed; 02:38:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:38:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:04 [ssh-agent] Looking for ssh-agent implementation... 02:38:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:04 $ docker exec b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent 02:38:04 SSH_AUTH_SOCK=/tmp/ssh-WQpY7ikT4P8x/agent.72 02:38:04 SSH_AGENT_PID=78 02:38:04 Running ssh-add (command line suppressed) 02:38:04 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) 02:38:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:05 + git semver init 02:38:05 2024-10-04 02:38:05,397 [run_init] DEBUG init version:0.0.0 force:False 02:38:05 2024-10-04 02:38:05,398 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-414/.semver 02:38:05 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 02:38:05 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) 02:38:07 2024-10-04 02:38:06,843 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-414/.git/info/exclude 02:38:07 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 02:38:07 2024-10-04 02:38:06,843 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-414/.semver/PR-414 02:38:07 2024-10-04 02:38:06,847 [execute] INFO git cat-file --batch-check 02:38:07 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=) 02:38:07 2024-10-04 02:38:06,853 [execute] INFO git cat-file --batch 02:38:07 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=) 02:38:07 2024-10-04 02:38:06,858 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-414/.semver/PR-414 02:38:07 0.0.0 [Pipeline] } 02:38:07 $ docker exec --env ******** --env ******** b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 ssh-agent -k 02:38:07 unset SSH_AUTH_SOCK; 02:38:07 unset SSH_AGENT_PID; 02:38:07 echo Agent pid 78 killed; 02:38:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:08 + git semver [Pipeline] } 02:38:08 $ docker stop --time=1 b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 02:38:09 $ docker rm -f --volumes b3e4f421ebd9c2e602910776877473f54b8642a305f8560e5a147866a664b549 [Pipeline] // withDockerContainer [Pipeline] sh 02:38:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:38:10 Stashed 1 file(s) [Pipeline] echo 02:38:10 [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 02:38:11 provisioning config files... 02:38:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config4535266169573633191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:11 ---> ****-login.sh 02:38:11 nexus3.edgexfoundry.org:10001 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 nexus3.edgexfoundry.org:10002 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 nexus3.edgexfoundry.org:10003 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 nexus3.edgexfoundry.org:10004 02:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:38:11 Configure a credential helper to remove this warning. See 02:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:38:11 02:38:11 Login Succeeded 02:38:11 ****.io 02:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:38:12 Configure a credential helper to remove this warning. See 02:38:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:38:12 02:38:12 Login Succeeded 02:38:12 ---> ****-login.sh ends [Pipeline] } 02:38:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:38:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:38:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:38:12 ========================================================= 02:38:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:38:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:13 + 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 . 02:38:13 Sending build context to Docker daemon 16.61MB 02:38:13 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:38:13 Step 2/12 : FROM ${BASE} AS builder 02:38:13 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:38:13 43c4264eed91: Pulling fs layer 02:38:13 4cc291be95ef: Pulling fs layer 02:38:13 2ac1f1163629: Pulling fs layer 02:38:13 5c3c966382ef: Pulling fs layer 02:38:13 4f4fb700ef54: Pulling fs layer 02:38:13 5d5c8e513c77: Pulling fs layer 02:38:13 9f66e0745190: Pulling fs layer 02:38:13 f49a43e4bbc0: Pulling fs layer 02:38:13 561ebcabdf7f: Pulling fs layer 02:38:13 5c3c966382ef: Waiting 02:38:13 4f4fb700ef54: Waiting 02:38:13 5d5c8e513c77: Waiting 02:38:13 9f66e0745190: Waiting 02:38:13 f49a43e4bbc0: Waiting 02:38:13 561ebcabdf7f: Waiting 02:38:13 4cc291be95ef: Verifying Checksum 02:38:13 4cc291be95ef: Download complete 02:38:13 5c3c966382ef: Verifying Checksum 02:38:13 5c3c966382ef: Download complete 02:38:13 4f4fb700ef54: Verifying Checksum 02:38:13 4f4fb700ef54: Download complete 02:38:13 5d5c8e513c77: Verifying Checksum 02:38:13 5d5c8e513c77: Download complete 02:38:13 43c4264eed91: Download complete 02:38:13 9f66e0745190: Verifying Checksum 02:38:13 9f66e0745190: Download complete 02:38:13 43c4264eed91: Pull complete 02:38:13 4cc291be95ef: Pull complete 02:38:13 561ebcabdf7f: Verifying Checksum 02:38:13 561ebcabdf7f: Download complete 02:38:13 2ac1f1163629: Download complete 02:38:14 f49a43e4bbc0: Verifying Checksum 02:38:14 f49a43e4bbc0: Download complete 02:38:20 2ac1f1163629: Pull complete 02:38:20 5c3c966382ef: Pull complete 02:38:20 4f4fb700ef54: Pull complete 02:38:20 5d5c8e513c77: Pull complete 02:38:20 9f66e0745190: Pull complete 02:38:20 f49a43e4bbc0: Pull complete 02:38:20 561ebcabdf7f: Pull complete 02:38:20 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 02:38:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:38:20 ---> 3a752c3f9dda 02:38:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:38:26 Still waiting to schedule task 02:38:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:38:27 ---> Running in 5bd8448b13bb 02:38:27 Removing intermediate container 5bd8448b13bb 02:38:27 ---> cdabd95e978b 02:38:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:38:27 ---> Running in 63e7290a1fa4 02:38:27 Removing intermediate container 63e7290a1fa4 02:38:27 ---> bf1d8b99bead 02:38:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:38:27 ---> Running in 24167e989150 02:38:27 Removing intermediate container 24167e989150 02:38:27 ---> 8b25feed400c 02:38:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:38:27 ---> Running in 39e365b16841 02:38:27 Removing intermediate container 39e365b16841 02:38:27 ---> 2b05c073a2cf 02:38:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:38:27 ---> Running in 26ff64fbc343 02:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:38:27 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:38:27 (2/4) Installing libedit (20240517.3.1-r0) 02:38:27 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:38:27 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:38:27 Executing busybox-1.36.1-r29.trigger 02:38:27 OK: 250 MiB in 58 packages 02:38:28 Removing intermediate container 26ff64fbc343 02:38:28 ---> 069d204b090d 02:38:28 Step 8/12 : WORKDIR /device-rest-go 02:38:28 ---> Running in dd72507da72d 02:38:28 Removing intermediate container dd72507da72d 02:38:28 ---> de59b8363f31 02:38:28 Step 9/12 : COPY go.mod vendor* ./ 02:38:28 ---> 5500b5936994 02:38:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:28 ---> Running in 1e2805ffee4a 02:39:25 Removing intermediate container 1e2805ffee4a 02:39:25 ---> c117bf37d452 02:39:25 Step 11/12 : COPY . . 02:39:25 ---> 07f81597f06b 02:39:25 Step 12/12 : RUN $MAKE 02:39:25 ---> Running in afc7c01587d0 02:39:25 noop 02:39:25 Removing intermediate container afc7c01587d0 02:39:25 ---> 61ac466072ff 02:39:25 Successfully built 61ac466072ff 02:39:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:26 + docker inspect -f . ci-base-image-x86_64 02:39:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:26 prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container 02:39:26 $ 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 02:39:27 $ docker top a5aed134f8cf91cf06e96ffb965ffa41322cff768955195eec523f5ab7e23984 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:27 + go version 02:39:27 go version go1.23.2 linux/amd64 [Pipeline] } 02:39:27 $ docker stop --time=1 a5aed134f8cf91cf06e96ffb965ffa41322cff768955195eec523f5ab7e23984 02:39:29 $ 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 02:39:30 + docker inspect -f . ci-base-image-x86_64 02:39:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:30 prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container 02:39:30 $ 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 02:39:30 $ docker top 025caa1ea2a72a5e983132dc9b028e42220ccfb17a389033cd789c056a707828 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-414 [Pipeline] fileExists [Pipeline] sh 02:39:31 + make test 02:39:31 go test ./... -coverprofile=coverage.out ./... 02:39:34 ? github.com/edgexfoundry/device-rest-go [no test files] 02:39:54 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:39:54 ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements 02:40:06 go vet ./... 02:40:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:40:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:40:11 ./bin/test-attribution-txt.sh [Pipeline] echo 02:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:40:12 $ docker stop --time=1 025caa1ea2a72a5e983132dc9b028e42220ccfb17a389033cd789c056a707828 02:40:17 $ docker rm -f --volumes 025caa1ea2a72a5e983132dc9b028e42220ccfb17a389033cd789c056a707828 [Pipeline] // withDockerContainer [Pipeline] sh 02:40:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:40:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:40:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:19 + ls -al . 02:40:19 total 256 02:40:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 02:39 . 02:40:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:37 .. 02:40:19 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 02:37 .dockerignore 02:40:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:39 .git 02:40:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:37 .github 02:40:19 -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 02:37 .gitignore 02:40:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 02:37 .golangci.yml 02:40:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:38 .semver 02:40:19 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 02:37 Attribution.txt 02:40:19 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 02:37 CHANGELOG.md 02:40:19 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 02:37 Dockerfile 02:40:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:37 GOVERNANCE.md 02:40:19 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 02:37 Jenkinsfile 02:40:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 02:37 LICENSE 02:40:19 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 02:37 Makefile 02:40:19 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 02:37 OWNERS.md 02:40:19 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 02:37 README.md 02:40:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:38 VERSION 02:40:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:37 bin 02:40:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:37 cmd 02:40:19 -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 02:39 coverage.out 02:40:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:37 driver 02:40:19 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 02:37 go.mod 02:40:19 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 02:37 go.sum 02:40:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:37 openapi 02:40:19 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 02:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:19 + 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 . 02:40:19 Sending build context to Docker daemon 16.62MB 02:40:19 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:40:19 Step 2/26 : FROM ${BASE} AS builder 02:40:19 ---> 61ac466072ff 02:40:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:40:20 ---> Running in 41c512f80c03 02:40:20 Removing intermediate container 41c512f80c03 02:40:20 ---> d1c55dfd16e5 02:40:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:20 ---> Running in b928d08f287e 02:40:20 Removing intermediate container b928d08f287e 02:40:20 ---> 3c1a5233999c 02:40:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:20 ---> Running in ee3e84bfb282 02:40:20 Removing intermediate container ee3e84bfb282 02:40:20 ---> 5d75ce786b12 02:40:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:40:20 ---> Running in 25c4604e1fc3 02:40:20 Removing intermediate container 25c4604e1fc3 02:40:20 ---> 481abfd3833e 02:40:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:20 ---> Running in e8709ceb4c7c 02:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:40:21 OK: 250 MiB in 58 packages 02:40:21 Removing intermediate container e8709ceb4c7c 02:40:21 ---> a5863a3e8618 02:40:21 Step 8/26 : WORKDIR /device-rest-go 02:40:21 ---> Running in e3b6598b8130 02:40:21 Removing intermediate container e3b6598b8130 02:40:21 ---> 8dd840b06819 02:40:21 Step 9/26 : COPY go.mod vendor* ./ 02:40:22 ---> e65cf2d74cb1 02:40:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:22 ---> Running in 26155afc84b6 02:40:23 Removing intermediate container 26155afc84b6 02:40:23 ---> 2d0e69ca12ac 02:40:23 Step 11/26 : COPY . . 02:40:23 ---> 638de6542bbe 02:40:23 Step 12/26 : RUN $MAKE 02:40:23 ---> Running in fabb505182a1 02:40:23 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 02:41:04 Removing intermediate container fabb505182a1 02:41:04 ---> 0c8a5945febf 02:41:04 Step 13/26 : FROM alpine:3.20 02:41:04 3.20: Pulling from library/alpine 02:41:04 43c4264eed91: Already exists 02:41:04 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:41:04 Status: Downloaded newer image for alpine:3.20 02:41:04 ---> 91ef0af61f39 02:41:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:41:04 ---> Running in edc17b00fe00 02:41:04 Removing intermediate container edc17b00fe00 02:41:04 ---> f2b27bd4d475 02:41:04 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:41:04 ---> Running in e8aba257334f 02:41:04 Removing intermediate container e8aba257334f 02:41:04 ---> 3abaeba0ec3d 02:41:04 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:41:04 ---> Running in 03c28c74562f 02:41:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:41:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:41:04 (1/1) Installing dumb-init (1.2.5-r3) 02:41:04 Executing busybox-1.36.1-r29.trigger 02:41:04 OK: 8 MiB in 15 packages 02:41:04 Removing intermediate container 03c28c74562f 02:41:04 ---> 85982f01cece 02:41:04 Step 17/26 : RUN apk --no-cache upgrade 02:41:04 ---> Running in ef3bc7d910da 02:41:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:41:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:41:05 Upgrading critical system libraries and apk-tools: 02:41:05 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:41:05 Executing busybox-1.36.1-r29.trigger 02:41:05 Continuing the upgrade transaction with new apk-tools: 02:41:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:41:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:41:05 OK: 8 MiB in 15 packages 02:41:06 Removing intermediate container ef3bc7d910da 02:41:06 ---> 3de7b4b25cd3 02:41:06 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:41:07 ---> 27563191fa9c 02:41:07 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:41:07 ---> 86870ce249c9 02:41:07 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:41:07 ---> 9a858bc64bf6 02:41:07 Step 21/26 : EXPOSE 59986 02:41:07 ---> Running in cbb638ee3348 02:41:07 Removing intermediate container cbb638ee3348 02:41:07 ---> cfa7213c915d 02:41:07 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:41:07 ---> Running in f414de22e05b 02:41:07 Removing intermediate container f414de22e05b 02:41:07 ---> 9b7e435c5305 02:41:07 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:41:07 ---> Running in 6d250bca712e 02:41:08 Removing intermediate container 6d250bca712e 02:41:08 ---> 29f86a19a25c 02:41:08 Step 24/26 : LABEL arch=amd64 02:41:08 ---> Running in 11951685dad8 02:41:08 Removing intermediate container 11951685dad8 02:41:08 ---> 8db953ea6c82 02:41:08 Step 25/26 : LABEL git_sha=21d3830f1720a37f1895b62ff4ca15d755f1aed1 02:41:08 ---> Running in 0fbf8d369696 02:41:08 Removing intermediate container 0fbf8d369696 02:41:08 ---> e7178d060bee 02:41:08 Step 26/26 : LABEL version=0.0.0 02:41:08 ---> Running in 24df58c7a28f 02:41:08 Removing intermediate container 24df58c7a28f 02:41:08 ---> 4a16b390f072 02:41:08 [Warning] One or more build-args [ARCH] were not consumed 02:41:08 Successfully built 4a16b390f072 02:41:08 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 02:41:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:09 02:41:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:09 latest: Pulling from edgex-lftools-log-publisher 02:41:09 5eb5b503b376: Pulling fs layer 02:41:09 5c69ac0246d0: Pulling fs layer 02:41:09 ec43610c2a17: Pulling fs layer 02:41:09 3a2ae6a8a46f: Pulling fs layer 02:41:09 33b1e0a273af: Pulling fs layer 02:41:09 5d3b04190fa2: Pulling fs layer 02:41:09 2f39f015ded8: Pulling fs layer 02:41:09 3a2ae6a8a46f: Waiting 02:41:09 33b1e0a273af: Waiting 02:41:09 2f39f015ded8: Waiting 02:41:09 5c69ac0246d0: Verifying Checksum 02:41:09 5c69ac0246d0: Download complete 02:41:09 3a2ae6a8a46f: Download complete 02:41:09 33b1e0a273af: Verifying Checksum 02:41:09 33b1e0a273af: Download complete 02:41:09 5d3b04190fa2: Verifying Checksum 02:41:09 5d3b04190fa2: Download complete 02:41:09 ec43610c2a17: Verifying Checksum 02:41:09 ec43610c2a17: Download complete 02:41:10 5eb5b503b376: Verifying Checksum 02:41:10 5eb5b503b376: Download complete 02:41:10 2f39f015ded8: Download complete 02:41:11 5eb5b503b376: Pull complete 02:41:11 5c69ac0246d0: Pull complete 02:41:18 ec43610c2a17: Pull complete 02:41:18 3a2ae6a8a46f: Pull complete 02:41:18 33b1e0a273af: Pull complete 02:41:18 5d3b04190fa2: Pull complete 02:41:18 2f39f015ded8: Pull complete 02:41:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:18 prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container 02:41:18 $ 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 02:41:24 $ docker top 8712ca5fe580ca49ab591d384270a668c3af53b6a37fa5ac04aeaae8d787158b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:25 ---> job-cost.sh 02:41:25 lf-activate-venv: SKIPPING 02:41:25 INFO: No Stack... 02:41:25 INFO: Retrieving Pricing Info for: v3-standard-8 02:41:25 INFO: Archiving Costs [Pipeline] sh 02:41:26 + cat /w/workspace/gexfoundry_device-rest-go_PR-414/archives/cost.csv 02:41:26 + cut -d, -f6 [Pipeline] lock 02:41:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] 02:41:26 Resource [jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] did not exist. Created. 02:41:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:41:26 + echo total: 0.2199999988079071 [Pipeline] stash 02:41:26 Stashed 1 file(s) [Pipeline] } 02:41:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:41:26 $ docker stop --time=1 8712ca5fe580ca49ab591d384270a668c3af53b6a37fa5ac04aeaae8d787158b 02:41:27 $ docker rm -f --volumes 8712ca5fe580ca49ab591d384270a668c3af53b6a37fa5ac04aeaae8d787158b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:42:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15552 in /w/workspace/gexfoundry_device-rest-go_PR-414 [Pipeline] { [Pipeline] ws 02:42:08 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 02:42:08 The recommended git tool is: git 02:42:14 using credential edgex-jenkins-ssh 02:42:14 Cloning the remote Git repository 02:42:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:42:14 > git init /w/workspace/device-rest-go/1 # timeout=10 02:42:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:42:14 > git --version # timeout=10 02:42:14 > git --version # 'git version 2.25.1' 02:42:14 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:42:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:19 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit 21d3830f1720a37f1895b62ff4ca15d755f1aed1 02:42:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:42:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:42:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:19 > 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 02:42:20 > git config core.sparsecheckout # timeout=10 02:42:20 Merge succeeded, producing 21d3830f1720a37f1895b62ff4ca15d755f1aed1 02:42:20 Checking out Revision 21d3830f1720a37f1895b62ff4ca15d755f1aed1 (PR-414) 02:42:20 > git checkout -f 21d3830f1720a37f1895b62ff4ca15d755f1aed1 # timeout=10 02:42:20 > git remote # timeout=10 02:42:20 > git config --get remote.origin.url # timeout=10 02:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:20 > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 02:42:20 > git rev-parse HEAD^{commit} # timeout=10 02:42:20 > git config core.sparsecheckout # timeout=10 02:42:20 > git checkout -f 21d3830f1720a37f1895b62ff4ca15d755f1aed1 # timeout=10 02:42:24 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" 02:42:24 > git --version # timeout=10 02:42:24 > git --version # 'git version 2.25.1' 02:42:24 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:42:27 % Total % Received % Xferd Average Speed Time Time Time Current 02:42:27 Dload Upload Total Spent Left Speed 02:42:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 96451 [Pipeline] sh 02:42:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:42:28 + sudo tee /etc/docker/daemon.new 02:42:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:42:28 { 02:42:28 "registry-mirrors": [ 02:42:28 "https://nexus3.edgexfoundry.org:10001" 02:42:28 ], 02:42:28 "bip": "10.250.0.254/24", 02:42:28 "hosts": [ 02:42:28 "tcp://0.0.0.0:5555", 02:42:28 "unix:///var/run/docker.sock" 02:42:28 ], 02:42:28 "mtu": 1458, 02:42:28 "selinux-enabled": true, 02:42:28 "seccomp-profile": "/etc/docker/seccomp.json" 02:42:28 } [Pipeline] sh 02:42:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:42:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:47 provisioning config files... 02:42:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1565838619054871204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:48 ---> ****-login.sh 02:42:48 nexus3.edgexfoundry.org:10001 02:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:49 Configure a credential helper to remove this warning. See 02:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:49 02:42:49 Login Succeeded 02:42:49 nexus3.edgexfoundry.org:10002 02:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:49 Configure a credential helper to remove this warning. See 02:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:49 02:42:49 Login Succeeded 02:42:49 nexus3.edgexfoundry.org:10003 02:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:49 Configure a credential helper to remove this warning. See 02:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:49 02:42:49 Login Succeeded 02:42:49 nexus3.edgexfoundry.org:10004 02:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:50 Configure a credential helper to remove this warning. See 02:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:50 02:42:50 Login Succeeded 02:42:50 ****.io 02:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:42:50 Configure a credential helper to remove this warning. See 02:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:42:50 02:42:50 Login Succeeded 02:42:50 ---> ****-login.sh ends [Pipeline] } 02:42:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:42:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:42:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:42:51 ========================================================= 02:42:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:42:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:51 + 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 . 02:42:51 Sending build context to Docker daemon 140.3kB 02:42:52 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:42:52 Step 2/12 : FROM ${BASE} AS builder 02:42:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:42:52 cf04c63912e1: Pulling fs layer 02:42:52 55b35a11ae5e: Pulling fs layer 02:42:52 a37a00ec5f00: Pulling fs layer 02:42:52 50b3750afda1: Pulling fs layer 02:42:52 4f4fb700ef54: Pulling fs layer 02:42:52 80978eb59214: Pulling fs layer 02:42:52 c9f46d7d2bd2: Pulling fs layer 02:42:52 c5a475d317c9: Pulling fs layer 02:42:52 4f4fb700ef54: Waiting 02:42:52 80978eb59214: Waiting 02:42:52 c9f46d7d2bd2: Waiting 02:42:52 50b3750afda1: Waiting 02:42:52 c5a475d317c9: Waiting 02:42:52 55b35a11ae5e: Verifying Checksum 02:42:52 55b35a11ae5e: Download complete 02:42:52 50b3750afda1: Verifying Checksum 02:42:52 50b3750afda1: Download complete 02:42:52 4f4fb700ef54: Verifying Checksum 02:42:52 4f4fb700ef54: Download complete 02:42:52 80978eb59214: Verifying Checksum 02:42:52 80978eb59214: Download complete 02:42:52 cf04c63912e1: Verifying Checksum 02:42:52 cf04c63912e1: Download complete 02:42:53 c5a475d317c9: Verifying Checksum 02:42:53 c5a475d317c9: Download complete 02:42:53 cf04c63912e1: Pull complete 02:42:53 55b35a11ae5e: Pull complete 02:42:54 a37a00ec5f00: Verifying Checksum 02:42:54 a37a00ec5f00: Download complete 02:42:55 c9f46d7d2bd2: Verifying Checksum 02:42:55 c9f46d7d2bd2: Download complete 02:43:10 a37a00ec5f00: Pull complete 02:43:10 50b3750afda1: Pull complete 02:43:10 4f4fb700ef54: Pull complete 02:43:10 80978eb59214: Pull complete 02:43:16 c9f46d7d2bd2: Pull complete 02:43:18 c5a475d317c9: Pull complete 02:43:18 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 02:43:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:43:18 ---> be29e6b0f0d4 02:43:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:43:19 ---> Running in e4522ed01610 02:43:19 Removing intermediate container e4522ed01610 02:43:19 ---> 81c7b611dd8a 02:43:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:19 ---> Running in 20417cc9aa32 02:43:20 Removing intermediate container 20417cc9aa32 02:43:20 ---> 27190f9f93d2 02:43:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:20 ---> Running in dafd545132e9 02:43:20 Removing intermediate container dafd545132e9 02:43:20 ---> 8508c5279eb0 02:43:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:43:20 ---> Running in 446553da45df 02:43:20 Removing intermediate container 446553da45df 02:43:20 ---> 8a164c725149 02:43:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:20 ---> Running in 311314a8d201 02:43:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:43:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:43:24 (1/4) Installing openssh-keygen (9.7_p1-r4) 02:43:24 (2/4) Installing libedit (20240517.3.1-r0) 02:43:24 (3/4) Installing openssh-client-common (9.7_p1-r4) 02:43:24 (4/4) Installing openssh-client-default (9.7_p1-r4) 02:43:24 Executing busybox-1.36.1-r29.trigger 02:43:24 OK: 242 MiB in 58 packages 02:43:25 Removing intermediate container 311314a8d201 02:43:25 ---> 1b5d8b345517 02:43:25 Step 8/12 : WORKDIR /device-rest-go 02:43:25 ---> Running in a400a0fe2f85 02:43:26 Removing intermediate container a400a0fe2f85 02:43:26 ---> c53ef6a3cea3 02:43:26 Step 9/12 : COPY go.mod vendor* ./ 02:43:26 ---> 649edd419e02 02:43:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:26 ---> Running in e6b9b048c80c 02:45:18 Removing intermediate container e6b9b048c80c 02:45:18 ---> 4977e8f6253a 02:45:18 Step 11/12 : COPY . . 02:45:18 ---> 3fd6745715bc 02:45:18 Step 12/12 : RUN $MAKE 02:45:18 ---> Running in 80f2845655e5 02:45:18 noop 02:45:18 Removing intermediate container 80f2845655e5 02:45:18 ---> afe4eb1ff512 02:45:18 Successfully built afe4eb1ff512 02:45:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:18 + docker inspect -f . ci-base-image-arm64 02:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:19 prd-ubuntu20.04-docker-arm64-4c-16g-15552 does not seem to be running inside a container 02:45:19 $ 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 02:45:20 $ docker top 26fb023e3ac46c1ad39885c5e703e55e1353ccbdae00ab1b0785f53776762b55 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:21 + go version 02:45:21 go version go1.23.2 linux/arm64 [Pipeline] } 02:45:21 $ docker stop --time=1 26fb023e3ac46c1ad39885c5e703e55e1353ccbdae00ab1b0785f53776762b55 02:45:22 $ 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 02:45:23 + docker inspect -f . ci-base-image-arm64 02:45:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:24 prd-ubuntu20.04-docker-arm64-4c-16g-15552 does not seem to be running inside a container 02:45:24 $ 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 02:45:25 $ docker top 7afb9a788336dc217d2eec281bd1be0388bee19ec439e5da4151ae54e8c25d13 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:26 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 02:45:27 + make test 02:45:27 go test ./... -coverprofile=coverage.out ./... 02:45:32 ? github.com/edgexfoundry/device-rest-go [no test files] 02:48:54 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:48:54 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements 02:48:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:48:54 go vet ./... 02:49:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:49:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:49:43 ./bin/test-attribution-txt.sh [Pipeline] echo 02:49:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:49:43 $ docker stop --time=1 7afb9a788336dc217d2eec281bd1be0388bee19ec439e5da4151ae54e8c25d13 02:49:46 $ docker rm -f --volumes 7afb9a788336dc217d2eec281bd1be0388bee19ec439e5da4151ae54e8c25d13 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:48 Warning: overwriting stash ‘coverage-report’ 02:49:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:49 + ls -al . 02:49:49 total 252 02:49:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:45 . 02:49:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:42 .. 02:49:49 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 02:42 .dockerignore 02:49:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:42 .git 02:49:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:42 .github 02:49:49 -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 02:42 .gitignore 02:49:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 02:42 .golangci.yml 02:49:49 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 02:42 Attribution.txt 02:49:49 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 02:42 CHANGELOG.md 02:49:49 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 02:42 Dockerfile 02:49:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:42 GOVERNANCE.md 02:49:49 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 02:42 Jenkinsfile 02:49:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 02:42 LICENSE 02:49:49 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 02:42 Makefile 02:49:49 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 02:42 OWNERS.md 02:49:49 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 02:42 README.md 02:49:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:38 VERSION 02:49:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:42 bin 02:49:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:42 cmd 02:49:49 -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 02:48 coverage.out 02:49:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:42 driver 02:49:49 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 02:42 go.mod 02:49:49 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 02:42 go.sum 02:49:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:42 openapi 02:49:49 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:50 + 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 . 02:49:50 Sending build context to Docker daemon 155.6kB 02:49:50 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:49:50 Step 2/26 : FROM ${BASE} AS builder 02:49:50 ---> afe4eb1ff512 02:49:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:49:50 ---> Running in 809de3f918d0 02:49:50 Removing intermediate container 809de3f918d0 02:49:50 ---> 6d903854609f 02:49:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:50 ---> Running in bbdbd688c640 02:49:51 Removing intermediate container bbdbd688c640 02:49:51 ---> 134cb55f63fe 02:49:51 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:49:51 ---> Running in 9b0441afd167 02:49:51 Removing intermediate container 9b0441afd167 02:49:51 ---> 20d2a9618654 02:49:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:49:51 ---> Running in e6d24e41a423 02:49:51 Removing intermediate container e6d24e41a423 02:49:51 ---> e2e1195b6429 02:49:51 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:51 ---> Running in d2fe8693679e 02:49:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:49:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:49:54 OK: 242 MiB in 58 packages 02:49:55 Removing intermediate container d2fe8693679e 02:49:55 ---> 33d43426fbd9 02:49:55 Step 8/26 : WORKDIR /device-rest-go 02:49:55 ---> Running in 8dd90dfc9630 02:49:56 Removing intermediate container 8dd90dfc9630 02:49:56 ---> 2ad41307cd7b 02:49:56 Step 9/26 : COPY go.mod vendor* ./ 02:49:56 ---> 3d026d8ddd9d 02:49:56 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:56 ---> Running in cf4c0f33c760 02:49:59 Removing intermediate container cf4c0f33c760 02:49:59 ---> 0f6b28f3b290 02:49:59 Step 11/26 : COPY . . 02:49:59 ---> abb631d0648e 02:49:59 Step 12/26 : RUN $MAKE 02:49:59 ---> Running in 4109fec71c06 02:50:00 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 02:53:23 Removing intermediate container 4109fec71c06 02:53:23 ---> 31acb9bef2fc 02:53:23 Step 13/26 : FROM alpine:3.20 02:53:23 3.20: Pulling from library/alpine 02:53:23 cf04c63912e1: Already exists 02:53:23 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:53:23 Status: Downloaded newer image for alpine:3.20 02:53:23 ---> c157a85ed455 02:53:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:53:23 ---> Running in 03e078de55a0 02:53:23 Removing intermediate container 03e078de55a0 02:53:23 ---> c361d6c54c8f 02:53:23 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:53:23 ---> Running in 62fcf675181d 02:53:23 Removing intermediate container 62fcf675181d 02:53:23 ---> 6bc2a40482ce 02:53:23 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:53:23 ---> Running in c0bdb9f1764d 02:53:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:53:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:53:23 (1/1) Installing dumb-init (1.2.5-r3) 02:53:23 Executing busybox-1.36.1-r29.trigger 02:53:23 OK: 9 MiB in 15 packages 02:53:23 Removing intermediate container c0bdb9f1764d 02:53:23 ---> f83040a33bb9 02:53:23 Step 17/26 : RUN apk --no-cache upgrade 02:53:23 ---> Running in 011394cffd09 02:53:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:53:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:53:26 Upgrading critical system libraries and apk-tools: 02:53:26 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:53:26 Executing busybox-1.36.1-r29.trigger 02:53:26 Continuing the upgrade transaction with new apk-tools: 02:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:53:27 OK: 9 MiB in 15 packages 02:53:28 Removing intermediate container 011394cffd09 02:53:28 ---> 785dc9522f72 02:53:28 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:53:30 ---> 362b82d0ce0b 02:53:30 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:53:31 ---> abc04d50ce75 02:53:31 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:53:31 ---> 66b7783d5d60 02:53:31 Step 21/26 : EXPOSE 59986 02:53:31 ---> Running in 14429110d6f6 02:53:32 Removing intermediate container 14429110d6f6 02:53:32 ---> 4302ab15b3a7 02:53:32 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:53:32 ---> Running in c8924d717665 02:53:32 Removing intermediate container c8924d717665 02:53:32 ---> e18e94e2e384 02:53:32 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:53:32 ---> Running in 853113256e9c 02:53:32 Removing intermediate container 853113256e9c 02:53:32 ---> f900dc953074 02:53:32 Step 24/26 : LABEL arch=arm64 02:53:32 ---> Running in 4c6437268221 02:53:33 Removing intermediate container 4c6437268221 02:53:33 ---> 791ea251c6b4 02:53:33 Step 25/26 : LABEL git_sha=21d3830f1720a37f1895b62ff4ca15d755f1aed1 02:53:33 ---> Running in 4ac2e1fc553e 02:53:33 Removing intermediate container 4ac2e1fc553e 02:53:33 ---> 3077ed3ecb09 02:53:33 Step 26/26 : LABEL version=0.0.0 02:53:33 ---> Running in 8593c23d1669 02:53:33 Removing intermediate container 8593c23d1669 02:53:33 ---> 76f49f1b13b6 02:53:33 [Warning] One or more build-args [ARCH] were not consumed 02:53:33 Successfully built 76f49f1b13b6 02:53:33 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 02:53:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:34 02:53:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:35 arm64: Pulling from edgex-lftools-log-publisher 02:53:35 8998bd30e6a1: Pulling fs layer 02:53:35 04944245beec: Pulling fs layer 02:53:35 699f458cf7ca: Pulling fs layer 02:53:35 765212b225bb: Pulling fs layer 02:53:35 f23df028b6ca: Pulling fs layer 02:53:35 d65c8cfc05b1: Pulling fs layer 02:53:35 2437ff75d9bd: Pulling fs layer 02:53:35 765212b225bb: Waiting 02:53:35 f23df028b6ca: Waiting 02:53:35 2437ff75d9bd: Waiting 02:53:35 d65c8cfc05b1: Waiting 02:53:35 04944245beec: Verifying Checksum 02:53:35 04944245beec: Download complete 02:53:35 765212b225bb: Verifying Checksum 02:53:35 765212b225bb: Download complete 02:53:35 f23df028b6ca: Verifying Checksum 02:53:35 f23df028b6ca: Download complete 02:53:35 d65c8cfc05b1: Verifying Checksum 02:53:35 d65c8cfc05b1: Download complete 02:53:35 699f458cf7ca: Verifying Checksum 02:53:35 699f458cf7ca: Download complete 02:53:36 8998bd30e6a1: Verifying Checksum 02:53:36 8998bd30e6a1: Download complete 02:53:38 2437ff75d9bd: Verifying Checksum 02:53:38 2437ff75d9bd: Download complete 02:53:41 8998bd30e6a1: Pull complete 02:53:41 04944245beec: Pull complete 02:53:43 699f458cf7ca: Pull complete 02:53:43 765212b225bb: Pull complete 02:53:44 f23df028b6ca: Pull complete 02:53:44 d65c8cfc05b1: Pull complete 02:54:02 2437ff75d9bd: Pull complete 02:54:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:02 prd-ubuntu20.04-docker-arm64-4c-16g-15552 does not seem to be running inside a container 02:54:02 $ 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 02:54:05 $ docker top 612bc3d73348a4d62223d3dd2a3ac0cc89e040471fdf491b152c0e5ab64e32bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:06 ---> job-cost.sh 02:54:06 lf-activate-venv: SKIPPING 02:54:06 INFO: No Stack... 02:54:06 INFO: Retrieving Pricing Info for: v3-standard-4 02:54:07 INFO: Archiving Costs [Pipeline] sh 02:54:07 + cat /w/workspace/device-rest-go/1/archives/cost.csv 02:54:07 + cut -d, -f6 [Pipeline] lock 02:54:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] 02:54:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] did not exist. Created. 02:54:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:08 /w/workspace/device-rest-go/1@tmp/durable-062f4dfa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:54:08 + echo total: 0.10999999940395355 [Pipeline] stash 02:54:08 Warning: overwriting stash ‘stack-cost’ 02:54:08 Stashed 1 file(s) [Pipeline] } 02:54:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:08 $ docker stop --time=1 612bc3d73348a4d62223d3dd2a3ac0cc89e040471fdf491b152c0e5ab64e32bf 02:54:10 $ 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 02:54:11 provisioning config files... 02:54:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config802532751585119125tmp [Pipeline] { [Pipeline] sh 02:54:12 + set +x 02:54:12 + curl -s https://codecov.io/bash 02:54:12 + bash -s -- 02:54:12 02:54:12 _____ _ 02:54:12 / ____| | | 02:54:12 | | ___ __| | ___ ___ _____ __ 02:54:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:12 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:12 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:12 Bash-1.0.6 02:54:12 02:54:12 02:54:12 ==> git version 2.25.1 found 02:54:12 ==> 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 02:54:12 Release-Date: 2020-01-08 02:54:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:54:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:54:12 ==> Jenkins CI detected. 02:54:12 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-414 02:54:12 project root: . 02:54:12 --> token set from env 02:54:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:12 ==> Running gcov in . (disable via -X gcov) 02:54:12 ==> Python coveragepy not found 02:54:12 ==> Searching for coverage reports in: 02:54:12 + . 02:54:12 -> Found 1 reports 02:54:12 ==> Detecting git/mercurial file structure 02:54:12 ==> Reading reports 02:54:12 + ./coverage.out bytes=14565 02:54:12 ==> Appending adjustments 02:54:12 https://docs.codecov.io/docs/fixing-reports 02:54:12 + Found adjustments 02:54:12 ==> Gzipping contents 02:54:12 4.0K /tmp/codecov.h0yMZm.gz 02:54:12 ==> Uploading reports 02:54:12 url: https://codecov.io 02:54:12 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= 02:54:12 -> Pinging Codecov 02:54:12 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= 02:54:12 -> Uploading to 02:54:12 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 02:54:12 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:12 Dload Upload Total Spent Left Speed 02:54:12 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 02:54:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/21d3830f1720a37f1895b62ff4ca15d755f1aed1 [Pipeline] } 02:54:12 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 02:54:15 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-414/archives ] 02:54:15 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-414/archives 02:54:15 total 16 02:54:15 drwxr-xr-x 3 root root 4096 Oct 4 02:41 . 02:54:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 02:41 .. 02:54:15 drwxr-xr-x 2 root root 4096 Oct 4 02:41 cost 02:54:15 -rw-r--r-- 1 root root 86 Oct 4 02:41 cost.csv 02:54:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-414/archives 02:54:15 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-414/archives 02:54:15 total 16 02:54:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:41 . 02:54:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 02:41 .. 02:54:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 02:41 cost 02:54:15 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 02:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:54:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:16 ---> package-listing.sh 02:54:16 ++ tr '[:upper:]' '[:lower:]' 02:54:16 ++ facter osfamily 02:54:16 + OS_FAMILY=debian 02:54:16 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-414 02:54:16 + START_PACKAGES=/tmp/packages_start.txt 02:54:16 + END_PACKAGES=/tmp/packages_end.txt 02:54:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:16 + PACKAGES=/tmp/packages_start.txt 02:54:16 + '[' /w/workspace/gexfoundry_device-rest-go_PR-414 ']' 02:54:16 + PACKAGES=/tmp/packages_end.txt 02:54:16 + case "${OS_FAMILY}" in 02:54:16 + dpkg -l 02:54:16 + grep '^ii' 02:54:16 + '[' -f /tmp/packages_start.txt ']' 02:54:16 + '[' -f /tmp/packages_end.txt ']' 02:54:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:16 + '[' /w/workspace/gexfoundry_device-rest-go_PR-414 ']' 02:54:16 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-414/archives/ 02:54:16 + 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 02:54:16 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 02:54:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:17 prd-ubuntu20.04-docker-8c-8g-15551 does not seem to be running inside a container 02:54:17 $ 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 02:54:18 $ docker top aff9feb5e11c78dc923983acddca3a652fb5e95e54b59bb0bde73389d89cfa5b -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:18 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:18 + mkdir -p /var/log/sysstat [Pipeline] sh 02:54:19 + ls /var/log/sa-host 02:54:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:19 provisioning config files... 02:54:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-414@tmp/config17847483619345677686tmp [Pipeline] { [Pipeline] echo 02:54:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:19 ---> create-netrc.sh [Pipeline] } 02:54:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:54:20 ---> python-tools-install.sh [Pipeline] echo 02:54:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:20 ---> sudo-logs.sh 02:54:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:54:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:21 ---> job-cost.sh 02:54:21 lf-activate-venv: SKIPPING 02:54:21 DEBUG: total: 0.2199999988079071 02:54:21 INFO: Retrieving Stack Cost... 02:54:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:21 INFO: Archiving Costs [Pipeline] echo 02:54:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:21 ---> logs-deploy.sh 02:54:21 lf-activate-venv: SKIPPING 02:54:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-414/1 02:54:21 INFO: archiving workspace using pattern(s): 02:54:22 Archives upload complete. 02:54:23 INFO: archiving logs to Nexus 02:54:23 ---> uname -a: 02:54:23 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 02:54:23 02:54:23 02:54:23 ---> lscpu: 02:54:23 Architecture: x86_64 02:54:23 CPU op-mode(s): 32-bit, 64-bit 02:54:23 Byte Order: Little Endian 02:54:23 Address sizes: 40 bits physical, 48 bits virtual 02:54:23 CPU(s): 8 02:54:23 On-line CPU(s) list: 0-7 02:54:23 Thread(s) per core: 1 02:54:23 Core(s) per socket: 1 02:54:23 Socket(s): 8 02:54:23 NUMA node(s): 1 02:54:23 Vendor ID: AuthenticAMD 02:54:23 CPU family: 23 02:54:23 Model: 49 02:54:23 Model name: AMD EPYC-Rome Processor 02:54:23 Stepping: 0 02:54:23 CPU MHz: 2799.998 02:54:23 BogoMIPS: 5599.99 02:54:23 Virtualization: AMD-V 02:54:23 Hypervisor vendor: KVM 02:54:23 Virtualization type: full 02:54:23 L1d cache: 256 KiB 02:54:23 L1i cache: 256 KiB 02:54:23 L2 cache: 4 MiB 02:54:23 L3 cache: 128 MiB 02:54:23 NUMA node0 CPU(s): 0-7 02:54:23 Vulnerability Itlb multihit: Not affected 02:54:23 Vulnerability L1tf: Not affected 02:54:23 Vulnerability Mds: Not affected 02:54:23 Vulnerability Meltdown: Not affected 02:54:23 Vulnerability Mmio stale data: Not affected 02:54:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:54:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:54:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:54:23 Vulnerability Srbds: Not affected 02:54:23 Vulnerability Tsx async abort: Not affected 02:54:23 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 02:54:23 02:54:23 02:54:23 ---> nproc: 02:54:23 8 02:54:23 02:54:23 02:54:23 ---> df -h: 02:54:23 Filesystem Size Used Avail Use% Mounted on 02:54:23 overlay 155G 12G 143G 8% / 02:54:23 tmpfs 64M 0 64M 0% /dev 02:54:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:54:23 shm 64M 0 64M 0% /dev/shm 02:54:23 /dev/vda1 155G 12G 143G 8% /facter-os 02:54:23 02:54:23