Pull request #1541 updated Pull request #1541 updated Pull request #1541 updated 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 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 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-ssh8425045517910670946.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-ssh15162774693867197676.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-ssh7942586883377991978.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-ssh11119675827006297284.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-ssh13408671531094775335.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 ‘prd-ubuntu20.04-docker-8c-8g-174’ is offline Running on prd-ubuntu20.04-docker-8c-8g-176 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 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 Merge succeeded, producing 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 Checking out Revision 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 (PR-1541) > 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/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 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 # 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 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 # timeout=10 Commit message: "style: change v2 to v3 on register routes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:33:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:33:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:33:09 ========================================================= 11:33:09 EdgeX Global Pipelines Version Info 11:33:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c9ec4c59934fa29b3b97bcd92b8fbcbcf57830e5 # timeout=10 11:33:09 ------------------- 11:33:09 stable info: 11:33:09 ------------------- 11:33:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:33:09 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:33:09 Message: update stable to v1.0.258 11:33:10 ------------------- 11:33:10 experimental info: 11:33:10 ------------------- 11:33:10 Commited By: **** collab-it+edgex@linuxfoundation.org 11:33:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:33:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:33:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1541 [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1541 [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1541 [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e0d33e [Pipeline] echo 11:33:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:33:11 provisioning config files... 11:33:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config17481838683804421323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:12 ---> ****-login.sh 11:33:12 nexus3.edgexfoundry.org:10001 11:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:12 Configure a credential helper to remove this warning. See 11:33:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:12 11:33:12 Login Succeeded 11:33:12 nexus3.edgexfoundry.org:10002 11:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:12 Configure a credential helper to remove this warning. See 11:33:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:12 11:33:12 Login Succeeded 11:33:12 nexus3.edgexfoundry.org:10003 11:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:12 Configure a credential helper to remove this warning. See 11:33:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:12 11:33:12 Login Succeeded 11:33:12 nexus3.edgexfoundry.org:10004 11:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:12 Configure a credential helper to remove this warning. See 11:33:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:12 11:33:12 Login Succeeded 11:33:12 ****.io 11:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:13 Configure a credential helper to remove this warning. See 11:33:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:13 11:33:13 Login Succeeded 11:33:13 ---> ****-login.sh ends [Pipeline] } 11:33:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:33:13 + git rev-list -1 --merges 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4~1..0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 [Pipeline] echo 11:33:13 -----------> git rev-list -1 --merges 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4~1..0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 [false] [Pipeline] sh 11:33:14 + git log --format=format:%s -1 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 [Pipeline] echo 11:33:14 ========================================================= 11:33:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:33:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:33:14 + git log --format=format:%s -1 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 [Pipeline] echo 11:33:14 [semverPrep] GIT_COMMIT: 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4, Commit Message: style: change v2 to v3 on register routes [Pipeline] echo 11:33:14 [semverPrep] This is not a build commit. [Pipeline] sh 11:33:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:33:15 + grep -v github /etc/ssh/ssh_known_hosts 11:33:15 + [ -e /tmp/ssh_known_hosts ] 11:33:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:33:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:33:15 + sudo tee -a /etc/ssh/ssh_known_hosts 11:33:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:15 11:33:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:15 0.1.4: Pulling from edgex-devops/py-git-semver 11:33:15 b85a868b505f: Pulling fs layer 11:33:15 e2be974225ed: Pulling fs layer 11:33:15 339a4e72a1f5: Pulling fs layer 11:33:15 988bab9f4d93: Pulling fs layer 11:33:15 1469e6f7b9e6: Pulling fs layer 11:33:15 eaf3925da568: Pulling fs layer 11:33:15 bab4dde63d76: Pulling fs layer 11:33:15 bde34c3a00c8: Pulling fs layer 11:33:15 b352a97aabf1: Pulling fs layer 11:33:15 4872d77fe225: Pulling fs layer 11:33:15 5851b861e8e6: Pulling fs layer 11:33:15 bde34c3a00c8: Waiting 11:33:15 eaf3925da568: Waiting 11:33:15 5851b861e8e6: Waiting 11:33:15 1469e6f7b9e6: Waiting 11:33:15 bab4dde63d76: Waiting 11:33:15 4872d77fe225: Waiting 11:33:15 e2be974225ed: Verifying Checksum 11:33:15 e2be974225ed: Download complete 11:33:15 988bab9f4d93: Verifying Checksum 11:33:15 988bab9f4d93: Download complete 11:33:15 1469e6f7b9e6: Verifying Checksum 11:33:15 1469e6f7b9e6: Download complete 11:33:15 eaf3925da568: Verifying Checksum 11:33:15 eaf3925da568: Download complete 11:33:15 339a4e72a1f5: Verifying Checksum 11:33:15 339a4e72a1f5: Download complete 11:33:15 bde34c3a00c8: Download complete 11:33:15 b352a97aabf1: Download complete 11:33:15 4872d77fe225: Download complete 11:33:15 5851b861e8e6: Verifying Checksum 11:33:15 5851b861e8e6: Download complete 11:33:15 b85a868b505f: Verifying Checksum 11:33:15 b85a868b505f: Download complete 11:33:16 bab4dde63d76: Verifying Checksum 11:33:16 bab4dde63d76: Download complete 11:33:17 b85a868b505f: Pull complete 11:33:17 e2be974225ed: Pull complete 11:33:17 339a4e72a1f5: Pull complete 11:33:17 988bab9f4d93: Pull complete 11:33:18 1469e6f7b9e6: Pull complete 11:33:18 eaf3925da568: Pull complete 11:33:20 bab4dde63d76: Pull complete 11:33:20 bde34c3a00c8: Pull complete 11:33:20 b352a97aabf1: Pull complete 11:33:20 4872d77fe225: Pull complete 11:33:20 5851b861e8e6: Pull complete 11:33:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:33:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:20 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 11:33:20 $ 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 11:33:23 $ docker top e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 -eo pid,comm 11:33:23 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). 11:33:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:33:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:23 [ssh-agent] Looking for ssh-agent implementation... 11:33:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:23 $ docker exec e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 ssh-agent 11:33:23 SSH_AUTH_SOCK=/tmp/ssh-otnel5g3zzxd/agent.33 11:33:23 SSH_AGENT_PID=39 11:33:23 Running ssh-add (command line suppressed) 11:33:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_13996783632120797722.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_13996783632120797722.key) 11:33:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:23 + git tag --points-at HEAD [Pipeline] } 11:33:23 $ docker exec --env ******** --env ******** e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 ssh-agent -k 11:33:23 unset SSH_AUTH_SOCK; 11:33:23 unset SSH_AGENT_PID; 11:33:23 echo Agent pid 39 killed; 11:33:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:33:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:24 [ssh-agent] Looking for ssh-agent implementation... 11:33:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:24 $ docker exec e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 ssh-agent 11:33:24 SSH_AUTH_SOCK=/tmp/ssh-ZOa1zZZHd0hH/agent.71 11:33:24 SSH_AGENT_PID=77 11:33:24 Running ssh-add (command line suppressed) 11:33:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_2946952821045723389.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_2946952821045723389.key) 11:33:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:24 + git semver init 11:33:25 2023-11-18 11:33:24,919 [run_init] DEBUG init version:0.0.0 force:False 11:33:25 2023-11-18 11:33:24,920 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver 11:33:25 2023-11-18 11:33:24,921 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver 11:33:25 2023-11-18 11:33:24,922 [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) 11:33:26 2023-11-18 11:33:26,036 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.git/info/exclude 11:33:26 2023-11-18 11:33:26,036 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 with force:False 11:33:26 2023-11-18 11:33:26,037 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 11:33:26 2023-11-18 11:33:26,041 [execute] INFO git cat-file --batch-check 11:33:26 2023-11-18 11:33:26,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) 11:33:26 2023-11-18 11:33:26,049 [execute] INFO git cat-file --batch 11:33:26 2023-11-18 11:33:26,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) 11:33:26 2023-11-18 11:33:26,055 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 11:33:26 0.0.0 [Pipeline] } 11:33:26 $ docker exec --env ******** --env ******** e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 ssh-agent -k 11:33:26 unset SSH_AUTH_SOCK; 11:33:26 unset SSH_AGENT_PID; 11:33:26 echo Agent pid 77 killed; 11:33:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:33:26 + git semver [Pipeline] } 11:33:27 $ docker stop --time=1 e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 11:33:28 $ docker rm -f --volumes e94869bf24b143e46c7506fc81d053073b877ac151836741f888693936412207 [Pipeline] // withDockerContainer [Pipeline] sh 11:33:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:33:29 Stashed 1 file(s) [Pipeline] echo 11:33:29 [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 11:33:29 provisioning config files... 11:33:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config11580349271175798850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:29 ---> ****-login.sh 11:33:29 nexus3.edgexfoundry.org:10001 11:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:29 Configure a credential helper to remove this warning. See 11:33:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:29 11:33:29 Login Succeeded 11:33:29 nexus3.edgexfoundry.org:10002 11:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:29 Configure a credential helper to remove this warning. See 11:33:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:29 11:33:29 Login Succeeded 11:33:29 nexus3.edgexfoundry.org:10003 11:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:30 Configure a credential helper to remove this warning. See 11:33:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:30 11:33:30 Login Succeeded 11:33:30 nexus3.edgexfoundry.org:10004 11:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:30 Configure a credential helper to remove this warning. See 11:33:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:30 11:33:30 Login Succeeded 11:33:30 ****.io 11:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:33:30 Configure a credential helper to remove this warning. See 11:33:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:33:30 11:33:30 Login Succeeded 11:33:30 ---> ****-login.sh ends [Pipeline] } 11:33:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:33:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:33:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:33:30 ========================================================= 11:33:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:33:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:31 + 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 . 11:33:31 Sending build context to Docker daemon 21.95MB 11:33:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 11:33:31 Step 2/10 : FROM ${BASE} AS builder 11:33:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:33:31 7264a8db6415: Pulling fs layer 11:33:31 c4d48a809fc2: Pulling fs layer 11:33:31 4f1c88b9dad5: Pulling fs layer 11:33:31 ad3a456e5733: Pulling fs layer 11:33:31 69c7f0334f64: Pulling fs layer 11:33:31 ad3a456e5733: Waiting 11:33:31 1f1c1a5573a3: Pulling fs layer 11:33:31 ce7588e14bc9: Pulling fs layer 11:33:31 69c7f0334f64: Waiting 11:33:31 1f1c1a5573a3: Waiting 11:33:31 b5e4710f87ac: Pulling fs layer 11:33:31 ce7588e14bc9: Waiting 11:33:31 b5e4710f87ac: Waiting 11:33:31 c4d48a809fc2: Download complete 11:33:31 ad3a456e5733: Verifying Checksum 11:33:31 ad3a456e5733: Download complete 11:33:31 69c7f0334f64: Verifying Checksum 11:33:31 69c7f0334f64: Download complete 11:33:31 7264a8db6415: Verifying Checksum 11:33:31 7264a8db6415: Download complete 11:33:31 1f1c1a5573a3: Verifying Checksum 11:33:31 1f1c1a5573a3: Download complete 11:33:31 7264a8db6415: Pull complete 11:33:31 c4d48a809fc2: Pull complete 11:33:31 b5e4710f87ac: Verifying Checksum 11:33:31 b5e4710f87ac: Download complete 11:33:31 4f1c88b9dad5: Download complete 11:33:32 ce7588e14bc9: Verifying Checksum 11:33:32 ce7588e14bc9: Download complete 11:33:35 4f1c88b9dad5: Pull complete 11:33:35 ad3a456e5733: Pull complete 11:33:35 69c7f0334f64: Pull complete 11:33:35 1f1c1a5573a3: Pull complete 11:33:38 ce7588e14bc9: Pull complete 11:33:38 b5e4710f87ac: Pull complete 11:33:38 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 11:33:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:33:38 ---> 88b5674ff536 11:33:38 Step 3/10 : ARG MAKE=make build 11:33:44 ---> Running in d8ba498c15e9 11:33:44 Removing intermediate container d8ba498c15e9 11:33:44 ---> f06be3c9b5ca 11:33:44 Step 4/10 : WORKDIR /device-sdk-go 11:33:44 ---> Running in 115bb2ae924c 11:33:44 Removing intermediate container 115bb2ae924c 11:33:44 ---> fe67f3c23b95 11:33:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:33:44 ---> Running in 05b61ff1529e 11:33:44 Removing intermediate container 05b61ff1529e 11:33:44 ---> e1d228d1c801 11:33:44 Step 6/10 : RUN apk add --update --no-cache make git 11:33:44 ---> Running in 7a513ba5ea12 11:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:33:44 OK: 264 MiB in 52 packages 11:33:44 Still waiting to schedule task 11:33:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-175’ is offline 11:33:44 Removing intermediate container 7a513ba5ea12 11:33:44 ---> 6a74d9923898 11:33:44 Step 7/10 : COPY go.mod vendor* ./ 11:33:44 ---> 5f52def630f6 11:33:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:33:44 ---> Running in 1d1933153536 11:34:31 Removing intermediate container 1d1933153536 11:34:31 ---> 376ad7ff958f 11:34:31 Step 9/10 : COPY . . 11:34:31 ---> 62f20c2acc94 11:34:31 Step 10/10 : RUN ${MAKE} 11:34:31 ---> Running in e6e39c5ac508 11:34:31 noop 11:34:31 Removing intermediate container e6e39c5ac508 11:34:31 ---> dcc97602a1b3 11:34:31 Successfully built dcc97602a1b3 11:34:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:31 + docker inspect -f . ci-base-image-x86_64 11:34:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:31 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 11:34:31 $ 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 11:34:32 $ docker top f3cdaa892cc7b42bad3976b3a38dfec97a29e4bf7342aa706ae43b5351e8c828 -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:32 + go version 11:34:32 go version go1.21.0 linux/amd64 [Pipeline] } 11:34:32 $ docker stop --time=1 f3cdaa892cc7b42bad3976b3a38dfec97a29e4bf7342aa706ae43b5351e8c828 11:34:33 $ docker rm -f --volumes f3cdaa892cc7b42bad3976b3a38dfec97a29e4bf7342aa706ae43b5351e8c828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:34 + docker inspect -f . ci-base-image-x86_64 11:34:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:34 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 11:34:34 $ 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 11:34:35 $ docker top 23bd1c598bf3fc5c3a99bb0f90add5244f836434f31783d4fec2b1852591f155 -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] fileExists [Pipeline] sh 11:34:35 + make test 11:34:35 go test -race -coverprofile=coverage.out ./... 11:34:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:34:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements 11:34:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.047s coverage: 81.5% of statements 11:34:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements 11:34:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:35:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.086s coverage: 71.8% of statements 11:35:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:35:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:35:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:35:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.069s coverage: 14.4% of statements 11:35:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.877s coverage: 45.9% of statements 11:35:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.080s coverage: 68.5% of statements 11:35:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements 11:35:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 11:35:26 GO111MODULE=on go vet ./... 11:35:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:35:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:35:27 ./bin/test-attribution-txt.sh 11:35:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-177 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] { [Pipeline] ws 11:35:27 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 11:35:30 The recommended git tool is: git [Pipeline] echo 11:35:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:35:30 $ docker stop --time=1 23bd1c598bf3fc5c3a99bb0f90add5244f836434f31783d4fec2b1852591f155 11:35:34 $ docker rm -f --volumes 23bd1c598bf3fc5c3a99bb0f90add5244f836434f31783d4fec2b1852591f155 [Pipeline] // withDockerContainer [Pipeline] sh 11:35:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:35:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:35:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:35:36 + ls -al . 11:35:36 total 308 11:35:36 drwxrwxr-x 11 jenkins jenkins 4096 Nov 18 11:34 . 11:35:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 11:33 .. 11:35:36 -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 11:33 .dockerignore 11:35:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 11:35 .git 11:35:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 11:33 .github 11:35:36 -rw-rw-r-- 1 jenkins jenkins 137 Nov 18 11:33 .gitignore 11:35:36 -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 11:33 .golangci.yml 11:35:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 11:33 .semver 11:35:36 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 18 11:33 CHANGELOG.md 11:35:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 11:33 GOVERNANCE.md 11:35:36 -rw-rw-r-- 1 jenkins jenkins 885 Nov 18 11:33 Jenkinsfile 11:35:36 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 18 11:33 LICENSE 11:35:36 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 18 11:33 Makefile 11:35:36 -rw-rw-r-- 1 jenkins jenkins 619 Nov 18 11:33 OWNERS.md 11:35:36 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 18 11:33 README.md 11:35:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 11:33 VERSION 11:35:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 11:33 bin 11:35:36 -rw-r--r-- 1 jenkins jenkins 122153 Nov 18 11:35 coverage.out 11:35:36 drwxrwxr-x 5 jenkins jenkins 4096 Nov 18 11:33 example 11:35:36 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 18 11:33 go.mod 11:35:36 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 18 11:33 go.sum 11:35:36 drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:33 internal 11:35:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 11:33 openapi 11:35:36 drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 11:33 pkg 11:35:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 11:33 snap 11:35:36 -rw-rw-r-- 1 jenkins jenkins 222 Nov 18 11:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:36 + 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=0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 --label arch=amd64 --label version=0.0.0 . 11:35:36 Sending build context to Docker daemon 22.07MB 11:35:36 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 11:35:36 Step 2/23 : FROM ${BASE} AS builder 11:35:36 ---> dcc97602a1b3 11:35:36 Step 3/23 : ARG MAKE=make build 11:35:37 ---> Running in 31d6f413b8aa 11:35:37 Removing intermediate container 31d6f413b8aa 11:35:37 ---> 2b6eede431bd 11:35:37 Step 4/23 : WORKDIR /device-sdk-go 11:35:37 ---> Running in 9a8e4492d976 11:35:37 Removing intermediate container 9a8e4492d976 11:35:37 ---> fd92f14519e5 11:35:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:35:37 ---> Running in 9712809e6b02 11:35:37 Removing intermediate container 9712809e6b02 11:35:37 ---> b160b83e1cb7 11:35:37 Step 6/23 : RUN apk add --update --no-cache make git 11:35:37 ---> Running in 63c5a01af0f8 11:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:35:38 OK: 264 MiB in 52 packages 11:35:38 Removing intermediate container 63c5a01af0f8 11:35:38 ---> 1663b6b6c39e 11:35:38 Step 7/23 : COPY go.mod vendor* ./ 11:35:38 ---> e6ee349c2c67 11:35:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:35:38 ---> Running in 486a7bd02cdb 11:35:39 Removing intermediate container 486a7bd02cdb 11:35:39 ---> 24c4b0dc1de2 11:35:39 Step 9/23 : COPY . . 11:35:40 ---> a306b3fc3483 11:35:40 Step 10/23 : RUN ${MAKE} 11:35:40 ---> Running in 2f183f282e60 11:35:40 using credential edgex-jenkins-ssh 11:35:40 Cloning the remote Git repository 11:35:40 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 11:35:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:35:40 > git init /w/workspace/device-sdk-go/3 # timeout=10 11:35:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:35:40 > git --version # timeout=10 11:35:40 > git --version # 'git version 2.25.1' 11:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 11:35:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:35:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:35:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:35:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:35:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 11:35:44 > 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 11:35:45 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:35:46 Failed in branch arm64 11:35:45 > git config core.sparsecheckout # timeout=10 11:35:45 > git checkout -f 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 # timeout=10 11:36:07 Removing intermediate container 2f183f282e60 11:36:07 ---> 9c3812f0709d 11:36:07 Step 11/23 : FROM alpine:3.18 11:36:07 3.18: Pulling from library/alpine 11:36:07 96526aa774ef: Pulling fs layer 11:36:07 96526aa774ef: Download complete 11:36:07 96526aa774ef: Pull complete 11:36:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:36:07 Status: Downloaded newer image for alpine:3.18 11:36:07 ---> 8ca4688f4f35 11:36:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:36:07 ---> Running in ab9b821f212f 11:36:07 Removing intermediate container ab9b821f212f 11:36:07 ---> 7434fd3b76d3 11:36:07 Step 13/23 : RUN apk add --update --no-cache 11:36:07 ---> Running in 3c4a4ea86208 11:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:36:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:36:07 OK: 7 MiB in 15 packages 11:36:07 Removing intermediate container 3c4a4ea86208 11:36:07 ---> f2a986c3e4cc 11:36:07 Step 14/23 : WORKDIR / 11:36:07 ---> Running in aa1b0c0524e8 11:36:07 Removing intermediate container aa1b0c0524e8 11:36:07 ---> 9171d0c18295 11:36:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:36:07 ---> aa2bae8e20a6 11:36:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:36:07 ---> 369705f6b48f 11:36:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:36:07 ---> 2d104f568e61 11:36:07 Step 18/23 : EXPOSE 59999 11:36:07 ---> Running in bb36e5a7b918 11:36:07 Removing intermediate container bb36e5a7b918 11:36:07 ---> 78964de2ed0f 11:36:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:36:07 ---> Running in cbaabb80e8f1 11:36:07 Removing intermediate container cbaabb80e8f1 11:36:07 ---> d991f604aea7 11:36:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:36:07 ---> Running in 2ff2c0319d8d 11:36:07 Removing intermediate container 2ff2c0319d8d 11:36:07 ---> ee0dcace0586 11:36:07 Step 21/23 : LABEL arch=amd64 11:36:07 ---> Running in 3ab064d48309 11:36:07 Removing intermediate container 3ab064d48309 11:36:07 ---> 4782c41f75a9 11:36:07 Step 22/23 : LABEL git_sha=0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 11:36:07 ---> Running in 4187624a7ed6 11:36:07 Removing intermediate container 4187624a7ed6 11:36:07 ---> e1eeebbfe80e 11:36:07 Step 23/23 : LABEL version=0.0.0 11:36:07 ---> Running in 9885e14b56c5 11:36:07 Removing intermediate container 9885e14b56c5 11:36:07 ---> 2543cf31cdf9 11:36:07 [Warning] One or more build-args [ARCH] were not consumed 11:36:07 Successfully built 2543cf31cdf9 11:36:07 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 11:36:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:07 11:36:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:08 latest: Pulling from edgex-lftools-log-publisher 11:36:08 5eb5b503b376: Pulling fs layer 11:36:08 5c69ac0246d0: Pulling fs layer 11:36:08 ec43610c2a17: Pulling fs layer 11:36:08 3a2ae6a8a46f: Pulling fs layer 11:36:08 33b1e0a273af: Pulling fs layer 11:36:08 5d3b04190fa2: Pulling fs layer 11:36:08 2f39f015ded8: Pulling fs layer 11:36:08 5d3b04190fa2: Waiting 11:36:08 33b1e0a273af: Waiting 11:36:08 2f39f015ded8: Waiting 11:36:08 5c69ac0246d0: Download complete 11:36:08 3a2ae6a8a46f: Verifying Checksum 11:36:08 3a2ae6a8a46f: Download complete 11:36:08 33b1e0a273af: Verifying Checksum 11:36:08 33b1e0a273af: Download complete 11:36:08 5d3b04190fa2: Verifying Checksum 11:36:08 5d3b04190fa2: Download complete 11:36:08 ec43610c2a17: Verifying Checksum 11:36:08 ec43610c2a17: Download complete 11:36:08 5eb5b503b376: Download complete 11:36:08 2f39f015ded8: Download complete 11:36:09 5eb5b503b376: Pull complete 11:36:09 5c69ac0246d0: Pull complete 11:36:10 ec43610c2a17: Pull complete 11:36:10 3a2ae6a8a46f: Pull complete 11:36:10 33b1e0a273af: Pull complete 11:36:10 5d3b04190fa2: Pull complete 11:36:14 2f39f015ded8: Pull complete 11:36:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:36:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:15 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 11:36:15 $ 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 11:36:21 $ docker top 94e39e99148f18713fc4faf9f53dabfc088a08fd9371f4c5b3d4eb0cf5bdd452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:21 ---> job-cost.sh 11:36:21 lf-activate-venv: SKIPPING 11:36:21 INFO: No Stack... 11:36:22 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:22 INFO: Archiving Costs [Pipeline] sh 11:36:23 + cut -d, -f6 11:36:23 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/cost.csv [Pipeline] lock 11:36:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-3-stack-cost] 11:36:23 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-3-stack-cost] did not exist. Created. 11:36:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:36:23 + echo total: 0.2199999988079071 [Pipeline] stash 11:36:23 Stashed 1 file(s) [Pipeline] } 11:36:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:36:23 $ docker stop --time=1 94e39e99148f18713fc4faf9f53dabfc088a08fd9371f4c5b3d4eb0cf5bdd452 11:36:24 $ docker rm -f --volumes 94e39e99148f18713fc4faf9f53dabfc088a08fd9371f4c5b3d4eb0cf5bdd452 [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 11:36:26 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives ] 11:36:26 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives 11:36:26 total 16 11:36:26 drwxr-xr-x 3 root root 4096 Nov 18 11:36 . 11:36:26 drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:36 .. 11:36:26 drwxr-xr-x 2 root root 4096 Nov 18 11:36 cost 11:36:26 -rw-r--r-- 1 root root 86 Nov 18 11:36 cost.csv 11:36:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives 11:36:26 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives 11:36:26 total 16 11:36:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 11:36 . 11:36:26 drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:36 .. 11:36:26 drwxr-xr-x 2 jenkins jenkins 4096 Nov 18 11:36 cost 11:36:26 -rw-r--r-- 1 jenkins jenkins 86 Nov 18 11:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:36:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:36:27 ---> package-listing.sh 11:36:27 ++ facter osfamily 11:36:27 ++ tr '[:upper:]' '[:lower:]' 11:36:28 + OS_FAMILY=debian 11:36:28 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1541 11:36:28 + START_PACKAGES=/tmp/packages_start.txt 11:36:28 + END_PACKAGES=/tmp/packages_end.txt 11:36:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:36:28 + PACKAGES=/tmp/packages_start.txt 11:36:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' 11:36:28 + PACKAGES=/tmp/packages_end.txt 11:36:28 + case "${OS_FAMILY}" in 11:36:28 + dpkg -l 11:36:28 + grep '^ii' 11:36:28 + '[' -f /tmp/packages_start.txt ']' 11:36:28 + '[' -f /tmp/packages_end.txt ']' 11:36:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:36:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' 11:36:28 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ 11:36:28 + 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 11:36:28 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 11:36:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:29 prd-ubuntu20.04-docker-8c-8g-176 does not seem to be running inside a container 11:36:29 $ 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 11:36:29 $ docker top cd4d4e057742fd20b81c87c202edd579ec3b69894bdeb98891143a09d10f8a86 -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:29 + touch /tmp/pre-build-complete [Pipeline] sh 11:36:29 + mkdir -p /var/log/sysstat [Pipeline] sh 11:36:30 + ls /var/log/sa-host 11:36:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:36:30 provisioning config files... 11:36:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config11418916551890729986tmp [Pipeline] { [Pipeline] echo 11:36:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:36:30 ---> create-netrc.sh [Pipeline] } 11:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:36:31 ---> python-tools-install.sh [Pipeline] echo 11:36:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:36:31 ---> sudo-logs.sh 11:36:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:36:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:36:31 ---> job-cost.sh 11:36:31 lf-activate-venv: SKIPPING 11:36:31 DEBUG: total: 0.2199999988079071 11:36:31 INFO: Retrieving Stack Cost... 11:36:31 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:32 INFO: Archiving Costs [Pipeline] echo 11:36:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:36:32 ---> logs-deploy.sh 11:36:32 lf-activate-venv: SKIPPING 11:36:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1541/3 11:36:32 INFO: archiving workspace using pattern(s): 11:36:33 Archives upload complete. 11:36:33 INFO: archiving logs to Nexus