Pull request #1541 updated 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 zyqhpz for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7730e9b2488ebe82cf8f1ec58f41fa934430b51b rather than f929f47b3afc488dcc98522ba22b439fedaf45e7 Obtained Jenkinsfile from 7730e9b2488ebe82cf8f1ec58f41fa934430b51b 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-ssh1634035001659096942.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-ssh5607877543700341156.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-1541/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-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6819379457362536526.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-ssh17584508798185758318.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-1541/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-1541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9226650402662147190.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-211 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [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-1541 # 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 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit f929f47b3afc488dcc98522ba22b439fedaf45e7 Merge succeeded, producing f929f47b3afc488dcc98522ba22b439fedaf45e7 Checking out Revision f929f47b3afc488dcc98522ba22b439fedaf45e7 (PR-1541) > 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/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f929f47b3afc488dcc98522ba22b439fedaf45e7 # 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f929f47b3afc488dcc98522ba22b439fedaf45e7 # timeout=10 Commit message: "refactor: Remove the version number in Init logs" > git rev-list --no-walk 6f7ac53e21a07f5410e0313d1020217b42fefd27 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:31:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:31:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:31:17 ========================================================= 07:31:17 EdgeX Global Pipelines Version Info 07:31:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:31:17 ------------------- 07:31:17 stable info: 07:31:17 ------------------- 07:31:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:31:17 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:31:17 Message: update stable to v1.0.258 07:31:18 ------------------- 07:31:18 experimental info: 07:31:18 ------------------- 07:31:18 Commited By: **** collab-it+edgex@linuxfoundation.org 07:31:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:31:18 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:31:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1541 [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1541 [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1541 [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f929f47b3afc488dcc98522ba22b439fedaf45e7 [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f929f47 [Pipeline] echo 07:31:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:31:19 provisioning config files... 07:31:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config11130466961561487007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:20 ---> ****-login.sh 07:31:20 nexus3.edgexfoundry.org:10001 07:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:20 Configure a credential helper to remove this warning. See 07:31:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:20 07:31:20 Login Succeeded 07:31:20 nexus3.edgexfoundry.org:10002 07:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:20 Configure a credential helper to remove this warning. See 07:31:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:20 07:31:20 Login Succeeded 07:31:20 nexus3.edgexfoundry.org:10003 07:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:20 Configure a credential helper to remove this warning. See 07:31:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:20 07:31:20 Login Succeeded 07:31:20 nexus3.edgexfoundry.org:10004 07:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:20 Configure a credential helper to remove this warning. See 07:31:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:20 07:31:20 Login Succeeded 07:31:20 ****.io 07:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:21 Configure a credential helper to remove this warning. See 07:31:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:21 07:31:21 Login Succeeded 07:31:21 ---> ****-login.sh ends [Pipeline] } 07:31:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:31:21 + git rev-list -1 --merges f929f47b3afc488dcc98522ba22b439fedaf45e7~1..f929f47b3afc488dcc98522ba22b439fedaf45e7 [Pipeline] echo 07:31:21 -----------> git rev-list -1 --merges f929f47b3afc488dcc98522ba22b439fedaf45e7~1..f929f47b3afc488dcc98522ba22b439fedaf45e7 f929f47b3afc488dcc98522ba22b439fedaf45e7 [false] [Pipeline] sh 07:31:21 + git log --format=format:%s -1 f929f47b3afc488dcc98522ba22b439fedaf45e7 [Pipeline] echo 07:31:22 ========================================================= 07:31:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:31:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:31:22 + git log --format=format:%s -1 f929f47b3afc488dcc98522ba22b439fedaf45e7 [Pipeline] echo 07:31:22 [semverPrep] GIT_COMMIT: f929f47b3afc488dcc98522ba22b439fedaf45e7, Commit Message: refactor: Remove the version number in Init logs [Pipeline] echo 07:31:22 [semverPrep] This is not a build commit. [Pipeline] sh 07:31:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:31:22 + grep -v github /etc/ssh/ssh_known_hosts 07:31:22 + [ -e /tmp/ssh_known_hosts ] 07:31:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:31:22 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:31:22 sudo tee -a /etc/ssh/ssh_known_hosts 07:31:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:31:23 07:31:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:31:23 0.1.4: Pulling from edgex-devops/py-git-semver 07:31:23 b85a868b505f: Pulling fs layer 07:31:23 e2be974225ed: Pulling fs layer 07:31:23 339a4e72a1f5: Pulling fs layer 07:31:23 988bab9f4d93: Pulling fs layer 07:31:23 1469e6f7b9e6: Pulling fs layer 07:31:23 eaf3925da568: Pulling fs layer 07:31:23 bab4dde63d76: Pulling fs layer 07:31:23 bde34c3a00c8: Pulling fs layer 07:31:23 b352a97aabf1: Pulling fs layer 07:31:23 4872d77fe225: Pulling fs layer 07:31:23 5851b861e8e6: Pulling fs layer 07:31:23 988bab9f4d93: Waiting 07:31:23 4872d77fe225: Waiting 07:31:23 b352a97aabf1: Waiting 07:31:23 5851b861e8e6: Waiting 07:31:23 1469e6f7b9e6: Waiting 07:31:23 bab4dde63d76: Waiting 07:31:23 bde34c3a00c8: Waiting 07:31:23 eaf3925da568: Waiting 07:31:23 e2be974225ed: Verifying Checksum 07:31:23 e2be974225ed: Download complete 07:31:23 988bab9f4d93: Verifying Checksum 07:31:23 988bab9f4d93: Download complete 07:31:23 1469e6f7b9e6: Verifying Checksum 07:31:23 1469e6f7b9e6: Download complete 07:31:23 339a4e72a1f5: Verifying Checksum 07:31:23 339a4e72a1f5: Download complete 07:31:23 eaf3925da568: Verifying Checksum 07:31:23 eaf3925da568: Download complete 07:31:23 bde34c3a00c8: Verifying Checksum 07:31:23 bde34c3a00c8: Download complete 07:31:23 b352a97aabf1: Download complete 07:31:23 4872d77fe225: Verifying Checksum 07:31:23 4872d77fe225: Download complete 07:31:23 5851b861e8e6: Verifying Checksum 07:31:23 5851b861e8e6: Download complete 07:31:23 b85a868b505f: Verifying Checksum 07:31:23 b85a868b505f: Download complete 07:31:24 bab4dde63d76: Verifying Checksum 07:31:24 bab4dde63d76: Download complete 07:31:25 b85a868b505f: Pull complete 07:31:25 e2be974225ed: Pull complete 07:31:25 339a4e72a1f5: Pull complete 07:31:25 988bab9f4d93: Pull complete 07:31:25 1469e6f7b9e6: Pull complete 07:31:25 eaf3925da568: Pull complete 07:31:27 bab4dde63d76: Pull complete 07:31:27 bde34c3a00c8: Pull complete 07:31:27 b352a97aabf1: Pull complete 07:31:27 4872d77fe225: Pull complete 07:31:28 5851b861e8e6: Pull complete 07:31:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:31:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:28 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 07:31:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@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 07:31:31 $ docker top d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 -eo pid,comm 07:31:31 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). 07:31:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:31 [ssh-agent] Looking for ssh-agent implementation... 07:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:31 $ docker exec d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 ssh-agent 07:31:31 SSH_AUTH_SOCK=/tmp/ssh-Eb89kluXjiwW/agent.33 07:31:31 SSH_AGENT_PID=39 07:31:31 Running ssh-add (command line suppressed) 07:31:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_12400327940046451123.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_12400327940046451123.key) 07:31:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:32 + git tag --points-at HEAD [Pipeline] } 07:31:32 $ docker exec --env ******** --env ******** d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 ssh-agent -k 07:31:32 unset SSH_AUTH_SOCK; 07:31:32 unset SSH_AGENT_PID; 07:31:32 echo Agent pid 39 killed; 07:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:31:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:32 [ssh-agent] Looking for ssh-agent implementation... 07:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:32 $ docker exec d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 ssh-agent 07:31:32 SSH_AUTH_SOCK=/tmp/ssh-pWcXzYFjmoFG/agent.71 07:31:32 SSH_AGENT_PID=77 07:31:32 Running ssh-add (command line suppressed) 07:31:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_14745442301530549540.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_14745442301530549540.key) 07:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:32 + git semver init 07:31:33 2023-11-19 07:31:33,013 [run_init] DEBUG init version:0.0.0 force:False 07:31:33 2023-11-19 07:31:33,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver 07:31:33 2023-11-19 07:31:33,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver 07:31:33 2023-11-19 07:31:33,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541, universal_newlines=False, shell=None, istream=None) 07:31:34 2023-11-19 07:31:34,249 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.git/info/exclude 07:31:34 2023-11-19 07:31:34,250 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 with force:False 07:31:34 2023-11-19 07:31:34,250 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 07:31:34 2023-11-19 07:31:34,254 [execute] INFO git cat-file --batch-check 07:31:34 2023-11-19 07:31:34,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) 07:31:34 2023-11-19 07:31:34,260 [execute] INFO git cat-file --batch 07:31:34 2023-11-19 07:31:34,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) 07:31:34 2023-11-19 07:31:34,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 07:31:34 0.0.0 [Pipeline] } 07:31:34 $ docker exec --env ******** --env ******** d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 ssh-agent -k 07:31:34 unset SSH_AUTH_SOCK; 07:31:34 unset SSH_AGENT_PID; 07:31:34 echo Agent pid 77 killed; 07:31:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:34 + git semver [Pipeline] } 07:31:35 $ docker stop --time=1 d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 07:31:36 $ docker rm -f --volumes d366eaadedf1dd044a3d941be199dd0d7218e0c02b4fd0e9d90bf5d02bfbf6a2 [Pipeline] // withDockerContainer [Pipeline] sh 07:31:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:31:37 Stashed 1 file(s) [Pipeline] echo 07:31:37 [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 07:31:37 provisioning config files... 07:31:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config15178528105539899201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:37 ---> ****-login.sh 07:31:37 nexus3.edgexfoundry.org:10001 07:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:37 Configure a credential helper to remove this warning. See 07:31:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:37 07:31:37 Login Succeeded 07:31:37 nexus3.edgexfoundry.org:10002 07:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:37 Configure a credential helper to remove this warning. See 07:31:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:37 07:31:37 Login Succeeded 07:31:37 nexus3.edgexfoundry.org:10003 07:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:38 Configure a credential helper to remove this warning. See 07:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:38 07:31:38 Login Succeeded 07:31:38 nexus3.edgexfoundry.org:10004 07:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:38 Configure a credential helper to remove this warning. See 07:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:38 07:31:38 Login Succeeded 07:31:38 ****.io 07:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:31:38 Configure a credential helper to remove this warning. See 07:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:31:38 07:31:38 Login Succeeded 07:31:38 ---> ****-login.sh ends [Pipeline] } 07:31:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:31:38 ========================================================= 07:31:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:31:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:39 + 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 . 07:31:39 Sending build context to Docker daemon 21.95MB 07:31:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:31:39 Step 2/10 : FROM ${BASE} AS builder 07:31:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:31:39 7264a8db6415: Pulling fs layer 07:31:39 c4d48a809fc2: Pulling fs layer 07:31:39 4f1c88b9dad5: Pulling fs layer 07:31:39 ad3a456e5733: Pulling fs layer 07:31:39 69c7f0334f64: Pulling fs layer 07:31:39 1f1c1a5573a3: Pulling fs layer 07:31:39 ce7588e14bc9: Pulling fs layer 07:31:39 b5e4710f87ac: Pulling fs layer 07:31:39 ce7588e14bc9: Waiting 07:31:39 b5e4710f87ac: Waiting 07:31:39 69c7f0334f64: Waiting 07:31:39 1f1c1a5573a3: Waiting 07:31:39 c4d48a809fc2: Download complete 07:31:39 ad3a456e5733: Verifying Checksum 07:31:39 ad3a456e5733: Download complete 07:31:39 69c7f0334f64: Verifying Checksum 07:31:39 69c7f0334f64: Download complete 07:31:39 7264a8db6415: Verifying Checksum 07:31:39 7264a8db6415: Download complete 07:31:39 1f1c1a5573a3: Verifying Checksum 07:31:39 1f1c1a5573a3: Download complete 07:31:39 7264a8db6415: Pull complete 07:31:39 b5e4710f87ac: Verifying Checksum 07:31:39 c4d48a809fc2: Pull complete 07:31:40 4f1c88b9dad5: Verifying Checksum 07:31:40 4f1c88b9dad5: Download complete 07:31:40 ce7588e14bc9: Verifying Checksum 07:31:40 ce7588e14bc9: Download complete 07:31:42 4f1c88b9dad5: Pull complete 07:31:42 ad3a456e5733: Pull complete 07:31:42 69c7f0334f64: Pull complete 07:31:43 1f1c1a5573a3: Pull complete 07:31:45 ce7588e14bc9: Pull complete 07:31:45 b5e4710f87ac: Pull complete 07:31:45 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 07:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:31:45 ---> 88b5674ff536 07:31:45 Step 3/10 : ARG MAKE=make build 07:31:51 ---> Running in 577b49275290 07:31:51 Removing intermediate container 577b49275290 07:31:51 ---> 6a123e202a9b 07:31:51 Step 4/10 : WORKDIR /device-sdk-go 07:31:51 ---> Running in 52149bd1df8a 07:31:51 Removing intermediate container 52149bd1df8a 07:31:51 ---> d3bfd3386d36 07:31:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:31:51 ---> Running in 887266f7b297 07:31:51 Removing intermediate container 887266f7b297 07:31:51 ---> bc279aae87da 07:31:51 Step 6/10 : RUN apk add --update --no-cache make git 07:31:51 ---> Running in 44b6410241e6 07:31:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:31:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:31:51 OK: 264 MiB in 52 packages 07:31:51 Removing intermediate container 44b6410241e6 07:31:51 ---> 2175a9d5fbb1 07:31:51 Step 7/10 : COPY go.mod vendor* ./ 07:31:52 ---> 6c29e106b617 07:31:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:31:52 ---> Running in ed4df67793ad 07:31:52 Still waiting to schedule task 07:31:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:32:59 Removing intermediate container ed4df67793ad 07:32:59 ---> cff8075c0bb1 07:32:59 Step 9/10 : COPY . . 07:32:59 ---> 0b60b2074faa 07:32:59 Step 10/10 : RUN ${MAKE} 07:32:59 ---> Running in 54f88f893f85 07:32:59 noop 07:32:59 Removing intermediate container 54f88f893f85 07:32:59 ---> 25c0b7306bad 07:32:59 Successfully built 25c0b7306bad 07:32:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:00 + docker inspect -f . ci-base-image-x86_64 07:33:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:00 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 07:33:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@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 07:33:00 $ docker top 42c7ad51d88d3bfb79ebb9b2eb9caf8ed0e89269996d034fc97566d5713ebe85 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:01 + go version 07:33:01 go version go1.21.0 linux/amd64 [Pipeline] } 07:33:01 $ docker stop --time=1 42c7ad51d88d3bfb79ebb9b2eb9caf8ed0e89269996d034fc97566d5713ebe85 07:33:02 $ docker rm -f --volumes 42c7ad51d88d3bfb79ebb9b2eb9caf8ed0e89269996d034fc97566d5713ebe85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:02 + docker inspect -f . ci-base-image-x86_64 07:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:03 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 07:33:03 $ 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-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@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 07:33:03 $ docker top bd6dae6db7020f792eaf5316d8d540336e13685f96374442dc7c0c0931005560 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] fileExists [Pipeline] sh 07:33:04 + make test 07:33:04 go test -race -coverprofile=coverage.out ./... 07:33:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:33:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:33:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:33:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:33:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:33:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.040s coverage: 27.6% of statements 07:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.043s coverage: 81.5% of statements 07:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements 07:33:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements 07:33:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:33:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:33:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:33:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-212 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] { [Pipeline] ws 07:33:27 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 07:33:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.057s coverage: 14.4% of statements 07:33:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.391s coverage: 45.9% of statements 07:33:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements 07:33:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements 07:33:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 07:33:30 The recommended git tool is: git 07:33:35 using credential edgex-jenkins-ssh 07:33:35 Cloning the remote Git repository 07:33:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:33:35 > git init /w/workspace/device-sdk-go/5 # timeout=10 07:33:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:33:35 > git --version # timeout=10 07:33:35 > git --version # 'git version 2.25.1' 07:33:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:33:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:33:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:33:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:33:39 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit f929f47b3afc488dcc98522ba22b439fedaf45e7 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:33:39 Failed in branch arm64 07:33:39 > git config core.sparsecheckout # timeout=10 07:33:39 > git checkout -f f929f47b3afc488dcc98522ba22b439fedaf45e7 # timeout=10 07:33:44 GO111MODULE=on go vet ./... 07:33:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:33:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:33:47 ./bin/test-attribution-txt.sh [Pipeline] echo 07:33:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:33:47 $ docker stop --time=1 bd6dae6db7020f792eaf5316d8d540336e13685f96374442dc7c0c0931005560 07:33:52 $ docker rm -f --volumes bd6dae6db7020f792eaf5316d8d540336e13685f96374442dc7c0c0931005560 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:33:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:54 + ls -al . 07:33:54 total 308 07:33:54 drwxrwxr-x 11 jenkins jenkins 4096 Nov 19 07:33 . 07:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 07:31 .. 07:33:54 -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 07:31 .dockerignore 07:33:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 07:33 .git 07:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 07:31 .github 07:33:54 -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 07:31 .gitignore 07:33:54 -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 07:31 .golangci.yml 07:33:54 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 07:31 .semver 07:33:54 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 07:31 CHANGELOG.md 07:33:54 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 07:31 GOVERNANCE.md 07:33:54 -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 07:31 Jenkinsfile 07:33:54 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 07:31 LICENSE 07:33:54 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 07:31 Makefile 07:33:54 -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 07:31 OWNERS.md 07:33:54 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 07:31 README.md 07:33:54 -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 07:31 VERSION 07:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 07:31 bin 07:33:54 -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 07:33 coverage.out 07:33:54 drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 07:31 example 07:33:54 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 07:31 go.mod 07:33:54 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 07:31 go.sum 07:33:54 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:31 internal 07:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 07:31 openapi 07:33:54 drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 07:31 pkg 07:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 07:31 snap 07:33:54 -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 07:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:54 + 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=f929f47b3afc488dcc98522ba22b439fedaf45e7 --label arch=amd64 --label version=0.0.0 . 07:33:54 Sending build context to Docker daemon 22.08MB 07:33:54 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:33:54 Step 2/23 : FROM ${BASE} AS builder 07:33:54 ---> 25c0b7306bad 07:33:54 Step 3/23 : ARG MAKE=make build 07:33:55 ---> Running in fc32713db418 07:33:55 Removing intermediate container fc32713db418 07:33:55 ---> 3cfbf94ce6c8 07:33:55 Step 4/23 : WORKDIR /device-sdk-go 07:33:55 ---> Running in 5f4f947c0e8f 07:33:55 Removing intermediate container 5f4f947c0e8f 07:33:55 ---> e03b401c069d 07:33:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:33:55 ---> Running in 9627f3855316 07:33:55 Removing intermediate container 9627f3855316 07:33:55 ---> a80971cdf516 07:33:55 Step 6/23 : RUN apk add --update --no-cache make git 07:33:55 ---> Running in a8a30440e2af 07:33:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:33:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:33:55 OK: 264 MiB in 52 packages 07:33:56 Removing intermediate container a8a30440e2af 07:33:56 ---> eb1d595bbd19 07:33:56 Step 7/23 : COPY go.mod vendor* ./ 07:33:56 ---> 02920a051383 07:33:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:56 ---> Running in 37f9020bfec8 07:33:56 Removing intermediate container 37f9020bfec8 07:33:56 ---> 95c32a2632c9 07:33:56 Step 9/23 : COPY . . 07:33:57 ---> 486bc7119d9e 07:33:57 Step 10/23 : RUN ${MAKE} 07:33:57 ---> Running in cde747c7556f 07:33:58 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 07:34:20 Removing intermediate container cde747c7556f 07:34:20 ---> 785f7bf497ca 07:34:20 Step 11/23 : FROM alpine:3.18 07:34:20 3.18: Pulling from library/alpine 07:34:20 96526aa774ef: Pulling fs layer 07:34:20 96526aa774ef: Verifying Checksum 07:34:20 96526aa774ef: Download complete 07:34:20 96526aa774ef: Pull complete 07:34:20 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 07:34:20 Status: Downloaded newer image for alpine:3.18 07:34:20 ---> 8ca4688f4f35 07:34:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:34:20 ---> Running in 0c2077f21209 07:34:20 Removing intermediate container 0c2077f21209 07:34:20 ---> 19f8b0d69fe8 07:34:20 Step 13/23 : RUN apk add --update --no-cache 07:34:20 ---> Running in e4203c73ea2d 07:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:34:20 OK: 7 MiB in 15 packages 07:34:20 Removing intermediate container e4203c73ea2d 07:34:20 ---> 15f7ff71f073 07:34:20 Step 14/23 : WORKDIR / 07:34:20 ---> Running in 8346edd86721 07:34:20 Removing intermediate container 8346edd86721 07:34:20 ---> e9772dde43b9 07:34:20 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:34:20 ---> 13a02b6ee3c0 07:34:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:34:21 ---> 9ae02c0b758b 07:34:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:34:21 ---> 40bee8805376 07:34:21 Step 18/23 : EXPOSE 59999 07:34:21 ---> Running in cbac12e1183a 07:34:21 Removing intermediate container cbac12e1183a 07:34:21 ---> 93ad88e80db4 07:34:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:34:21 ---> Running in d929768382c2 07:34:21 Removing intermediate container d929768382c2 07:34:21 ---> 15e432947f42 07:34:21 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:34:21 ---> Running in 59f680417dda 07:34:21 Removing intermediate container 59f680417dda 07:34:21 ---> f096a72869c0 07:34:21 Step 21/23 : LABEL arch=amd64 07:34:21 ---> Running in 318f3c8b6702 07:34:21 Removing intermediate container 318f3c8b6702 07:34:21 ---> 991875c7c992 07:34:21 Step 22/23 : LABEL git_sha=f929f47b3afc488dcc98522ba22b439fedaf45e7 07:34:21 ---> Running in 6a671526da52 07:34:21 Removing intermediate container 6a671526da52 07:34:21 ---> 1d209534e096 07:34:21 Step 23/23 : LABEL version=0.0.0 07:34:21 ---> Running in 57b8a2cb37f5 07:34:21 Removing intermediate container 57b8a2cb37f5 07:34:21 ---> 77651fc5f636 07:34:21 [Warning] One or more build-args [ARCH] were not consumed 07:34:21 Successfully built 77651fc5f636 07:34:21 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 07:34:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:34:22 07:34:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:34:22 latest: Pulling from edgex-lftools-log-publisher 07:34:22 5eb5b503b376: Pulling fs layer 07:34:22 5c69ac0246d0: Pulling fs layer 07:34:22 ec43610c2a17: Pulling fs layer 07:34:22 3a2ae6a8a46f: Pulling fs layer 07:34:22 33b1e0a273af: Pulling fs layer 07:34:22 5d3b04190fa2: Pulling fs layer 07:34:22 2f39f015ded8: Pulling fs layer 07:34:22 5d3b04190fa2: Waiting 07:34:22 3a2ae6a8a46f: Waiting 07:34:22 5c69ac0246d0: Verifying Checksum 07:34:22 5c69ac0246d0: Download complete 07:34:22 3a2ae6a8a46f: Verifying Checksum 07:34:22 3a2ae6a8a46f: Download complete 07:34:22 ec43610c2a17: Verifying Checksum 07:34:22 ec43610c2a17: Download complete 07:34:22 33b1e0a273af: Verifying Checksum 07:34:22 33b1e0a273af: Download complete 07:34:22 5d3b04190fa2: Download complete 07:34:22 5eb5b503b376: Verifying Checksum 07:34:22 5eb5b503b376: Download complete 07:34:23 2f39f015ded8: Download complete 07:34:24 5eb5b503b376: Pull complete 07:34:24 5c69ac0246d0: Pull complete 07:34:24 ec43610c2a17: Pull complete 07:34:24 3a2ae6a8a46f: Pull complete 07:34:24 33b1e0a273af: Pull complete 07:34:25 5d3b04190fa2: Pull complete 07:34:29 2f39f015ded8: Pull complete 07:34:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:34:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:34:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:29 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 07:34:29 $ 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-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@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 07:34:35 $ docker top 62942a5c9c68b9f13a270cbd74eee82fb19136494f9fbf8e65274ca5181628d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:35 ---> job-cost.sh 07:34:35 lf-activate-venv: SKIPPING 07:34:35 INFO: No Stack... 07:34:35 INFO: Retrieving Pricing Info for: v3-standard-8 07:34:36 INFO: Archiving Costs [Pipeline] sh 07:34:36 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/cost.csv 07:34:36 + cut -d, -f6 [Pipeline] lock 07:34:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-5-stack-cost] 07:34:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-5-stack-cost] did not exist. Created. 07:34:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:34:36 + echo total: 0.2199999988079071 [Pipeline] stash 07:34:36 Stashed 1 file(s) [Pipeline] } 07:34:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:34:36 $ docker stop --time=1 62942a5c9c68b9f13a270cbd74eee82fb19136494f9fbf8e65274ca5181628d0 07:34:38 $ docker rm -f --volumes 62942a5c9c68b9f13a270cbd74eee82fb19136494f9fbf8e65274ca5181628d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:34:40 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives ] 07:34:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives 07:34:40 total 16 07:34:40 drwxr-xr-x 3 root root 4096 Nov 19 07:34 . 07:34:40 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:34 .. 07:34:40 drwxr-xr-x 2 root root 4096 Nov 19 07:34 cost 07:34:40 -rw-r--r-- 1 root root 86 Nov 19 07:34 cost.csv 07:34:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives 07:34:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives 07:34:40 total 16 07:34:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 07:34 . 07:34:40 drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:34 .. 07:34:40 drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 07:34 cost 07:34:40 -rw-r--r-- 1 jenkins jenkins 86 Nov 19 07:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:34:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:34:41 ---> package-listing.sh 07:34:41 ++ facter osfamily 07:34:41 ++ tr '[:upper:]' '[:lower:]' 07:34:41 + OS_FAMILY=debian 07:34:41 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1541 07:34:41 + START_PACKAGES=/tmp/packages_start.txt 07:34:41 + END_PACKAGES=/tmp/packages_end.txt 07:34:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:34:41 + PACKAGES=/tmp/packages_start.txt 07:34:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' 07:34:41 + PACKAGES=/tmp/packages_end.txt 07:34:41 + case "${OS_FAMILY}" in 07:34:41 + dpkg -l 07:34:41 + grep '^ii' 07:34:41 + '[' -f /tmp/packages_start.txt ']' 07:34:41 + '[' -f /tmp/packages_end.txt ']' 07:34:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:34:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' 07:34:41 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ 07:34:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [Pipeline] echo 07:34:41 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-1541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:34:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:34:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:42 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 07:34:42 $ 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-1541/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-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@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 07:34:42 $ docker top f6236ff8cfa2bd63392606eb2d37c88d5bb976aacadcf138dc5c8163d5366675 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:43 + touch /tmp/pre-build-complete [Pipeline] sh 07:34:43 + mkdir -p /var/log/sysstat [Pipeline] sh 07:34:43 + ls /var/log/sa-host 07:34:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:43 provisioning config files... 07:34:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config10334412467004357510tmp [Pipeline] { [Pipeline] echo 07:34:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:34:44 ---> create-netrc.sh [Pipeline] } 07:34:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:34:44 ---> python-tools-install.sh [Pipeline] echo 07:34:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:34:45 ---> sudo-logs.sh 07:34:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:34:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:34:45 ---> job-cost.sh 07:34:45 lf-activate-venv: SKIPPING 07:34:45 DEBUG: total: 0.2199999988079071 07:34:45 INFO: Retrieving Stack Cost... 07:34:45 INFO: Retrieving Pricing Info for: v3-standard-8 07:34:45 INFO: Archiving Costs [Pipeline] echo 07:34:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:34:45 ---> logs-deploy.sh 07:34:45 lf-activate-venv: SKIPPING 07:34:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1541/5 07:34:45 INFO: archiving workspace using pattern(s): 07:34:46 Archives upload complete. 07:34:46 INFO: archiving logs to Nexus