Pull request #1298 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 vli11 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 024580853e531fb3d006e68d62fe459063a19404+881f10918eb4e60f546b60d89ac5bea6bad2c109 (bb60c784cddb4c09d9c536160c94704146081ccc) 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-ssh9856063279599038953.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2232668247620882618.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1298/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-1298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8497408033727343980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2600426568951096860.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-1298/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-1298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1536371935092609033.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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4301’ Running on prd-ubuntu20.04-docker-8c-8g-4303 in /w/workspace/gexfoundry_device-sdk-go_PR-1298 [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-1298 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 024580853e531fb3d006e68d62fe459063a19404 > 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/1298/head:refs/remotes/origin/PR-1298 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 024580853e531fb3d006e68d62fe459063a19404 # timeout=10 Merge succeeded, producing 024580853e531fb3d006e68d62fe459063a19404 Checking out Revision 024580853e531fb3d006e68d62fe459063a19404 (PR-1298) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 024580853e531fb3d006e68d62fe459063a19404 # timeout=10 Commit message: "remove old metrics from device-sdk.yaml" > git rev-list --no-walk 030294c36d646ef6870978c4736a7a90983f3a63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:16:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:16:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:16:16 ========================================================= 23:16:16 EdgeX Global Pipelines Version Info 23:16:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:16:17 ------------------- 23:16:17 stable info: 23:16:17 ------------------- 23:16:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:16:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:16:17 Message: update stable to v1.0.244 23:16:18 ------------------- 23:16:18 experimental info: 23:16:18 ------------------- 23:16:18 Commited By: **** collab-it+edgex@linuxfoundation.org 23:16:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:16:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1298 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1298 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1298 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 024580853e531fb3d006e68d62fe459063a19404 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0245808 [Pipeline] echo 23:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:18 provisioning config files... 23:16:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config4530133373936530965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:19 ---> docker-login.sh 23:16:19 nexus3.edgexfoundry.org:10001 23:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:19 Configure a credential helper to remove this warning. See 23:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:19 23:16:19 Login Succeeded 23:16:19 nexus3.edgexfoundry.org:10002 23:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:19 Configure a credential helper to remove this warning. See 23:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:19 23:16:19 Login Succeeded 23:16:19 nexus3.edgexfoundry.org:10003 23:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:19 Configure a credential helper to remove this warning. See 23:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:19 23:16:19 Login Succeeded 23:16:19 nexus3.edgexfoundry.org:10004 23:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:19 Configure a credential helper to remove this warning. See 23:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:19 23:16:19 Login Succeeded 23:16:19 docker.io 23:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:19 Configure a credential helper to remove this warning. See 23:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:19 23:16:19 Login Succeeded 23:16:19 ---> docker-login.sh ends [Pipeline] } 23:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:16:20 + git rev-list -1 --merges 024580853e531fb3d006e68d62fe459063a19404~1..024580853e531fb3d006e68d62fe459063a19404 [Pipeline] echo 23:16:20 -----------> git rev-list -1 --merges 024580853e531fb3d006e68d62fe459063a19404~1..024580853e531fb3d006e68d62fe459063a19404 024580853e531fb3d006e68d62fe459063a19404 [false] [Pipeline] sh 23:16:20 + git log --format=format:%s -1 024580853e531fb3d006e68d62fe459063a19404 [Pipeline] echo 23:16:20 ========================================================= 23:16:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:16:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:20 + git log --format=format:%s -1 024580853e531fb3d006e68d62fe459063a19404 [Pipeline] echo 23:16:20 [semverPrep] GIT_COMMIT: 024580853e531fb3d006e68d62fe459063a19404, Commit Message: remove old metrics from device-sdk.yaml [Pipeline] echo 23:16:20 [semverPrep] This is not a build commit. [Pipeline] sh 23:16:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:21 + grep -v github /etc/ssh/ssh_known_hosts 23:16:21 + [ -e /tmp/ssh_known_hosts ] 23:16:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:16:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:16:21 + sudo tee -a /etc/ssh/ssh_known_hosts 23:16:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:21 23:16:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:22 0.1.4: Pulling from edgex-devops/py-git-semver 23:16:22 b85a868b505f: Pulling fs layer 23:16:22 e2be974225ed: Pulling fs layer 23:16:22 339a4e72a1f5: Pulling fs layer 23:16:22 988bab9f4d93: Pulling fs layer 23:16:22 1469e6f7b9e6: Pulling fs layer 23:16:22 eaf3925da568: Pulling fs layer 23:16:22 bab4dde63d76: Pulling fs layer 23:16:22 bde34c3a00c8: Pulling fs layer 23:16:22 b352a97aabf1: Pulling fs layer 23:16:22 4872d77fe225: Pulling fs layer 23:16:22 5851b861e8e6: Pulling fs layer 23:16:22 bab4dde63d76: Waiting 23:16:22 eaf3925da568: Waiting 23:16:22 988bab9f4d93: Waiting 23:16:22 bde34c3a00c8: Waiting 23:16:22 b352a97aabf1: Waiting 23:16:22 4872d77fe225: Waiting 23:16:22 5851b861e8e6: Waiting 23:16:22 1469e6f7b9e6: Waiting 23:16:22 e2be974225ed: Verifying Checksum 23:16:22 e2be974225ed: Download complete 23:16:22 988bab9f4d93: Verifying Checksum 23:16:22 988bab9f4d93: Download complete 23:16:22 1469e6f7b9e6: Verifying Checksum 23:16:22 1469e6f7b9e6: Download complete 23:16:22 eaf3925da568: Verifying Checksum 23:16:22 eaf3925da568: Download complete 23:16:22 339a4e72a1f5: Verifying Checksum 23:16:22 339a4e72a1f5: Download complete 23:16:22 bde34c3a00c8: Verifying Checksum 23:16:22 bde34c3a00c8: Download complete 23:16:22 b352a97aabf1: Download complete 23:16:22 4872d77fe225: Verifying Checksum 23:16:22 4872d77fe225: Download complete 23:16:22 5851b861e8e6: Download complete 23:16:22 b85a868b505f: Verifying Checksum 23:16:22 b85a868b505f: Download complete 23:16:22 bab4dde63d76: Verifying Checksum 23:16:22 bab4dde63d76: Download complete 23:16:23 b85a868b505f: Pull complete 23:16:23 e2be974225ed: Pull complete 23:16:24 339a4e72a1f5: Pull complete 23:16:24 988bab9f4d93: Pull complete 23:16:24 1469e6f7b9e6: Pull complete 23:16:24 eaf3925da568: Pull complete 23:16:25 bab4dde63d76: Pull complete 23:16:26 bde34c3a00c8: Pull complete 23:16:26 b352a97aabf1: Pull complete 23:16:26 4872d77fe225: Pull complete 23:16:26 5851b861e8e6: Pull complete 23:16:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:26 prd-ubuntu20.04-docker-8c-8g-4303 does not seem to be running inside a container 23:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@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 23:16:27 $ docker top 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa -eo pid,comm 23:16:27 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). 23:16:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:27 [ssh-agent] Looking for ssh-agent implementation... 23:16:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:27 $ docker exec 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa ssh-agent 23:16:28 SSH_AUTH_SOCK=/tmp/ssh-5Kn7QtNTN5PW/agent.32 23:16:28 SSH_AGENT_PID=38 23:16:28 Running ssh-add (command line suppressed) 23:16:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_13141194636898979505.key (/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_13141194636898979505.key) 23:16:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:28 + git tag --points-at HEAD [Pipeline] } 23:16:28 $ docker exec --env ******** --env ******** 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa ssh-agent -k 23:16:28 unset SSH_AUTH_SOCK; 23:16:28 unset SSH_AGENT_PID; 23:16:28 echo Agent pid 38 killed; 23:16:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:16:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:28 [ssh-agent] Looking for ssh-agent implementation... 23:16:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:28 $ docker exec 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa ssh-agent 23:16:28 SSH_AUTH_SOCK=/tmp/ssh-4z3zozAvUrdD/agent.71 23:16:28 SSH_AGENT_PID=77 23:16:28 Running ssh-add (command line suppressed) 23:16:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_15647158069463855975.key (/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/private_key_15647158069463855975.key) 23:16:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:29 + git semver init 23:16:29 2023-02-01 23:16:29,404 [run_init] DEBUG init version:0.0.0 force:False 23:16:29 2023-02-01 23:16:29,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver 23:16:29 2023-02-01 23:16:29,406 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver 23:16:29 2023-02-01 23:16:29,406 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1298, universal_newlines=False, shell=None, istream=None) 23:16:30 2023-02-01 23:16:30,295 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.git/info/exclude 23:16:30 2023-02-01 23:16:30,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver/PR-1298 with force:False 23:16:30 2023-02-01 23:16:30,296 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver/PR-1298 23:16:30 2023-02-01 23:16:30,300 [execute] INFO git cat-file --batch-check 23:16:30 2023-02-01 23:16:30,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver, universal_newlines=False, shell=None, istream=) 23:16:30 2023-02-01 23:16:30,307 [execute] INFO git cat-file --batch 23:16:30 2023-02-01 23:16:30,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver, universal_newlines=False, shell=None, istream=) 23:16:30 2023-02-01 23:16:30,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1298/.semver/PR-1298 23:16:30 0.0.0 [Pipeline] } 23:16:30 $ docker exec --env ******** --env ******** 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa ssh-agent -k 23:16:30 unset SSH_AUTH_SOCK; 23:16:30 unset SSH_AGENT_PID; 23:16:30 echo Agent pid 77 killed; 23:16:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:30 + git semver [Pipeline] } 23:16:31 $ docker stop --time=1 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa 23:16:32 $ docker rm -f --volumes 6b3919399c5121cd47793e83202c6583721c0a06d45a237aea3ca83096604cfa [Pipeline] // withDockerContainer [Pipeline] sh 23:16:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:16:32 Stashed 1 file(s) [Pipeline] echo 23:16:32 [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 23:16:33 provisioning config files... 23:16:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config3661571998636550913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:33 ---> docker-login.sh 23:16:33 nexus3.edgexfoundry.org:10001 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 nexus3.edgexfoundry.org:10002 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 nexus3.edgexfoundry.org:10003 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 nexus3.edgexfoundry.org:10004 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 docker.io 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 ---> docker-login.sh ends [Pipeline] } 23:16:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:34 ========================================================= 23:16:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:16:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:34 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 23:16:34 Sending build context to Docker daemon 10.55MB 23:16:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 23:16:34 Step 2/10 : FROM ${BASE} AS builder 23:16:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:16:34 213ec9aee27d: Pulling fs layer 23:16:34 4583459ba037: Pulling fs layer 23:16:34 93c1e223e6f2: Pulling fs layer 23:16:34 53926ce57604: Pulling fs layer 23:16:34 21b2b0c7a3f4: Pulling fs layer 23:16:34 22ff95d597cd: Pulling fs layer 23:16:34 12d6caf4c0d1: Pulling fs layer 23:16:34 96b7cbca73a9: Pulling fs layer 23:16:34 a7acece74701: Pulling fs layer 23:16:34 53926ce57604: Waiting 23:16:34 21b2b0c7a3f4: Waiting 23:16:34 22ff95d597cd: Waiting 23:16:34 96b7cbca73a9: Waiting 23:16:34 a7acece74701: Waiting 23:16:34 93c1e223e6f2: Verifying Checksum 23:16:34 93c1e223e6f2: Download complete 23:16:34 4583459ba037: Verifying Checksum 23:16:34 4583459ba037: Download complete 23:16:34 21b2b0c7a3f4: Verifying Checksum 23:16:34 21b2b0c7a3f4: Download complete 23:16:34 22ff95d597cd: Verifying Checksum 23:16:34 22ff95d597cd: Download complete 23:16:34 213ec9aee27d: Verifying Checksum 23:16:34 213ec9aee27d: Download complete 23:16:34 12d6caf4c0d1: Verifying Checksum 23:16:34 12d6caf4c0d1: Download complete 23:16:34 213ec9aee27d: Pull complete 23:16:34 4583459ba037: Pull complete 23:16:34 93c1e223e6f2: Pull complete 23:16:35 a7acece74701: Verifying Checksum 23:16:35 a7acece74701: Download complete 23:16:35 53926ce57604: Verifying Checksum 23:16:35 53926ce57604: Download complete 23:16:36 96b7cbca73a9: Verifying Checksum 23:16:36 96b7cbca73a9: Download complete 23:16:39 53926ce57604: Pull complete 23:16:39 21b2b0c7a3f4: Pull complete 23:16:39 22ff95d597cd: Pull complete 23:16:39 12d6caf4c0d1: Pull complete 23:16:40 96b7cbca73a9: Pull complete 23:16:41 a7acece74701: Pull complete 23:16:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:16:41 ---> db6d94c90886 23:16:41 Step 3/10 : ARG MAKE=make build 23:16:43 ---> Running in 3d3f69fe0ec5 23:16:43 Removing intermediate container 3d3f69fe0ec5 23:16:43 ---> 7d2b85b7da03 23:16:43 Step 4/10 : WORKDIR /device-sdk-go 23:16:43 ---> Running in 92a935979405 23:16:43 Removing intermediate container 92a935979405 23:16:43 ---> 71b5a217d845 23:16:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:16:43 ---> Running in 7d28d9aebc59 23:16:43 Removing intermediate container 7d28d9aebc59 23:16:43 ---> 728608aa212f 23:16:43 Step 6/10 : RUN apk add --update --no-cache make git 23:16:43 ---> Running in c998435b1717 23:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:16:44 OK: 211 MiB in 51 packages 23:16:44 Removing intermediate container c998435b1717 23:16:44 ---> f1bf2fa86d3d 23:16:44 Step 7/10 : COPY go.mod vendor* ./ 23:16:44 ---> 54b3e9c2b1e6 23:16:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:44 ---> Running in d67a834af5c3 23:16:48 Still waiting to schedule task 23:16:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4302’ 23:17:40 Removing intermediate container d67a834af5c3 23:17:40 ---> 65438ec52a10 23:17:40 Step 9/10 : COPY . . 23:17:40 ---> 3ab196911e4e 23:17:40 Step 10/10 : RUN ${MAKE} 23:17:40 ---> Running in 40698de827c2 23:17:40 noop 23:17:40 Removing intermediate container 40698de827c2 23:17:40 ---> e08783d780eb 23:17:40 Successfully built e08783d780eb 23:17:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:41 + docker inspect -f . ci-base-image-x86_64 23:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:41 prd-ubuntu20.04-docker-8c-8g-4303 does not seem to be running inside a container 23:17:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@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 23:17:41 $ docker top 6ffbf1dd2a9f1c484c0536c8b8e3279baa564a7b61f46fd9c975e95a7cd4af7f -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:41 + go version 23:17:41 go version go1.18.7 linux/amd64 [Pipeline] } 23:17:41 $ docker stop --time=1 6ffbf1dd2a9f1c484c0536c8b8e3279baa564a7b61f46fd9c975e95a7cd4af7f 23:17:43 $ docker rm -f --volumes 6ffbf1dd2a9f1c484c0536c8b8e3279baa564a7b61f46fd9c975e95a7cd4af7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:43 + docker inspect -f . ci-base-image-x86_64 23:17:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:43 prd-ubuntu20.04-docker-8c-8g-4303 does not seem to be running inside a container 23:17:43 $ 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-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@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 23:17:44 $ docker top 4a3ba211295ff87b0295eb60dbbd8a3e5ea069439375f078ca5e2de696536e5e -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1298 [Pipeline] fileExists [Pipeline] sh 23:17:44 + make test 23:17:44 go test -race -coverprofile=coverage.out ./... 23:17:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.049s coverage: 27.6% of statements 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 78.9% of statements 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.104s coverage: 73.6% of statements 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.128s coverage: 59.8% of statements 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 65.1% of statements 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.742s coverage: 89.2% of statements 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 23:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 4.6% of statements 23:18:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:18:18 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:18:18 GO111MODULE=on go vet ./... 23:18:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:19 $ docker stop --time=1 4a3ba211295ff87b0295eb60dbbd8a3e5ea069439375f078ca5e2de696536e5e 23:18:21 $ docker rm -f --volumes 4a3ba211295ff87b0295eb60dbbd8a3e5ea069439375f078ca5e2de696536e5e [Pipeline] // withDockerContainer [Pipeline] sh 23:18:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:18:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:22 + ls -al . 23:18:22 total 272 23:18:22 drwxrwxr-x 11 jenkins jenkins 4096 Feb 1 23:17 . 23:18:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:16 .. 23:18:22 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 23:16 .dockerignore 23:18:22 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 23:18 .git 23:18:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 23:16 .github 23:18:22 -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 23:16 .gitignore 23:18:22 -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 23:16 .golangci.yml 23:18:22 drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 23:16 .semver 23:18:22 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 23:16 CHANGELOG.md 23:18:22 -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 23:16 GOVERNANCE.md 23:18:22 -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 23:16 Jenkinsfile 23:18:22 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 23:16 LICENSE 23:18:22 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 23:16 Makefile 23:18:22 -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 23:16 OWNERS.md 23:18:22 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 23:16 README.md 23:18:22 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 23:16 VERSION 23:18:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 23:16 bin 23:18:22 -rw-r--r-- 1 jenkins jenkins 100730 Feb 1 23:18 coverage.out 23:18:22 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 23:16 example 23:18:22 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 23:16 go.mod 23:18:22 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 23:16 go.sum 23:18:22 drwxrwxr-x 13 jenkins jenkins 4096 Feb 1 23:16 internal 23:18:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:16 openapi 23:18:22 drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 23:16 pkg 23:18:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 23:16 snap 23:18:22 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:23 + 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=024580853e531fb3d006e68d62fe459063a19404 --label arch=amd64 --label version=0.0.0 . 23:18:23 Sending build context to Docker daemon 10.65MB 23:18:23 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 23:18:23 Step 2/23 : FROM ${BASE} AS builder 23:18:23 ---> e08783d780eb 23:18:23 Step 3/23 : ARG MAKE=make build 23:18:23 ---> Running in 75e2a6be7da1 23:18:23 Removing intermediate container 75e2a6be7da1 23:18:23 ---> dd5fbfe77822 23:18:23 Step 4/23 : WORKDIR /device-sdk-go 23:18:23 ---> Running in bf2a32d3d893 23:18:23 Removing intermediate container bf2a32d3d893 23:18:23 ---> 0a68b442f6ae 23:18:23 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:18:23 ---> Running in f5931959f3e5 23:18:23 Removing intermediate container f5931959f3e5 23:18:23 ---> d40e181418ce 23:18:23 Step 6/23 : RUN apk add --update --no-cache make git 23:18:23 ---> Running in 02353be91c11 23:18:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:18:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:18:24 OK: 211 MiB in 51 packages 23:18:24 Removing intermediate container 02353be91c11 23:18:24 ---> ef617545df51 23:18:24 Step 7/23 : COPY go.mod vendor* ./ 23:18:24 ---> aa97fd14490f 23:18:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:24 ---> Running in 4c18afb1e22a 23:18:25 Removing intermediate container 4c18afb1e22a 23:18:25 ---> 2128a05d8a18 23:18:25 Step 9/23 : COPY . . 23:18:25 ---> cb0b1c7f43d8 23:18:25 Step 10/23 : RUN ${MAKE} 23:18:25 ---> Running in e15d5319fed3 23:18:25 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:18:43 Removing intermediate container e15d5319fed3 23:18:43 ---> 4919e08c2308 23:18:43 Step 11/23 : FROM alpine:3.16 23:18:43 3.16: Pulling from library/alpine 23:18:49 ca7dd9ec2225: Pulling fs layer 23:18:49 ca7dd9ec2225: Verifying Checksum 23:18:49 ca7dd9ec2225: Download complete 23:18:49 ca7dd9ec2225: Pull complete 23:18:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:18:49 Status: Downloaded newer image for alpine:3.16 23:18:49 ---> bfe296a52501 23:18:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:18:49 ---> Running in 5335e9692f35 23:18:49 Removing intermediate container 5335e9692f35 23:18:49 ---> e07c9ce6af83 23:18:49 Step 13/23 : RUN apk add --update --no-cache 23:18:49 ---> Running in 13675e8f071b 23:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:18:50 OK: 6 MiB in 14 packages 23:18:50 Removing intermediate container 13675e8f071b 23:18:50 ---> afdf4d477dc1 23:18:50 Step 14/23 : WORKDIR / 23:18:50 ---> Running in 4f375a6c9cff 23:18:50 Removing intermediate container 4f375a6c9cff 23:18:50 ---> 90a5b403b6f1 23:18:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:18:50 ---> e2d1ea090fe4 23:18:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:18:51 ---> f8299eecf401 23:18:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:18:51 ---> 9e2bc40751cf 23:18:51 Step 18/23 : EXPOSE 59999 23:18:51 ---> Running in 8a0c609743cc 23:18:51 Removing intermediate container 8a0c609743cc 23:18:51 ---> c72f0cbbca07 23:18:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:18:51 ---> Running in b4d857ee06bf 23:18:51 Removing intermediate container b4d857ee06bf 23:18:51 ---> ebf6a21062b6 23:18:51 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:18:51 ---> Running in a8cb86db5c4b 23:18:51 Removing intermediate container a8cb86db5c4b 23:18:51 ---> d3de76e37ebd 23:18:51 Step 21/23 : LABEL arch=amd64 23:18:51 ---> Running in 1468f8f867c4 23:18:51 Removing intermediate container 1468f8f867c4 23:18:51 ---> 9c8d71f81d9e 23:18:51 Step 22/23 : LABEL git_sha=024580853e531fb3d006e68d62fe459063a19404 23:18:51 ---> Running in 0887e565c62d 23:18:51 Removing intermediate container 0887e565c62d 23:18:51 ---> adcc11d0d889 23:18:51 Step 23/23 : LABEL version=0.0.0 23:18:51 ---> Running in 9341acdb89c7 23:18:51 Removing intermediate container 9341acdb89c7 23:18:51 ---> 2b783cce6634 23:18:51 [Warning] One or more build-args [ARCH] were not consumed 23:18:51 Successfully built 2b783cce6634 23:18:51 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 23:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:52 23:18:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:52 latest: Pulling from edgex-lftools-log-publisher 23:18:52 5eb5b503b376: Pulling fs layer 23:18:52 5c69ac0246d0: Pulling fs layer 23:18:52 ec43610c2a17: Pulling fs layer 23:18:52 3a2ae6a8a46f: Pulling fs layer 23:18:52 33b1e0a273af: Pulling fs layer 23:18:52 5d3b04190fa2: Pulling fs layer 23:18:52 2f39f015ded8: Pulling fs layer 23:18:52 33b1e0a273af: Waiting 23:18:52 5d3b04190fa2: Waiting 23:18:52 2f39f015ded8: Waiting 23:18:52 3a2ae6a8a46f: Waiting 23:18:52 5c69ac0246d0: Download complete 23:18:52 3a2ae6a8a46f: Verifying Checksum 23:18:52 3a2ae6a8a46f: Download complete 23:18:52 33b1e0a273af: Verifying Checksum 23:18:52 33b1e0a273af: Download complete 23:18:52 5d3b04190fa2: Verifying Checksum 23:18:52 5d3b04190fa2: Download complete 23:18:52 ec43610c2a17: Verifying Checksum 23:18:52 ec43610c2a17: Download complete 23:18:53 5eb5b503b376: Verifying Checksum 23:18:53 5eb5b503b376: Download complete 23:18:53 2f39f015ded8: Verifying Checksum 23:18:53 2f39f015ded8: Download complete 23:18:54 5eb5b503b376: Pull complete 23:18:54 5c69ac0246d0: Pull complete 23:18:54 ec43610c2a17: Pull complete 23:18:54 3a2ae6a8a46f: Pull complete 23:18:54 33b1e0a273af: Pull complete 23:18:54 5d3b04190fa2: Pull complete 23:18:59 2f39f015ded8: Pull complete 23:18:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:59 prd-ubuntu20.04-docker-8c-8g-4303 does not seem to be running inside a container 23:18:59 $ 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-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@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 23:19:00 $ docker top e9642feba3125b5c46bc18b9106251040aa15305482dde37314199e256d6747f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:00 ---> job-cost.sh 23:19:00 lf-activate-venv: SKIPPING 23:19:00 INFO: No Stack... 23:19:00 INFO: Retrieving Pricing Info for: v3-standard-8 23:19:01 INFO: Archiving Costs [Pipeline] sh 23:19:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives/cost.csv 23:19:01 + cut -d, -f6 [Pipeline] lock 23:19:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1298-2-stack-cost] 23:19:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1298-2-stack-cost] did not exist. Created. 23:19:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1298-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:01 + echo total: 0.2199999988079071 [Pipeline] stash 23:19:01 Stashed 1 file(s) [Pipeline] } 23:19:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1298-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:01 $ docker stop --time=1 e9642feba3125b5c46bc18b9106251040aa15305482dde37314199e256d6747f 23:19:03 $ docker rm -f --volumes e9642feba3125b5c46bc18b9106251040aa15305482dde37314199e256d6747f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4304 in /w/workspace/gexfoundry_device-sdk-go_PR-1298 [Pipeline] { [Pipeline] ws 23:20:10 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:20:10 The recommended git tool is: git 23:20:15 using credential edgex-jenkins-ssh 23:20:15 Cloning the remote Git repository 23:20:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:20:16 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:20:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:20:16 > git --version # timeout=10 23:20:16 > git --version # 'git version 2.25.1' 23:20:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:20:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:20:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:20:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1298/head:refs/remotes/origin/PR-1298 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:20:19 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 024580853e531fb3d006e68d62fe459063a19404 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:19 Failed in branch arm64 [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 23:20:20 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives ] 23:20:20 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives 23:20:20 total 16 23:20:20 drwxr-xr-x 3 root root 4096 Feb 1 23:19 . 23:20:20 drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 23:19 .. 23:20:20 drwxr-xr-x 2 root root 4096 Feb 1 23:19 cost 23:20:20 -rw-r--r-- 1 root root 86 Feb 1 23:19 cost.csv 23:20:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives 23:20:20 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives 23:20:20 total 16 23:20:20 drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 23:19 . 23:20:20 drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 23:19 .. 23:20:20 drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 23:19 cost 23:20:20 -rw-r--r-- 1 jenkins jenkins 86 Feb 1 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:20:19 > git config core.sparsecheckout # timeout=10 23:20:19 > git checkout -f 024580853e531fb3d006e68d62fe459063a19404 # timeout=10 23:20:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:20:21 ---> package-listing.sh 23:20:21 ++ facter osfamily 23:20:21 ++ tr '[:upper:]' '[:lower:]' 23:20:21 + OS_FAMILY=debian 23:20:21 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1298 23:20:21 + START_PACKAGES=/tmp/packages_start.txt 23:20:21 + END_PACKAGES=/tmp/packages_end.txt 23:20:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:20:21 + PACKAGES=/tmp/packages_start.txt 23:20:21 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1298 ']' 23:20:21 + PACKAGES=/tmp/packages_end.txt 23:20:21 + case "${OS_FAMILY}" in 23:20:21 + dpkg -l 23:20:21 + grep '^ii' 23:20:21 + '[' -f /tmp/packages_start.txt ']' 23:20:21 + '[' -f /tmp/packages_end.txt ']' 23:20:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:20:21 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1298 ']' 23:20:21 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives/ 23:20:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1298/archives/ [Pipeline] echo 23:20:21 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-1298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:20:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:22 prd-ubuntu20.04-docker-8c-8g-4303 does not seem to be running inside a container 23:20:22 $ 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-1298/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-1298 -v /w/workspace/gexfoundry_device-sdk-go_PR-1298:/w/workspace/gexfoundry_device-sdk-go_PR-1298:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1298@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 23:20:22 $ docker top c55ffb8e6c262d592f26dc57c6acd1fe3235f448caa4da4daf746bdb67e6d764 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:23 + touch /tmp/pre-build-complete [Pipeline] sh 23:20:23 + mkdir -p /var/log/sysstat [Pipeline] sh 23:20:23 + ls /var/log/sa-host 23:20:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:23 provisioning config files... 23:20:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1298@tmp/config3004376577370814494tmp [Pipeline] { [Pipeline] echo 23:20:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:20:24 ---> create-netrc.sh [Pipeline] } 23:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:20:24 ---> python-tools-install.sh [Pipeline] echo 23:20:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:20:24 ---> sudo-logs.sh 23:20:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:20:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:20:25 ---> job-cost.sh 23:20:25 lf-activate-venv: SKIPPING 23:20:25 DEBUG: total: 0.2199999988079071 23:20:25 INFO: Retrieving Stack Cost... 23:20:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:25 INFO: Archiving Costs [Pipeline] echo 23:20:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:20:26 ---> logs-deploy.sh 23:20:26 lf-activate-venv: SKIPPING 23:20:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1298/2 23:20:26 INFO: archiving workspace using pattern(s): 23:20:26 Archives upload complete. 23:20:26 INFO: archiving logs to Nexus