Pull request #378 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f0224c78dace112ef91cc60376261b822d0c7bd+cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (597d565ad83b93998bc4f84d5d6bae1c21637fba) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15086198282380708622.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8743705228993273865.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12135857775023054040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12379524879192134505.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14161969905714844071.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15452482177136298270.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26404 in /w/workspace/gexfoundry_device-rest-go_PR-378 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-378 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 1f0224c78dace112ef91cc60376261b822d0c7bd Merge succeeded, producing 1f0224c78dace112ef91cc60376261b822d0c7bd Checking out Revision 1f0224c78dace112ef91cc60376261b822d0c7bd (PR-378) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:26:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:26:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:26:15 ========================================================= 20:26:15 EdgeX Global Pipelines Version Info 20:26:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:26:16 ------------------- 20:26:16 stable info: 20:26:16 ------------------- 20:26:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:26:16 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:26:16 Message: update stable to v1.0.258 20:26:17 ------------------- 20:26:17 experimental info: 20:26:17 ------------------- 20:26:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:26:17 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:26:17 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:26:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:26:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f0224c [Pipeline] echo 20:26:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:19 provisioning config files... 20:26:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config8435628418902691911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:20 ---> ****-login.sh 20:26:20 nexus3.edgexfoundry.org:10001 20:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:20 Configure a credential helper to remove this warning. See 20:26:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:20 20:26:20 Login Succeeded 20:26:20 nexus3.edgexfoundry.org:10002 20:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:20 Configure a credential helper to remove this warning. See 20:26:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:20 20:26:20 Login Succeeded 20:26:20 nexus3.edgexfoundry.org:10003 20:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:20 Configure a credential helper to remove this warning. See 20:26:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:20 20:26:20 Login Succeeded 20:26:20 nexus3.edgexfoundry.org:10004 20:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:20 Configure a credential helper to remove this warning. See 20:26:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:20 20:26:20 Login Succeeded 20:26:20 ****.io 20:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:21 Configure a credential helper to remove this warning. See 20:26:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:21 20:26:21 Login Succeeded 20:26:21 ---> ****-login.sh ends [Pipeline] } 20:26:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:26:22 + git rev-list -1 --merges 1f0224c78dace112ef91cc60376261b822d0c7bd~1..1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo 20:26:22 -----------> git rev-list -1 --merges 1f0224c78dace112ef91cc60376261b822d0c7bd~1..1f0224c78dace112ef91cc60376261b822d0c7bd 1f0224c78dace112ef91cc60376261b822d0c7bd [false] [Pipeline] sh 20:26:22 + git log --format=format:%s -1 1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo 20:26:22 ========================================================= 20:26:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:26:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:22 + git log --format=format:%s -1 1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] echo 20:26:22 [semverPrep] GIT_COMMIT: 1f0224c78dace112ef91cc60376261b822d0c7bd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:26:23 [semverPrep] This is not a build commit. [Pipeline] sh 20:26:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:26:23 + grep -v github /etc/ssh/ssh_known_hosts 20:26:23 + [ -e /tmp/ssh_known_hosts ] 20:26:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:26:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:26:23 + sudo tee -a /etc/ssh/ssh_known_hosts 20:26:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:23 20:26:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:24 0.1.4: Pulling from edgex-devops/py-git-semver 20:26:24 b85a868b505f: Pulling fs layer 20:26:24 e2be974225ed: Pulling fs layer 20:26:24 339a4e72a1f5: Pulling fs layer 20:26:24 988bab9f4d93: Pulling fs layer 20:26:24 1469e6f7b9e6: Pulling fs layer 20:26:24 eaf3925da568: Pulling fs layer 20:26:24 bab4dde63d76: Pulling fs layer 20:26:24 bde34c3a00c8: Pulling fs layer 20:26:24 b352a97aabf1: Pulling fs layer 20:26:24 4872d77fe225: Pulling fs layer 20:26:24 5851b861e8e6: Pulling fs layer 20:26:24 eaf3925da568: Waiting 20:26:24 bab4dde63d76: Waiting 20:26:24 bde34c3a00c8: Waiting 20:26:24 5851b861e8e6: Waiting 20:26:24 b352a97aabf1: Waiting 20:26:24 4872d77fe225: Waiting 20:26:24 988bab9f4d93: Waiting 20:26:24 1469e6f7b9e6: Waiting 20:26:24 e2be974225ed: Download complete 20:26:24 988bab9f4d93: Verifying Checksum 20:26:24 988bab9f4d93: Download complete 20:26:24 1469e6f7b9e6: Verifying Checksum 20:26:24 1469e6f7b9e6: Download complete 20:26:24 eaf3925da568: Download complete 20:26:24 339a4e72a1f5: Verifying Checksum 20:26:24 339a4e72a1f5: Download complete 20:26:24 bde34c3a00c8: Verifying Checksum 20:26:24 bde34c3a00c8: Download complete 20:26:24 b352a97aabf1: Verifying Checksum 20:26:24 b352a97aabf1: Download complete 20:26:24 4872d77fe225: Download complete 20:26:24 5851b861e8e6: Verifying Checksum 20:26:24 5851b861e8e6: Download complete 20:26:24 b85a868b505f: Verifying Checksum 20:26:24 b85a868b505f: Download complete 20:26:24 bab4dde63d76: Verifying Checksum 20:26:24 bab4dde63d76: Download complete 20:26:25 b85a868b505f: Pull complete 20:26:26 e2be974225ed: Pull complete 20:26:26 339a4e72a1f5: Pull complete 20:26:26 988bab9f4d93: Pull complete 20:26:26 1469e6f7b9e6: Pull complete 20:26:26 eaf3925da568: Pull complete 20:26:29 bab4dde63d76: Pull complete 20:26:30 bde34c3a00c8: Pull complete 20:26:31 b352a97aabf1: Pull complete 20:26:32 4872d77fe225: Pull complete 20:26:32 5851b861e8e6: Pull complete 20:26:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:26:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:32 prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container 20:26:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:26:38 $ docker top 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 -eo pid,comm 20:26:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:26:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:26:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:38 [ssh-agent] Looking for ssh-agent implementation... 20:26:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:38 $ docker exec 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent 20:26:38 SSH_AUTH_SOCK=/tmp/ssh-jKTf3AyW9ufY/agent.31 20:26:38 SSH_AGENT_PID=37 20:26:38 Running ssh-add (command line suppressed) 20:26:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_2710414970285203864.key (/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_2710414970285203864.key) 20:26:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:39 + git tag --points-at HEAD [Pipeline] } 20:26:39 $ docker exec --env ******** --env ******** 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent -k 20:26:39 unset SSH_AUTH_SOCK; 20:26:39 unset SSH_AGENT_PID; 20:26:39 echo Agent pid 37 killed; 20:26:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:26:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:39 [ssh-agent] Looking for ssh-agent implementation... 20:26:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:39 $ docker exec 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent 20:26:39 SSH_AUTH_SOCK=/tmp/ssh-OmuFW3tThuVb/agent.69 20:26:39 SSH_AGENT_PID=75 20:26:39 Running ssh-add (command line suppressed) 20:26:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_705345204974849387.key (/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/private_key_705345204974849387.key) 20:26:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:40 + git semver init 20:26:40 2023-12-29 20:26:40,553 [run_init] DEBUG init version:0.0.0 force:False 20:26:40 2023-12-29 20:26:40,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-378/.semver 20:26:40 2023-12-29 20:26:40,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-378/.semver 20:26:40 2023-12-29 20:26:40,555 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-378, universal_newlines=False, shell=None, istream=None) 20:26:42 2023-12-29 20:26:42,221 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-378/.git/info/exclude 20:26:42 2023-12-29 20:26:42,222 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-378/.semver/PR-378 with force:False 20:26:42 2023-12-29 20:26:42,222 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-378/.semver/PR-378 20:26:42 2023-12-29 20:26:42,226 [execute] INFO git cat-file --batch-check 20:26:42 2023-12-29 20:26:42,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 20:26:42 2023-12-29 20:26:42,232 [execute] INFO git cat-file --batch 20:26:42 2023-12-29 20:26:42,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 20:26:42 2023-12-29 20:26:42,237 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-378/.semver/PR-378 20:26:42 0.0.0 [Pipeline] } 20:26:42 $ docker exec --env ******** --env ******** 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 ssh-agent -k 20:26:42 unset SSH_AUTH_SOCK; 20:26:42 unset SSH_AGENT_PID; 20:26:42 echo Agent pid 75 killed; 20:26:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:26:43 + git semver [Pipeline] } 20:26:43 $ docker stop --time=1 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 20:26:46 $ docker rm -f --volumes 2d5d283a68403516fcc98b1f21714435786ff92015d94c9a55b6891f901ad379 [Pipeline] // withDockerContainer [Pipeline] sh 20:26:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:26:47 Stashed 1 file(s) [Pipeline] echo 20:26:47 [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 20:26:48 provisioning config files... 20:26:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config9169061922628336928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:48 ---> ****-login.sh 20:26:48 nexus3.edgexfoundry.org:10001 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 nexus3.edgexfoundry.org:10002 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 nexus3.edgexfoundry.org:10003 20:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:49 Configure a credential helper to remove this warning. See 20:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:49 20:26:49 Login Succeeded 20:26:49 nexus3.edgexfoundry.org:10004 20:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:49 Configure a credential helper to remove this warning. See 20:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:49 20:26:49 Login Succeeded 20:26:49 ****.io 20:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:49 Configure a credential helper to remove this warning. See 20:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:49 20:26:49 Login Succeeded 20:26:49 ---> ****-login.sh ends [Pipeline] } 20:26:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:26:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:26:49 ========================================================= 20:26:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:26:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:26:50 Sending build context to Docker daemon 16.31MB 20:26:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:26:50 Step 2/12 : FROM ${BASE} AS builder 20:26:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:26:50 7264a8db6415: Pulling fs layer 20:26:50 c4d48a809fc2: Pulling fs layer 20:26:50 4f1c88b9dad5: Pulling fs layer 20:26:50 ad3a456e5733: Pulling fs layer 20:26:50 69c7f0334f64: Pulling fs layer 20:26:50 1f1c1a5573a3: Pulling fs layer 20:26:50 ce7588e14bc9: Pulling fs layer 20:26:50 b5e4710f87ac: Pulling fs layer 20:26:50 ad3a456e5733: Waiting 20:26:50 69c7f0334f64: Waiting 20:26:50 1f1c1a5573a3: Waiting 20:26:50 b5e4710f87ac: Waiting 20:26:50 ce7588e14bc9: Waiting 20:26:50 c4d48a809fc2: Download complete 20:26:50 ad3a456e5733: Verifying Checksum 20:26:50 ad3a456e5733: Download complete 20:26:50 69c7f0334f64: Verifying Checksum 20:26:50 69c7f0334f64: Download complete 20:26:50 7264a8db6415: Verifying Checksum 20:26:50 7264a8db6415: Download complete 20:26:50 1f1c1a5573a3: Verifying Checksum 20:26:50 1f1c1a5573a3: Download complete 20:26:50 b5e4710f87ac: Verifying Checksum 20:26:50 b5e4710f87ac: Download complete 20:26:50 7264a8db6415: Pull complete 20:26:50 c4d48a809fc2: Pull complete 20:26:51 4f1c88b9dad5: Verifying Checksum 20:26:51 4f1c88b9dad5: Download complete 20:26:51 ce7588e14bc9: Verifying Checksum 20:26:53 4f1c88b9dad5: Pull complete 20:26:53 ad3a456e5733: Pull complete 20:26:54 69c7f0334f64: Pull complete 20:26:54 1f1c1a5573a3: Pull complete 20:26:56 ce7588e14bc9: Pull complete 20:26:56 b5e4710f87ac: Pull complete 20:26:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:26:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:26:56 ---> 88b5674ff536 20:26:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:27:03 Still waiting to schedule task 20:27:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:27:06 ---> Running in 378ac59bc5a0 20:27:06 Removing intermediate container 378ac59bc5a0 20:27:06 ---> a1c084aaa7fe 20:27:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:06 ---> Running in 8f5d069571a0 20:27:06 Removing intermediate container 8f5d069571a0 20:27:06 ---> e8bc3aa5867c 20:27:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:27:06 ---> Running in c50d0fe577a7 20:27:06 Removing intermediate container c50d0fe577a7 20:27:06 ---> aea5f769a723 20:27:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:27:06 ---> Running in 588612d4c9a0 20:27:06 Removing intermediate container 588612d4c9a0 20:27:06 ---> 8f649b9de421 20:27:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:06 ---> Running in f27b1e5593c4 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:27:07 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:27:07 (2/4) Installing libedit (20221030.3.1-r1) 20:27:07 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:27:07 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:27:07 Executing busybox-1.36.1-r5.trigger 20:27:07 OK: 268 MiB in 56 packages 20:27:08 Removing intermediate container f27b1e5593c4 20:27:08 ---> 382443ab5057 20:27:08 Step 8/12 : WORKDIR /device-rest-go 20:27:08 ---> Running in f6ba8944d824 20:27:08 Removing intermediate container f6ba8944d824 20:27:08 ---> 654066b7ccc5 20:27:08 Step 9/12 : COPY go.mod vendor* ./ 20:27:08 ---> 17bc1481c725 20:27:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:08 ---> Running in 0e5d438a2c29 20:28:04 Removing intermediate container 0e5d438a2c29 20:28:04 ---> e147d5fe036d 20:28:04 Step 11/12 : COPY . . 20:28:04 ---> 3110665bc269 20:28:04 Step 12/12 : RUN $MAKE 20:28:04 ---> Running in 4eddac36265e 20:28:04 noop 20:28:04 Removing intermediate container 4eddac36265e 20:28:04 ---> 7a32830ea1ac 20:28:04 Successfully built 7a32830ea1ac 20:28:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:05 + docker inspect -f . ci-base-image-x86_64 20:28:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:05 prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container 20:28:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:28:05 $ docker top fb6b2da3fa3eff095feb279166b8d21a7dc7e3de275162226ec72705fd4ff89f -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:06 + go version 20:28:06 go version go1.21.0 linux/amd64 [Pipeline] } 20:28:06 $ docker stop --time=1 fb6b2da3fa3eff095feb279166b8d21a7dc7e3de275162226ec72705fd4ff89f 20:28:07 $ docker rm -f --volumes fb6b2da3fa3eff095feb279166b8d21a7dc7e3de275162226ec72705fd4ff89f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:08 + docker inspect -f . ci-base-image-x86_64 20:28:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:08 prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container 20:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:28:09 $ docker top b36976b3e4c5496436b96a345ba5ef758eb5acabf840a8f9494fd46a7f8ae320 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-378 [Pipeline] fileExists [Pipeline] sh 20:28:10 + make test 20:28:10 go test ./... -coverprofile=coverage.out ./... 20:28:11 ? github.com/edgexfoundry/device-rest-go [no test files] 20:28:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:28:21 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:28:26 go vet ./... 20:28:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:28:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:28:29 ./bin/test-attribution-txt.sh [Pipeline] echo 20:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:28:29 $ docker stop --time=1 b36976b3e4c5496436b96a345ba5ef758eb5acabf840a8f9494fd46a7f8ae320 20:28:34 $ docker rm -f --volumes b36976b3e4c5496436b96a345ba5ef758eb5acabf840a8f9494fd46a7f8ae320 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:28:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:28:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:28:36 + ls -al . 20:28:36 total 180 20:28:36 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 20:28 . 20:28:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 20:26 .. 20:28:36 -rw-rw-r-- 1 jenkins jenkins 151 Dec 29 20:26 .dockerignore 20:28:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 20:28 .git 20:28:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:26 .github 20:28:36 -rw-rw-r-- 1 jenkins jenkins 264 Dec 29 20:26 .gitignore 20:28:36 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 20:26 .golangci.yml 20:28:36 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 20:26 .semver 20:28:36 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 29 20:26 Attribution.txt 20:28:36 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 29 20:26 CHANGELOG.md 20:28:36 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 29 20:26 Dockerfile 20:28:36 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 20:26 GOVERNANCE.md 20:28:36 -rw-rw-r-- 1 jenkins jenkins 680 Dec 29 20:26 Jenkinsfile 20:28:36 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 20:26 LICENSE 20:28:36 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 29 20:26 Makefile 20:28:36 -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 20:26 OWNERS.md 20:28:36 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 29 20:26 README.md 20:28:36 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 20:26 VERSION 20:28:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:26 bin 20:28:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:26 cmd 20:28:36 -rw-r--r-- 1 jenkins jenkins 14499 Dec 29 20:28 coverage.out 20:28:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:26 driver 20:28:36 -rw-rw-r-- 1 jenkins jenkins 3887 Dec 29 20:26 go.mod 20:28:36 -rw-rw-r-- 1 jenkins jenkins 34595 Dec 29 20:26 go.sum 20:28:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:26 openapi 20:28:36 -rw-rw-r-- 1 jenkins jenkins 713 Dec 29 20:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:36 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1f0224c78dace112ef91cc60376261b822d0c7bd --label arch=amd64 --label version=0.0.0 . 20:28:36 Sending build context to Docker daemon 16.33MB 20:28:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:28:36 Step 2/26 : FROM ${BASE} AS builder 20:28:36 ---> 7a32830ea1ac 20:28:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:28:36 ---> Running in de2446a69e5c 20:28:37 Removing intermediate container de2446a69e5c 20:28:37 ---> a4a10d04125b 20:28:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:28:37 ---> Running in 1b78803c92b1 20:28:37 Removing intermediate container 1b78803c92b1 20:28:37 ---> 47298b823239 20:28:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:28:37 ---> Running in 52600325566f 20:28:37 Removing intermediate container 52600325566f 20:28:37 ---> f5f5cbc7d2b0 20:28:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:28:37 ---> Running in 7763e8bc2bd1 20:28:37 Removing intermediate container 7763e8bc2bd1 20:28:37 ---> aa1b703d8850 20:28:37 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:37 ---> Running in 9d4ca19fa2db 20:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:28:38 OK: 268 MiB in 56 packages 20:28:39 Removing intermediate container 9d4ca19fa2db 20:28:39 ---> 32ca7dc16118 20:28:39 Step 8/26 : WORKDIR /device-rest-go 20:28:39 ---> Running in e026917cd3ad 20:28:40 Removing intermediate container e026917cd3ad 20:28:40 ---> 1bc89f1e8e20 20:28:40 Step 9/26 : COPY go.mod vendor* ./ 20:28:41 ---> a51e0595742f 20:28:41 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:41 ---> Running in 2a61614e31d5 20:28:44 Removing intermediate container 2a61614e31d5 20:28:44 ---> 7ff18927ee92 20:28:44 Step 11/26 : COPY . . 20:28:44 ---> f1ffb55e9da6 20:28:44 Step 12/26 : RUN $MAKE 20:28:44 ---> Running in 51ed698ad52a 20:28:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:28:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26405 in /w/workspace/gexfoundry_device-rest-go_PR-378 [Pipeline] { [Pipeline] ws 20:28:46 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:28:49 The recommended git tool is: git 20:28:55 using credential edgex-jenkins-ssh 20:28:55 Cloning the remote Git repository 20:28:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:28:55 > git init /w/workspace/device-rest-go/1 # timeout=10 20:28:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:28:55 > git --version # timeout=10 20:28:55 > git --version # 'git version 2.25.1' 20:28:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:28:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:01 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 1f0224c78dace112ef91cc60376261b822d0c7bd 20:29:01 Merge succeeded, producing 1f0224c78dace112ef91cc60376261b822d0c7bd 20:29:01 Checking out Revision 1f0224c78dace112ef91cc60376261b822d0c7bd (PR-378) 20:29:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:29:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:29:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:29:01 > git config core.sparsecheckout # timeout=10 20:29:01 > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 20:29:01 > git remote # timeout=10 20:29:01 > git config --get remote.origin.url # timeout=10 20:29:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:01 > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 20:29:01 > git rev-parse HEAD^{commit} # timeout=10 20:29:01 > git config core.sparsecheckout # timeout=10 20:29:01 > git checkout -f 1f0224c78dace112ef91cc60376261b822d0c7bd # timeout=10 20:29:01 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:29:01 > git --version # timeout=10 20:29:01 > git --version # 'git version 2.25.1' 20:29:01 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:29:03 % Total % Received % Xferd Average Speed Time Time Time Current 20:29:03 Dload Upload Total Spent Left Speed 20:29:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86272 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh 20:29:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:29:04 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 20:29:04 20:29:04 { 20:29:04 "registry-mirrors": [ 20:29:04 "https://nexus3.edgexfoundry.org:10001" 20:29:04 ], 20:29:04 "bip": "10.250.0.254/24", 20:29:04 "hosts": [ 20:29:04 "tcp://0.0.0.0:5555", 20:29:04 "unix:///var/run/docker.sock" 20:29:04 ], 20:29:04 "mtu": 1458, 20:29:04 "selinux-enabled": true, 20:29:04 "seccomp-profile": "/etc/docker/seccomp.json" 20:29:04 } [Pipeline] sh 20:29:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:29:04 + sudo service docker restart 20:29:06 Removing intermediate container 51ed698ad52a 20:29:06 ---> 2715b9478e7d 20:29:06 Step 13/26 : FROM alpine:3.18 20:29:06 3.18: Pulling from library/alpine 20:29:06 c926b61bad3b: Pulling fs layer 20:29:06 c926b61bad3b: Download complete 20:29:06 c926b61bad3b: Pull complete 20:29:06 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:29:06 Status: Downloaded newer image for alpine:3.18 20:29:06 ---> b541f2080109 20:29:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:29:07 ---> Running in 83a0d3f24279 20:29:07 Removing intermediate container 83a0d3f24279 20:29:07 ---> c7e2fa2a693c 20:29:07 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:29:08 ---> Running in 737af00386d7 20:29:08 Removing intermediate container 737af00386d7 20:29:08 ---> 547a47c5c2fe 20:29:08 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:29:08 ---> Running in 74dc2e39046c 20:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:10 (1/1) Installing dumb-init (1.2.5-r2) 20:29:10 Executing busybox-1.36.1-r5.trigger 20:29:10 OK: 7 MiB in 16 packages 20:29:12 Removing intermediate container 74dc2e39046c 20:29:12 ---> 7938ce105c94 20:29:12 Step 17/26 : RUN apk --no-cache upgrade 20:29:13 ---> Running in 472e973934aa 20:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:14 OK: 7 MiB in 16 packages 20:29:15 Removing intermediate container 472e973934aa 20:29:15 ---> fcf5098bf00b 20:29:15 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:29:15 ---> 08acaae672e0 20:29:15 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:29:15 ---> 79de4d90acc8 20:29:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:29:15 ---> 7f20caf0e7cb 20:29:15 Step 21/26 : EXPOSE 59986 20:29:15 ---> Running in aa80220db413 20:29:15 Removing intermediate container aa80220db413 20:29:15 ---> d89f8cc3e623 20:29:15 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:29:15 ---> Running in 0aacd3fce869 20:29:15 Removing intermediate container 0aacd3fce869 20:29:15 ---> 354f3d6c5f95 20:29:15 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:29:16 ---> Running in abc43da1a4f4 20:29:16 Removing intermediate container abc43da1a4f4 20:29:16 ---> 8d69cd0e033d 20:29:16 Step 24/26 : LABEL arch=amd64 20:29:16 ---> Running in 5d73abb74c6d 20:29:16 Removing intermediate container 5d73abb74c6d 20:29:16 ---> f682770e12be 20:29:16 Step 25/26 : LABEL git_sha=1f0224c78dace112ef91cc60376261b822d0c7bd 20:29:16 ---> Running in d51fd0a345ea 20:29:16 Removing intermediate container d51fd0a345ea 20:29:16 ---> 9bb8b515ab04 20:29:16 Step 26/26 : LABEL version=0.0.0 20:29:16 ---> Running in 6c3077e92e46 20:29:16 Removing intermediate container 6c3077e92e46 20:29:16 ---> b632d9f4a0e1 20:29:16 [Warning] One or more build-args [ARCH] were not consumed 20:29:16 Successfully built b632d9f4a0e1 20:29:16 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:17 20:29:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:18 latest: Pulling from edgex-lftools-log-publisher 20:29:18 5eb5b503b376: Pulling fs layer 20:29:18 5c69ac0246d0: Pulling fs layer 20:29:18 ec43610c2a17: Pulling fs layer 20:29:18 3a2ae6a8a46f: Pulling fs layer 20:29:18 33b1e0a273af: Pulling fs layer 20:29:18 5d3b04190fa2: Pulling fs layer 20:29:18 2f39f015ded8: Pulling fs layer 20:29:18 3a2ae6a8a46f: Waiting 20:29:18 33b1e0a273af: Waiting 20:29:18 5d3b04190fa2: Waiting 20:29:18 2f39f015ded8: Waiting 20:29:18 5c69ac0246d0: Download complete 20:29:18 3a2ae6a8a46f: Download complete 20:29:18 33b1e0a273af: Verifying Checksum 20:29:18 33b1e0a273af: Download complete 20:29:18 ec43610c2a17: Verifying Checksum 20:29:18 ec43610c2a17: Download complete 20:29:18 5d3b04190fa2: Verifying Checksum 20:29:18 5d3b04190fa2: Download complete 20:29:18 5eb5b503b376: Verifying Checksum 20:29:18 5eb5b503b376: Download complete 20:29:18 2f39f015ded8: Download complete 20:29:19 5eb5b503b376: Pull complete 20:29:19 5c69ac0246d0: Pull complete 20:29:20 ec43610c2a17: Pull complete 20:29:20 3a2ae6a8a46f: Pull complete 20:29:20 33b1e0a273af: Pull complete 20:29:20 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:23 provisioning config files... 20:29:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4034801753512607022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:23 ---> ****-login.sh 20:29:23 nexus3.edgexfoundry.org:10001 20:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:24 Configure a credential helper to remove this warning. See 20:29:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:24 20:29:24 Login Succeeded 20:29:24 nexus3.edgexfoundry.org:10002 20:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:24 2f39f015ded8: Pull complete 20:29:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:29:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:24 Configure a credential helper to remove this warning. See 20:29:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:24 20:29:24 Login Succeeded 20:29:24 nexus3.edgexfoundry.org:10003 20:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 20:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:24 Configure a credential helper to remove this warning. See 20:29:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:24 20:29:24 Login Succeeded 20:29:24 nexus3.edgexfoundry.org:10004 20:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer 20:29:24 prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container 20:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:25 Configure a credential helper to remove this warning. See 20:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:25 20:29:25 Login Succeeded 20:29:25 ****.io 20:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:25 Configure a credential helper to remove this warning. See 20:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:25 20:29:25 Login Succeeded 20:29:25 ---> ****-login.sh ends 20:29:32 $ docker top b77254ac9ca6922986570c7a851217b31f5d0ab349806ae84d90031e47a52204 -eo pid,comm [Pipeline] { [Pipeline] } 20:29:32 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:29:32 ---> job-cost.sh 20:29:32 lf-activate-venv: SKIPPING 20:29:32 INFO: No Stack... [Pipeline] echo 20:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 20:29:33 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] echo 20:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:33 ========================================================= 20:29:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:29:33 ========================================================= [Pipeline] fileExists 20:29:33 INFO: Archiving Costs [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 20:29:33 + cat /w/workspace/gexfoundry_device-rest-go_PR-378/archives/cost.csv 20:29:33 + cut -d, -f6 [Pipeline] sh [Pipeline] lock 20:29:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] 20:29:34 Resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] did not exist. Created. 20:29:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash 20:29:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [Pipeline] sh 20:29:34 + echo total: 0.2199999988079071 [Pipeline] stash 20:29:34 Stashed 1 file(s) [Pipeline] } 20:29:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:29:34 $ docker stop --time=1 b77254ac9ca6922986570c7a851217b31f5d0ab349806ae84d90031e47a52204 20:29:35 #0 building with "default" instance using docker driver 20:29:35 20:29:35 #1 [internal] load .dockerignore 20:29:35 #1 transferring context: 193B done 20:29:35 #1 DONE 0.1s 20:29:35 20:29:35 #2 [internal] load build definition from Dockerfile 20:29:35 #2 transferring dockerfile: 1.73kB 0.0s done 20:29:35 #2 DONE 0.1s 20:29:35 20:29:35 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:29:35 #3 DONE 0.1s 20:29:35 20:29:35 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:29:35 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:29:35 #4 ... 20:29:35 20:29:35 #5 [internal] load build context 20:29:35 #5 transferring context: 95.80kB 0.0s done 20:29:35 #5 DONE 0.1s 20:29:35 20:29:35 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:29:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s 20:29:35 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:29:35 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:29:35 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 20:29:35 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:29:35 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:29:35 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:29:35 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 20:29:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.3s 20:29:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s 20:29:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 4.19MB / 97.63MB 0.3s 20:29:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.4s 20:29:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.48MB / 11.40MB 0.4s 20:29:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.4s 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.64MB / 63.99MB 0.5s 20:29:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.98MB / 11.40MB 0.5s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.68MB / 97.63MB 0.5s 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.15MB / 63.99MB 0.6s 20:29:36 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 20:29:36 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done 20:29:36 $ docker rm -f --volumes b77254ac9ca6922986570c7a851217b31f5d0ab349806ae84d90031e47a52204 [Pipeline] // withDockerContainer 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.8s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 0.9s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s 20:29:36 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s [Pipeline] } [Pipeline] // script [Pipeline] } 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 1.0s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.0s 20:29:36 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.2s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.2s [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 20:29:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.64MB / 63.99MB 1.3s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.46MB / 97.63MB 1.3s 20:29:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.4s [Pipeline] } 20:29:37 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s done 20:29:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.6s 20:29:37 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:29:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.7s 20:29:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.8s 20:29:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.0s 20:29:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 20:29:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 20:29:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 20:29:48 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 20:29:55 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.3s done 20:29:56 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:29:57 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:29:57 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20:30:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 20:30:06 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 20:30:06 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 20:30:07 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 20:30:08 #4 DONE 32.8s 20:30:08 20:30:08 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:30:08 #6 0.670 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:30:09 #6 1.048 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:30:10 #6 2.022 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:30:10 #6 2.048 (2/4) Installing libedit (20221030.3.1-r1) 20:30:10 #6 2.063 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:30:10 #6 2.127 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:30:10 #6 2.155 Executing busybox-1.36.1-r5.trigger 20:30:10 #6 2.196 OK: 271 MiB in 56 packages 20:30:12 #6 DONE 4.0s 20:30:12 20:30:12 #7 [builder 3/7] WORKDIR /device-rest-go 20:30:12 #7 DONE 0.1s 20:30:12 20:30:12 #8 [builder 4/7] COPY go.mod vendor* ./ 20:30:12 #8 DONE 0.1s 20:30:12 20:30:12 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:39 #9 DONE 22.6s 20:30:39 20:30:39 #10 [builder 6/7] COPY . . 20:30:39 #10 DONE 0.1s 20:30:39 20:30:39 #11 [builder 7/7] RUN echo noop 20:30:39 #11 0.597 noop 20:30:39 #11 DONE 4.7s 20:30:39 20:30:39 #12 exporting to image 20:30:39 #12 exporting layers 20:31:06 #12 exporting layers 22.5s done 20:31:06 #12 writing image sha256:46569274d8d4fcbf0753b254f2ea70cede299c7688d38ad19ca4928cbfe4b25f done 20:31:06 #12 naming to docker.io/library/ci-base-image-arm64 done 20:31:06 #12 DONE 22.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:07 + docker inspect -f . ci-base-image-arm64 20:31:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:08 prd-ubuntu20.04-docker-arm64-4c-16g-26405 does not seem to be running inside a container 20:31:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:31:10 $ docker top bd4205e2bfdd03270f219256847570eefab372757e8d0cb017a6be67ff56d4a7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:10 + go version 20:31:10 go version go1.21.0 linux/arm64 [Pipeline] } 20:31:10 $ docker stop --time=1 bd4205e2bfdd03270f219256847570eefab372757e8d0cb017a6be67ff56d4a7 20:31:12 $ docker rm -f --volumes bd4205e2bfdd03270f219256847570eefab372757e8d0cb017a6be67ff56d4a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:13 + docker inspect -f . ci-base-image-arm64 20:31:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:13 prd-ubuntu20.04-docker-arm64-4c-16g-26405 does not seem to be running inside a container 20:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:31:14 $ docker top 4d11decd0e15d1728bc145d0f3260413c389c29164ed01e3d1cfaa0722731c50 -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:15 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:31:15 + make test 20:31:15 go test ./... -coverprofile=coverage.out ./... 20:31:20 ? github.com/edgexfoundry/device-rest-go [no test files] 20:32:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:32:16 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 20:32:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:32:16 go vet ./... 20:32:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:32:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:32:24 ./bin/test-attribution-txt.sh [Pipeline] echo 20:32:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:32:24 $ docker stop --time=1 4d11decd0e15d1728bc145d0f3260413c389c29164ed01e3d1cfaa0722731c50 20:32:26 $ docker rm -f --volumes 4d11decd0e15d1728bc145d0f3260413c389c29164ed01e3d1cfaa0722731c50 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:27 Warning: overwriting stash ‘coverage-report’ 20:32:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:29 + ls -al . 20:32:29 total 176 20:32:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 20:31 . 20:32:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 20:28 .. 20:32:29 -rw-rw-r-- 1 jenkins jenkins 151 Dec 29 20:29 .dockerignore 20:32:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 20:29 .git 20:32:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:29 .github 20:32:29 -rw-rw-r-- 1 jenkins jenkins 264 Dec 29 20:29 .gitignore 20:32:29 -rw-rw-r-- 1 jenkins jenkins 41 Dec 29 20:29 .golangci.yml 20:32:29 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 29 20:29 Attribution.txt 20:32:29 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 29 20:29 CHANGELOG.md 20:32:29 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 29 20:29 Dockerfile 20:32:29 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 20:29 GOVERNANCE.md 20:32:29 -rw-rw-r-- 1 jenkins jenkins 680 Dec 29 20:29 Jenkinsfile 20:32:29 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 20:29 LICENSE 20:32:29 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 29 20:29 Makefile 20:32:29 -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 20:29 OWNERS.md 20:32:29 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 29 20:29 README.md 20:32:29 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 20:26 VERSION 20:32:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:29 bin 20:32:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:29 cmd 20:32:29 -rw-r--r-- 1 jenkins jenkins 14499 Dec 29 20:32 coverage.out 20:32:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 20:29 driver 20:32:29 -rw-rw-r-- 1 jenkins jenkins 3887 Dec 29 20:29 go.mod 20:32:29 -rw-rw-r-- 1 jenkins jenkins 34595 Dec 29 20:29 go.sum 20:32:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 20:29 openapi 20:32:29 -rw-rw-r-- 1 jenkins jenkins 713 Dec 29 20:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:30 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1f0224c78dace112ef91cc60376261b822d0c7bd --label arch=arm64 --label version=0.0.0 . 20:32:30 #0 building with "default" instance using docker driver 20:32:30 20:32:30 #1 [internal] load .dockerignore 20:32:30 #1 transferring context: 20:32:30 #1 transferring context: 193B done 20:32:30 #1 DONE 0.0s 20:32:30 20:32:30 #2 [internal] load build definition from Dockerfile 20:32:30 #2 transferring dockerfile: 1.73kB done 20:32:30 #2 DONE 0.0s 20:32:30 20:32:30 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:32:30 #3 DONE 0.0s 20:32:30 20:32:30 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:32:35 #4 DONE 4.4s 20:32:35 20:32:35 #5 [internal] load build context 20:32:35 #5 transferring context: 16.04kB 0.0s done 20:32:35 #5 DONE 0.1s 20:32:35 20:32:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:32:35 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:32:35 #6 ... 20:32:35 20:32:35 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:32:35 #7 DONE 0.2s 20:32:35 20:32:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:32:35 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:32:35 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:32:35 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:32:35 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s 20:32:35 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 20:32:35 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:32:35 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 20:32:36 #6 DONE 1.0s 20:32:36 20:32:36 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:32:36 #8 0.706 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:36 #8 1.144 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:37 #8 2.245 OK: 271 MiB in 56 packages 20:32:37 #8 DONE 2.6s 20:32:37 20:32:37 #9 [builder 3/7] WORKDIR /device-rest-go 20:32:37 #9 DONE 0.1s 20:32:37 20:32:37 #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:32:37 #10 0.628 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:37 #10 0.950 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:38 #10 1.965 (1/1) Installing dumb-init (1.2.5-r2) 20:32:38 #10 ... 20:32:38 20:32:38 #11 [builder 4/7] COPY go.mod vendor* ./ 20:32:38 #11 DONE 0.1s 20:32:38 20:32:38 #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:32:38 #10 1.982 Executing busybox-1.36.1-r5.trigger 20:32:38 #10 2.017 OK: 8 MiB in 16 packages 20:32:38 #10 DONE 2.3s 20:32:38 20:32:38 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:32:39 #12 0.724 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:39 #12 ... 20:32:39 20:32:39 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:39 #13 DONE 1.4s 20:32:39 20:32:39 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:32:39 #12 1.072 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:39 #12 ... 20:32:39 20:32:39 #14 [builder 6/7] COPY . . 20:32:39 #14 DONE 0.2s 20:32:39 20:32:39 #15 [builder 7/7] RUN make build 20:32:40 #15 0.668 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:32:41 #15 ... 20:32:41 20:32:41 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:32:41 #12 2.176 OK: 8 MiB in 16 packages 20:32:41 #12 DONE 2.5s 20:32:41 20:32:41 #15 [builder 7/7] RUN make build 20:33:49 #15 DONE 59.4s 20:33:49 20:33:49 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 20:33:49 #16 DONE 0.2s 20:33:49 20:33:49 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 20:33:49 #17 DONE 0.1s 20:33:49 20:33:49 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 20:33:49 #18 DONE 0.1s 20:33:49 20:33:49 #19 exporting to image 20:33:49 #19 exporting layers 20:33:49 #19 exporting layers 0.3s done 20:33:49 #19 writing image sha256:8851da4b536c555755d1ee5467320ba08d543f1e032d90e9f2ff68d2a513392a done 20:33:49 #19 naming to docker.io/library/device-rest-arm64 done 20:33:49 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:50 20:33:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:33:50 arm64: Pulling from edgex-lftools-log-publisher 20:33:50 8998bd30e6a1: Pulling fs layer 20:33:50 04944245beec: Pulling fs layer 20:33:50 699f458cf7ca: Pulling fs layer 20:33:50 765212b225bb: Pulling fs layer 20:33:50 f23df028b6ca: Pulling fs layer 20:33:50 d65c8cfc05b1: Pulling fs layer 20:33:50 2437ff75d9bd: Pulling fs layer 20:33:50 f23df028b6ca: Waiting 20:33:50 d65c8cfc05b1: Waiting 20:33:50 2437ff75d9bd: Waiting 20:33:50 765212b225bb: Waiting 20:33:51 04944245beec: Verifying Checksum 20:33:51 04944245beec: Download complete 20:33:51 765212b225bb: Download complete 20:33:51 f23df028b6ca: Verifying Checksum 20:33:51 f23df028b6ca: Download complete 20:33:51 d65c8cfc05b1: Verifying Checksum 20:33:51 d65c8cfc05b1: Download complete 20:33:51 699f458cf7ca: Verifying Checksum 20:33:51 699f458cf7ca: Download complete 20:33:51 8998bd30e6a1: Verifying Checksum 20:33:51 8998bd30e6a1: Download complete 20:33:53 2437ff75d9bd: Verifying Checksum 20:33:53 2437ff75d9bd: Download complete 20:33:57 8998bd30e6a1: Pull complete 20:33:58 04944245beec: Pull complete 20:34:00 699f458cf7ca: Pull complete 20:34:00 765212b225bb: Pull complete 20:34:04 f23df028b6ca: Pull complete 20:34:04 d65c8cfc05b1: Pull complete 20:34:26 2437ff75d9bd: Pull complete 20:34:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:34:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:34:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:26 prd-ubuntu20.04-docker-arm64-4c-16g-26405 does not seem to be running inside a container 20:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:34:33 $ docker top 532921a87fac9b11ea62bbbb5e94bd6a5fbda2fa13b10bc8835b6de147a6a501 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:33 ---> job-cost.sh 20:34:34 lf-activate-venv: SKIPPING 20:34:34 INFO: No Stack... 20:34:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:34:35 INFO: Archiving Costs [Pipeline] sh 20:34:35 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:34:35 + cut -d, -f6 [Pipeline] lock 20:34:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] 20:34:35 Resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] did not exist. Created. 20:34:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:34:36 /w/workspace/device-rest-go/1@tmp/durable-aa20c566/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:34:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:34:36 Warning: overwriting stash ‘stack-cost’ 20:34:36 Stashed 1 file(s) [Pipeline] } 20:34:36 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:34:36 $ docker stop --time=1 532921a87fac9b11ea62bbbb5e94bd6a5fbda2fa13b10bc8835b6de147a6a501 20:34:38 $ docker rm -f --volumes 532921a87fac9b11ea62bbbb5e94bd6a5fbda2fa13b10bc8835b6de147a6a501 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:34:40 provisioning config files... 20:34:40 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config9162595776874341688tmp [Pipeline] { [Pipeline] sh 20:34:40 + set +x 20:34:40 + bash -s -- 20:34:40 + curl -s https://codecov.io/bash 20:34:40 20:34:40 _____ _ 20:34:40 / ____| | | 20:34:40 | | ___ __| | ___ ___ _____ __ 20:34:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:34:40 | |___| (_) | (_| | __/ (_| (_) \ V / 20:34:40 \_____\___/ \__,_|\___|\___\___/ \_/ 20:34:40 Bash-1.0.6 20:34:40 20:34:40 20:34:40 ==> git version 2.25.1 found 20:34:40 ==> 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 20:34:40 Release-Date: 2020-01-08 20:34:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:34:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:34:40 ==> Jenkins CI detected. 20:34:40 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-378 20:34:40 project root: . 20:34:40 --> token set from env 20:34:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:34:40 ==> Running gcov in . (disable via -X gcov) 20:34:40 ==> Python coveragepy not found 20:34:40 ==> Searching for coverage reports in: 20:34:40 + . 20:34:40 -> Found 1 reports 20:34:40 ==> Detecting git/mercurial file structure 20:34:40 ==> Reading reports 20:34:40 + ./coverage.out bytes=14499 20:34:40 ==> Appending adjustments 20:34:40 https://docs.codecov.io/docs/fixing-reports 20:34:40 + Found adjustments 20:34:40 ==> Gzipping contents 20:34:40 4.0K /tmp/codecov.lHJWiQ.gz 20:34:40 ==> Uploading reports 20:34:40 url: https://codecov.io 20:34:40 query: branch=PR-378&commit=1f0224c78dace112ef91cc60376261b822d0c7bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=378&job=&cmd_args= 20:34:40 -> Pinging Codecov 20:34:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-378&commit=1f0224c78dace112ef91cc60376261b822d0c7bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=378&job=&cmd_args= 20:34:41 -> Uploading to 20:34:41 https://storage.googleapis.com/codecov/v4/raw/2023-12-29/4E5D53B4F1F92C436F7061BF334D961C/1f0224c78dace112ef91cc60376261b822d0c7bd/cc5d38b8-5efe-425e-beb9-a45db8bfc769.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T203440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f3d4104abf822d0e99abf897af0c9036990e0ced54cca686e5de4e6c482c21c 20:34:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:34:41 Dload Upload Total Spent Left Speed 20:34:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9358 --:--:-- --:--:-- --:--:-- 9358 20:34:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1f0224c78dace112ef91cc60376261b822d0c7bd [Pipeline] } 20:34:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:34:44 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-378/archives ] 20:34:44 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-378/archives 20:34:44 total 16 20:34:44 drwxr-xr-x 3 root root 4096 Dec 29 20:29 . 20:34:44 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 20:29 .. 20:34:44 drwxr-xr-x 2 root root 4096 Dec 29 20:29 cost 20:34:44 -rw-r--r-- 1 root root 86 Dec 29 20:29 cost.csv 20:34:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-378/archives 20:34:44 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-378/archives 20:34:44 total 16 20:34:44 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 20:29 . 20:34:44 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 20:29 .. 20:34:44 drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 20:29 cost 20:34:44 -rw-r--r-- 1 jenkins jenkins 86 Dec 29 20:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:34:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:34:46 ---> package-listing.sh 20:34:46 ++ tr '[:upper:]' '[:lower:]' 20:34:46 ++ facter osfamily 20:34:46 + OS_FAMILY=debian 20:34:46 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-378 20:34:46 + START_PACKAGES=/tmp/packages_start.txt 20:34:46 + END_PACKAGES=/tmp/packages_end.txt 20:34:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:34:46 + PACKAGES=/tmp/packages_start.txt 20:34:46 + '[' /w/workspace/gexfoundry_device-rest-go_PR-378 ']' 20:34:46 + PACKAGES=/tmp/packages_end.txt 20:34:46 + case "${OS_FAMILY}" in 20:34:46 + grep '^ii' 20:34:46 + dpkg -l 20:34:46 + '[' -f /tmp/packages_start.txt ']' 20:34:46 + '[' -f /tmp/packages_end.txt ']' 20:34:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:34:46 + '[' /w/workspace/gexfoundry_device-rest-go_PR-378 ']' 20:34:46 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-378/archives/ 20:34:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-378/archives/ [Pipeline] echo 20:34:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:34:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:47 prd-ubuntu20.04-docker-8c-8g-26404 does not seem to be running inside a container 20:34:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-378 -v /w/workspace/gexfoundry_device-rest-go_PR-378:/w/workspace/gexfoundry_device-rest-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-378@tmp:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:34:48 $ docker top 3f689133998d1d3107cccd0073884b8d75975e78ba3fbd6d450393d17afa1ddd -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:48 + touch /tmp/pre-build-complete [Pipeline] sh 20:34:48 + mkdir -p /var/log/sysstat [Pipeline] sh 20:34:49 + ls /var/log/sa-host 20:34:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:49 provisioning config files... 20:34:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-378@tmp/config4647861827163221756tmp [Pipeline] { [Pipeline] echo 20:34:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:34:50 ---> create-netrc.sh [Pipeline] } 20:34:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:34:50 ---> python-tools-install.sh [Pipeline] echo 20:34:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:34:50 ---> sudo-logs.sh 20:34:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:34:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:34:51 ---> job-cost.sh 20:34:51 lf-activate-venv: SKIPPING 20:34:51 DEBUG: total: 0.2199999988079071 20:34:51 INFO: Retrieving Stack Cost... 20:34:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:34:51 INFO: Archiving Costs [Pipeline] echo 20:34:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:34:52 ---> logs-deploy.sh 20:34:52 lf-activate-venv: SKIPPING 20:34:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-378/1 20:34:52 INFO: archiving workspace using pattern(s): 20:34:53 Archives upload complete. 20:34:53 INFO: archiving logs to Nexus 20:34:54 ---> uname -a: 20:34:54 Linux prd-ubuntu20-04-docker-8c-8g-26404 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:34:54 20:34:54 20:34:54 ---> lscpu: 20:34:54 Architecture: x86_64 20:34:54 CPU op-mode(s): 32-bit, 64-bit 20:34:54 Byte Order: Little Endian 20:34:54 Address sizes: 40 bits physical, 48 bits virtual 20:34:54 CPU(s): 8 20:34:54 On-line CPU(s) list: 0-7 20:34:54 Thread(s) per core: 1 20:34:54 Core(s) per socket: 1 20:34:54 Socket(s): 8 20:34:54 NUMA node(s): 1 20:34:54 Vendor ID: AuthenticAMD 20:34:54 CPU family: 23 20:34:54 Model: 49 20:34:54 Model name: AMD EPYC-Rome Processor 20:34:54 Stepping: 0 20:34:54 CPU MHz: 2800.000 20:34:54 BogoMIPS: 5600.00 20:34:54 Virtualization: AMD-V 20:34:54 Hypervisor vendor: KVM 20:34:54 Virtualization type: full 20:34:54 L1d cache: 256 KiB 20:34:54 L1i cache: 256 KiB 20:34:54 L2 cache: 4 MiB 20:34:54 L3 cache: 128 MiB 20:34:54 NUMA node0 CPU(s): 0-7 20:34:54 Vulnerability Itlb multihit: Not affected 20:34:54 Vulnerability L1tf: Not affected 20:34:54 Vulnerability Mds: Not affected 20:34:54 Vulnerability Meltdown: Not affected 20:34:54 Vulnerability Mmio stale data: Not affected 20:34:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:34:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:34:54 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:34:54 Vulnerability Srbds: Not affected 20:34:54 Vulnerability Tsx async abort: Not affected 20:34:54 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 20:34:54 20:34:54 20:34:54 ---> nproc: 20:34:54 8 20:34:54 20:34:54 20:34:54 ---> df -h: 20:34:54 Filesystem Size Used Avail Use% Mounted on 20:34:54 overlay 155G 12G 144G 8% / 20:34:54 tmpfs 64M 0 64M 0% /dev 20:34:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:34:54 shm 64M 0 64M 0% /dev/shm 20:34:54 /dev/vda1 155G 12G 144G 8% /facter-os 20:34:54 20:34:54 20:34:54 ---> sar -b -r -n DEV: 20:34:54 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-26404) 12/29/23 _x86_64_ (8 CPU) 20:34:54 20:34:54 20:25:18 LINUX RESTART (8 CPU) 20:34:54 20:34:54 20:26:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:34:54 20:27:01 80.12 16.08 64.04 0.00 1993.02 23637.08 0.00 20:34:54 20:28:01 189.64 1.48 188.16 0.00 15.86 62488.74 0.00 20:34:54 20:29:01 120.56 0.22 120.35 0.00 10.66 22157.91 0.00 20:34:54 20:30:01 121.28 0.05 121.23 0.00 3.73 27083.75 0.00 20:34:54 20:31:01 43.74 10.33 33.41 0.00 3417.30 5843.71 0.00 20:34:54 20:32:01 8.32 1.03 7.28 0.00 22.00 131.98 0.00 20:34:54 20:33:01 1.23 0.00 1.23 0.00 0.00 14.40 0.00 20:34:54 20:34:01 1.98 0.00 1.98 0.00 0.00 21.73 0.00 20:34:54 Average: 70.85 3.62 67.22 0.00 680.03 17662.40 0.00 20:34:54 20:34:54 20:26:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:34:54 20:27:01 29246192 31579180 751548 2.29 73752 2532660 1869060 5.51 988352 2275424 327948 20:34:54 20:28:01 28386044 31556144 758336 2.31 148872 3224164 1869008 5.51 1073200 2962640 31900 20:34:54 20:29:01 27891348 31522668 787180 2.39 155452 3641440 2077828 6.12 1284624 3203556 191956 20:34:54 20:30:01 27602408 31555060 752828 2.29 165932 3912236 1788500 5.27 1269012 3461044 316 20:34:54 20:31:01 27266596 31534392 744968 2.27 188572 4204472 1747544 5.15 1504016 3534692 1092 20:34:54 20:32:01 27280900 31544860 734792 2.23 187168 4201840 1742708 5.14 1489308 3531988 16 20:34:54 20:33:01 27280908 31544876 734696 2.23 187208 4201844 1742708 5.14 1489028 3531992 8 20:34:54 20:34:01 27284168 31548236 731324 2.22 187268 4201844 1742708 5.14 1485644 3531992 16 20:34:54 Average: 27779820 31548177 749459 2.28 161778 3765062 1822508 5.37 1322898 3254166 69156 20:34:54 20:34:54 20:26:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:34:54 20:27:01 lo 6.71 6.71 0.66 0.66 0.00 0.00 0.00 0.00 20:34:54 20:27:01 ens3 506.29 356.89 5902.72 82.95 0.00 0.00 0.00 0.00 20:34:54 20:27:01 docker0 43.60 42.64 3.23 268.04 0.00 0.00 0.00 0.00 20:34:54 20:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:34:54 20:28:01 ens3 316.04 209.81 2421.24 23.83 0.00 0.00 0.00 0.00 20:34:54 20:28:01 docker0 205.11 307.56 17.44 2414.59 0.00 0.00 0.00 0.00 20:34:54 20:29:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 20:34:54 20:29:01 ens3 67.14 49.49 84.10 81.37 0.00 0.00 0.00 0.00 20:34:54 20:29:01 docker0 1.58 3.50 0.09 30.96 0.00 0.00 0.00 0.00 20:34:54 20:30:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 20:34:54 20:30:01 ens3 113.35 70.59 2649.33 15.08 0.00 0.00 0.00 0.00 20:34:54 20:30:01 docker0 3.02 7.18 0.18 62.38 0.00 0.00 0.00 0.00 20:34:54 20:31:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 20:34:54 20:31:01 ens3 118.48 50.67 2075.17 3.69 0.00 0.00 0.00 0.00 20:34:54 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:54 20:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:34:54 20:32:01 ens3 0.58 0.37 0.60 0.08 0.00 0.00 0.00 0.00 20:34:54 20:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:54 20:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:54 20:33:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:54 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:54 20:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:34:54 20:34:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:34:54 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:54 Average: lo 1.21 1.21 0.12 0.12 0.00 0.00 0.00 0.00 20:34:54 Average: ens3 139.50 91.70 1632.77 25.76 0.00 0.00 0.00 0.00 20:34:54 Average: docker0 31.65 45.13 2.62 347.28 0.00 0.00 0.00 0.00 20:34:54 20:34:54 20:34:54 ---> sar -P ALL: 20:34:54 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-26404) 12/29/23 _x86_64_ (8 CPU) 20:34:54 20:34:54 20:25:18 LINUX RESTART (8 CPU) 20:34:54 20:34:54 20:26:02 CPU %user %nice %system %iowait %steal %idle 20:34:54 20:27:01 all 7.89 0.00 2.42 4.22 0.07 85.41 20:34:54 20:27:01 0 8.21 0.00 1.97 0.12 0.09 89.62 20:34:54 20:27:01 1 8.28 0.00 2.36 0.15 0.07 89.14 20:34:54 20:27:01 2 9.65 0.00 2.28 16.19 0.09 71.79 20:34:54 20:27:01 3 7.28 0.00 2.20 1.11 0.05 89.37 20:34:54 20:27:01 4 9.50 0.00 2.29 12.75 0.05 75.41 20:34:54 20:27:01 5 6.40 0.00 2.82 0.75 0.07 89.96 20:34:54 20:27:01 6 8.51 0.00 2.78 2.17 0.07 86.47 20:34:54 20:27:01 7 5.29 0.00 2.62 0.55 0.05 91.48 20:34:54 20:28:01 all 4.38 0.00 2.25 10.35 0.06 82.97 20:34:54 20:28:01 0 4.74 0.00 2.21 4.35 0.07 88.63 20:34:54 20:28:01 1 4.29 0.00 1.71 4.60 0.05 89.35 20:34:54 20:28:01 2 4.33 0.00 2.68 6.68 0.05 86.26 20:34:54 20:28:01 3 4.85 0.00 2.63 1.34 0.07 91.12 20:34:54 20:28:01 4 4.48 0.00 2.18 14.33 0.07 78.95 20:34:54 20:28:01 5 4.25 0.00 2.79 47.09 0.07 45.81 20:34:54 20:28:01 6 4.10 0.00 1.47 2.98 0.05 91.40 20:34:54 20:28:01 7 3.99 0.00 2.31 1.54 0.07 92.09 20:34:54 20:29:01 all 34.26 0.00 4.05 3.52 0.07 58.09 20:34:54 20:29:01 0 34.59 0.00 4.36 2.49 0.08 58.48 20:34:54 20:29:01 1 35.38 0.00 3.63 0.64 0.07 60.28 20:34:54 20:29:01 2 34.12 0.00 3.69 0.65 0.07 61.46 20:34:54 20:29:01 3 35.10 0.00 4.38 1.26 0.08 59.17 20:34:54 20:29:01 4 34.15 0.00 4.35 6.00 0.07 55.43 20:34:54 20:29:01 5 33.52 0.00 4.30 15.34 0.08 46.76 20:34:54 20:29:01 6 33.34 0.00 3.96 1.15 0.07 61.48 20:34:54 20:29:01 7 33.91 0.00 3.74 0.69 0.07 61.60 20:34:54 20:30:01 all 3.25 0.00 1.39 4.54 0.03 90.78 20:34:54 20:30:01 0 2.65 0.00 1.07 2.57 0.05 93.66 20:34:54 20:30:01 1 3.89 0.00 1.07 2.85 0.03 92.15 20:34:54 20:30:01 2 3.88 0.00 1.98 10.14 0.03 83.97 20:34:54 20:30:01 3 2.59 0.00 1.19 4.87 0.02 91.34 20:34:54 20:30:01 4 3.14 0.00 1.05 2.69 0.03 93.08 20:34:54 20:30:01 5 3.18 0.00 2.06 11.07 0.03 83.66 20:34:54 20:30:01 6 3.75 0.00 1.24 1.96 0.03 93.01 20:34:54 20:30:01 7 2.95 0.00 1.49 0.18 0.03 95.34 20:34:54 20:31:01 all 2.08 0.00 1.00 0.68 0.02 96.21 20:34:54 20:31:01 0 1.54 0.00 0.75 0.03 0.02 97.66 20:34:54 20:31:01 1 3.32 0.00 1.05 1.24 0.02 94.37 20:34:54 20:31:01 2 1.90 0.00 0.58 0.77 0.02 96.73 20:34:54 20:31:01 3 1.35 0.00 1.64 0.18 0.02 96.81 20:34:54 20:31:01 4 1.68 0.00 0.57 0.02 0.03 97.70 20:34:54 20:31:01 5 2.87 0.00 2.05 1.24 0.02 93.82 20:34:54 20:31:01 6 2.47 0.00 0.75 1.97 0.02 94.79 20:34:54 20:31:01 7 1.52 0.00 0.62 0.03 0.02 97.81 20:34:54 20:32:01 all 0.12 0.00 0.06 0.13 0.01 99.69 20:34:54 20:32:01 0 0.12 0.00 0.03 0.00 0.02 99.83 20:34:54 20:32:01 1 0.07 0.00 0.05 0.02 0.02 99.85 20:34:54 20:32:01 2 0.10 0.00 0.08 0.52 0.02 99.28 20:34:54 20:32:01 3 0.22 0.00 0.07 0.05 0.00 99.67 20:34:54 20:32:01 4 0.07 0.00 0.05 0.00 0.02 99.87 20:34:54 20:32:01 5 0.05 0.00 0.05 0.00 0.00 99.90 20:34:54 20:32:01 6 0.05 0.00 0.05 0.40 0.02 99.48 20:34:54 20:32:01 7 0.27 0.00 0.08 0.02 0.02 99.62 20:34:54 20:33:01 all 0.05 0.00 0.01 0.00 0.01 99.92 20:34:54 20:33:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:34:54 20:33:01 1 0.03 0.00 0.03 0.00 0.02 99.92 20:34:54 20:33:01 2 0.02 0.00 0.02 0.03 0.00 99.93 20:34:54 20:33:01 3 0.00 0.00 0.00 0.00 0.02 99.98 20:34:54 20:33:01 4 0.32 0.00 0.03 0.00 0.03 99.62 20:34:54 20:33:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:34:54 20:33:01 6 0.02 0.00 0.02 0.00 0.02 99.95 20:34:54 20:33:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:34:54 20:34:01 all 0.03 0.00 0.01 0.11 0.00 99.84 20:34:54 20:34:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:34:54 20:34:01 1 0.07 0.00 0.00 0.00 0.00 99.93 20:34:54 20:34:01 2 0.03 0.00 0.02 0.52 0.00 99.43 20:34:54 20:34:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:34:54 20:34:01 4 0.02 0.00 0.05 0.00 0.02 99.92 20:34:54 20:34:01 5 0.02 0.00 0.00 0.00 0.02 99.97 20:34:54 20:34:01 6 0.03 0.00 0.00 0.37 0.00 99.60 20:34:54 20:34:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:34:54 Average: all 6.48 0.00 1.39 2.93 0.03 89.16 20:34:54 Average: 0 6.46 0.00 1.30 1.19 0.04 91.01 20:34:54 Average: 1 6.88 0.00 1.23 1.19 0.03 90.66 20:34:54 Average: 2 6.73 0.00 1.41 4.39 0.03 87.44 20:34:54 Average: 3 6.40 0.00 1.51 1.10 0.03 90.96 20:34:54 Average: 4 6.64 0.00 1.32 4.44 0.04 87.56 20:34:54 Average: 5 6.25 0.00 1.75 9.42 0.04 82.54 20:34:54 Average: 6 6.50 0.00 1.28 1.37 0.03 90.82 20:34:54 Average: 7 5.97 0.00 1.35 0.38 0.03 92.28 20:34:54 20:34:54 20:34:54