Pull request #1265 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 206823ae68d8fb2ee3979ae228d704166d891efc+c9819f1195e0e6250bc0958cba43b0a168ce6321 (93e8480dba6f2d8f17188b76310e97ef296bf8c1) 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-ssh14343859086189129095.key Verifying host key using known hosts file > 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-ssh7945745806821074163.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17510732580734556847.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15039269208298889942.key Verifying host key using known hosts file > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17904838373887004788.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17491371248948737997.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-121028 in /w/workspace/gexfoundry_device-sdk-go_PR-1265 [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-1265 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1265/head:refs/remotes/origin/PR-1265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9819f1195e0e6250bc0958cba43b0a168ce6321 into PR head commit 206823ae68d8fb2ee3979ae228d704166d891efc Merge succeeded, producing 206823ae68d8fb2ee3979ae228d704166d891efc Checking out Revision 206823ae68d8fb2ee3979ae228d704166d891efc (PR-1265) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:04:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c9819f1195e0e6250bc0958cba43b0a168ce6321 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:04:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:21 ========================================================= 04:04:21 EdgeX Global Pipelines Version Info 04:04:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:22 ------------------- 04:04:22 stable info: 04:04:22 ------------------- 04:04:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:04:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:04:22 Message: update stable to v1.0.244 04:04:23 ------------------- 04:04:23 experimental info: 04:04:23 ------------------- 04:04:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:04:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:04:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1265 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1265 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1265 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 206823a [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:24 provisioning config files... 04:04:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config15135894969013695998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:25 ---> docker-login.sh 04:04:25 nexus3.edgexfoundry.org:10001 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10002 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10003 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10004 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 docker.io 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 ---> docker-login.sh ends [Pipeline] } 04:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:04:26 + git rev-list -1 --merges 206823ae68d8fb2ee3979ae228d704166d891efc~1..206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo 04:04:26 -----------> git rev-list -1 --merges 206823ae68d8fb2ee3979ae228d704166d891efc~1..206823ae68d8fb2ee3979ae228d704166d891efc 206823ae68d8fb2ee3979ae228d704166d891efc [false] [Pipeline] sh 04:04:26 + git log --format=format:%s -1 206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo 04:04:27 ========================================================= 04:04:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:04:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:27 + git log --format=format:%s -1 206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo 04:04:27 [semverPrep] GIT_COMMIT: 206823ae68d8fb2ee3979ae228d704166d891efc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 04:04:27 [semverPrep] This is not a build commit. [Pipeline] sh 04:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:04:27 + grep -v github /etc/ssh/ssh_known_hosts 04:04:27 + [ -e /tmp/ssh_known_hosts ] 04:04:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:04:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:04:27 + sudo tee -a /etc/ssh/ssh_known_hosts 04:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:28 04:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:28 0.1.4: Pulling from edgex-devops/py-git-semver 04:04:28 b85a868b505f: Pulling fs layer 04:04:28 e2be974225ed: Pulling fs layer 04:04:28 339a4e72a1f5: Pulling fs layer 04:04:28 988bab9f4d93: Pulling fs layer 04:04:28 1469e6f7b9e6: Pulling fs layer 04:04:28 eaf3925da568: Pulling fs layer 04:04:28 bab4dde63d76: Pulling fs layer 04:04:28 bde34c3a00c8: Pulling fs layer 04:04:28 b352a97aabf1: Pulling fs layer 04:04:28 4872d77fe225: Pulling fs layer 04:04:28 5851b861e8e6: Pulling fs layer 04:04:28 4872d77fe225: Waiting 04:04:28 988bab9f4d93: Waiting 04:04:28 bab4dde63d76: Waiting 04:04:28 b352a97aabf1: Waiting 04:04:28 eaf3925da568: Waiting 04:04:28 5851b861e8e6: Waiting 04:04:28 1469e6f7b9e6: Waiting 04:04:28 e2be974225ed: Verifying Checksum 04:04:28 e2be974225ed: Download complete 04:04:28 988bab9f4d93: Verifying Checksum 04:04:28 988bab9f4d93: Download complete 04:04:29 1469e6f7b9e6: Verifying Checksum 04:04:29 1469e6f7b9e6: Download complete 04:04:29 eaf3925da568: Verifying Checksum 04:04:29 eaf3925da568: Download complete 04:04:29 b85a868b505f: Verifying Checksum 04:04:29 b85a868b505f: Download complete 04:04:29 bde34c3a00c8: Download complete 04:04:29 b352a97aabf1: Download complete 04:04:29 4872d77fe225: Verifying Checksum 04:04:29 4872d77fe225: Download complete 04:04:29 5851b861e8e6: Verifying Checksum 04:04:29 5851b861e8e6: Download complete 04:04:29 bab4dde63d76: Verifying Checksum 04:04:29 bab4dde63d76: Download complete 04:04:29 339a4e72a1f5: Verifying Checksum 04:04:29 339a4e72a1f5: Download complete 04:04:30 b85a868b505f: Pull complete 04:04:30 e2be974225ed: Pull complete 04:04:31 339a4e72a1f5: Pull complete 04:04:31 988bab9f4d93: Pull complete 04:04:31 1469e6f7b9e6: Pull complete 04:04:31 eaf3925da568: Pull complete 04:04:33 bab4dde63d76: Pull complete 04:04:33 bde34c3a00c8: Pull complete 04:04:33 b352a97aabf1: Pull complete 04:04:33 4872d77fe225: Pull complete 04:04:33 5851b861e8e6: Pull complete 04:04:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:34 prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container 04:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:04:35 $ docker top a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe -eo pid,comm 04:04:35 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). 04:04:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:35 [ssh-agent] Looking for ssh-agent implementation... 04:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:36 $ docker exec a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent 04:04:36 SSH_AUTH_SOCK=/tmp/ssh-EiOC5OW69TER/agent.32 04:04:36 SSH_AGENT_PID=39 04:04:36 Running ssh-add (command line suppressed) 04:04:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_10072522303078349273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_10072522303078349273.key) 04:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:36 + git tag --points-at HEAD [Pipeline] } 04:04:36 $ docker exec --env ******** --env ******** a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent -k 04:04:36 unset SSH_AUTH_SOCK; 04:04:36 unset SSH_AGENT_PID; 04:04:36 echo Agent pid 39 killed; 04:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:36 [ssh-agent] Looking for ssh-agent implementation... 04:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:36 $ docker exec a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent 04:04:37 SSH_AUTH_SOCK=/tmp/ssh-Mf9KVk9yxwGT/agent.71 04:04:37 SSH_AGENT_PID=77 04:04:37 Running ssh-add (command line suppressed) 04:04:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_572022737903575853.key (/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_572022737903575853.key) 04:04:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:37 + git semver init 04:04:37 2022-12-13 04:04:37,732 [run_init] DEBUG init version:0.0.0 force:False 04:04:37 2022-12-13 04:04:37,733 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver 04:04:37 2022-12-13 04:04:37,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver 04:04:37 2022-12-13 04:04:37,733 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265, universal_newlines=False, shell=None, istream=None) 04:04:38 2022-12-13 04:04:38,669 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.git/info/exclude 04:04:38 2022-12-13 04:04:38,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 with force:False 04:04:38 2022-12-13 04:04:38,670 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 04:04:38 2022-12-13 04:04:38,675 [execute] INFO git cat-file --batch-check 04:04:38 2022-12-13 04:04:38,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver, universal_newlines=False, shell=None, istream=) 04:04:38 2022-12-13 04:04:38,682 [execute] INFO git cat-file --batch 04:04:38 2022-12-13 04:04:38,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver, universal_newlines=False, shell=None, istream=) 04:04:38 2022-12-13 04:04:38,689 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 04:04:38 0.0.0 [Pipeline] } 04:04:38 $ docker exec --env ******** --env ******** a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent -k 04:04:38 unset SSH_AUTH_SOCK; 04:04:38 unset SSH_AGENT_PID; 04:04:38 echo Agent pid 77 killed; 04:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:04:39 + git semver [Pipeline] } 04:04:39 $ docker stop --time=1 a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe 04:04:40 $ docker rm -f a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe [Pipeline] // withDockerContainer [Pipeline] sh 04:04:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:41 Stashed 1 file(s) [Pipeline] echo 04:04:41 [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 04:04:42 provisioning config files... 04:04:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config13684526721742568798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:42 ---> docker-login.sh 04:04:42 nexus3.edgexfoundry.org:10001 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 nexus3.edgexfoundry.org:10002 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 nexus3.edgexfoundry.org:10003 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 nexus3.edgexfoundry.org:10004 04:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:42 Configure a credential helper to remove this warning. See 04:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:42 04:04:42 Login Succeeded 04:04:42 docker.io 04:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:43 Configure a credential helper to remove this warning. See 04:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:43 04:04:43 Login Succeeded 04:04:43 ---> docker-login.sh ends [Pipeline] } 04:04:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:43 ========================================================= 04:04:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:04:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:44 + 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 . 04:04:44 Sending build context to Docker daemon 10.42MB 04:04:44 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:04:44 Step 2/10 : FROM ${BASE} AS builder 04:04:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:44 213ec9aee27d: Pulling fs layer 04:04:44 4583459ba037: Pulling fs layer 04:04:44 93c1e223e6f2: Pulling fs layer 04:04:44 53926ce57604: Pulling fs layer 04:04:44 53926ce57604: Waiting 04:04:44 21b2b0c7a3f4: Pulling fs layer 04:04:44 22ff95d597cd: Pulling fs layer 04:04:44 12d6caf4c0d1: Pulling fs layer 04:04:44 22ff95d597cd: Waiting 04:04:44 21b2b0c7a3f4: Waiting 04:04:44 12d6caf4c0d1: Waiting 04:04:44 96b7cbca73a9: Pulling fs layer 04:04:44 a7acece74701: Pulling fs layer 04:04:44 96b7cbca73a9: Waiting 04:04:44 93c1e223e6f2: Verifying Checksum 04:04:44 93c1e223e6f2: Download complete 04:04:44 4583459ba037: Download complete 04:04:44 21b2b0c7a3f4: Verifying Checksum 04:04:44 21b2b0c7a3f4: Download complete 04:04:44 22ff95d597cd: Verifying Checksum 04:04:44 22ff95d597cd: Download complete 04:04:44 12d6caf4c0d1: Download complete 04:04:44 213ec9aee27d: Pull complete 04:04:44 4583459ba037: Pull complete 04:04:44 93c1e223e6f2: Pull complete 04:04:44 a7acece74701: Verifying Checksum 04:04:44 a7acece74701: Download complete 04:04:45 53926ce57604: Verifying Checksum 04:04:45 53926ce57604: Download complete 04:04:45 96b7cbca73a9: Verifying Checksum 04:04:45 96b7cbca73a9: Download complete 04:04:49 53926ce57604: Pull complete 04:04:49 21b2b0c7a3f4: Pull complete 04:04:49 22ff95d597cd: Pull complete 04:04:49 12d6caf4c0d1: Pull complete 04:04:52 96b7cbca73a9: Pull complete 04:04:52 a7acece74701: Pull complete 04:04:52 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:04:52 ---> db6d94c90886 04:04:52 Step 3/10 : ARG MAKE=make build 04:04:55 ---> Running in 98b9f66cf682 04:04:55 Removing intermediate container 98b9f66cf682 04:04:55 ---> 01c9be9f72d5 04:04:55 Step 4/10 : WORKDIR /device-sdk-go 04:04:55 ---> Running in 479af3b2fa18 04:04:55 Removing intermediate container 479af3b2fa18 04:04:55 ---> 780d0656101a 04:04:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:04:55 ---> Running in af0a2728c343 04:04:55 Removing intermediate container af0a2728c343 04:04:55 ---> eaf8bb689574 04:04:55 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:04:55 ---> Running in 4cd748de526f 04:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:04:55 OK: 211 MiB in 51 packages 04:04:56 Removing intermediate container 4cd748de526f 04:04:56 ---> 673e779ead56 04:04:56 Step 7/10 : COPY go.mod vendor* ./ 04:04:56 ---> 954ac9ae5095 04:04:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:56 ---> Running in 3df41a509373 04:04:57 Still waiting to schedule task 04:04:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:05:14 Removing intermediate container 3df41a509373 04:05:14 ---> c76ebe12c9ac 04:05:14 Step 9/10 : COPY . . 04:05:14 ---> ec2f1fe9d9f6 04:05:14 Step 10/10 : RUN ${MAKE} 04:05:14 ---> Running in 490b9a9d6842 04:05:14 noop 04:05:14 Removing intermediate container 490b9a9d6842 04:05:14 ---> d382170f389a 04:05:14 Successfully built d382170f389a 04:05:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:14 + docker inspect -f . ci-base-image-x86_64 04:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:15 prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container 04:05:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@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 ******** ci-base-image-x86_64 cat 04:05:15 $ docker top 9a6880279ad6464ec84b14372cdf4567d27490c15a672bf183beb5264c432839 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:15 + go version 04:05:15 go version go1.18.7 linux/amd64 [Pipeline] } 04:05:15 $ docker stop --time=1 9a6880279ad6464ec84b14372cdf4567d27490c15a672bf183beb5264c432839 04:05:17 $ docker rm -f 9a6880279ad6464ec84b14372cdf4567d27490c15a672bf183beb5264c432839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:17 + docker inspect -f . ci-base-image-x86_64 04:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:18 prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container 04:05:18 $ 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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@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 ******** ci-base-image-x86_64 cat 04:05:18 $ docker top 52195f23b6bf9c65e43105b49c9cf8e6097ceb25c3d2696829d65c8b078efa30 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1265 [Pipeline] fileExists [Pipeline] sh 04:05:19 + make test 04:05:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:05:25 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 73.1% of statements 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.119s coverage: 54.4% of statements 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 65.1% of statements 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.780s coverage: 89.2% of statements 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:05:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements 04:05:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:05:55 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." 04:05:55 GO111MODULE=on go vet ./... 04:05:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:59 ./bin/test-attribution-txt.sh 04:05:59 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:05:59 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:05:59 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:05:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:05:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:05:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:06:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:00 $ docker stop --time=1 52195f23b6bf9c65e43105b49c9cf8e6097ceb25c3d2696829d65c8b078efa30 04:06:02 $ docker rm -f 52195f23b6bf9c65e43105b49c9cf8e6097ceb25c3d2696829d65c8b078efa30 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:03 + ls -al . 04:06:03 total 280 04:06:03 drwxrwxr-x 11 jenkins jenkins 4096 Dec 13 04:05 . 04:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:04 .. 04:06:03 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:04 .dockerignore 04:06:03 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:05 .git 04:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:04 .github 04:06:03 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:04 .gitignore 04:06:03 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:04 .golangci.yml 04:06:03 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:04 .semver 04:06:03 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:04 CHANGELOG.md 04:06:03 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:04 GOVERNANCE.md 04:06:03 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:04 Jenkinsfile 04:06:03 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:04 LICENSE 04:06:03 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:04 Makefile 04:06:03 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:04 OWNERS.md 04:06:03 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:04 README.md 04:06:03 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:04 VERSION 04:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:04 bin 04:06:03 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:05 coverage.out 04:06:03 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:04 example 04:06:03 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:04 go.mod 04:06:03 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:04 go.sum 04:06:03 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:04 internal 04:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:04 openapi 04:06:03 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:04 pkg 04:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:04 snap 04:06:03 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:04 + 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=206823ae68d8fb2ee3979ae228d704166d891efc --label arch=amd64 --label version=0.0.0 . 04:06:04 Sending build context to Docker daemon 10.52MB 04:06:04 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:06:04 Step 2/23 : FROM ${BASE} AS builder 04:06:04 ---> d382170f389a 04:06:04 Step 3/23 : ARG MAKE=make build 04:06:04 ---> Running in 64c25f5d3317 04:06:04 Removing intermediate container 64c25f5d3317 04:06:04 ---> 46733ea381c1 04:06:04 Step 4/23 : WORKDIR /device-sdk-go 04:06:04 ---> Running in 0d4c944ac069 04:06:04 Removing intermediate container 0d4c944ac069 04:06:04 ---> 84b191485bd2 04:06:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:04 ---> Running in 55fc2a0c484a 04:06:04 Removing intermediate container 55fc2a0c484a 04:06:04 ---> 2e15ec5ceb9a 04:06:04 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:04 ---> Running in 4b780350fd49 04:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:05 OK: 211 MiB in 51 packages 04:06:05 Removing intermediate container 4b780350fd49 04:06:05 ---> 572773e344c6 04:06:05 Step 7/23 : COPY go.mod vendor* ./ 04:06:06 ---> 0287192cfafa 04:06:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:06 ---> Running in bec157878a6e 04:06:06 Removing intermediate container bec157878a6e 04:06:06 ---> 95fb0c6c8ed1 04:06:06 Step 9/23 : COPY . . 04:06:07 ---> ef810182b563 04:06:07 Step 10/23 : RUN ${MAKE} 04:06:07 ---> Running in be64ffd1ece2 04:06:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:06:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:06:28 Removing intermediate container be64ffd1ece2 04:06:28 ---> b62684fc8824 04:06:28 Step 11/23 : FROM alpine:3.16 04:06:28 3.16: Pulling from library/alpine 04:06:28 ca7dd9ec2225: Pulling fs layer 04:06:28 ca7dd9ec2225: Verifying Checksum 04:06:28 ca7dd9ec2225: Download complete 04:06:28 ca7dd9ec2225: Pull complete 04:06:28 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:06:28 Status: Downloaded newer image for alpine:3.16 04:06:28 ---> bfe296a52501 04:06:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:28 ---> Running in 0b0d7a51e8de 04:06:28 Removing intermediate container 0b0d7a51e8de 04:06:28 ---> 8725eaf2048a 04:06:28 Step 13/23 : RUN apk add --update --no-cache zeromq 04:06:28 ---> Running in 6283c55ce03c 04:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:06:29 (2/5) Installing libsodium (1.0.18-r0) 04:06:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:06:29 (4/5) Installing libzmq (4.3.4-r0) 04:06:29 (5/5) Installing zeromq (4.3.4-r0) 04:06:29 Executing busybox-1.35.0-r17.trigger 04:06:29 OK: 8 MiB in 19 packages 04:06:30 Removing intermediate container 6283c55ce03c 04:06:30 ---> c4b08ec9ed36 04:06:30 Step 14/23 : WORKDIR / 04:06:30 ---> Running in fcf257fb9ff6 04:06:30 Removing intermediate container fcf257fb9ff6 04:06:30 ---> 6d764bd81ba5 04:06:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:06:30 ---> 3fb57f6abfd7 04:06:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:06:31 ---> 14d0ce6fe5f7 04:06:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:06:31 ---> ef447bf0f2a9 04:06:31 Step 18/23 : EXPOSE 59999 04:06:31 ---> Running in a4a6615eebd4 04:06:31 Removing intermediate container a4a6615eebd4 04:06:31 ---> 26c04b008568 04:06:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:06:31 ---> Running in 96ebe780908b 04:06:31 Removing intermediate container 96ebe780908b 04:06:31 ---> c2b41044dda4 04:06:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:06:31 ---> Running in ed90a4172d20 04:06:31 Removing intermediate container ed90a4172d20 04:06:31 ---> 9b612350698a 04:06:31 Step 21/23 : LABEL arch=amd64 04:06:31 ---> Running in 8d2e6c4123bc 04:06:31 Removing intermediate container 8d2e6c4123bc 04:06:31 ---> b458a6aa17d0 04:06:31 Step 22/23 : LABEL git_sha=206823ae68d8fb2ee3979ae228d704166d891efc 04:06:31 ---> Running in eabe4978bb7d 04:06:31 Removing intermediate container eabe4978bb7d 04:06:31 ---> 479fa215fe44 04:06:31 Step 23/23 : LABEL version=0.0.0 04:06:31 ---> Running in a038d6bd928e 04:06:31 Removing intermediate container a038d6bd928e 04:06:31 ---> 9d14aa7a44ec 04:06:31 [Warning] One or more build-args [ARCH] were not consumed 04:06:31 Successfully built 9d14aa7a44ec 04:06:31 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 04:06:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:32 04:06:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:33 latest: Pulling from edgex-lftools-log-publisher 04:06:33 5eb5b503b376: Pulling fs layer 04:06:33 5c69ac0246d0: Pulling fs layer 04:06:33 ec43610c2a17: Pulling fs layer 04:06:33 3a2ae6a8a46f: Pulling fs layer 04:06:33 33b1e0a273af: Pulling fs layer 04:06:33 5d3b04190fa2: Pulling fs layer 04:06:33 2f39f015ded8: Pulling fs layer 04:06:33 5d3b04190fa2: Waiting 04:06:33 2f39f015ded8: Waiting 04:06:33 33b1e0a273af: Waiting 04:06:33 5c69ac0246d0: Download complete 04:06:33 3a2ae6a8a46f: Download complete 04:06:33 33b1e0a273af: Verifying Checksum 04:06:33 33b1e0a273af: Download complete 04:06:33 5d3b04190fa2: Verifying Checksum 04:06:33 5d3b04190fa2: Download complete 04:06:33 ec43610c2a17: Verifying Checksum 04:06:33 ec43610c2a17: Download complete 04:06:33 5eb5b503b376: Download complete 04:06:33 2f39f015ded8: Download complete 04:06:34 5eb5b503b376: Pull complete 04:06:34 5c69ac0246d0: Pull complete 04:06:35 ec43610c2a17: Pull complete 04:06:35 3a2ae6a8a46f: Pull complete 04:06:35 33b1e0a273af: Pull complete 04:06:35 5d3b04190fa2: Pull complete 04:06:39 2f39f015ded8: Pull complete 04:06:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:06:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:39 prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container 04:06:39 $ 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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:06:41 $ docker top 648874d59a72f088a38007f7b2e65a40d8ad3351edf83a0f8e2f6345b1513ee2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:42 ---> job-cost.sh 04:06:42 lf-activate-venv: SKIPPING 04:06:42 INFO: No Stack... 04:06:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:06:42 INFO: Archiving Costs [Pipeline] sh 04:06:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/cost.csv 04:06:43 + cut -d, -f6 [Pipeline] lock 04:06:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] 04:06:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] did not exist. Created. 04:06:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:06:43 + echo total: 0.2199999988079071 [Pipeline] stash 04:06:43 Stashed 1 file(s) [Pipeline] } 04:06:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:06:43 $ docker stop --time=1 648874d59a72f088a38007f7b2e65a40d8ad3351edf83a0f8e2f6345b1513ee2 04:06:45 $ docker rm -f 648874d59a72f088a38007f7b2e65a40d8ad3351edf83a0f8e2f6345b1513ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121032 in /w/workspace/gexfoundry_device-sdk-go_PR-1265 [Pipeline] { [Pipeline] ws 04:07:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:04 The recommended git tool is: git 04:07:09 using credential edgex-jenkins-ssh 04:07:09 Cloning the remote Git repository 04:07:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:07:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:07:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:10 > git --version # timeout=10 04:07:10 > git --version # 'git version 2.25.1' 04:07:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:10 Verifying host key using known hosts file 04:07:10 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:07:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:13 Merging remotes/origin/main commit c9819f1195e0e6250bc0958cba43b0a168ce6321 into PR head commit 206823ae68d8fb2ee3979ae228d704166d891efc 04:07:14 Merge succeeded, producing 206823ae68d8fb2ee3979ae228d704166d891efc 04:07:14 Checking out Revision 206823ae68d8fb2ee3979ae228d704166d891efc (PR-1265) 04:07:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:13 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:13 Verifying host key using known hosts file 04:07:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:07:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1265/head:refs/remotes/origin/PR-1265 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:13 > git config core.sparsecheckout # timeout=10 04:07:13 > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 04:07:14 > git remote # timeout=10 04:07:14 > git config --get remote.origin.url # timeout=10 04:07:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:14 Verifying host key using known hosts file 04:07:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:07:14 > git merge c9819f1195e0e6250bc0958cba43b0a168ce6321 # timeout=10 04:07:14 > git rev-parse HEAD^{commit} # timeout=10 04:07:14 > git config core.sparsecheckout # timeout=10 04:07:14 > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 04:07:14 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" 04:07:14 > git --version # timeout=10 04:07:14 > git --version # 'git version 2.25.1' 04:07:14 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:15 Dload Upload Total Spent Left Speed 04:07:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 04:07:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:16 + sudo tee /etc/docker/daemon.new 04:07:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:16 { 04:07:16 "registry-mirrors": [ 04:07:16 "https://nexus3.edgexfoundry.org:10001" 04:07:16 ], 04:07:16 "bip": "10.250.0.254/24", 04:07:16 "hosts": [ 04:07:16 "tcp://0.0.0.0:5555", 04:07:16 "unix:///var/run/docker.sock" 04:07:16 ], 04:07:16 "mtu": 1458, 04:07:16 "selinux-enabled": true, 04:07:16 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:16 } [Pipeline] sh 04:07:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:35 provisioning config files... 04:07:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12942013604255317855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:36 ---> docker-login.sh 04:07:36 nexus3.edgexfoundry.org:10001 04:07:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:36 Configure a credential helper to remove this warning. See 04:07:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:36 04:07:36 Login Succeeded 04:07:36 nexus3.edgexfoundry.org:10002 04:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:37 Configure a credential helper to remove this warning. See 04:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:37 04:07:37 Login Succeeded 04:07:37 nexus3.edgexfoundry.org:10003 04:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:37 Configure a credential helper to remove this warning. See 04:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:37 04:07:37 Login Succeeded 04:07:37 nexus3.edgexfoundry.org:10004 04:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:38 Configure a credential helper to remove this warning. See 04:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:38 04:07:38 Login Succeeded 04:07:38 docker.io 04:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:38 Configure a credential helper to remove this warning. See 04:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:38 04:07:38 Login Succeeded 04:07:38 ---> docker-login.sh ends [Pipeline] } 04:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:39 ========================================================= 04:07:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:07:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:39 + 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 . 04:07:40 Sending build context to Docker daemon 5.598MB 04:07:40 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:07:40 Step 2/10 : FROM ${BASE} AS builder 04:07:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:40 9b18e9b68314: Pulling fs layer 04:07:40 35d82f9e3411: Pulling fs layer 04:07:40 e16973657156: Pulling fs layer 04:07:40 fc693d55d65f: Pulling fs layer 04:07:40 7e9fc2657dce: Pulling fs layer 04:07:40 dda99020689f: Pulling fs layer 04:07:40 db1c61fa0a46: Pulling fs layer 04:07:40 891c053d2c06: Pulling fs layer 04:07:40 fc693d55d65f: Waiting 04:07:40 7e9fc2657dce: Waiting 04:07:40 dda99020689f: Waiting 04:07:40 db1c61fa0a46: Waiting 04:07:40 891c053d2c06: Waiting 04:07:40 e16973657156: Verifying Checksum 04:07:40 e16973657156: Download complete 04:07:40 35d82f9e3411: Download complete 04:07:40 7e9fc2657dce: Verifying Checksum 04:07:40 7e9fc2657dce: Download complete 04:07:40 dda99020689f: Download complete 04:07:40 9b18e9b68314: Verifying Checksum 04:07:40 9b18e9b68314: Download complete 04:07:41 9b18e9b68314: Pull complete 04:07:41 891c053d2c06: Verifying Checksum 04:07:41 891c053d2c06: Download complete 04:07:42 35d82f9e3411: Pull complete 04:07:42 e16973657156: Pull complete 04:07:43 db1c61fa0a46: Verifying Checksum 04:07:43 db1c61fa0a46: Download complete 04:07:43 fc693d55d65f: Verifying Checksum 04:07:43 fc693d55d65f: Download complete 04:07:56 fc693d55d65f: Pull complete 04:07:56 7e9fc2657dce: Pull complete 04:07:56 dda99020689f: Pull complete 04:08:01 db1c61fa0a46: Pull complete 04:08:04 891c053d2c06: Pull complete 04:08:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:08:04 ---> f96f9c87975a 04:08:04 Step 3/10 : ARG MAKE=make build 04:08:06 ---> Running in 5a27e378eefa 04:08:06 Removing intermediate container 5a27e378eefa 04:08:06 ---> d006f875f2d7 04:08:06 Step 4/10 : WORKDIR /device-sdk-go 04:08:06 ---> Running in aefc49a900f6 04:08:07 Removing intermediate container aefc49a900f6 04:08:07 ---> b2bbd8597fb6 04:08:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:07 ---> Running in 721d09f3ae47 04:08:07 Removing intermediate container 721d09f3ae47 04:08:07 ---> ec26630e7522 04:08:07 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:07 ---> Running in 78f14bd587e7 04:08:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:08:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:08:10 OK: 221 MiB in 51 packages 04:08:11 Removing intermediate container 78f14bd587e7 04:08:11 ---> cb7c402a1e87 04:08:11 Step 7/10 : COPY go.mod vendor* ./ 04:08:11 ---> 1193a9fd070d 04:08:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:11 ---> Running in 9b0922a0bbe0 04:09:08 Removing intermediate container 9b0922a0bbe0 04:09:08 ---> 7e126b226f5d 04:09:08 Step 9/10 : COPY . . 04:09:08 ---> 7115b1d44d18 04:09:08 Step 10/10 : RUN ${MAKE} 04:09:08 ---> Running in 83ce056eaa9d 04:09:09 noop 04:09:10 Removing intermediate container 83ce056eaa9d 04:09:10 ---> 3c4575f25cf0 04:09:10 Successfully built 3c4575f25cf0 04:09:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:10 + docker inspect -f . ci-base-image-arm64 04:09:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:10 prd-ubuntu20.04-docker-arm64-4c-16g-121032 does not seem to be running inside a container 04:09:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:09:12 $ docker top a5cd640db38bff014137f05930bc8ba66f7fb3bf30afe80f7a0a820ecad08e55 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:13 + go version 04:09:13 go version go1.18.7 linux/arm64 [Pipeline] } 04:09:13 $ docker stop --time=1 a5cd640db38bff014137f05930bc8ba66f7fb3bf30afe80f7a0a820ecad08e55 04:09:14 $ docker rm -f a5cd640db38bff014137f05930bc8ba66f7fb3bf30afe80f7a0a820ecad08e55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:15 + docker inspect -f . ci-base-image-arm64 04:09:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:15 prd-ubuntu20.04-docker-arm64-4c-16g-121032 does not seem to be running inside a container 04:09:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:09:17 $ docker top ad90556b05125c68d0a62423901fb6a2382a608d6a737dd34a170b3135fac853 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:18 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:09:18 + make test 04:09:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:09:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:12:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:12:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.707s coverage: 27.6% of statements 04:12:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.675s coverage: 78.9% of statements 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:12:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.470s coverage: 73.1% of statements 04:12:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:12:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:12:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.592s coverage: 54.4% of statements 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:12:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.486s coverage: 65.1% of statements 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:12:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.901s coverage: 89.2% of statements 04:12:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:12:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.546s coverage: 4.7% of statements 04:12:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:12:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:38 GO111MODULE=on go vet ./... 04:14:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:29 ./bin/test-attribution-txt.sh 04:14:29 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:14:29 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:14:29 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:14:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:14:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:14:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:14:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:29 $ docker stop --time=1 ad90556b05125c68d0a62423901fb6a2382a608d6a737dd34a170b3135fac853 04:14:31 $ docker rm -f ad90556b05125c68d0a62423901fb6a2382a608d6a737dd34a170b3135fac853 [Pipeline] // withDockerContainer [Pipeline] sh 04:14:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:33 Warning: overwriting stash ‘coverage-report’ 04:14:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:34 + ls -al . 04:14:34 total 276 04:14:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 04:09 . 04:14:34 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:07 .. 04:14:34 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:07 .dockerignore 04:14:34 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:07 .git 04:14:34 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:07 .github 04:14:34 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:07 .gitignore 04:14:34 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:07 .golangci.yml 04:14:34 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:07 CHANGELOG.md 04:14:34 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:07 GOVERNANCE.md 04:14:34 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:07 Jenkinsfile 04:14:34 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:07 LICENSE 04:14:34 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:07 Makefile 04:14:34 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:07 OWNERS.md 04:14:34 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:07 README.md 04:14:34 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:04 VERSION 04:14:34 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:07 bin 04:14:34 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:12 coverage.out 04:14:34 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:07 example 04:14:34 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:07 go.mod 04:14:34 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:07 go.sum 04:14:34 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:07 internal 04:14:34 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:07 openapi 04:14:34 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:07 pkg 04:14:34 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:07 snap 04:14:34 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:35 + 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=206823ae68d8fb2ee3979ae228d704166d891efc --label arch=arm64 --label version=0.0.0 . 04:14:35 Sending build context to Docker daemon 5.701MB 04:14:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:14:35 Step 2/23 : FROM ${BASE} AS builder 04:14:35 ---> 3c4575f25cf0 04:14:35 Step 3/23 : ARG MAKE=make build 04:14:35 ---> Running in 563a4ec71501 04:14:36 Removing intermediate container 563a4ec71501 04:14:36 ---> ba0656e40c58 04:14:36 Step 4/23 : WORKDIR /device-sdk-go 04:14:36 ---> Running in 4f3a49e6aef9 04:14:36 Removing intermediate container 4f3a49e6aef9 04:14:36 ---> 543de3139fa4 04:14:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:14:36 ---> Running in 42d53e76e0c2 04:14:36 Removing intermediate container 42d53e76e0c2 04:14:36 ---> df8f03819857 04:14:36 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:37 ---> Running in 9c5602b1887a 04:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:14:39 OK: 221 MiB in 51 packages 04:14:40 Removing intermediate container 9c5602b1887a 04:14:40 ---> 8b066240acfb 04:14:40 Step 7/23 : COPY go.mod vendor* ./ 04:14:41 ---> ccf6aa0318de 04:14:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:41 ---> Running in 596380fe6083 04:14:43 Removing intermediate container 596380fe6083 04:14:43 ---> 726f19442a75 04:14:43 Step 9/23 : COPY . . 04:14:45 ---> 2ab10df24188 04:14:45 Step 10/23 : RUN ${MAKE} 04:14:45 ---> Running in 71193bb8de33 04:14:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:17:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:17:11 Removing intermediate container 71193bb8de33 04:17:11 ---> 2bd33c43dcb7 04:17:11 Step 11/23 : FROM alpine:3.16 04:17:11 3.16: Pulling from library/alpine 04:17:11 6875df1f5354: Pulling fs layer 04:17:11 6875df1f5354: Verifying Checksum 04:17:11 6875df1f5354: Download complete 04:17:12 6875df1f5354: Pull complete 04:17:12 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:17:12 Status: Downloaded newer image for alpine:3.16 04:17:12 ---> 2b4661558fb8 04:17:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:12 ---> Running in 98da7f151d8d 04:17:12 Removing intermediate container 98da7f151d8d 04:17:12 ---> 39ba3d7996de 04:17:12 Step 13/23 : RUN apk add --update --no-cache zeromq 04:17:12 ---> Running in 8a247bc19682 04:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:15 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:17:15 (2/5) Installing libsodium (1.0.18-r0) 04:17:15 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:17:15 (4/5) Installing libzmq (4.3.4-r0) 04:17:15 (5/5) Installing zeromq (4.3.4-r0) 04:17:15 Executing busybox-1.35.0-r17.trigger 04:17:15 OK: 8 MiB in 19 packages 04:17:16 Removing intermediate container 8a247bc19682 04:17:16 ---> f7b0b13edfc6 04:17:16 Step 14/23 : WORKDIR / 04:17:16 ---> Running in 71eacce06949 04:17:16 Removing intermediate container 71eacce06949 04:17:16 ---> 83470d49125d 04:17:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:17 ---> 18caac5ae617 04:17:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:18 ---> dbab324549ac 04:17:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:19 ---> 577cbe6b1e77 04:17:19 Step 18/23 : EXPOSE 59999 04:17:19 ---> Running in ace33eb3da04 04:17:19 Removing intermediate container ace33eb3da04 04:17:19 ---> c1eb6db11bd5 04:17:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:17:19 ---> Running in a50e45f6eff7 04:17:19 Removing intermediate container a50e45f6eff7 04:17:19 ---> 0b5a92cbb94f 04:17:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:20 ---> Running in 58bed61b6387 04:17:20 Removing intermediate container 58bed61b6387 04:17:20 ---> 29e3c11c66ec 04:17:20 Step 21/23 : LABEL arch=arm64 04:17:20 ---> Running in 48fe3cfe1d1b 04:17:20 Removing intermediate container 48fe3cfe1d1b 04:17:20 ---> cf3ce22f8297 04:17:20 Step 22/23 : LABEL git_sha=206823ae68d8fb2ee3979ae228d704166d891efc 04:17:20 ---> Running in 41d32b3c5209 04:17:20 Removing intermediate container 41d32b3c5209 04:17:20 ---> 98b880d807fd 04:17:20 Step 23/23 : LABEL version=0.0.0 04:17:21 ---> Running in 4b6b518548f3 04:17:21 Removing intermediate container 4b6b518548f3 04:17:21 ---> 5522380d0e9e 04:17:21 [Warning] One or more build-args [ARCH] were not consumed 04:17:21 Successfully built 5522380d0e9e 04:17:21 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 04:17:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:24 04:17:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:25 arm64: Pulling from edgex-lftools-log-publisher 04:17:25 8998bd30e6a1: Pulling fs layer 04:17:25 04944245beec: Pulling fs layer 04:17:25 699f458cf7ca: Pulling fs layer 04:17:25 765212b225bb: Pulling fs layer 04:17:25 f23df028b6ca: Pulling fs layer 04:17:25 d65c8cfc05b1: Pulling fs layer 04:17:25 2437ff75d9bd: Pulling fs layer 04:17:25 2437ff75d9bd: Waiting 04:17:25 d65c8cfc05b1: Waiting 04:17:25 765212b225bb: Waiting 04:17:26 04944245beec: Verifying Checksum 04:17:26 04944245beec: Download complete 04:17:26 765212b225bb: Verifying Checksum 04:17:26 765212b225bb: Download complete 04:17:26 f23df028b6ca: Verifying Checksum 04:17:26 f23df028b6ca: Download complete 04:17:26 d65c8cfc05b1: Verifying Checksum 04:17:26 d65c8cfc05b1: Download complete 04:17:26 699f458cf7ca: Verifying Checksum 04:17:26 699f458cf7ca: Download complete 04:17:26 8998bd30e6a1: Verifying Checksum 04:17:26 8998bd30e6a1: Download complete 04:17:29 2437ff75d9bd: Verifying Checksum 04:17:29 2437ff75d9bd: Download complete 04:17:30 8998bd30e6a1: Pull complete 04:17:31 04944245beec: Pull complete 04:17:32 699f458cf7ca: Pull complete 04:17:32 765212b225bb: Pull complete 04:17:33 f23df028b6ca: Pull complete 04:17:33 d65c8cfc05b1: Pull complete 04:17:48 2437ff75d9bd: Pull complete 04:17:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:48 prd-ubuntu20.04-docker-arm64-4c-16g-121032 does not seem to be running inside a container 04:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:17:51 $ docker top 2cdfe221e8313f1be2879b3b883b2fa6f91cbe3377631fda8d0dc1ddc375b589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:52 ---> job-cost.sh 04:17:52 lf-activate-venv: SKIPPING 04:17:52 INFO: No Stack... 04:17:53 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:53 INFO: Archiving Costs [Pipeline] sh 04:17:54 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:17:54 + cut -d, -f6 [Pipeline] lock 04:17:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] 04:17:54 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] did not exist. Created. 04:17:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:54 /w/workspace/device-sdk-go/1@tmp/durable-a5342462/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:55 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:55 Warning: overwriting stash ‘stack-cost’ 04:17:55 Stashed 1 file(s) [Pipeline] } 04:17:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:55 $ docker stop --time=1 2cdfe221e8313f1be2879b3b883b2fa6f91cbe3377631fda8d0dc1ddc375b589 04:17:57 $ docker rm -f 2cdfe221e8313f1be2879b3b883b2fa6f91cbe3377631fda8d0dc1ddc375b589 [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 04:17:58 provisioning config files... 04:17:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config7028675047295696261tmp [Pipeline] { [Pipeline] sh 04:17:58 + set +x 04:17:58 + + bash -s -- 04:17:58 curl -s https://codecov.io/bash 04:17:58 04:17:58 _____ _ 04:17:58 / ____| | | 04:17:58 | | ___ __| | ___ ___ _____ __ 04:17:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:58 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:58 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:58 Bash-1.0.6 04:17:58 04:17:58 04:17:58 ==> git version 2.25.1 found 04:17:58 ==> 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 04:17:58 Release-Date: 2020-01-08 04:17:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:17:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:58 ==> Jenkins CI detected. 04:17:58 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1265 04:17:58 project root: . 04:17:58 --> token set from env 04:17:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:58 ==> Running gcov in . (disable via -X gcov) 04:17:58 ==> Python coveragepy not found 04:17:58 ==> Searching for coverage reports in: 04:17:58 + . 04:17:58 -> Found 1 reports 04:17:58 ==> Detecting git/mercurial file structure 04:17:58 ==> Reading reports 04:17:58 + ./coverage.out bytes=101759 04:17:58 ==> Appending adjustments 04:17:58 https://docs.codecov.io/docs/fixing-reports 04:17:58 + Found adjustments 04:17:58 ==> Gzipping contents 04:17:58 16K /tmp/codecov.LkwQiz.gz 04:17:58 ==> Uploading reports 04:17:58 url: https://codecov.io 04:17:58 query: branch=PR-1265&commit=206823ae68d8fb2ee3979ae228d704166d891efc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1265%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1265&job=&cmd_args= 04:17:58 -> Pinging Codecov 04:17:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1265&commit=206823ae68d8fb2ee3979ae228d704166d891efc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1265%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1265&job=&cmd_args= 04:17:59 -> Uploading to 04:17:59 https://storage.googleapis.com/codecov/v4/raw/2022-12-13/7E55EF52A471D76F132DFD9A03CDDE97/206823ae68d8fb2ee3979ae228d704166d891efc/6680277d-1dbf-4af7-88f4-033bcb1b5d72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221213T041759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f0af7c52f560b11fe8ce58cad6c9b350c93e7bba075cbb181a78b9ba50a0f56 04:17:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:59 Dload Upload Total Spent Left Speed 04:17:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14693 0 0 100 14693 0 72379 --:--:-- --:--:-- --:--:-- 72379 100 14693 0 0 100 14693 0 70639 --:--:-- --:--:-- --:--:-- 70301 04:17:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] } 04:17:59 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 04:18:01 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives ] 04:18:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives 04:18:01 total 16 04:18:01 drwxr-xr-x 3 root root 4096 Dec 13 04:06 . 04:18:01 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:06 .. 04:18:01 drwxr-xr-x 2 root root 4096 Dec 13 04:06 cost 04:18:01 -rw-r--r-- 1 root root 86 Dec 13 04:06 cost.csv 04:18:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives 04:18:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives 04:18:01 total 16 04:18:01 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:06 . 04:18:01 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:06 .. 04:18:01 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 04:06 cost 04:18:01 -rw-r--r-- 1 jenkins jenkins 86 Dec 13 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:18:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:02 ---> package-listing.sh 04:18:02 ++ facter osfamily 04:18:02 ++ tr '[:upper:]' '[:lower:]' 04:18:03 + OS_FAMILY=debian 04:18:03 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1265 04:18:03 + START_PACKAGES=/tmp/packages_start.txt 04:18:03 + END_PACKAGES=/tmp/packages_end.txt 04:18:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:03 + PACKAGES=/tmp/packages_start.txt 04:18:03 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1265 ']' 04:18:03 + PACKAGES=/tmp/packages_end.txt 04:18:03 + case "${OS_FAMILY}" in 04:18:03 + dpkg -l 04:18:03 + grep '^ii' 04:18:03 + '[' -f /tmp/packages_start.txt ']' 04:18:03 + '[' -f /tmp/packages_end.txt ']' 04:18:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:03 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1265 ']' 04:18:03 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/ 04:18:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/ [Pipeline] echo 04:18:03 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-1265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:18:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:04 prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container 04:18:04 $ 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-1265/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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:18:04 $ docker top 515ef4c025daf5e835271abe8edbb70be0203b7ffef0a520d3df5aa87f57e2be -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:04 + touch /tmp/pre-build-complete [Pipeline] sh 04:18:05 + mkdir -p /var/log/sysstat [Pipeline] sh 04:18:05 + ls /var/log/sa-host 04:18:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:05 provisioning config files... 04:18:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config16981270936505309058tmp [Pipeline] { [Pipeline] echo 04:18:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:18:05 ---> create-netrc.sh [Pipeline] } 04:18:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:18:06 ---> python-tools-install.sh [Pipeline] echo 04:18:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:18:06 ---> sudo-logs.sh 04:18:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:18:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:18:07 ---> job-cost.sh 04:18:07 lf-activate-venv: SKIPPING 04:18:07 DEBUG: total: 0.2199999988079071 04:18:07 INFO: Retrieving Stack Cost... 04:18:07 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:07 INFO: Archiving Costs [Pipeline] echo 04:18:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:08 ---> logs-deploy.sh 04:18:08 lf-activate-venv: SKIPPING 04:18:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1265/1 04:18:08 INFO: archiving workspace using pattern(s): 04:18:09 Archives upload complete. 04:18:09 INFO: archiving logs to Nexus 04:18:10 ---> uname -a: 04:18:10 Linux prd-ubuntu20-04-docker-8c-8g-121028 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:18:10 04:18:10 04:18:10 ---> lscpu: 04:18:10 Architecture: x86_64 04:18:10 CPU op-mode(s): 32-bit, 64-bit 04:18:10 Byte Order: Little Endian 04:18:10 Address sizes: 40 bits physical, 48 bits virtual 04:18:10 CPU(s): 8 04:18:10 On-line CPU(s) list: 0-7 04:18:10 Thread(s) per core: 1 04:18:10 Core(s) per socket: 1 04:18:10 Socket(s): 8 04:18:10 NUMA node(s): 1 04:18:10 Vendor ID: AuthenticAMD 04:18:10 CPU family: 23 04:18:10 Model: 49 04:18:10 Model name: AMD EPYC-Rome Processor 04:18:10 Stepping: 0 04:18:10 CPU MHz: 2799.998 04:18:10 BogoMIPS: 5599.99 04:18:10 Virtualization: AMD-V 04:18:10 Hypervisor vendor: KVM 04:18:10 Virtualization type: full 04:18:10 L1d cache: 256 KiB 04:18:10 L1i cache: 256 KiB 04:18:10 L2 cache: 4 MiB 04:18:10 L3 cache: 128 MiB 04:18:10 NUMA node0 CPU(s): 0-7 04:18:10 Vulnerability Itlb multihit: Not affected 04:18:10 Vulnerability L1tf: Not affected 04:18:10 Vulnerability Mds: Not affected 04:18:10 Vulnerability Meltdown: Not affected 04:18:10 Vulnerability Mmio stale data: Not affected 04:18:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:18:10 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:18:10 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:18:10 Vulnerability Srbds: Not affected 04:18:10 Vulnerability Tsx async abort: Not affected 04:18:10 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 04:18:10 04:18:10 04:18:10 ---> nproc: 04:18:10 8 04:18:10 04:18:10 04:18:10 ---> df -h: 04:18:10 Filesystem Size Used Avail Use% Mounted on 04:18:10 overlay 155G 12G 144G 8% / 04:18:10 tmpfs 64M 0 64M 0% /dev 04:18:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:18:10 shm 64M 0 64M 0% /dev/shm 04:18:10 /dev/vda1 155G 12G 144G 8% /facter-os 04:18:10 04:18:10