Pull request #1628 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 30cc33d0422f8edd5fdc92203c4d411a26486f52+224db1e0e192554ed613955b9810071aef8a346e (3d39c498fbab0fccd7a7cc9900354b593f836839) 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-ssh17291791378475522148.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh8591503497900307536.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-sdk-go/branches/PR-1628/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-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10697615960062722010.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-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13055986528600913066.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh3399700147528648737.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-sdk-go/branches/PR-1628/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-sdk-go/branches/PR-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3944983519902094845.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-12103 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1628 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 30cc33d0422f8edd5fdc92203c4d411a26486f52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 Merge succeeded, producing 30cc33d0422f8edd5fdc92203c4d411a26486f52 Checking out Revision 30cc33d0422f8edd5fdc92203c4d411a26486f52 (PR-1628) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 Commit message: "fix: Remove device profile from the cache properly" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:20:30 ========================================================= 10:20:30 EdgeX Global Pipelines Version Info 10:20:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:20:31 ------------------- 10:20:31 stable info: 10:20:31 ------------------- 10:20:31 Commited By: Cherry Wang cherry@iotechsys.com 10:20:31 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:20:31 Message: update stable to v1.0.264 10:20:31 ------------------- 10:20:31 experimental info: 10:20:31 ------------------- 10:20:31 Commited By: Cherry Wang cherry@iotechsys.com 10:20:31 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:20:31 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:20:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:20:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:20:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:20:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:20:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1628 [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1628 [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1628 [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30cc33d [Pipeline] echo 10:20:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:33 provisioning config files... 10:20:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config5957069856637346287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:34 ---> ****-login.sh 10:20:34 nexus3.edgexfoundry.org:10001 10:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:34 Configure a credential helper to remove this warning. See 10:20:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:34 10:20:34 Login Succeeded 10:20:34 nexus3.edgexfoundry.org:10002 10:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:34 Configure a credential helper to remove this warning. See 10:20:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:34 10:20:34 Login Succeeded 10:20:34 nexus3.edgexfoundry.org:10003 10:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:35 Configure a credential helper to remove this warning. See 10:20:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:35 10:20:35 Login Succeeded 10:20:35 nexus3.edgexfoundry.org:10004 10:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:35 Configure a credential helper to remove this warning. See 10:20:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:35 10:20:35 Login Succeeded 10:20:35 ****.io 10:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:35 Configure a credential helper to remove this warning. See 10:20:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:35 10:20:35 Login Succeeded 10:20:35 ---> ****-login.sh ends [Pipeline] } 10:20:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:20:36 + git rev-list -1 --merges 30cc33d0422f8edd5fdc92203c4d411a26486f52~1..30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo 10:20:36 -----------> git rev-list -1 --merges 30cc33d0422f8edd5fdc92203c4d411a26486f52~1..30cc33d0422f8edd5fdc92203c4d411a26486f52 30cc33d0422f8edd5fdc92203c4d411a26486f52 [false] [Pipeline] sh 10:20:36 + git log --format=format:%s -1 30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo 10:20:36 ========================================================= 10:20:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:20:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:37 + git log --format=format:%s -1 30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo 10:20:37 [semverPrep] GIT_COMMIT: 30cc33d0422f8edd5fdc92203c4d411a26486f52, Commit Message: fix: Remove device profile from the cache properly [Pipeline] echo 10:20:37 [semverPrep] This is not a build commit. [Pipeline] sh 10:20:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:37 + grep -v github /etc/ssh/ssh_known_hosts 10:20:37 + [ -e /tmp/ssh_known_hosts ] 10:20:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:20:37 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 10:20:37 -a /etc/ssh/ssh_known_hosts 10:20:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:38 10:20:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:38 0.1.4: Pulling from edgex-devops/py-git-semver 10:20:38 b85a868b505f: Pulling fs layer 10:20:38 e2be974225ed: Pulling fs layer 10:20:38 339a4e72a1f5: Pulling fs layer 10:20:38 988bab9f4d93: Pulling fs layer 10:20:38 1469e6f7b9e6: Pulling fs layer 10:20:38 eaf3925da568: Pulling fs layer 10:20:38 bab4dde63d76: Pulling fs layer 10:20:38 bde34c3a00c8: Pulling fs layer 10:20:38 b352a97aabf1: Pulling fs layer 10:20:38 4872d77fe225: Pulling fs layer 10:20:38 5851b861e8e6: Pulling fs layer 10:20:38 988bab9f4d93: Waiting 10:20:38 1469e6f7b9e6: Waiting 10:20:38 eaf3925da568: Waiting 10:20:38 b352a97aabf1: Waiting 10:20:38 bab4dde63d76: Waiting 10:20:38 bde34c3a00c8: Waiting 10:20:38 5851b861e8e6: Waiting 10:20:38 4872d77fe225: Waiting 10:20:38 e2be974225ed: Verifying Checksum 10:20:38 e2be974225ed: Download complete 10:20:38 988bab9f4d93: Verifying Checksum 10:20:38 988bab9f4d93: Download complete 10:20:38 1469e6f7b9e6: Verifying Checksum 10:20:38 1469e6f7b9e6: Download complete 10:20:38 339a4e72a1f5: Verifying Checksum 10:20:38 339a4e72a1f5: Download complete 10:20:38 eaf3925da568: Verifying Checksum 10:20:38 eaf3925da568: Download complete 10:20:38 bde34c3a00c8: Download complete 10:20:38 b352a97aabf1: Download complete 10:20:38 4872d77fe225: Download complete 10:20:38 5851b861e8e6: Verifying Checksum 10:20:38 5851b861e8e6: Download complete 10:20:38 b85a868b505f: Verifying Checksum 10:20:38 b85a868b505f: Download complete 10:20:39 bab4dde63d76: Verifying Checksum 10:20:39 bab4dde63d76: Download complete 10:20:40 b85a868b505f: Pull complete 10:20:40 e2be974225ed: Pull complete 10:20:41 339a4e72a1f5: Pull complete 10:20:41 988bab9f4d93: Pull complete 10:20:41 1469e6f7b9e6: Pull complete 10:20:41 eaf3925da568: Pull complete 10:20:43 bab4dde63d76: Pull complete 10:20:43 bde34c3a00c8: Pull complete 10:20:43 b352a97aabf1: Pull complete 10:20:43 4872d77fe225: Pull complete 10:20:43 5851b861e8e6: Pull complete 10:20:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:20:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:43 prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container 10:20:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:47 $ docker top e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 -eo pid,comm 10:20: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). 10:20:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:48 [ssh-agent] Looking for ssh-agent implementation... 10:20:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:48 $ docker exec e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent 10:20:48 SSH_AUTH_SOCK=/tmp/ssh-VbZdXR55p1bC/agent.32 10:20:48 SSH_AGENT_PID=38 10:20:48 Running ssh-add (command line suppressed) 10:20:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6949434132882107868.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6949434132882107868.key) 10:20:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:48 + git tag --points-at HEAD [Pipeline] } 10:20:48 $ docker exec --env ******** --env ******** e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent -k 10:20:48 unset SSH_AUTH_SOCK; 10:20:48 unset SSH_AGENT_PID; 10:20:48 echo Agent pid 38 killed; 10:20:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:20:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:49 [ssh-agent] Looking for ssh-agent implementation... 10:20:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:49 $ docker exec e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent 10:20:49 SSH_AUTH_SOCK=/tmp/ssh-f1AE3fjtHMRt/agent.71 10:20:49 SSH_AGENT_PID=77 10:20:49 Running ssh-add (command line suppressed) 10:20:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_11492443935454426747.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_11492443935454426747.key) 10:20:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:49 + git semver init 10:20:49 2024-09-30 10:20:49,932 [run_init] DEBUG init version:0.0.0 force:False 10:20:49 2024-09-30 10:20:49,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver 10:20:49 2024-09-30 10:20:49,934 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver 10:20:49 2024-09-30 10:20:49,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628, universal_newlines=False, shell=None, istream=None) 10:20:52 2024-09-30 10:20:51,919 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.git/info/exclude 10:20:52 2024-09-30 10:20:51,920 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 with force:False 10:20:52 2024-09-30 10:20:51,920 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 10:20:52 2024-09-30 10:20:51,925 [execute] INFO git cat-file --batch-check 10:20:52 2024-09-30 10:20:51,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) 10:20:52 2024-09-30 10:20:51,931 [execute] INFO git cat-file --batch 10:20:52 2024-09-30 10:20:51,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) 10:20:52 2024-09-30 10:20:51,936 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 10:20:52 0.0.0 [Pipeline] } 10:20:52 $ docker exec --env ******** --env ******** e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent -k 10:20:52 unset SSH_AUTH_SOCK; 10:20:52 unset SSH_AGENT_PID; 10:20:52 echo Agent pid 77 killed; 10:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:53 + git semver [Pipeline] } 10:20:53 $ docker stop --time=1 e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 10:20:54 $ docker rm -f --volumes e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:20:55 Stashed 1 file(s) [Pipeline] echo 10:20:55 [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 10:20:56 provisioning config files... 10:20:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config4610397653632527875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:56 ---> ****-login.sh 10:20:56 nexus3.edgexfoundry.org:10001 10:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:56 Configure a credential helper to remove this warning. See 10:20:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:56 10:20:56 Login Succeeded 10:20:56 nexus3.edgexfoundry.org:10002 10:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:56 Configure a credential helper to remove this warning. See 10:20:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:56 10:20:56 Login Succeeded 10:20:56 nexus3.edgexfoundry.org:10003 10:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:57 Configure a credential helper to remove this warning. See 10:20:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:57 10:20:57 Login Succeeded 10:20:57 nexus3.edgexfoundry.org:10004 10:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:57 Configure a credential helper to remove this warning. See 10:20:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:57 10:20:57 Login Succeeded 10:20:57 ****.io 10:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:57 Configure a credential helper to remove this warning. See 10:20:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:57 10:20:57 Login Succeeded 10:20:57 ---> ****-login.sh ends [Pipeline] } 10:20:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:20:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:20:57 ========================================================= 10:20:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 10:20:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:58 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 10:20:58 Sending build context to Docker daemon 25.34MB 10:20:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 10:20:58 Step 2/10 : FROM ${BASE} AS builder 10:20:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 10:20:58 619be1103602: Pulling fs layer 10:20:58 7862e08f4a3e: Pulling fs layer 10:20:58 5df492c9dc93: Pulling fs layer 10:20:58 7629e6793208: Pulling fs layer 10:20:58 4f4fb700ef54: Pulling fs layer 10:20:58 fb5054dd5b73: Pulling fs layer 10:20:58 eeca6798cff9: Pulling fs layer 10:20:58 aa269ceb94a6: Pulling fs layer 10:20:58 ada007ff1a6a: Pulling fs layer 10:20:58 4f4fb700ef54: Waiting 10:20:58 fb5054dd5b73: Waiting 10:20:58 ada007ff1a6a: Waiting 10:20:58 eeca6798cff9: Waiting 10:20:58 aa269ceb94a6: Waiting 10:20:58 7629e6793208: Waiting 10:20:58 7862e08f4a3e: Verifying Checksum 10:20:58 7862e08f4a3e: Download complete 10:20:58 7629e6793208: Verifying Checksum 10:20:58 7629e6793208: Download complete 10:20:58 4f4fb700ef54: Verifying Checksum 10:20:58 4f4fb700ef54: Download complete 10:20:58 619be1103602: Verifying Checksum 10:20:58 619be1103602: Download complete 10:20:58 fb5054dd5b73: Verifying Checksum 10:20:58 fb5054dd5b73: Download complete 10:20:58 eeca6798cff9: Verifying Checksum 10:20:58 eeca6798cff9: Download complete 10:20:58 ada007ff1a6a: Verifying Checksum 10:20:58 ada007ff1a6a: Download complete 10:20:58 619be1103602: Pull complete 10:20:58 7862e08f4a3e: Pull complete 10:20:59 5df492c9dc93: Download complete 10:20:59 aa269ceb94a6: Verifying Checksum 10:20:59 aa269ceb94a6: Download complete 10:21:02 5df492c9dc93: Pull complete 10:21:02 7629e6793208: Pull complete 10:21:02 4f4fb700ef54: Pull complete 10:21:02 fb5054dd5b73: Pull complete 10:21:02 eeca6798cff9: Pull complete 10:21:05 aa269ceb94a6: Pull complete 10:21:05 ada007ff1a6a: Pull complete 10:21:05 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 10:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 10:21:05 ---> f489d0715acc 10:21:05 Step 3/10 : ARG MAKE=make build 10:21:11 ---> Running in d432ff0a539e 10:21:11 Removing intermediate container d432ff0a539e 10:21:11 ---> 6d5fbe05a8a8 10:21:11 Step 4/10 : WORKDIR /device-sdk-go 10:21:11 ---> Running in 25ba07605156 10:21:11 Still waiting to schedule task 10:21:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:21:11 Removing intermediate container 25ba07605156 10:21:11 ---> 963798c53365 10:21:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:21:11 ---> Running in 993350ad185f 10:21:11 Removing intermediate container 993350ad185f 10:21:11 ---> 342dd0b16edb 10:21:11 Step 6/10 : RUN apk add --update --no-cache make git 10:21:11 ---> Running in 1c122021d09c 10:21:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:21:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:21:12 OK: 264 MiB in 52 packages 10:21:12 Removing intermediate container 1c122021d09c 10:21:12 ---> e51d4de772ad 10:21:12 Step 7/10 : COPY go.mod vendor* ./ 10:21:12 ---> 423a92acfbb9 10:21:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:12 ---> Running in 4684f65ee5f0 10:22:09 Removing intermediate container 4684f65ee5f0 10:22:09 ---> d973a5eb5871 10:22:09 Step 9/10 : COPY . . 10:22:09 ---> cf4a553c0ead 10:22:09 Step 10/10 : RUN ${MAKE} 10:22:09 ---> Running in adcd9c75c194 10:22:09 noop 10:22:09 Removing intermediate container adcd9c75c194 10:22:09 ---> d00c40e54332 10:22:09 Successfully built d00c40e54332 10:22:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:09 + docker inspect -f . ci-base-image-x86_64 10:22:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:09 prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container 10:22:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:10 $ docker top ed46abe72c9ff5b60ec2041a5774d8c76a88649decbb8f5c28c5d8115990b61a -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:10 + go version 10:22:10 go version go1.21.9 linux/amd64 [Pipeline] } 10:22:10 $ docker stop --time=1 ed46abe72c9ff5b60ec2041a5774d8c76a88649decbb8f5c28c5d8115990b61a 10:22:12 $ docker rm -f --volumes ed46abe72c9ff5b60ec2041a5774d8c76a88649decbb8f5c28c5d8115990b61a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:12 + docker inspect -f . ci-base-image-x86_64 10:22:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:13 prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container 10:22:13 $ 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-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:13 $ docker top 2fd8af0a3cf4cff383afdf9c7416d9dfe04720340f7f2f20315e5d65960e0b3b -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] fileExists [Pipeline] sh 10:22:14 + make test 10:22:14 go test -race -coverprofile=coverage.out ./... 10:22:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:22:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:22:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements 10:22:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 79.4% of statements 10:22:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements 10:22:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:22:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 10:22:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:22:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:22:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 45.2% of statements 10:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:22:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.1% of statements 10:22:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.257s coverage: 44.6% of statements 10:22:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.044s coverage: 68.5% of statements 10:22:53 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements 10:22:53 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements 10:23:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12104 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] { [Pipeline] ws 10:23:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:23:10 The recommended git tool is: git 10:23:14 using credential edgex-jenkins-ssh 10:23:14 Cloning the remote Git repository 10:23:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:23:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:23:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:23:15 > git --version # timeout=10 10:23:15 > git --version # 'git version 2.25.1' 10:23:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:23:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:20 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 30cc33d0422f8edd5fdc92203c4d411a26486f52 10:23:20 Merge succeeded, producing 30cc33d0422f8edd5fdc92203c4d411a26486f52 10:23:20 Checking out Revision 30cc33d0422f8edd5fdc92203c4d411a26486f52 (PR-1628) 10:23:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:23:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:23:19 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:23:20 > git config core.sparsecheckout # timeout=10 10:23:20 > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 10:23:20 > git remote # timeout=10 10:23:20 > git config --get remote.origin.url # timeout=10 10:23:20 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:20 > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 10:23:20 > git rev-parse HEAD^{commit} # timeout=10 10:23:20 > git config core.sparsecheckout # timeout=10 10:23:20 > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 10:23:23 Commit message: "fix: Remove device profile from the cache properly" 10:23:24 > git --version # timeout=10 10:23:24 > git --version # 'git version 2.25.1' 10:23:24 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 10:23:25 GO111MODULE=on go vet ./... [Pipeline] script [Pipeline] { [Pipeline] sh 10:23:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:23:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:23:26 Dload Upload Total Spent Left Speed 10:23:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 10:23:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:23:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:23:26 + sudo tee /etc/docker/daemon.new 10:23:26 { 10:23:26 "registry-mirrors": [ 10:23:26 "https://nexus3.edgexfoundry.org:10001" 10:23:26 ], 10:23:26 "bip": "10.250.0.254/24", 10:23:26 "hosts": [ 10:23:26 "tcp://0.0.0.0:5555", 10:23:26 "unix:///var/run/docker.sock" 10:23:26 ], 10:23:26 "mtu": 1458, 10:23:26 "selinux-enabled": true, 10:23:26 "seccomp-profile": "/etc/docker/seccomp.json" 10:23:26 } [Pipeline] sh 10:23:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:23:27 + sudo service docker restart 10:23:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:23:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:23:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:23:29 $ docker stop --time=1 2fd8af0a3cf4cff383afdf9c7416d9dfe04720340f7f2f20315e5d65960e0b3b 10:23:35 $ docker rm -f --volumes 2fd8af0a3cf4cff383afdf9c7416d9dfe04720340f7f2f20315e5d65960e0b3b [Pipeline] // withDockerContainer [Pipeline] sh 10:23:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:23:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:23:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:23:37 + ls -al . 10:23:37 total 384 10:23:37 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 10:22 . 10:23:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:20 .. 10:23:37 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 10:20 .dockerignore 10:23:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 10:22 .git 10:23:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:20 .github 10:23:37 -rw-rw-r-- 1 jenkins jenkins 137 Sep 30 10:20 .gitignore 10:23:37 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 10:20 .golangci.yml 10:23:37 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 10:20 .semver 10:23:37 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 30 10:20 CHANGELOG.md 10:23:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 10:20 GOVERNANCE.md 10:23:37 -rw-rw-r-- 1 jenkins jenkins 885 Sep 30 10:20 Jenkinsfile 10:23:37 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 10:20 LICENSE 10:23:37 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 30 10:20 Makefile 10:23:37 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 10:20 OWNERS.md 10:23:37 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 30 10:20 README.md 10:23:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 10:20 VERSION 10:23:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 10:20 bin 10:23:37 -rw-r--r-- 1 jenkins jenkins 128347 Sep 30 10:22 coverage.out 10:23:37 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 10:20 example 10:23:37 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 30 10:20 go.mod 10:23:37 -rw-rw-r-- 1 jenkins jenkins 101462 Sep 30 10:20 go.sum 10:23:37 drwxrwxr-x 13 jenkins jenkins 4096 Sep 30 10:20 internal 10:23:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:20 openapi 10:23:37 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 10:20 pkg 10:23:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:20 snap 10:23:37 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 10:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:37 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=30cc33d0422f8edd5fdc92203c4d411a26486f52 --label arch=amd64 --label version=0.0.0 . 10:23:37 Sending build context to Docker daemon 25.47MB 10:23:37 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 10:23:37 Step 2/24 : FROM ${BASE} AS builder 10:23:37 ---> d00c40e54332 10:23:37 Step 3/24 : ARG MAKE=make build 10:23:38 ---> Running in abd539b839e5 10:23:38 Removing intermediate container abd539b839e5 10:23:38 ---> b0371e4b5e3e 10:23:38 Step 4/24 : WORKDIR /device-sdk-go 10:23:38 ---> Running in b305612ac890 10:23:38 Removing intermediate container b305612ac890 10:23:38 ---> 347a7b93a2f4 10:23:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:23:38 ---> Running in e2aed24c2257 10:23:38 Removing intermediate container e2aed24c2257 10:23:38 ---> f7b37f663bbe 10:23:38 Step 6/24 : RUN apk add --update --no-cache make git 10:23:38 ---> Running in 06d4302ae16a 10:23:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:23:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:23:38 OK: 264 MiB in 52 packages 10:23:39 Removing intermediate container 06d4302ae16a 10:23:39 ---> 683cfb50234f 10:23:39 Step 7/24 : COPY go.mod vendor* ./ 10:23:39 ---> b6408b77e75c 10:23:39 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:23:39 ---> Running in d8fbedcddbb7 10:23:40 Removing intermediate container d8fbedcddbb7 10:23:40 ---> 79bb8ae4eb37 10:23:40 Step 9/24 : COPY . . 10:23:41 ---> e469692cb238 10:23:41 Step 10/24 : RUN ${MAKE} 10:23:41 ---> Running in 4cb929fdd578 10:23:41 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:45 provisioning config files... 10:23:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14927292236435245736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:46 ---> ****-login.sh 10:23:46 nexus3.edgexfoundry.org:10001 10:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:23:47 Configure a credential helper to remove this warning. See 10:23:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:23:47 10:23:47 Login Succeeded 10:23:47 nexus3.edgexfoundry.org:10002 10:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:23:47 Configure a credential helper to remove this warning. See 10:23:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:23:47 10:23:47 Login Succeeded 10:23:47 nexus3.edgexfoundry.org:10003 10:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:23:47 Configure a credential helper to remove this warning. See 10:23:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:23:47 10:23:47 Login Succeeded 10:23:47 nexus3.edgexfoundry.org:10004 10:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:23:48 Configure a credential helper to remove this warning. See 10:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:23:48 10:23:48 Login Succeeded 10:23:48 ****.io 10:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:23:48 Configure a credential helper to remove this warning. See 10:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:23:48 10:23:48 Login Succeeded 10:23:48 ---> ****-login.sh ends [Pipeline] } 10:23:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:23:49 ========================================================= 10:23:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 10:23:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:49 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 10:23:50 Sending build context to Docker daemon 13.13MB 10:23:50 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 10:23:50 Step 2/10 : FROM ${BASE} AS builder 10:23:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:23:50 c6b39de5b339: Pulling fs layer 10:23:50 a69c41024577: Pulling fs layer 10:23:50 d6de4b400683: Pulling fs layer 10:23:50 35cb2a7552d0: Pulling fs layer 10:23:50 4f4fb700ef54: Pulling fs layer 10:23:50 464afbd9ba4c: Pulling fs layer 10:23:50 00f215d4a9da: Pulling fs layer 10:23:50 35cb2a7552d0: Waiting 10:23:50 d496ad576159: Pulling fs layer 10:23:50 4f4fb700ef54: Waiting 10:23:50 464afbd9ba4c: Waiting 10:23:50 00f215d4a9da: Waiting 10:23:50 d496ad576159: Waiting 10:23:50 a69c41024577: Verifying Checksum 10:23:50 a69c41024577: Download complete 10:23:50 35cb2a7552d0: Verifying Checksum 10:23:50 35cb2a7552d0: Download complete 10:23:50 4f4fb700ef54: Download complete 10:23:50 464afbd9ba4c: Verifying Checksum 10:23:50 464afbd9ba4c: Download complete 10:23:50 c6b39de5b339: Verifying Checksum 10:23:50 c6b39de5b339: Download complete 10:23:51 d496ad576159: Verifying Checksum 10:23:51 d496ad576159: Download complete 10:23:51 c6b39de5b339: Pull complete 10:23:52 a69c41024577: Pull complete 10:23:52 d6de4b400683: Verifying Checksum 10:23:52 d6de4b400683: Download complete 10:23:53 00f215d4a9da: Verifying Checksum 10:23:53 00f215d4a9da: Download complete 10:24:05 d6de4b400683: Pull complete 10:24:05 35cb2a7552d0: Pull complete 10:24:05 4f4fb700ef54: Pull complete 10:24:06 464afbd9ba4c: Pull complete 10:24:16 00f215d4a9da: Pull complete 10:24:16 d496ad576159: Pull complete 10:24:16 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 10:24:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 10:24:16 ---> f246e2811388 10:24:16 Step 3/10 : ARG MAKE=make build 10:24:17 ---> Running in 8583b7a6d1ff 10:24:17 Removing intermediate container 8583b7a6d1ff 10:24:17 ---> 6660832945ac 10:24:17 Step 4/10 : WORKDIR /device-sdk-go 10:24:17 ---> Running in ddf510e0a012 10:24:18 Removing intermediate container ddf510e0a012 10:24:18 ---> 3577985c79e4 10:24:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:24:18 ---> Running in 8471b9c835d9 10:24:18 Removing intermediate container 8471b9c835d9 10:24:18 ---> 4cad61cb4d5b 10:24:18 Step 6/10 : RUN apk add --update --no-cache make git 10:24:18 ---> Running in 83cccea6554f 10:24:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:24:20 Removing intermediate container 4cb929fdd578 10:24:20 ---> b2c4886f0d69 10:24:20 Step 11/24 : FROM alpine:3.18 10:24:20 3.18: Pulling from library/alpine 10:24:20 1cc3d825d8b2: Pulling fs layer 10:24:20 1cc3d825d8b2: Verifying Checksum 10:24:20 1cc3d825d8b2: Download complete 10:24:20 1cc3d825d8b2: Pull complete 10:24:20 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 10:24:20 Status: Downloaded newer image for alpine:3.18 10:24:20 ---> 2c64cf60f6f0 10:24:20 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:24:20 ---> Running in 675ad2efd1bb 10:24:20 Removing intermediate container 675ad2efd1bb 10:24:20 ---> 5872c2845f87 10:24:20 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:24:20 ---> Running in 8ee19e93a1a1 10:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:24:20 (1/1) Installing dumb-init (1.2.5-r2) 10:24:20 Executing busybox-1.36.1-r7.trigger 10:24:20 OK: 7 MiB in 16 packages 10:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:24:20 Removing intermediate container 8ee19e93a1a1 10:24:20 ---> 93c1546cc607 10:24:20 Step 14/24 : RUN apk --no-cache upgrade 10:24:20 ---> Running in 5971c0da117d 10:24:21 OK: 266 MiB in 52 packages 10:24:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:24:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:24:21 OK: 7 MiB in 16 packages 10:24:21 Removing intermediate container 5971c0da117d 10:24:21 ---> 3dadea457d2f 10:24:21 Step 15/24 : WORKDIR / 10:24:21 ---> Running in 3bcd7e556391 10:24:21 Removing intermediate container 3bcd7e556391 10:24:21 ---> 91ce45a3c9a5 10:24:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:24:21 ---> fa40ec9cad95 10:24:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:24:22 Removing intermediate container 83cccea6554f 10:24:22 ---> 84de1a8cbfa0 10:24:22 Step 7/10 : COPY go.mod vendor* ./ 10:24:22 ---> 2686aee34e89 10:24:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:22 ---> Running in 11595a434f27 10:24:23 ---> 6e6a4604d6b2 10:24:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:24:23 ---> a16d36aa1621 10:24:23 Step 19/24 : EXPOSE 59999 10:24:23 ---> Running in 0ce5d8984db7 10:24:23 Removing intermediate container 0ce5d8984db7 10:24:23 ---> b55c87cda675 10:24:23 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:24:23 ---> Running in 0cf0e1c7bf3c 10:24:23 Removing intermediate container 0cf0e1c7bf3c 10:24:23 ---> 5ffe91b9addf 10:24:23 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:24:23 ---> Running in 5b07e7d73f53 10:24:23 Removing intermediate container 5b07e7d73f53 10:24:23 ---> c4af8bb7f8fe 10:24:23 Step 22/24 : LABEL arch=amd64 10:24:23 ---> Running in d9757fd53af3 10:24:23 Removing intermediate container d9757fd53af3 10:24:23 ---> 09af0af26821 10:24:23 Step 23/24 : LABEL git_sha=30cc33d0422f8edd5fdc92203c4d411a26486f52 10:24:23 ---> Running in 20ab5dd95aa0 10:24:23 Removing intermediate container 20ab5dd95aa0 10:24:23 ---> 8431e3411478 10:24:23 Step 24/24 : LABEL version=0.0.0 10:24:23 ---> Running in 1a3fc5d3caa8 10:24:23 Removing intermediate container 1a3fc5d3caa8 10:24:23 ---> 8aac23f7b0d2 10:24:23 [Warning] One or more build-args [ARCH] were not consumed 10:24:23 Successfully built 8aac23f7b0d2 10:24:23 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:24 10:24:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:25 latest: Pulling from edgex-lftools-log-publisher 10:24:25 5eb5b503b376: Pulling fs layer 10:24:25 5c69ac0246d0: Pulling fs layer 10:24:25 ec43610c2a17: Pulling fs layer 10:24:25 3a2ae6a8a46f: Pulling fs layer 10:24:25 33b1e0a273af: Pulling fs layer 10:24:25 5d3b04190fa2: Pulling fs layer 10:24:25 2f39f015ded8: Pulling fs layer 10:24:25 3a2ae6a8a46f: Waiting 10:24:25 33b1e0a273af: Waiting 10:24:25 5d3b04190fa2: Waiting 10:24:25 2f39f015ded8: Waiting 10:24:25 5c69ac0246d0: Verifying Checksum 10:24:25 5c69ac0246d0: Download complete 10:24:25 3a2ae6a8a46f: Verifying Checksum 10:24:25 3a2ae6a8a46f: Download complete 10:24:25 33b1e0a273af: Verifying Checksum 10:24:25 33b1e0a273af: Download complete 10:24:25 ec43610c2a17: Verifying Checksum 10:24:25 ec43610c2a17: Download complete 10:24:25 5d3b04190fa2: Verifying Checksum 10:24:25 5d3b04190fa2: Download complete 10:24:25 5eb5b503b376: Download complete 10:24:26 2f39f015ded8: Download complete 10:24:26 5eb5b503b376: Pull complete 10:24:26 5c69ac0246d0: Pull complete 10:24:27 ec43610c2a17: Pull complete 10:24:27 3a2ae6a8a46f: Pull complete 10:24:27 33b1e0a273af: Pull complete 10:24:27 5d3b04190fa2: Pull complete 10:24:31 2f39f015ded8: Pull complete 10:24:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:31 prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container 10:24:31 $ 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-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:24:36 $ docker top 936cab58ffce6190c06fa6c653e8f750d23c480b5d1ac959a26fd4c6997338cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:37 ---> job-cost.sh 10:24:37 lf-activate-venv: SKIPPING 10:24:37 INFO: No Stack... 10:24:37 INFO: Retrieving Pricing Info for: v3-standard-8 10:24:38 INFO: Archiving Costs [Pipeline] sh 10:24:38 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/cost.csv 10:24:38 + cut -d, -f6 [Pipeline] lock 10:24:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] 10:24:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] did not exist. Created. 10:24:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:24:38 + echo total: 0.2199999988079071 [Pipeline] stash 10:24:38 Stashed 1 file(s) [Pipeline] } 10:24:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:24:39 $ docker stop --time=1 936cab58ffce6190c06fa6c653e8f750d23c480b5d1ac959a26fd4c6997338cc 10:24:40 $ docker rm -f --volumes 936cab58ffce6190c06fa6c653e8f750d23c480b5d1ac959a26fd4c6997338cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:26:14 Removing intermediate container 11595a434f27 10:26:14 ---> 0e27ed902d63 10:26:14 Step 9/10 : COPY . . 10:26:14 ---> 067b9b592c41 10:26:14 Step 10/10 : RUN ${MAKE} 10:26:14 ---> Running in d7f8eabd9d4d 10:26:14 noop 10:26:14 Removing intermediate container d7f8eabd9d4d 10:26:14 ---> e9fb4ea72f30 10:26:14 Successfully built e9fb4ea72f30 10:26:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:14 + docker inspect -f . ci-base-image-arm64 10:26:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:15 prd-ubuntu20.04-docker-arm64-4c-16g-12104 does not seem to be running inside a container 10:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:26:16 $ docker top 1a814a7b4f3979daf31dc0afc211526724b7d19e89645af948c93a500d351fc1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:26:17 + go version 10:26:17 go version go1.21.9 linux/arm64 [Pipeline] } 10:26:17 $ docker stop --time=1 1a814a7b4f3979daf31dc0afc211526724b7d19e89645af948c93a500d351fc1 10:26:18 $ docker rm -f --volumes 1a814a7b4f3979daf31dc0afc211526724b7d19e89645af948c93a500d351fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:19 + docker inspect -f . ci-base-image-arm64 10:26:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:20 prd-ubuntu20.04-docker-arm64-4c-16g-12104 does not seem to be running inside a container 10:26:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:26:21 $ docker top fb5a7a5abd337c7f98a4e0b757156e11befa96abffa205330acc7942e24ef144 -eo pid,comm [Pipeline] { [Pipeline] sh 10:26:22 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 10:26:22 + make test 10:26:22 go test -race -coverprofile=coverage.out ./... 10:27:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:30:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:30:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.118s coverage: 26.0% of statements 10:30:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.190s coverage: 79.4% of statements 10:30:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:30:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:30:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.260s coverage: 86.0% of statements 10:30:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:30:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.452s coverage: 45.2% of statements 10:30:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.146s coverage: 14.1% of statements 10:30:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.113s coverage: 44.6% of statements 10:30:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 10:30:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:30:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:30:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.295s coverage: 68.5% of statements 10:30:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.359s coverage: 89.2% of statements 10:30:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:31:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.233s coverage: 5.3% of statements 10:31:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:31:01 GO111MODULE=on go vet ./... 10:34:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:34:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:34:38 ./bin/test-attribution-txt.sh [Pipeline] echo 10:34:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:34:39 $ docker stop --time=1 fb5a7a5abd337c7f98a4e0b757156e11befa96abffa205330acc7942e24ef144 10:34:41 $ docker rm -f --volumes fb5a7a5abd337c7f98a4e0b757156e11befa96abffa205330acc7942e24ef144 [Pipeline] // withDockerContainer [Pipeline] sh 10:34:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:34:43 Warning: overwriting stash ‘coverage-report’ 10:34:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:34:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:34:45 + ls -al . 10:34:45 total 380 10:34:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 10:26 . 10:34:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:23 .. 10:34:45 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 10:23 .dockerignore 10:34:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 10:23 .git 10:34:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:23 .github 10:34:45 -rw-rw-r-- 1 jenkins jenkins 137 Sep 30 10:23 .gitignore 10:34:45 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 10:23 .golangci.yml 10:34:45 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 30 10:23 CHANGELOG.md 10:34:45 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 10:23 GOVERNANCE.md 10:34:45 -rw-rw-r-- 1 jenkins jenkins 885 Sep 30 10:23 Jenkinsfile 10:34:45 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 10:23 LICENSE 10:34:45 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 30 10:23 Makefile 10:34:45 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 10:23 OWNERS.md 10:34:45 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 30 10:23 README.md 10:34:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 10:20 VERSION 10:34:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 10:23 bin 10:34:45 -rw-r--r-- 1 jenkins jenkins 128347 Sep 30 10:31 coverage.out 10:34:45 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 10:23 example 10:34:45 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 30 10:23 go.mod 10:34:45 -rw-rw-r-- 1 jenkins jenkins 101462 Sep 30 10:23 go.sum 10:34:45 drwxrwxr-x 13 jenkins jenkins 4096 Sep 30 10:23 internal 10:34:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:23 openapi 10:34:45 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 10:23 pkg 10:34:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:23 snap 10:34:45 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 10:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:45 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=30cc33d0422f8edd5fdc92203c4d411a26486f52 --label arch=arm64 --label version=0.0.0 . 10:34:46 Sending build context to Docker daemon 13.26MB 10:34:46 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 10:34:46 Step 2/24 : FROM ${BASE} AS builder 10:34:46 ---> e9fb4ea72f30 10:34:46 Step 3/24 : ARG MAKE=make build 10:34:46 ---> Running in 3a1e1bf04078 10:34:46 Removing intermediate container 3a1e1bf04078 10:34:46 ---> d945e9c173cf 10:34:46 Step 4/24 : WORKDIR /device-sdk-go 10:34:46 ---> Running in d2abd86eb026 10:34:47 Removing intermediate container d2abd86eb026 10:34:47 ---> c0506f557ce4 10:34:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:34:47 ---> Running in da50363b7849 10:34:47 Removing intermediate container da50363b7849 10:34:47 ---> 45e2aa19e543 10:34:47 Step 6/24 : RUN apk add --update --no-cache make git 10:34:47 ---> Running in fd3dd0e0e505 10:34:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:34:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:34:49 OK: 266 MiB in 52 packages 10:34:50 Removing intermediate container fd3dd0e0e505 10:34:50 ---> fb56e366bbce 10:34:50 Step 7/24 : COPY go.mod vendor* ./ 10:34:51 ---> 9ebb0f803b4c 10:34:51 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:34:51 ---> Running in b2f11a262049 10:34:53 Removing intermediate container b2f11a262049 10:34:53 ---> be5c023561ed 10:34:53 Step 9/24 : COPY . . 10:34:55 ---> a9f61e78d163 10:34:55 Step 10/24 : RUN ${MAKE} 10:34:55 ---> Running in cc9d6fde4f06 10:34:55 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:38:17 Removing intermediate container cc9d6fde4f06 10:38:17 ---> ff7f9c760607 10:38:17 Step 11/24 : FROM alpine:3.18 10:38:17 3.18: Pulling from library/alpine 10:38:17 720f3032cd11: Pulling fs layer 10:38:17 720f3032cd11: Download complete 10:38:17 720f3032cd11: Pull complete 10:38:17 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 10:38:17 Status: Downloaded newer image for alpine:3.18 10:38:17 ---> 3e834921e367 10:38:17 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:38:17 ---> Running in ebb0c9900706 10:38:17 Removing intermediate container ebb0c9900706 10:38:17 ---> 6e6b199227ce 10:38:17 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:38:17 ---> Running in bff98681f21c 10:38:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:38:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:38:19 (1/1) Installing dumb-init (1.2.5-r2) 10:38:19 Executing busybox-1.36.1-r7.trigger 10:38:19 OK: 8 MiB in 16 packages 10:38:20 Removing intermediate container bff98681f21c 10:38:20 ---> d46276295bf6 10:38:20 Step 14/24 : RUN apk --no-cache upgrade 10:38:20 ---> Running in 3b90864fa849 10:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:38:22 OK: 8 MiB in 16 packages 10:38:23 Removing intermediate container 3b90864fa849 10:38:23 ---> 903e17d844c3 10:38:23 Step 15/24 : WORKDIR / 10:38:23 ---> Running in 38a906c3b342 10:38:23 Removing intermediate container 38a906c3b342 10:38:23 ---> 2cae7e66316f 10:38:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:38:24 ---> e6e3a7d81079 10:38:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:38:26 ---> 24710e7ec6dd 10:38:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:38:27 ---> 8b68c6db87a4 10:38:27 Step 19/24 : EXPOSE 59999 10:38:27 ---> Running in 63d047406107 10:38:27 Removing intermediate container 63d047406107 10:38:27 ---> 326a2029155a 10:38:27 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:38:27 ---> Running in 24f8f7a00716 10:38:27 Removing intermediate container 24f8f7a00716 10:38:27 ---> 3a65eb0f049e 10:38:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:38:27 ---> Running in b72078428a00 10:38:28 Removing intermediate container b72078428a00 10:38:28 ---> 9ac1813342ee 10:38:28 Step 22/24 : LABEL arch=arm64 10:38:28 ---> Running in 762a15e0830e 10:38:28 Removing intermediate container 762a15e0830e 10:38:28 ---> 07fc5d9437ab 10:38:28 Step 23/24 : LABEL git_sha=30cc33d0422f8edd5fdc92203c4d411a26486f52 10:38:28 ---> Running in f83b5e82bec2 10:38:28 Removing intermediate container f83b5e82bec2 10:38:28 ---> 1f9d413192b7 10:38:28 Step 24/24 : LABEL version=0.0.0 10:38:28 ---> Running in e2a6db5d7edd 10:38:29 Removing intermediate container e2a6db5d7edd 10:38:29 ---> eb4fa409f7b7 10:38:29 [Warning] One or more build-args [ARCH] were not consumed 10:38:29 Successfully built eb4fa409f7b7 10:38:29 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:38:30 10:38:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:38:30 arm64: Pulling from edgex-lftools-log-publisher 10:38:30 8998bd30e6a1: Pulling fs layer 10:38:30 04944245beec: Pulling fs layer 10:38:30 699f458cf7ca: Pulling fs layer 10:38:30 765212b225bb: Pulling fs layer 10:38:30 f23df028b6ca: Pulling fs layer 10:38:30 765212b225bb: Waiting 10:38:30 d65c8cfc05b1: Pulling fs layer 10:38:30 2437ff75d9bd: Pulling fs layer 10:38:30 f23df028b6ca: Waiting 10:38:30 2437ff75d9bd: Waiting 10:38:30 04944245beec: Verifying Checksum 10:38:30 04944245beec: Download complete 10:38:30 765212b225bb: Verifying Checksum 10:38:30 765212b225bb: Download complete 10:38:30 f23df028b6ca: Verifying Checksum 10:38:30 f23df028b6ca: Download complete 10:38:30 d65c8cfc05b1: Verifying Checksum 10:38:30 d65c8cfc05b1: Download complete 10:38:31 699f458cf7ca: Verifying Checksum 10:38:31 699f458cf7ca: Download complete 10:38:31 8998bd30e6a1: Download complete 10:38:34 2437ff75d9bd: Verifying Checksum 10:38:34 2437ff75d9bd: Download complete 10:38:35 8998bd30e6a1: Pull complete 10:38:36 04944245beec: Pull complete 10:38:37 699f458cf7ca: Pull complete 10:38:38 765212b225bb: Pull complete 10:38:39 f23df028b6ca: Pull complete 10:38:39 d65c8cfc05b1: Pull complete 10:38:57 2437ff75d9bd: Pull complete 10:38:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:38:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:58 prd-ubuntu20.04-docker-arm64-4c-16g-12104 does not seem to be running inside a container 10:38:58 $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:39:00 $ docker top 76b365624dca8af3024b9d4d9a9096f749c48c88a15d235ed0a60a8d80817a44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:01 ---> job-cost.sh 10:39:01 lf-activate-venv: SKIPPING 10:39:01 INFO: No Stack... 10:39:02 INFO: Retrieving Pricing Info for: v3-standard-4 10:39:02 INFO: Archiving Costs [Pipeline] sh 10:39:03 + cut -d, -f6 10:39:03 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 10:39:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] 10:39:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] did not exist. Created. 10:39:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:39:04 /w/workspace/device-sdk-go/1@tmp/durable-8493ce71/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:39:05 + echo total: 0.10999999940395355 [Pipeline] stash 10:39:05 Warning: overwriting stash ‘stack-cost’ 10:39:05 Stashed 1 file(s) [Pipeline] } 10:39:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:39:05 $ docker stop --time=1 76b365624dca8af3024b9d4d9a9096f749c48c88a15d235ed0a60a8d80817a44 10:39:06 $ docker rm -f --volumes 76b365624dca8af3024b9d4d9a9096f749c48c88a15d235ed0a60a8d80817a44 [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 10:39:08 provisioning config files... 10:39:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config10374489364881905649tmp [Pipeline] { [Pipeline] sh 10:39:08 + set +x 10:39:08 + + bash -s -- 10:39:08 curl -s https://codecov.io/bash 10:39:08 10:39:08 _____ _ 10:39:08 / ____| | | 10:39:08 | | ___ __| | ___ ___ _____ __ 10:39:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:39:08 | |___| (_) | (_| | __/ (_| (_) \ V / 10:39:08 \_____\___/ \__,_|\___|\___\___/ \_/ 10:39:08 Bash-1.0.6 10:39:08 10:39:08 10:39:08 ==> git version 2.25.1 found 10:39:08 ==> 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 10:39:08 Release-Date: 2020-01-08 10:39:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:39:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:39:08 ==> Jenkins CI detected. 10:39:08 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1628 10:39:08 project root: . 10:39:08 --> token set from env 10:39:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:39:08 ==> Running gcov in . (disable via -X gcov) 10:39:08 ==> Python coveragepy not found 10:39:08 ==> Searching for coverage reports in: 10:39:08 + . 10:39:08 -> Found 1 reports 10:39:08 ==> Detecting git/mercurial file structure 10:39:08 ==> Reading reports 10:39:08 + ./coverage.out bytes=128347 10:39:08 ==> Appending adjustments 10:39:08 https://docs.codecov.io/docs/fixing-reports 10:39:09 + Found adjustments 10:39:09 ==> Gzipping contents 10:39:09 20K /tmp/codecov.k0ge8t.gz 10:39:09 ==> Uploading reports 10:39:09 url: https://codecov.io 10:39:09 query: branch=PR-1628&commit=30cc33d0422f8edd5fdc92203c4d411a26486f52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= 10:39:09 -> Pinging Codecov 10:39:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1628&commit=30cc33d0422f8edd5fdc92203c4d411a26486f52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= 10:39:09 -> Uploading to 10:39:09 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/30cc33d0422f8edd5fdc92203c4d411a26486f52/e7e1c18c-f3dc-4570-9b98-5d2e91cfd59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20240930%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20240930T103909Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=370ee907de44078f45c33e89c14668d9d7aa35c5f3c2ae00ba3f598951341979 10:39:09 % Total % Received % Xferd Average Speed Time Time Time Current 10:39:09 Dload Upload Total Spent Left Speed 10:39:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17704 0 0 100 17704 0 74700 --:--:-- --:--:-- --:--:-- 74700 10:39:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] } 10:39:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:39:11 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives ] 10:39:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives 10:39:11 total 16 10:39:11 drwxr-xr-x 3 root root 4096 Sep 30 10:24 . 10:39:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 10:24 .. 10:39:11 drwxr-xr-x 2 root root 4096 Sep 30 10:24 cost 10:39:11 -rw-r--r-- 1 root root 86 Sep 30 10:24 cost.csv 10:39:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives 10:39:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives 10:39:11 total 16 10:39:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 10:24 . 10:39:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 10:24 .. 10:39:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 10:24 cost 10:39:11 -rw-r--r-- 1 jenkins jenkins 86 Sep 30 10:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:39:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:39:13 ---> package-listing.sh 10:39:13 ++ facter osfamily 10:39:13 ++ tr '[:upper:]' '[:lower:]' 10:39:13 + OS_FAMILY=debian 10:39:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1628 10:39:13 + START_PACKAGES=/tmp/packages_start.txt 10:39:13 + END_PACKAGES=/tmp/packages_end.txt 10:39:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:39:13 + PACKAGES=/tmp/packages_start.txt 10:39:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' 10:39:13 + PACKAGES=/tmp/packages_end.txt 10:39:13 + case "${OS_FAMILY}" in 10:39:13 + dpkg -l 10:39:13 + grep '^ii' 10:39:13 + '[' -f /tmp/packages_start.txt ']' 10:39:13 + '[' -f /tmp/packages_end.txt ']' 10:39:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:39:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' 10:39:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ 10:39:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [Pipeline] echo 10:39:13 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-sdk-go_PR-1628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:39:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:39:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:14 prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container 10:39:14 $ 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-sdk-go_PR-1628/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-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:39:14 $ docker top f84580d4eeab2ac907049252dc0f3fc7f5a4bda7d57467f0fb76322ebe8d3562 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:15 + touch /tmp/pre-build-complete [Pipeline] sh 10:39:15 + mkdir -p /var/log/sysstat [Pipeline] sh 10:39:15 + ls /var/log/sa-host 10:39:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:16 provisioning config files... 10:39:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config6501157369144285787tmp [Pipeline] { [Pipeline] echo 10:39:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:39:16 ---> create-netrc.sh [Pipeline] } 10:39:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:39:16 ---> python-tools-install.sh [Pipeline] echo 10:39:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:39:17 ---> sudo-logs.sh 10:39:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:39:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:39:17 ---> job-cost.sh 10:39:17 lf-activate-venv: SKIPPING 10:39:17 DEBUG: total: 0.2199999988079071 10:39:17 INFO: Retrieving Stack Cost... 10:39:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:39:18 INFO: Archiving Costs [Pipeline] echo 10:39:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:39:18 ---> logs-deploy.sh 10:39:18 lf-activate-venv: SKIPPING 10:39:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1628/1 10:39:18 INFO: archiving workspace using pattern(s): 10:39:19 Archives upload complete. 10:39:19 INFO: archiving logs to Nexus