Pull request #1614 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f35974ce7fdb486d71758995b1726d45ec7c2ad0+53be42878d98bd81d8f19abe7357388c82439207 (46707b5be7b97c3356f92423c0e834f5fa80e13b) 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-ssh271212516753373412.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh11076831341142069627.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1614/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-1614/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8949817433899493107.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-1614/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8368804293724566133.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh599824611045745400.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-1614/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-1614/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11861859300498242287.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 590556114a56c6d90cc8043840e039c2f74196dc 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 on ‘prd-ubuntu20.04-docker-8c-8g-7684’ Running on prd-ubuntu20.04-docker-8c-8g-7687 in /w/workspace/gexfoundry_device-sdk-go_PR-1614 [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-1614 # 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 53be42878d98bd81d8f19abe7357388c82439207 into PR head commit f35974ce7fdb486d71758995b1726d45ec7c2ad0 Merge succeeded, producing f35974ce7fdb486d71758995b1726d45ec7c2ad0 Checking out Revision f35974ce7fdb486d71758995b1726d45ec7c2ad0 (PR-1614) > 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/1614/head:refs/remotes/origin/PR-1614 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 Commit message: "fix: Don't run auto events for empty profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:24:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:24:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:24:07 ========================================================= 08:24:07 EdgeX Global Pipelines Version Info 08:24:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:24:08 ------------------- 08:24:08 stable info: 08:24:08 ------------------- 08:24:08 Commited By: Ginny Guan ginny@iotechsys.com 08:24:08 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 08:24:08 Message: update stable to v1.0.260 08:24:08 ------------------- 08:24:08 experimental info: 08:24:08 ------------------- 08:24:08 Commited By: Ginny Guan ginny@iotechsys.com 08:24:08 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 08:24:08 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:24:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:24:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:24:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:24:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1614 [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1614 [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1614 [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f35974c [Pipeline] echo 08:24:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:11 provisioning config files... 08:24:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config7206656033378622429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:11 ---> ****-login.sh 08:24:11 nexus3.edgexfoundry.org:10001 08:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:12 Configure a credential helper to remove this warning. See 08:24:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:12 08:24:12 Login Succeeded 08:24:12 nexus3.edgexfoundry.org:10002 08:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:12 Configure a credential helper to remove this warning. See 08:24:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:12 08:24:12 Login Succeeded 08:24:12 nexus3.edgexfoundry.org:10003 08:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:12 Configure a credential helper to remove this warning. See 08:24:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:12 08:24:12 Login Succeeded 08:24:12 nexus3.edgexfoundry.org:10004 08:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:12 Configure a credential helper to remove this warning. See 08:24:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:12 08:24:12 Login Succeeded 08:24:12 ****.io 08:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:12 Configure a credential helper to remove this warning. See 08:24:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:12 08:24:12 Login Succeeded 08:24:12 ---> ****-login.sh ends [Pipeline] } 08:24:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:24:13 + git rev-list -1 --merges f35974ce7fdb486d71758995b1726d45ec7c2ad0~1..f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo 08:24:13 -----------> git rev-list -1 --merges f35974ce7fdb486d71758995b1726d45ec7c2ad0~1..f35974ce7fdb486d71758995b1726d45ec7c2ad0 f35974ce7fdb486d71758995b1726d45ec7c2ad0 [false] [Pipeline] sh 08:24:13 + git log --format=format:%s -1 f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo 08:24:13 ========================================================= 08:24:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:24:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:14 + git log --format=format:%s -1 f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo 08:24:14 [semverPrep] GIT_COMMIT: f35974ce7fdb486d71758995b1726d45ec7c2ad0, Commit Message: fix: Don't run auto events for empty profile [Pipeline] echo 08:24:14 [semverPrep] This is not a build commit. [Pipeline] sh 08:24:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:24:14 + grep -v github /etc/ssh/ssh_known_hosts 08:24:14 + [ -e /tmp/ssh_known_hosts ] 08:24:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:24:14 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:24:14 sudo tee -a /etc/ssh/ssh_known_hosts 08:24:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:24:15 08:24:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:24:15 0.1.4: Pulling from edgex-devops/py-git-semver 08:24:15 b85a868b505f: Pulling fs layer 08:24:15 e2be974225ed: Pulling fs layer 08:24:15 339a4e72a1f5: Pulling fs layer 08:24:15 988bab9f4d93: Pulling fs layer 08:24:15 1469e6f7b9e6: Pulling fs layer 08:24:15 eaf3925da568: Pulling fs layer 08:24:15 bab4dde63d76: Pulling fs layer 08:24:15 bde34c3a00c8: Pulling fs layer 08:24:15 b352a97aabf1: Pulling fs layer 08:24:15 4872d77fe225: Pulling fs layer 08:24:15 5851b861e8e6: Pulling fs layer 08:24:15 988bab9f4d93: Waiting 08:24:15 1469e6f7b9e6: Waiting 08:24:15 eaf3925da568: Waiting 08:24:15 5851b861e8e6: Waiting 08:24:15 bab4dde63d76: Waiting 08:24:15 bde34c3a00c8: Waiting 08:24:15 b352a97aabf1: Waiting 08:24:15 e2be974225ed: Verifying Checksum 08:24:15 e2be974225ed: Download complete 08:24:15 988bab9f4d93: Verifying Checksum 08:24:15 988bab9f4d93: Download complete 08:24:15 1469e6f7b9e6: Verifying Checksum 08:24:15 1469e6f7b9e6: Download complete 08:24:15 339a4e72a1f5: Verifying Checksum 08:24:15 339a4e72a1f5: Download complete 08:24:15 eaf3925da568: Verifying Checksum 08:24:15 bde34c3a00c8: Verifying Checksum 08:24:15 bde34c3a00c8: Download complete 08:24:16 b352a97aabf1: Download complete 08:24:16 4872d77fe225: Download complete 08:24:16 5851b861e8e6: Verifying Checksum 08:24:16 5851b861e8e6: Download complete 08:24:16 b85a868b505f: Verifying Checksum 08:24:16 b85a868b505f: Download complete 08:24:16 bab4dde63d76: Verifying Checksum 08:24:16 bab4dde63d76: Download complete 08:24:17 b85a868b505f: Pull complete 08:24:17 e2be974225ed: Pull complete 08:24:18 339a4e72a1f5: Pull complete 08:24:18 988bab9f4d93: Pull complete 08:24:18 1469e6f7b9e6: Pull complete 08:24:18 eaf3925da568: Pull complete 08:24:20 bab4dde63d76: Pull complete 08:24:20 bde34c3a00c8: Pull complete 08:24:21 b352a97aabf1: Pull complete 08:24:21 4872d77fe225: Pull complete 08:24:21 5851b861e8e6: Pull complete 08:24:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:24:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:21 prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container 08:24:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@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 08:24:26 $ docker top 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 -eo pid,comm 08:24:26 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). 08:24:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:24:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:26 [ssh-agent] Looking for ssh-agent implementation... 08:24:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:26 $ docker exec 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent 08:24:26 SSH_AUTH_SOCK=/tmp/ssh-fYWVu27WUNdn/agent.32 08:24:26 SSH_AGENT_PID=38 08:24:26 Running ssh-add (command line suppressed) 08:24:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_12583070517028423621.key (/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_12583070517028423621.key) 08:24:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:26 + git tag --points-at HEAD [Pipeline] } 08:24:27 $ docker exec --env ******** --env ******** 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent -k 08:24:27 unset SSH_AUTH_SOCK; 08:24:27 unset SSH_AGENT_PID; 08:24:27 echo Agent pid 38 killed; 08:24:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:24:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:27 [ssh-agent] Looking for ssh-agent implementation... 08:24:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:27 $ docker exec 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent 08:24:27 SSH_AUTH_SOCK=/tmp/ssh-w7XLq78TS3Eh/agent.70 08:24:27 SSH_AGENT_PID=77 08:24:27 Running ssh-add (command line suppressed) 08:24:27 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_11360776953604723685.key (/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_11360776953604723685.key) 08:24:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:27 + git semver init 08:24:28 2024-08-14 08:24:28,136 [run_init] DEBUG init version:0.0.0 force:False 08:24:28 2024-08-14 08:24:28,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver 08:24:28 2024-08-14 08:24:28,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver 08:24:28 2024-08-14 08:24:28,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1614, universal_newlines=False, shell=None, istream=None) 08:24:30 2024-08-14 08:24:30,244 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.git/info/exclude 08:24:30 2024-08-14 08:24:30,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver/PR-1614 with force:False 08:24:30 2024-08-14 08:24:30,244 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver/PR-1614 08:24:30 2024-08-14 08:24:30,249 [execute] INFO git cat-file --batch-check 08:24:30 2024-08-14 08:24:30,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver, universal_newlines=False, shell=None, istream=) 08:24:30 2024-08-14 08:24:30,255 [execute] INFO git cat-file --batch 08:24:30 2024-08-14 08:24:30,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver, universal_newlines=False, shell=None, istream=) 08:24:30 2024-08-14 08:24:30,261 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver/PR-1614 08:24:30 0.0.0 [Pipeline] } 08:24:30 $ docker exec --env ******** --env ******** 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent -k 08:24:30 unset SSH_AUTH_SOCK; 08:24:30 unset SSH_AGENT_PID; 08:24:30 echo Agent pid 77 killed; 08:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:24:31 + git semver [Pipeline] } 08:24:31 $ docker stop --time=1 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 08:24:33 $ docker rm -f --volumes 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 [Pipeline] // withDockerContainer [Pipeline] sh 08:24:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:24:34 Stashed 1 file(s) [Pipeline] echo 08:24:34 [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 08:24:34 provisioning config files... 08:24:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config8275286690557083202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:35 ---> ****-login.sh 08:24:35 nexus3.edgexfoundry.org:10001 08:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:35 Configure a credential helper to remove this warning. See 08:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:35 08:24:35 Login Succeeded 08:24:35 nexus3.edgexfoundry.org:10002 08:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:35 Configure a credential helper to remove this warning. See 08:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:35 08:24:35 Login Succeeded 08:24:35 nexus3.edgexfoundry.org:10003 08:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:35 Configure a credential helper to remove this warning. See 08:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:35 08:24:35 Login Succeeded 08:24:35 nexus3.edgexfoundry.org:10004 08:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:35 Configure a credential helper to remove this warning. See 08:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:35 08:24:35 Login Succeeded 08:24:35 ****.io 08:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:35 Configure a credential helper to remove this warning. See 08:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:35 08:24:35 Login Succeeded 08:24:35 ---> ****-login.sh ends [Pipeline] } 08:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:24:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:24:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:24:36 ========================================================= 08:24:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:24:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:36 + 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 . 08:24:36 Sending build context to Docker daemon 25.18MB 08:24:36 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:24:36 Step 2/10 : FROM ${BASE} AS builder 08:24:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:24:37 619be1103602: Pulling fs layer 08:24:37 7862e08f4a3e: Pulling fs layer 08:24:37 5df492c9dc93: Pulling fs layer 08:24:37 7629e6793208: Pulling fs layer 08:24:37 4f4fb700ef54: Pulling fs layer 08:24:37 7629e6793208: Waiting 08:24:37 fb5054dd5b73: Pulling fs layer 08:24:37 eeca6798cff9: Pulling fs layer 08:24:37 aa269ceb94a6: Pulling fs layer 08:24:37 4f4fb700ef54: Waiting 08:24:37 fb5054dd5b73: Waiting 08:24:37 eeca6798cff9: Waiting 08:24:37 ada007ff1a6a: Pulling fs layer 08:24:37 aa269ceb94a6: Waiting 08:24:37 ada007ff1a6a: Waiting 08:24:37 7862e08f4a3e: Verifying Checksum 08:24:37 7862e08f4a3e: Download complete 08:24:37 7629e6793208: Download complete 08:24:37 4f4fb700ef54: Download complete 08:24:37 fb5054dd5b73: Download complete 08:24:37 619be1103602: Download complete 08:24:37 eeca6798cff9: Verifying Checksum 08:24:37 eeca6798cff9: Download complete 08:24:37 619be1103602: Pull complete 08:24:37 7862e08f4a3e: Pull complete 08:24:37 ada007ff1a6a: Verifying Checksum 08:24:37 ada007ff1a6a: Download complete 08:24:37 5df492c9dc93: Verifying Checksum 08:24:37 5df492c9dc93: Download complete 08:24:38 aa269ceb94a6: Verifying Checksum 08:24:38 aa269ceb94a6: Download complete 08:24:41 5df492c9dc93: Pull complete 08:24:41 7629e6793208: Pull complete 08:24:41 4f4fb700ef54: Pull complete 08:24:41 fb5054dd5b73: Pull complete 08:24:41 eeca6798cff9: Pull complete 08:24:44 aa269ceb94a6: Pull complete 08:24:45 ada007ff1a6a: Pull complete 08:24:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 08:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:24:45 ---> f489d0715acc 08:24:45 Step 3/10 : ARG MAKE=make build 08:24:49 Still waiting to schedule task 08:24:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7685’ 08:24:55 ---> Running in 0f6264e6de70 08:24:55 Removing intermediate container 0f6264e6de70 08:24:55 ---> bf85a02d9fa7 08:24:55 Step 4/10 : WORKDIR /device-sdk-go 08:24:55 ---> Running in 4350e7e72a28 08:24:55 Removing intermediate container 4350e7e72a28 08:24:55 ---> 0e1f100465b5 08:24:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:24:55 ---> Running in 81715e4e0179 08:24:55 Removing intermediate container 81715e4e0179 08:24:55 ---> a187ba241876 08:24:55 Step 6/10 : RUN apk add --update --no-cache make git 08:24:55 ---> Running in c6db2ffc762f 08:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:24:55 OK: 264 MiB in 52 packages 08:24:55 Removing intermediate container c6db2ffc762f 08:24:55 ---> fa286bbe6c74 08:24:55 Step 7/10 : COPY go.mod vendor* ./ 08:24:55 ---> b84c886541c8 08:24:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:24:55 ---> Running in 0229d4cde8f7 08:25:52 Removing intermediate container 0229d4cde8f7 08:25:52 ---> 1d96b736f5b5 08:25:52 Step 9/10 : COPY . . 08:25:52 ---> 4825b82755f7 08:25:52 Step 10/10 : RUN ${MAKE} 08:25:52 ---> Running in 36412b54a475 08:25:52 noop 08:25:52 Removing intermediate container 36412b54a475 08:25:52 ---> 02ffd90b187c 08:25:52 Successfully built 02ffd90b187c 08:25:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:52 + docker inspect -f . ci-base-image-x86_64 08:25:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:53 prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container 08:25:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@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 08:25:53 $ docker top c559b8c0ce258ebb376c0cf59a2b0c7af7474f5b8d8fa4a25032c2f4d578d94d -eo pid,comm [Pipeline] { [Pipeline] sh 08:25:53 + go version 08:25:53 go version go1.21.9 linux/amd64 [Pipeline] } 08:25:53 $ docker stop --time=1 c559b8c0ce258ebb376c0cf59a2b0c7af7474f5b8d8fa4a25032c2f4d578d94d 08:25:55 $ docker rm -f --volumes c559b8c0ce258ebb376c0cf59a2b0c7af7474f5b8d8fa4a25032c2f4d578d94d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:56 + docker inspect -f . ci-base-image-x86_64 08:25:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:56 prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container 08:25:56 $ 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-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@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 08:25:56 $ docker top 6524e5678c93a109660a0dcfc714682cd684454ad53d62c1f0ebc5f2db4a5bd7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:25:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1614 [Pipeline] fileExists [Pipeline] sh 08:25:57 + make test 08:25:57 go test -race -coverprofile=coverage.out ./... 08:26:05 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.020s coverage: 26.0% of statements 08:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.028s coverage: 79.4% of statements 08:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.051s coverage: 86.0% of statements 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 52.2% of statements 08:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements 08:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.284s coverage: 44.6% of statements 08:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.037s coverage: 68.5% of statements 08:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.084s coverage: 89.2% of statements 08:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.4% of statements 08:27:07 GO111MODULE=on go vet ./... 08:27:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:27:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:27:07 ./bin/test-attribution-txt.sh [Pipeline] echo 08:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:27:08 $ docker stop --time=1 6524e5678c93a109660a0dcfc714682cd684454ad53d62c1f0ebc5f2db4a5bd7 08:27:10 $ docker rm -f --volumes 6524e5678c93a109660a0dcfc714682cd684454ad53d62c1f0ebc5f2db4a5bd7 [Pipeline] // withDockerContainer [Pipeline] sh 08:27:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:27:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:27:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:27:12 + ls -al . 08:27:12 total 380 08:27:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 14 08:25 . 08:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:23 .. 08:27:12 -rw-rw-r-- 1 jenkins jenkins 140 Aug 14 08:24 .dockerignore 08:27:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 14 08:26 .git 08:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:24 .github 08:27:12 -rw-rw-r-- 1 jenkins jenkins 137 Aug 14 08:24 .gitignore 08:27:12 -rw-rw-r-- 1 jenkins jenkins 42 Aug 14 08:24 .golangci.yml 08:27:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 14 08:24 .semver 08:27:12 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 14 08:24 CHANGELOG.md 08:27:12 -rw-rw-r-- 1 jenkins jenkins 677 Aug 14 08:24 GOVERNANCE.md 08:27:12 -rw-rw-r-- 1 jenkins jenkins 885 Aug 14 08:24 Jenkinsfile 08:27:12 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 14 08:24 LICENSE 08:27:12 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 14 08:24 Makefile 08:27:12 -rw-rw-r-- 1 jenkins jenkins 619 Aug 14 08:24 OWNERS.md 08:27:12 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 14 08:24 README.md 08:27:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 14 08:24 VERSION 08:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 14 08:24 bin 08:27:12 -rw-r--r-- 1 jenkins jenkins 126055 Aug 14 08:26 coverage.out 08:27:12 drwxrwxr-x 5 jenkins jenkins 4096 Aug 14 08:24 example 08:27:12 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 14 08:24 go.mod 08:27:12 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 14 08:24 go.sum 08:27:12 drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:24 internal 08:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:24 openapi 08:27:12 drwxrwxr-x 6 jenkins jenkins 4096 Aug 14 08:24 pkg 08:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:24 snap 08:27:12 -rw-rw-r-- 1 jenkins jenkins 222 Aug 14 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:12 + 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=f35974ce7fdb486d71758995b1726d45ec7c2ad0 --label arch=amd64 --label version=0.0.0 . 08:27:12 Sending build context to Docker daemon 25.31MB 08:27:12 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 08:27:12 Step 2/24 : FROM ${BASE} AS builder 08:27:12 ---> 02ffd90b187c 08:27:12 Step 3/24 : ARG MAKE=make build 08:27:12 ---> Running in 471602630a9b 08:27:12 Removing intermediate container 471602630a9b 08:27:12 ---> f69a8e39e452 08:27:12 Step 4/24 : WORKDIR /device-sdk-go 08:27:12 ---> Running in 47782d39c546 08:27:12 Removing intermediate container 47782d39c546 08:27:12 ---> bd6d633c233e 08:27:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:27:12 ---> Running in a7196099a564 08:27:13 Removing intermediate container a7196099a564 08:27:13 ---> 5ec54aabb8c9 08:27:13 Step 6/24 : RUN apk add --update --no-cache make git 08:27:13 ---> Running in 5d1047fd7ed2 08:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:27:13 OK: 264 MiB in 52 packages 08:27:14 Removing intermediate container 5d1047fd7ed2 08:27:14 ---> 3cc5f57ee5f5 08:27:14 Step 7/24 : COPY go.mod vendor* ./ 08:27:14 ---> 121d3ee92e72 08:27:14 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:27:14 ---> Running in aed8f7887274 08:27:14 Removing intermediate container aed8f7887274 08:27:14 ---> 85cc2af2edf4 08:27:14 Step 9/24 : COPY . . 08:27:15 ---> c96431d792f2 08:27:15 Step 10/24 : RUN ${MAKE} 08:27:15 ---> Running in 98a63a6e6287 08:27:15 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 08:27:42 Removing intermediate container 98a63a6e6287 08:27:42 ---> f0cd8b7edbe2 08:27:42 Step 11/24 : FROM alpine:3.18 08:27:42 3.18: Pulling from library/alpine 08:27:42 930bdd4d222e: Pulling fs layer 08:27:42 930bdd4d222e: Verifying Checksum 08:27:42 930bdd4d222e: Download complete 08:27:42 930bdd4d222e: Pull complete 08:27:42 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 08:27:42 Status: Downloaded newer image for alpine:3.18 08:27:42 ---> 18f865063206 08:27:42 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:27:42 ---> Running in 97640d2c1f62 08:27:42 Removing intermediate container 97640d2c1f62 08:27:42 ---> 3c70eaf7db07 08:27:42 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:27:42 ---> Running in f6f28b5ad1d3 08:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:27:42 (1/1) Installing dumb-init (1.2.5-r2) 08:27:42 Executing busybox-1.36.1-r7.trigger 08:27:42 OK: 7 MiB in 16 packages 08:27:42 Removing intermediate container f6f28b5ad1d3 08:27:42 ---> a768ca8db30c 08:27:42 Step 14/24 : RUN apk --no-cache upgrade 08:27:42 ---> Running in 8c3427f6575c 08:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:27:42 OK: 7 MiB in 16 packages 08:27:43 Removing intermediate container 8c3427f6575c 08:27:43 ---> 6a47a17bf5e6 08:27:43 Step 15/24 : WORKDIR / 08:27:43 ---> Running in 33333385637b 08:27:43 Removing intermediate container 33333385637b 08:27:43 ---> e4c897c5dde5 08:27:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:27:43 ---> 4ef40598e027 08:27:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:27:44 ---> 32def28cd175 08:27:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:27:44 ---> 68829f1a4cae 08:27:44 Step 19/24 : EXPOSE 59999 08:27:44 ---> Running in a6f6d59a5b5a 08:27:45 Removing intermediate container a6f6d59a5b5a 08:27:45 ---> 0020784d5a54 08:27:45 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:27:45 ---> Running in 0a1d0151225d 08:27:45 Removing intermediate container 0a1d0151225d 08:27:45 ---> ac2b3f2fc2fb 08:27:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:27:45 ---> Running in 0f32e67ddd2c 08:27:45 Removing intermediate container 0f32e67ddd2c 08:27:45 ---> 49d1eb749d1a 08:27:45 Step 22/24 : LABEL arch=amd64 08:27:45 ---> Running in 2618960a5fb2 08:27:45 Removing intermediate container 2618960a5fb2 08:27:45 ---> 6a20a9b8619e 08:27:45 Step 23/24 : LABEL git_sha=f35974ce7fdb486d71758995b1726d45ec7c2ad0 08:27:45 ---> Running in e417ad458986 08:27:45 Removing intermediate container e417ad458986 08:27:45 ---> 93427403a50e 08:27:45 Step 24/24 : LABEL version=0.0.0 08:27:45 ---> Running in 29da65092b77 08:27:45 Removing intermediate container 29da65092b77 08:27:45 ---> 6de10e2fd7fe 08:27:45 [Warning] One or more build-args [ARCH] were not consumed 08:27:45 Successfully built 6de10e2fd7fe 08:27:45 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 08:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:46 08:27:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:46 latest: Pulling from edgex-lftools-log-publisher 08:27:46 5eb5b503b376: Pulling fs layer 08:27:46 5c69ac0246d0: Pulling fs layer 08:27:46 ec43610c2a17: Pulling fs layer 08:27:46 3a2ae6a8a46f: Pulling fs layer 08:27:46 33b1e0a273af: Pulling fs layer 08:27:46 5d3b04190fa2: Pulling fs layer 08:27:46 2f39f015ded8: Pulling fs layer 08:27:46 3a2ae6a8a46f: Waiting 08:27:46 33b1e0a273af: Waiting 08:27:46 5d3b04190fa2: Waiting 08:27:46 2f39f015ded8: Waiting 08:27:46 5c69ac0246d0: Verifying Checksum 08:27:46 5c69ac0246d0: Download complete 08:27:46 3a2ae6a8a46f: Download complete 08:27:46 33b1e0a273af: Verifying Checksum 08:27:46 33b1e0a273af: Download complete 08:27:46 5d3b04190fa2: Verifying Checksum 08:27:46 5d3b04190fa2: Download complete 08:27:46 ec43610c2a17: Verifying Checksum 08:27:46 ec43610c2a17: Download complete 08:27:46 5eb5b503b376: Verifying Checksum 08:27:46 5eb5b503b376: Download complete 08:27:47 2f39f015ded8: Verifying Checksum 08:27:47 2f39f015ded8: Download complete 08:27:48 5eb5b503b376: Pull complete 08:27:48 5c69ac0246d0: Pull complete 08:27:48 ec43610c2a17: Pull complete 08:27:48 3a2ae6a8a46f: Pull complete 08:27:49 33b1e0a273af: Pull complete 08:27:49 5d3b04190fa2: Pull complete 08:27:53 2f39f015ded8: Pull complete 08:27:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:27:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:53 prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container 08:27:53 $ 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-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@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 08:28:05 $ docker top eb8bbec97e49439384e386109bc3097d9b06226bef2fc7f3c93fb1d647264123 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:06 ---> job-cost.sh 08:28:06 lf-activate-venv: SKIPPING 08:28:06 INFO: No Stack... 08:28:06 INFO: Retrieving Pricing Info for: v3-standard-8 08:28:07 INFO: Archiving Costs [Pipeline] sh 08:28:07 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives/cost.csv 08:28:07 + cut -d, -f6 [Pipeline] lock 08:28:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] 08:28:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] did not exist. Created. 08:28:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:28:07 + echo total: 0.2199999988079071 [Pipeline] stash 08:28:07 Stashed 1 file(s) [Pipeline] } 08:28:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:28:08 $ docker stop --time=1 eb8bbec97e49439384e386109bc3097d9b06226bef2fc7f3c93fb1d647264123 08:28:09 $ docker rm -f --volumes eb8bbec97e49439384e386109bc3097d9b06226bef2fc7f3c93fb1d647264123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:28:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7688 in /w/workspace/gexfoundry_device-sdk-go_PR-1614 [Pipeline] { [Pipeline] ws 08:28:25 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:28:28 The recommended git tool is: git 08:28:36 using credential edgex-jenkins-ssh 08:28:36 Cloning the remote Git repository 08:28:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:28:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:28:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:28:36 > git --version # timeout=10 08:28:36 > git --version # 'git version 2.25.1' 08:28:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:28:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:28:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:28:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:28:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:28:42 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1614/head:refs/remotes/origin/PR-1614 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:28:42 Merging remotes/origin/main commit 53be42878d98bd81d8f19abe7357388c82439207 into PR head commit f35974ce7fdb486d71758995b1726d45ec7c2ad0 08:28:43 Merge succeeded, producing f35974ce7fdb486d71758995b1726d45ec7c2ad0 08:28:43 Checking out Revision f35974ce7fdb486d71758995b1726d45ec7c2ad0 (PR-1614) 08:28:42 > git config core.sparsecheckout # timeout=10 08:28:42 > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 08:28:42 > git remote # timeout=10 08:28:42 > git config --get remote.origin.url # timeout=10 08:28:42 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:43 > git merge 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 08:28:43 > git rev-parse HEAD^{commit} # timeout=10 08:28:43 > git config core.sparsecheckout # timeout=10 08:28:43 > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 08:28:46 Commit message: "fix: Don't run auto events for empty profile" 08:28:46 > git --version # timeout=10 08:28:46 > git --version # 'git version 2.25.1' 08:28:46 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:28:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:28:48 % Total % Received % Xferd Average Speed Time Time Time Current 08:28:48 Dload Upload Total Spent Left Speed 08:28:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 08:28:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:28:49 + + sudo teesudo /etc/docker/daemon.new jq 08:28:49 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:28:49 { 08:28:49 "registry-mirrors": [ 08:28:49 "https://nexus3.edgexfoundry.org:10001" 08:28:49 ], 08:28:49 "bip": "10.250.0.254/24", 08:28:49 "hosts": [ 08:28:49 "tcp://0.0.0.0:5555", 08:28:49 "unix:///var/run/docker.sock" 08:28:49 ], 08:28:49 "mtu": 1458, 08:28:49 "selinux-enabled": true, 08:28:49 "seccomp-profile": "/etc/docker/seccomp.json" 08:28:49 } [Pipeline] sh 08:28:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:28:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:29:08 provisioning config files... 08:29:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11157711789847512607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:29:09 ---> ****-login.sh 08:29:09 nexus3.edgexfoundry.org:10001 08:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:09 Configure a credential helper to remove this warning. See 08:29:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:09 08:29:09 Login Succeeded 08:29:09 nexus3.edgexfoundry.org:10002 08:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:10 Configure a credential helper to remove this warning. See 08:29:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:10 08:29:10 Login Succeeded 08:29:10 nexus3.edgexfoundry.org:10003 08:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:10 Configure a credential helper to remove this warning. See 08:29:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:10 08:29:10 Login Succeeded 08:29:10 nexus3.edgexfoundry.org:10004 08:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:11 Configure a credential helper to remove this warning. See 08:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:11 08:29:11 Login Succeeded 08:29:11 ****.io 08:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:29:11 Configure a credential helper to remove this warning. See 08:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:29:11 08:29:11 Login Succeeded 08:29:11 ---> ****-login.sh ends [Pipeline] } 08:29:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:29:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:29:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:29:12 ========================================================= 08:29:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:29:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:13 + 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 . 08:29:13 Sending build context to Docker daemon 13.03MB 08:29:13 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:29:13 Step 2/10 : FROM ${BASE} AS builder 08:29:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:29:14 c6b39de5b339: Pulling fs layer 08:29:14 a69c41024577: Pulling fs layer 08:29:14 d6de4b400683: Pulling fs layer 08:29:14 35cb2a7552d0: Pulling fs layer 08:29:14 4f4fb700ef54: Pulling fs layer 08:29:14 464afbd9ba4c: Pulling fs layer 08:29:14 00f215d4a9da: Pulling fs layer 08:29:14 d496ad576159: Pulling fs layer 08:29:14 35cb2a7552d0: Waiting 08:29:14 4f4fb700ef54: Waiting 08:29:14 464afbd9ba4c: Waiting 08:29:14 00f215d4a9da: Waiting 08:29:14 d496ad576159: Waiting 08:29:14 a69c41024577: Verifying Checksum 08:29:14 a69c41024577: Download complete 08:29:14 35cb2a7552d0: Verifying Checksum 08:29:14 35cb2a7552d0: Download complete 08:29:14 4f4fb700ef54: Verifying Checksum 08:29:14 4f4fb700ef54: Download complete 08:29:14 464afbd9ba4c: Verifying Checksum 08:29:14 464afbd9ba4c: Download complete 08:29:14 c6b39de5b339: Verifying Checksum 08:29:14 c6b39de5b339: Download complete 08:29:14 d496ad576159: Verifying Checksum 08:29:14 d496ad576159: Download complete 08:29:14 c6b39de5b339: Pull complete 08:29:15 a69c41024577: Pull complete 08:29:15 d6de4b400683: Verifying Checksum 08:29:15 d6de4b400683: Download complete 08:29:16 00f215d4a9da: Verifying Checksum 08:29:16 00f215d4a9da: Download complete 08:29:29 d6de4b400683: Pull complete 08:29:29 35cb2a7552d0: Pull complete 08:29:29 4f4fb700ef54: Pull complete 08:29:29 464afbd9ba4c: Pull complete 08:29:39 00f215d4a9da: Pull complete 08:29:39 d496ad576159: Pull complete 08:29:39 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 08:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:29:39 ---> f246e2811388 08:29:39 Step 3/10 : ARG MAKE=make build 08:29:41 ---> Running in 41ccb4a112b7 08:29:41 Removing intermediate container 41ccb4a112b7 08:29:41 ---> b35755d0ad83 08:29:41 Step 4/10 : WORKDIR /device-sdk-go 08:29:41 ---> Running in 6e600f4d13d4 08:29:42 Removing intermediate container 6e600f4d13d4 08:29:42 ---> de7fb03aa042 08:29:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:29:42 ---> Running in 066ff6516408 08:29:43 Removing intermediate container 066ff6516408 08:29:43 ---> 93c6986bc6c6 08:29:43 Step 6/10 : RUN apk add --update --no-cache make git 08:29:43 ---> Running in 24df6677f80f 08:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:29:46 OK: 266 MiB in 52 packages 08:29:47 Removing intermediate container 24df6677f80f 08:29:47 ---> 4aec4deb1d93 08:29:47 Step 7/10 : COPY go.mod vendor* ./ 08:29:48 ---> b424760d3fe0 08:29:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:29:48 ---> Running in 7834453a771f 08:31:39 Removing intermediate container 7834453a771f 08:31:39 ---> 9c98a890025a 08:31:39 Step 9/10 : COPY . . 08:31:39 ---> 5ec79a8ed5e9 08:31:39 Step 10/10 : RUN ${MAKE} 08:31:39 ---> Running in 4445ae480c58 08:31:39 noop 08:31:39 Removing intermediate container 4445ae480c58 08:31:39 ---> 34ee389b290f 08:31:39 Successfully built 34ee389b290f 08:31:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:40 + docker inspect -f . ci-base-image-arm64 08:31:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:40 prd-ubuntu20.04-docker-arm64-4c-16g-7688 does not seem to be running inside a container 08:31:40 $ 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 08:31:41 $ docker top 3c016608c047f8b2443039e847c61daa8e8e658b563c0f54e82e0be46b314155 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:42 + go version 08:31:42 go version go1.21.9 linux/arm64 [Pipeline] } 08:31:42 $ docker stop --time=1 3c016608c047f8b2443039e847c61daa8e8e658b563c0f54e82e0be46b314155 08:31:44 $ docker rm -f --volumes 3c016608c047f8b2443039e847c61daa8e8e658b563c0f54e82e0be46b314155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:45 + docker inspect -f . ci-base-image-arm64 08:31:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:45 prd-ubuntu20.04-docker-arm64-4c-16g-7688 does not seem to be running inside a container 08:31:45 $ 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 08:31:46 $ docker top 43423e87e32e201d14b42d01fb97b12b59b5eaedeb29c5b2bcca0bd90408fec5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 08:31:48 + make test 08:31:48 go test -race -coverprofile=coverage.out ./... 08:32:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:36:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:36:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:36:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:36:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:36:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:36:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.125s coverage: 26.0% of statements 08:36:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.196s coverage: 79.4% of statements 08:36:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:36:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:36:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.274s coverage: 86.0% of statements 08:36:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:36:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.550s coverage: 52.2% of statements 08:36:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.142s coverage: 14.4% of statements 08:36:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.038s coverage: 44.6% of statements 08:36:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:36:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:36:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.337s coverage: 68.5% of statements 08:36:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.380s coverage: 89.2% of statements 08:36:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:36:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.273s coverage: 5.4% of statements 08:36:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:36:50 GO111MODULE=on go vet ./... 08:40:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:40:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:40:57 ./bin/test-attribution-txt.sh [Pipeline] echo 08:40:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:40:58 $ docker stop --time=1 43423e87e32e201d14b42d01fb97b12b59b5eaedeb29c5b2bcca0bd90408fec5 08:41:00 $ docker rm -f --volumes 43423e87e32e201d14b42d01fb97b12b59b5eaedeb29c5b2bcca0bd90408fec5 [Pipeline] // withDockerContainer [Pipeline] sh 08:41:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:41:02 Warning: overwriting stash ‘coverage-report’ 08:41:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:41:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:41:04 + ls -al . 08:41:04 total 376 08:41:04 drwxrwxr-x 10 jenkins jenkins 4096 Aug 14 08:31 . 08:41:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:28 .. 08:41:04 -rw-rw-r-- 1 jenkins jenkins 140 Aug 14 08:28 .dockerignore 08:41:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 14 08:28 .git 08:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:28 .github 08:41:04 -rw-rw-r-- 1 jenkins jenkins 137 Aug 14 08:28 .gitignore 08:41:04 -rw-rw-r-- 1 jenkins jenkins 42 Aug 14 08:28 .golangci.yml 08:41:04 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 14 08:28 CHANGELOG.md 08:41:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 14 08:28 GOVERNANCE.md 08:41:04 -rw-rw-r-- 1 jenkins jenkins 885 Aug 14 08:28 Jenkinsfile 08:41:04 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 14 08:28 LICENSE 08:41:04 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 14 08:28 Makefile 08:41:04 -rw-rw-r-- 1 jenkins jenkins 619 Aug 14 08:28 OWNERS.md 08:41:04 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 14 08:28 README.md 08:41:04 -rw-rw-r-- 1 jenkins jenkins 5 Aug 14 08:24 VERSION 08:41:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 14 08:28 bin 08:41:04 -rw-r--r-- 1 jenkins jenkins 126053 Aug 14 08:36 coverage.out 08:41:04 drwxrwxr-x 5 jenkins jenkins 4096 Aug 14 08:28 example 08:41:04 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 14 08:28 go.mod 08:41:04 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 14 08:28 go.sum 08:41:04 drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:28 internal 08:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:28 openapi 08:41:04 drwxrwxr-x 6 jenkins jenkins 4096 Aug 14 08:28 pkg 08:41:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:28 snap 08:41:04 -rw-rw-r-- 1 jenkins jenkins 222 Aug 14 08:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:05 + 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=f35974ce7fdb486d71758995b1726d45ec7c2ad0 --label arch=arm64 --label version=0.0.0 . 08:41:05 Sending build context to Docker daemon 13.16MB 08:41:05 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 08:41:05 Step 2/24 : FROM ${BASE} AS builder 08:41:05 ---> 34ee389b290f 08:41:05 Step 3/24 : ARG MAKE=make build 08:41:05 ---> Running in 2150d90cf961 08:41:06 Removing intermediate container 2150d90cf961 08:41:06 ---> bb4e0bd1c2b0 08:41:06 Step 4/24 : WORKDIR /device-sdk-go 08:41:06 ---> Running in 82bfeb733022 08:41:06 Removing intermediate container 82bfeb733022 08:41:06 ---> d2119572bdf9 08:41:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:41:06 ---> Running in 7864eeb69864 08:41:07 Removing intermediate container 7864eeb69864 08:41:07 ---> a73a2f1d178d 08:41:07 Step 6/24 : RUN apk add --update --no-cache make git 08:41:07 ---> Running in f8c9133c182c 08:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:41:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:41:09 OK: 266 MiB in 52 packages 08:41:10 Removing intermediate container f8c9133c182c 08:41:10 ---> 3f1bd84bbc7e 08:41:10 Step 7/24 : COPY go.mod vendor* ./ 08:41:10 ---> 815cfe9a6770 08:41:10 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:41:11 ---> Running in 277c894fe2b6 08:41:13 Removing intermediate container 277c894fe2b6 08:41:13 ---> cfcdc830036f 08:41:13 Step 9/24 : COPY . . 08:41:15 ---> ccbbd445189c 08:41:15 Step 10/24 : RUN ${MAKE} 08:41:15 ---> Running in 043f7cdeb825 08:41:15 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 08:45:07 Removing intermediate container 043f7cdeb825 08:45:07 ---> f00d6f055f4f 08:45:07 Step 11/24 : FROM alpine:3.18 08:45:07 3.18: Pulling from library/alpine 08:45:07 4983c3fe2029: Pulling fs layer 08:45:07 4983c3fe2029: Verifying Checksum 08:45:07 4983c3fe2029: Download complete 08:45:07 4983c3fe2029: Pull complete 08:45:07 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 08:45:07 Status: Downloaded newer image for alpine:3.18 08:45:07 ---> a0237000ae83 08:45:07 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:45:07 ---> Running in cc7ddc3421cf 08:45:07 Removing intermediate container cc7ddc3421cf 08:45:07 ---> 7b7e1b96f9bf 08:45:07 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:45:07 ---> Running in 527458600e5f 08:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:45:07 (1/1) Installing dumb-init (1.2.5-r2) 08:45:07 Executing busybox-1.36.1-r7.trigger 08:45:07 OK: 8 MiB in 16 packages 08:45:07 Removing intermediate container 527458600e5f 08:45:07 ---> b6d477b721d5 08:45:07 Step 14/24 : RUN apk --no-cache upgrade 08:45:07 ---> Running in 5ef92faf0188 08:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:45:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:45:08 OK: 8 MiB in 16 packages 08:45:09 Removing intermediate container 5ef92faf0188 08:45:09 ---> 2220a2920dd0 08:45:09 Step 15/24 : WORKDIR / 08:45:09 ---> Running in 8a47ea141591 08:45:09 Removing intermediate container 8a47ea141591 08:45:09 ---> 9ba3a4a2390a 08:45:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:45:10 ---> df036971f680 08:45:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:45:12 ---> db0df793d4fd 08:45:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:45:13 ---> d5f8a2acf81b 08:45:13 Step 19/24 : EXPOSE 59999 08:45:13 ---> Running in 55a625936563 08:45:13 Removing intermediate container 55a625936563 08:45:13 ---> 9b33c7a5a975 08:45:13 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:45:13 ---> Running in 3449ef29e0bc 08:45:14 Removing intermediate container 3449ef29e0bc 08:45:14 ---> 1a5aa15a91f3 08:45:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:45:14 ---> Running in b81a00c7c040 08:45:14 Removing intermediate container b81a00c7c040 08:45:14 ---> d248781685b2 08:45:14 Step 22/24 : LABEL arch=arm64 08:45:14 ---> Running in c52bbb400dac 08:45:14 Removing intermediate container c52bbb400dac 08:45:14 ---> 964338cb2412 08:45:14 Step 23/24 : LABEL git_sha=f35974ce7fdb486d71758995b1726d45ec7c2ad0 08:45:14 ---> Running in 8a377992742c 08:45:15 Removing intermediate container 8a377992742c 08:45:15 ---> 0e1f2c46492c 08:45:15 Step 24/24 : LABEL version=0.0.0 08:45:15 ---> Running in a6df8e705697 08:45:15 Removing intermediate container a6df8e705697 08:45:15 ---> 57182f8ef6bc 08:45:15 [Warning] One or more build-args [ARCH] were not consumed 08:45:15 Successfully built 57182f8ef6bc 08:45:15 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 08:45:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:45:16 08:45:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:45:17 arm64: Pulling from edgex-lftools-log-publisher 08:45:17 8998bd30e6a1: Pulling fs layer 08:45:17 04944245beec: Pulling fs layer 08:45:17 699f458cf7ca: Pulling fs layer 08:45:17 765212b225bb: Pulling fs layer 08:45:17 f23df028b6ca: Pulling fs layer 08:45:17 d65c8cfc05b1: Pulling fs layer 08:45:17 2437ff75d9bd: Pulling fs layer 08:45:17 f23df028b6ca: Waiting 08:45:17 d65c8cfc05b1: Waiting 08:45:17 2437ff75d9bd: Waiting 08:45:17 765212b225bb: Waiting 08:45:17 04944245beec: Verifying Checksum 08:45:17 04944245beec: Download complete 08:45:17 765212b225bb: Verifying Checksum 08:45:17 765212b225bb: Download complete 08:45:17 f23df028b6ca: Verifying Checksum 08:45:17 f23df028b6ca: Download complete 08:45:17 d65c8cfc05b1: Verifying Checksum 08:45:17 d65c8cfc05b1: Download complete 08:45:17 699f458cf7ca: Verifying Checksum 08:45:17 699f458cf7ca: Download complete 08:45:18 8998bd30e6a1: Verifying Checksum 08:45:18 8998bd30e6a1: Download complete 08:45:20 2437ff75d9bd: Verifying Checksum 08:45:20 2437ff75d9bd: Download complete 08:45:22 8998bd30e6a1: Pull complete 08:45:23 04944245beec: Pull complete 08:45:24 699f458cf7ca: Pull complete 08:45:24 765212b225bb: Pull complete 08:45:25 f23df028b6ca: Pull complete 08:45:26 d65c8cfc05b1: Pull complete 08:45:44 2437ff75d9bd: Pull complete 08:45:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:45:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:45:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:44 prd-ubuntu20.04-docker-arm64-4c-16g-7688 does not seem to be running inside a container 08:45:44 $ 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 08:45:47 $ docker top 1b31d04ca91538fbb0e3796fdb7d4bc51fcdc062592b4f87242e9477239abac9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:45:48 ---> job-cost.sh 08:45:48 lf-activate-venv: SKIPPING 08:45:48 INFO: No Stack... 08:45:48 INFO: Retrieving Pricing Info for: v3-standard-4 08:45:49 INFO: Archiving Costs [Pipeline] sh 08:45:50 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 08:45:50 + cut -d, -f6 [Pipeline] lock 08:45:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] 08:45:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] did not exist. Created. 08:45:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:45:51 /w/workspace/device-sdk-go/1@tmp/durable-2b8c07e0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:45:52 + echo total: 0.10999999940395355 [Pipeline] stash 08:45:52 Warning: overwriting stash ‘stack-cost’ 08:45:52 Stashed 1 file(s) [Pipeline] } 08:45:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:45:52 $ docker stop --time=1 1b31d04ca91538fbb0e3796fdb7d4bc51fcdc062592b4f87242e9477239abac9 08:45:53 $ docker rm -f --volumes 1b31d04ca91538fbb0e3796fdb7d4bc51fcdc062592b4f87242e9477239abac9 [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 08:45:55 provisioning config files... 08:45:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config10048680308006304553tmp [Pipeline] { [Pipeline] sh 08:45:55 + set +x 08:45:55 + bash -s -- 08:45:55 + curl -s https://codecov.io/bash 08:45:55 08:45:55 _____ _ 08:45:55 / ____| | | 08:45:55 | | ___ __| | ___ ___ _____ __ 08:45:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:45:55 | |___| (_) | (_| | __/ (_| (_) \ V / 08:45:55 \_____\___/ \__,_|\___|\___\___/ \_/ 08:45:55 Bash-1.0.6 08:45:55 08:45:55 08:45:55 ==> git version 2.25.1 found 08:45:55 ==> 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 08:45:55 Release-Date: 2020-01-08 08:45:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:45:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:45:55 ==> Jenkins CI detected. 08:45:55 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1614 08:45:55 project root: . 08:45:55 --> token set from env 08:45:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:45:55 ==> Running gcov in . (disable via -X gcov) 08:45:55 ==> Python coveragepy not found 08:45:55 ==> Searching for coverage reports in: 08:45:55 + . 08:45:55 -> Found 1 reports 08:45:55 ==> Detecting git/mercurial file structure 08:45:55 ==> Reading reports 08:45:55 + ./coverage.out bytes=126053 08:45:55 ==> Appending adjustments 08:45:55 https://docs.codecov.io/docs/fixing-reports 08:45:56 + Found adjustments 08:45:56 ==> Gzipping contents 08:45:56 20K /tmp/codecov.EJNPu4.gz 08:45:56 ==> Uploading reports 08:45:56 url: https://codecov.io 08:45:56 query: branch=PR-1614&commit=f35974ce7fdb486d71758995b1726d45ec7c2ad0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1614%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1614&job=&cmd_args= 08:45:56 -> Pinging Codecov 08:45:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1614&commit=f35974ce7fdb486d71758995b1726d45ec7c2ad0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1614%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1614&job=&cmd_args= 08:45:56 -> Uploading to 08:45:56 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/f35974ce7fdb486d71758995b1726d45ec7c2ad0/6b81cce0-dc7f-49b0-9159-458a266216db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20240814%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20240814T084556Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a04ac582a481c25c0a9395ac11c344bd8fb08a56860fd594546165e203980546 08:45:56 % Total % Received % Xferd Average Speed Time Time Time Current 08:45:56 Dload Upload Total Spent Left Speed 08:45:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17140 0 0 100 17140 0 83609 --:--:-- --:--:-- --:--:-- 83203 100 17140 0 0 100 17140 0 69959 --:--:-- --:--:-- --:--:-- 69674 08:45:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] } 08:45:56 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 08:45:58 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives ] 08:45:58 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives 08:45:58 total 16 08:45:58 drwxr-xr-x 3 root root 4096 Aug 14 08:28 . 08:45:58 drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:28 .. 08:45:58 drwxr-xr-x 2 root root 4096 Aug 14 08:28 cost 08:45:58 -rw-r--r-- 1 root root 86 Aug 14 08:28 cost.csv 08:45:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives 08:45:58 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives 08:45:58 total 16 08:45:58 drwxr-xr-x 3 jenkins jenkins 4096 Aug 14 08:28 . 08:45:58 drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:28 .. 08:45:58 drwxr-xr-x 2 jenkins jenkins 4096 Aug 14 08:28 cost 08:45:58 -rw-r--r-- 1 jenkins jenkins 86 Aug 14 08:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:45:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:46:00 ---> package-listing.sh 08:46:00 ++ facter osfamily 08:46:00 ++ tr '[:upper:]' '[:lower:]' 08:46:00 + OS_FAMILY=debian 08:46:00 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1614 08:46:00 + START_PACKAGES=/tmp/packages_start.txt 08:46:00 + END_PACKAGES=/tmp/packages_end.txt 08:46:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:46:00 + PACKAGES=/tmp/packages_start.txt 08:46:00 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1614 ']' 08:46:00 + PACKAGES=/tmp/packages_end.txt 08:46:00 + case "${OS_FAMILY}" in 08:46:00 + dpkg -l 08:46:00 + grep '^ii' 08:46:00 + '[' -f /tmp/packages_start.txt ']' 08:46:00 + '[' -f /tmp/packages_end.txt ']' 08:46:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:46:00 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1614 ']' 08:46:00 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives/ 08:46:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives/ [Pipeline] echo 08:46:00 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-1614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:46:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:46:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:01 prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container 08:46:01 $ 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-1614/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-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@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 08:46:01 $ docker top c511e281e6f9e9a93b958639eba0ffde63f97ea9197e282b8b14b4003b887d3d -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:02 + touch /tmp/pre-build-complete [Pipeline] sh 08:46:02 + mkdir -p /var/log/sysstat [Pipeline] sh 08:46:02 + ls /var/log/sa-host 08:46:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:03 provisioning config files... 08:46:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config5950496469725411081tmp [Pipeline] { [Pipeline] echo 08:46:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:46:03 ---> create-netrc.sh [Pipeline] } 08:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:46:04 ---> python-tools-install.sh [Pipeline] echo 08:46:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:46:04 ---> sudo-logs.sh 08:46:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:46:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:46:04 ---> job-cost.sh 08:46:04 lf-activate-venv: SKIPPING 08:46:04 DEBUG: total: 0.2199999988079071 08:46:04 INFO: Retrieving Stack Cost... 08:46:05 INFO: Retrieving Pricing Info for: v3-standard-8 08:46:05 INFO: Archiving Costs [Pipeline] echo 08:46:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:46:06 ---> logs-deploy.sh 08:46:06 lf-activate-venv: SKIPPING 08:46:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1614/1 08:46:06 INFO: archiving workspace using pattern(s): 08:46:07 Archives upload complete. 08:46:07 INFO: archiving logs to Nexus