Pull request #1276 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 96b3ac124bb90df02dc48aa4cbc603050596b4fa+8025d415256bff1d08fe37ed408de885b1f3053d (9196237ae23e4200dc02fc01724faa995d324cfd) 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-ssh2555687340152362121.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-ssh3087419925694111171.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-1276/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-1276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3616194564701118654.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-ssh6400826409346488658.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-1276/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-1276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh408596240968063997.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1809 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [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-1276 # 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 > 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/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 96b3ac124bb90df02dc48aa4cbc603050596b4fa Merge succeeded, producing 96b3ac124bb90df02dc48aa4cbc603050596b4fa Checking out Revision 96b3ac124bb90df02dc48aa4cbc603050596b4fa (PR-1276) > git config core.sparsecheckout # timeout=10 > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # 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 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # timeout=10 Commit message: "feat!: replace REST device callbacks with System Events" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:34:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:34:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:34:08 ========================================================= 06:34:08 EdgeX Global Pipelines Version Info 06:34:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6a7a60cf858b527f90a237d655849bdfd65bddba # timeout=10 06:34:10 ------------------- 06:34:10 stable info: 06:34:10 ------------------- 06:34:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:34:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:34:10 Message: update stable to v1.0.244 06:34:10 ------------------- 06:34:10 experimental info: 06:34:10 ------------------- 06:34:10 Commited By: **** collab-it+edgex@linuxfoundation.org 06:34:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:34:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1276 [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1276 [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1276 [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96b3ac1 [Pipeline] echo 06:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:10 provisioning config files... 06:34:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config606272413396427195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:11 ---> docker-login.sh 06:34:11 nexus3.edgexfoundry.org:10001 06:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:11 Configure a credential helper to remove this warning. See 06:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:11 06:34:11 Login Succeeded 06:34:11 nexus3.edgexfoundry.org:10002 06:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:11 Configure a credential helper to remove this warning. See 06:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:11 06:34:11 Login Succeeded 06:34:11 nexus3.edgexfoundry.org:10003 06:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:11 Configure a credential helper to remove this warning. See 06:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:11 06:34:11 Login Succeeded 06:34:11 nexus3.edgexfoundry.org:10004 06:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:12 Configure a credential helper to remove this warning. See 06:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:12 06:34:12 Login Succeeded 06:34:12 docker.io 06:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:12 Configure a credential helper to remove this warning. See 06:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:12 06:34:12 Login Succeeded 06:34:12 ---> docker-login.sh ends [Pipeline] } 06:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:34:12 + git rev-list -1 --merges 96b3ac124bb90df02dc48aa4cbc603050596b4fa~1..96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo 06:34:12 -----------> git rev-list -1 --merges 96b3ac124bb90df02dc48aa4cbc603050596b4fa~1..96b3ac124bb90df02dc48aa4cbc603050596b4fa 96b3ac124bb90df02dc48aa4cbc603050596b4fa [false] [Pipeline] sh 06:34:13 + git log --format=format:%s -1 96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo 06:34:13 ========================================================= 06:34:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:34:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:13 + git log --format=format:%s -1 96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo 06:34:13 [semverPrep] GIT_COMMIT: 96b3ac124bb90df02dc48aa4cbc603050596b4fa, Commit Message: feat!: replace REST device callbacks with System Events [Pipeline] echo 06:34:13 [semverPrep] This is not a build commit. [Pipeline] sh 06:34:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:34:13 + grep -v github /etc/ssh/ssh_known_hosts 06:34:13 + [ -e /tmp/ssh_known_hosts ] 06:34:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:34:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:34:13 + sudo tee -a /etc/ssh/ssh_known_hosts 06:34:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:14 06:34:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:14 0.1.4: Pulling from edgex-devops/py-git-semver 06:34:14 b85a868b505f: Pulling fs layer 06:34:14 e2be974225ed: Pulling fs layer 06:34:14 339a4e72a1f5: Pulling fs layer 06:34:14 988bab9f4d93: Pulling fs layer 06:34:14 1469e6f7b9e6: Pulling fs layer 06:34:14 eaf3925da568: Pulling fs layer 06:34:14 bab4dde63d76: Pulling fs layer 06:34:14 bde34c3a00c8: Pulling fs layer 06:34:14 b352a97aabf1: Pulling fs layer 06:34:14 4872d77fe225: Pulling fs layer 06:34:14 5851b861e8e6: Pulling fs layer 06:34:14 1469e6f7b9e6: Waiting 06:34:14 eaf3925da568: Waiting 06:34:14 bab4dde63d76: Waiting 06:34:14 988bab9f4d93: Waiting 06:34:14 bde34c3a00c8: Waiting 06:34:14 5851b861e8e6: Waiting 06:34:14 b352a97aabf1: Waiting 06:34:14 4872d77fe225: Waiting 06:34:14 e2be974225ed: Verifying Checksum 06:34:14 e2be974225ed: Download complete 06:34:14 988bab9f4d93: Download complete 06:34:14 339a4e72a1f5: Download complete 06:34:14 1469e6f7b9e6: Verifying Checksum 06:34:14 1469e6f7b9e6: Download complete 06:34:14 eaf3925da568: Download complete 06:34:14 bde34c3a00c8: Verifying Checksum 06:34:14 bde34c3a00c8: Download complete 06:34:14 b352a97aabf1: Verifying Checksum 06:34:14 b352a97aabf1: Download complete 06:34:14 4872d77fe225: Verifying Checksum 06:34:14 4872d77fe225: Download complete 06:34:14 5851b861e8e6: Verifying Checksum 06:34:14 5851b861e8e6: Download complete 06:34:14 b85a868b505f: Verifying Checksum 06:34:14 b85a868b505f: Download complete 06:34:15 bab4dde63d76: Verifying Checksum 06:34:15 bab4dde63d76: Download complete 06:34:15 b85a868b505f: Pull complete 06:34:16 e2be974225ed: Pull complete 06:34:16 339a4e72a1f5: Pull complete 06:34:16 988bab9f4d93: Pull complete 06:34:17 1469e6f7b9e6: Pull complete 06:34:17 eaf3925da568: Pull complete 06:34:18 bab4dde63d76: Pull complete 06:34:18 bde34c3a00c8: Pull complete 06:34:18 b352a97aabf1: Pull complete 06:34:18 4872d77fe225: Pull complete 06:34:19 5851b861e8e6: Pull complete 06:34:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:34:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:19 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 06:34:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 06:34:20 $ docker top a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 -eo pid,comm 06:34:20 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). 06:34:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:20 [ssh-agent] Looking for ssh-agent implementation... 06:34:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:20 $ docker exec a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent 06:34:21 SSH_AUTH_SOCK=/tmp/ssh-gCAdpB8OtZuS/agent.32 06:34:21 SSH_AGENT_PID=38 06:34:21 Running ssh-add (command line suppressed) 06:34:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_15180585806937663948.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_15180585806937663948.key) 06:34:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:21 + git tag --points-at HEAD [Pipeline] } 06:34:21 $ docker exec --env ******** --env ******** a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent -k 06:34:21 unset SSH_AUTH_SOCK; 06:34:21 unset SSH_AGENT_PID; 06:34:21 echo Agent pid 38 killed; 06:34:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:21 [ssh-agent] Looking for ssh-agent implementation... 06:34:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:21 $ docker exec a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent 06:34:21 SSH_AUTH_SOCK=/tmp/ssh-dHEQtW6XnYAw/agent.70 06:34:21 SSH_AGENT_PID=76 06:34:21 Running ssh-add (command line suppressed) 06:34:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_9633952202331022590.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_9633952202331022590.key) 06:34:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:22 + git semver init 06:34:22 2023-01-11 06:34:22,563 [run_init] DEBUG init version:0.0.0 force:False 06:34:22 2023-01-11 06:34:22,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver 06:34:22 2023-01-11 06:34:22,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver 06:34:22 2023-01-11 06:34:22,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276, universal_newlines=False, shell=None, istream=None) 06:34:23 2023-01-11 06:34:23,464 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.git/info/exclude 06:34:23 2023-01-11 06:34:23,465 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 with force:False 06:34:23 2023-01-11 06:34:23,465 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 06:34:23 2023-01-11 06:34:23,469 [execute] INFO git cat-file --batch-check 06:34:23 2023-01-11 06:34:23,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) 06:34:23 2023-01-11 06:34:23,477 [execute] INFO git cat-file --batch 06:34:23 2023-01-11 06:34:23,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) 06:34:23 2023-01-11 06:34:23,482 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 06:34:23 0.0.0 [Pipeline] } 06:34:23 $ docker exec --env ******** --env ******** a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent -k 06:34:23 unset SSH_AUTH_SOCK; 06:34:23 unset SSH_AGENT_PID; 06:34:23 echo Agent pid 76 killed; 06:34:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:24 + git semver [Pipeline] } 06:34:24 $ docker stop --time=1 a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 06:34:25 $ docker rm -f --volumes a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:34:26 Stashed 1 file(s) [Pipeline] echo 06:34:26 [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 06:34:26 provisioning config files... 06:34:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config3683056910615028257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:26 ---> docker-login.sh 06:34:26 nexus3.edgexfoundry.org:10001 06:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:26 Configure a credential helper to remove this warning. See 06:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:26 06:34:26 Login Succeeded 06:34:26 nexus3.edgexfoundry.org:10002 06:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:26 Configure a credential helper to remove this warning. See 06:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:26 06:34:26 Login Succeeded 06:34:26 nexus3.edgexfoundry.org:10003 06:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:26 Configure a credential helper to remove this warning. See 06:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:26 06:34:26 Login Succeeded 06:34:26 nexus3.edgexfoundry.org:10004 06:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:26 Configure a credential helper to remove this warning. See 06:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:26 06:34:26 Login Succeeded 06:34:26 docker.io 06:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:27 Configure a credential helper to remove this warning. See 06:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:27 06:34:27 Login Succeeded 06:34:27 ---> docker-login.sh ends [Pipeline] } 06:34:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:34:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:27 ========================================================= 06:34:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:34:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34: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 . 06:34:27 Sending build context to Docker daemon 10.45MB 06:34:27 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:34:27 Step 2/10 : FROM ${BASE} AS builder 06:34:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:34:27 213ec9aee27d: Pulling fs layer 06:34:27 4583459ba037: Pulling fs layer 06:34:27 93c1e223e6f2: Pulling fs layer 06:34:27 53926ce57604: Pulling fs layer 06:34:27 21b2b0c7a3f4: Pulling fs layer 06:34:27 22ff95d597cd: Pulling fs layer 06:34:27 12d6caf4c0d1: Pulling fs layer 06:34:27 96b7cbca73a9: Pulling fs layer 06:34:27 a7acece74701: Pulling fs layer 06:34:27 53926ce57604: Waiting 06:34:27 21b2b0c7a3f4: Waiting 06:34:27 22ff95d597cd: Waiting 06:34:27 12d6caf4c0d1: Waiting 06:34:27 96b7cbca73a9: Waiting 06:34:27 a7acece74701: Waiting 06:34:27 93c1e223e6f2: Download complete 06:34:27 4583459ba037: Verifying Checksum 06:34:27 4583459ba037: Download complete 06:34:27 21b2b0c7a3f4: Download complete 06:34:27 22ff95d597cd: Verifying Checksum 06:34:27 22ff95d597cd: Download complete 06:34:27 213ec9aee27d: Download complete 06:34:27 12d6caf4c0d1: Download complete 06:34:27 213ec9aee27d: Pull complete 06:34:28 4583459ba037: Pull complete 06:34:28 93c1e223e6f2: Pull complete 06:34:28 a7acece74701: Verifying Checksum 06:34:28 a7acece74701: Download complete 06:34:28 96b7cbca73a9: Verifying Checksum 06:34:28 96b7cbca73a9: Download complete 06:34:28 53926ce57604: Verifying Checksum 06:34:28 53926ce57604: Download complete 06:34:31 53926ce57604: Pull complete 06:34:31 21b2b0c7a3f4: Pull complete 06:34:32 22ff95d597cd: Pull complete 06:34:32 12d6caf4c0d1: Pull complete 06:34:34 96b7cbca73a9: Pull complete 06:34:34 a7acece74701: Pull complete 06:34:34 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:34:34 ---> db6d94c90886 06:34:34 Step 3/10 : ARG MAKE=make build 06:34:36 ---> Running in 7aa39509a08c 06:34:36 Removing intermediate container 7aa39509a08c 06:34:36 ---> f00f3f024543 06:34:36 Step 4/10 : WORKDIR /device-sdk-go 06:34:36 ---> Running in a6c0f2b5c61a 06:34:36 Removing intermediate container a6c0f2b5c61a 06:34:36 ---> e1524d684f31 06:34:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:34:36 ---> Running in f0b14b48c51b 06:34:37 Removing intermediate container f0b14b48c51b 06:34:37 ---> e11408fde9a1 06:34:37 Step 6/10 : RUN apk add --update --no-cache make git 06:34:37 ---> Running in c7b016ce5831 06:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:34:37 OK: 211 MiB in 51 packages 06:34:38 Removing intermediate container c7b016ce5831 06:34:38 ---> d5b38a6d2ac8 06:34:38 Step 7/10 : COPY go.mod vendor* ./ 06:34:38 ---> 577c00fd5d42 06:34:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:38 ---> Running in 3eb6941c5185 06:34:41 Still waiting to schedule task 06:34:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:34:56 Removing intermediate container 3eb6941c5185 06:34:56 ---> 5b6ed7058608 06:34:56 Step 9/10 : COPY . . 06:34:56 ---> 935cb81bf784 06:34:56 Step 10/10 : RUN ${MAKE} 06:34:56 ---> Running in 443dce71986a 06:34:56 noop 06:34:56 Removing intermediate container 443dce71986a 06:34:56 ---> d6bbf65244c1 06:34:56 Successfully built d6bbf65244c1 06:34:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:56 + docker inspect -f . ci-base-image-x86_64 06:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:56 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 06:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 06:34:57 $ docker top 5609f5a93cfb78760f4124e50e308143db7eeb27e52fa7962bf0e9e978ce7dc7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:57 + go version 06:34:57 go version go1.18.7 linux/amd64 [Pipeline] } 06:34:57 $ docker stop --time=1 5609f5a93cfb78760f4124e50e308143db7eeb27e52fa7962bf0e9e978ce7dc7 06:34:58 $ docker rm -f --volumes 5609f5a93cfb78760f4124e50e308143db7eeb27e52fa7962bf0e9e978ce7dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:59 + docker inspect -f . ci-base-image-x86_64 06:34:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:59 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 06:34:59 $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 06:34:59 $ docker top 408eb4b8f3a77821117960e292b981d885d92c3d6c779f30685b5729df2a1f80 -eo pid,comm [Pipeline] { [Pipeline] sh 06:35:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] fileExists [Pipeline] sh 06:35:00 + make test 06:35:00 go test -race -coverprofile=coverage.out ./... 06:35:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.081s coverage: 78.9% of statements 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 73.1% of statements 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 60.6% of statements 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.1% of statements 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.733s coverage: 89.2% of statements 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements 06:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:35:34 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." 06:35:34 GO111MODULE=on go vet ./... 06:35:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:35:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:35:37 ./bin/test-attribution-txt.sh [Pipeline] echo 06:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:35:37 $ docker stop --time=1 408eb4b8f3a77821117960e292b981d885d92c3d6c779f30685b5729df2a1f80 06:35:39 $ docker rm -f --volumes 408eb4b8f3a77821117960e292b981d885d92c3d6c779f30685b5729df2a1f80 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:35:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:41 + ls -al . 06:35:41 total 280 06:35:41 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 06:35 . 06:35:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:34 .. 06:35:41 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 06:34 .dockerignore 06:35:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:35 .git 06:35:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:34 .github 06:35:41 -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 06:34 .gitignore 06:35:41 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 06:34 .golangci.yml 06:35:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 06:34 .semver 06:35:41 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 06:34 CHANGELOG.md 06:35:41 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 06:34 GOVERNANCE.md 06:35:41 -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 06:34 Jenkinsfile 06:35:41 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 06:34 LICENSE 06:35:41 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 06:34 Makefile 06:35:41 -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 06:34 OWNERS.md 06:35:41 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 06:34 README.md 06:35:41 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:34 VERSION 06:35:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:34 bin 06:35:41 -rw-r--r-- 1 jenkins jenkins 100831 Jan 11 06:35 coverage.out 06:35:41 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 06:34 example 06:35:41 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 06:34 go.mod 06:35:41 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 06:34 go.sum 06:35:41 drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 06:34 internal 06:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:34 openapi 06:35:41 drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 06:34 pkg 06:35:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:34 snap 06:35:41 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:41 + 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=96b3ac124bb90df02dc48aa4cbc603050596b4fa --label arch=amd64 --label version=0.0.0 . 06:35:41 Sending build context to Docker daemon 10.55MB 06:35:41 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:35:41 Step 2/23 : FROM ${BASE} AS builder 06:35:41 ---> d6bbf65244c1 06:35:41 Step 3/23 : ARG MAKE=make build 06:35:41 ---> Running in 8130969aa7aa 06:35:41 Removing intermediate container 8130969aa7aa 06:35:41 ---> f226f1bf6551 06:35:41 Step 4/23 : WORKDIR /device-sdk-go 06:35:41 ---> Running in 2303d0559732 06:35:41 Removing intermediate container 2303d0559732 06:35:41 ---> a08945c8d19f 06:35:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:35:41 ---> Running in 25694521a9fe 06:35:41 Removing intermediate container 25694521a9fe 06:35:41 ---> 588dac29fff1 06:35:41 Step 6/23 : RUN apk add --update --no-cache make git 06:35:41 ---> Running in 2fe72220fb9c 06:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:35:42 OK: 211 MiB in 51 packages 06:35:42 Removing intermediate container 2fe72220fb9c 06:35:42 ---> fcd269e97478 06:35:42 Step 7/23 : COPY go.mod vendor* ./ 06:35:42 ---> 69563ad5e868 06:35:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:42 ---> Running in e020a85d98bf 06:35:43 Removing intermediate container e020a85d98bf 06:35:43 ---> 623e70e8e661 06:35:43 Step 9/23 : COPY . . 06:35:44 ---> 0697cc8a2a7f 06:35:44 Step 10/23 : RUN ${MAKE} 06:35:44 ---> Running in ac348ca1d8a5 06:35: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 06:36:02 Removing intermediate container ac348ca1d8a5 06:36:02 ---> f2d621cffbc0 06:36:02 Step 11/23 : FROM alpine:3.16 06:36:02 3.16: Pulling from library/alpine 06:36:02 ca7dd9ec2225: Pulling fs layer 06:36:02 ca7dd9ec2225: Verifying Checksum 06:36:02 ca7dd9ec2225: Download complete 06:36:02 ca7dd9ec2225: Pull complete 06:36:02 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 06:36:02 Status: Downloaded newer image for alpine:3.16 06:36:02 ---> bfe296a52501 06:36:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:36:02 ---> Running in 60abaed76473 06:36:02 Removing intermediate container 60abaed76473 06:36:02 ---> a36107afc5be 06:36:02 Step 13/23 : RUN apk add --update --no-cache 06:36:02 ---> Running in b3c5ae841b9e 06:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:36:02 OK: 6 MiB in 14 packages 06:36:02 Removing intermediate container b3c5ae841b9e 06:36:02 ---> 79877abf9965 06:36:02 Step 14/23 : WORKDIR / 06:36:02 ---> Running in c65aab0f6d36 06:36:03 Removing intermediate container c65aab0f6d36 06:36:03 ---> dc53b8802202 06:36:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:36:03 ---> c686c52807a4 06:36:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:36:03 ---> 02c2404f6f7d 06:36:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:36:03 ---> 13ee370cf1f2 06:36:03 Step 18/23 : EXPOSE 59999 06:36:03 ---> Running in 9a50f88798ad 06:36:03 Removing intermediate container 9a50f88798ad 06:36:03 ---> 14a9f5e492ec 06:36:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:36:03 ---> Running in d775c75971b6 06:36:03 Removing intermediate container d775c75971b6 06:36:03 ---> a1116f22f3bf 06:36:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:36:03 ---> Running in 29b7cc91b453 06:36:03 Removing intermediate container 29b7cc91b453 06:36:03 ---> b6f14cd8acdc 06:36:03 Step 21/23 : LABEL arch=amd64 06:36:04 ---> Running in b3b9949cf0a1 06:36:04 Removing intermediate container b3b9949cf0a1 06:36:04 ---> d635ead5803c 06:36:04 Step 22/23 : LABEL git_sha=96b3ac124bb90df02dc48aa4cbc603050596b4fa 06:36:04 ---> Running in a22650008be0 06:36:04 Removing intermediate container a22650008be0 06:36:04 ---> 065187a93afa 06:36:04 Step 23/23 : LABEL version=0.0.0 06:36:04 ---> Running in 2de46f0ef261 06:36:04 Removing intermediate container 2de46f0ef261 06:36:04 ---> 80d0fe92e93e 06:36:04 [Warning] One or more build-args [ARCH] were not consumed 06:36:04 Successfully built 80d0fe92e93e 06:36:04 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 06:36:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:04 06:36:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:05 latest: Pulling from edgex-lftools-log-publisher 06:36:05 5eb5b503b376: Pulling fs layer 06:36:05 5c69ac0246d0: Pulling fs layer 06:36:05 ec43610c2a17: Pulling fs layer 06:36:05 3a2ae6a8a46f: Pulling fs layer 06:36:05 33b1e0a273af: Pulling fs layer 06:36:05 5d3b04190fa2: Pulling fs layer 06:36:05 2f39f015ded8: Pulling fs layer 06:36:05 3a2ae6a8a46f: Waiting 06:36:05 33b1e0a273af: Waiting 06:36:05 5d3b04190fa2: Waiting 06:36:05 5c69ac0246d0: Verifying Checksum 06:36:05 5c69ac0246d0: Download complete 06:36:05 3a2ae6a8a46f: Verifying Checksum 06:36:05 3a2ae6a8a46f: Download complete 06:36:05 33b1e0a273af: Verifying Checksum 06:36:05 33b1e0a273af: Download complete 06:36:05 5d3b04190fa2: Verifying Checksum 06:36:05 5d3b04190fa2: Download complete 06:36:05 ec43610c2a17: Verifying Checksum 06:36:05 ec43610c2a17: Download complete 06:36:05 5eb5b503b376: Verifying Checksum 06:36:05 5eb5b503b376: Download complete 06:36:05 2f39f015ded8: Download complete 06:36:06 5eb5b503b376: Pull complete 06:36:06 5c69ac0246d0: Pull complete 06:36:07 ec43610c2a17: Pull complete 06:36:07 3a2ae6a8a46f: Pull complete 06:36:07 33b1e0a273af: Pull complete 06:36:07 5d3b04190fa2: Pull complete 06:36:11 2f39f015ded8: Pull complete 06:36:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:11 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 06:36:11 $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 06:36:13 $ docker top c8548cb509d577bc86539e452f7e19ce8e6bf1bf698a7b5ae8ca07a4895cea51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:13 ---> job-cost.sh 06:36:13 lf-activate-venv: SKIPPING 06:36:13 INFO: No Stack... 06:36:13 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:13 INFO: Archiving Costs [Pipeline] sh 06:36:14 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/cost.csv 06:36:14 + cut -d, -f6 [Pipeline] lock 06:36:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] 06:36:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] did not exist. Created. 06:36:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:14 + echo total: 0.2199999988079071 [Pipeline] stash 06:36:14 Stashed 1 file(s) [Pipeline] } 06:36:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:14 $ docker stop --time=1 c8548cb509d577bc86539e452f7e19ce8e6bf1bf698a7b5ae8ca07a4895cea51 06:36:15 $ docker rm -f --volumes c8548cb509d577bc86539e452f7e19ce8e6bf1bf698a7b5ae8ca07a4895cea51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1810 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] { [Pipeline] ws 06:36:22 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:36:23 The recommended git tool is: git 06:36:31 using credential edgex-jenkins-ssh 06:36:31 Cloning the remote Git repository 06:36:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:36:32 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:36:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:36:32 > git --version # timeout=10 06:36:32 > git --version # 'git version 2.25.1' 06:36:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:36:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:36:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:36:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:36:35 Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 96b3ac124bb90df02dc48aa4cbc603050596b4fa 06:36:35 Merge succeeded, producing 96b3ac124bb90df02dc48aa4cbc603050596b4fa 06:36:35 Checking out Revision 96b3ac124bb90df02dc48aa4cbc603050596b4fa (PR-1276) 06:36:35 > git config core.sparsecheckout # timeout=10 06:36:35 > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # timeout=10 06:36:35 > git remote # timeout=10 06:36:35 > git config --get remote.origin.url # timeout=10 06:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:35 > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 06:36:35 > git rev-parse HEAD^{commit} # timeout=10 06:36:35 > git config core.sparsecheckout # timeout=10 06:36:35 > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # timeout=10 06:36:39 Commit message: "feat!: replace REST device callbacks with System Events" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:36:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:40 Dload Upload Total Spent Left Speed 06:36:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 06:36:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:36:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:36:41 + sudo tee /etc/docker/daemon.new 06:36:41 { 06:36:41 "registry-mirrors": [ 06:36:41 "https://nexus3.edgexfoundry.org:10001" 06:36:41 ], 06:36:41 "bip": "10.250.0.254/24", 06:36:41 "hosts": [ 06:36:41 "tcp://0.0.0.0:5555", 06:36:41 "unix:///var/run/docker.sock" 06:36:41 ], 06:36:41 "mtu": 1458, 06:36:41 "selinux-enabled": true, 06:36:41 "seccomp-profile": "/etc/docker/seccomp.json" 06:36:41 } [Pipeline] sh 06:36:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:36:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:00 provisioning config files... 06:37:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config12481800976126396683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:00 ---> docker-login.sh 06:37:00 nexus3.edgexfoundry.org:10001 06:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:01 Configure a credential helper to remove this warning. See 06:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:01 06:37:01 Login Succeeded 06:37:01 nexus3.edgexfoundry.org:10002 06:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:02 Configure a credential helper to remove this warning. See 06:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:02 06:37:02 Login Succeeded 06:37:02 nexus3.edgexfoundry.org:10003 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:02 Configure a credential helper to remove this warning. See 06:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:02 06:37:02 Login Succeeded 06:37:02 nexus3.edgexfoundry.org:10004 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:02 Configure a credential helper to remove this warning. See 06:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:02 06:37:02 Login Succeeded 06:37:02 docker.io 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:03 Configure a credential helper to remove this warning. See 06:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:03 06:37:03 Login Succeeded 06:37:03 ---> docker-login.sh ends [Pipeline] } 06:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:03 ========================================================= 06:37:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:37:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:03 + 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 . 06:37:03 Sending build context to Docker daemon 5.633MB 06:37:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:37:03 Step 2/10 : FROM ${BASE} AS builder 06:37:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:37:05 9b18e9b68314: Pulling fs layer 06:37:05 35d82f9e3411: Pulling fs layer 06:37:05 e16973657156: Pulling fs layer 06:37:05 fc693d55d65f: Pulling fs layer 06:37:05 7e9fc2657dce: Pulling fs layer 06:37:05 dda99020689f: Pulling fs layer 06:37:05 db1c61fa0a46: Pulling fs layer 06:37:05 891c053d2c06: Pulling fs layer 06:37:05 dda99020689f: Waiting 06:37:05 fc693d55d65f: Waiting 06:37:05 db1c61fa0a46: Waiting 06:37:05 7e9fc2657dce: Waiting 06:37:05 891c053d2c06: Waiting 06:37:05 e16973657156: Verifying Checksum 06:37:05 e16973657156: Download complete 06:37:05 35d82f9e3411: Download complete 06:37:05 7e9fc2657dce: Verifying Checksum 06:37:05 7e9fc2657dce: Download complete 06:37:06 dda99020689f: Verifying Checksum 06:37:06 dda99020689f: Download complete 06:37:06 9b18e9b68314: Verifying Checksum 06:37:06 9b18e9b68314: Pull complete 06:37:07 891c053d2c06: Verifying Checksum 06:37:07 891c053d2c06: Download complete 06:37:07 35d82f9e3411: Pull complete 06:37:07 e16973657156: Pull complete 06:37:08 db1c61fa0a46: Verifying Checksum 06:37:08 db1c61fa0a46: Download complete 06:37:08 fc693d55d65f: Verifying Checksum 06:37:08 fc693d55d65f: Download complete 06:37:21 fc693d55d65f: Pull complete 06:37:21 7e9fc2657dce: Pull complete 06:37:21 dda99020689f: Pull complete 06:37:26 db1c61fa0a46: Pull complete 06:37:27 891c053d2c06: Pull complete 06:37:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:37:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:37:27 ---> f96f9c87975a 06:37:27 Step 3/10 : ARG MAKE=make build 06:37:28 ---> Running in 7820f1f267ea 06:37:29 Removing intermediate container 7820f1f267ea 06:37:29 ---> 5d425e9a59a5 06:37:29 Step 4/10 : WORKDIR /device-sdk-go 06:37:29 ---> Running in 1af5cd05274e 06:37:29 Removing intermediate container 1af5cd05274e 06:37:29 ---> 0d5517854a46 06:37:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:37:29 ---> Running in 44225006cec9 06:37:29 Removing intermediate container 44225006cec9 06:37:29 ---> 1c73f0b8ee02 06:37:29 Step 6/10 : RUN apk add --update --no-cache make git 06:37:29 ---> Running in 0be7b15ab960 06:37:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:37:32 OK: 221 MiB in 51 packages 06:37:32 Removing intermediate container 0be7b15ab960 06:37:32 ---> 98d389a45696 06:37:32 Step 7/10 : COPY go.mod vendor* ./ 06:37:33 ---> 0789c228f687 06:37:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:33 ---> Running in 11402dd9ae08 06:38:29 Removing intermediate container 11402dd9ae08 06:38:29 ---> 00ed702c37c5 06:38:29 Step 9/10 : COPY . . 06:38:29 ---> d7ccd02c4d69 06:38:29 Step 10/10 : RUN ${MAKE} 06:38:29 ---> Running in 7f8da0a2eb2e 06:38:29 noop 06:38:29 Removing intermediate container 7f8da0a2eb2e 06:38:29 ---> aec19785a070 06:38:29 Successfully built aec19785a070 06:38:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:29 + docker inspect -f . ci-base-image-arm64 06:38:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:30 prd-ubuntu20.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container 06:38:30 $ 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 06:38:31 $ docker top f1ba3af5a19ee95debc748950afeee4dc5d5e4e1980e995826c9cae6accddfa8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:32 + go version 06:38:32 go version go1.18.7 linux/arm64 [Pipeline] } 06:38:32 $ docker stop --time=1 f1ba3af5a19ee95debc748950afeee4dc5d5e4e1980e995826c9cae6accddfa8 06:38:33 $ docker rm -f --volumes f1ba3af5a19ee95debc748950afeee4dc5d5e4e1980e995826c9cae6accddfa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:34 + docker inspect -f . ci-base-image-arm64 06:38:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:34 prd-ubuntu20.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container 06:38:34 $ 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 06:38:35 $ docker top 075eeb25654762999254e247bd45ec34e183d97ea232ae648f028292e8b5d290 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 06:38:36 + make test 06:38:36 go test -race -coverprofile=coverage.out ./... 06:39:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:40:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:40:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:40:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:40:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:40:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:40:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements 06:40:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.367s coverage: 78.9% of statements 06:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:40:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.373s coverage: 73.1% of statements 06:40:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:40:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.569s coverage: 60.6% of statements 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 06:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.377s coverage: 65.1% of statements 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.351s coverage: 89.2% of statements 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 4.6% of statements 06:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:40:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:40:57 GO111MODULE=on go vet ./... 06:42:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:19 ./bin/test-attribution-txt.sh [Pipeline] echo 06:42:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:19 $ docker stop --time=1 075eeb25654762999254e247bd45ec34e183d97ea232ae648f028292e8b5d290 06:42:22 $ docker rm -f --volumes 075eeb25654762999254e247bd45ec34e183d97ea232ae648f028292e8b5d290 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:23 Warning: overwriting stash ‘coverage-report’ 06:42:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:24 + ls -al . 06:42:24 total 276 06:42:24 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 06:38 . 06:42:24 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:36 .. 06:42:24 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 06:36 .dockerignore 06:42:24 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:36 .git 06:42:24 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:36 .github 06:42:24 -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 06:36 .gitignore 06:42:24 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 06:36 .golangci.yml 06:42:24 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 06:36 CHANGELOG.md 06:42:24 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 06:36 GOVERNANCE.md 06:42:24 -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 06:36 Jenkinsfile 06:42:24 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 06:36 LICENSE 06:42:24 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 06:36 Makefile 06:42:24 -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 06:36 OWNERS.md 06:42:24 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 06:36 README.md 06:42:24 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:34 VERSION 06:42:24 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:36 bin 06:42:24 -rw-r--r-- 1 jenkins jenkins 100830 Jan 11 06:40 coverage.out 06:42:24 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 06:36 example 06:42:24 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 06:36 go.mod 06:42:24 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 06:36 go.sum 06:42:24 drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 06:36 internal 06:42:24 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:36 openapi 06:42:24 drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 06:36 pkg 06:42:24 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:36 snap 06:42:24 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:24 + 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=96b3ac124bb90df02dc48aa4cbc603050596b4fa --label arch=arm64 --label version=0.0.0 . 06:42:25 Sending build context to Docker daemon 5.734MB 06:42:25 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:42:25 Step 2/23 : FROM ${BASE} AS builder 06:42:25 ---> aec19785a070 06:42:25 Step 3/23 : ARG MAKE=make build 06:42:25 ---> Running in 08444d6cff45 06:42:25 Removing intermediate container 08444d6cff45 06:42:25 ---> 93bc2255b35f 06:42:25 Step 4/23 : WORKDIR /device-sdk-go 06:42:25 ---> Running in efe13fffb696 06:42:25 Removing intermediate container efe13fffb696 06:42:25 ---> 85176190e458 06:42:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:42:26 ---> Running in d901c2223b85 06:42:26 Removing intermediate container d901c2223b85 06:42:26 ---> 5d9a50b36d74 06:42:26 Step 6/23 : RUN apk add --update --no-cache make git 06:42:26 ---> Running in f3cdc8b273b4 06:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:42:28 OK: 221 MiB in 51 packages 06:42:29 Removing intermediate container f3cdc8b273b4 06:42:29 ---> 63cf37ebe00d 06:42:29 Step 7/23 : COPY go.mod vendor* ./ 06:42:29 ---> 404ed6f8326b 06:42:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:29 ---> Running in a8c1aa5f7e85 06:42:33 Removing intermediate container a8c1aa5f7e85 06:42:33 ---> 0b12ae315152 06:42:33 Step 9/23 : COPY . . 06:42:34 ---> a4e69f232a74 06:42:34 Step 10/23 : RUN ${MAKE} 06:42:34 ---> Running in f879a90e9234 06:42:35 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 06:44:26 Removing intermediate container f879a90e9234 06:44:26 ---> 1fde77e0ecc5 06:44:26 Step 11/23 : FROM alpine:3.16 06:44:26 3.16: Pulling from library/alpine 06:44:26 6875df1f5354: Pulling fs layer 06:44:26 6875df1f5354: Verifying Checksum 06:44:26 6875df1f5354: Download complete 06:44:27 6875df1f5354: Pull complete 06:44:27 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 06:44:27 Status: Downloaded newer image for alpine:3.16 06:44:27 ---> 2b4661558fb8 06:44:27 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:44:27 ---> Running in ddfb19d7fbbe 06:44:27 Removing intermediate container ddfb19d7fbbe 06:44:27 ---> 0f3f9d6ff70b 06:44:27 Step 13/23 : RUN apk add --update --no-cache 06:44:27 ---> Running in 11f752ddda97 06:44:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:44:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:44:29 OK: 5 MiB in 14 packages 06:44:30 Removing intermediate container 11f752ddda97 06:44:30 ---> bd3c07ceccd8 06:44:30 Step 14/23 : WORKDIR / 06:44:30 ---> Running in b79067f9bf7f 06:44:31 Removing intermediate container b79067f9bf7f 06:44:31 ---> 9b907234fdd1 06:44:31 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:44:31 ---> 4c31d29a5fb2 06:44:31 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:44:33 ---> 1d3dbae8cbe6 06:44:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:44:33 ---> 5c7f4a86eed2 06:44:33 Step 18/23 : EXPOSE 59999 06:44:33 ---> Running in 5aa198bfcfbd 06:44:33 Removing intermediate container 5aa198bfcfbd 06:44:33 ---> f8441caab633 06:44:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:44:33 ---> Running in eb95a29a4092 06:44:34 Removing intermediate container eb95a29a4092 06:44:34 ---> 38841a085ecf 06:44:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:44:34 ---> Running in cbef78381918 06:44:34 Removing intermediate container cbef78381918 06:44:34 ---> 59f1366e494d 06:44:34 Step 21/23 : LABEL arch=arm64 06:44:34 ---> Running in e84963543e68 06:44:34 Removing intermediate container e84963543e68 06:44:34 ---> 317e60bfcf8d 06:44:34 Step 22/23 : LABEL git_sha=96b3ac124bb90df02dc48aa4cbc603050596b4fa 06:44:34 ---> Running in 4b5dd1f74ef9 06:44:35 Removing intermediate container 4b5dd1f74ef9 06:44:35 ---> 7df64a0e0e70 06:44:35 Step 23/23 : LABEL version=0.0.0 06:44:35 ---> Running in f4b450fcba08 06:44:35 Removing intermediate container f4b450fcba08 06:44:35 ---> 2e7f6b86b7a3 06:44:35 [Warning] One or more build-args [ARCH] were not consumed 06:44:35 Successfully built 2e7f6b86b7a3 06:44:35 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 06:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:35 06:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:36 arm64: Pulling from edgex-lftools-log-publisher 06:44:36 8998bd30e6a1: Pulling fs layer 06:44:36 04944245beec: Pulling fs layer 06:44:36 699f458cf7ca: Pulling fs layer 06:44:36 765212b225bb: Pulling fs layer 06:44:36 f23df028b6ca: Pulling fs layer 06:44:36 d65c8cfc05b1: Pulling fs layer 06:44:36 2437ff75d9bd: Pulling fs layer 06:44:36 765212b225bb: Waiting 06:44:36 f23df028b6ca: Waiting 06:44:36 d65c8cfc05b1: Waiting 06:44:36 2437ff75d9bd: Waiting 06:44:36 04944245beec: Verifying Checksum 06:44:36 04944245beec: Download complete 06:44:36 765212b225bb: Verifying Checksum 06:44:36 765212b225bb: Download complete 06:44:36 f23df028b6ca: Verifying Checksum 06:44:36 f23df028b6ca: Download complete 06:44:36 d65c8cfc05b1: Verifying Checksum 06:44:36 d65c8cfc05b1: Download complete 06:44:36 699f458cf7ca: Verifying Checksum 06:44:36 699f458cf7ca: Download complete 06:44:37 8998bd30e6a1: Verifying Checksum 06:44:37 8998bd30e6a1: Download complete 06:44:39 2437ff75d9bd: Verifying Checksum 06:44:39 2437ff75d9bd: Download complete 06:44:41 8998bd30e6a1: Pull complete 06:44:41 04944245beec: Pull complete 06:44:43 699f458cf7ca: Pull complete 06:44:43 765212b225bb: Pull complete 06:44:44 f23df028b6ca: Pull complete 06:44:44 d65c8cfc05b1: Pull complete 06:44:58 2437ff75d9bd: Pull complete 06:44:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:58 prd-ubuntu20.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container 06:44:58 $ 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 06:45:01 $ docker top 48e44b26c27f9f43b1ec436e79726eb265988dd375a6cdabebcc719eebe4b7cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:01 ---> job-cost.sh 06:45:02 lf-activate-venv: SKIPPING 06:45:02 INFO: No Stack... 06:45:02 INFO: Retrieving Pricing Info for: v3-standard-4 06:45:03 INFO: Archiving Costs [Pipeline] sh 06:45:03 + + cut -d, -f6 06:45:03 cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 06:45:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] 06:45:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] did not exist. Created. 06:45:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:04 /w/workspace/device-sdk-go/2@tmp/durable-dae4f7fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:45:04 + echo total: 0.10999999940395355 [Pipeline] stash 06:45:05 Warning: overwriting stash ‘stack-cost’ 06:45:05 Stashed 1 file(s) [Pipeline] } 06:45:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:05 $ docker stop --time=1 48e44b26c27f9f43b1ec436e79726eb265988dd375a6cdabebcc719eebe4b7cc 06:45:06 $ docker rm -f --volumes 48e44b26c27f9f43b1ec436e79726eb265988dd375a6cdabebcc719eebe4b7cc [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 06:45:06 provisioning config files... 06:45:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config4315521016765998009tmp [Pipeline] { [Pipeline] sh 06:45:07 + set +x 06:45:07 + curl -s https://codecov.io/bash 06:45:07 + bash -s -- 06:45:07 06:45:07 _____ _ 06:45:07 / ____| | | 06:45:07 | | ___ __| | ___ ___ _____ __ 06:45:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:45:07 | |___| (_) | (_| | __/ (_| (_) \ V / 06:45:07 \_____\___/ \__,_|\___|\___\___/ \_/ 06:45:07 Bash-1.0.6 06:45:07 06:45:07 06:45:07 ==> git version 2.25.1 found 06:45:07 ==> 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 06:45:07 Release-Date: 2020-01-08 06:45:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:45:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:45:07 ==> Jenkins CI detected. 06:45:07 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1276 06:45:07 project root: . 06:45:07 --> token set from env 06:45:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:45:07 ==> Running gcov in . (disable via -X gcov) 06:45:07 ==> Python coveragepy not found 06:45:07 ==> Searching for coverage reports in: 06:45:07 + . 06:45:07 -> Found 1 reports 06:45:07 ==> Detecting git/mercurial file structure 06:45:07 ==> Reading reports 06:45:07 + ./coverage.out bytes=100830 06:45:07 ==> Appending adjustments 06:45:07 https://docs.codecov.io/docs/fixing-reports 06:45:07 + Found adjustments 06:45:07 ==> Gzipping contents 06:45:07 16K /tmp/codecov.OVo3uF.gz 06:45:07 ==> Uploading reports 06:45:07 url: https://codecov.io 06:45:07 query: branch=PR-1276&commit=96b3ac124bb90df02dc48aa4cbc603050596b4fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= 06:45:07 -> Pinging Codecov 06:45:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1276&commit=96b3ac124bb90df02dc48aa4cbc603050596b4fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= 06:45:08 -> Uploading to 06:45:08 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7E55EF52A471D76F132DFD9A03CDDE97/96b3ac124bb90df02dc48aa4cbc603050596b4fa/e0163184-d396-4172-b023-a424d7093603.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T064507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0460573ccb4ee796fc669ad7cf550294f33475f8347f51bb8abfae1284341f91 06:45:08 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:08 Dload Upload Total Spent Left Speed 06:45:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14708 0 0 100 14708 0 57905 --:--:-- --:--:-- --:--:-- 57905 06:45:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] } 06:45:08 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 06:45:08 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives ] 06:45:08 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives 06:45:08 total 16 06:45:08 drwxr-xr-x 3 root root 4096 Jan 11 06:36 . 06:45:08 drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 06:36 .. 06:45:08 drwxr-xr-x 2 root root 4096 Jan 11 06:36 cost 06:45:08 -rw-r--r-- 1 root root 86 Jan 11 06:36 cost.csv 06:45:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives 06:45:08 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives 06:45:08 total 16 06:45:08 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 06:36 . 06:45:08 drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 06:36 .. 06:45:08 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 06:36 cost 06:45:08 -rw-r--r-- 1 jenkins jenkins 86 Jan 11 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:45:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:45:10 ---> package-listing.sh 06:45:10 ++ facter osfamily 06:45:10 ++ tr '[:upper:]' '[:lower:]' 06:45:10 + OS_FAMILY=debian 06:45:10 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1276 06:45:10 + START_PACKAGES=/tmp/packages_start.txt 06:45:10 + END_PACKAGES=/tmp/packages_end.txt 06:45:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:45:10 + PACKAGES=/tmp/packages_start.txt 06:45:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' 06:45:10 + PACKAGES=/tmp/packages_end.txt 06:45:10 + case "${OS_FAMILY}" in 06:45:10 + dpkg -l 06:45:10 + grep '^ii' 06:45:10 + '[' -f /tmp/packages_start.txt ']' 06:45:10 + '[' -f /tmp/packages_end.txt ']' 06:45:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:45:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' 06:45:10 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ 06:45:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [Pipeline] echo 06:45:10 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-1276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:45:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:11 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 06:45:11 $ 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-1276/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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 06:45:11 $ docker top 9d90911492d2dc254986b075126ea748cb6e8363aa83544f14b4337402f6ca65 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:12 + touch /tmp/pre-build-complete [Pipeline] sh 06:45:12 + mkdir -p /var/log/sysstat [Pipeline] sh 06:45:12 + ls /var/log/sa-host 06:45:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:12 provisioning config files... 06:45:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config10345235641871395877tmp [Pipeline] { [Pipeline] echo 06:45:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:45:13 ---> create-netrc.sh [Pipeline] } 06:45:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:45:13 ---> python-tools-install.sh [Pipeline] echo 06:45:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:45:13 ---> sudo-logs.sh 06:45:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:45:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:45:14 ---> job-cost.sh 06:45:14 lf-activate-venv: SKIPPING 06:45:14 DEBUG: total: 0.2199999988079071 06:45:14 INFO: Retrieving Stack Cost... 06:45:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:45:15 INFO: Archiving Costs [Pipeline] echo 06:45:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:45:15 ---> logs-deploy.sh 06:45:15 lf-activate-venv: SKIPPING 06:45:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1276/2 06:45:15 INFO: archiving workspace using pattern(s): 06:45:16 Archives upload complete. 06:45:16 INFO: archiving logs to Nexus 06:45:17 ---> uname -a: 06:45:17 Linux prd-ubuntu20-04-docker-8c-8g-1809 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:45:17 06:45:17 06:45:17 ---> lscpu: 06:45:17 Architecture: x86_64 06:45:17 CPU op-mode(s): 32-bit, 64-bit 06:45:17 Byte Order: Little Endian 06:45:17 Address sizes: 40 bits physical, 48 bits virtual 06:45:17 CPU(s): 8 06:45:17 On-line CPU(s) list: 0-7 06:45:17 Thread(s) per core: 1 06:45:17 Core(s) per socket: 1 06:45:17 Socket(s): 8 06:45:17 NUMA node(s): 1 06:45:17 Vendor ID: AuthenticAMD 06:45:17 CPU family: 23 06:45:17 Model: 49 06:45:17 Model name: AMD EPYC-Rome Processor 06:45:17 Stepping: 0 06:45:17 CPU MHz: 2799.998 06:45:17 BogoMIPS: 5599.99 06:45:17 Virtualization: AMD-V 06:45:17 Hypervisor vendor: KVM 06:45:17 Virtualization type: full 06:45:17 L1d cache: 256 KiB 06:45:17 L1i cache: 256 KiB 06:45:17 L2 cache: 4 MiB 06:45:17 L3 cache: 128 MiB 06:45:17 NUMA node0 CPU(s): 0-7 06:45:17 Vulnerability Itlb multihit: Not affected 06:45:17 Vulnerability L1tf: Not affected 06:45:17 Vulnerability Mds: Not affected 06:45:17 Vulnerability Meltdown: Not affected 06:45:17 Vulnerability Mmio stale data: Not affected 06:45:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:45:17 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:45:17 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:45:17 Vulnerability Srbds: Not affected 06:45:17 Vulnerability Tsx async abort: Not affected 06:45:17 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 06:45:17 06:45:17 06:45:17 ---> nproc: 06:45:17 8 06:45:17 06:45:17 06:45:17 ---> df -h: 06:45:17 Filesystem Size Used Avail Use% Mounted on 06:45:17 overlay 155G 12G 144G 8% / 06:45:17 tmpfs 64M 0 64M 0% /dev 06:45:17 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:45:17 shm 64M 0 64M 0% /dev/shm 06:45:17 /dev/vda1 155G 12G 144G 8% /facter-os 06:45:17 06:45:17 06:45:17 ---> sar -b -r -n DEV: 06:45:17 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1809) 01/11/23 _x86_64_ (8 CPU) 06:45:17 06:45:17 06:33:32 LINUX RESTART (8 CPU) 06:45:17 06:45:17 06:34:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:45:17 06:35:01 398.86 12.57 386.29 0.00 1856.77 141822.74 0.00 06:45:17 06:36:01 107.43 0.18 107.25 0.00 4.80 88169.68 0.00 06:45:17 06:37:01 81.37 0.03 81.34 0.00 4.13 19167.62 0.00 06:45:17 06:38:01 1.80 0.00 1.80 0.00 0.00 19.46 0.00 06:45:17 06:39:01 54.46 12.23 42.23 0.00 5247.26 8728.81 0.00 06:45:17 06:40:01 5.51 0.02 5.50 0.00 0.13 119.56 0.00 06:45:17 06:41:01 2.05 0.00 2.05 0.00 0.00 23.33 0.00 06:45:17 06:42:01 2.05 0.00 2.05 0.00 0.00 23.86 0.00 06:45:17 06:43:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 06:45:17 06:44:01 2.13 0.00 2.13 0.00 0.00 23.86 0.00 06:45:17 06:45:01 1.10 0.00 1.10 0.00 0.00 12.13 0.00 06:45:17 Average: 59.32 2.26 57.06 0.00 644.77 23286.40 0.00 06:45:17 06:45:17 06:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:45:17 06:35:01 28355388 31403504 901424 2.74 137388 3119292 2028648 5.98 1276616 2813292 6332 06:45:17 06:36:01 28265056 31541328 764280 2.32 142136 3335572 1859816 5.48 1209932 2961800 0 06:45:17 06:37:01 27757156 31558932 743984 2.26 152036 3800788 1757600 5.18 1236136 3389508 164 06:45:17 06:38:01 27757820 31559732 742880 2.26 152080 3800788 1757600 5.18 1235932 3389508 164 06:45:17 06:39:01 27234416 31539524 743616 2.26 185348 4258156 1808540 5.33 1557204 3554768 1080 06:45:17 06:40:01 27241304 31541644 741604 2.26 183916 4254896 1802164 5.31 1554932 3551520 352 06:45:17 06:41:01 27251140 31551604 731632 2.22 183968 4254900 1802164 5.31 1545196 3551528 8 06:45:17 06:42:01 27250836 31551428 731688 2.23 184052 4254908 1802164 5.31 1545784 3551532 180 06:45:17 06:43:01 27251216 31551832 731112 2.22 184096 4254908 1802164 5.31 1545616 3551532 8 06:45:17 06:44:01 27250980 31551812 731092 2.22 184156 4255040 1802164 5.31 1545568 3551672 12 06:45:17 06:45:01 27251108 31552120 731052 2.22 184188 4255040 1802164 5.31 1545716 3551796 172 06:45:17 Average: 27533311 31536678 754033 2.29 170306 3985844 1820472 5.37 1436239 3401678 770 06:45:17 06:45:17 06:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:45:17 06:35:01 ens3 598.14 404.37 7819.41 94.35 0.00 0.00 0.00 0.00 06:45:17 06:35:01 veth1575867 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 06:45:17 06:35:01 lo 6.64 6.64 0.64 0.64 0.00 0.00 0.00 0.00 06:45:17 06:35:01 docker0 148.28 206.95 12.63 1855.58 0.00 0.00 0.00 0.00 06:45:17 06:36:01 ens3 34.17 19.96 110.55 11.78 0.00 0.00 0.00 0.00 06:45:17 06:36:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 06:45:17 06:36:01 docker0 1.72 3.73 0.10 40.56 0.00 0.00 0.00 0.00 06:45:17 06:37:01 ens3 124.98 75.44 2565.00 12.48 0.00 0.00 0.00 0.00 06:45:17 06:37:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 06:45:17 06:37:01 docker0 1.40 2.77 0.09 40.49 0.00 0.00 0.00 0.00 06:45:17 06:38:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 06:45:17 06:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:45:17 06:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:39:01 ens3 166.69 90.97 2754.11 6.46 0.00 0.00 0.00 0.00 06:45:17 06:39:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 06:45:17 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:40:01 ens3 0.38 0.32 0.02 0.02 0.00 0.00 0.00 0.00 06:45:17 06:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:45:17 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:41:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:42:01 ens3 2.83 2.33 9.30 0.16 0.00 0.00 0.00 0.00 06:45:17 06:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:45:17 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:43:01 ens3 1.48 1.15 2.92 0.08 0.00 0.00 0.00 0.00 06:45:17 06:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:44:01 ens3 0.25 0.20 0.08 0.07 0.00 0.00 0.00 0.00 06:45:17 06:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:45:17 06:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:45:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 06:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:17 Average: ens3 83.68 53.54 1195.48 11.27 0.00 0.00 0.00 0.00 06:45:17 Average: lo 0.91 0.91 0.09 0.09 0.00 0.00 0.00 0.00 06:45:17 Average: docker0 13.56 19.12 1.15 173.50 0.00 0.00 0.00 0.00 06:45:17 06:45:17 06:45:17 ---> sar -P ALL: 06:45:17 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1809) 01/11/23 _x86_64_ (8 CPU) 06:45:17 06:45:17 06:33:32 LINUX RESTART (8 CPU) 06:45:17 06:45:17 06:34:02 CPU %user %nice %system %iowait %steal %idle 06:45:17 06:35:01 all 11.56 0.00 5.22 2.12 0.07 81.03 06:45:17 06:35:01 0 10.80 0.00 6.00 4.03 0.05 79.12 06:45:17 06:35:01 1 12.59 0.00 5.21 0.32 0.07 81.80 06:45:17 06:35:01 2 10.11 0.00 5.67 0.90 0.07 83.26 06:45:17 06:35:01 3 10.96 0.00 4.72 1.43 0.07 82.82 06:45:17 06:35:01 4 13.16 0.00 4.55 0.29 0.07 81.93 06:45:17 06:35:01 5 11.80 0.00 5.49 1.57 0.07 81.07 06:45:17 06:35:01 6 10.27 0.00 6.15 8.15 0.07 75.35 06:45:17 06:35:01 7 12.75 0.00 3.96 0.31 0.09 82.89 06:45:17 06:36:01 all 51.20 0.00 7.19 0.46 0.11 41.05 06:45:17 06:36:01 0 49.83 0.00 7.01 0.10 0.12 42.94 06:45:17 06:36:01 1 49.51 0.00 7.82 1.08 0.10 41.49 06:45:17 06:36:01 2 51.05 0.00 7.54 0.17 0.10 41.14 06:45:17 06:36:01 3 51.30 0.00 7.23 1.10 0.10 40.27 06:45:17 06:36:01 4 51.18 0.00 6.97 0.03 0.10 41.72 06:45:17 06:36:01 5 51.81 0.00 7.07 0.10 0.12 40.89 06:45:17 06:36:01 6 51.88 0.00 6.78 0.96 0.10 40.27 06:45:17 06:36:01 7 53.01 0.00 7.13 0.12 0.10 39.64 06:45:17 06:37:01 all 3.01 0.00 1.35 0.35 0.01 95.28 06:45:17 06:37:01 0 3.25 0.00 1.53 1.48 0.02 93.73 06:45:17 06:37:01 1 2.86 0.00 1.24 0.08 0.02 95.80 06:45:17 06:37:01 2 2.35 0.00 1.79 0.32 0.02 95.53 06:45:17 06:37:01 3 2.47 0.00 1.71 0.05 0.02 95.75 06:45:17 06:37:01 4 3.00 0.00 1.26 0.02 0.02 95.71 06:45:17 06:37:01 5 3.11 0.00 0.97 0.02 0.00 95.91 06:45:17 06:37:01 6 4.63 0.00 1.19 0.73 0.02 93.43 06:45:17 06:37:01 7 2.38 0.00 1.10 0.12 0.02 96.38 06:45:17 06:38:01 all 0.15 0.00 0.01 0.01 0.00 99.83 06:45:17 06:38:01 0 0.03 0.00 0.03 0.02 0.00 99.92 06:45:17 06:38:01 1 0.02 0.00 0.00 0.00 0.02 99.97 06:45:17 06:38:01 2 0.03 0.00 0.02 0.03 0.00 99.92 06:45:17 06:38:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:45:17 06:38:01 4 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:38:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:38:01 6 1.06 0.00 0.00 0.00 0.02 98.92 06:45:17 06:38:01 7 0.00 0.00 0.03 0.00 0.00 99.97 06:45:17 06:39:01 all 2.26 0.00 1.46 0.34 0.02 95.92 06:45:17 06:39:01 0 2.76 0.00 1.05 0.67 0.02 95.51 06:45:17 06:39:01 1 1.50 0.00 0.78 0.18 0.00 97.53 06:45:17 06:39:01 2 1.37 0.00 0.75 0.87 0.02 96.99 06:45:17 06:39:01 3 1.66 0.00 1.44 0.37 0.03 96.50 06:45:17 06:39:01 4 2.69 0.00 1.22 0.07 0.02 96.01 06:45:17 06:39:01 5 2.52 0.00 1.25 0.28 0.03 95.91 06:45:17 06:39:01 6 3.09 0.00 1.06 0.05 0.00 95.81 06:45:17 06:39:01 7 2.47 0.00 4.13 0.27 0.03 93.10 06:45:17 06:40:01 all 0.18 0.00 0.07 0.02 0.01 99.73 06:45:17 06:40:01 0 0.03 0.00 0.03 0.10 0.02 99.82 06:45:17 06:40:01 1 0.15 0.00 0.08 0.02 0.02 99.73 06:45:17 06:40:01 2 0.83 0.00 0.10 0.00 0.00 99.07 06:45:17 06:40:01 3 0.03 0.00 0.05 0.00 0.00 99.92 06:45:17 06:40:01 4 0.15 0.00 0.12 0.00 0.00 99.73 06:45:17 06:40:01 5 0.02 0.00 0.07 0.00 0.00 99.92 06:45:17 06:40:01 6 0.15 0.00 0.05 0.02 0.02 99.77 06:45:17 06:40:01 7 0.05 0.00 0.03 0.02 0.00 99.90 06:45:17 06:41:01 all 0.27 0.00 0.01 0.01 0.00 99.71 06:45:17 06:41:01 0 0.02 0.00 0.03 0.03 0.00 99.92 06:45:17 06:41:01 1 0.07 0.00 0.07 0.00 0.00 99.87 06:45:17 06:41:01 2 1.99 0.00 0.00 0.00 0.02 98.00 06:45:17 06:41:01 3 0.00 0.00 0.00 0.02 0.00 99.98 06:45:17 06:41:01 4 0.02 0.00 0.02 0.00 0.00 99.97 06:45:17 06:41:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:41:01 6 0.05 0.00 0.00 0.00 0.00 99.95 06:45:17 06:41:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:42:01 all 0.27 0.00 0.01 0.01 0.00 99.70 06:45:17 06:42:01 0 0.05 0.00 0.02 0.05 0.00 99.88 06:45:17 06:42:01 1 0.03 0.00 0.02 0.00 0.02 99.93 06:45:17 06:42:01 2 1.99 0.00 0.02 0.00 0.00 98.00 06:45:17 06:42:01 3 0.03 0.00 0.02 0.03 0.00 99.92 06:45:17 06:42:01 4 0.03 0.00 0.02 0.00 0.02 99.93 06:45:17 06:42:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:45:17 06:42:01 6 0.00 0.00 0.02 0.00 0.00 99.98 06:45:17 06:42:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:43:01 all 0.28 0.00 0.01 0.01 0.00 99.70 06:45:17 06:43:01 0 0.02 0.00 0.02 0.03 0.00 99.93 06:45:17 06:43:01 1 0.10 0.00 0.05 0.00 0.00 99.85 06:45:17 06:43:01 2 1.97 0.00 0.02 0.00 0.00 98.01 06:45:17 06:43:01 3 0.02 0.00 0.00 0.02 0.00 99.97 06:45:17 06:43:01 4 0.03 0.00 0.00 0.00 0.00 99.97 06:45:17 06:43:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:45:17 06:43:01 6 0.03 0.00 0.00 0.00 0.00 99.97 06:45:17 06:43:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:44:01 all 0.05 0.00 0.01 0.01 0.00 99.93 06:45:17 06:44:01 0 0.05 0.00 0.02 0.03 0.00 99.90 06:45:17 06:44:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:45:17 06:44:01 2 0.05 0.00 0.00 0.00 0.00 99.95 06:45:17 06:44:01 3 0.00 0.00 0.00 0.02 0.00 99.98 06:45:17 06:44:01 4 0.30 0.00 0.00 0.00 0.00 99.70 06:45:17 06:44:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:44:01 6 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:44:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:45:01 all 0.03 0.00 0.01 0.01 0.00 99.95 06:45:17 06:45:01 0 0.03 0.00 0.02 0.03 0.00 99.92 06:45:17 06:45:01 1 0.05 0.00 0.02 0.00 0.02 99.92 06:45:17 06:45:01 2 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:45:01 3 0.02 0.00 0.02 0.02 0.00 99.95 06:45:17 06:45:01 4 0.10 0.00 0.02 0.00 0.00 99.88 06:45:17 06:45:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:45:01 6 0.03 0.00 0.02 0.00 0.00 99.95 06:45:17 06:45:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:45:17 06:45:17 Average: CPU %user %nice %system %iowait %steal %idle 06:45:17 Average: all 6.23 0.00 1.38 0.30 0.02 92.08 06:45:17 Average: 0 6.03 0.00 1.42 0.59 0.02 91.95 06:45:17 Average: 1 6.01 0.00 1.38 0.15 0.02 92.43 06:45:17 Average: 2 6.44 0.00 1.42 0.20 0.02 91.91 06:45:17 Average: 3 5.98 0.00 1.37 0.27 0.02 92.36 06:45:17 Average: 4 6.37 0.00 1.27 0.04 0.02 92.30 06:45:17 Average: 5 6.23 0.00 1.33 0.17 0.02 92.24 06:45:17 Average: 6 6.41 0.00 1.37 0.88 0.02 91.33 06:45:17 Average: 7 6.34 0.00 1.47 0.07 0.02 92.09 06:45:17 06:45:17 06:45:17