Branch indexing 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+85278c73853f3bd4b620ac341e15b8756b181622 (4a961708593670e9025587cffc022af0b8715fd9) 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-ssh9817836945096096296.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15251002437771913970.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12569353718013911834.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh12641425189187569910.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7984674852647638269.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1567 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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 > 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85278c73853f3bd4b620ac341e15b8756b181622 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing f2f81cf9deba556a40f2d8be7bc873cf74430f3c Checking out Revision f2f81cf9deba556a40f2d8be7bc873cf74430f3c (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2f81cf9deba556a40f2d8be7bc873cf74430f3c # timeout=10 Commit message: "Merge commit '85278c73853f3bd4b620ac341e15b8756b181622' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 26719909bbadee2a0eac166024d3f112ccc7cc54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:23 ========================================================= 18:42:23 EdgeX Global Pipelines Version Info 18:42:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:24 ------------------- 18:42:24 stable info: 18:42:24 ------------------- 18:42:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:42:24 Message: update stable to v1.0.258 18:42:25 ------------------- 18:42:25 experimental info: 18:42:25 ------------------- 18:42:25 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:42:25 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2f81cf [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:26 provisioning config files... 18:42:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config17503488868243804566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:26 ---> ****-login.sh 18:42:26 nexus3.edgexfoundry.org:10001 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10002 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10003 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10004 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 ****.io 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 ---> ****-login.sh ends [Pipeline] } 18:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:29 + git rev-list -1 --merges f2f81cf9deba556a40f2d8be7bc873cf74430f3c~1..f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo 18:42:29 -----------> git rev-list -1 --merges f2f81cf9deba556a40f2d8be7bc873cf74430f3c~1..f2f81cf9deba556a40f2d8be7bc873cf74430f3c f2f81cf9deba556a40f2d8be7bc873cf74430f3c 18:42:29 f2f81cf9deba556a40f2d8be7bc873cf74430f3c [false] [Pipeline] sh 18:42:29 + git log --format=format:%s -1 f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo 18:42:29 ========================================================= 18:42:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:30 + git log --format=format:%s -1 f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo 18:42:30 [semverPrep] GIT_COMMIT: f2f81cf9deba556a40f2d8be7bc873cf74430f3c, Commit Message: Merge commit '85278c73853f3bd4b620ac341e15b8756b181622' into HEAD [Pipeline] echo 18:42:30 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:30 + grep -v github /etc/ssh/ssh_known_hosts 18:42:30 + [ -e /tmp/ssh_known_hosts ] 18:42:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:30 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:30 18:42:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:31 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:31 b85a868b505f: Pulling fs layer 18:42:31 e2be974225ed: Pulling fs layer 18:42:31 339a4e72a1f5: Pulling fs layer 18:42:31 988bab9f4d93: Pulling fs layer 18:42:31 1469e6f7b9e6: Pulling fs layer 18:42:31 eaf3925da568: Pulling fs layer 18:42:31 bab4dde63d76: Pulling fs layer 18:42:31 bde34c3a00c8: Pulling fs layer 18:42:31 b352a97aabf1: Pulling fs layer 18:42:31 4872d77fe225: Pulling fs layer 18:42:31 5851b861e8e6: Pulling fs layer 18:42:31 988bab9f4d93: Waiting 18:42:31 1469e6f7b9e6: Waiting 18:42:31 eaf3925da568: Waiting 18:42:31 bde34c3a00c8: Waiting 18:42:31 b352a97aabf1: Waiting 18:42:31 4872d77fe225: Waiting 18:42:31 bab4dde63d76: Waiting 18:42:31 e2be974225ed: Verifying Checksum 18:42:31 e2be974225ed: Download complete 18:42:31 988bab9f4d93: Download complete 18:42:31 1469e6f7b9e6: Verifying Checksum 18:42:31 1469e6f7b9e6: Download complete 18:42:31 eaf3925da568: Verifying Checksum 18:42:31 eaf3925da568: Download complete 18:42:31 339a4e72a1f5: Verifying Checksum 18:42:31 339a4e72a1f5: Download complete 18:42:31 bde34c3a00c8: Verifying Checksum 18:42:31 bde34c3a00c8: Download complete 18:42:31 b352a97aabf1: Download complete 18:42:31 4872d77fe225: Verifying Checksum 18:42:31 4872d77fe225: Download complete 18:42:31 5851b861e8e6: Verifying Checksum 18:42:31 5851b861e8e6: Download complete 18:42:31 b85a868b505f: Verifying Checksum 18:42:31 b85a868b505f: Download complete 18:42:31 bab4dde63d76: Verifying Checksum 18:42:31 bab4dde63d76: Download complete 18:42:32 b85a868b505f: Pull complete 18:42:32 e2be974225ed: Pull complete 18:42:33 339a4e72a1f5: Pull complete 18:42:33 988bab9f4d93: Pull complete 18:42:33 1469e6f7b9e6: Pull complete 18:42:33 eaf3925da568: Pull complete 18:42:36 bab4dde63d76: Pull complete 18:42:36 bde34c3a00c8: Pull complete 18:42:36 b352a97aabf1: Pull complete 18:42:36 4872d77fe225: Pull complete 18:42:37 5851b861e8e6: Pull complete 18:42:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:37 prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container 18:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:44 $ docker top ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 -eo pid,comm 18:42:44 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). 18:42:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:44 [ssh-agent] Looking for ssh-agent implementation... 18:42:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:44 $ docker exec ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent 18:42:44 SSH_AUTH_SOCK=/tmp/ssh-xpDtO1KfuRTN/agent.14 18:42:44 SSH_AGENT_PID=20 18:42:44 Running ssh-add (command line suppressed) 18:42:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_8853722220381676673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_8853722220381676673.key) 18:42:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:45 + git tag --points-at HEAD [Pipeline] } 18:42:45 $ docker exec --env ******** --env ******** ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent -k 18:42:45 unset SSH_AUTH_SOCK; 18:42:45 unset SSH_AGENT_PID; 18:42:45 echo Agent pid 20 killed; 18:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:45 [ssh-agent] Looking for ssh-agent implementation... 18:42:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:45 $ docker exec ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent 18:42:45 SSH_AUTH_SOCK=/tmp/ssh-PCD0xXXd3mz9/agent.71 18:42:45 SSH_AGENT_PID=77 18:42:45 Running ssh-add (command line suppressed) 18:42:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_3385816638666997800.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_3385816638666997800.key) 18:42:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:46 + git semver init 18:42:46 2023-11-28 18:42:46,700 [run_init] DEBUG init version:0.0.0 force:False 18:42:46 2023-11-28 18:42:46,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:42:46 2023-11-28 18:42:46,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:42:46 2023-11-28 18:42:46,702 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) 18:42:48 2023-11-28 18:42:48,398 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude 18:42:48 2023-11-28 18:42:48,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False 18:42:48 2023-11-28 18:42:48,398 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:42:48 2023-11-28 18:42:48,403 [execute] INFO git cat-file --batch-check 18:42:48 2023-11-28 18:42:48,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:42:48 2023-11-28 18:42:48,410 [execute] INFO git cat-file --batch 18:42:48 2023-11-28 18:42:48,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:42:48 2023-11-28 18:42:48,415 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:42:48 0.0.0 [Pipeline] } 18:42:48 $ docker exec --env ******** --env ******** ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent -k 18:42:48 unset SSH_AUTH_SOCK; 18:42:48 unset SSH_AGENT_PID; 18:42:48 echo Agent pid 77 killed; 18:42:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:49 + git semver [Pipeline] } 18:42:49 $ docker stop --time=1 ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 18:42:50 $ docker rm -f --volumes ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:51 Stashed 1 file(s) [Pipeline] echo 18:42:51 [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 18:42:52 provisioning config files... 18:42:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config317087004499388586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:52 ---> ****-login.sh 18:42:52 nexus3.edgexfoundry.org:10001 18:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:52 Configure a credential helper to remove this warning. See 18:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:52 18:42:52 Login Succeeded 18:42:52 nexus3.edgexfoundry.org:10002 18:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:52 Configure a credential helper to remove this warning. See 18:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:52 18:42:52 Login Succeeded 18:42:52 nexus3.edgexfoundry.org:10003 18:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:52 Configure a credential helper to remove this warning. See 18:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:52 18:42:52 Login Succeeded 18:42:52 nexus3.edgexfoundry.org:10004 18:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:52 Configure a credential helper to remove this warning. See 18:42:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:52 18:42:52 Login Succeeded 18:42:52 ****.io 18:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:53 Configure a credential helper to remove this warning. See 18:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:53 18:42:53 Login Succeeded 18:42:53 ---> ****-login.sh ends [Pipeline] } 18:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:53 ========================================================= 18:42:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:42:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:53 + 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 . 18:42:53 Sending build context to Docker daemon 21.87MB 18:42:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:42:53 Step 2/10 : FROM ${BASE} AS builder 18:42:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:54 7264a8db6415: Pulling fs layer 18:42:54 c4d48a809fc2: Pulling fs layer 18:42:54 4f1c88b9dad5: Pulling fs layer 18:42:54 ad3a456e5733: Pulling fs layer 18:42:54 69c7f0334f64: Pulling fs layer 18:42:54 1f1c1a5573a3: Pulling fs layer 18:42:54 ce7588e14bc9: Pulling fs layer 18:42:54 b5e4710f87ac: Pulling fs layer 18:42:54 69c7f0334f64: Waiting 18:42:54 1f1c1a5573a3: Waiting 18:42:54 ce7588e14bc9: Waiting 18:42:54 b5e4710f87ac: Waiting 18:42:54 ad3a456e5733: Waiting 18:42:54 c4d48a809fc2: Download complete 18:42:54 ad3a456e5733: Verifying Checksum 18:42:54 ad3a456e5733: Download complete 18:42:54 69c7f0334f64: Download complete 18:42:54 7264a8db6415: Verifying Checksum 18:42:54 7264a8db6415: Download complete 18:42:54 1f1c1a5573a3: Verifying Checksum 18:42:54 1f1c1a5573a3: Download complete 18:42:54 7264a8db6415: Pull complete 18:42:54 b5e4710f87ac: Verifying Checksum 18:42:54 b5e4710f87ac: Download complete 18:42:54 c4d48a809fc2: Pull complete 18:42:54 4f1c88b9dad5: Verifying Checksum 18:42:54 4f1c88b9dad5: Download complete 18:42:54 ce7588e14bc9: Verifying Checksum 18:42:54 ce7588e14bc9: Download complete 18:42:58 4f1c88b9dad5: Pull complete 18:42:58 ad3a456e5733: Pull complete 18:42:58 69c7f0334f64: Pull complete 18:42:58 1f1c1a5573a3: Pull complete 18:43:00 ce7588e14bc9: Pull complete 18:43:00 b5e4710f87ac: Pull complete 18:43:00 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:43:00 ---> 88b5674ff536 18:43:00 Step 3/10 : ARG MAKE=make build 18:43:06 Still waiting to schedule task 18:43:06 ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:43:06 ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:43:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1568’ is offline 18:43:11 ---> Running in 4800228455b7 18:43:11 Removing intermediate container 4800228455b7 18:43:11 ---> 67b7d93c82e3 18:43:11 Step 4/10 : WORKDIR /device-sdk-go 18:43:11 ---> Running in 79a98697ff87 18:43:11 Removing intermediate container 79a98697ff87 18:43:11 ---> 5929c18ab45a 18:43:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:11 ---> Running in 0576b1543b5e 18:43:11 Removing intermediate container 0576b1543b5e 18:43:11 ---> 41684cf6b61a 18:43:11 Step 6/10 : RUN apk add --update --no-cache make git 18:43:11 ---> Running in 3df47731c01f 18:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:43:11 OK: 264 MiB in 52 packages 18:43:11 Removing intermediate container 3df47731c01f 18:43:11 ---> 09199f088eba 18:43:11 Step 7/10 : COPY go.mod vendor* ./ 18:43:12 ---> 484a74df3322 18:43:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:12 ---> Running in f3a694c58d3b 18:43:53 Removing intermediate container f3a694c58d3b 18:43:53 ---> ad150dfe2e58 18:43:53 Step 9/10 : COPY . . 18:43:53 ---> 389c7141b9c1 18:43:53 Step 10/10 : RUN ${MAKE} 18:43:53 ---> Running in e16b22bde028 18:43:53 noop 18:43:53 Removing intermediate container e16b22bde028 18:43:53 ---> e57dc84cc2c7 18:43:53 Successfully built e57dc84cc2c7 18:43:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:53 + docker inspect -f . ci-base-image-x86_64 18:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:53 prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container 18:43:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:54 $ docker top 3b570e0eb093d50b0e0a815e51bff2a9309ad61212b42efcf67cb25bc377c41f -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:54 + go version 18:43:54 go version go1.21.0 linux/amd64 [Pipeline] } 18:43:54 $ docker stop --time=1 3b570e0eb093d50b0e0a815e51bff2a9309ad61212b42efcf67cb25bc377c41f 18:43:55 $ docker rm -f --volumes 3b570e0eb093d50b0e0a815e51bff2a9309ad61212b42efcf67cb25bc377c41f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:56 + docker inspect -f . ci-base-image-x86_64 18:43:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:56 prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container 18:43: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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:56 $ docker top 97c94ccb997cf1fea964e90629c2754325cabefcb1ae966c863c2b3b54bc3c0f -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh 18:43:57 + make test 18:43:57 go test -race -coverprofile=coverage.out ./... 18:44:05 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:44:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:44:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:44:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.048s coverage: 27.6% of statements 18:44:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:44:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements 18:44:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.072s coverage: 86.0% of statements 18:44:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.095s coverage: 71.8% of statements 18:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements 18:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.402s coverage: 45.9% of statements 18:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements 18:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.115s coverage: 89.2% of statements 18:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements 18:44:53 GO111MODULE=on go vet ./... 18:44:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:55 ./bin/test-attribution-txt.sh [Pipeline] echo 18:44:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:44:55 $ docker stop --time=1 97c94ccb997cf1fea964e90629c2754325cabefcb1ae966c863c2b3b54bc3c0f 18:44:59 $ docker rm -f --volumes 97c94ccb997cf1fea964e90629c2754325cabefcb1ae966c863c2b3b54bc3c0f [Pipeline] // withDockerContainer [Pipeline] sh 18:45:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:01 + ls -al . 18:45:01 total 308 18:45:01 drwxrwxr-x 11 jenkins jenkins 4096 Nov 28 18:43 . 18:45:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:42 .. 18:45:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 18:42 .dockerignore 18:45:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:44 .git 18:45:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:42 .github 18:45:01 -rw-rw-r-- 1 jenkins jenkins 137 Nov 28 18:42 .gitignore 18:45:01 -rw-rw-r-- 1 jenkins jenkins 42 Nov 28 18:42 .golangci.yml 18:45:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:42 .semver 18:45:01 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 28 18:42 CHANGELOG.md 18:45:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:42 GOVERNANCE.md 18:45:01 -rw-rw-r-- 1 jenkins jenkins 885 Nov 28 18:42 Jenkinsfile 18:45:01 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 28 18:42 LICENSE 18:45:01 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 28 18:42 Makefile 18:45:01 -rw-rw-r-- 1 jenkins jenkins 619 Nov 28 18:42 OWNERS.md 18:45:01 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 28 18:42 README.md 18:45:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:42 VERSION 18:45:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:42 bin 18:45:01 -rw-r--r-- 1 jenkins jenkins 122153 Nov 28 18:44 coverage.out 18:45:01 drwxrwxr-x 5 jenkins jenkins 4096 Nov 28 18:42 example 18:45:01 -rw-rw-r-- 1 jenkins jenkins 3719 Nov 28 18:42 go.mod 18:45:01 -rw-rw-r-- 1 jenkins jenkins 34269 Nov 28 18:42 go.sum 18:45:01 drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:42 internal 18:45:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:42 openapi 18:45:01 drwxrwxr-x 6 jenkins jenkins 4096 Nov 28 18:42 pkg 18:45:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:42 snap 18:45:01 -rw-rw-r-- 1 jenkins jenkins 222 Nov 28 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:01 + 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=f2f81cf9deba556a40f2d8be7bc873cf74430f3c --label arch=amd64 --label version=0.0.0 . 18:45:01 Sending build context to Docker daemon 21.99MB 18:45:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:45:01 Step 2/24 : FROM ${BASE} AS builder 18:45:01 ---> e57dc84cc2c7 18:45:01 Step 3/24 : ARG MAKE=make build 18:45:02 ---> Running in b06a1f465604 18:45:02 Removing intermediate container b06a1f465604 18:45:02 ---> 1c9c1851ac91 18:45:02 Step 4/24 : WORKDIR /device-sdk-go 18:45:02 ---> Running in ac3d2212d168 18:45:03 Removing intermediate container ac3d2212d168 18:45:03 ---> bc0f2000c2bb 18:45:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:45:03 ---> Running in c65e08f8b383 18:45:03 Removing intermediate container c65e08f8b383 18:45:03 ---> 319d70daf378 18:45:03 Step 6/24 : RUN apk add --update --no-cache make git 18:45:03 ---> Running in 7c5fc4097c31 18:45:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:45:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:45:05 OK: 264 MiB in 52 packages 18:45:06 Removing intermediate container 7c5fc4097c31 18:45:06 ---> 29c544459695 18:45:06 Step 7/24 : COPY go.mod vendor* ./ 18:45:06 ---> f41596adc834 18:45:06 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:06 ---> Running in 2616e9a74b45 18:45:06 Removing intermediate container 2616e9a74b45 18:45:06 ---> ecef0c2be41f 18:45:06 Step 9/24 : COPY . . 18:45:07 ---> d76fc1e99a5e 18:45:07 Step 10/24 : RUN ${MAKE} 18:45:07 ---> Running in 498299b61ba3 18:45:07 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 18:45:29 Removing intermediate container 498299b61ba3 18:45:29 ---> bff3f7e8f048 18:45:29 Step 11/24 : FROM alpine:3.18 18:45:29 3.18: Pulling from library/alpine 18:45:29 96526aa774ef: Pulling fs layer 18:45:29 96526aa774ef: Verifying Checksum 18:45:29 96526aa774ef: Download complete 18:45:29 96526aa774ef: Pull complete 18:45:29 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:45:29 Status: Downloaded newer image for alpine:3.18 18:45:29 ---> 8ca4688f4f35 18:45:29 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:45:29 ---> Running in 6b5ef5e0a03b 18:45:29 Removing intermediate container 6b5ef5e0a03b 18:45:29 ---> 107d03c68209 18:45:29 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:45:29 ---> Running in 531af84fd989 18:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:45:29 (1/1) Installing dumb-init (1.2.5-r2) 18:45:29 Executing busybox-1.36.1-r2.trigger 18:45:29 OK: 7 MiB in 16 packages 18:45:29 Removing intermediate container 531af84fd989 18:45:29 ---> f8d2af320370 18:45:29 Step 14/24 : RUN apk --no-cache upgrade 18:45:30 ---> Running in 7c368b6e0120 18:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:45:30 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:45:30 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:45:30 Executing busybox-1.36.1-r5.post-upgrade 18:45:30 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:45:30 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:45:30 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:45:30 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:45:30 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:45:30 Executing busybox-1.36.1-r5.trigger 18:45:30 OK: 7 MiB in 16 packages 18:45:31 Removing intermediate container 7c368b6e0120 18:45:31 ---> 01b752a42216 18:45:31 Step 15/24 : WORKDIR / 18:45:31 ---> Running in bbc97b76002c 18:45:31 Removing intermediate container bbc97b76002c 18:45:31 ---> 515350cda3a8 18:45:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:45:31 ---> 45a2692d3aba 18:45:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:45:32 ---> e4cdcbd14a09 18:45:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:45:32 ---> 947cd776df94 18:45:32 Step 19/24 : EXPOSE 59999 18:45:32 ---> Running in 0b801cd38549 18:45:32 Removing intermediate container 0b801cd38549 18:45:32 ---> a34eb2d6cd8b 18:45:32 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:45:32 ---> Running in 3db928f48e32 18:45:32 Removing intermediate container 3db928f48e32 18:45:32 ---> 9c8ed8b022a6 18:45:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:45:32 ---> Running in 7a6d40fe3d78 18:45:32 Removing intermediate container 7a6d40fe3d78 18:45:32 ---> a154b3677b3b 18:45:32 Step 22/24 : LABEL arch=amd64 18:45:32 ---> Running in d174cd2e1a3c 18:45:32 Removing intermediate container d174cd2e1a3c 18:45:32 ---> 1e611b17f381 18:45:32 Step 23/24 : LABEL git_sha=f2f81cf9deba556a40f2d8be7bc873cf74430f3c 18:45:32 ---> Running in 791404524a91 18:45:32 Removing intermediate container 791404524a91 18:45:32 ---> 5125ff96e605 18:45:32 Step 24/24 : LABEL version=0.0.0 18:45:32 ---> Running in 6fc9f692e663 18:45:32 Removing intermediate container 6fc9f692e663 18:45:32 ---> fd08117d73eb 18:45:32 [Warning] One or more build-args [ARCH] were not consumed 18:45:32 Successfully built fd08117d73eb 18:45:32 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:33 18:45:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:33 latest: Pulling from edgex-lftools-log-publisher 18:45:33 5eb5b503b376: Pulling fs layer 18:45:33 5c69ac0246d0: Pulling fs layer 18:45:33 ec43610c2a17: Pulling fs layer 18:45:33 3a2ae6a8a46f: Pulling fs layer 18:45:33 33b1e0a273af: Pulling fs layer 18:45:33 5d3b04190fa2: Pulling fs layer 18:45:33 2f39f015ded8: Pulling fs layer 18:45:33 3a2ae6a8a46f: Waiting 18:45:33 33b1e0a273af: Waiting 18:45:33 5d3b04190fa2: Waiting 18:45:33 2f39f015ded8: Waiting 18:45:33 5c69ac0246d0: Download complete 18:45:33 3a2ae6a8a46f: Verifying Checksum 18:45:33 33b1e0a273af: Verifying Checksum 18:45:33 33b1e0a273af: Download complete 18:45:33 5d3b04190fa2: Verifying Checksum 18:45:33 5d3b04190fa2: Download complete 18:45:33 ec43610c2a17: Verifying Checksum 18:45:33 ec43610c2a17: Download complete 18:45:34 5eb5b503b376: Verifying Checksum 18:45:34 5eb5b503b376: Download complete 18:45:34 2f39f015ded8: Verifying Checksum 18:45:34 2f39f015ded8: Download complete 18:45:35 5eb5b503b376: Pull complete 18:45:35 5c69ac0246d0: Pull complete 18:45:35 ec43610c2a17: Pull complete 18:45:35 3a2ae6a8a46f: Pull complete 18:45:36 33b1e0a273af: Pull complete 18:45:36 5d3b04190fa2: Pull complete 18:45:40 2f39f015ded8: Pull complete 18:45:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:40 prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container 18:45:40 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:44 $ docker top b872733e31bcd14bfc17b515d919e33adb0e9f79af01655f9ae3882193d64108 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:44 ---> job-cost.sh 18:45:44 lf-activate-venv: SKIPPING 18:45:44 INFO: No Stack... 18:45:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:46 INFO: Archiving Costs [Pipeline] sh 18:45:46 + cat+ /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv 18:45:46 cut -d, -f6 [Pipeline] lock 18:45:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] 18:45:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] did not exist. Created. 18:45:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:47 + echo total: 0.2199999988079071 [Pipeline] stash 18:45:47 Stashed 1 file(s) [Pipeline] } 18:45:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:47 $ docker stop --time=1 b872733e31bcd14bfc17b515d919e33adb0e9f79af01655f9ae3882193d64108 18:45:48 $ docker rm -f --volumes b872733e31bcd14bfc17b515d919e33adb0e9f79af01655f9ae3882193d64108 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:06:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2263 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws 19:06:51 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 19:06:51 The recommended git tool is: git 19:06:57 using credential edgex-jenkins-ssh 19:06:57 Cloning the remote Git repository 19:06:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:06:57 > git init /w/workspace/device-sdk-go/3 # timeout=10 19:06:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:06:57 > git --version # timeout=10 19:06:57 > git --version # 'git version 2.25.1' 19:06:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:07:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:07:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:07:01 Merging remotes/origin/main commit 85278c73853f3bd4b620ac341e15b8756b181622 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 19:07:02 Merge succeeded, producing fec59e9fda01cdfef93c7987ac1751221428a1b1 19:07:02 Checking out Revision fec59e9fda01cdfef93c7987ac1751221428a1b1 (PR-1540) 19:07:01 > git config core.sparsecheckout # timeout=10 19:07:01 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 19:07:02 > git remote # timeout=10 19:07:02 > git config --get remote.origin.url # timeout=10 19:07:02 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:02 > git merge 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 19:07:02 > git rev-parse HEAD^{commit} # timeout=10 19:07:02 > git config core.sparsecheckout # timeout=10 19:07:02 > git checkout -f fec59e9fda01cdfef93c7987ac1751221428a1b1 # timeout=10 19:07:05 Commit message: "Merge commit '85278c73853f3bd4b620ac341e15b8756b181622' into HEAD" 19:07:05 First time build. Skipping changelog. 19:07:05 > git rev-list --no-walk 26719909bbadee2a0eac166024d3f112ccc7cc54 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:07:07 % Total % Received % Xferd Average Speed Time Time Time Current 19:07:07 Dload Upload Total Spent Left Speed 19:07:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88069 0 --:--:-- --:--:-- --:--:-- 88069 [Pipeline] sh 19:07:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:07:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:07:08 + sudo tee /etc/docker/daemon.new 19:07:08 { 19:07:08 "registry-mirrors": [ 19:07:08 "https://nexus3.edgexfoundry.org:10001" 19:07:08 ], 19:07:08 "bip": "10.250.0.254/24", 19:07:08 "hosts": [ 19:07:08 "tcp://0.0.0.0:5555", 19:07:08 "unix:///var/run/docker.sock" 19:07:08 ], 19:07:08 "mtu": 1458, 19:07:08 "selinux-enabled": true, 19:07:08 "seccomp-profile": "/etc/docker/seccomp.json" 19:07:08 } [Pipeline] sh 19:07:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:07:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:27 provisioning config files... 19:07:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1928948871268990712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:27 ---> ****-login.sh 19:07:27 nexus3.edgexfoundry.org:10001 19:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:28 Configure a credential helper to remove this warning. See 19:07:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:28 19:07:28 Login Succeeded 19:07:28 nexus3.edgexfoundry.org:10002 19:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:28 Configure a credential helper to remove this warning. See 19:07:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:28 19:07:28 Login Succeeded 19:07:28 nexus3.edgexfoundry.org:10003 19:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:29 Configure a credential helper to remove this warning. See 19:07:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:29 19:07:29 Login Succeeded 19:07:29 nexus3.edgexfoundry.org:10004 19:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:29 Configure a credential helper to remove this warning. See 19:07:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:29 19:07:29 Login Succeeded 19:07:29 ****.io 19:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:29 Configure a credential helper to remove this warning. See 19:07:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:29 19:07:29 Login Succeeded 19:07:29 ---> ****-login.sh ends [Pipeline] } 19:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:07:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:07:30 ========================================================= 19:07:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:07:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:31 + 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 . 19:07:31 Sending build context to Docker daemon 11.34MB 19:07:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:07:31 Step 2/10 : FROM ${BASE} AS builder 19:07:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:07:31 9fda8d8052c6: Pulling fs layer 19:07:31 5d54e960e981: Pulling fs layer 19:07:31 c4a7e357bf2a: Pulling fs layer 19:07:31 f0e02332f6b5: Pulling fs layer 19:07:31 872ee5b61b7b: Pulling fs layer 19:07:31 0c6a40ed1a82: Pulling fs layer 19:07:31 94ae7d8d031c: Pulling fs layer 19:07:31 872ee5b61b7b: Waiting 19:07:31 f0e02332f6b5: Waiting 19:07:31 0c6a40ed1a82: Waiting 19:07:31 94ae7d8d031c: Waiting 19:07:31 5d54e960e981: Download complete 19:07:31 f0e02332f6b5: Verifying Checksum 19:07:31 f0e02332f6b5: Download complete 19:07:31 872ee5b61b7b: Verifying Checksum 19:07:31 872ee5b61b7b: Download complete 19:07:31 9fda8d8052c6: Verifying Checksum 19:07:31 9fda8d8052c6: Download complete 19:07:32 94ae7d8d031c: Verifying Checksum 19:07:32 94ae7d8d031c: Download complete 19:07:32 9fda8d8052c6: Pull complete 19:07:33 c4a7e357bf2a: Verifying Checksum 19:07:33 c4a7e357bf2a: Download complete 19:07:34 0c6a40ed1a82: Verifying Checksum 19:07:34 0c6a40ed1a82: Download complete 19:07:35 5d54e960e981: Pull complete 19:07:50 c4a7e357bf2a: Pull complete 19:07:50 f0e02332f6b5: Pull complete 19:07:50 872ee5b61b7b: Pull complete 19:08:01 0c6a40ed1a82: Pull complete 19:08:04 94ae7d8d031c: Pull complete 19:08:04 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 19:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:08:04 ---> 86de565de09d 19:08:04 Step 3/10 : ARG MAKE=make build 19:08:05 ---> Running in 872b32355969 19:08:05 Removing intermediate container 872b32355969 19:08:05 ---> 7fa008d1e712 19:08:05 Step 4/10 : WORKDIR /device-sdk-go 19:08:05 ---> Running in e7a89bc650c5 19:08:06 Removing intermediate container e7a89bc650c5 19:08:06 ---> fa37b4b3c647 19:08:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:08:06 ---> Running in 07b3af6bcbd7 19:08:06 Removing intermediate container 07b3af6bcbd7 19:08:06 ---> ab3006124d75 19:08:06 Step 6/10 : RUN apk add --update --no-cache make git 19:08:06 ---> Running in 337f89bed58c 19:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:08:09 OK: 266 MiB in 52 packages 19:08:10 Removing intermediate container 337f89bed58c 19:08:10 ---> 2217bdea29d9 19:08:10 Step 7/10 : COPY go.mod vendor* ./ 19:08:10 ---> 22d0c0fc988b 19:08:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:10 ---> Running in 7ed7798f45e6 19:09:32 Removing intermediate container 7ed7798f45e6 19:09:32 ---> a9a0377ea3b6 19:09:32 Step 9/10 : COPY . . 19:09:32 ---> 8128be0ea886 19:09:32 Step 10/10 : RUN ${MAKE} 19:09:32 ---> Running in c81f32b0e717 19:09:32 noop 19:09:32 Removing intermediate container c81f32b0e717 19:09:32 ---> 4bc9db17d5eb 19:09:32 Successfully built 4bc9db17d5eb 19:09:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:32 + docker inspect -f . ci-base-image-arm64 19:09:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:33 prd-ubuntu20.04-docker-arm64-4c-16g-2263 does not seem to be running inside a container 19:09:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:09:34 $ docker top daabd6c0b8262be75654d03a367ba0caa2bedea87b3811c4b11405440c1f104a -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:35 + go version 19:09:35 go version go1.21.0 linux/arm64 [Pipeline] } 19:09:35 $ docker stop --time=1 daabd6c0b8262be75654d03a367ba0caa2bedea87b3811c4b11405440c1f104a 19:09:36 $ docker rm -f --volumes daabd6c0b8262be75654d03a367ba0caa2bedea87b3811c4b11405440c1f104a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:37 + docker inspect -f . ci-base-image-arm64 19:09:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:38 prd-ubuntu20.04-docker-arm64-4c-16g-2263 does not seem to be running inside a container 19:09:38 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:09:39 $ docker top 57425e5946ef40cdf82393aee9093e3b198e44f4b73b6bb58bf588c2c31c2b97 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 19:09:40 + make test 19:09:40 go test -race -coverprofile=coverage.out ./... 19:10:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:11:30 Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-2263: java.lang.InterruptedException 19:12:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:12:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:12:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:12:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:12:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:12:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements 19:12:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.267s coverage: 81.5% of statements 19:12:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:12:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:12:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.306s coverage: 86.0% of statements 19:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:12:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.527s coverage: 71.8% of statements 19:12:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.244s coverage: 14.4% of statements 19:12:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.868s coverage: 45.9% of statements 19:12:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:12:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:12:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.380s coverage: 68.5% of statements 19:12:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.419s coverage: 89.2% of statements 19:12:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:12:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.219s coverage: 5.5% of statements 19:12:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:12:50 GO111MODULE=on go vet ./... 19:14:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:42 ./bin/test-attribution-txt.sh [Pipeline] echo 19:14:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:14:42 $ docker stop --time=1 57425e5946ef40cdf82393aee9093e3b198e44f4b73b6bb58bf588c2c31c2b97 19:14:45 $ docker rm -f --volumes 57425e5946ef40cdf82393aee9093e3b198e44f4b73b6bb58bf588c2c31c2b97 [Pipeline] // withDockerContainer [Pipeline] sh 19:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:46 Warning: overwriting stash ‘coverage-report’ 19:14:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:48 + ls -al . 19:14:48 total 304 19:14:48 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 19:09 . 19:14:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:06 .. 19:14:48 -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 19:07 .dockerignore 19:14:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:07 .git 19:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 .github 19:14:48 -rw-rw-r-- 1 jenkins jenkins 137 Nov 28 19:07 .gitignore 19:14:48 -rw-rw-r-- 1 jenkins jenkins 42 Nov 28 19:07 .golangci.yml 19:14:48 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 28 19:07 CHANGELOG.md 19:14:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:07 GOVERNANCE.md 19:14:48 -rw-rw-r-- 1 jenkins jenkins 885 Nov 28 19:07 Jenkinsfile 19:14:48 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 28 19:07 LICENSE 19:14:48 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 28 19:07 Makefile 19:14:48 -rw-rw-r-- 1 jenkins jenkins 619 Nov 28 19:07 OWNERS.md 19:14:48 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 28 19:07 README.md 19:14:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:42 VERSION 19:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:07 bin 19:14:48 -rw-r--r-- 1 jenkins jenkins 122153 Nov 28 19:12 coverage.out 19:14:48 drwxrwxr-x 5 jenkins jenkins 4096 Nov 28 19:07 example 19:14:48 -rw-rw-r-- 1 jenkins jenkins 3719 Nov 28 19:07 go.mod 19:14:48 -rw-rw-r-- 1 jenkins jenkins 34269 Nov 28 19:07 go.sum 19:14:48 drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 19:07 internal 19:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 openapi 19:14:48 drwxrwxr-x 6 jenkins jenkins 4096 Nov 28 19:07 pkg 19:14:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:07 snap 19:14:48 -rw-rw-r-- 1 jenkins jenkins 222 Nov 28 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:48 + 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=fec59e9fda01cdfef93c7987ac1751221428a1b1 --label arch=arm64 --label version=0.0.0 . 19:14:49 Sending build context to Docker daemon 11.46MB 19:14:49 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 19:14:49 Step 2/24 : FROM ${BASE} AS builder 19:14:49 ---> 4bc9db17d5eb 19:14:49 Step 3/24 : ARG MAKE=make build 19:14:49 ---> Running in 6c5a5c3f6b2a 19:14:50 Removing intermediate container 6c5a5c3f6b2a 19:14:50 ---> 45ee6e0aaa8f 19:14:50 Step 4/24 : WORKDIR /device-sdk-go 19:14:50 ---> Running in c875f03b7797 19:14:50 Removing intermediate container c875f03b7797 19:14:50 ---> 9bbcf54846a4 19:14:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:14:50 ---> Running in 9060ae012f7c 19:14:50 Removing intermediate container 9060ae012f7c 19:14:50 ---> bb21487d0bfb 19:14:50 Step 6/24 : RUN apk add --update --no-cache make git 19:14:51 ---> Running in 12778817cfcb 19:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:14:53 OK: 266 MiB in 52 packages 19:14:54 Removing intermediate container 12778817cfcb 19:14:54 ---> 6cf7c3b90c49 19:14:54 Step 7/24 : COPY go.mod vendor* ./ 19:14:58 ---> 70d24bbb9825 19:14:58 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:58 ---> Running in 970a507dad8f 19:15:00 Removing intermediate container 970a507dad8f 19:15:00 ---> be81794e0607 19:15:00 Step 9/24 : COPY . . 19:15:02 ---> 39c6cd45ca35 19:15:02 Step 10/24 : RUN ${MAKE} 19:15:02 ---> Running in e6fcd9ea90cb 19:15:03 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 19:17:10 Removing intermediate container e6fcd9ea90cb 19:17:10 ---> e154d717460a 19:17:10 Step 11/24 : FROM alpine:3.18 19:17:10 3.18: Pulling from library/alpine 19:17:10 579b34f0a95b: Pulling fs layer 19:17:10 579b34f0a95b: Download complete 19:17:10 579b34f0a95b: Pull complete 19:17:10 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:17:10 Status: Downloaded newer image for alpine:3.18 19:17:10 ---> 3cc203321400 19:17:10 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:17:10 ---> Running in 09f33fadf0c2 19:17:10 Removing intermediate container 09f33fadf0c2 19:17:10 ---> 4c7317536af7 19:17:10 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:17:10 ---> Running in f5059631c7b4 19:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:17:10 (1/1) Installing dumb-init (1.2.5-r2) 19:17:10 Executing busybox-1.36.1-r2.trigger 19:17:10 OK: 8 MiB in 16 packages 19:17:10 Removing intermediate container f5059631c7b4 19:17:10 ---> 8e1d10f6ae51 19:17:10 Step 14/24 : RUN apk --no-cache upgrade 19:17:10 ---> Running in f81fa72776c2 19:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:17:10 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 19:17:10 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 19:17:10 Executing busybox-1.36.1-r5.post-upgrade 19:17:10 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 19:17:10 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 19:17:10 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 19:17:10 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 19:17:10 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 19:17:10 Executing busybox-1.36.1-r5.trigger 19:17:10 OK: 8 MiB in 16 packages 19:17:10 Removing intermediate container f81fa72776c2 19:17:10 ---> d347917d69bd 19:17:10 Step 15/24 : WORKDIR / 19:17:10 ---> Running in 1a9bebd47afb 19:17:10 Removing intermediate container 1a9bebd47afb 19:17:10 ---> f6dc2fd027c1 19:17:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:17:10 ---> 24df1c44a6e4 19:17:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:17:11 ---> 03bb396a1b8a 19:17:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:17:12 ---> 1c6b6c7efb3f 19:17:12 Step 19/24 : EXPOSE 59999 19:17:12 ---> Running in cf727e1c96d5 19:17:12 Removing intermediate container cf727e1c96d5 19:17:12 ---> b16cce92efa1 19:17:12 Step 20/24 : ENTRYPOINT ["/device-simple"] 19:17:12 ---> Running in ac77fe3692fb 19:17:12 Removing intermediate container ac77fe3692fb 19:17:12 ---> 6510f3232097 19:17:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:17:12 ---> Running in 09530c765cb4 19:17:13 Removing intermediate container 09530c765cb4 19:17:13 ---> ac445e95e78e 19:17:13 Step 22/24 : LABEL arch=arm64 19:17:13 ---> Running in 2d0a7ca3ea0a 19:17:13 Removing intermediate container 2d0a7ca3ea0a 19:17:13 ---> 16e9d767ffd5 19:17:13 Step 23/24 : LABEL git_sha=fec59e9fda01cdfef93c7987ac1751221428a1b1 19:17:13 ---> Running in c5aaebb2eb60 19:17:13 Removing intermediate container c5aaebb2eb60 19:17:13 ---> bee15bf2451d 19:17:13 Step 24/24 : LABEL version=0.0.0 19:17:13 ---> Running in 26dba60fe0bb 19:17:14 Removing intermediate container 26dba60fe0bb 19:17:14 ---> 06836cae132d 19:17:14 [Warning] One or more build-args [ARCH] were not consumed 19:17:14 Successfully built 06836cae132d 19:17:14 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:15 19:17:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:15 arm64: Pulling from edgex-lftools-log-publisher 19:17:15 8998bd30e6a1: Pulling fs layer 19:17:15 04944245beec: Pulling fs layer 19:17:15 699f458cf7ca: Pulling fs layer 19:17:15 765212b225bb: Pulling fs layer 19:17:15 f23df028b6ca: Pulling fs layer 19:17:15 d65c8cfc05b1: Pulling fs layer 19:17:15 2437ff75d9bd: Pulling fs layer 19:17:15 f23df028b6ca: Waiting 19:17:15 d65c8cfc05b1: Waiting 19:17:15 765212b225bb: Waiting 19:17:15 2437ff75d9bd: Waiting 19:17:16 04944245beec: Verifying Checksum 19:17:16 04944245beec: Download complete 19:17:16 765212b225bb: Verifying Checksum 19:17:16 765212b225bb: Download complete 19:17:16 f23df028b6ca: Verifying Checksum 19:17:16 f23df028b6ca: Download complete 19:17:16 d65c8cfc05b1: Verifying Checksum 19:17:16 d65c8cfc05b1: Download complete 19:17:16 699f458cf7ca: Verifying Checksum 19:17:16 8998bd30e6a1: Verifying Checksum 19:17:16 8998bd30e6a1: Download complete 19:17:19 2437ff75d9bd: Verifying Checksum 19:17:19 2437ff75d9bd: Download complete 19:17:21 8998bd30e6a1: Pull complete 19:17:22 04944245beec: Pull complete 19:17:24 699f458cf7ca: Pull complete 19:17:24 765212b225bb: Pull complete 19:17:25 f23df028b6ca: Pull complete 19:17:25 d65c8cfc05b1: Pull complete 19:17:43 2437ff75d9bd: Pull complete 19:17:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:17:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:44 prd-ubuntu20.04-docker-arm64-4c-16g-2263 does not seem to be running inside a container 19:17: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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:17:47 $ docker top d70e91286e9adb5a7f2063ae73f21be57b8820e9dc5b3d2e931e117ae8684731 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:48 ---> job-cost.sh 19:17:48 lf-activate-venv: SKIPPING 19:17:48 INFO: No Stack... 19:17:48 INFO: Retrieving Pricing Info for: v3-standard-4 19:17:49 INFO: Archiving Costs [Pipeline] sh 19:17:49 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 19:17:49 + cut -d, -f6 [Pipeline] lock 19:17:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] 19:17:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] did not exist. Created. 19:17:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:17:50 /w/workspace/device-sdk-go/3@tmp/durable-5be4e444/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:17:51 + echo total: 0.10999999940395355 [Pipeline] stash 19:17:51 Warning: overwriting stash ‘stack-cost’ 19:17:51 Stashed 1 file(s) [Pipeline] } 19:17:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:17:51 $ docker stop --time=1 d70e91286e9adb5a7f2063ae73f21be57b8820e9dc5b3d2e931e117ae8684731 19:17:53 $ docker rm -f --volumes d70e91286e9adb5a7f2063ae73f21be57b8820e9dc5b3d2e931e117ae8684731 [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 19:17:54 provisioning config files... 19:17:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config4459923753671135884tmp [Pipeline] { [Pipeline] sh 19:17:54 + set +x 19:17:54 + curl -s https://codecov.io/bash 19:17:54 + bash -s -- 19:17:54 19:17:54 _____ _ 19:17:54 / ____| | | 19:17:54 | | ___ __| | ___ ___ _____ __ 19:17:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:17:54 | |___| (_) | (_| | __/ (_| (_) \ V / 19:17:54 \_____\___/ \__,_|\___|\___\___/ \_/ 19:17:54 Bash-1.0.6 19:17:54 19:17:54 19:17:54 ==> git version 2.25.1 found 19:17:54 ==> 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 19:17:54 Release-Date: 2020-01-08 19:17:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:17:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:17:54 ==> Jenkins CI detected. 19:17:54 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 19:17:54 project root: . 19:17:54 --> token set from env 19:17:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:17:54 ==> Running gcov in . (disable via -X gcov) 19:17:54 ==> Python coveragepy not found 19:17:54 ==> Searching for coverage reports in: 19:17:54 + . 19:17:55 -> Found 1 reports 19:17:55 ==> Detecting git/mercurial file structure 19:17:55 ==> Reading reports 19:17:55 + ./coverage.out bytes=122153 19:17:55 ==> Appending adjustments 19:17:55 https://docs.codecov.io/docs/fixing-reports 19:17:55 + Found adjustments 19:17:55 ==> Gzipping contents 19:17:55 20K /tmp/codecov.UkhpUB.gz 19:17:55 ==> Uploading reports 19:17:55 url: https://codecov.io 19:17:55 query: branch=PR-1540&commit=f2f81cf9deba556a40f2d8be7bc873cf74430f3c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 19:17:55 -> Pinging Codecov 19:17:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=f2f81cf9deba556a40f2d8be7bc873cf74430f3c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 19:17:55 -> Uploading to 19:17:55 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/7E55EF52A471D76F132DFD9A03CDDE97/f2f81cf9deba556a40f2d8be7bc873cf74430f3c/ae5af971-4312-4401-875d-9961a4871042.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T191755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7a82576e7ebb33f7fad7a0369637ee5b971b503a68db2243c5b4d5c343a059a 19:17:55 % Total % Received % Xferd Average Speed Time Time Time Current 19:17:55 Dload Upload Total Spent Left Speed 19:17:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16752 0 0 100 16752 0 75800 --:--:-- --:--:-- --:--:-- 75459 100 16752 0 0 100 16752 0 61362 --:--:-- --:--:-- --:--:-- 61138 19:17:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] } 19:17:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:17:57 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] 19:17:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 19:17:57 total 16 19:17:57 drwxr-xr-x 3 root root 4096 Nov 28 18:45 . 19:17:57 drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:45 .. 19:17:57 drwxr-xr-x 2 root root 4096 Nov 28 18:45 cost 19:17:57 -rw-r--r-- 1 root root 86 Nov 28 18:45 cost.csv 19:17:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 19:17:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 19:17:57 total 16 19:17:57 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:45 . 19:17:57 drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:45 .. 19:17:57 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:45 cost 19:17:57 -rw-r--r-- 1 jenkins jenkins 86 Nov 28 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:17:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:17:58 ---> package-listing.sh 19:17:58 ++ facter osfamily 19:17:58 ++ tr '[:upper:]' '[:lower:]' 19:17:58 + OS_FAMILY=debian 19:17:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 19:17:58 + START_PACKAGES=/tmp/packages_start.txt 19:17:58 + END_PACKAGES=/tmp/packages_end.txt 19:17:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:17:58 + PACKAGES=/tmp/packages_start.txt 19:17:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 19:17:58 + PACKAGES=/tmp/packages_end.txt 19:17:58 + case "${OS_FAMILY}" in 19:17:58 + dpkg -l 19:17:58 + grep '^ii' 19:17:59 + '[' -f /tmp/packages_start.txt ']' 19:17:59 + '[' -f /tmp/packages_end.txt ']' 19:17:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:17:59 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 19:17:59 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ 19:17:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo 19:17:59 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:17:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:00 prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container 19:18:00 $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:18:00 $ docker top 90a952f4496472b0c28fbb40fdd09607421c27ffcfd05e78f1bf1dfe76bc8734 -eo pid,comm [Pipeline] { [Pipeline] sh 19:18:00 + touch /tmp/pre-build-complete [Pipeline] sh 19:18:01 + mkdir -p /var/log/sysstat [Pipeline] sh 19:18:01 + ls /var/log/sa-host 19:18:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:18:01 provisioning config files... 19:18:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config15327222495530763790tmp [Pipeline] { [Pipeline] echo 19:18:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:18:01 ---> create-netrc.sh [Pipeline] } 19:18:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:18:02 ---> python-tools-install.sh [Pipeline] echo 19:18:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:18:02 ---> sudo-logs.sh 19:18:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:18:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:18:02 ---> job-cost.sh 19:18:02 lf-activate-venv: SKIPPING 19:18:02 DEBUG: total: 0.2199999988079071 19:18:02 INFO: Retrieving Stack Cost... 19:18:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:18:04 INFO: Archiving Costs [Pipeline] echo 19:18:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:18:04 ---> logs-deploy.sh 19:18:04 lf-activate-venv: SKIPPING 19:18:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/3 19:18:04 INFO: archiving workspace using pattern(s): 19:18:05 Archives upload complete. 19:18:05 INFO: archiving logs to Nexus