Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at cf150bd1006c505b2559d8970edbe52dd5fe7567 rather than 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Obtained Jenkinsfile from cf150bd1006c505b2559d8970edbe52dd5fe7567 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-ssh6621526837178275616.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-ssh12694781104168859364.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-1321/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-1321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4011645798705294280.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-ssh16534921286820389073.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-1321/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-1321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6791479827678731200.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.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/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-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-6115’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6167’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6168’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6173’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6170’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6171’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6176 in /w/workspace/gexfoundry_device-sdk-go_PR-1321 [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-1321 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Merge succeeded, producing 4c6fd1a2c11d2952693f7815207ba2c278eff464 Checking out Revision 4c6fd1a2c11d2952693f7815207ba2c278eff464 (PR-1321) > 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/1321/head:refs/remotes/origin/PR-1321 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c6fd1a2c11d2952693f7815207ba2c278eff464 # timeout=10 Commit message: "Merge commit 'cf150bd1006c505b2559d8970edbe52dd5fe7567' into HEAD" > git rev-list --no-walk 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:01 ========================================================= 18:42:01 EdgeX Global Pipelines Version Info 18:42:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:01 ------------------- 18:42:01 stable info: 18:42:01 ------------------- 18:42:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:42:01 Message: update stable to v1.0.244 18:42:02 ------------------- 18:42:02 experimental info: 18:42:02 ------------------- 18:42:02 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:42:02 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1321 [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1321 [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1321 [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c6fd1a [Pipeline] echo 18:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:03 provisioning config files... 18:42:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config14123775335031479501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:03 ---> docker-login.sh 18:42:03 nexus3.edgexfoundry.org:10001 18:42:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:03 Configure a credential helper to remove this warning. See 18:42:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:03 18:42:03 Login Succeeded 18:42:03 nexus3.edgexfoundry.org:10002 18:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:04 Configure a credential helper to remove this warning. See 18:42:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:04 18:42:04 Login Succeeded 18:42:04 nexus3.edgexfoundry.org:10003 18:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:04 Configure a credential helper to remove this warning. See 18:42:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:04 18:42:04 Login Succeeded 18:42:04 nexus3.edgexfoundry.org:10004 18:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:04 Configure a credential helper to remove this warning. See 18:42:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:04 18:42:04 Login Succeeded 18:42:04 docker.io 18:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:04 Configure a credential helper to remove this warning. See 18:42:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:04 18:42:04 Login Succeeded 18:42:04 ---> docker-login.sh ends [Pipeline] } 18:42:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:05 + git rev-list -1 --merges 4c6fd1a2c11d2952693f7815207ba2c278eff464~1..4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo 18:42:05 -----------> git rev-list -1 --merges 4c6fd1a2c11d2952693f7815207ba2c278eff464~1..4c6fd1a2c11d2952693f7815207ba2c278eff464 4c6fd1a2c11d2952693f7815207ba2c278eff464 18:42:05 4c6fd1a2c11d2952693f7815207ba2c278eff464 [false] [Pipeline] sh 18:42:05 + git log --format=format:%s -1 4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo 18:42:05 ========================================================= 18:42:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:05 + git log --format=format:%s -1 4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo 18:42:05 [semverPrep] GIT_COMMIT: 4c6fd1a2c11d2952693f7815207ba2c278eff464, Commit Message: Merge commit 'cf150bd1006c505b2559d8970edbe52dd5fe7567' into HEAD [Pipeline] echo 18:42:05 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:06 + grep -v github /etc/ssh/ssh_known_hosts 18:42:06 + [ -e /tmp/ssh_known_hosts ] 18:42:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:06 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:06 18:42:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:06 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:06 b85a868b505f: Pulling fs layer 18:42:06 e2be974225ed: Pulling fs layer 18:42:06 339a4e72a1f5: Pulling fs layer 18:42:06 988bab9f4d93: Pulling fs layer 18:42:06 1469e6f7b9e6: Pulling fs layer 18:42:06 eaf3925da568: Pulling fs layer 18:42:06 bab4dde63d76: Pulling fs layer 18:42:06 bde34c3a00c8: Pulling fs layer 18:42:06 b352a97aabf1: Pulling fs layer 18:42:06 4872d77fe225: Pulling fs layer 18:42:06 5851b861e8e6: Pulling fs layer 18:42:06 1469e6f7b9e6: Waiting 18:42:06 eaf3925da568: Waiting 18:42:06 bab4dde63d76: Waiting 18:42:06 bde34c3a00c8: Waiting 18:42:06 b352a97aabf1: Waiting 18:42:06 4872d77fe225: Waiting 18:42:06 5851b861e8e6: Waiting 18:42:06 988bab9f4d93: Waiting 18:42:06 e2be974225ed: Download complete 18:42:06 988bab9f4d93: Download complete 18:42:07 1469e6f7b9e6: Verifying Checksum 18:42:07 1469e6f7b9e6: Download complete 18:42:07 eaf3925da568: Verifying Checksum 18:42:07 eaf3925da568: Download complete 18:42:07 339a4e72a1f5: Verifying Checksum 18:42:07 339a4e72a1f5: Download complete 18:42:07 bde34c3a00c8: Verifying Checksum 18:42:07 bde34c3a00c8: Download complete 18:42:07 b352a97aabf1: Download complete 18:42:07 4872d77fe225: Verifying Checksum 18:42:07 4872d77fe225: Download complete 18:42:07 5851b861e8e6: Verifying Checksum 18:42:07 5851b861e8e6: Download complete 18:42:07 b85a868b505f: Verifying Checksum 18:42:07 b85a868b505f: Download complete 18:42:07 bab4dde63d76: Verifying Checksum 18:42:07 bab4dde63d76: Download complete 18:42:08 b85a868b505f: Pull complete 18:42:08 e2be974225ed: Pull complete 18:42:09 339a4e72a1f5: Pull complete 18:42:09 988bab9f4d93: Pull complete 18:42:09 1469e6f7b9e6: Pull complete 18:42:09 eaf3925da568: Pull complete 18:42:11 bab4dde63d76: Pull complete 18:42:12 bde34c3a00c8: Pull complete 18:42:12 b352a97aabf1: Pull complete 18:42:12 4872d77fe225: Pull complete 18:42:13 5851b861e8e6: Pull complete 18:42:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:13 prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container 18:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:17 $ docker top a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 -eo pid,comm 18:42:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:42:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:17 [ssh-agent] Looking for ssh-agent implementation... 18:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:17 $ docker exec a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent 18:42:17 SSH_AUTH_SOCK=/tmp/ssh-SYb804VQSueO/agent.33 18:42:17 SSH_AGENT_PID=39 18:42:17 Running ssh-add (command line suppressed) 18:42:17 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_1604964605328780654.key (/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_1604964605328780654.key) 18:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:17 + git tag --points-at HEAD [Pipeline] } 18:42:17 $ docker exec --env ******** --env ******** a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent -k 18:42:17 unset SSH_AUTH_SOCK; 18:42:17 unset SSH_AGENT_PID; 18:42:17 echo Agent pid 39 killed; 18:42:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:17 [ssh-agent] Looking for ssh-agent implementation... 18:42:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:18 $ docker exec a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent 18:42:18 SSH_AUTH_SOCK=/tmp/ssh-KfSymZEJxDva/agent.70 18:42:18 SSH_AGENT_PID=76 18:42:18 Running ssh-add (command line suppressed) 18:42:18 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_15499690864295823470.key (/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_15499690864295823470.key) 18:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:18 + git semver init 18:42:18 2023-02-15 18:42:18,846 [run_init] DEBUG init version:0.0.0 force:False 18:42:18 2023-02-15 18:42:18,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver 18:42:18 2023-02-15 18:42:18,849 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver 18:42:18 2023-02-15 18:42:18,849 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321, universal_newlines=False, shell=None, istream=None) 18:42:20 2023-02-15 18:42:20,050 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.git/info/exclude 18:42:20 2023-02-15 18:42:20,051 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 with force:False 18:42:20 2023-02-15 18:42:20,051 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 18:42:20 2023-02-15 18:42:20,056 [execute] INFO git cat-file --batch-check 18:42:20 2023-02-15 18:42:20,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver, universal_newlines=False, shell=None, istream=) 18:42:20 2023-02-15 18:42:20,063 [execute] INFO git cat-file --batch 18:42:20 2023-02-15 18:42:20,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver, universal_newlines=False, shell=None, istream=) 18:42:20 2023-02-15 18:42:20,068 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 18:42:20 0.0.0 [Pipeline] } 18:42:20 $ docker exec --env ******** --env ******** a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent -k 18:42:20 unset SSH_AUTH_SOCK; 18:42:20 unset SSH_AGENT_PID; 18:42:20 echo Agent pid 76 killed; 18:42:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:20 + git semver [Pipeline] } 18:42:20 $ docker stop --time=1 a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 18:42:24 $ docker rm -f --volumes a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:25 Stashed 1 file(s) [Pipeline] echo 18:42:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:25 provisioning config files... 18:42:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config11930543406117005302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:25 ---> docker-login.sh 18:42:25 nexus3.edgexfoundry.org:10001 18:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:25 Configure a credential helper to remove this warning. See 18:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:25 18:42:25 Login Succeeded 18:42:25 nexus3.edgexfoundry.org:10002 18:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:25 Configure a credential helper to remove this warning. See 18:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:25 18:42:25 Login Succeeded 18:42:25 nexus3.edgexfoundry.org:10003 18:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:26 Configure a credential helper to remove this warning. See 18:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:26 18:42:26 Login Succeeded 18:42:26 nexus3.edgexfoundry.org:10004 18:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:27 Configure a credential helper to remove this warning. See 18:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:27 18:42:27 Login Succeeded 18:42:27 docker.io 18:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:27 Configure a credential helper to remove this warning. See 18:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:27 18:42:27 Login Succeeded 18:42:27 ---> docker-login.sh ends [Pipeline] } 18:42:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:27 ========================================================= 18:42:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:42:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:27 + 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 . 18:42:27 Sending build context to Docker daemon 10.5MB 18:42:27 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:42:27 Step 2/10 : FROM ${BASE} AS builder 18:42:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:29 213ec9aee27d: Pulling fs layer 18:42:29 4583459ba037: Pulling fs layer 18:42:29 93c1e223e6f2: Pulling fs layer 18:42:29 53926ce57604: Pulling fs layer 18:42:29 21b2b0c7a3f4: Pulling fs layer 18:42:29 22ff95d597cd: Pulling fs layer 18:42:29 12d6caf4c0d1: Pulling fs layer 18:42:29 96b7cbca73a9: Pulling fs layer 18:42:29 a7acece74701: Pulling fs layer 18:42:29 22ff95d597cd: Waiting 18:42:29 12d6caf4c0d1: Waiting 18:42:29 96b7cbca73a9: Waiting 18:42:29 a7acece74701: Waiting 18:42:29 53926ce57604: Waiting 18:42:29 21b2b0c7a3f4: Waiting 18:42:29 93c1e223e6f2: Verifying Checksum 18:42:29 93c1e223e6f2: Download complete 18:42:29 4583459ba037: Verifying Checksum 18:42:29 4583459ba037: Download complete 18:42:29 21b2b0c7a3f4: Download complete 18:42:29 22ff95d597cd: Verifying Checksum 18:42:29 22ff95d597cd: Download complete 18:42:29 213ec9aee27d: Verifying Checksum 18:42:29 213ec9aee27d: Download complete 18:42:29 12d6caf4c0d1: Verifying Checksum 18:42:29 12d6caf4c0d1: Download complete 18:42:30 213ec9aee27d: Pull complete 18:42:31 a7acece74701: Verifying Checksum 18:42:31 a7acece74701: Download complete 18:42:31 53926ce57604: Verifying Checksum 18:42:31 53926ce57604: Download complete 18:42:31 96b7cbca73a9: Download complete 18:42:31 4583459ba037: Pull complete 18:42:32 93c1e223e6f2: Pull complete 18:42:36 53926ce57604: Pull complete 18:42:36 21b2b0c7a3f4: Pull complete 18:42:36 22ff95d597cd: Pull complete 18:42:37 12d6caf4c0d1: Pull complete 18:42:40 96b7cbca73a9: Pull complete 18:42:40 Still waiting to schedule task 18:42:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6177’ 18:42:41 a7acece74701: Pull complete 18:42:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:42:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:42:41 ---> db6d94c90886 18:42:41 Step 3/10 : ARG MAKE=make build 18:42:55 ---> Running in d35e49d81b82 18:42:55 Removing intermediate container d35e49d81b82 18:42:55 ---> 6a251d92606b 18:42:55 Step 4/10 : WORKDIR /device-sdk-go 18:42:55 ---> Running in 75284e88c3df 18:42:55 Removing intermediate container 75284e88c3df 18:42:55 ---> a92f6a521df9 18:42:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:55 ---> Running in 26b6e34d955a 18:42:55 Removing intermediate container 26b6e34d955a 18:42:55 ---> ca77fb0dc94d 18:42:55 Step 6/10 : RUN apk add --update --no-cache make git 18:42:55 ---> Running in ecc665ef47e0 18:42:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:55 OK: 211 MiB in 51 packages 18:42:55 Removing intermediate container ecc665ef47e0 18:42:55 ---> 62f6c9b5d456 18:42:55 Step 7/10 : COPY go.mod vendor* ./ 18:42:55 ---> 151aacf0f7fc 18:42:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:55 ---> Running in 8b5f1fd5cd98 18:43:52 Removing intermediate container 8b5f1fd5cd98 18:43:52 ---> d4fe9665bfa1 18:43:52 Step 9/10 : COPY . . 18:43:52 ---> 64c48634c95e 18:43:52 Step 10/10 : RUN ${MAKE} 18:43:52 ---> Running in 55cbf1e8a58c 18:43:52 noop 18:43:52 Removing intermediate container 55cbf1e8a58c 18:43:52 ---> ffdacd5c666c 18:43:52 Successfully built ffdacd5c666c 18:43:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:52 + docker inspect -f . ci-base-image-x86_64 18:43:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:52 prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container 18:43:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:53 $ docker top 041a849e1ef3a7d894962872ebba90a6addd1e21822229fb83006f2cfe2641bb -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:53 + go version 18:43:53 go version go1.18.7 linux/amd64 [Pipeline] } 18:43:53 $ docker stop --time=1 041a849e1ef3a7d894962872ebba90a6addd1e21822229fb83006f2cfe2641bb 18:43:54 $ docker rm -f --volumes 041a849e1ef3a7d894962872ebba90a6addd1e21822229fb83006f2cfe2641bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:55 + docker inspect -f . ci-base-image-x86_64 18:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:55 prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container 18:43:55 $ 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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:55 $ docker top 10bf6841dd5238b7ccfe81751ba514ddc4229e17a3780f4be5cb7e5026f8dee3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1321 [Pipeline] fileExists [Pipeline] sh 18:43:56 + make test 18:43:56 go test -race -coverprofile=coverage.out ./... 18:44:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.106s coverage: 77.8% of statements 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.116s coverage: 77.0% of statements 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.2% of statements 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.766s coverage: 89.2% of statements 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements 18:44:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:44:30 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." 18:44:30 GO111MODULE=on go vet ./... 18:44:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:32 ./bin/test-attribution-txt.sh [Pipeline] echo 18:44:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:44:32 $ docker stop --time=1 10bf6841dd5238b7ccfe81751ba514ddc4229e17a3780f4be5cb7e5026f8dee3 18:44:42 $ docker rm -f --volumes 10bf6841dd5238b7ccfe81751ba514ddc4229e17a3780f4be5cb7e5026f8dee3 [Pipeline] // withDockerContainer [Pipeline] sh 18:44:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:44:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:44:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:44 + ls -al . 18:44:44 total 272 18:44:44 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:43 . 18:44:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 .. 18:44:44 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 18:41 .dockerignore 18:44:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:44 .git 18:44:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:41 .github 18:44:44 -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 18:41 .gitignore 18:44:44 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 18:41 .golangci.yml 18:44:44 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:42 .semver 18:44:44 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 18:41 CHANGELOG.md 18:44:44 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:41 GOVERNANCE.md 18:44:44 -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 18:41 Jenkinsfile 18:44:44 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 18:41 LICENSE 18:44:44 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 18:41 Makefile 18:44:44 -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 18:41 OWNERS.md 18:44:44 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 18:41 README.md 18:44:44 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:42 VERSION 18:44:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:41 bin 18:44:44 -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 18:44 coverage.out 18:44:44 drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 18:41 example 18:44:44 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 18:41 go.mod 18:44:44 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 18:41 go.sum 18:44:44 drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 18:41 internal 18:44:44 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:41 openapi 18:44:44 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 18:41 pkg 18:44:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 snap 18:44:44 -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:44 + 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=4c6fd1a2c11d2952693f7815207ba2c278eff464 --label arch=amd64 --label version=0.0.0 . 18:44:44 Sending build context to Docker daemon 10.6MB 18:44:44 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:44:44 Step 2/23 : FROM ${BASE} AS builder 18:44:44 ---> ffdacd5c666c 18:44:44 Step 3/23 : ARG MAKE=make build 18:44:44 ---> Running in 8f000ffbb3a9 18:44:45 Removing intermediate container 8f000ffbb3a9 18:44:45 ---> c5baefd25fb1 18:44:45 Step 4/23 : WORKDIR /device-sdk-go 18:44:45 ---> Running in 1a5b3775e8a9 18:44:45 Removing intermediate container 1a5b3775e8a9 18:44:45 ---> c7741c6d388e 18:44:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:45 ---> Running in d8c7adf91cdc 18:44:45 Removing intermediate container d8c7adf91cdc 18:44:45 ---> 7727b1bf47e5 18:44:45 Step 6/23 : RUN apk add --update --no-cache make git 18:44:45 ---> Running in f7f7c1ba6c66 18:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:44:46 OK: 211 MiB in 51 packages 18:44:47 Removing intermediate container f7f7c1ba6c66 18:44:47 ---> 9a3a3ae5fac5 18:44:47 Step 7/23 : COPY go.mod vendor* ./ 18:44:47 ---> 1051a28e7b0e 18:44:47 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:47 ---> Running in f0dae5baa126 18:44:48 Removing intermediate container f0dae5baa126 18:44:48 ---> cf3f9911505e 18:44:48 Step 9/23 : COPY . . 18:44:48 ---> ffbd3face14d 18:44:48 Step 10/23 : RUN ${MAKE} 18:44:48 ---> Running in f19485d94325 18:44:49 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 18:45:11 Removing intermediate container f19485d94325 18:45:11 ---> 899dd5cff3ac 18:45:11 Step 11/23 : FROM alpine:3.16 18:45:11 3.16: Pulling from library/alpine 18:45:11 ef5531b6e74e: Pulling fs layer 18:45:11 ef5531b6e74e: Verifying Checksum 18:45:11 ef5531b6e74e: Download complete 18:45:11 ef5531b6e74e: Pull complete 18:45:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:45:11 Status: Downloaded newer image for alpine:3.16 18:45:11 ---> dfd21b5a31f5 18:45:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:45:12 ---> Running in 6b9d91e31897 18:45:12 Removing intermediate container 6b9d91e31897 18:45:12 ---> 7b79ac133858 18:45:12 Step 13/23 : RUN apk add --update --no-cache 18:45:12 ---> Running in 7cabc13948f9 18:45:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:45:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:45:13 OK: 6 MiB in 14 packages 18:45:13 Removing intermediate container 7cabc13948f9 18:45:13 ---> 1301e31f5f94 18:45:13 Step 14/23 : WORKDIR / 18:45:13 ---> Running in 5a389088e3cc 18:45:13 Removing intermediate container 5a389088e3cc 18:45:13 ---> 35634b05be0b 18:45:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:45:13 ---> f3eaf30927f4 18:45:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:45:14 ---> cb12072d5af7 18:45:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:45:14 ---> 72745cd80480 18:45:14 Step 18/23 : EXPOSE 59999 18:45:14 ---> Running in 428017f5a386 18:45:14 Removing intermediate container 428017f5a386 18:45:14 ---> f23790bdd010 18:45:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:45:14 ---> Running in 1c911ad9aa0e 18:45:15 Removing intermediate container 1c911ad9aa0e 18:45:15 ---> 9f002d2318d8 18:45:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:45:15 ---> Running in 930e63c9f1f6 18:45:15 Removing intermediate container 930e63c9f1f6 18:45:15 ---> db2607cbf228 18:45:15 Step 21/23 : LABEL arch=amd64 18:45:15 ---> Running in 2a3c830c364a 18:45:15 Removing intermediate container 2a3c830c364a 18:45:15 ---> aeb91897e920 18:45:15 Step 22/23 : LABEL git_sha=4c6fd1a2c11d2952693f7815207ba2c278eff464 18:45:15 ---> Running in 06ac284d6514 18:45:15 Removing intermediate container 06ac284d6514 18:45:15 ---> 35912785c200 18:45:15 Step 23/23 : LABEL version=0.0.0 18:45:15 ---> Running in 515e8e36ecb4 18:45:15 Removing intermediate container 515e8e36ecb4 18:45:15 ---> 0f75f6f2e73a 18:45:15 [Warning] One or more build-args [ARCH] were not consumed 18:45:15 Successfully built 0f75f6f2e73a 18:45:15 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:15 18:45:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:16 latest: Pulling from edgex-lftools-log-publisher 18:45:16 5eb5b503b376: Pulling fs layer 18:45:16 5c69ac0246d0: Pulling fs layer 18:45:16 ec43610c2a17: Pulling fs layer 18:45:16 3a2ae6a8a46f: Pulling fs layer 18:45:16 33b1e0a273af: Pulling fs layer 18:45:16 5d3b04190fa2: Pulling fs layer 18:45:16 2f39f015ded8: Pulling fs layer 18:45:16 3a2ae6a8a46f: Waiting 18:45:16 33b1e0a273af: Waiting 18:45:16 5d3b04190fa2: Waiting 18:45:16 2f39f015ded8: Waiting 18:45:16 5c69ac0246d0: Verifying Checksum 18:45:16 5c69ac0246d0: Download complete 18:45:16 3a2ae6a8a46f: Download complete 18:45:16 33b1e0a273af: Verifying Checksum 18:45:16 33b1e0a273af: Download complete 18:45:16 5d3b04190fa2: Download complete 18:45:16 ec43610c2a17: Verifying Checksum 18:45:16 5eb5b503b376: Verifying Checksum 18:45:16 5eb5b503b376: Download complete 18:45:17 2f39f015ded8: Download complete 18:45:17 5eb5b503b376: Pull complete 18:45:18 5c69ac0246d0: Pull complete 18:45:19 ec43610c2a17: Pull complete 18:45:19 3a2ae6a8a46f: Pull complete 18:45:19 33b1e0a273af: Pull complete 18:45:19 5d3b04190fa2: Pull complete 18:45:24 2f39f015ded8: Pull complete 18:45:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:24 prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container 18:45:24 $ 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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:29 $ docker top 89e89240efa4583d0c34448e7ed581caf06dd70fc8de8cda03024e93fad0c937 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:29 ---> job-cost.sh 18:45:29 lf-activate-venv: SKIPPING 18:45:29 INFO: No Stack... 18:45:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:30 INFO: Archiving Costs [Pipeline] sh 18:45:30 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/cost.csv 18:45:30 + cut -d, -f6 [Pipeline] lock 18:45:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] 18:45:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] did not exist. Created. 18:45:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:30 + echo total: 0.2199999988079071 [Pipeline] stash 18:45:30 Stashed 1 file(s) [Pipeline] } 18:45:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:30 $ docker stop --time=1 89e89240efa4583d0c34448e7ed581caf06dd70fc8de8cda03024e93fad0c937 18:45:31 $ docker rm -f --volumes 89e89240efa4583d0c34448e7ed581caf06dd70fc8de8cda03024e93fad0c937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:45:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6188 in /w/workspace/gexfoundry_device-sdk-go_PR-1321 [Pipeline] { [Pipeline] ws 18:45:39 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:45:39 The recommended git tool is: git 18:45:46 using credential edgex-jenkins-ssh 18:45:46 Cloning the remote Git repository 18:45:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:45:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:45:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:47 > git --version # timeout=10 18:45:47 > git --version # 'git version 2.25.1' 18:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:50 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1321/head:refs/remotes/origin/PR-1321 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:45:51 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 408b6968c03ac3e1d14e96eb72eae9fe4493d621 18:45:51 Merge succeeded, producing e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 18:45:51 Checking out Revision e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 (PR-1321) 18:45:51 > git config core.sparsecheckout # timeout=10 18:45:51 > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 18:45:51 > git remote # timeout=10 18:45:51 > git config --get remote.origin.url # timeout=10 18:45:51 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:51 > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 18:45:51 > git rev-parse HEAD^{commit} # timeout=10 18:45:51 > git config core.sparsecheckout # timeout=10 18:45:51 > git checkout -f e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 # timeout=10 18:45:55 Commit message: "Merge commit 'cf150bd1006c505b2559d8970edbe52dd5fe7567' into HEAD" 18:45:55 > git rev-list --no-walk 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:45:56 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:56 Dload Upload Total Spent Left Speed 18:45:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 18:45:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:45:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:45:57 + sudo tee /etc/docker/daemon.new 18:45:57 { 18:45:57 "registry-mirrors": [ 18:45:57 "https://nexus3.edgexfoundry.org:10001" 18:45:57 ], 18:45:57 "bip": "10.250.0.254/24", 18:45:57 "hosts": [ 18:45:57 "tcp://0.0.0.0:5555", 18:45:57 "unix:///var/run/docker.sock" 18:45:57 ], 18:45:57 "mtu": 1458, 18:45:57 "selinux-enabled": true, 18:45:57 "seccomp-profile": "/etc/docker/seccomp.json" 18:45:57 } [Pipeline] sh 18:45:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:45:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:16 provisioning config files... 18:46:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5510993188022347000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:17 ---> docker-login.sh 18:46:17 nexus3.edgexfoundry.org:10001 18:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:18 Configure a credential helper to remove this warning. See 18:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:18 18:46:18 Login Succeeded 18:46:18 nexus3.edgexfoundry.org:10002 18:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:18 Configure a credential helper to remove this warning. See 18:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:18 18:46:18 Login Succeeded 18:46:18 nexus3.edgexfoundry.org:10003 18:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:19 Configure a credential helper to remove this warning. See 18:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:19 18:46:19 Login Succeeded 18:46:19 nexus3.edgexfoundry.org:10004 18:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:19 Configure a credential helper to remove this warning. See 18:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:19 18:46:19 Login Succeeded 18:46:19 docker.io 18:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 ---> docker-login.sh ends [Pipeline] } 18:46:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:20 ========================================================= 18:46:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:46:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:21 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:46:21 Sending build context to Docker daemon 5.638MB 18:46:21 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:46:21 Step 2/10 : FROM ${BASE} AS builder 18:46:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:46:21 9b18e9b68314: Pulling fs layer 18:46:21 35d82f9e3411: Pulling fs layer 18:46:21 e16973657156: Pulling fs layer 18:46:21 fc693d55d65f: Pulling fs layer 18:46:21 7e9fc2657dce: Pulling fs layer 18:46:21 dda99020689f: Pulling fs layer 18:46:21 db1c61fa0a46: Pulling fs layer 18:46:21 891c053d2c06: Pulling fs layer 18:46:21 fc693d55d65f: Waiting 18:46:21 dda99020689f: Waiting 18:46:21 7e9fc2657dce: Waiting 18:46:21 891c053d2c06: Waiting 18:46:21 e16973657156: Verifying Checksum 18:46:21 e16973657156: Download complete 18:46:21 35d82f9e3411: Verifying Checksum 18:46:21 35d82f9e3411: Download complete 18:46:21 7e9fc2657dce: Verifying Checksum 18:46:21 7e9fc2657dce: Download complete 18:46:21 dda99020689f: Verifying Checksum 18:46:21 dda99020689f: Download complete 18:46:21 9b18e9b68314: Verifying Checksum 18:46:21 9b18e9b68314: Download complete 18:46:22 9b18e9b68314: Pull complete 18:46:23 891c053d2c06: Verifying Checksum 18:46:23 891c053d2c06: Download complete 18:46:23 35d82f9e3411: Pull complete 18:46:24 e16973657156: Pull complete 18:46:25 db1c61fa0a46: Verifying Checksum 18:46:25 db1c61fa0a46: Download complete 18:46:25 fc693d55d65f: Verifying Checksum 18:46:25 fc693d55d65f: Download complete 18:46:38 fc693d55d65f: Pull complete 18:46:38 7e9fc2657dce: Pull complete 18:46:38 dda99020689f: Pull complete 18:46:43 db1c61fa0a46: Pull complete 18:46:44 891c053d2c06: Pull complete 18:46:44 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:46:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:46:44 ---> f96f9c87975a 18:46:44 Step 3/10 : ARG MAKE=make build 18:46:47 ---> Running in 02b84f18c6eb 18:46:47 Removing intermediate container 02b84f18c6eb 18:46:47 ---> 4ed24b61c33c 18:46:47 Step 4/10 : WORKDIR /device-sdk-go 18:46:47 ---> Running in ad938c72b4f6 18:46:47 Removing intermediate container ad938c72b4f6 18:46:47 ---> 623a71556653 18:46:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:46:47 ---> Running in 57e4c4f79bc1 18:46:48 Removing intermediate container 57e4c4f79bc1 18:46:48 ---> 63410156c25c 18:46:48 Step 6/10 : RUN apk add --update --no-cache make git 18:46:48 ---> Running in e5863f8a0b48 18:46:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:46:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:46:51 OK: 221 MiB in 51 packages 18:46:52 Removing intermediate container e5863f8a0b48 18:46:52 ---> cd9b6c70904b 18:46:52 Step 7/10 : COPY go.mod vendor* ./ 18:46:52 ---> eef6fc7d60b5 18:46:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:52 ---> Running in 3c4ac7631c1c 18:48:14 Removing intermediate container 3c4ac7631c1c 18:48:14 ---> 471fcce057cd 18:48:14 Step 9/10 : COPY . . 18:48:14 ---> 5b7907e0c1a1 18:48:14 Step 10/10 : RUN ${MAKE} 18:48:14 ---> Running in f00a711e289a 18:48:14 noop 18:48:14 Removing intermediate container f00a711e289a 18:48:14 ---> 1568aa8757ff 18:48:14 Successfully built 1568aa8757ff 18:48:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:15 + docker inspect -f . ci-base-image-arm64 18:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:15 prd-ubuntu20.04-docker-arm64-4c-16g-6188 does not seem to be running inside a container 18:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:48:17 $ docker top 91eefce97738bcd6c9dbb9055274954197a7c5c8a086b451907be3e2b3f2ad16 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:17 + go version 18:48:17 go version go1.18.7 linux/arm64 [Pipeline] } 18:48:18 $ docker stop --time=1 91eefce97738bcd6c9dbb9055274954197a7c5c8a086b451907be3e2b3f2ad16 18:48:21 $ docker rm -f --volumes 91eefce97738bcd6c9dbb9055274954197a7c5c8a086b451907be3e2b3f2ad16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:21 + docker inspect -f . ci-base-image-arm64 18:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:22 prd-ubuntu20.04-docker-arm64-4c-16g-6188 does not seem to be running inside a container 18:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:48:23 $ docker top 7bce760da3ea4033599d57315595b84f26fe731cef0913378e12c69602d20b9c -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:24 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:48:25 + make test 18:48:25 go test -race -coverprofile=coverage.out ./... 18:49:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:51:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:51:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.339s coverage: 27.6% of statements 18:51:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 78.9% of statements 18:51:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:52:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.540s coverage: 77.8% of statements 18:52:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:52:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:52:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.907s coverage: 77.0% of statements 18:52:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:52:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 18:52:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:52:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.541s coverage: 65.2% of statements 18:52:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:52:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:52:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.036s coverage: 89.2% of statements 18:52:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:52:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.281s coverage: 4.7% of statements 18:52:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:52:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:52:04 GO111MODULE=on go vet ./... 18:53:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:53:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:53:56 ./bin/test-attribution-txt.sh [Pipeline] echo 18:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:53:56 $ docker stop --time=1 7bce760da3ea4033599d57315595b84f26fe731cef0913378e12c69602d20b9c 18:53:58 $ docker rm -f --volumes 7bce760da3ea4033599d57315595b84f26fe731cef0913378e12c69602d20b9c [Pipeline] // withDockerContainer [Pipeline] sh 18:54:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:00 Warning: overwriting stash ‘coverage-report’ 18:54:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:01 + ls -al . 18:54:01 total 268 18:54:01 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:48 . 18:54:01 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:45 .. 18:54:01 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 18:45 .dockerignore 18:54:01 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:45 .git 18:54:01 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:45 .github 18:54:01 -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 18:45 .gitignore 18:54:01 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 18:45 .golangci.yml 18:54:01 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 18:45 CHANGELOG.md 18:54:01 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:45 GOVERNANCE.md 18:54:01 -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 18:45 Jenkinsfile 18:54:01 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 18:45 LICENSE 18:54:01 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 18:45 Makefile 18:54:01 -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 18:45 OWNERS.md 18:54:01 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 18:45 README.md 18:54:01 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:42 VERSION 18:54:01 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:45 bin 18:54:01 -rw-r--r-- 1 jenkins jenkins 98701 Feb 15 18:52 coverage.out 18:54:01 drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 18:45 example 18:54:01 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 18:45 go.mod 18:54:01 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 18:45 go.sum 18:54:01 drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 18:45 internal 18:54:01 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:45 openapi 18:54:01 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 18:45 pkg 18:54:01 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:45 snap 18:54:01 -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:01 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 --label arch=arm64 --label version=0.0.0 . 18:54:02 Sending build context to Docker daemon 5.737MB 18:54:02 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:54:02 Step 2/23 : FROM ${BASE} AS builder 18:54:02 ---> 1568aa8757ff 18:54:02 Step 3/23 : ARG MAKE=make build 18:54:05 ---> Running in 60c070df2a95 18:54:05 Removing intermediate container 60c070df2a95 18:54:05 ---> 720f7cfa5b8f 18:54:05 Step 4/23 : WORKDIR /device-sdk-go 18:54:05 ---> Running in 02898bad5736 18:54:05 Removing intermediate container 02898bad5736 18:54:05 ---> 8b8832466b29 18:54:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:54:05 ---> Running in 038b1beb5d2c 18:54:05 Removing intermediate container 038b1beb5d2c 18:54:05 ---> 76a7441bb9be 18:54:05 Step 6/23 : RUN apk add --update --no-cache make git 18:54:05 ---> Running in fc788555ec01 18:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:54:08 OK: 221 MiB in 51 packages 18:54:09 Removing intermediate container fc788555ec01 18:54:09 ---> 743fec793a89 18:54:09 Step 7/23 : COPY go.mod vendor* ./ 18:54:10 ---> edc14a354241 18:54:10 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:10 ---> Running in f44b3ec0156b 18:54:12 Removing intermediate container f44b3ec0156b 18:54:12 ---> e89323e6f5f9 18:54:12 Step 9/23 : COPY . . 18:54:14 ---> f9e4ed9c0c83 18:54:14 Step 10/23 : RUN ${MAKE} 18:54:14 ---> Running in edf7c9f2f98b 18:54:15 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 18:56:37 Removing intermediate container edf7c9f2f98b 18:56:37 ---> fd2b52ac5908 18:56:37 Step 11/23 : FROM alpine:3.16 18:56:37 3.16: Pulling from library/alpine 18:56:37 3760b48202b3: Pulling fs layer 18:56:37 3760b48202b3: Verifying Checksum 18:56:37 3760b48202b3: Download complete 18:56:37 3760b48202b3: Pull complete 18:56:37 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:56:37 Status: Downloaded newer image for alpine:3.16 18:56:37 ---> 4c81e5bf8899 18:56:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:56:37 ---> Running in ce6a9d516c03 18:56:37 Removing intermediate container ce6a9d516c03 18:56:37 ---> abefcd5e6646 18:56:37 Step 13/23 : RUN apk add --update --no-cache 18:56:37 ---> Running in 3140612d8dcb 18:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:56:37 OK: 5 MiB in 14 packages 18:56:37 Removing intermediate container 3140612d8dcb 18:56:37 ---> 6e045b19e4a9 18:56:37 Step 14/23 : WORKDIR / 18:56:37 ---> Running in 7911d57ba199 18:56:37 Removing intermediate container 7911d57ba199 18:56:37 ---> 717aecd31c2c 18:56:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:56:37 ---> 9284523884b9 18:56:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:56:37 ---> 66759568a005 18:56:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:56:37 ---> 6ed29ebba31a 18:56:37 Step 18/23 : EXPOSE 59999 18:56:37 ---> Running in 3f862775b8e9 18:56:37 Removing intermediate container 3f862775b8e9 18:56:37 ---> b2249775c775 18:56:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:56:37 ---> Running in cf81e484580a 18:56:37 Removing intermediate container cf81e484580a 18:56:37 ---> 43d9da3d6de4 18:56:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:56:37 ---> Running in dbe5727867bc 18:56:37 Removing intermediate container dbe5727867bc 18:56:37 ---> 0160ba19084b 18:56:37 Step 21/23 : LABEL arch=arm64 18:56:37 ---> Running in f0c41793c4f4 18:56:37 Removing intermediate container f0c41793c4f4 18:56:37 ---> 16b8490a3271 18:56:37 Step 22/23 : LABEL git_sha=e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 18:56:37 ---> Running in 0a10f043a056 18:56:37 Removing intermediate container 0a10f043a056 18:56:37 ---> c0dec4fd7c1f 18:56:37 Step 23/23 : LABEL version=0.0.0 18:56:37 ---> Running in 208016d3274b 18:56:37 Removing intermediate container 208016d3274b 18:56:37 ---> 97600ef776c8 18:56:37 [Warning] One or more build-args [ARCH] were not consumed 18:56:37 Successfully built 97600ef776c8 18:56:37 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:37 18:56:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:38 arm64: Pulling from edgex-lftools-log-publisher 18:56:38 8998bd30e6a1: Pulling fs layer 18:56:38 04944245beec: Pulling fs layer 18:56:38 699f458cf7ca: Pulling fs layer 18:56:38 765212b225bb: Pulling fs layer 18:56:38 f23df028b6ca: Pulling fs layer 18:56:38 d65c8cfc05b1: Pulling fs layer 18:56:38 2437ff75d9bd: Pulling fs layer 18:56:38 765212b225bb: Waiting 18:56:38 f23df028b6ca: Waiting 18:56:38 d65c8cfc05b1: Waiting 18:56:38 2437ff75d9bd: Waiting 18:56:38 04944245beec: Verifying Checksum 18:56:38 04944245beec: Download complete 18:56:38 765212b225bb: Verifying Checksum 18:56:38 765212b225bb: Download complete 18:56:38 f23df028b6ca: Verifying Checksum 18:56:38 f23df028b6ca: Download complete 18:56:38 d65c8cfc05b1: Verifying Checksum 18:56:38 d65c8cfc05b1: Download complete 18:56:38 699f458cf7ca: Verifying Checksum 18:56:38 699f458cf7ca: Download complete 18:56:38 8998bd30e6a1: Verifying Checksum 18:56:38 8998bd30e6a1: Download complete 18:56:40 2437ff75d9bd: Verifying Checksum 18:56:40 2437ff75d9bd: Download complete 18:56:42 8998bd30e6a1: Pull complete 18:56:43 04944245beec: Pull complete 18:56:44 699f458cf7ca: Pull complete 18:56:44 765212b225bb: Pull complete 18:56:45 f23df028b6ca: Pull complete 18:56:45 d65c8cfc05b1: Pull complete 18:57:00 2437ff75d9bd: Pull complete 18:57:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:57:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-6188 does not seem to be running inside a container 18:57:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:57:03 $ docker top 7bc3d8f6147bdafb0237702e516bfd06abdeb4ce3dc52f754bc4ba8bfab5b6f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:04 ---> job-cost.sh 18:57:04 lf-activate-venv: SKIPPING 18:57:04 INFO: No Stack... 18:57:04 INFO: Retrieving Pricing Info for: v3-standard-4 18:57:05 INFO: Archiving Costs [Pipeline] sh 18:57:06 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 18:57:06 + cut -d, -f6 [Pipeline] lock 18:57:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] 18:57:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] did not exist. Created. 18:57:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:06 /w/workspace/device-sdk-go/2@tmp/durable-df72fda8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:57:07 + echo total: 0.10999999940395355 [Pipeline] stash 18:57:07 Warning: overwriting stash ‘stack-cost’ 18:57:07 Stashed 1 file(s) [Pipeline] } 18:57:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:07 $ docker stop --time=1 7bc3d8f6147bdafb0237702e516bfd06abdeb4ce3dc52f754bc4ba8bfab5b6f2 18:57:09 $ docker rm -f --volumes 7bc3d8f6147bdafb0237702e516bfd06abdeb4ce3dc52f754bc4ba8bfab5b6f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:57:09 provisioning config files... 18:57:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config9621023285596864452tmp [Pipeline] { [Pipeline] sh 18:57:09 + set +x 18:57:09 + curl -s https://codecov.io/bash 18:57:09 + bash -s -- 18:57:09 18:57:09 _____ _ 18:57:09 / ____| | | 18:57:09 | | ___ __| | ___ ___ _____ __ 18:57:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:57:09 | |___| (_) | (_| | __/ (_| (_) \ V / 18:57:09 \_____\___/ \__,_|\___|\___\___/ \_/ 18:57:09 Bash-1.0.6 18:57:09 18:57:09 18:57:09 ==> git version 2.25.1 found 18:57:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:57:09 Release-Date: 2020-01-08 18:57:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:57:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:57:09 ==> Jenkins CI detected. 18:57:09 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1321 18:57:09 project root: . 18:57:09 --> token set from env 18:57:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:57:09 ==> Running gcov in . (disable via -X gcov) 18:57:09 ==> Python coveragepy not found 18:57:09 ==> Searching for coverage reports in: 18:57:09 + . 18:57:09 -> Found 1 reports 18:57:09 ==> Detecting git/mercurial file structure 18:57:09 ==> Reading reports 18:57:09 + ./coverage.out bytes=98701 18:57:09 ==> Appending adjustments 18:57:09 https://docs.codecov.io/docs/fixing-reports 18:57:10 + Found adjustments 18:57:10 ==> Gzipping contents 18:57:10 16K /tmp/codecov.1VWUNq.gz 18:57:10 ==> Uploading reports 18:57:10 url: https://codecov.io 18:57:10 query: branch=PR-1321&commit=4c6fd1a2c11d2952693f7815207ba2c278eff464&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1321%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1321&job=&cmd_args= 18:57:10 -> Pinging Codecov 18:57:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1321&commit=4c6fd1a2c11d2952693f7815207ba2c278eff464&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1321%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1321&job=&cmd_args= 18:57:10 -> Uploading to 18:57:10 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/4c6fd1a2c11d2952693f7815207ba2c278eff464/b0d59b34-df53-4ce1-a65a-6ca34a211afc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T185710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e487a0ff7285051174108bff9b45b6395c25c20b25be895dbcbce2122148b439 18:57:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:57:10 Dload Upload Total Spent Left Speed 18:57:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14333 0 0 100 14333 0 48751 --:--:-- --:--:-- --:--:-- 48751 18:57:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] } 18:57:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:57:11 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives ] 18:57:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives 18:57:11 total 16 18:57:11 drwxr-xr-x 3 root root 4096 Feb 15 18:45 . 18:57:11 drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 18:45 .. 18:57:11 drwxr-xr-x 2 root root 4096 Feb 15 18:45 cost 18:57:11 -rw-r--r-- 1 root root 86 Feb 15 18:45 cost.csv 18:57:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives 18:57:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives 18:57:11 total 16 18:57:11 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:45 . 18:57:11 drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 18:45 .. 18:57:11 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:45 cost 18:57:11 -rw-r--r-- 1 jenkins jenkins 86 Feb 15 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:12 ---> package-listing.sh 18:57:12 ++ facter osfamily 18:57:12 ++ tr '[:upper:]' '[:lower:]' 18:57:13 + OS_FAMILY=debian 18:57:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1321 18:57:13 + START_PACKAGES=/tmp/packages_start.txt 18:57:13 + END_PACKAGES=/tmp/packages_end.txt 18:57:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:13 + PACKAGES=/tmp/packages_start.txt 18:57:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1321 ']' 18:57:13 + PACKAGES=/tmp/packages_end.txt 18:57:13 + case "${OS_FAMILY}" in 18:57:13 + dpkg -l 18:57:13 + grep '^ii' 18:57:13 + '[' -f /tmp/packages_start.txt ']' 18:57:13 + '[' -f /tmp/packages_end.txt ']' 18:57:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1321 ']' 18:57:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/ 18:57:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/ [Pipeline] echo 18:57:13 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-1321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:57:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:14 prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container 18:57:14 $ 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-1321/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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@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 18:57:14 $ docker top d9b51ed65e6849dda1f31c57edab0c71da1075e2c80c21ee567116af598ed839 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:14 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:15 + mkdir -p /var/log/sysstat [Pipeline] sh 18:57:15 + ls /var/log/sa-host 18:57:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:15 provisioning config files... 18:57:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config316663880836712242tmp [Pipeline] { [Pipeline] echo 18:57:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:15 ---> create-netrc.sh [Pipeline] } 18:57:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> python-tools-install.sh [Pipeline] echo 18:57:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> sudo-logs.sh 18:57:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:57:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> job-cost.sh 18:57:16 lf-activate-venv: SKIPPING 18:57:16 DEBUG: total: 0.2199999988079071 18:57:16 INFO: Retrieving Stack Cost... 18:57:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:17 INFO: Archiving Costs [Pipeline] echo 18:57:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:17 ---> logs-deploy.sh 18:57:17 lf-activate-venv: SKIPPING 18:57:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1321/2 18:57:17 INFO: archiving workspace using pattern(s): 18:57:18 Archives upload complete. 18:57:18 INFO: archiving logs to Nexus 18:57:19 ---> uname -a: 18:57:19 Linux prd-ubuntu20-04-docker-8c-8g-6176 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:57:19 18:57:19 18:57:19 ---> lscpu: 18:57:19 Architecture: x86_64 18:57:19 CPU op-mode(s): 32-bit, 64-bit 18:57:19 Byte Order: Little Endian 18:57:19 Address sizes: 40 bits physical, 48 bits virtual 18:57:19 CPU(s): 8 18:57:19 On-line CPU(s) list: 0-7 18:57:19 Thread(s) per core: 1 18:57:19 Core(s) per socket: 1 18:57:19 Socket(s): 8 18:57:19 NUMA node(s): 1 18:57:19 Vendor ID: AuthenticAMD 18:57:19 CPU family: 23 18:57:19 Model: 49 18:57:19 Model name: AMD EPYC-Rome Processor 18:57:19 Stepping: 0 18:57:19 CPU MHz: 2800.000 18:57:19 BogoMIPS: 5600.00 18:57:19 Virtualization: AMD-V 18:57:19 Hypervisor vendor: KVM 18:57:19 Virtualization type: full 18:57:19 L1d cache: 256 KiB 18:57:19 L1i cache: 256 KiB 18:57:19 L2 cache: 4 MiB 18:57:19 L3 cache: 128 MiB 18:57:19 NUMA node0 CPU(s): 0-7 18:57:19 Vulnerability Itlb multihit: Not affected 18:57:19 Vulnerability L1tf: Not affected 18:57:19 Vulnerability Mds: Not affected 18:57:19 Vulnerability Meltdown: Not affected 18:57:19 Vulnerability Mmio stale data: Not affected 18:57:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:57:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:57:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:57:19 Vulnerability Srbds: Not affected 18:57:19 Vulnerability Tsx async abort: Not affected 18:57:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:57:19 18:57:19