Pull request #1471 opened 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 ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a5c748073881a876435d9777a55a5c2041bedccc+2d1a40f8b95de1d6d37730263f65300101497f92 (794231ece6723a96c160984d087d6b6b7d55a474) 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-ssh2120674906144881808.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10386427934293973000.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16107628771377654101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2464096572179585757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12610272831520622628.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4637451604580867332.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-633 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [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-1471 # 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 2d1a40f8b95de1d6d37730263f65300101497f92 into PR head commit a5c748073881a876435d9777a55a5c2041bedccc Merge succeeded, producing a5c748073881a876435d9777a55a5c2041bedccc Checking out Revision a5c748073881a876435d9777a55a5c2041bedccc (PR-1471) > 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/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5c748073881a876435d9777a55a5c2041bedccc # 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 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5c748073881a876435d9777a55a5c2041bedccc # timeout=10 Commit message: "feat: Implement URI for Profile, Device, & Provision Watcher" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:27:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:27:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:27:46 ========================================================= 21:27:46 EdgeX Global Pipelines Version Info 21:27:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:27:47 ------------------- 21:27:47 stable info: 21:27:47 ------------------- 21:27:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:27:47 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:27:47 Message: update stable to v1.0.250 21:27:47 ------------------- 21:27:47 experimental info: 21:27:47 ------------------- 21:27:47 Commited By: **** collab-it+edgex@linuxfoundation.org 21:27:47 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:27:47 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:27:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:27:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1471 [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1471 [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1471 [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5c748073881a876435d9777a55a5c2041bedccc [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5c7480 [Pipeline] echo 21:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:49 provisioning config files... 21:27:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config12121157845016202010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:49 ---> docker-login.sh 21:27:49 nexus3.edgexfoundry.org:10001 21:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:50 Configure a credential helper to remove this warning. See 21:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:50 21:27:50 Login Succeeded 21:27:50 nexus3.edgexfoundry.org:10002 21:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:50 Configure a credential helper to remove this warning. See 21:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:50 21:27:50 Login Succeeded 21:27:50 nexus3.edgexfoundry.org:10003 21:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:50 Configure a credential helper to remove this warning. See 21:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:50 21:27:50 Login Succeeded 21:27:50 nexus3.edgexfoundry.org:10004 21:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:50 Configure a credential helper to remove this warning. See 21:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:50 21:27:50 Login Succeeded 21:27:50 docker.io 21:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:50 Configure a credential helper to remove this warning. See 21:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:50 21:27:50 Login Succeeded 21:27:50 ---> docker-login.sh ends [Pipeline] } 21:27:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:27:51 + git rev-list -1 --merges a5c748073881a876435d9777a55a5c2041bedccc~1..a5c748073881a876435d9777a55a5c2041bedccc [Pipeline] echo 21:27:51 -----------> git rev-list -1 --merges a5c748073881a876435d9777a55a5c2041bedccc~1..a5c748073881a876435d9777a55a5c2041bedccc a5c748073881a876435d9777a55a5c2041bedccc [false] [Pipeline] sh 21:27:51 + git log --format=format:%s -1 a5c748073881a876435d9777a55a5c2041bedccc [Pipeline] echo 21:27:51 ========================================================= 21:27:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:27:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:52 + git log --format=format:%s -1 a5c748073881a876435d9777a55a5c2041bedccc [Pipeline] echo 21:27:52 [semverPrep] GIT_COMMIT: a5c748073881a876435d9777a55a5c2041bedccc, Commit Message: feat: Implement URI for Profile, Device, & Provision Watcher [Pipeline] echo 21:27:52 [semverPrep] This is not a build commit. [Pipeline] sh 21:27:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:52 + grep -v github /etc/ssh/ssh_known_hosts 21:27:52 + [ -e /tmp/ssh_known_hosts ] 21:27:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:27:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:27:52 + sudo tee -a /etc/ssh/ssh_known_hosts 21:27:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:53 21:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:53 0.1.4: Pulling from edgex-devops/py-git-semver 21:27:53 b85a868b505f: Pulling fs layer 21:27:53 e2be974225ed: Pulling fs layer 21:27:53 339a4e72a1f5: Pulling fs layer 21:27:53 988bab9f4d93: Pulling fs layer 21:27:53 1469e6f7b9e6: Pulling fs layer 21:27:53 eaf3925da568: Pulling fs layer 21:27:53 bab4dde63d76: Pulling fs layer 21:27:53 bde34c3a00c8: Pulling fs layer 21:27:53 b352a97aabf1: Pulling fs layer 21:27:53 4872d77fe225: Pulling fs layer 21:27:53 5851b861e8e6: Pulling fs layer 21:27:53 988bab9f4d93: Waiting 21:27:53 1469e6f7b9e6: Waiting 21:27:53 eaf3925da568: Waiting 21:27:53 bab4dde63d76: Waiting 21:27:53 bde34c3a00c8: Waiting 21:27:53 b352a97aabf1: Waiting 21:27:53 4872d77fe225: Waiting 21:27:53 5851b861e8e6: Waiting 21:27:53 e2be974225ed: Verifying Checksum 21:27:53 e2be974225ed: Download complete 21:27:53 988bab9f4d93: Verifying Checksum 21:27:53 988bab9f4d93: Download complete 21:27:53 1469e6f7b9e6: Verifying Checksum 21:27:53 1469e6f7b9e6: Download complete 21:27:53 339a4e72a1f5: Verifying Checksum 21:27:53 339a4e72a1f5: Download complete 21:27:53 eaf3925da568: Verifying Checksum 21:27:53 eaf3925da568: Download complete 21:27:54 bde34c3a00c8: Verifying Checksum 21:27:54 bde34c3a00c8: Download complete 21:27:54 b352a97aabf1: Verifying Checksum 21:27:54 4872d77fe225: Verifying Checksum 21:27:54 4872d77fe225: Download complete 21:27:54 5851b861e8e6: Download complete 21:27:54 b85a868b505f: Verifying Checksum 21:27:54 b85a868b505f: Download complete 21:27:54 bab4dde63d76: Verifying Checksum 21:27:54 bab4dde63d76: Download complete 21:27:55 b85a868b505f: Pull complete 21:27:55 e2be974225ed: Pull complete 21:27:56 339a4e72a1f5: Pull complete 21:27:56 988bab9f4d93: Pull complete 21:27:56 1469e6f7b9e6: Pull complete 21:27:56 eaf3925da568: Pull complete 21:27:58 bab4dde63d76: Pull complete 21:27:58 bde34c3a00c8: Pull complete 21:27:58 b352a97aabf1: Pull complete 21:27:58 4872d77fe225: Pull complete 21:27:58 5851b861e8e6: Pull complete 21:27:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:58 prd-ubuntu20.04-docker-8c-8g-633 does not seem to be running inside a container 21:27:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:01 $ docker top 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d -eo pid,comm 21:28:01 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). 21:28:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:01 [ssh-agent] Looking for ssh-agent implementation... 21:28:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:01 $ docker exec 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d ssh-agent 21:28:02 SSH_AUTH_SOCK=/tmp/ssh-hUJSRPxQiOhY/agent.32 21:28:02 SSH_AGENT_PID=38 21:28:02 Running ssh-add (command line suppressed) 21:28:02 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_10918976789997007318.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_10918976789997007318.key) 21:28:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:02 + git tag --points-at HEAD [Pipeline] } 21:28:02 $ docker exec --env ******** --env ******** 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d ssh-agent -k 21:28:02 unset SSH_AUTH_SOCK; 21:28:02 unset SSH_AGENT_PID; 21:28:02 echo Agent pid 38 killed; 21:28:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:28:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:02 [ssh-agent] Looking for ssh-agent implementation... 21:28:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:02 $ docker exec 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d ssh-agent 21:28:03 SSH_AUTH_SOCK=/tmp/ssh-hmG4SMNJW4Lc/agent.70 21:28:03 SSH_AGENT_PID=76 21:28:03 Running ssh-add (command line suppressed) 21:28:03 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_6097894036435544698.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_6097894036435544698.key) 21:28:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:03 + git semver init 21:28:03 2023-07-07 21:28:03,713 [run_init] DEBUG init version:0.0.0 force:False 21:28:03 2023-07-07 21:28:03,713 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver 21:28:03 2023-07-07 21:28:03,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver 21:28:03 2023-07-07 21:28:03,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471, universal_newlines=False, shell=None, istream=None) 21:28:04 2023-07-07 21:28:04,616 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.git/info/exclude 21:28:04 2023-07-07 21:28:04,617 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 with force:False 21:28:04 2023-07-07 21:28:04,617 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 21:28:04 2023-07-07 21:28:04,622 [execute] INFO git cat-file --batch-check 21:28:04 2023-07-07 21:28:04,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) 21:28:04 2023-07-07 21:28:04,628 [execute] INFO git cat-file --batch 21:28:04 2023-07-07 21:28:04,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) 21:28:04 2023-07-07 21:28:04,633 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 21:28:04 0.0.0 [Pipeline] } 21:28:04 $ docker exec --env ******** --env ******** 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d ssh-agent -k 21:28:04 unset SSH_AUTH_SOCK; 21:28:04 unset SSH_AGENT_PID; 21:28:04 echo Agent pid 76 killed; 21:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:05 + git semver [Pipeline] } 21:28:05 $ docker stop --time=1 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d 21:28:06 $ docker rm -f --volumes 35b08d869dff76b3343134173a2d8afed2dd0da22cae9911cdcabaf0142d635d [Pipeline] // withDockerContainer [Pipeline] sh 21:28:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:28:07 Stashed 1 file(s) [Pipeline] echo 21:28:07 [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 21:28:08 provisioning config files... 21:28:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config17516926526672167416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:08 ---> docker-login.sh 21:28:08 nexus3.edgexfoundry.org:10001 21:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:08 Configure a credential helper to remove this warning. See 21:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:08 21:28:08 Login Succeeded 21:28:08 nexus3.edgexfoundry.org:10002 21:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:08 Configure a credential helper to remove this warning. See 21:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:08 21:28:08 Login Succeeded 21:28:08 nexus3.edgexfoundry.org:10003 21:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:08 Configure a credential helper to remove this warning. See 21:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:08 21:28:08 Login Succeeded 21:28:08 nexus3.edgexfoundry.org:10004 21:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:08 Configure a credential helper to remove this warning. See 21:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:08 21:28:08 Login Succeeded 21:28:08 docker.io 21:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:09 Configure a credential helper to remove this warning. See 21:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:09 21:28:09 Login Succeeded 21:28:09 ---> docker-login.sh ends [Pipeline] } 21:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:09 ========================================================= 21:28:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:28:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:09 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 21:28:09 Sending build context to Docker daemon 10.91MB 21:28:09 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:28:09 Step 2/10 : FROM ${BASE} AS builder 21:28:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:28:09 f56be85fc22e: Pulling fs layer 21:28:09 85791d961cd3: Pulling fs layer 21:28:09 d694b5ae8c79: Pulling fs layer 21:28:09 9f32a84ed3da: Pulling fs layer 21:28:09 4d19c01a9841: Pulling fs layer 21:28:09 9325e15d5711: Pulling fs layer 21:28:09 556b6ee489ea: Pulling fs layer 21:28:09 c5a4b2cf53e6: Pulling fs layer 21:28:09 9f32a84ed3da: Waiting 21:28:09 c5a4b2cf53e6: Waiting 21:28:09 4d19c01a9841: Waiting 21:28:09 9325e15d5711: Waiting 21:28:09 556b6ee489ea: Waiting 21:28:10 85791d961cd3: Verifying Checksum 21:28:10 85791d961cd3: Download complete 21:28:10 9f32a84ed3da: Verifying Checksum 21:28:10 9f32a84ed3da: Download complete 21:28:10 4d19c01a9841: Verifying Checksum 21:28:10 4d19c01a9841: Download complete 21:28:10 f56be85fc22e: Verifying Checksum 21:28:10 f56be85fc22e: Download complete 21:28:10 9325e15d5711: Verifying Checksum 21:28:10 9325e15d5711: Download complete 21:28:10 f56be85fc22e: Pull complete 21:28:10 85791d961cd3: Pull complete 21:28:10 d694b5ae8c79: Download complete 21:28:10 c5a4b2cf53e6: Verifying Checksum 21:28:10 c5a4b2cf53e6: Download complete 21:28:10 556b6ee489ea: Verifying Checksum 21:28:10 556b6ee489ea: Download complete 21:28:15 d694b5ae8c79: Pull complete 21:28:15 9f32a84ed3da: Pull complete 21:28:15 4d19c01a9841: Pull complete 21:28:15 9325e15d5711: Pull complete 21:28:20 556b6ee489ea: Pull complete 21:28:21 c5a4b2cf53e6: Pull complete 21:28:21 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:28:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:28:21 ---> c4be618373d6 21:28:21 Step 3/10 : ARG MAKE=make build 21:28:23 Still waiting to schedule task 21:28:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:28:25 ---> Running in ebc829d6a24f 21:28:25 Removing intermediate container ebc829d6a24f 21:28:25 ---> 3e4276c65f20 21:28:25 Step 4/10 : WORKDIR /device-sdk-go 21:28:25 ---> Running in 6871a943390a 21:28:25 Removing intermediate container 6871a943390a 21:28:25 ---> bda0707abec4 21:28:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:28:25 ---> Running in 5dd28a370fbd 21:28:26 Removing intermediate container 5dd28a370fbd 21:28:26 ---> 7de35c36be8f 21:28:26 Step 6/10 : RUN apk add --update --no-cache make git 21:28:26 ---> Running in 222a404edf5d 21:28:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:28:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:28:26 OK: 265 MiB in 53 packages 21:28:27 Removing intermediate container 222a404edf5d 21:28:27 ---> 559fea1e97a8 21:28:27 Step 7/10 : COPY go.mod vendor* ./ 21:28:27 ---> 9e15b3e70666 21:28:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:27 ---> Running in 64c63e0eb447 21:29:04 Removing intermediate container 64c63e0eb447 21:29:04 ---> 9716450040bc 21:29:04 Step 9/10 : COPY . . 21:29:04 ---> 3575e0f0d6a5 21:29:04 Step 10/10 : RUN ${MAKE} 21:29:04 ---> Running in b8ae886f276a 21:29:04 noop 21:29:04 Removing intermediate container b8ae886f276a 21:29:04 ---> ffb49aa7b663 21:29:04 Successfully built ffb49aa7b663 21:29:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:04 + docker inspect -f . ci-base-image-x86_64 21:29:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:05 prd-ubuntu20.04-docker-8c-8g-633 does not seem to be running inside a container 21:29:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** ci-base-image-x86_64 cat 21:29:05 $ docker top e82eae4b7cc618294371f931388a42078deb2088359e2e2568a453292058dffe -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:05 + go version 21:29:05 go version go1.20.2 linux/amd64 [Pipeline] } 21:29:05 $ docker stop --time=1 e82eae4b7cc618294371f931388a42078deb2088359e2e2568a453292058dffe 21:29:07 $ docker rm -f --volumes e82eae4b7cc618294371f931388a42078deb2088359e2e2568a453292058dffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:07 + docker inspect -f . ci-base-image-x86_64 21:29:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:08 prd-ubuntu20.04-docker-8c-8g-633 does not seem to be running inside a container 21:29:08 $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** ci-base-image-x86_64 cat 21:29:08 $ docker top 7c913860b6e5892a5633e03ceff48157eab69ec560980fde714f31f0dde949ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] fileExists [Pipeline] sh 21:29:09 + make test 21:29:09 go test -race -coverprofile=coverage.out ./... 21:29:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:29:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements 21:29:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.069s coverage: 80.2% of statements 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:29:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 86.0% of statements 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:29:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:29:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 77.5% of statements 21:29:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:29:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:29:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.3% of statements 21:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 68.5% of statements 21:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements 21:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.7% of statements 21:29:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-634 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] { [Pipeline] ws 21:29:51 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:29:52 The recommended git tool is: git 21:29:56 internal/provision/provisionwatchers.go:157:3: ineffectual assignment to addProvisionWatchersReq (ineffassign) 21:29:56 addProvisionWatchersReq = append(addProvisionWatchersReq, req) 21:29:56 ^ 21:29:56 make: *** [Makefile:39: lint] Error 1 [Pipeline] } 21:29:57 $ docker stop --time=1 7c913860b6e5892a5633e03ceff48157eab69ec560980fde714f31f0dde949ea 21:29:57 using credential edgex-jenkins-ssh 21:29:57 Cloning the remote Git repository 21:29:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:29:57 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:29:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:29:57 > git --version # timeout=10 21:29:57 > git --version # 'git version 2.25.1' 21:29:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:29:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:59 $ docker rm -f --volumes 7c913860b6e5892a5633e03ceff48157eab69ec560980fde714f31f0dde949ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) 21:30:00 Merging remotes/origin/main commit 2d1a40f8b95de1d6d37730263f65300101497f92 into PR head commit a5c748073881a876435d9777a55a5c2041bedccc [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 21:29:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:30:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:30:00 > git config core.sparsecheckout # timeout=10 21:30:00 > git checkout -f a5c748073881a876435d9777a55a5c2041bedccc # timeout=10 Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 21:30:00 Merge succeeded, producing a5c748073881a876435d9777a55a5c2041bedccc 21:30:00 Checking out Revision a5c748073881a876435d9777a55a5c2041bedccc (PR-1471) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:01 21:30:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:01 latest: Pulling from edgex-lftools-log-publisher 21:30:01 5eb5b503b376: Pulling fs layer 21:30:01 5c69ac0246d0: Pulling fs layer 21:30:01 ec43610c2a17: Pulling fs layer 21:30:01 3a2ae6a8a46f: Pulling fs layer 21:30:01 33b1e0a273af: Pulling fs layer 21:30:01 5d3b04190fa2: Pulling fs layer 21:30:01 2f39f015ded8: Pulling fs layer 21:30:01 33b1e0a273af: Waiting 21:30:01 5d3b04190fa2: Waiting 21:30:01 3a2ae6a8a46f: Waiting 21:30:01 2f39f015ded8: Waiting 21:30:01 5c69ac0246d0: Verifying Checksum 21:30:01 5c69ac0246d0: Download complete 21:30:01 3a2ae6a8a46f: Verifying Checksum 21:30:01 3a2ae6a8a46f: Download complete 21:30:01 33b1e0a273af: Verifying Checksum 21:30:01 33b1e0a273af: Download complete 21:30:01 5d3b04190fa2: Verifying Checksum 21:30:01 5d3b04190fa2: Download complete 21:30:01 ec43610c2a17: Verifying Checksum 21:30:01 ec43610c2a17: Download complete 21:30:01 5eb5b503b376: Verifying Checksum 21:30:01 5eb5b503b376: Download complete 21:30:00 > git remote # timeout=10 21:30:00 > git config --get remote.origin.url # timeout=10 21:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:00 > git merge 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 21:30:00 > git rev-parse HEAD^{commit} # timeout=10 21:30:00 > git config core.sparsecheckout # timeout=10 21:30:00 > git checkout -f a5c748073881a876435d9777a55a5c2041bedccc # timeout=10 21:30:02 2f39f015ded8: Download complete 21:30:03 5eb5b503b376: Pull complete 21:30:03 5c69ac0246d0: Pull complete 21:30:03 ec43610c2a17: Pull complete 21:30:03 3a2ae6a8a46f: Pull complete 21:30:04 33b1e0a273af: Pull complete 21:30:04 5d3b04190fa2: Pull complete 21:30:04 Commit message: "feat: Implement URI for Profile, Device, & Provision Watcher" 21:30:04 > git --version # timeout=10 21:30:04 > git --version # 'git version 2.25.1' 21:30:04 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:30:04 21:30:04 GitHub has been notified of this commit’s build result 21:30:04 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:30:05 % Total % Received % Xferd Average Speed Time Time Time Current 21:30:05 Dload Upload Total Spent Left Speed 21:30:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 31329 0 --:--:-- --:--:-- --:--:-- 31252 [Pipeline] sh 21:30:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:30:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:30:06 + sudo tee /etc/docker/daemon.new 21:30:06 { 21:30:06 "registry-mirrors": [ 21:30:06 "https://nexus3.edgexfoundry.org:10001" 21:30:06 ], 21:30:06 "bip": "10.250.0.254/24", 21:30:06 "hosts": [ 21:30:06 "tcp://0.0.0.0:5555", 21:30:06 "unix:///var/run/docker.sock" 21:30:06 ], 21:30:06 "mtu": 1458, 21:30:06 "selinux-enabled": true, 21:30:06 "seccomp-profile": "/etc/docker/seccomp.json" 21:30:06 } [Pipeline] sh 21:30:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:30:07 + sudo service docker restart 21:30:08 2f39f015ded8: Pull complete 21:30:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:30:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:08 prd-ubuntu20.04-docker-8c-8g-633 does not seem to be running inside a container 21:30:08 $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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-lftools-log-publisher:latest cat 21:30:11 $ docker top 25ccca270f75e88de21e9869b2f5bf7ed46d8aef5f95d9402f66ee09a75fd515 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:12 ---> job-cost.sh 21:30:12 lf-activate-venv: SKIPPING 21:30:12 INFO: No Stack... 21:30:12 INFO: Retrieving Pricing Info for: v3-standard-8 21:30:12 INFO: Archiving Costs [Pipeline] sh 21:30:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/cost.csv 21:30:13 + cut -d, -f6 [Pipeline] lock 21:30:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] 21:30:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] did not exist. Created. 21:30:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:13 + echo total: 0.2199999988079071 [Pipeline] stash 21:30:13 Stashed 1 file(s) [Pipeline] } 21:30:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:13 $ docker stop --time=1 25ccca270f75e88de21e9869b2f5bf7ed46d8aef5f95d9402f66ee09a75fd515 21:30:14 $ docker rm -f --volumes 25ccca270f75e88de21e9869b2f5bf7ed46d8aef5f95d9402f66ee09a75fd515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:30:15 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:25 provisioning config files... 21:30:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11869917976527385003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:26 ---> docker-login.sh 21:30:26 nexus3.edgexfoundry.org:10001 21:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:26 Configure a credential helper to remove this warning. See 21:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:26 21:30:26 Login Succeeded 21:30:26 nexus3.edgexfoundry.org:10002 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 nexus3.edgexfoundry.org:10003 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 nexus3.edgexfoundry.org:10004 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:27 Configure a credential helper to remove this warning. See 21:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:27 21:30:27 Login Succeeded 21:30:27 docker.io 21:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:28 Configure a credential helper to remove this warning. See 21:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:28 21:30:28 Login Succeeded 21:30:28 ---> docker-login.sh ends [Pipeline] } 21:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:28 ========================================================= 21:30:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:30:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:29 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 21:30:29 Sending build context to Docker daemon 5.815MB 21:30:30 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:30:30 Step 2/10 : FROM ${BASE} AS builder 21:30:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:30:30 c41833b44d91: Pulling fs layer 21:30:30 ed15518f5707: Pulling fs layer 21:30:30 feae8fd75edb: Pulling fs layer 21:30:30 242c74f7c9fa: Pulling fs layer 21:30:30 3cdef696dda3: Pulling fs layer 21:30:30 2ced38df9373: Pulling fs layer 21:30:30 58f1dce35555: Pulling fs layer 21:30:30 3cdef696dda3: Waiting 21:30:30 2ced38df9373: Waiting 21:30:30 58f1dce35555: Waiting 21:30:30 242c74f7c9fa: Waiting 21:30:30 ed15518f5707: Verifying Checksum 21:30:30 ed15518f5707: Download complete 21:30:30 242c74f7c9fa: Verifying Checksum 21:30:30 242c74f7c9fa: Download complete 21:30:30 3cdef696dda3: Verifying Checksum 21:30:30 3cdef696dda3: Download complete 21:30:30 c41833b44d91: Verifying Checksum 21:30:30 c41833b44d91: Download complete 21:30:31 c41833b44d91: Pull complete 21:30:32 58f1dce35555: Verifying Checksum 21:30:32 58f1dce35555: Download complete 21:30:32 ed15518f5707: Pull complete 21:30:33 feae8fd75edb: Verifying Checksum 21:30:33 feae8fd75edb: Download complete 21:30:33 2ced38df9373: Verifying Checksum 21:30:33 2ced38df9373: Download complete 21:30:45 feae8fd75edb: Pull complete 21:30:45 242c74f7c9fa: Pull complete 21:30:45 3cdef696dda3: Pull complete 21:30:51 2ced38df9373: Pull complete 21:30:53 58f1dce35555: Pull complete 21:30:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:30:53 ---> fadd8f120f05 21:30:53 Step 3/10 : ARG MAKE=make build 21:30:54 ---> Running in a6ab5effff85 21:30:54 Removing intermediate container a6ab5effff85 21:30:54 ---> b6142aeff980 21:30:54 Step 4/10 : WORKDIR /device-sdk-go 21:30:55 ---> Running in d362c1943bad 21:30:55 Removing intermediate container d362c1943bad 21:30:55 ---> af522cd33a21 21:30:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:30:55 ---> Running in 4dde8ffeb313 21:30:55 Removing intermediate container 4dde8ffeb313 21:30:55 ---> 870d2132ed67 21:30:55 Step 6/10 : RUN apk add --update --no-cache make git 21:30:55 ---> Running in 34f367137efd 21:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:30:58 OK: 263 MiB in 53 packages 21:30:59 Removing intermediate container 34f367137efd 21:30:59 ---> 0cf7c442e462 21:30:59 Step 7/10 : COPY go.mod vendor* ./ 21:30:59 ---> c8b483f31a39 21:30:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:59 ---> Running in ebf00a5df7fd 21:32:07 Removing intermediate container ebf00a5df7fd 21:32:07 ---> 4db1f81b9823 21:32:07 Step 9/10 : COPY . . 21:32:07 ---> fb43c4290c85 21:32:07 Step 10/10 : RUN ${MAKE} 21:32:07 ---> Running in 5bff6e7545c6 21:32:07 noop 21:32:07 Removing intermediate container 5bff6e7545c6 21:32:07 ---> c05061ec1db1 21:32:07 Successfully built c05061ec1db1 21:32:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:08 + docker inspect -f . ci-base-image-arm64 21:32:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:08 prd-ubuntu20.04-docker-arm64-4c-16g-634 does not seem to be running inside a container 21:32:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 21:32:09 $ docker top 8219cbc6181f86b99e35b35c2cb50b016d66690abb03a3ad690a0baf146ed15d -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:10 + go version 21:32:10 go version go1.20.2 linux/arm64 [Pipeline] } 21:32:10 $ docker stop --time=1 8219cbc6181f86b99e35b35c2cb50b016d66690abb03a3ad690a0baf146ed15d 21:32:11 $ docker rm -f --volumes 8219cbc6181f86b99e35b35c2cb50b016d66690abb03a3ad690a0baf146ed15d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:12 + docker inspect -f . ci-base-image-arm64 21:32:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:13 prd-ubuntu20.04-docker-arm64-4c-16g-634 does not seem to be running inside a container 21:32:13 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 21:32:17 $ docker top 35c354bc575df7a5494cc650b7ff774ae1f451dd9d2a24a41e90c7d8136acc09 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:17 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 21:32:18 + make test 21:32:18 go test -race -coverprofile=coverage.out ./... 21:32:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:34:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:34:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:34:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:34:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:34:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:34:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.199s coverage: 27.6% of statements 21:34:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.306s coverage: 80.2% of statements 21:35:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:35:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:35:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.345s coverage: 86.0% of statements 21:35:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:35:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:35:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.432s coverage: 77.5% of statements 21:35:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.270s coverage: 14.3% of statements 21:35:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:35:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:35:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.407s coverage: 68.5% of statements 21:35:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements 21:35:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:35:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.7% of statements 21:35:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:35:18 GO111MODULE=on go vet ./... 21:37:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:26 $ docker stop --time=1 35c354bc575df7a5494cc650b7ff774ae1f451dd9d2a24a41e90c7d8136acc09 21:37:28 $ docker rm -f --volumes 35c354bc575df7a5494cc650b7ff774ae1f451dd9d2a24a41e90c7d8136acc09 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:31 + ls -al . 21:37:31 total 280 21:37:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 21:32 . 21:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:29 .. 21:37:31 -rw-rw-r-- 1 jenkins jenkins 140 Jul 7 21:30 .dockerignore 21:37:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 21:30 .git 21:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:30 .github 21:37:31 -rw-rw-r-- 1 jenkins jenkins 137 Jul 7 21:30 .gitignore 21:37:31 -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 21:30 .golangci.yml 21:37:31 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 7 21:30 CHANGELOG.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 21:30 GOVERNANCE.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 885 Jul 7 21:30 Jenkinsfile 21:37:31 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 7 21:30 LICENSE 21:37:31 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 7 21:30 Makefile 21:37:31 -rw-rw-r-- 1 jenkins jenkins 619 Jul 7 21:30 OWNERS.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 7 21:30 README.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:28 VERSION 21:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:30 bin 21:37:31 -rw-r--r-- 1 jenkins jenkins 106152 Jul 7 21:35 coverage.out 21:37:31 drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 21:30 example 21:37:31 -rw-rw-r-- 1 jenkins jenkins 3199 Jul 7 21:30 go.mod 21:37:31 -rw-rw-r-- 1 jenkins jenkins 30801 Jul 7 21:30 go.sum 21:37:31 drwxrwxr-x 12 jenkins jenkins 4096 Jul 7 21:30 internal 21:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:30 openapi 21:37:31 drwxrwxr-x 6 jenkins jenkins 4096 Jul 7 21:30 pkg 21:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:30 snap 21:37:31 -rw-rw-r-- 1 jenkins jenkins 222 Jul 7 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:32 + 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=a5c748073881a876435d9777a55a5c2041bedccc --label arch=arm64 --label version=0.0.0 . 21:37:32 Sending build context to Docker daemon 5.922MB 21:37:32 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:37:32 Step 2/23 : FROM ${BASE} AS builder 21:37:32 ---> c05061ec1db1 21:37:32 Step 3/23 : ARG MAKE=make build 21:37:32 ---> Running in 203dbd4be09a 21:37:32 Removing intermediate container 203dbd4be09a 21:37:32 ---> 449abdccb613 21:37:32 Step 4/23 : WORKDIR /device-sdk-go 21:37:32 ---> Running in 0d3f80750434 21:37:33 Removing intermediate container 0d3f80750434 21:37:33 ---> 9a3273f55ce8 21:37:33 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:37:33 ---> Running in 7caaa6ad441e 21:37:33 Removing intermediate container 7caaa6ad441e 21:37:33 ---> e1575b8ae867 21:37:33 Step 6/23 : RUN apk add --update --no-cache make git 21:37:33 ---> Running in 2b012a7a3b05 21:37:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:37:36 OK: 263 MiB in 53 packages 21:37:37 Removing intermediate container 2b012a7a3b05 21:37:37 ---> 1da2671a2f54 21:37:37 Step 7/23 : COPY go.mod vendor* ./ 21:37:40 ---> 313e95a8679c 21:37:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:40 ---> Running in bbfd2c7627de 21:37:42 Removing intermediate container bbfd2c7627de 21:37:42 ---> c23e090aaa3a 21:37:42 Step 9/23 : COPY . . 21:37:43 ---> 691605835f24 21:37:43 Step 10/23 : RUN ${MAKE} 21:37:43 ---> Running in 4ba69a38b95e 21:37:44 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 21:39:50 Removing intermediate container 4ba69a38b95e 21:39:50 ---> 53c3e4214f16 21:39:50 Step 11/23 : FROM alpine:3.17 21:39:50 3.17: Pulling from library/alpine 21:39:50 edb6bdbacee9: Pulling fs layer 21:39:50 edb6bdbacee9: Verifying Checksum 21:39:50 edb6bdbacee9: Download complete 21:39:50 edb6bdbacee9: Pull complete 21:39:50 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:39:50 Status: Downloaded newer image for alpine:3.17 21:39:50 ---> 779605e5fbc0 21:39:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:39:50 ---> Running in cbc975877cc2 21:39:50 Removing intermediate container cbc975877cc2 21:39:50 ---> e52a9408f24a 21:39:50 Step 13/23 : RUN apk add --update --no-cache 21:39:50 ---> Running in ec28207f9f09 21:39:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:39:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:39:50 OK: 7 MiB in 15 packages 21:39:50 Removing intermediate container ec28207f9f09 21:39:50 ---> 74eebc782771 21:39:50 Step 14/23 : WORKDIR / 21:39:50 ---> Running in 231fc5f0bca1 21:39:50 Removing intermediate container 231fc5f0bca1 21:39:50 ---> 5880e968ff3a 21:39:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:39:50 ---> e8907a035226 21:39:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:39:50 ---> b8f00f3e9db1 21:39:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:39:50 ---> 29552085484b 21:39:50 Step 18/23 : EXPOSE 59999 21:39:50 ---> Running in e91a4c33cca4 21:39:50 Removing intermediate container e91a4c33cca4 21:39:50 ---> 3e606ac7032a 21:39:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:39:50 ---> Running in 145e292069ef 21:39:50 Removing intermediate container 145e292069ef 21:39:50 ---> 50c52c45a1f7 21:39:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:39:50 ---> Running in 82622cb44357 21:39:50 Removing intermediate container 82622cb44357 21:39:50 ---> b963a3caad9d 21:39:50 Step 21/23 : LABEL arch=arm64 21:39:50 ---> Running in 5720d3d0b086 21:39:50 Removing intermediate container 5720d3d0b086 21:39:50 ---> 2c6be24143cb 21:39:50 Step 22/23 : LABEL git_sha=a5c748073881a876435d9777a55a5c2041bedccc 21:39:50 ---> Running in 1fe3bbd820c2 21:39:50 Removing intermediate container 1fe3bbd820c2 21:39:50 ---> 62c62d24c185 21:39:50 Step 23/23 : LABEL version=0.0.0 21:39:50 ---> Running in bdc1d7e38adf 21:39:51 Removing intermediate container bdc1d7e38adf 21:39:51 ---> b4af59eabe5d 21:39:51 [Warning] One or more build-args [ARCH] were not consumed 21:39:51 Successfully built b4af59eabe5d 21:39:51 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 21:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:52 21:39:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:52 arm64: Pulling from edgex-lftools-log-publisher 21:39:52 8998bd30e6a1: Pulling fs layer 21:39:52 04944245beec: Pulling fs layer 21:39:52 699f458cf7ca: Pulling fs layer 21:39:52 765212b225bb: Pulling fs layer 21:39:52 f23df028b6ca: Pulling fs layer 21:39:52 d65c8cfc05b1: Pulling fs layer 21:39:52 2437ff75d9bd: Pulling fs layer 21:39:52 765212b225bb: Waiting 21:39:52 f23df028b6ca: Waiting 21:39:52 d65c8cfc05b1: Waiting 21:39:52 2437ff75d9bd: Waiting 21:39:52 04944245beec: Verifying Checksum 21:39:52 04944245beec: Download complete 21:39:52 765212b225bb: Verifying Checksum 21:39:52 765212b225bb: Download complete 21:39:52 f23df028b6ca: Verifying Checksum 21:39:52 f23df028b6ca: Download complete 21:39:52 d65c8cfc05b1: Verifying Checksum 21:39:52 d65c8cfc05b1: Download complete 21:39:52 699f458cf7ca: Download complete 21:39:53 8998bd30e6a1: Verifying Checksum 21:39:53 8998bd30e6a1: Download complete 21:39:55 2437ff75d9bd: Verifying Checksum 21:39:55 2437ff75d9bd: Download complete 21:39:57 8998bd30e6a1: Pull complete 21:39:57 04944245beec: Pull complete 21:39:59 699f458cf7ca: Pull complete 21:39:59 765212b225bb: Pull complete 21:39:59 f23df028b6ca: Pull complete 21:40:00 d65c8cfc05b1: Pull complete 21:40:15 2437ff75d9bd: Pull complete 21:40:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:40:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:15 prd-ubuntu20.04-docker-arm64-4c-16g-634 does not seem to be running inside a container 21:40:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-lftools-log-publisher:arm64 cat 21:40:17 $ docker top 2024bb3461579c2091d1a0734c7ab8e3b09d23522ca17c756d1ba3e7a4429a5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:18 ---> job-cost.sh 21:40:18 lf-activate-venv: SKIPPING 21:40:18 INFO: No Stack... 21:40:19 INFO: Retrieving Pricing Info for: v3-standard-4 21:40:19 INFO: Archiving Costs [Pipeline] sh 21:40:20 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 21:40:20 + cut -d, -f6 [Pipeline] lock 21:40:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] 21:40:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] did not exist. Created. 21:40:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:20 /w/workspace/device-sdk-go/1@tmp/durable-1a0f1ab9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:40:21 + echo total: 0.10999999940395355 [Pipeline] stash 21:40:21 Warning: overwriting stash ‘stack-cost’ 21:40:21 Stashed 1 file(s) [Pipeline] } 21:40:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:21 $ docker stop --time=1 2024bb3461579c2091d1a0734c7ab8e3b09d23522ca17c756d1ba3e7a4429a5a 21:40:23 $ docker rm -f --volumes 2024bb3461579c2091d1a0734c7ab8e3b09d23522ca17c756d1ba3e7a4429a5a [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:40:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives ] 21:40:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 21:40:25 total 16 21:40:25 drwxr-xr-x 3 root root 4096 Jul 7 21:30 . 21:40:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 7 21:30 .. 21:40:25 drwxr-xr-x 2 root root 4096 Jul 7 21:30 cost 21:40:25 -rw-r--r-- 1 root root 86 Jul 7 21:30 cost.csv 21:40:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 21:40:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 21:40:25 total 16 21:40:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 21:30 . 21:40:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 7 21:30 .. 21:40:25 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 21:30 cost 21:40:25 -rw-r--r-- 1 jenkins jenkins 86 Jul 7 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:40:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:40:27 ---> package-listing.sh 21:40:27 ++ facter osfamily 21:40:27 ++ tr '[:upper:]' '[:lower:]' 21:40:27 + OS_FAMILY=debian 21:40:27 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1471 21:40:27 + START_PACKAGES=/tmp/packages_start.txt 21:40:27 + END_PACKAGES=/tmp/packages_end.txt 21:40:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:40:27 + PACKAGES=/tmp/packages_start.txt 21:40:27 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' 21:40:27 + PACKAGES=/tmp/packages_end.txt 21:40:27 + case "${OS_FAMILY}" in 21:40:27 + dpkg -l 21:40:27 + grep '^ii' 21:40:27 + '[' -f /tmp/packages_start.txt ']' 21:40:27 + '[' -f /tmp/packages_end.txt ']' 21:40:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:40:27 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' 21:40:27 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ 21:40:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [Pipeline] echo 21:40:27 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-1471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:40:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:28 prd-ubuntu20.04-docker-8c-8g-633 does not seem to be running inside a container 21:40:28 $ 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-1471/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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:40:28 $ docker top 1675503579d68b36679ecdc846df494d904347473128c0c167e0e458559a8a4c -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:29 + touch /tmp/pre-build-complete [Pipeline] sh 21:40:29 + mkdir -p /var/log/sysstat [Pipeline] sh 21:40:29 + ls /var/log/sa-host 21:40:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:30 provisioning config files... 21:40:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config4119315076521318865tmp [Pipeline] { [Pipeline] echo 21:40:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:40:30 ---> create-netrc.sh [Pipeline] } 21:40:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:40:30 ---> python-tools-install.sh [Pipeline] echo 21:40:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:40:31 ---> sudo-logs.sh 21:40:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:40:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:40:31 ---> job-cost.sh 21:40:31 lf-activate-venv: SKIPPING 21:40:31 DEBUG: total: 0.2199999988079071 21:40:31 INFO: Retrieving Stack Cost... 21:40:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:40:32 INFO: Archiving Costs [Pipeline] echo 21:40:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:40:32 ---> logs-deploy.sh 21:40:32 lf-activate-venv: SKIPPING 21:40:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1471/1 21:40:32 INFO: archiving workspace using pattern(s): 21:40:33 Archives upload complete. 21:40:33 INFO: archiving logs to Nexus 21:40:34 ---> uname -a: 21:40:34 Linux prd-ubuntu20-04-docker-8c-8g-633 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:40:34 21:40:34 21:40:34 ---> lscpu: 21:40:34 Architecture: x86_64 21:40:34 CPU op-mode(s): 32-bit, 64-bit 21:40:34 Byte Order: Little Endian 21:40:34 Address sizes: 40 bits physical, 48 bits virtual 21:40:34 CPU(s): 8 21:40:34 On-line CPU(s) list: 0-7 21:40:34 Thread(s) per core: 1 21:40:34 Core(s) per socket: 1 21:40:34 Socket(s): 8 21:40:34 NUMA node(s): 1 21:40:34 Vendor ID: AuthenticAMD 21:40:34 CPU family: 23 21:40:34 Model: 49 21:40:34 Model name: AMD EPYC-Rome Processor 21:40:34 Stepping: 0 21:40:34 CPU MHz: 2800.000 21:40:34 BogoMIPS: 5600.00 21:40:34 Virtualization: AMD-V 21:40:34 Hypervisor vendor: KVM 21:40:34 Virtualization type: full 21:40:34 L1d cache: 256 KiB 21:40:34 L1i cache: 256 KiB 21:40:34 L2 cache: 4 MiB 21:40:34 L3 cache: 128 MiB 21:40:34 NUMA node0 CPU(s): 0-7 21:40:34 Vulnerability Itlb multihit: Not affected 21:40:34 Vulnerability L1tf: Not affected 21:40:34 Vulnerability Mds: Not affected 21:40:34 Vulnerability Meltdown: Not affected 21:40:34 Vulnerability Mmio stale data: Not affected 21:40:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:40:34 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:40:34 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:40:34 Vulnerability Srbds: Not affected 21:40:34 Vulnerability Tsx async abort: Not affected 21:40:34 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 21:40:34 21:40:34 21:40:34 ---> nproc: 21:40:34 8 21:40:34 21:40:34 21:40:34 ---> df -h: 21:40:34 Filesystem Size Used Avail Use% Mounted on 21:40:34 overlay 155G 12G 144G 8% / 21:40:34 tmpfs 64M 0 64M 0% /dev 21:40:34 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:40:34 shm 64M 0 64M 0% /dev/shm 21:40:34 /dev/vda1 155G 12G 144G 8% /facter-os 21:40:34 21:40:34