Pull request #377 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31c8860b20509faeaf00a7d8d0ac5130bcf38919+cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (3567b5a14544a8acea4cba1783084ec63c973361) 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-ssh15500567445637259016.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-ssh11950064518501353500.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-377/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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh687963142079145470.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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14798181625445721576.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-ssh3129963167562505655.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-377/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-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13363521817730169720.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-26328 in /w/workspace/gexfoundry_device-rest-go_PR-377 [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-377 # 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 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 31c8860b20509faeaf00a7d8d0ac5130bcf38919 Merge succeeded, producing 31c8860b20509faeaf00a7d8d0ac5130bcf38919 Checking out Revision 31c8860b20509faeaf00a7d8d0ac5130bcf38919 (PR-377) 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 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # 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 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:09:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:09:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:09:40 ========================================================= 20:09:40 EdgeX Global Pipelines Version Info 20:09:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:09:41 ------------------- 20:09:41 stable info: 20:09:41 ------------------- 20:09:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:09:41 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:09:41 Message: update stable to v1.0.258 20:09:41 ------------------- 20:09:41 experimental info: 20:09:41 ------------------- 20:09:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:09:41 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:09:41 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo 20:09:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo 20:09:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo 20:09:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo 20:09:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31c8860 [Pipeline] echo 20:09:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:44 provisioning config files... 20:09:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config7568312203494345596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:44 ---> ****-login.sh 20:09:44 nexus3.edgexfoundry.org:10001 20:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:09:45 Configure a credential helper to remove this warning. See 20:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:09:45 20:09:45 Login Succeeded 20:09:45 nexus3.edgexfoundry.org:10002 20:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:09:45 Configure a credential helper to remove this warning. See 20:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:09:45 20:09:45 Login Succeeded 20:09:45 nexus3.edgexfoundry.org:10003 20:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:09:45 Configure a credential helper to remove this warning. See 20:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:09:45 20:09:45 Login Succeeded 20:09:45 nexus3.edgexfoundry.org:10004 20:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:09:45 Configure a credential helper to remove this warning. See 20:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:09:45 20:09:45 Login Succeeded 20:09:45 ****.io 20:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:09:45 Configure a credential helper to remove this warning. See 20:09:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:09:45 20:09:45 Login Succeeded 20:09:45 ---> ****-login.sh ends [Pipeline] } 20:09:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:09:46 + git rev-list -1 --merges 31c8860b20509faeaf00a7d8d0ac5130bcf38919~1..31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo 20:09:46 -----------> git rev-list -1 --merges 31c8860b20509faeaf00a7d8d0ac5130bcf38919~1..31c8860b20509faeaf00a7d8d0ac5130bcf38919 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [false] [Pipeline] sh 20:09:47 + git log --format=format:%s -1 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo 20:09:47 ========================================================= 20:09:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:09:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:47 + git log --format=format:%s -1 31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] echo 20:09:47 [semverPrep] GIT_COMMIT: 31c8860b20509faeaf00a7d8d0ac5130bcf38919, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:09:47 [semverPrep] This is not a build commit. [Pipeline] sh 20:09:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:09:48 + grep -v github /etc/ssh/ssh_known_hosts 20:09:48 + [ -e /tmp/ssh_known_hosts ] 20:09:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:09:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:09:48 + sudo tee -a /etc/ssh/ssh_known_hosts 20:09:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:09:48 20:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:09:49 0.1.4: Pulling from edgex-devops/py-git-semver 20:09:49 b85a868b505f: Pulling fs layer 20:09:49 e2be974225ed: Pulling fs layer 20:09:49 339a4e72a1f5: Pulling fs layer 20:09:49 988bab9f4d93: Pulling fs layer 20:09:49 1469e6f7b9e6: Pulling fs layer 20:09:49 eaf3925da568: Pulling fs layer 20:09:49 bab4dde63d76: Pulling fs layer 20:09:49 bde34c3a00c8: Pulling fs layer 20:09:49 eaf3925da568: Waiting 20:09:49 bab4dde63d76: Waiting 20:09:49 b352a97aabf1: Pulling fs layer 20:09:49 4872d77fe225: Pulling fs layer 20:09:49 bde34c3a00c8: Waiting 20:09:49 b352a97aabf1: Waiting 20:09:49 5851b861e8e6: Pulling fs layer 20:09:49 4872d77fe225: Waiting 20:09:49 5851b861e8e6: Waiting 20:09:49 e2be974225ed: Verifying Checksum 20:09:49 e2be974225ed: Download complete 20:09:49 988bab9f4d93: Verifying Checksum 20:09:49 988bab9f4d93: Download complete 20:09:49 339a4e72a1f5: Verifying Checksum 20:09:49 339a4e72a1f5: Download complete 20:09:49 eaf3925da568: Verifying Checksum 20:09:49 eaf3925da568: Download complete 20:09:49 1469e6f7b9e6: Verifying Checksum 20:09:49 1469e6f7b9e6: Download complete 20:09:49 bde34c3a00c8: Verifying Checksum 20:09:49 bde34c3a00c8: Download complete 20:09:49 4872d77fe225: Verifying Checksum 20:09:49 4872d77fe225: Download complete 20:09:49 5851b861e8e6: Download complete 20:09:49 b85a868b505f: Verifying Checksum 20:09:49 b85a868b505f: Download complete 20:09:49 bab4dde63d76: Verifying Checksum 20:09:49 bab4dde63d76: Download complete 20:09:50 b85a868b505f: Pull complete 20:09:50 e2be974225ed: Pull complete 20:09:51 339a4e72a1f5: Pull complete 20:09:51 988bab9f4d93: Pull complete 20:09:51 1469e6f7b9e6: Pull complete 20:09:51 eaf3925da568: Pull complete 20:09:53 bab4dde63d76: Pull complete 20:09:53 bde34c3a00c8: Pull complete 20:09:53 b352a97aabf1: Pull complete 20:09:53 4872d77fe225: Pull complete 20:09:54 5851b861e8e6: Pull complete 20:09:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:09:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:55 prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container 20:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:07 $ docker top a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 -eo pid,comm 20:10:07 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:10:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:07 [ssh-agent] Looking for ssh-agent implementation... 20:10:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:07 $ docker exec a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent 20:10:07 SSH_AUTH_SOCK=/tmp/ssh-W8jvRUHkvTR9/agent.14 20:10:07 SSH_AGENT_PID=20 20:10:07 Running ssh-add (command line suppressed) 20:10:07 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_12374067710247915061.key (/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_12374067710247915061.key) 20:10:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:08 + git tag --points-at HEAD [Pipeline] } 20:10:08 $ docker exec --env ******** --env ******** a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent -k 20:10:08 unset SSH_AUTH_SOCK; 20:10:08 unset SSH_AGENT_PID; 20:10:08 echo Agent pid 20 killed; 20:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:10:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:08 [ssh-agent] Looking for ssh-agent implementation... 20:10:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:08 $ docker exec a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent 20:10:08 SSH_AUTH_SOCK=/tmp/ssh-wXC9NyRmNWsm/agent.70 20:10:08 SSH_AGENT_PID=76 20:10:08 Running ssh-add (command line suppressed) 20:10:08 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_3500029206530360209.key (/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/private_key_3500029206530360209.key) 20:10:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:09 + git semver init 20:10:09 2023-12-28 20:10:09,191 [run_init] DEBUG init version:0.0.0 force:False 20:10:09 2023-12-28 20:10:09,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-377/.semver 20:10:09 2023-12-28 20:10:09,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-377/.semver 20:10:09 2023-12-28 20:10:09,194 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-377/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-377, universal_newlines=False, shell=None, istream=None) 20:10:10 2023-12-28 20:10:10,609 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-377/.git/info/exclude 20:10:10 2023-12-28 20:10:10,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-377/.semver/PR-377 with force:False 20:10:10 2023-12-28 20:10:10,610 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-377/.semver/PR-377 20:10:10 2023-12-28 20:10:10,615 [execute] INFO git cat-file --batch-check 20:10:10 2023-12-28 20:10:10,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) 20:10:10 2023-12-28 20:10:10,620 [execute] INFO git cat-file --batch 20:10:10 2023-12-28 20:10:10,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) 20:10:10 2023-12-28 20:10:10,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-377/.semver/PR-377 20:10:10 0.0.0 [Pipeline] } 20:10:10 $ docker exec --env ******** --env ******** a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 ssh-agent -k 20:10:10 unset SSH_AUTH_SOCK; 20:10:10 unset SSH_AGENT_PID; 20:10:10 echo Agent pid 76 killed; 20:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:11 + git semver [Pipeline] } 20:10:11 $ docker stop --time=1 a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 20:10:13 $ docker rm -f --volumes a646d6711091d8752ababdd1d19bd0cee10fc1254f007b7d628c486e6fd55db7 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:10:13 Stashed 1 file(s) [Pipeline] echo 20:10:13 [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:10:14 provisioning config files... 20:10:14 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config16091835305587742446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:15 ---> ****-login.sh 20:10:15 nexus3.edgexfoundry.org:10001 20:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:15 Configure a credential helper to remove this warning. See 20:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:15 20:10:15 Login Succeeded 20:10:15 nexus3.edgexfoundry.org:10002 20:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:15 Configure a credential helper to remove this warning. See 20:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:15 20:10:15 Login Succeeded 20:10:15 nexus3.edgexfoundry.org:10003 20:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:15 Configure a credential helper to remove this warning. See 20:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:15 20:10:15 Login Succeeded 20:10:15 nexus3.edgexfoundry.org:10004 20:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:15 Configure a credential helper to remove this warning. See 20:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:15 20:10:15 Login Succeeded 20:10:15 ****.io 20:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:15 Configure a credential helper to remove this warning. See 20:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:15 20:10:15 Login Succeeded 20:10:15 ---> ****-login.sh ends [Pipeline] } 20:10:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:10:16 ========================================================= 20:10:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:10:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:17 + 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:10:17 Sending build context to Docker daemon 16.31MB 20:10:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:10:17 Step 2/12 : FROM ${BASE} AS builder 20:10:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:10:17 7264a8db6415: Pulling fs layer 20:10:17 c4d48a809fc2: Pulling fs layer 20:10:17 4f1c88b9dad5: Pulling fs layer 20:10:17 ad3a456e5733: Pulling fs layer 20:10:17 69c7f0334f64: Pulling fs layer 20:10:17 1f1c1a5573a3: Pulling fs layer 20:10:17 ce7588e14bc9: Pulling fs layer 20:10:17 b5e4710f87ac: Pulling fs layer 20:10:17 69c7f0334f64: Waiting 20:10:17 1f1c1a5573a3: Waiting 20:10:17 ce7588e14bc9: Waiting 20:10:17 b5e4710f87ac: Waiting 20:10:17 ad3a456e5733: Waiting 20:10:17 c4d48a809fc2: Download complete 20:10:17 ad3a456e5733: Verifying Checksum 20:10:17 ad3a456e5733: Download complete 20:10:17 69c7f0334f64: Verifying Checksum 20:10:17 69c7f0334f64: Download complete 20:10:17 7264a8db6415: Verifying Checksum 20:10:17 7264a8db6415: Download complete 20:10:17 1f1c1a5573a3: Verifying Checksum 20:10:17 1f1c1a5573a3: Download complete 20:10:17 b5e4710f87ac: Verifying Checksum 20:10:17 b5e4710f87ac: Download complete 20:10:17 7264a8db6415: Pull complete 20:10:17 c4d48a809fc2: Pull complete 20:10:17 4f1c88b9dad5: Verifying Checksum 20:10:17 4f1c88b9dad5: Download complete 20:10:18 ce7588e14bc9: Verifying Checksum 20:10:18 ce7588e14bc9: Download complete 20:10:21 4f1c88b9dad5: Pull complete 20:10:21 ad3a456e5733: Pull complete 20:10:21 69c7f0334f64: Pull complete 20:10:21 1f1c1a5573a3: Pull complete 20:10:23 ce7588e14bc9: Pull complete 20:10:24 b5e4710f87ac: Pull complete 20:10:24 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:10:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:10:24 ---> 88b5674ff536 20:10:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:10:29 Still waiting to schedule task 20:10:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:10:32 ---> Running in 138ee90224ce 20:10:32 Removing intermediate container 138ee90224ce 20:10:32 ---> 0ebff25d95d8 20:10:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:10:32 ---> Running in d465221776e7 20:10:32 Removing intermediate container d465221776e7 20:10:32 ---> 8092f7025097 20:10:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:10:32 ---> Running in f9b58095e9fb 20:10:32 Removing intermediate container f9b58095e9fb 20:10:32 ---> 930677d4f1aa 20:10:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:10:32 ---> Running in d62e473d4eae 20:10:32 Removing intermediate container d62e473d4eae 20:10:32 ---> f04bd18ce9aa 20:10:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:32 ---> Running in 199f95f3d790 20:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:10:32 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:10:32 (2/4) Installing libedit (20221030.3.1-r1) 20:10:32 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:10:32 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:10:32 Executing busybox-1.36.1-r5.trigger 20:10:32 OK: 268 MiB in 56 packages 20:10:33 Removing intermediate container 199f95f3d790 20:10:33 ---> 7ebfc7b72666 20:10:33 Step 8/12 : WORKDIR /device-rest-go 20:10:33 ---> Running in 4599ea6c0298 20:10:33 Removing intermediate container 4599ea6c0298 20:10:33 ---> cfb8ff019d92 20:10:33 Step 9/12 : COPY go.mod vendor* ./ 20:10:33 ---> e65950d1e960 20:10:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:33 ---> Running in a50caddd3664 20:11:29 Removing intermediate container a50caddd3664 20:11:29 ---> dd83d59de7b3 20:11:29 Step 11/12 : COPY . . 20:11:29 ---> 734fdbd0ca7d 20:11:29 Step 12/12 : RUN $MAKE 20:11:29 ---> Running in 6087fd5497f6 20:11:29 noop 20:11:29 Removing intermediate container 6087fd5497f6 20:11:29 ---> 69e8cfe9d669 20:11:29 Successfully built 69e8cfe9d669 20:11:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:30 + docker inspect -f . ci-base-image-x86_64 20:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:30 prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container 20:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@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 ******** ci-base-image-x86_64 cat 20:11:31 $ docker top 3cdf105126ec232e37a05c97416e18c0a0771204d537e842b79ec1c36e8128d8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:31 + go version 20:11:31 go version go1.21.0 linux/amd64 [Pipeline] } 20:11:31 $ docker stop --time=1 3cdf105126ec232e37a05c97416e18c0a0771204d537e842b79ec1c36e8128d8 20:11:32 $ docker rm -f --volumes 3cdf105126ec232e37a05c97416e18c0a0771204d537e842b79ec1c36e8128d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:33 + docker inspect -f . ci-base-image-x86_64 20:11:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:34 prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container 20:11:34 $ 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-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@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 ******** ci-base-image-x86_64 cat 20:11:34 $ docker top 55502b1c520943755036327193a10eb23967e97839f8701888e21530ac968b13 -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-377 [Pipeline] fileExists [Pipeline] sh 20:11:35 + make test 20:11:35 go test ./... -coverprofile=coverage.out ./... 20:11:37 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:47 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 20:11:52 go vet ./... 20:11:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:11:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:11:55 $ docker stop --time=1 55502b1c520943755036327193a10eb23967e97839f8701888e21530ac968b13 20:11:59 $ docker rm -f --volumes 55502b1c520943755036327193a10eb23967e97839f8701888e21530ac968b13 [Pipeline] // withDockerContainer [Pipeline] sh 20:11:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:12:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:01 + ls -al . 20:12:01 total 180 20:12:01 drwxrwxr-x 9 jenkins jenkins 4096 Dec 28 20:11 . 20:12:01 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 20:09 .. 20:12:01 -rw-rw-r-- 1 jenkins jenkins 151 Dec 28 20:09 .dockerignore 20:12:01 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 20:11 .git 20:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:09 .github 20:12:01 -rw-rw-r-- 1 jenkins jenkins 264 Dec 28 20:09 .gitignore 20:12:01 -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 20:09 .golangci.yml 20:12:01 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 20:10 .semver 20:12:01 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 28 20:09 Attribution.txt 20:12:01 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 28 20:09 CHANGELOG.md 20:12:01 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 28 20:09 Dockerfile 20:12:01 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 20:09 GOVERNANCE.md 20:12:01 -rw-rw-r-- 1 jenkins jenkins 680 Dec 28 20:09 Jenkinsfile 20:12:01 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 20:09 LICENSE 20:12:01 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 28 20:09 Makefile 20:12:01 -rw-rw-r-- 1 jenkins jenkins 620 Dec 28 20:09 OWNERS.md 20:12:01 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 28 20:09 README.md 20:12:01 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 20:10 VERSION 20:12:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:09 bin 20:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:09 cmd 20:12:01 -rw-r--r-- 1 jenkins jenkins 14499 Dec 28 20:11 coverage.out 20:12:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:09 driver 20:12:01 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 28 20:09 go.mod 20:12:01 -rw-rw-r-- 1 jenkins jenkins 34593 Dec 28 20:09 go.sum 20:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:09 openapi 20:12:01 -rw-rw-r-- 1 jenkins jenkins 713 Dec 28 20:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:01 + 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=31c8860b20509faeaf00a7d8d0ac5130bcf38919 --label arch=amd64 --label version=0.0.0 . 20:12:01 Sending build context to Docker daemon 16.33MB 20:12:01 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:12:01 Step 2/26 : FROM ${BASE} AS builder 20:12:01 ---> 69e8cfe9d669 20:12:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:12:01 ---> Running in d7c1ba57fe01 20:12:02 Removing intermediate container d7c1ba57fe01 20:12:02 ---> 305c8d199952 20:12:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:02 ---> Running in 08b83bdecd50 20:12:02 Removing intermediate container 08b83bdecd50 20:12:02 ---> 00506e29746a 20:12:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:12:02 ---> Running in 4df1269c21ea 20:12:02 Removing intermediate container 4df1269c21ea 20:12:02 ---> e12c4eee76b9 20:12:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:12:02 ---> Running in a81d793d2139 20:12:02 Removing intermediate container a81d793d2139 20:12:02 ---> 8dc8f334bdb7 20:12:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:02 ---> Running in 8208f61f3c02 20:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:12:03 OK: 268 MiB in 56 packages 20:12:03 Removing intermediate container 8208f61f3c02 20:12:03 ---> ed46d376c5ea 20:12:03 Step 8/26 : WORKDIR /device-rest-go 20:12:03 ---> Running in 882fc8a95db5 20:12:03 Removing intermediate container 882fc8a95db5 20:12:03 ---> 1ac87445d8c6 20:12:03 Step 9/26 : COPY go.mod vendor* ./ 20:12:03 ---> 636fe7c1aa4a 20:12:03 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:03 ---> Running in 6641bb6055e9 20:12:04 Removing intermediate container 6641bb6055e9 20:12:04 ---> 44d11fce3029 20:12:04 Step 11/26 : COPY . . 20:12:05 ---> 3340770cddf3 20:12:05 Step 12/26 : RUN $MAKE 20:12:05 ---> Running in a65a3688cf6e 20:12:05 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.5" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:12:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26329 in /w/workspace/gexfoundry_device-rest-go_PR-377 [Pipeline] { [Pipeline] ws 20:12:11 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:12:14 The recommended git tool is: git 20:12:22 using credential edgex-jenkins-ssh 20:12:22 Cloning the remote Git repository 20:12:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:12:23 > git init /w/workspace/device-rest-go/1 # timeout=10 20:12:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:12:23 > git --version # timeout=10 20:12:23 > git --version # 'git version 2.25.1' 20:12:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:12:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:27 Removing intermediate container a65a3688cf6e 20:12:27 ---> c83c79c111c1 20:12:27 Step 13/26 : FROM alpine:3.18 20:12:27 3.18: Pulling from library/alpine 20:12:27 c926b61bad3b: Pulling fs layer 20:12:27 c926b61bad3b: Download complete 20:12:27 c926b61bad3b: Pull complete 20:12:27 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:12:27 Status: Downloaded newer image for alpine:3.18 20:12:27 ---> b541f2080109 20:12:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:12:27 ---> Running in 23ae18d48798 20:12:27 Removing intermediate container 23ae18d48798 20:12:27 ---> e2c4e2295dbc 20:12:27 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:12:27 ---> Running in d0785f5473dc 20:12:27 Removing intermediate container d0785f5473dc 20:12:27 ---> 2849a02f1fe1 20:12:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:12:27 ---> Running in 7351f44cd17a 20:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:12:27 (1/1) Installing dumb-init (1.2.5-r2) 20:12:27 Executing busybox-1.36.1-r5.trigger 20:12:27 OK: 7 MiB in 16 packages 20:12:27 Removing intermediate container 7351f44cd17a 20:12:27 ---> 32091eb73165 20:12:27 Step 17/26 : RUN apk --no-cache upgrade 20:12:27 ---> Running in b5fae0e32d55 20:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:12:27 OK: 7 MiB in 16 packages 20:12:27 Merging remotes/origin/main commit cffe0b5ee40638c8d708b56c712b7f43e21f16e4 into PR head commit 31c8860b20509faeaf00a7d8d0ac5130bcf38919 20:12:27 Merge succeeded, producing 31c8860b20509faeaf00a7d8d0ac5130bcf38919 20:12:27 Checking out Revision 31c8860b20509faeaf00a7d8d0ac5130bcf38919 (PR-377) 20:12:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:12:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:12:27 > git config core.sparsecheckout # timeout=10 20:12:27 > git checkout -f 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # timeout=10 20:12:27 > git remote # timeout=10 20:12:27 > git config --get remote.origin.url # timeout=10 20:12:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:27 > git merge cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 20:12:27 > git rev-parse HEAD^{commit} # timeout=10 20:12:27 > git config core.sparsecheckout # timeout=10 20:12:27 > git checkout -f 31c8860b20509faeaf00a7d8d0ac5130bcf38919 # timeout=10 20:12:27 Removing intermediate container b5fae0e32d55 20:12:27 ---> 7e0e317c0e61 20:12:27 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:12:28 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:12:28 > git --version # timeout=10 20:12:28 > git --version # 'git version 2.25.1' 20:12:28 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:12:28 ---> 449aead69881 20:12:28 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:12:28 ---> aec393a6e65f 20:12:28 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { 20:12:28 ---> 3edfbdc3427e 20:12:28 Step 21/26 : EXPOSE 59986 20:12:28 ---> Running in 972e9dcbaeeb 20:12:28 Removing intermediate container 972e9dcbaeeb 20:12:28 ---> 42db62a08aa7 20:12:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:12:28 ---> Running in 6bdc0c733994 20:12:28 Removing intermediate container 6bdc0c733994 20:12:28 ---> 642755d3ed6a 20:12:28 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:12:28 ---> Running in cbf35829c45d [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 20:12:28 Removing intermediate container cbf35829c45d 20:12:28 ---> 1bd86526a04f 20:12:28 Step 24/26 : LABEL arch=amd64 20:12:28 ---> Running in ea04e6d4ae93 20:12:28 Removing intermediate container ea04e6d4ae93 20:12:28 ---> 144e558e8505 20:12:28 Step 25/26 : LABEL git_sha=31c8860b20509faeaf00a7d8d0ac5130bcf38919 20:12:28 ---> Running in d8f4d4893c2a [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:29 Removing intermediate container d8f4d4893c2a 20:12:29 ---> b0e1c5f396fb 20:12:29 Step 26/26 : LABEL version=0.0.0 20:12:29 ---> Running in 8f14b81406fb 20:12:29 Removing intermediate container 8f14b81406fb 20:12:29 ---> ab822d0f9649 20:12:29 [Warning] One or more build-args [ARCH] were not consumed 20:12:29 Successfully built ab822d0f9649 20:12:29 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:12:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:12:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:29 Dload Upload Total Spent Left Speed 20:12:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 84546 [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 20:12:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 20:12:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:12:30 + sudo tee /etc/docker/daemon.new 20:12:30 { 20:12:30 "registry-mirrors": [ 20:12:30 "https://nexus3.edgexfoundry.org:10001" 20:12:30 ], 20:12:30 "bip": "10.250.0.254/24", 20:12:30 "hosts": [ 20:12:30 "tcp://0.0.0.0:5555", 20:12:30 "unix:///var/run/docker.sock" 20:12:30 ], 20:12:30 "mtu": 1458, 20:12:30 "selinux-enabled": true, 20:12:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:12:30 } Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:30 20:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:31 + sudo service docker restart 20:12:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:31 latest: Pulling from edgex-lftools-log-publisher 20:12:31 5eb5b503b376: Pulling fs layer 20:12:31 5c69ac0246d0: Pulling fs layer 20:12:31 ec43610c2a17: Pulling fs layer 20:12:31 3a2ae6a8a46f: Pulling fs layer 20:12:31 33b1e0a273af: Pulling fs layer 20:12:31 5d3b04190fa2: Pulling fs layer 20:12:31 2f39f015ded8: Pulling fs layer 20:12:31 3a2ae6a8a46f: Waiting 20:12:31 33b1e0a273af: Waiting 20:12:31 5d3b04190fa2: Waiting 20:12:31 2f39f015ded8: Waiting 20:12:31 5c69ac0246d0: Verifying Checksum 20:12:31 5c69ac0246d0: Download complete 20:12:31 3a2ae6a8a46f: Verifying Checksum 20:12:31 3a2ae6a8a46f: Download complete 20:12:31 33b1e0a273af: Verifying Checksum 20:12:31 33b1e0a273af: Download complete 20:12:31 5d3b04190fa2: Download complete 20:12:31 ec43610c2a17: Verifying Checksum 20:12:31 ec43610c2a17: Download complete 20:12:31 5eb5b503b376: Verifying Checksum 20:12:31 5eb5b503b376: Download complete 20:12:32 2f39f015ded8: Download complete 20:12:32 5eb5b503b376: Pull complete 20:12:32 5c69ac0246d0: Pull complete 20:12:33 ec43610c2a17: Pull complete 20:12:33 3a2ae6a8a46f: Pull complete 20:12:33 33b1e0a273af: Pull complete 20:12:33 5d3b04190fa2: Pull complete 20:12:37 2f39f015ded8: Pull complete 20:12:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:38 prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container 20:12:38 $ 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-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@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:12:44 $ docker top 0a6b88005533d6fe9566ed5c633fe306a2826888c208f196ae5bb85f4b908cd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:44 ---> job-cost.sh 20:12:44 lf-activate-venv: SKIPPING 20:12:44 INFO: No Stack... 20:12:45 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:45 INFO: Archiving Costs [Pipeline] sh 20:12:45 + cat /w/workspace/gexfoundry_device-rest-go_PR-377/archives/cost.csv 20:12:45 + cut -d, -f6 [Pipeline] lock 20:12:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] 20:12:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] did not exist. Created. 20:12:45 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:46 + echo total: 0.2199999988079071 [Pipeline] stash 20:12:46 Stashed 1 file(s) [Pipeline] } 20:12:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:12:46 $ docker stop --time=1 0a6b88005533d6fe9566ed5c633fe306a2826888c208f196ae5bb85f4b908cd2 20:12:47 $ docker rm -f --volumes 0a6b88005533d6fe9566ed5c633fe306a2826888c208f196ae5bb85f4b908cd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:53 provisioning config files... 20:12:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1701188763146625154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:53 ---> ****-login.sh 20:12:53 nexus3.edgexfoundry.org:10001 20:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:12:54 Configure a credential helper to remove this warning. See 20:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:12:54 20:12:54 Login Succeeded 20:12:54 nexus3.edgexfoundry.org:10002 20:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:12:54 Configure a credential helper to remove this warning. See 20:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:12:54 20:12:54 Login Succeeded 20:12:54 nexus3.edgexfoundry.org:10003 20:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:12:54 Configure a credential helper to remove this warning. See 20:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:12:54 20:12:54 Login Succeeded 20:12:54 nexus3.edgexfoundry.org:10004 20:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:12:55 Configure a credential helper to remove this warning. See 20:12:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:12:55 20:12:55 Login Succeeded 20:12:55 ****.io 20:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:12:55 Configure a credential helper to remove this warning. See 20:12:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:12:55 20:12:55 Login Succeeded 20:12:55 ---> ****-login.sh ends [Pipeline] } 20:12:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:12:56 ========================================================= 20:12:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:12:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:56 + 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 . 20:12:57 #0 building with "default" instance using docker driver 20:12:57 20:12:57 #1 [internal] load build definition from Dockerfile 20:12:57 #1 transferring dockerfile: 1.73kB 0.0s done 20:12:57 #1 DONE 0.1s 20:12:57 20:12:57 #2 [internal] load .dockerignore 20:12:57 #2 transferring context: 193B 0.0s done 20:12:57 #2 DONE 0.1s 20:12:57 20:12:57 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:12:58 #3 DONE 0.1s 20:12:58 20:12:58 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:12:58 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:12:58 #4 ... 20:12:58 20:12:58 #5 [internal] load build context 20:12:58 #5 transferring context: 95.80kB 0.0s done 20:12:58 #5 DONE 0.1s 20:12:58 20:12:58 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:12:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 3.15MB / 63.99MB 0.2s 20:12:58 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:12:58 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 20:12:58 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:12:58 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:12:58 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:12:58 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done 20:12:58 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 0B / 440B 0.2s 20:12:58 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.2s 20:12:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.56MB / 63.99MB 0.3s 20:12:58 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:12:58 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.3s 20:12:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.53MB / 63.99MB 0.4s 20:12:58 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.35MB / 97.63MB 0.4s 20:12:58 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.4s 20:12:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 20:12:58 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s 20:12:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.6s 20:12:58 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 20:12:58 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.30MB / 97.63MB 0.6s 20:12:58 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done 20:12:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.19MB / 63.99MB 0.8s 20:12:58 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.8s 20:12:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 0.9s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 0.9s 20:12:59 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 20:12:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.98MB / 63.99MB 1.1s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.55MB / 97.63MB 1.1s 20:12:59 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:12:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.23MB / 63.99MB 1.2s 20:12:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.3s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.68MB / 97.63MB 1.3s 20:12:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.61MB / 63.99MB 1.4s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.4s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.5s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 1.7s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 1.8s 20:12:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 1.9s 20:13:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s 20:13:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.8s done 20:13:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.0s done 20:13:03 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 20:13:08 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.4s 20:13:14 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s 20:13:19 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.3s done 20:13:21 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:13:21 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:13:21 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20:13:26 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 20:13:28 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.9s done 20:13:32 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 20:13:33 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 20:13:33 #4 DONE 35.8s 20:13:33 20:13:33 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:13:34 #6 0.664 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:13:35 #6 1.037 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:13:35 #6 1.965 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:13:35 #6 1.990 (2/4) Installing libedit (20221030.3.1-r1) 20:13:35 #6 2.003 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:13:35 #6 2.066 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:13:35 #6 2.094 Executing busybox-1.36.1-r5.trigger 20:13:35 #6 2.128 OK: 271 MiB in 56 packages 20:13:37 #6 DONE 3.9s 20:13:37 20:13:37 #7 [builder 3/7] WORKDIR /device-rest-go 20:13:37 #7 DONE 0.1s 20:13:37 20:13:37 #8 [builder 4/7] COPY go.mod vendor* ./ 20:13:38 #8 DONE 0.1s 20:13:38 20:13:38 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:00 #9 DONE 21.9s 20:14:00 20:14:00 #10 [builder 6/7] COPY . . 20:14:00 #10 DONE 0.1s 20:14:00 20:14:00 #11 [builder 7/7] RUN echo noop 20:14:00 #11 0.644 noop 20:14:02 #11 DONE 2.0s 20:14:02 20:14:02 #12 exporting to image 20:14:02 #12 exporting layers 20:14:24 #12 exporting layers 22.2s done 20:14:24 #12 writing image sha256:900eacfa7106ad52fb765c7c16b66818aeede87eba6518cd18e58f57657eae74 done 20:14:24 #12 naming to docker.io/library/ci-base-image-arm64 done 20:14:24 #12 DONE 22.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:25 + docker inspect -f . ci-base-image-arm64 20:14:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:25 prd-ubuntu20.04-docker-arm64-4c-16g-26329 does not seem to be running inside a container 20:14:25 $ 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:14:26 $ docker top 93a68201922df1137a84472cb6c91a9b7fe69f528a958bed203158619a9a995f -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:27 + go version 20:14:27 go version go1.21.0 linux/arm64 [Pipeline] } 20:14:27 $ docker stop --time=1 93a68201922df1137a84472cb6c91a9b7fe69f528a958bed203158619a9a995f 20:14:32 $ docker rm -f --volumes 93a68201922df1137a84472cb6c91a9b7fe69f528a958bed203158619a9a995f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:33 + docker inspect -f . ci-base-image-arm64 20:14:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:33 prd-ubuntu20.04-docker-arm64-4c-16g-26329 does not seem to be running inside a container 20:14:34 $ 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:14:34 $ docker top 0a7765f99e1d6b619602974552723f8aa1a9487e3daa98a247943ec868957fc6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:35 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:14:35 + make test 20:14:35 go test ./... -coverprofile=coverage.out ./... 20:14:40 ? github.com/edgexfoundry/device-rest-go [no test files] 20:15:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:15:36 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 20:15:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:15:36 go vet ./... 20:15:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:15:46 $ docker stop --time=1 0a7765f99e1d6b619602974552723f8aa1a9487e3daa98a247943ec868957fc6 20:15:48 $ docker rm -f --volumes 0a7765f99e1d6b619602974552723f8aa1a9487e3daa98a247943ec868957fc6 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:49 Warning: overwriting stash ‘coverage-report’ 20:15:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:51 + ls -al . 20:15:51 total 176 20:15:51 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 20:14 . 20:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 20:12 .. 20:15:51 -rw-rw-r-- 1 jenkins jenkins 151 Dec 28 20:12 .dockerignore 20:15:51 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 20:12 .git 20:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:12 .github 20:15:51 -rw-rw-r-- 1 jenkins jenkins 264 Dec 28 20:12 .gitignore 20:15:51 -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 20:12 .golangci.yml 20:15:51 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 28 20:12 Attribution.txt 20:15:51 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 28 20:12 CHANGELOG.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 28 20:12 Dockerfile 20:15:51 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 20:12 GOVERNANCE.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 680 Dec 28 20:12 Jenkinsfile 20:15:51 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 20:12 LICENSE 20:15:51 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 28 20:12 Makefile 20:15:51 -rw-rw-r-- 1 jenkins jenkins 620 Dec 28 20:12 OWNERS.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 28 20:12 README.md 20:15:51 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 20:10 VERSION 20:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:12 bin 20:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:12 cmd 20:15:51 -rw-r--r-- 1 jenkins jenkins 14499 Dec 28 20:15 coverage.out 20:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 20:12 driver 20:15:51 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 28 20:12 go.mod 20:15:51 -rw-rw-r-- 1 jenkins jenkins 34593 Dec 28 20:12 go.sum 20:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 20:12 openapi 20:15:51 -rw-rw-r-- 1 jenkins jenkins 713 Dec 28 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:52 + 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=31c8860b20509faeaf00a7d8d0ac5130bcf38919 --label arch=arm64 --label version=0.0.0 . 20:15:52 #0 building with "default" instance using docker driver 20:15:52 20:15:52 #1 [internal] load .dockerignore 20:15:52 #1 transferring context: 33B 20:15:52 #1 transferring context: 193B 0.0s done 20:15:52 #1 DONE 0.1s 20:15:52 20:15:52 #2 [internal] load build definition from Dockerfile 20:15:52 #2 transferring dockerfile: 1.73kB 0.0s done 20:15:52 #2 DONE 0.0s 20:15:52 20:15:52 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:15:52 #3 DONE 0.0s 20:15:52 20:15:52 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:15:53 #4 DONE 0.9s 20:15:53 20:15:53 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:15:53 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:15:53 #5 ... 20:15:53 20:15:53 #6 [internal] load build context 20:15:53 #6 transferring context: 16.04kB 0.0s done 20:15:53 #6 DONE 0.1s 20:15:53 20:15:53 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:15:53 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:15:53 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:15:53 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s 20:15:53 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:15:53 #5 ... 20:15:53 20:15:53 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:15:53 #7 DONE 0.2s 20:15:53 20:15:53 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:15:53 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s 20:15:54 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.3s done 20:15:54 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:15:54 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 20:15:57 #5 ... 20:15:57 20:15:57 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:15:57 #8 0.735 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:15:57 #8 1.122 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:15:57 #8 2.144 OK: 271 MiB in 56 packages 20:15:57 #8 DONE 3.5s 20:15:57 20:15:57 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:15:57 #5 DONE 3.8s 20:15:57 20:15:57 #9 [builder 3/7] WORKDIR /device-rest-go 20:15:57 #9 DONE 0.1s 20:15:57 20:15:57 #10 [builder 4/7] COPY go.mod vendor* ./ 20:15:57 #10 DONE 0.2s 20:15:57 20:15:57 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:59 #11 DONE 1.2s 20:15:59 20:15:59 #12 [builder 6/7] COPY . . 20:15:59 #12 DONE 0.1s 20:15:59 20:15:59 #13 [builder 7/7] RUN make build 20:15:59 #13 0.707 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.5" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:16:00 #13 ... 20:16:00 20:16:00 #14 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:16:00 #14 0.762 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:16:00 #14 1.079 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:16:00 #14 2.165 (1/1) Installing dumb-init (1.2.5-r2) 20:16:00 #14 2.179 Executing busybox-1.36.1-r5.trigger 20:16:00 #14 2.202 OK: 8 MiB in 16 packages 20:16:00 #14 DONE 2.5s 20:16:00 20:16:00 #15 [stage-1 3/6] RUN apk --no-cache upgrade 20:16:00 #15 0.838 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:16:01 #15 1.185 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:16:02 #15 2.235 OK: 8 MiB in 16 packages 20:16:02 #15 DONE 2.5s 20:16:02 20:16:02 #13 [builder 7/7] RUN make build 20:17:10 #13 DONE 61.2s 20:17:10 20:17:10 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 20:17:10 #16 DONE 0.2s 20:17:10 20:17:10 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 20:17:10 #17 DONE 0.1s 20:17:10 20:17:10 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 20:17:10 #18 DONE 0.1s 20:17:10 20:17:10 #19 exporting to image 20:17:10 #19 exporting layers 20:17:10 #19 exporting layers 0.3s done 20:17:10 #19 writing image sha256:0002ea9dec82e36a13c1e4cac20dee34de0456cc2b62448e72eb78a810ef9216 done 20:17:10 #19 naming to docker.io/library/device-rest-arm64 done 20:17:10 #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:17:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:11 20:17:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:12 arm64: Pulling from edgex-lftools-log-publisher 20:17:12 8998bd30e6a1: Pulling fs layer 20:17:12 04944245beec: Pulling fs layer 20:17:12 699f458cf7ca: Pulling fs layer 20:17:12 765212b225bb: Pulling fs layer 20:17:12 f23df028b6ca: Pulling fs layer 20:17:12 765212b225bb: Waiting 20:17:12 f23df028b6ca: Waiting 20:17:12 d65c8cfc05b1: Pulling fs layer 20:17:12 d65c8cfc05b1: Waiting 20:17:12 2437ff75d9bd: Pulling fs layer 20:17:12 04944245beec: Verifying Checksum 20:17:12 04944245beec: Download complete 20:17:12 765212b225bb: Download complete 20:17:12 f23df028b6ca: Download complete 20:17:12 d65c8cfc05b1: Verifying Checksum 20:17:12 d65c8cfc05b1: Download complete 20:17:12 699f458cf7ca: Download complete 20:17:13 8998bd30e6a1: Download complete 20:17:15 2437ff75d9bd: Verifying Checksum 20:17:15 2437ff75d9bd: Download complete 20:17:19 8998bd30e6a1: Pull complete 20:17:19 04944245beec: Pull complete 20:17:20 699f458cf7ca: Pull complete 20:17:20 765212b225bb: Pull complete 20:17:24 f23df028b6ca: Pull complete 20:17:24 d65c8cfc05b1: Pull complete 20:17:46 2437ff75d9bd: Pull complete 20:17:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:47 prd-ubuntu20.04-docker-arm64-4c-16g-26329 does not seem to be running inside a container 20:17:47 $ 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:17:49 $ docker top 00f8bd75b9f03d20b3ce1d39608c9a71cbd76aebd8bd8b57a1829b335390f2b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:49 ---> job-cost.sh 20:17:49 lf-activate-venv: SKIPPING 20:17:49 INFO: No Stack... 20:17:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:17:50 INFO: Archiving Costs [Pipeline] sh 20:17:51 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:17:51 + cut -d, -f6 [Pipeline] lock 20:17:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] 20:17:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] did not exist. Created. 20:17:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:17:51 /w/workspace/device-rest-go/1@tmp/durable-10b47e2a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:17:52 + echo total: 0.2199999988079071 [Pipeline] stash 20:17:52 Warning: overwriting stash ‘stack-cost’ 20:17:52 Stashed 1 file(s) [Pipeline] } 20:17:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:17:52 $ docker stop --time=1 00f8bd75b9f03d20b3ce1d39608c9a71cbd76aebd8bd8b57a1829b335390f2b2 20:17:55 $ docker rm -f --volumes 00f8bd75b9f03d20b3ce1d39608c9a71cbd76aebd8bd8b57a1829b335390f2b2 [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:17:57 provisioning config files... 20:17:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config7734001705439699536tmp [Pipeline] { [Pipeline] sh 20:17:57 + set +x 20:17:57 + curl -s https://codecov.io/bash 20:17:57 + bash -s -- 20:17:57 20:17:57 _____ _ 20:17:57 / ____| | | 20:17:57 | | ___ __| | ___ ___ _____ __ 20:17:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:17:57 | |___| (_) | (_| | __/ (_| (_) \ V / 20:17:57 \_____\___/ \__,_|\___|\___\___/ \_/ 20:17:57 Bash-1.0.6 20:17:57 20:17:57 20:17:57 ==> git version 2.25.1 found 20:17:57 ==> 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:17:57 Release-Date: 2020-01-08 20:17:57 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:17:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:17:57 ==> Jenkins CI detected. 20:17:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-377 20:17:57 project root: . 20:17:57 --> token set from env 20:17:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:17:57 ==> Running gcov in . (disable via -X gcov) 20:17:57 ==> Python coveragepy not found 20:17:57 ==> Searching for coverage reports in: 20:17:57 + . 20:17:57 -> Found 1 reports 20:17:57 ==> Detecting git/mercurial file structure 20:17:58 ==> Reading reports 20:17:58 + ./coverage.out bytes=14499 20:17:58 ==> Appending adjustments 20:17:58 https://docs.codecov.io/docs/fixing-reports 20:17:58 + Found adjustments 20:17:58 ==> Gzipping contents 20:17:58 4.0K /tmp/codecov.X6Usvs.gz 20:17:58 ==> Uploading reports 20:17:58 url: https://codecov.io 20:17:58 query: branch=PR-377&commit=31c8860b20509faeaf00a7d8d0ac5130bcf38919&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=377&job=&cmd_args= 20:17:58 -> Pinging Codecov 20:17:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-377&commit=31c8860b20509faeaf00a7d8d0ac5130bcf38919&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=377&job=&cmd_args= 20:17:58 -> Uploading to 20:17:58 https://storage.googleapis.com/codecov/v4/raw/2023-12-28/4E5D53B4F1F92C436F7061BF334D961C/31c8860b20509faeaf00a7d8d0ac5130bcf38919/5bfde06b-16c4-4fe2-8bd6-01177584fe11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T201758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33b6d6b1e0e9f15bc169188351a1b2bab09368382ebbff8fc8e2c3c8b741e252 20:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:58 Dload Upload Total Spent Left Speed 20:17:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11158 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 9630 --:--:-- --:--:-- --:--:-- 9590 20:17:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/31c8860b20509faeaf00a7d8d0ac5130bcf38919 [Pipeline] } 20:17:58 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:18:02 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-377/archives ] 20:18:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-377/archives 20:18:02 total 16 20:18:02 drwxr-xr-x 3 root root 4096 Dec 28 20:12 . 20:18:02 drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 20:12 .. 20:18:02 drwxr-xr-x 2 root root 4096 Dec 28 20:12 cost 20:18:02 -rw-r--r-- 1 root root 86 Dec 28 20:12 cost.csv 20:18:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-377/archives 20:18:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-377/archives 20:18:02 total 16 20:18:02 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 20:12 . 20:18:02 drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 20:12 .. 20:18:02 drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 20:12 cost 20:18:02 -rw-r--r-- 1 jenkins jenkins 86 Dec 28 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:18:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:18:03 ---> package-listing.sh 20:18:03 ++ facter osfamily 20:18:03 ++ tr '[:upper:]' '[:lower:]' 20:18:03 + OS_FAMILY=debian 20:18:03 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-377 20:18:03 + START_PACKAGES=/tmp/packages_start.txt 20:18:03 + END_PACKAGES=/tmp/packages_end.txt 20:18:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:18:03 + PACKAGES=/tmp/packages_start.txt 20:18:03 + '[' /w/workspace/gexfoundry_device-rest-go_PR-377 ']' 20:18:03 + PACKAGES=/tmp/packages_end.txt 20:18:03 + case "${OS_FAMILY}" in 20:18:03 + dpkg -l 20:18:03 + grep '^ii' 20:18:03 + '[' -f /tmp/packages_start.txt ']' 20:18:03 + '[' -f /tmp/packages_end.txt ']' 20:18:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:18:03 + '[' /w/workspace/gexfoundry_device-rest-go_PR-377 ']' 20:18:03 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-377/archives/ 20:18:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-377/archives/ [Pipeline] echo 20:18:03 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:18:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:04 prd-ubuntu20.04-docker-8c-8g-26328 does not seem to be running inside a container 20:18:04 $ 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-377/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-377 -v /w/workspace/gexfoundry_device-rest-go_PR-377:/w/workspace/gexfoundry_device-rest-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-377@tmp:/w/workspace/gexfoundry_device-rest-go_PR-377@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:18:05 $ docker top 6fd5c0bf2d6b7d07513868580681d2aed0143902cc8b71c12dfb150473d935d1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:05 + touch /tmp/pre-build-complete [Pipeline] sh 20:18:05 + mkdir -p /var/log/sysstat [Pipeline] sh 20:18:06 + ls /var/log/sa-host 20:18:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:06 provisioning config files... 20:18:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-377@tmp/config3229061864899445796tmp [Pipeline] { [Pipeline] echo 20:18:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:18:06 ---> create-netrc.sh [Pipeline] } 20:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:18:07 ---> python-tools-install.sh [Pipeline] echo 20:18:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:18:07 ---> sudo-logs.sh 20:18:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:18:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:18:08 ---> job-cost.sh 20:18:08 lf-activate-venv: SKIPPING 20:18:08 DEBUG: total: 0.2199999988079071 20:18:08 INFO: Retrieving Stack Cost... 20:18:08 INFO: Retrieving Pricing Info for: v3-standard-8 20:18:08 INFO: Archiving Costs [Pipeline] echo 20:18:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:18:09 ---> logs-deploy.sh 20:18:09 lf-activate-venv: SKIPPING 20:18:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-377/1 20:18:09 INFO: archiving workspace using pattern(s): 20:18:10 Archives upload complete. 20:18:10 INFO: archiving logs to Nexus