Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 24ac741c0139102980092e7b1758cd0a4a76e86a+0856413c2ad12273c2d5131e25a64bc5110c06e7 (b58aa917fdb484d314fb0570b12c49585aabf719) 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-ssh11431568916860232525.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-ssh11525508378117113772.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-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10844139993057442140.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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11897155431374616764.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-ssh9277286277312532166.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-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2128854030616207370.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-27926 in /w/workspace/gexfoundry_device-rest-go_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 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/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0856413c2ad12273c2d5131e25a64bc5110c06e7 into PR head commit 24ac741c0139102980092e7b1758cd0a4a76e86a Merge succeeded, producing 24ac741c0139102980092e7b1758cd0a4a76e86a Checking out Revision 24ac741c0139102980092e7b1758cd0a4a76e86a (PR-379) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:10:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:10:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:10:26 ========================================================= 20:10:26 EdgeX Global Pipelines Version Info 20:10:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # 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 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # timeout=10 20:10:27 ------------------- 20:10:27 stable info: 20:10:27 ------------------- 20:10:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:10:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:10:27 Message: update stable to v1.0.258 20:10:28 ------------------- 20:10:28 experimental info: 20:10:28 ------------------- 20:10:28 Commited By: **** collab-it+edgex@linuxfoundation.org 20:10:28 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:10:28 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:10:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:10:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:10:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:10:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:10:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:10:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:10:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:10:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24ac741 [Pipeline] echo 20:10:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:32 provisioning config files... 20:10:32 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config16405616538139133950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:32 ---> ****-login.sh 20:10:32 nexus3.edgexfoundry.org:10001 20:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:32 Configure a credential helper to remove this warning. See 20:10:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:32 20:10:32 Login Succeeded 20:10:32 nexus3.edgexfoundry.org:10002 20:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:33 Configure a credential helper to remove this warning. See 20:10:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:33 20:10:33 Login Succeeded 20:10:33 nexus3.edgexfoundry.org:10003 20:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:33 Configure a credential helper to remove this warning. See 20:10:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:33 20:10:33 Login Succeeded 20:10:33 nexus3.edgexfoundry.org:10004 20:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:33 Configure a credential helper to remove this warning. See 20:10:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:33 20:10:33 Login Succeeded 20:10:33 ****.io 20:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:33 Configure a credential helper to remove this warning. See 20:10:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:33 20:10:33 Login Succeeded 20:10:33 ---> ****-login.sh ends [Pipeline] } 20:10:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:10:34 + git rev-list -1 --merges 24ac741c0139102980092e7b1758cd0a4a76e86a~1..24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo 20:10:34 -----------> git rev-list -1 --merges 24ac741c0139102980092e7b1758cd0a4a76e86a~1..24ac741c0139102980092e7b1758cd0a4a76e86a 24ac741c0139102980092e7b1758cd0a4a76e86a [false] [Pipeline] sh 20:10:35 + git log --format=format:%s -1 24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo 20:10:35 ========================================================= 20:10:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:10:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:36 + git log --format=format:%s -1 24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] echo 20:10:36 [semverPrep] GIT_COMMIT: 24ac741c0139102980092e7b1758cd0a4a76e86a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:10:36 [semverPrep] This is not a build commit. [Pipeline] sh 20:10:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:10:36 + grep -v github /etc/ssh/ssh_known_hosts 20:10:36 + [ -e /tmp/ssh_known_hosts ] 20:10:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:10:36 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 20:10:36 -a /etc/ssh/ssh_known_hosts 20:10:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:37 20:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:38 0.1.4: Pulling from edgex-devops/py-git-semver 20:10:38 b85a868b505f: Pulling fs layer 20:10:38 e2be974225ed: Pulling fs layer 20:10:38 339a4e72a1f5: Pulling fs layer 20:10:38 988bab9f4d93: Pulling fs layer 20:10:38 1469e6f7b9e6: Pulling fs layer 20:10:38 eaf3925da568: Pulling fs layer 20:10:38 bab4dde63d76: Pulling fs layer 20:10:38 bde34c3a00c8: Pulling fs layer 20:10:38 b352a97aabf1: Pulling fs layer 20:10:38 4872d77fe225: Pulling fs layer 20:10:38 5851b861e8e6: Pulling fs layer 20:10:38 988bab9f4d93: Waiting 20:10:38 1469e6f7b9e6: Waiting 20:10:38 eaf3925da568: Waiting 20:10:38 bab4dde63d76: Waiting 20:10:38 5851b861e8e6: Waiting 20:10:38 bde34c3a00c8: Waiting 20:10:38 4872d77fe225: Waiting 20:10:38 b352a97aabf1: Waiting 20:10:38 e2be974225ed: Download complete 20:10:38 988bab9f4d93: Verifying Checksum 20:10:38 988bab9f4d93: Download complete 20:10:38 1469e6f7b9e6: Verifying Checksum 20:10:38 1469e6f7b9e6: Download complete 20:10:38 339a4e72a1f5: Verifying Checksum 20:10:38 339a4e72a1f5: Download complete 20:10:38 eaf3925da568: Download complete 20:10:38 bde34c3a00c8: Verifying Checksum 20:10:38 bde34c3a00c8: Download complete 20:10:38 b352a97aabf1: Verifying Checksum 20:10:38 b352a97aabf1: Download complete 20:10:38 4872d77fe225: Download complete 20:10:38 5851b861e8e6: Verifying Checksum 20:10:38 5851b861e8e6: Download complete 20:10:38 b85a868b505f: Verifying Checksum 20:10:38 b85a868b505f: Download complete 20:10:38 bab4dde63d76: Verifying Checksum 20:10:38 bab4dde63d76: Download complete 20:10:39 b85a868b505f: Pull complete 20:10:39 e2be974225ed: Pull complete 20:10:40 339a4e72a1f5: Pull complete 20:10:40 988bab9f4d93: Pull complete 20:10:40 1469e6f7b9e6: Pull complete 20:10:40 eaf3925da568: Pull complete 20:10:42 bab4dde63d76: Pull complete 20:10:42 bde34c3a00c8: Pull complete 20:10:42 b352a97aabf1: Pull complete 20:10:43 4872d77fe225: Pull complete 20:10:43 5851b861e8e6: Pull complete 20:10:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:43 prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container 20:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:47 $ docker top 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 -eo pid,comm 20:10:47 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:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:47 [ssh-agent] Looking for ssh-agent implementation... 20:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:47 $ docker exec 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent 20:10:47 SSH_AUTH_SOCK=/tmp/ssh-oudE6y6Y5ddP/agent.31 20:10:47 SSH_AGENT_PID=37 20:10:47 Running ssh-add (command line suppressed) 20:10:48 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_8206224004290424899.key (/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_8206224004290424899.key) 20:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:48 + git tag --points-at HEAD [Pipeline] } 20:10:48 $ docker exec --env ******** --env ******** 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent -k 20:10:48 unset SSH_AUTH_SOCK; 20:10:48 unset SSH_AGENT_PID; 20:10:48 echo Agent pid 37 killed; 20:10:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:48 [ssh-agent] Looking for ssh-agent implementation... 20:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:48 $ docker exec 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent 20:10:48 SSH_AUTH_SOCK=/tmp/ssh-3UQUToyJjuXc/agent.69 20:10:48 SSH_AGENT_PID=75 20:10:48 Running ssh-add (command line suppressed) 20:10:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_13345239880468472628.key (/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/private_key_13345239880468472628.key) 20:10:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:49 + git semver init 20:10:49 2024-01-25 20:10:49,658 [run_init] DEBUG init version:0.0.0 force:False 20:10:49 2024-01-25 20:10:49,659 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-379/.semver 20:10:49 2024-01-25 20:10:49,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-379/.semver 20:10:49 2024-01-25 20:10:49,660 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-379/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-379, universal_newlines=False, shell=None, istream=None) 20:10:50 2024-01-25 20:10:51,047 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-379/.git/info/exclude 20:10:50 2024-01-25 20:10:51,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-379/.semver/PR-379 with force:False 20:10:50 2024-01-25 20:10:51,048 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-379/.semver/PR-379 20:10:50 2024-01-25 20:10:51,051 [execute] INFO git cat-file --batch-check 20:10:50 2024-01-25 20:10:51,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) 20:10:50 2024-01-25 20:10:51,058 [execute] INFO git cat-file --batch 20:10:50 2024-01-25 20:10:51,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) 20:10:50 2024-01-25 20:10:51,065 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-379/.semver/PR-379 20:10:50 0.0.0 [Pipeline] } 20:10:51 $ docker exec --env ******** --env ******** 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 ssh-agent -k 20:10:51 unset SSH_AUTH_SOCK; 20:10:51 unset SSH_AGENT_PID; 20:10:51 echo Agent pid 75 killed; 20:10:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:51 + git semver [Pipeline] } 20:10:52 $ docker stop --time=1 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 20:10:53 $ docker rm -f --volumes 7468280bd04df32114cb23363efd2259568cf4466445284495400bb6571046e0 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:10:53 Stashed 1 file(s) [Pipeline] echo 20:10:53 [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:54 provisioning config files... 20:10:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config16458806538461778198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:55 ---> ****-login.sh 20:10:55 nexus3.edgexfoundry.org:10001 20:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:55 Configure a credential helper to remove this warning. See 20:10:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:55 20:10:55 Login Succeeded 20:10:55 nexus3.edgexfoundry.org:10002 20:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:55 Configure a credential helper to remove this warning. See 20:10:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:55 20:10:55 Login Succeeded 20:10:55 nexus3.edgexfoundry.org:10003 20:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:55 Configure a credential helper to remove this warning. See 20:10:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:55 20:10:55 Login Succeeded 20:10:55 nexus3.edgexfoundry.org:10004 20:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:55 Configure a credential helper to remove this warning. See 20:10:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:55 20:10:55 Login Succeeded 20:10:55 ****.io 20:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:10:55 Configure a credential helper to remove this warning. See 20:10:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:10:55 20:10:55 Login Succeeded 20:10:55 ---> ****-login.sh ends [Pipeline] } 20:10:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:10:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:10:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:10:56 ========================================================= 20:10:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:10:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:56 + 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:56 Sending build context to Docker daemon 16.32MB 20:10:56 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:10:56 Step 2/12 : FROM ${BASE} AS builder 20:10:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:10:56 7264a8db6415: Pulling fs layer 20:10:56 c4d48a809fc2: Pulling fs layer 20:10:56 4f1c88b9dad5: Pulling fs layer 20:10:56 ad3a456e5733: Pulling fs layer 20:10:56 69c7f0334f64: Pulling fs layer 20:10:56 1f1c1a5573a3: Pulling fs layer 20:10:56 ce7588e14bc9: Pulling fs layer 20:10:56 b5e4710f87ac: Pulling fs layer 20:10:56 ad3a456e5733: Waiting 20:10:56 69c7f0334f64: Waiting 20:10:56 1f1c1a5573a3: Waiting 20:10:56 ce7588e14bc9: Waiting 20:10:56 b5e4710f87ac: Waiting 20:10:57 c4d48a809fc2: Download complete 20:10:57 ad3a456e5733: Verifying Checksum 20:10:57 ad3a456e5733: Download complete 20:10:57 69c7f0334f64: Verifying Checksum 20:10:57 69c7f0334f64: Download complete 20:10:57 7264a8db6415: Verifying Checksum 20:10:57 7264a8db6415: Download complete 20:10:57 1f1c1a5573a3: Verifying Checksum 20:10:57 1f1c1a5573a3: Download complete 20:10:57 7264a8db6415: Pull complete 20:10:57 b5e4710f87ac: Verifying Checksum 20:10:57 b5e4710f87ac: Download complete 20:10:57 c4d48a809fc2: Pull complete 20:10:57 4f1c88b9dad5: Verifying Checksum 20:10:57 4f1c88b9dad5: Download complete 20:10:58 ce7588e14bc9: Download complete 20:11:01 4f1c88b9dad5: Pull complete 20:11:01 ad3a456e5733: Pull complete 20:11:01 69c7f0334f64: Pull complete 20:11:01 1f1c1a5573a3: Pull complete 20:11:04 ce7588e14bc9: Pull complete 20:11:05 b5e4710f87ac: Pull complete 20:11:05 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:11:05 ---> 88b5674ff536 20:11:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:11:09 Still waiting to schedule task 20:11:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:11:11 ---> Running in df55e8c5a393 20:11:11 Removing intermediate container df55e8c5a393 20:11:11 ---> 33645e989caa 20:11:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:11:12 ---> Running in e0fb243d0d11 20:11:12 Removing intermediate container e0fb243d0d11 20:11:12 ---> eb63c5c90945 20:11:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:11:12 ---> Running in 7428712f583d 20:11:13 Removing intermediate container 7428712f583d 20:11:13 ---> b86b41d46e8f 20:11:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:11:13 ---> Running in 94086c70f030 20:11:13 Removing intermediate container 94086c70f030 20:11:13 ---> 5a784d21c793 20:11:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:13 ---> Running in b39223639f80 20:11:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:11:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:11:14 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:11:14 (2/4) Installing libedit (20221030.3.1-r1) 20:11:14 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:11:14 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:11:14 Executing busybox-1.36.1-r5.trigger 20:11:14 OK: 268 MiB in 56 packages 20:11:16 Removing intermediate container b39223639f80 20:11:16 ---> bbac964e6ebe 20:11:16 Step 8/12 : WORKDIR /device-rest-go 20:11:16 ---> Running in 022162df68de 20:11:17 Removing intermediate container 022162df68de 20:11:17 ---> 2b24d8d488a6 20:11:17 Step 9/12 : COPY go.mod vendor* ./ 20:11:17 ---> af03324e24fe 20:11:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:18 ---> Running in 3884f8106c44 20:11:57 Removing intermediate container 3884f8106c44 20:11:57 ---> 84c0b12b9262 20:11:57 Step 11/12 : COPY . . 20:11:57 ---> c422567748b6 20:11:57 Step 12/12 : RUN $MAKE 20:11:57 ---> Running in 3dce7cf86271 20:11:57 noop 20:11:57 Removing intermediate container 3dce7cf86271 20:11:57 ---> d4d53bbbc13d 20:11:57 Successfully built d4d53bbbc13d 20:11:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:57 + docker inspect -f . ci-base-image-x86_64 20:11:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:58 prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container 20:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:11:58 $ docker top 689045ed46ba939465ad48c0df65e772309e89762f6e60e9a53489916f4ffa57 -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:59 + go version 20:11:59 go version go1.21.0 linux/amd64 [Pipeline] } 20:11:59 $ docker stop --time=1 689045ed46ba939465ad48c0df65e772309e89762f6e60e9a53489916f4ffa57 20:12:00 $ docker rm -f --volumes 689045ed46ba939465ad48c0df65e772309e89762f6e60e9a53489916f4ffa57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:01 + docker inspect -f . ci-base-image-x86_64 20:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:02 prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container 20:12:02 $ 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-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:03 $ docker top f6d649e7af7d97f381bdc5f9bd718af509dde6697691b1fe2bf940b1f2f8b7dc -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-379 [Pipeline] fileExists [Pipeline] sh 20:12:04 + make test 20:12:04 go test ./... -coverprofile=coverage.out ./... 20:12:08 ? github.com/edgexfoundry/device-rest-go [no test files] 20:12:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:12:20 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 20:12:27 go vet ./... 20:12:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:31 ./bin/test-attribution-txt.sh 20:12:31 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:12:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:12:31 $ docker stop --time=1 f6d649e7af7d97f381bdc5f9bd718af509dde6697691b1fe2bf940b1f2f8b7dc 20:12:34 $ docker rm -f --volumes f6d649e7af7d97f381bdc5f9bd718af509dde6697691b1fe2bf940b1f2f8b7dc [Pipeline] // withDockerContainer [Pipeline] sh 20:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:12:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:36 + ls -al . 20:12:36 total 180 20:12:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 20:12 . 20:12:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 20:10 .. 20:12:36 -rw-rw-r-- 1 jenkins jenkins 151 Jan 25 20:10 .dockerignore 20:12:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 20:12 .git 20:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:10 .github 20:12:36 -rw-rw-r-- 1 jenkins jenkins 264 Jan 25 20:10 .gitignore 20:12:36 -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 20:10 .golangci.yml 20:12:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 20:10 .semver 20:12:36 -rw-rw-r-- 1 jenkins jenkins 10300 Jan 25 20:10 Attribution.txt 20:12:36 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 25 20:10 CHANGELOG.md 20:12:36 -rw-rw-r-- 1 jenkins jenkins 1687 Jan 25 20:10 Dockerfile 20:12:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 20:10 GOVERNANCE.md 20:12:36 -rw-rw-r-- 1 jenkins jenkins 680 Jan 25 20:10 Jenkinsfile 20:12:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 20:10 LICENSE 20:12:36 -rw-rw-r-- 1 jenkins jenkins 2016 Jan 25 20:10 Makefile 20:12:36 -rw-rw-r-- 1 jenkins jenkins 620 Jan 25 20:10 OWNERS.md 20:12:36 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 25 20:10 README.md 20:12:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 20:10 VERSION 20:12:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:10 bin 20:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:10 cmd 20:12:36 -rw-r--r-- 1 jenkins jenkins 14499 Jan 25 20:12 coverage.out 20:12:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:10 driver 20:12:36 -rw-rw-r-- 1 jenkins jenkins 3934 Jan 25 20:10 go.mod 20:12:36 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 25 20:10 go.sum 20:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:10 openapi 20:12:36 -rw-rw-r-- 1 jenkins jenkins 713 Jan 25 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:37 + 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=24ac741c0139102980092e7b1758cd0a4a76e86a --label arch=amd64 --label version=0.0.0 . 20:12:37 Sending build context to Docker daemon 16.33MB 20:12:37 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:12:37 Step 2/26 : FROM ${BASE} AS builder 20:12:37 ---> d4d53bbbc13d 20:12:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:12:37 ---> Running in 1c811fbe4009 20:12:37 Removing intermediate container 1c811fbe4009 20:12:37 ---> 95b1d3937f19 20:12:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:37 ---> Running in c66815a4c933 20:12:37 Removing intermediate container c66815a4c933 20:12:37 ---> f8502d3b85ee 20:12:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:12:37 ---> Running in d35949b89ead 20:12:37 Removing intermediate container d35949b89ead 20:12:37 ---> abc46bc4911c 20:12:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:12:37 ---> Running in 505daad64011 20:12:37 Removing intermediate container 505daad64011 20:12:37 ---> 6e1c6bf00f6d 20:12:37 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:37 ---> Running in edab294e78cc 20:12:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:12:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:12:38 OK: 268 MiB in 56 packages 20:12:38 Removing intermediate container edab294e78cc 20:12:38 ---> ec5497dfab29 20:12:38 Step 8/26 : WORKDIR /device-rest-go 20:12:38 ---> Running in 639fb9d4ebc0 20:12:38 Removing intermediate container 639fb9d4ebc0 20:12:38 ---> 358a031f2c38 20:12:38 Step 9/26 : COPY go.mod vendor* ./ 20:12:39 ---> 47b75c2f127b 20:12:39 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:39 ---> Running in 1f7bbbe399ce 20:12:39 Removing intermediate container 1f7bbbe399ce 20:12:39 ---> 14091b3c5ec0 20:12:39 Step 11/26 : COPY . . 20:12:40 ---> e2802427f126 20:12:40 Step 12/26 : RUN $MAKE 20:12:40 ---> Running in 4496b75552a7 20:12:40 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.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:12:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27927 in /w/workspace/gexfoundry_device-rest-go_PR-379 [Pipeline] { [Pipeline] ws 20:12:56 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:12:56 The recommended git tool is: git 20:13:02 Removing intermediate container 4496b75552a7 20:13:02 ---> a0284acfe7fc 20:13:02 Step 13/26 : FROM alpine:3.18 20:13:02 3.18: Pulling from library/alpine 20:13:02 c926b61bad3b: Pulling fs layer 20:13:02 c926b61bad3b: Verifying Checksum 20:13:02 c926b61bad3b: Download complete 20:13:02 c926b61bad3b: Pull complete 20:13:02 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:13:02 Status: Downloaded newer image for alpine:3.18 20:13:02 ---> b541f2080109 20:13:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:13:02 ---> Running in febf7457cbc0 20:13:02 Removing intermediate container febf7457cbc0 20:13:02 ---> 543ba7c081eb 20:13:02 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:13:02 ---> Running in c33961d10d9b 20:13:02 Removing intermediate container c33961d10d9b 20:13:02 ---> 4491fd04dd88 20:13:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:13:02 ---> Running in 3f954f742c80 20:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:13:02 (1/1) Installing dumb-init (1.2.5-r2) 20:13:02 Executing busybox-1.36.1-r5.trigger 20:13:02 OK: 7 MiB in 16 packages 20:13:02 Removing intermediate container 3f954f742c80 20:13:02 ---> adde9d83f13d 20:13:02 Step 17/26 : RUN apk --no-cache upgrade 20:13:02 ---> Running in ac77ecf324d1 20:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:13:02 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 20:13:02 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 20:13:02 OK: 7 MiB in 16 packages 20:13:02 Removing intermediate container ac77ecf324d1 20:13:02 ---> 55d6e3a9eafb 20:13:02 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:13:03 ---> 56523ef96e7c 20:13:03 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:13:03 using credential edgex-jenkins-ssh 20:13:03 ---> b8d8a0156a78 20:13:03 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:03 ---> 845115e16017 20:13:03 Step 21/26 : EXPOSE 59986 20:13:03 ---> Running in fe595f07234d 20:13:03 Cloning the remote Git repository 20:13:03 Removing intermediate container fe595f07234d 20:13:03 ---> 2fb368f1ca3d 20:13:03 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:13:03 ---> Running in b42f6578bcc4 20:13:03 Removing intermediate container b42f6578bcc4 20:13:03 ---> 89f9ffe80684 20:13:03 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:13:03 ---> Running in 5a34f0e2921e 20:13:03 Removing intermediate container 5a34f0e2921e 20:13:03 ---> 0b526dd257fc 20:13:03 Step 24/26 : LABEL arch=amd64 20:13:03 ---> Running in 7b87f3aea0df 20:13:04 Removing intermediate container 7b87f3aea0df 20:13:04 ---> cc2ca8a2fe6c 20:13:04 Step 25/26 : LABEL git_sha=24ac741c0139102980092e7b1758cd0a4a76e86a 20:13:04 ---> Running in 9953672d6c2d 20:13:04 Removing intermediate container 9953672d6c2d 20:13:04 ---> 49023bf92ac6 20:13:04 Step 26/26 : LABEL version=0.0.0 20:13:04 ---> Running in b8472ff2d9cc 20:13:04 Removing intermediate container b8472ff2d9cc 20:13:04 ---> bab9e1334ea9 20:13:04 [Warning] One or more build-args [ARCH] were not consumed 20:13:04 Successfully built bab9e1334ea9 20:13:04 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 20:13:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:13:03 > git init /w/workspace/device-rest-go/1 # timeout=10 20:13:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:13:03 > git --version # timeout=10 20:13:03 > git --version # 'git version 2.25.1' 20:13:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:05 20:13:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:05 latest: Pulling from edgex-lftools-log-publisher 20:13:05 5eb5b503b376: Pulling fs layer 20:13:05 5c69ac0246d0: Pulling fs layer 20:13:05 ec43610c2a17: Pulling fs layer 20:13:05 3a2ae6a8a46f: Pulling fs layer 20:13:05 33b1e0a273af: Pulling fs layer 20:13:05 5d3b04190fa2: Pulling fs layer 20:13:05 2f39f015ded8: Pulling fs layer 20:13:05 3a2ae6a8a46f: Waiting 20:13:05 5d3b04190fa2: Waiting 20:13:05 33b1e0a273af: Waiting 20:13:05 2f39f015ded8: Waiting 20:13:05 5c69ac0246d0: Verifying Checksum 20:13:05 5c69ac0246d0: Download complete 20:13:05 3a2ae6a8a46f: Verifying Checksum 20:13:05 3a2ae6a8a46f: Download complete 20:13:05 33b1e0a273af: Verifying Checksum 20:13:05 33b1e0a273af: Download complete 20:13:05 ec43610c2a17: Verifying Checksum 20:13:05 ec43610c2a17: Download complete 20:13:05 5d3b04190fa2: Verifying Checksum 20:13:06 5eb5b503b376: Verifying Checksum 20:13:06 5eb5b503b376: Download complete 20:13:06 2f39f015ded8: Download complete 20:13:07 5eb5b503b376: Pull complete 20:13:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:13:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:13:07 5c69ac0246d0: Pull complete 20:13:07 Merging remotes/origin/main commit 0856413c2ad12273c2d5131e25a64bc5110c06e7 into PR head commit 24ac741c0139102980092e7b1758cd0a4a76e86a 20:13:08 ec43610c2a17: Pull complete 20:13:08 3a2ae6a8a46f: Pull complete 20:13:08 Merge succeeded, producing 24ac741c0139102980092e7b1758cd0a4a76e86a 20:13:08 Checking out Revision 24ac741c0139102980092e7b1758cd0a4a76e86a (PR-379) 20:13:08 33b1e0a273af: Pull complete 20:13:08 5d3b04190fa2: Pull complete 20:13:08 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:13:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:13:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:13:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:13:07 > git config core.sparsecheckout # timeout=10 20:13:07 > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # timeout=10 20:13:08 > git remote # timeout=10 20:13:08 > git config --get remote.origin.url # timeout=10 20:13:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:08 > git merge 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 20:13:08 > git rev-parse HEAD^{commit} # timeout=10 20:13:08 > git config core.sparsecheckout # timeout=10 20:13:08 > git checkout -f 24ac741c0139102980092e7b1758cd0a4a76e86a # timeout=10 20:13:08 > git --version # timeout=10 20:13:08 > git --version # 'git version 2.25.1' 20:13:08 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:13:09 20:13:09 GitHub has been notified of this commit’s build result 20:13:09 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:13:10 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:10 Dload Upload Total Spent Left Speed 20:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89309 0 --:--:-- --:--:-- --:--:-- 89309 [Pipeline] sh 20:13:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:13:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:13:10 + sudo tee /etc/docker/daemon.new 20:13:10 { 20:13:10 "registry-mirrors": [ 20:13:10 "https://nexus3.edgexfoundry.org:10001" 20:13:10 ], 20:13:10 "bip": "10.250.0.254/24", 20:13:10 "hosts": [ 20:13:10 "tcp://0.0.0.0:5555", 20:13:10 "unix:///var/run/docker.sock" 20:13:10 ], 20:13:10 "mtu": 1458, 20:13:10 "selinux-enabled": true, 20:13:10 "seccomp-profile": "/etc/docker/seccomp.json" 20:13:10 } [Pipeline] sh 20:13:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:13:11 + sudo service docker restart 20:13:12 2f39f015ded8: Pull complete 20:13:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:13:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:13 prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container 20:13:13 $ 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-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:18 $ docker top 72a0216d271ad8813a74166457170c4a516ae714e41c699d0c7ba32507e94649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:18 ---> job-cost.sh 20:13:18 lf-activate-venv: SKIPPING 20:13:18 INFO: No Stack... 20:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:19 INFO: Archiving Costs [Pipeline] sh 20:13:19 + cat /w/workspace/gexfoundry_device-rest-go_PR-379/archives/cost.csv 20:13:19 + cut -d, -f6 [Pipeline] lock 20:13:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] 20:13:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] did not exist. Created. 20:13:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:20 + echo total: 0.2199999988079071 [Pipeline] stash 20:13:20 Stashed 1 file(s) [Pipeline] } 20:13:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:20 $ docker stop --time=1 72a0216d271ad8813a74166457170c4a516ae714e41c699d0c7ba32507e94649 20:13:21 $ docker rm -f --volumes 72a0216d271ad8813a74166457170c4a516ae714e41c699d0c7ba32507e94649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:29 provisioning config files... 20:13:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11415672472738023740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:30 ---> ****-login.sh 20:13:30 nexus3.edgexfoundry.org:10001 20:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:30 Configure a credential helper to remove this warning. See 20:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:30 20:13:30 Login Succeeded 20:13:30 nexus3.edgexfoundry.org:10002 20:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:31 Configure a credential helper to remove this warning. See 20:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:31 20:13:31 Login Succeeded 20:13:31 nexus3.edgexfoundry.org:10003 20:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:31 Configure a credential helper to remove this warning. See 20:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:31 20:13:31 Login Succeeded 20:13:31 nexus3.edgexfoundry.org:10004 20:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:31 Configure a credential helper to remove this warning. See 20:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:31 20:13:31 Login Succeeded 20:13:31 ****.io 20:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:13:31 Configure a credential helper to remove this warning. See 20:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:13:31 20:13:31 Login Succeeded 20:13:31 ---> ****-login.sh ends [Pipeline] } 20:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:13:32 ========================================================= 20:13:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:13:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:33 + 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:13:34 #0 building with "default" instance using docker driver 20:13:34 20:13:34 #1 [internal] load build definition from Dockerfile 20:13:34 #1 transferring dockerfile: 20:13:34 #1 transferring dockerfile: 1.73kB 0.0s done 20:13:34 #1 DONE 0.1s 20:13:34 20:13:34 #2 [internal] load .dockerignore 20:13:34 #2 transferring context: 193B 0.0s done 20:13:34 #2 DONE 0.1s 20:13:34 20:13:34 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:13:34 #3 DONE 0.1s 20:13:34 20:13:34 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:13:34 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:13:34 #4 ... 20:13:34 20:13:34 #5 [internal] load build context 20:13:34 #5 transferring context: 95.85kB 0.0s done 20:13:34 #5 DONE 0.1s 20:13:34 20:13:34 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:13:34 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 20:13:34 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:13:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 20:13:34 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s 20:13:34 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:13:34 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:13:34 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 20:13:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 20:13:34 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done 20:13:34 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.1s 20:13:34 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:13:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.15MB / 97.63MB 0.3s 20:13:34 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s 20:13:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 20:13:34 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.4s 20:13:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.40MB / 63.99MB 0.5s 20:13:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.50MB / 97.63MB 0.5s 20:13:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.04MB / 11.40MB 0.5s 20:13:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.30MB / 63.99MB 0.6s 20:13:35 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 20:13:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.5s done 20:13:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.7s 20:13:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 21.88MB / 97.63MB 0.7s 20:13:35 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 20:13:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.67MB / 63.99MB 0.8s 20:13:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.98MB / 97.63MB 0.8s 20:13:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.30MB / 63.99MB 1.0s 20:13:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.58MB / 97.63MB 1.0s 20:13:35 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:13:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.15MB / 63.99MB 1.1s 20:13:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.3s 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.3s 20:13:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.4s 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.4s 20:13:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.6s 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.7s 20:13:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 1.8s 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.06MB / 97.63MB 1.9s 20:13:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s 20:13:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 20:13:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s 20:13:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 20:13:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 20:13:54 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 20:13:54 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:13:54 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:13:55 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 20:14:00 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.3s 20:14:03 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 20:14:03 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 20:14:05 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 20:14:05 #4 DONE 31.3s 20:14:05 20:14:05 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:14:06 #6 0.704 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:14:07 #6 1.083 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:14:08 #6 2.057 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:14:08 #6 2.082 (2/4) Installing libedit (20221030.3.1-r1) 20:14:08 #6 2.094 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:14:08 #6 2.156 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:14:08 #6 2.181 Executing busybox-1.36.1-r5.trigger 20:14:08 #6 2.217 OK: 271 MiB in 56 packages 20:14:10 #6 DONE 4.0s 20:14:10 20:14:10 #7 [builder 3/7] WORKDIR /device-rest-go 20:14:10 #7 DONE 0.1s 20:14:10 20:14:10 #8 [builder 4/7] COPY go.mod vendor* ./ 20:14:10 #8 DONE 0.1s 20:14:10 20:14:10 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:28 #9 DONE 16.6s 20:14:28 20:14:28 #10 [builder 6/7] COPY . . 20:14:28 #10 DONE 0.1s 20:14:28 20:14:28 #11 [builder 7/7] RUN echo noop 20:14:28 #11 0.626 noop 20:14:28 #11 DONE 0.7s 20:14:28 20:14:28 #12 exporting to image 20:14:28 #12 exporting layers 20:14:46 #12 exporting layers 17.7s done 20:14:46 #12 writing image sha256:610a29813d3f3f248a632b062f56c8946851d726df49f2427d2ecfd513035bd4 done 20:14:46 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 20:14:46 #12 DONE 17.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:47 + docker inspect -f . ci-base-image-arm64 20:14:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:47 prd-ubuntu20.04-docker-arm64-4c-16g-27927 does not seem to be running inside a container 20:14:47 $ 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 ******** ci-base-image-arm64 cat 20:14:48 $ docker top bce14be7d75ac4953a8f34d32e92caee5889b968d75e8c78a270be25efcabacb -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:49 + go version 20:14:50 go version go1.21.0 linux/arm64 [Pipeline] } 20:14:50 $ docker stop --time=1 bce14be7d75ac4953a8f34d32e92caee5889b968d75e8c78a270be25efcabacb 20:14:51 $ docker rm -f --volumes bce14be7d75ac4953a8f34d32e92caee5889b968d75e8c78a270be25efcabacb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:52 + docker inspect -f . ci-base-image-arm64 20:14:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:53 prd-ubuntu20.04-docker-arm64-4c-16g-27927 does not seem to be running inside a container 20:14:53 $ 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 ******** ci-base-image-arm64 cat 20:14:54 $ docker top 6b25451ff3b1d1d9d44722a0a2a26c22eebc53ccbe3233afd8b01f55328fc198 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:54 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:14:55 + make test 20:14:55 go test ./... -coverprofile=coverage.out ./... 20:15:00 ? github.com/edgexfoundry/device-rest-go [no test files] 20:15:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:15:57 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 20:15:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:15:57 go vet ./... 20:16:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:16:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:16:12 ./bin/test-attribution-txt.sh 20:16:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:16:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:16:12 $ docker stop --time=1 6b25451ff3b1d1d9d44722a0a2a26c22eebc53ccbe3233afd8b01f55328fc198 20:16:14 $ docker rm -f --volumes 6b25451ff3b1d1d9d44722a0a2a26c22eebc53ccbe3233afd8b01f55328fc198 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:16:15 Warning: overwriting stash ‘coverage-report’ 20:16:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:16:17 + ls -al . 20:16:17 total 176 20:16:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 20:14 . 20:16:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 20:13 .. 20:16:17 -rw-rw-r-- 1 jenkins jenkins 151 Jan 25 20:13 .dockerignore 20:16:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 20:13 .git 20:16:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:13 .github 20:16:17 -rw-rw-r-- 1 jenkins jenkins 264 Jan 25 20:13 .gitignore 20:16:17 -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 20:13 .golangci.yml 20:16:17 -rw-rw-r-- 1 jenkins jenkins 10300 Jan 25 20:13 Attribution.txt 20:16:17 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 25 20:13 CHANGELOG.md 20:16:17 -rw-rw-r-- 1 jenkins jenkins 1687 Jan 25 20:13 Dockerfile 20:16:17 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 20:13 GOVERNANCE.md 20:16:17 -rw-rw-r-- 1 jenkins jenkins 680 Jan 25 20:13 Jenkinsfile 20:16:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 20:13 LICENSE 20:16:17 -rw-rw-r-- 1 jenkins jenkins 2016 Jan 25 20:13 Makefile 20:16:17 -rw-rw-r-- 1 jenkins jenkins 620 Jan 25 20:13 OWNERS.md 20:16:17 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 25 20:13 README.md 20:16:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 20:10 VERSION 20:16:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:13 bin 20:16:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:13 cmd 20:16:17 -rw-r--r-- 1 jenkins jenkins 14499 Jan 25 20:15 coverage.out 20:16:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 20:13 driver 20:16:17 -rw-rw-r-- 1 jenkins jenkins 3934 Jan 25 20:13 go.mod 20:16:17 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 25 20:13 go.sum 20:16:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 20:13 openapi 20:16:17 -rw-rw-r-- 1 jenkins jenkins 713 Jan 25 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:17 + 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=24ac741c0139102980092e7b1758cd0a4a76e86a --label arch=arm64 --label version=0.0.0 . 20:16:18 #0 building with "default" instance using docker driver 20:16:18 20:16:18 #1 [internal] load .dockerignore 20:16:18 #1 transferring context: 193B 0.0s done 20:16:18 #1 DONE 0.0s 20:16:18 20:16:18 #2 [internal] load build definition from Dockerfile 20:16:18 #2 transferring dockerfile: 1.73kB 0.0s done 20:16:18 #2 DONE 0.0s 20:16:18 20:16:18 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:16:18 #3 DONE 0.0s 20:16:18 20:16:18 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:16:19 #4 DONE 1.1s 20:16:19 20:16:19 #5 [internal] load build context 20:16:19 #5 transferring context: 16.04kB 0.0s done 20:16:19 #5 DONE 0.1s 20:16:19 20:16:19 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:16:19 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:16:19 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:16:19 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:16:19 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:16:19 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s 20:16:19 #6 ... 20:16:19 20:16:19 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:16:19 #7 DONE 0.2s 20:16:19 20:16:19 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:16:19 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.2s 20:16:19 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.3s done 20:16:19 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:16:20 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 20:16:20 #6 DONE 1.0s 20:16:20 20:16:20 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:16:20 #8 0.724 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:16:20 #8 1.156 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:16:21 #8 2.227 OK: 271 MiB in 56 packages 20:16:22 #8 DONE 2.5s 20:16:22 20:16:22 #9 [builder 3/7] WORKDIR /device-rest-go 20:16:22 #9 DONE 0.1s 20:16:22 20:16:22 #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:16:22 #10 0.617 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:16:22 #10 0.956 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:16:22 #10 ... 20:16:22 20:16:22 #11 [builder 4/7] COPY go.mod vendor* ./ 20:16:22 #11 DONE 0.1s 20:16:22 20:16:22 #10 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:16:22 #10 2.027 (1/1) Installing dumb-init (1.2.5-r2) 20:16:22 #10 2.039 Executing busybox-1.36.1-r5.trigger 20:16:22 #10 2.075 OK: 8 MiB in 16 packages 20:16:22 #10 DONE 2.4s 20:16:22 20:16:22 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:16:25 #12 ... 20:16:25 20:16:25 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:25 #13 DONE 2.8s 20:16:25 20:16:25 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:16:25 #12 2.477 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:16:25 #12 ... 20:16:25 20:16:25 #14 [builder 6/7] COPY . . 20:16:25 #14 DONE 0.1s 20:16:25 20:16:25 #15 [builder 7/7] RUN make build 20:16:26 #15 0.686 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.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:16:27 #15 ... 20:16:27 20:16:27 #12 [stage-1 3/6] RUN apk --no-cache upgrade 20:16:27 #12 2.858 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:16:27 #12 3.877 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 20:16:27 #12 3.994 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 20:16:27 #12 4.018 OK: 8 MiB in 16 packages 20:16:27 #12 DONE 4.3s 20:16:27 20:16:27 #15 [builder 7/7] RUN make build 20:17:35 #15 DONE 58.8s 20:17:35 20:17:35 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 20:17:35 #16 DONE 0.3s 20:17:35 20:17:35 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 20:17:35 #17 DONE 0.1s 20:17:35 20:17:35 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 20:17:35 #18 DONE 0.1s 20:17:35 20:17:35 #19 exporting to image 20:17:35 #19 exporting layers 20:17:35 #19 exporting layers 0.3s done 20:17:35 #19 writing image sha256:ff87aad77c970322899e97469b0094dafc526573600bffaa459edda80de51bc3 done 20:17:35 #19 naming to docker.io/library/device-rest-arm64 0.0s done 20:17:35 #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:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:36 20:17:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:37 arm64: Pulling from edgex-lftools-log-publisher 20:17:37 8998bd30e6a1: Pulling fs layer 20:17:37 04944245beec: Pulling fs layer 20:17:37 699f458cf7ca: Pulling fs layer 20:17:37 765212b225bb: Pulling fs layer 20:17:37 f23df028b6ca: Pulling fs layer 20:17:37 d65c8cfc05b1: Pulling fs layer 20:17:37 2437ff75d9bd: Pulling fs layer 20:17:37 765212b225bb: Waiting 20:17:37 f23df028b6ca: Waiting 20:17:37 2437ff75d9bd: Waiting 20:17:37 d65c8cfc05b1: Waiting 20:17:37 04944245beec: Verifying Checksum 20:17:37 04944245beec: Download complete 20:17:37 765212b225bb: Verifying Checksum 20:17:37 765212b225bb: Download complete 20:17:38 f23df028b6ca: Download complete 20:17:38 d65c8cfc05b1: Verifying Checksum 20:17:38 d65c8cfc05b1: Download complete 20:17:38 699f458cf7ca: Verifying Checksum 20:17:38 699f458cf7ca: Download complete 20:17:38 8998bd30e6a1: Verifying Checksum 20:17:38 8998bd30e6a1: Download complete 20:17:40 2437ff75d9bd: Verifying Checksum 20:17:40 2437ff75d9bd: Download complete 20:17:44 8998bd30e6a1: Pull complete 20:17:45 04944245beec: Pull complete 20:17:47 699f458cf7ca: Pull complete 20:17:47 765212b225bb: Pull complete 20:17:48 f23df028b6ca: Pull complete 20:17:48 d65c8cfc05b1: Pull complete 20:18:10 2437ff75d9bd: Pull complete 20:18:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:18:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:11 prd-ubuntu20.04-docker-arm64-4c-16g-27927 does not seem to be running inside a container 20:18:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:18:13 $ docker top 32d5022477659fe74eee5acbea58fef8260d9171ce120bcd44ba1ffa25812942 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:14 ---> job-cost.sh 20:18:14 lf-activate-venv: SKIPPING 20:18:14 INFO: No Stack... 20:18:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:18:15 INFO: Archiving Costs [Pipeline] sh 20:18:15 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:18:15 + cut -d, -f6 [Pipeline] lock 20:18:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] 20:18:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] did not exist. Created. 20:18:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:18:16 /w/workspace/device-rest-go/1@tmp/durable-a624fd04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:18:16 + echo total: 0.2199999988079071 [Pipeline] stash 20:18:16 Warning: overwriting stash ‘stack-cost’ 20:18:16 Stashed 1 file(s) [Pipeline] } 20:18:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:18:17 $ docker stop --time=1 32d5022477659fe74eee5acbea58fef8260d9171ce120bcd44ba1ffa25812942 20:18:21 $ docker rm -f --volumes 32d5022477659fe74eee5acbea58fef8260d9171ce120bcd44ba1ffa25812942 [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:18:23 provisioning config files... 20:18:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config9568887774699953012tmp [Pipeline] { [Pipeline] sh 20:18:23 + set +x 20:18:23 + curl -s https://codecov.io/bash 20:18:23 + bash -s -- 20:18:23 20:18:23 _____ _ 20:18:23 / ____| | | 20:18:23 | | ___ __| | ___ ___ _____ __ 20:18:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:18:23 | |___| (_) | (_| | __/ (_| (_) \ V / 20:18:23 \_____\___/ \__,_|\___|\___\___/ \_/ 20:18:23 Bash-1.0.6 20:18:23 20:18:23 20:18:23 ==> git version 2.25.1 found 20:18:23 ==> 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:18:23 Release-Date: 2020-01-08 20:18:23 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:18:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:18:23 ==> Jenkins CI detected. 20:18:23 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-379 20:18:23 project root: . 20:18:23 --> token set from env 20:18:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:18:23 ==> Running gcov in . (disable via -X gcov) 20:18:23 ==> Python coveragepy not found 20:18:23 ==> Searching for coverage reports in: 20:18:23 + . 20:18:24 -> Found 1 reports 20:18:24 ==> Detecting git/mercurial file structure 20:18:24 ==> Reading reports 20:18:24 + ./coverage.out bytes=14499 20:18:24 ==> Appending adjustments 20:18:24 https://docs.codecov.io/docs/fixing-reports 20:18:24 + Found adjustments 20:18:24 ==> Gzipping contents 20:18:24 4.0K /tmp/codecov.sSTwtX.gz 20:18:24 ==> Uploading reports 20:18:24 url: https://codecov.io 20:18:24 query: branch=PR-379&commit=24ac741c0139102980092e7b1758cd0a4a76e86a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=379&job=&cmd_args= 20:18:24 -> Pinging Codecov 20:18:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-379&commit=24ac741c0139102980092e7b1758cd0a4a76e86a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=379&job=&cmd_args= 20:18:24 -> Uploading to 20:18:24 https://storage.googleapis.com/codecov/v4/raw/2024-01-25/4E5D53B4F1F92C436F7061BF334D961C/24ac741c0139102980092e7b1758cd0a4a76e86a/8ce55a6f-f4fe-4482-9fbd-395874f6da50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T201824Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6fcd8333a814d88fb8980429f61e7f328598fa6c212664ec81fbe424fc7fa263 20:18:24 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:24 Dload Upload Total Spent Left Speed 20:18:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8858 --:--:-- --:--:-- --:--:-- 8858 20:18:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/24ac741c0139102980092e7b1758cd0a4a76e86a [Pipeline] } 20:18:24 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:27 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-379/archives ] 20:18:27 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-379/archives 20:18:27 total 16 20:18:27 drwxr-xr-x 3 root root 4096 Jan 25 20:13 . 20:18:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 20:13 .. 20:18:27 drwxr-xr-x 2 root root 4096 Jan 25 20:13 cost 20:18:27 -rw-r--r-- 1 root root 86 Jan 25 20:13 cost.csv 20:18:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-379/archives 20:18:27 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-379/archives 20:18:27 total 16 20:18:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 20:13 . 20:18:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 20:13 .. 20:18:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 20:13 cost 20:18:27 -rw-r--r-- 1 jenkins jenkins 86 Jan 25 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:18:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:18:29 ---> package-listing.sh 20:18:29 ++ facter osfamily 20:18:29 ++ tr '[:upper:]' '[:lower:]' 20:18:29 + OS_FAMILY=debian 20:18:29 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-379 20:18:29 + START_PACKAGES=/tmp/packages_start.txt 20:18:29 + END_PACKAGES=/tmp/packages_end.txt 20:18:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:18:29 + PACKAGES=/tmp/packages_start.txt 20:18:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-379 ']' 20:18:29 + PACKAGES=/tmp/packages_end.txt 20:18:29 + case "${OS_FAMILY}" in 20:18:29 + dpkg -l 20:18:29 + grep '^ii' 20:18:29 + '[' -f /tmp/packages_start.txt ']' 20:18:29 + '[' -f /tmp/packages_end.txt ']' 20:18:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:18:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-379 ']' 20:18:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-379/archives/ 20:18:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-379/archives/ [Pipeline] echo 20:18:29 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:18:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:30 prd-ubuntu20.04-docker-8c-8g-27926 does not seem to be running inside a container 20:18:30 $ 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-379/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-379 -v /w/workspace/gexfoundry_device-rest-go_PR-379:/w/workspace/gexfoundry_device-rest-go_PR-379:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-379@tmp:/w/workspace/gexfoundry_device-rest-go_PR-379@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:18:30 $ docker top 9f79f75b1aa561194846e9349c89ff8848aa7f2cdecf12d953535ed85573fd1e -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:31 + touch /tmp/pre-build-complete [Pipeline] sh 20:18:31 + mkdir -p /var/log/sysstat [Pipeline] sh 20:18:32 + ls /var/log/sa-host 20:18:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:32 provisioning config files... 20:18:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-379@tmp/config13532617636811773250tmp [Pipeline] { [Pipeline] echo 20:18:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:18:32 ---> create-netrc.sh [Pipeline] } 20:18:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:18:33 ---> python-tools-install.sh [Pipeline] echo 20:18:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:18:33 ---> sudo-logs.sh 20:18:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:18:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:18:34 ---> job-cost.sh 20:18:34 lf-activate-venv: SKIPPING 20:18:34 DEBUG: total: 0.2199999988079071 20:18:34 INFO: Retrieving Stack Cost... 20:18:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:18:34 INFO: Archiving Costs [Pipeline] echo 20:18:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:18:35 ---> logs-deploy.sh 20:18:35 lf-activate-venv: SKIPPING 20:18:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-379/1 20:18:35 INFO: archiving workspace using pattern(s): 20:18:36 Archives upload complete. 20:18:36 INFO: archiving logs to Nexus