Pull request #1245 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d526eb21c7de44395af172158e1177c0ee6593d8+7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 (8993b434d04a8cc369fa88da88f054643a305d87) 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-ssh5083851353929165890.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh14039965428137666189.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1245/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-1245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17964369286389416823.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-1245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9169153094617460115.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh17805785557744230260.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-1245/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-1245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6637051915240010860.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9157 in /w/workspace/gexfoundry_device-sdk-go_PR-1245 [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-1245 # 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/1245/head:refs/remotes/origin/PR-1245 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 into PR head commit d526eb21c7de44395af172158e1177c0ee6593d8 Merge succeeded, producing d526eb21c7de44395af172158e1177c0ee6593d8 Checking out Revision d526eb21c7de44395af172158e1177c0ee6593d8 (PR-1245) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:08:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d526eb21c7de44395af172158e1177c0ee6593d8 # 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 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d526eb21c7de44395af172158e1177c0ee6593d8 # timeout=10 [Pipeline] withCredentials 04:08:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:09 ========================================================= 04:08:09 EdgeX Global Pipelines Version Info 04:08:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:08:09 ------------------- 04:08:09 stable info: 04:08:09 ------------------- 04:08:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:08:09 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:08:09 Message: update stable to v1.0.243 04:08:10 ------------------- 04:08:10 experimental info: 04:08:10 ------------------- 04:08:10 Commited By: **** collab-it+edgex@linuxfoundation.org 04:08:10 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:08:10 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:08:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:08:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:08:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:08:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:08:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1245 [Pipeline] echo 04:08:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1245 [Pipeline] echo 04:08:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1245 [Pipeline] echo 04:08:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d526eb21c7de44395af172158e1177c0ee6593d8 [Pipeline] echo 04:08:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d526eb2 [Pipeline] echo 04:08:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:12 provisioning config files... 04:08:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/config12069854181980876620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:12 ---> docker-login.sh 04:08:12 nexus3.edgexfoundry.org:10001 04:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:12 Configure a credential helper to remove this warning. See 04:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:12 04:08:12 Login Succeeded 04:08:12 nexus3.edgexfoundry.org:10002 04:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:12 Configure a credential helper to remove this warning. See 04:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:12 04:08:12 Login Succeeded 04:08:12 nexus3.edgexfoundry.org:10003 04:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:13 Configure a credential helper to remove this warning. See 04:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:13 04:08:13 Login Succeeded 04:08:13 nexus3.edgexfoundry.org:10004 04:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:13 Configure a credential helper to remove this warning. See 04:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:13 04:08:13 Login Succeeded 04:08:13 docker.io 04:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:13 Configure a credential helper to remove this warning. See 04:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:13 04:08:13 Login Succeeded 04:08:13 ---> docker-login.sh ends [Pipeline] } 04:08:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:08:14 + git rev-list -1 --merges d526eb21c7de44395af172158e1177c0ee6593d8~1..d526eb21c7de44395af172158e1177c0ee6593d8 [Pipeline] echo 04:08:14 -----------> git rev-list -1 --merges d526eb21c7de44395af172158e1177c0ee6593d8~1..d526eb21c7de44395af172158e1177c0ee6593d8 d526eb21c7de44395af172158e1177c0ee6593d8 [false] [Pipeline] sh 04:08:14 + git log --format=format:%s -1 d526eb21c7de44395af172158e1177c0ee6593d8 [Pipeline] echo 04:08:14 ========================================================= 04:08:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:08:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:15 + git log --format=format:%s -1 d526eb21c7de44395af172158e1177c0ee6593d8 [Pipeline] echo 04:08:15 [semverPrep] GIT_COMMIT: d526eb21c7de44395af172158e1177c0ee6593d8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 04:08:15 [semverPrep] This is not a build commit. [Pipeline] sh 04:08:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:15 + grep -v github /etc/ssh/ssh_known_hosts 04:08:15 + [ -e /tmp/ssh_known_hosts ] 04:08:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:08:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:08:15 + sudo tee -a /etc/ssh/ssh_known_hosts 04:08:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:16 04:08:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:16 0.1.4: Pulling from edgex-devops/py-git-semver 04:08:16 b85a868b505f: Pulling fs layer 04:08:16 e2be974225ed: Pulling fs layer 04:08:16 339a4e72a1f5: Pulling fs layer 04:08:16 988bab9f4d93: Pulling fs layer 04:08:16 1469e6f7b9e6: Pulling fs layer 04:08:16 eaf3925da568: Pulling fs layer 04:08:16 bab4dde63d76: Pulling fs layer 04:08:16 bde34c3a00c8: Pulling fs layer 04:08:16 b352a97aabf1: Pulling fs layer 04:08:16 4872d77fe225: Pulling fs layer 04:08:16 5851b861e8e6: Pulling fs layer 04:08:16 1469e6f7b9e6: Waiting 04:08:16 bab4dde63d76: Waiting 04:08:16 eaf3925da568: Waiting 04:08:16 4872d77fe225: Waiting 04:08:16 b352a97aabf1: Waiting 04:08:16 988bab9f4d93: Waiting 04:08:16 bde34c3a00c8: Waiting 04:08:16 e2be974225ed: Verifying Checksum 04:08:16 e2be974225ed: Download complete 04:08:16 988bab9f4d93: Verifying Checksum 04:08:16 988bab9f4d93: Download complete 04:08:16 1469e6f7b9e6: Verifying Checksum 04:08:16 1469e6f7b9e6: Download complete 04:08:16 339a4e72a1f5: Verifying Checksum 04:08:16 339a4e72a1f5: Download complete 04:08:16 b85a868b505f: Verifying Checksum 04:08:16 b85a868b505f: Download complete 04:08:16 bde34c3a00c8: Verifying Checksum 04:08:16 bde34c3a00c8: Download complete 04:08:16 b352a97aabf1: Verifying Checksum 04:08:16 b352a97aabf1: Download complete 04:08:16 4872d77fe225: Verifying Checksum 04:08:16 4872d77fe225: Download complete 04:08:16 5851b861e8e6: Verifying Checksum 04:08:16 5851b861e8e6: Download complete 04:08:16 eaf3925da568: Verifying Checksum 04:08:16 eaf3925da568: Download complete 04:08:16 bab4dde63d76: Verifying Checksum 04:08:16 bab4dde63d76: Download complete 04:08:17 b85a868b505f: Pull complete 04:08:18 e2be974225ed: Pull complete 04:08:18 339a4e72a1f5: Pull complete 04:08:18 988bab9f4d93: Pull complete 04:08:19 1469e6f7b9e6: Pull complete 04:08:19 eaf3925da568: Pull complete 04:08:21 bab4dde63d76: Pull complete 04:08:21 bde34c3a00c8: Pull complete 04:08:21 b352a97aabf1: Pull complete 04:08:21 4872d77fe225: Pull complete 04:08:21 5851b861e8e6: Pull complete 04:08:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:08:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:21 prd-ubuntu20.04-docker-8c-8g-9157 does not seem to be running inside a container 04:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1245 -v /w/workspace/gexfoundry_device-sdk-go_PR-1245:/w/workspace/gexfoundry_device-sdk-go_PR-1245:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1245@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:08:23 $ docker top 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 -eo pid,comm 04:08:23 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:08:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:23 [ssh-agent] Looking for ssh-agent implementation... 04:08:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:23 $ docker exec 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 ssh-agent 04:08:23 SSH_AUTH_SOCK=/tmp/ssh-gvtAtdHqBXm9/agent.32 04:08:23 SSH_AGENT_PID=38 04:08:23 Running ssh-add (command line suppressed) 04:08:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/private_key_3451589257319262251.key (/w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/private_key_3451589257319262251.key) 04:08:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:23 + git tag --points-at HEAD [Pipeline] } 04:08:24 $ docker exec --env ******** --env ******** 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 ssh-agent -k 04:08:24 unset SSH_AUTH_SOCK; 04:08:24 unset SSH_AGENT_PID; 04:08:24 echo Agent pid 38 killed; 04:08:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:08:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:24 [ssh-agent] Looking for ssh-agent implementation... 04:08:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:24 $ docker exec 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 ssh-agent 04:08:24 SSH_AUTH_SOCK=/tmp/ssh-tY0cmhoYQxVV/agent.70 04:08:24 SSH_AGENT_PID=76 04:08:24 Running ssh-add (command line suppressed) 04:08:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/private_key_10885808970025391129.key (/w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/private_key_10885808970025391129.key) 04:08:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:24 + git semver init 04:08:25 2022-10-24 04:08:25,172 [run_init] DEBUG init version:0.0.0 force:False 04:08:25 2022-10-24 04:08:25,173 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver 04:08:25 2022-10-24 04:08:25,173 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver 04:08:25 2022-10-24 04:08:25,173 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1245, universal_newlines=False, shell=None, istream=None) 04:08:26 2022-10-24 04:08:26,166 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1245/.git/info/exclude 04:08:26 2022-10-24 04:08:26,167 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver/PR-1245 with force:False 04:08:26 2022-10-24 04:08:26,167 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver/PR-1245 04:08:26 2022-10-24 04:08:26,171 [execute] INFO git cat-file --batch-check 04:08:26 2022-10-24 04:08:26,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver, universal_newlines=False, shell=None, istream=) 04:08:26 2022-10-24 04:08:26,179 [execute] INFO git cat-file --batch 04:08:26 2022-10-24 04:08:26,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver, universal_newlines=False, shell=None, istream=) 04:08:26 2022-10-24 04:08:26,185 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1245/.semver/PR-1245 04:08:26 0.0.0 [Pipeline] } 04:08:26 $ docker exec --env ******** --env ******** 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 ssh-agent -k 04:08:26 unset SSH_AUTH_SOCK; 04:08:26 unset SSH_AGENT_PID; 04:08:26 echo Agent pid 76 killed; 04:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:27 + git semver [Pipeline] } 04:08:27 $ docker stop --time=1 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 04:08:28 $ docker rm -f 15104d35656f22595b4376f9b3f355bea132804abddc287e0acbc52502224138 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:08:29 Stashed 1 file(s) [Pipeline] echo 04:08:29 [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:08:30 provisioning config files... 04:08:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/config18350124896216627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:30 ---> docker-login.sh 04:08:30 nexus3.edgexfoundry.org:10001 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:30 Configure a credential helper to remove this warning. See 04:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:30 04:08:30 Login Succeeded 04:08:30 nexus3.edgexfoundry.org:10002 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:30 Configure a credential helper to remove this warning. See 04:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:30 04:08:30 Login Succeeded 04:08:30 nexus3.edgexfoundry.org:10003 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:30 Configure a credential helper to remove this warning. See 04:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:30 04:08:30 Login Succeeded 04:08:30 nexus3.edgexfoundry.org:10004 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:30 Configure a credential helper to remove this warning. See 04:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:30 04:08:30 Login Succeeded 04:08:30 docker.io 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:31 Configure a credential helper to remove this warning. See 04:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:31 04:08:31 Login Succeeded 04:08:31 ---> docker-login.sh ends [Pipeline] } 04:08:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:31 ========================================================= 04:08:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:08:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:31 + 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:08:31 Sending build context to Docker daemon 10.01MB 04:08:31 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:08:31 Step 2/11 : FROM ${BASE} AS builder 04:08:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:31 213ec9aee27d: Pulling fs layer 04:08:31 4583459ba037: Pulling fs layer 04:08:31 93c1e223e6f2: Pulling fs layer 04:08:31 53926ce57604: Pulling fs layer 04:08:31 21b2b0c7a3f4: Pulling fs layer 04:08:31 30f14e443154: Pulling fs layer 04:08:31 801331c1e519: Pulling fs layer 04:08:31 99cc6dd402b0: Pulling fs layer 04:08:31 7d9ed39f4882: Pulling fs layer 04:08:31 53926ce57604: Waiting 04:08:31 21b2b0c7a3f4: Waiting 04:08:31 30f14e443154: Waiting 04:08:31 801331c1e519: Waiting 04:08:31 99cc6dd402b0: Waiting 04:08:31 7d9ed39f4882: Waiting 04:08:31 93c1e223e6f2: Verifying Checksum 04:08:31 93c1e223e6f2: Download complete 04:08:32 4583459ba037: Verifying Checksum 04:08:32 4583459ba037: Download complete 04:08:32 21b2b0c7a3f4: Verifying Checksum 04:08:32 21b2b0c7a3f4: Download complete 04:08:32 30f14e443154: Download complete 04:08:32 213ec9aee27d: Verifying Checksum 04:08:32 213ec9aee27d: Download complete 04:08:32 801331c1e519: Verifying Checksum 04:08:32 801331c1e519: Download complete 04:08:32 213ec9aee27d: Pull complete 04:08:32 4583459ba037: Pull complete 04:08:32 93c1e223e6f2: Pull complete 04:08:32 7d9ed39f4882: Verifying Checksum 04:08:32 7d9ed39f4882: Download complete 04:08:33 99cc6dd402b0: Verifying Checksum 04:08:33 99cc6dd402b0: Download complete 04:08:33 53926ce57604: Verifying Checksum 04:08:33 53926ce57604: Download complete 04:08:37 53926ce57604: Pull complete 04:08:37 21b2b0c7a3f4: Pull complete 04:08:37 30f14e443154: Pull complete 04:08:37 801331c1e519: Pull complete 04:08:39 99cc6dd402b0: Pull complete 04:08:40 7d9ed39f4882: Pull complete 04:08:40 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:08:40 ---> 1dedd983c030 04:08:40 Step 3/11 : ARG MAKE=make build 04:08:42 ---> Running in 6e532a4172f3 04:08:42 Removing intermediate container 6e532a4172f3 04:08:42 ---> 15f2c6c249f7 04:08:42 Step 4/11 : WORKDIR /device-sdk-go 04:08:42 ---> Running in 07d64ec11c3d 04:08:42 Removing intermediate container 07d64ec11c3d 04:08:42 ---> 819169ddce85 04:08:42 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:42 ---> Running in 5c0c47404ed7 04:08:42 Removing intermediate container 5c0c47404ed7 04:08:42 ---> f682d53ec3c5 04:08:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:42 ---> Running in f920d5e2a345 04:08:43 Removing intermediate container f920d5e2a345 04:08:43 ---> 77cc75ad475e 04:08:43 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:43 ---> Running in 4de62cc69b88 04:08:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:44 OK: 211 MiB in 51 packages 04:08:44 Still waiting to schedule task 04:08:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:08:45 Removing intermediate container 4de62cc69b88 04:08:45 ---> 763c8a8eabdd 04:08:45 Step 8/11 : COPY go.mod vendor* ./ 04:08:45 ---> 4f33a2c69c4a 04:08:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:45 ---> Running in f5be10beeb39 04:09:06 Removing intermediate container f5be10beeb39 04:09:06 ---> b503364d38b8 04:09:06 Step 10/11 : COPY . . 04:09:06 ---> ccc43a2ed61b 04:09:06 Step 11/11 : RUN ${MAKE} 04:09:06 ---> Running in ee9705e7816a 04:09:06 noop 04:09:06 Removing intermediate container ee9705e7816a 04:09:06 ---> f7b0bb971d65 04:09:06 Successfully built f7b0bb971d65 04:09:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:07 + docker inspect -f . ci-base-image-x86_64 04:09:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:07 prd-ubuntu20.04-docker-8c-8g-9157 does not seem to be running inside a container 04:09:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1245 -v /w/workspace/gexfoundry_device-sdk-go_PR-1245:/w/workspace/gexfoundry_device-sdk-go_PR-1245:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1245@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:09:07 $ docker top 32a8d01e4a58d60939aac928cc02aa15de7e1032d6f3c550c51f360ec3c7eb3e -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:08 + go version 04:09:08 go version go1.18.7 linux/amd64 [Pipeline] } 04:09:08 $ docker stop --time=1 32a8d01e4a58d60939aac928cc02aa15de7e1032d6f3c550c51f360ec3c7eb3e 04:09:09 $ docker rm -f 32a8d01e4a58d60939aac928cc02aa15de7e1032d6f3c550c51f360ec3c7eb3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:10 + docker inspect -f . ci-base-image-x86_64 04:09:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:10 prd-ubuntu20.04-docker-8c-8g-9157 does not seem to be running inside a container 04:09:10 $ 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-1245 -v /w/workspace/gexfoundry_device-sdk-go_PR-1245:/w/workspace/gexfoundry_device-sdk-go_PR-1245:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1245@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:09:11 $ docker top 09e26804f7cd4b8f7f016c989e0e0b62c02fbcd588dd9b9d80f21e5e2443435a -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1245 [Pipeline] fileExists [Pipeline] sh 04:09:11 + make test 04:09:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:09:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:09:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 04:09:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:09:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 73.1% of statements 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:09:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:09:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 65.1% of statements 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:09:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:09:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements 04:09:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:09:52 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:09:52 GO111MODULE=on go vet ./... 04:09:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:55 ./bin/test-attribution-txt.sh 04:09:55 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:09:55 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:09:55 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:09:55 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:09:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:55 $ docker stop --time=1 09e26804f7cd4b8f7f016c989e0e0b62c02fbcd588dd9b9d80f21e5e2443435a 04:09:57 $ docker rm -f 09e26804f7cd4b8f7f016c989e0e0b62c02fbcd588dd9b9d80f21e5e2443435a [Pipeline] // withDockerContainer [Pipeline] sh 04:09:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:09:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:58 + ls -al . 04:09:58 total 280 04:09:58 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 04:09 . 04:09:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:08 .. 04:09:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:08 .dockerignore 04:09:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:09 .git 04:09:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:08 .github 04:09:58 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 04:08 .gitignore 04:09:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:08 .golangci.yml 04:09:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:08 .semver 04:09:58 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 04:08 CHANGELOG.md 04:09:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:08 GOVERNANCE.md 04:09:58 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 04:08 Jenkinsfile 04:09:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:08 LICENSE 04:09:58 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 04:08 Makefile 04:09:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:08 OWNERS.md 04:09:58 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 04:08 README.md 04:09:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:08 VERSION 04:09:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:08 bin 04:09:58 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 04:09 coverage.out 04:09:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:08 example 04:09:58 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 04:08 go.mod 04:09:58 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 24 04:08 go.sum 04:09:58 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 04:08 internal 04:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:08 openapi 04:09:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:08 pkg 04:09:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:08 snap 04:09:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:59 + 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=d526eb21c7de44395af172158e1177c0ee6593d8 --label arch=amd64 --label version=0.0.0 . 04:09:59 Sending build context to Docker daemon 10.11MB 04:09:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:09:59 Step 2/25 : FROM ${BASE} AS builder 04:09:59 ---> f7b0bb971d65 04:09:59 Step 3/25 : ARG MAKE=make build 04:09:59 ---> Running in 9cb0c2cc70de 04:09:59 Removing intermediate container 9cb0c2cc70de 04:09:59 ---> 83b173024e44 04:09:59 Step 4/25 : WORKDIR /device-sdk-go 04:09:59 ---> Running in 0cb322b4fc84 04:09:59 Removing intermediate container 0cb322b4fc84 04:09:59 ---> 74b0104885f6 04:09:59 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:59 ---> Running in df3ca32800ec 04:09:59 Removing intermediate container df3ca32800ec 04:09:59 ---> 1c5a3879f4a2 04:09:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:59 ---> Running in fe258c6a29d7 04:10:00 Removing intermediate container fe258c6a29d7 04:10:00 ---> 0e22b65fcbb2 04:10:00 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:10:00 ---> Running in 9a295cba98a6 04:10:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:10:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:10:01 OK: 211 MiB in 51 packages 04:10:02 Removing intermediate container 9a295cba98a6 04:10:02 ---> 4c71b2bd50ab 04:10:02 Step 8/25 : COPY go.mod vendor* ./ 04:10:02 ---> efb526f5b8a3 04:10:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:02 ---> Running in 2990c25444b1 04:10:02 Removing intermediate container 2990c25444b1 04:10:02 ---> 704cd2b559db 04:10:02 Step 10/25 : COPY . . 04:10:03 ---> 3caf2ec88fac 04:10:03 Step 11/25 : RUN ${MAKE} 04:10:03 ---> Running in bc9b3dafe29e 04:10:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:10:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:10:25 Removing intermediate container bc9b3dafe29e 04:10:25 ---> 4ebdf17a256b 04:10:25 Step 12/25 : FROM alpine:3.16 04:10:25 3.16: Pulling from library/alpine 04:10:25 213ec9aee27d: Already exists 04:10:26 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:10:26 Status: Downloaded newer image for alpine:3.16 04:10:26 ---> 9c6f07244728 04:10:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:10:26 ---> Running in 20f616125804 04:10:26 Removing intermediate container 20f616125804 04:10:26 ---> a1360df361f6 04:10:26 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:26 ---> Running in 6883e70682ac 04:10:27 Removing intermediate container 6883e70682ac 04:10:27 ---> d6cf80561a9c 04:10:27 Step 15/25 : RUN apk add --update --no-cache zeromq 04:10:27 ---> Running in d9d1075e0ce9 04:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:10:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:10:28 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:10:28 (2/5) Installing libsodium (1.0.18-r0) 04:10:28 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:10:28 (4/5) Installing libzmq (4.3.4-r0) 04:10:30 (5/5) Installing zeromq (4.3.4-r0) 04:10:30 Executing busybox-1.35.0-r17.trigger 04:10:30 OK: 8 MiB in 19 packages 04:10:30 Removing intermediate container d9d1075e0ce9 04:10:30 ---> 5ac69e911d7a 04:10:30 Step 16/25 : WORKDIR / 04:10:30 ---> Running in 44928630bdd8 04:10:30 Removing intermediate container 44928630bdd8 04:10:30 ---> 241801c36257 04:10:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:10:30 ---> afdecdc5f120 04:10:30 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:10:31 ---> 41f2c3117b80 04:10:31 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:10:31 ---> 8cfd9c80606a 04:10:31 Step 20/25 : EXPOSE 59999 04:10:31 ---> Running in 57a6e94912a1 04:10:31 Removing intermediate container 57a6e94912a1 04:10:31 ---> a289b4f46c67 04:10:31 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:10:31 ---> Running in caa85d232d87 04:10:32 Removing intermediate container caa85d232d87 04:10:32 ---> e7cd5e8c76ca 04:10:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:10:32 ---> Running in cf13516db431 04:10:32 Removing intermediate container cf13516db431 04:10:32 ---> 5198dba73a3f 04:10:32 Step 23/25 : LABEL arch=amd64 04:10:32 ---> Running in 5f4b43d578b0 04:10:32 Removing intermediate container 5f4b43d578b0 04:10:32 ---> b0eaef2aef5b 04:10:32 Step 24/25 : LABEL git_sha=d526eb21c7de44395af172158e1177c0ee6593d8 04:10:32 ---> Running in 1939d23e5262 04:10:32 Removing intermediate container 1939d23e5262 04:10:32 ---> 101c8f644b70 04:10:32 Step 25/25 : LABEL version=0.0.0 04:10:32 ---> Running in 38dc52f81ea8 04:10:32 Removing intermediate container 38dc52f81ea8 04:10:32 ---> 4346fe9aad74 04:10:32 [Warning] One or more build-args [ARCH] were not consumed 04:10:32 Successfully built 4346fe9aad74 04:10:32 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:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:33 04:10:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:33 latest: Pulling from edgex-lftools-log-publisher 04:10:33 5eb5b503b376: Pulling fs layer 04:10:33 5c69ac0246d0: Pulling fs layer 04:10:33 ec43610c2a17: Pulling fs layer 04:10:33 3a2ae6a8a46f: Pulling fs layer 04:10:33 33b1e0a273af: Pulling fs layer 04:10:33 5d3b04190fa2: Pulling fs layer 04:10:33 2f39f015ded8: Pulling fs layer 04:10:33 3a2ae6a8a46f: Waiting 04:10:33 33b1e0a273af: Waiting 04:10:33 2f39f015ded8: Waiting 04:10:33 5c69ac0246d0: Download complete 04:10:33 3a2ae6a8a46f: Download complete 04:10:34 33b1e0a273af: Verifying Checksum 04:10:34 33b1e0a273af: Download complete 04:10:34 5d3b04190fa2: Download complete 04:10:34 ec43610c2a17: Verifying Checksum 04:10:34 ec43610c2a17: Download complete 04:10:34 5eb5b503b376: Verifying Checksum 04:10:34 5eb5b503b376: Download complete 04:10:34 2f39f015ded8: Download complete 04:10:35 5eb5b503b376: Pull complete 04:10:35 5c69ac0246d0: Pull complete 04:10:36 ec43610c2a17: Pull complete 04:10:36 3a2ae6a8a46f: Pull complete 04:10:36 33b1e0a273af: Pull complete 04:10:36 5d3b04190fa2: Pull complete 04:10:41 2f39f015ded8: Pull complete 04:10:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:41 prd-ubuntu20.04-docker-8c-8g-9157 does not seem to be running inside a container 04:10:41 $ 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-1245 -v /w/workspace/gexfoundry_device-sdk-go_PR-1245:/w/workspace/gexfoundry_device-sdk-go_PR-1245:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1245@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:10:45 $ docker top f5a465d2d7a2468854aad768e56d7ec9e36dea88d86a757697d8b3ac9a032635 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:45 ---> job-cost.sh 04:10:45 lf-activate-venv: SKIPPING 04:10:45 INFO: No Stack... 04:10:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:10:46 INFO: Archiving Costs [Pipeline] sh 04:10:46 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives/cost.csv 04:10:46 + cut -d, -f6 [Pipeline] lock 04:10:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] 04:10:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] did not exist. Created. 04:10:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:46 + echo total: 0.2199999988079071 [Pipeline] stash 04:10:46 Stashed 1 file(s) [Pipeline] } 04:10:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:10:47 $ docker stop --time=1 f5a465d2d7a2468854aad768e56d7ec9e36dea88d86a757697d8b3ac9a032635 04:10:48 $ docker rm -f f5a465d2d7a2468854aad768e56d7ec9e36dea88d86a757697d8b3ac9a032635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:11:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9174 in /w/workspace/gexfoundry_device-sdk-go_PR-1245 [Pipeline] { [Pipeline] ws 04:11:43 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:11:43 The recommended git tool is: git 04:11:49 using credential edgex-jenkins-ssh 04:11:49 Cloning the remote Git repository 04:11:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:11:49 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:11:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:49 > git --version # timeout=10 04:11:49 > git --version # 'git version 2.25.1' 04:11:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:49 Verifying host key using known hosts file 04:11:50 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:11:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:53 Merging remotes/origin/main commit 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 into PR head commit d526eb21c7de44395af172158e1177c0ee6593d8 04:11:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:53 Verifying host key using known hosts file 04:11:53 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:11:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1245/head:refs/remotes/origin/PR-1245 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:11:53 > git config core.sparsecheckout # timeout=10 04:11:53 Merge succeeded, producing d526eb21c7de44395af172158e1177c0ee6593d8 04:11:53 Checking out Revision d526eb21c7de44395af172158e1177c0ee6593d8 (PR-1245) 04:11:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:11:54 > git --version # timeout=10 04:11:54 > git --version # 'git version 2.25.1' 04:11:54 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 04:11:53 > git checkout -f d526eb21c7de44395af172158e1177c0ee6593d8 # timeout=10 04:11:53 > git remote # timeout=10 04:11:53 > git config --get remote.origin.url # timeout=10 04:11:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:53 Verifying host key using known hosts file 04:11:53 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:11:53 > git merge 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 04:11:53 > git rev-parse HEAD^{commit} # timeout=10 04:11:53 > git config core.sparsecheckout # timeout=10 04:11:53 > git checkout -f d526eb21c7de44395af172158e1177c0ee6593d8 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:11:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:55 Dload Upload Total Spent Left Speed 04:11:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh 04:11:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:11:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:11:56 + sudo tee /etc/docker/daemon.new 04:11:56 { 04:11:56 "registry-mirrors": [ 04:11:56 "https://nexus3.edgexfoundry.org:10001" 04:11:56 ], 04:11:56 "bip": "10.250.0.254/24", 04:11:56 "hosts": [ 04:11:56 "tcp://0.0.0.0:5555", 04:11:56 "unix:///var/run/docker.sock" 04:11:56 ], 04:11:56 "mtu": 1458, 04:11:56 "selinux-enabled": true, 04:11:56 "seccomp-profile": "/etc/docker/seccomp.json" 04:11:56 } [Pipeline] sh 04:11:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:11:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:15 provisioning config files... 04:12:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5485996298453576823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:16 ---> docker-login.sh 04:12:16 nexus3.edgexfoundry.org:10001 04:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:16 Configure a credential helper to remove this warning. See 04:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:16 04:12:16 Login Succeeded 04:12:16 nexus3.edgexfoundry.org:10002 04:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:17 Configure a credential helper to remove this warning. See 04:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:17 04:12:17 Login Succeeded 04:12:17 nexus3.edgexfoundry.org:10003 04:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:17 Configure a credential helper to remove this warning. See 04:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:17 04:12:17 Login Succeeded 04:12:17 nexus3.edgexfoundry.org:10004 04:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:18 Configure a credential helper to remove this warning. See 04:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:18 04:12:18 Login Succeeded 04:12:18 docker.io 04:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:18 Configure a credential helper to remove this warning. See 04:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:18 04:12:18 Login Succeeded 04:12:18 ---> docker-login.sh ends [Pipeline] } 04:12:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:12:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:12:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:12:19 ========================================================= 04:12:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:12:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:19 + 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:12:21 Sending build context to Docker daemon 5.383MB 04:12:21 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:12:21 Step 2/11 : FROM ${BASE} AS builder 04:12:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:12:21 9b18e9b68314: Pulling fs layer 04:12:21 d32db5db7311: Pulling fs layer 04:12:21 d0c4b47475fc: Pulling fs layer 04:12:21 5831b945b038: Pulling fs layer 04:12:21 86bbec2aaacd: Pulling fs layer 04:12:21 e10730c5d714: Pulling fs layer 04:12:21 5dd5c2283517: Pulling fs layer 04:12:21 d5ac0230b979: Pulling fs layer 04:12:21 5831b945b038: Waiting 04:12:21 e10730c5d714: Waiting 04:12:21 86bbec2aaacd: Waiting 04:12:21 5dd5c2283517: Waiting 04:12:21 d5ac0230b979: Waiting 04:12:21 d0c4b47475fc: Verifying Checksum 04:12:21 d0c4b47475fc: Download complete 04:12:21 d32db5db7311: Download complete 04:12:21 86bbec2aaacd: Verifying Checksum 04:12:21 86bbec2aaacd: Download complete 04:12:21 e10730c5d714: Verifying Checksum 04:12:21 e10730c5d714: Download complete 04:12:21 9b18e9b68314: Verifying Checksum 04:12:21 9b18e9b68314: Download complete 04:12:22 9b18e9b68314: Pull complete 04:12:22 d5ac0230b979: Verifying Checksum 04:12:22 d5ac0230b979: Download complete 04:12:23 d32db5db7311: Pull complete 04:12:23 d0c4b47475fc: Pull complete 04:12:24 5dd5c2283517: Verifying Checksum 04:12:24 5dd5c2283517: Download complete 04:12:25 5831b945b038: Verifying Checksum 04:12:25 5831b945b038: Download complete 04:12:37 5831b945b038: Pull complete 04:12:37 86bbec2aaacd: Pull complete 04:12:37 e10730c5d714: Pull complete 04:12:44 5dd5c2283517: Pull complete 04:12:45 d5ac0230b979: Pull complete 04:12:45 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:12:45 ---> 59b3b1a385d4 04:12:45 Step 3/11 : ARG MAKE=make build 04:12:47 ---> Running in 79b99f748505 04:12:47 Removing intermediate container 79b99f748505 04:12:47 ---> 38d31b2ae255 04:12:47 Step 4/11 : WORKDIR /device-sdk-go 04:12:47 ---> Running in 5c0c17e301fc 04:12:47 Removing intermediate container 5c0c17e301fc 04:12:47 ---> 6a529738d22a 04:12:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:12:47 ---> Running in acd29e9c4347 04:12:48 Removing intermediate container acd29e9c4347 04:12:48 ---> 521eec8313cd 04:12:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:12:48 ---> Running in c92d076243cd 04:12:50 Removing intermediate container c92d076243cd 04:12:50 ---> d841a571fd1f 04:12:50 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:12:50 ---> Running in 0341c624a84a 04:12:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:12:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:12:53 OK: 221 MiB in 51 packages 04:12:54 Removing intermediate container 0341c624a84a 04:12:54 ---> 5fee3d34caee 04:12:54 Step 8/11 : COPY go.mod vendor* ./ 04:12:54 ---> 9e9178a43cd3 04:12:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:54 ---> Running in d3f7194c56c7 04:13:51 Removing intermediate container d3f7194c56c7 04:13:51 ---> ba99cf770c50 04:13:51 Step 10/11 : COPY . . 04:13:51 ---> 8b227ae355ae 04:13:51 Step 11/11 : RUN ${MAKE} 04:13:51 ---> Running in b649b8edbde6 04:13:52 noop 04:13:52 Removing intermediate container b649b8edbde6 04:13:52 ---> de0886365c8f 04:13:52 Successfully built de0886365c8f 04:13:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:53 + docker inspect -f . ci-base-image-arm64 04:13:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:53 prd-ubuntu20.04-docker-arm64-4c-16g-9174 does not seem to be running inside a container 04:13:53 $ 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:13:54 $ docker top 915e34b6d7df89906b41b780ff2bbef6d6d8ae66a8eaad80fea5277d65a7983a -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:55 + go version 04:13:55 go version go1.18.7 linux/arm64 [Pipeline] } 04:13:55 $ docker stop --time=1 915e34b6d7df89906b41b780ff2bbef6d6d8ae66a8eaad80fea5277d65a7983a 04:13:57 $ docker rm -f 915e34b6d7df89906b41b780ff2bbef6d6d8ae66a8eaad80fea5277d65a7983a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:58 + docker inspect -f . ci-base-image-arm64 04:13:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:58 prd-ubuntu20.04-docker-arm64-4c-16g-9174 does not seem to be running inside a container 04:13:58 $ 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:14:00 $ docker top 86adb9546b486d2ee82a6cd788e51e0916bfe435bf2b9063be2ed4a5e7b2af11 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:00 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:14:01 + make test 04:14:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:14:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:17:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.326s coverage: 27.6% of statements 04:17:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.374s coverage: 78.9% of statements 04:17:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:17:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.519s coverage: 73.1% of statements 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:17:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.536s coverage: 54.4% of statements 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:17:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.461s coverage: 65.1% of statements 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:17:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.210s coverage: 89.2% of statements 04:17:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:17:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.292s coverage: 4.7% of statements 04:17:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:17:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:17:38 GO111MODULE=on go vet ./... 04:19:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:30 ./bin/test-attribution-txt.sh 04:19:30 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:19:30 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:19:30 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:19:30 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:19:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:19:30 $ docker stop --time=1 86adb9546b486d2ee82a6cd788e51e0916bfe435bf2b9063be2ed4a5e7b2af11 04:19:32 $ docker rm -f 86adb9546b486d2ee82a6cd788e51e0916bfe435bf2b9063be2ed4a5e7b2af11 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:33 Warning: overwriting stash ‘coverage-report’ 04:19:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:35 + ls -al . 04:19:35 total 276 04:19:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 04:14 . 04:19:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:11 .. 04:19:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:11 .dockerignore 04:19:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:11 .git 04:19:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:11 .github 04:19:35 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 04:11 .gitignore 04:19:35 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:11 .golangci.yml 04:19:35 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 04:11 CHANGELOG.md 04:19:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:11 GOVERNANCE.md 04:19:35 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 04:11 Jenkinsfile 04:19:35 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:11 LICENSE 04:19:35 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 04:11 Makefile 04:19:35 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:11 OWNERS.md 04:19:35 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 04:11 README.md 04:19:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:08 VERSION 04:19:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:11 bin 04:19:35 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 04:17 coverage.out 04:19:35 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:11 example 04:19:35 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 04:11 go.mod 04:19:35 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 24 04:11 go.sum 04:19:35 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 04:11 internal 04:19:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:11 openapi 04:19:35 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:11 pkg 04:19:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:11 snap 04:19:35 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19: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=d526eb21c7de44395af172158e1177c0ee6593d8 --label arch=arm64 --label version=0.0.0 . 04:19:35 Sending build context to Docker daemon 5.486MB 04:19:35 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:19:35 Step 2/25 : FROM ${BASE} AS builder 04:19:35 ---> de0886365c8f 04:19:35 Step 3/25 : ARG MAKE=make build 04:19:36 ---> Running in 6205d7184112 04:19:36 Removing intermediate container 6205d7184112 04:19:36 ---> 9277d41a3e11 04:19:36 Step 4/25 : WORKDIR /device-sdk-go 04:19:36 ---> Running in adf427218e38 04:19:36 Removing intermediate container adf427218e38 04:19:36 ---> a496c308bdb0 04:19:36 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:19:36 ---> Running in 2f5808b57805 04:19:37 Removing intermediate container 2f5808b57805 04:19:37 ---> 447084824910 04:19:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:37 ---> Running in d65c00b8cab3 04:19:39 Removing intermediate container d65c00b8cab3 04:19:39 ---> 6b741d4b14b2 04:19:39 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:19:39 ---> Running in e5a30b1e5bf8 04:19:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:19:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:19:42 OK: 221 MiB in 51 packages 04:19:42 Removing intermediate container e5a30b1e5bf8 04:19:42 ---> a453f4c38c07 04:19:42 Step 8/25 : COPY go.mod vendor* ./ 04:19:43 ---> 9199951a7f8a 04:19:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:43 ---> Running in be1e6a0df62f 04:19:46 Removing intermediate container be1e6a0df62f 04:19:46 ---> 0b439e003e23 04:19:46 Step 10/25 : COPY . . 04:19:47 ---> 7fd738466576 04:19:47 Step 11/25 : RUN ${MAKE} 04:19:47 ---> Running in 173b24d61015 04:19:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:22:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:25 Removing intermediate container 173b24d61015 04:22:25 ---> 82c23a4ee3a3 04:22:25 Step 12/25 : FROM alpine:3.16 04:22:25 3.16: Pulling from library/alpine 04:22:25 9b18e9b68314: Already exists 04:22:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:22:25 Status: Downloaded newer image for alpine:3.16 04:22:25 ---> a6215f271958 04:22:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:22:25 ---> Running in 29b4ac417f73 04:22:25 Removing intermediate container 29b4ac417f73 04:22:25 ---> 6791f6004c93 04:22:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:25 ---> Running in 19e0b993f925 04:22:25 Removing intermediate container 19e0b993f925 04:22:25 ---> b602159ddd80 04:22:25 Step 15/25 : RUN apk add --update --no-cache zeromq 04:22:25 ---> Running in 0eacefd6251d 04:22:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:22:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:22:28 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:22:28 (2/5) Installing libsodium (1.0.18-r0) 04:22:28 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:22:28 (4/5) Installing libzmq (4.3.4-r0) 04:22:28 (5/5) Installing zeromq (4.3.4-r0) 04:22:28 Executing busybox-1.35.0-r17.trigger 04:22:28 OK: 8 MiB in 19 packages 04:22:29 Removing intermediate container 0eacefd6251d 04:22:29 ---> 5e191e08f4db 04:22:29 Step 16/25 : WORKDIR / 04:22:29 ---> Running in 85155fb090d8 04:22:30 Removing intermediate container 85155fb090d8 04:22:30 ---> d53a710eaed1 04:22:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:30 ---> a055ccd65e0a 04:22:30 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:32 ---> d2366f91d141 04:22:32 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:32 ---> ce74372b8eb9 04:22:32 Step 20/25 : EXPOSE 59999 04:22:32 ---> Running in 8b72fbb47068 04:22:33 Removing intermediate container 8b72fbb47068 04:22:33 ---> 0c0d5a6eb5ad 04:22:33 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:22:33 ---> Running in b063ad894d28 04:22:33 Removing intermediate container b063ad894d28 04:22:33 ---> 136f62eda3ef 04:22:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:33 ---> Running in 000e5f45c3d9 04:22:33 Removing intermediate container 000e5f45c3d9 04:22:33 ---> d1bb7c6284f7 04:22:33 Step 23/25 : LABEL arch=arm64 04:22:33 ---> Running in 9818c71051df 04:22:34 Removing intermediate container 9818c71051df 04:22:34 ---> 214dcb8400e5 04:22:34 Step 24/25 : LABEL git_sha=d526eb21c7de44395af172158e1177c0ee6593d8 04:22:34 ---> Running in c596b3935f78 04:22:34 Removing intermediate container c596b3935f78 04:22:34 ---> 53e9a159145f 04:22:34 Step 25/25 : LABEL version=0.0.0 04:22:34 ---> Running in 0edb4138cb10 04:22:34 Removing intermediate container 0edb4138cb10 04:22:34 ---> ce1762db9b2b 04:22:34 [Warning] One or more build-args [ARCH] were not consumed 04:22:34 Successfully built ce1762db9b2b 04:22:34 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:22:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:35 04:22:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:36 arm64: Pulling from edgex-lftools-log-publisher 04:22:36 8998bd30e6a1: Pulling fs layer 04:22:36 04944245beec: Pulling fs layer 04:22:36 699f458cf7ca: Pulling fs layer 04:22:36 765212b225bb: Pulling fs layer 04:22:36 f23df028b6ca: Pulling fs layer 04:22:36 d65c8cfc05b1: Pulling fs layer 04:22:36 2437ff75d9bd: Pulling fs layer 04:22:36 f23df028b6ca: Waiting 04:22:36 d65c8cfc05b1: Waiting 04:22:36 765212b225bb: Waiting 04:22:36 2437ff75d9bd: Waiting 04:22:36 04944245beec: Verifying Checksum 04:22:36 04944245beec: Download complete 04:22:36 765212b225bb: Download complete 04:22:36 f23df028b6ca: Verifying Checksum 04:22:36 f23df028b6ca: Download complete 04:22:36 d65c8cfc05b1: Download complete 04:22:36 699f458cf7ca: Verifying Checksum 04:22:36 699f458cf7ca: Download complete 04:22:36 8998bd30e6a1: Verifying Checksum 04:22:36 8998bd30e6a1: Download complete 04:22:39 2437ff75d9bd: Verifying Checksum 04:22:39 2437ff75d9bd: Download complete 04:22:40 8998bd30e6a1: Pull complete 04:22:41 04944245beec: Pull complete 04:22:42 699f458cf7ca: Pull complete 04:22:43 765212b225bb: Pull complete 04:22:43 f23df028b6ca: Pull complete 04:22:44 d65c8cfc05b1: Pull complete 04:22:59 2437ff75d9bd: Pull complete 04:22:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:22:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:59 prd-ubuntu20.04-docker-arm64-4c-16g-9174 does not seem to be running inside a container 04:22:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:23:02 $ docker top a14b053af0ed5836c2f69c9b7f0542d6c93d6bf1f10303840ff9722c64e39466 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:02 ---> job-cost.sh 04:23:03 lf-activate-venv: SKIPPING 04:23:03 INFO: No Stack... 04:23:03 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:04 INFO: Archiving Costs [Pipeline] sh 04:23:05 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:23:05 + cut -d, -f6 [Pipeline] lock 04:23:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] 04:23:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] did not exist. Created. 04:23:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:06 /w/workspace/device-sdk-go/1@tmp/durable-9a3a8d66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:06 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:06 Warning: overwriting stash ‘stack-cost’ 04:23:06 Stashed 1 file(s) [Pipeline] } 04:23:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1245-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:07 $ docker stop --time=1 a14b053af0ed5836c2f69c9b7f0542d6c93d6bf1f10303840ff9722c64e39466 04:23:08 $ docker rm -f a14b053af0ed5836c2f69c9b7f0542d6c93d6bf1f10303840ff9722c64e39466 [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:23:09 provisioning config files... 04:23:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/config17155889531706249081tmp [Pipeline] { [Pipeline] sh 04:23:09 + set +x 04:23:09 + curl -s https://codecov.io/bash 04:23:09 + bash -s -- 04:23:09 04:23:09 _____ _ 04:23:09 / ____| | | 04:23:09 | | ___ __| | ___ ___ _____ __ 04:23:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:09 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:09 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:09 Bash-1.0.6 04:23:09 04:23:09 04:23:09 ==> git version 2.25.1 found 04:23:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:23:09 Release-Date: 2020-01-08 04:23:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:23:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:23:09 ==> Jenkins CI detected. 04:23:09 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1245 04:23:09 project root: . 04:23:09 --> token set from env 04:23:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:09 ==> Running gcov in . (disable via -X gcov) 04:23:09 ==> Python coveragepy not found 04:23:09 ==> Searching for coverage reports in: 04:23:09 + . 04:23:09 -> Found 1 reports 04:23:09 ==> Detecting git/mercurial file structure 04:23:09 ==> Reading reports 04:23:09 + ./coverage.out bytes=101759 04:23:09 ==> Appending adjustments 04:23:09 https://docs.codecov.io/docs/fixing-reports 04:23:10 + Found adjustments 04:23:10 ==> Gzipping contents 04:23:10 16K /tmp/codecov.B8wIZn.gz 04:23:10 ==> Uploading reports 04:23:10 url: https://codecov.io 04:23:10 query: branch=PR-1245&commit=d526eb21c7de44395af172158e1177c0ee6593d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1245&job=&cmd_args= 04:23:10 -> Pinging Codecov 04:23:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1245&commit=d526eb21c7de44395af172158e1177c0ee6593d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1245&job=&cmd_args= 04:23:11 -> Uploading to 04:23:11 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7E55EF52A471D76F132DFD9A03CDDE97/d526eb21c7de44395af172158e1177c0ee6593d8/a224e7e6-9db6-4b02-a025-0f018421e90c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T042311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a0e4634db6d71ac0b779bdad1f8de720884c5d1129134928b9a0e3f5f2b47bb 04:23:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:11 Dload Upload Total Spent Left Speed 04:23:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14707 0 0 100 14707 0 72448 --:--:-- --:--:-- --:--:-- 72093 100 14707 0 0 100 14707 0 60028 --:--:-- --:--:-- --:--:-- 59784 04:23:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d526eb21c7de44395af172158e1177c0ee6593d8 [Pipeline] } 04:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:23:13 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives ] 04:23:13 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives 04:23:13 total 16 04:23:13 drwxr-xr-x 3 root root 4096 Oct 24 04:10 . 04:23:13 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:10 .. 04:23:13 drwxr-xr-x 2 root root 4096 Oct 24 04:10 cost 04:23:13 -rw-r--r-- 1 root root 86 Oct 24 04:10 cost.csv 04:23:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives 04:23:13 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives 04:23:13 total 16 04:23:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:10 . 04:23:13 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:10 .. 04:23:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 04:10 cost 04:23:13 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:23:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:14 ---> package-listing.sh 04:23:14 ++ facter osfamily 04:23:14 ++ tr '[:upper:]' '[:lower:]' 04:23:14 + OS_FAMILY=debian 04:23:14 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1245 04:23:14 + START_PACKAGES=/tmp/packages_start.txt 04:23:14 + END_PACKAGES=/tmp/packages_end.txt 04:23:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:14 + PACKAGES=/tmp/packages_start.txt 04:23:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1245 ']' 04:23:14 + PACKAGES=/tmp/packages_end.txt 04:23:14 + case "${OS_FAMILY}" in 04:23:14 + dpkg -l 04:23:14 + grep '^ii' 04:23:14 + '[' -f /tmp/packages_start.txt ']' 04:23:14 + '[' -f /tmp/packages_end.txt ']' 04:23:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1245 ']' 04:23:14 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives/ 04:23:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1245/archives/ [Pipeline] echo 04:23:15 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-1245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:16 prd-ubuntu20.04-docker-8c-8g-9157 does not seem to be running inside a container 04:23:16 $ 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-1245/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-1245 -v /w/workspace/gexfoundry_device-sdk-go_PR-1245:/w/workspace/gexfoundry_device-sdk-go_PR-1245:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1245@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:23:16 $ docker top 2693a661dcc07855e175b4cc3e7a802cdb2db839b29909c27280812cccc17e5e -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:16 + touch /tmp/pre-build-complete [Pipeline] sh 04:23:17 + mkdir -p /var/log/sysstat [Pipeline] sh 04:23:17 + ls /var/log/sa-host 04:23:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:17 provisioning config files... 04:23:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1245@tmp/config5989363843757087269tmp [Pipeline] { [Pipeline] echo 04:23:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:23:17 ---> create-netrc.sh [Pipeline] } 04:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:23:18 ---> python-tools-install.sh [Pipeline] echo 04:23:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:23:18 ---> sudo-logs.sh 04:23:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:23:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:23:18 ---> job-cost.sh 04:23:18 lf-activate-venv: SKIPPING 04:23:18 DEBUG: total: 0.2199999988079071 04:23:18 INFO: Retrieving Stack Cost... 04:23:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:23:19 INFO: Archiving Costs [Pipeline] echo 04:23:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:23:20 ---> logs-deploy.sh 04:23:20 lf-activate-venv: SKIPPING 04:23:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1245/1 04:23:20 INFO: archiving workspace using pattern(s): 04:23:21 Archives upload complete. 04:23:21 INFO: archiving logs to Nexus 04:23:21 ---> uname -a: 04:23:21 Linux prd-ubuntu20-04-docker-8c-8g-9157 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:23:21 04:23:21 04:23:21 ---> lscpu: 04:23:21 Architecture: x86_64 04:23:21 CPU op-mode(s): 32-bit, 64-bit 04:23:21 Byte Order: Little Endian 04:23:21 Address sizes: 40 bits physical, 48 bits virtual 04:23:21 CPU(s): 8 04:23:21 On-line CPU(s) list: 0-7 04:23:21 Thread(s) per core: 1 04:23:21 Core(s) per socket: 1 04:23:21 Socket(s): 8 04:23:21 NUMA node(s): 1 04:23:21 Vendor ID: AuthenticAMD 04:23:21 CPU family: 23 04:23:21 Model: 49 04:23:21 Model name: AMD EPYC-Rome Processor 04:23:21 Stepping: 0 04:23:21 CPU MHz: 2800.000 04:23:21 BogoMIPS: 5600.00 04:23:21 Virtualization: AMD-V 04:23:21 Hypervisor vendor: KVM 04:23:21 Virtualization type: full 04:23:21 L1d cache: 256 KiB 04:23:21 L1i cache: 256 KiB 04:23:21 L2 cache: 4 MiB 04:23:21 L3 cache: 128 MiB 04:23:21 NUMA node0 CPU(s): 0-7 04:23:21 Vulnerability Itlb multihit: Not affected 04:23:21 Vulnerability L1tf: Not affected 04:23:21 Vulnerability Mds: Not affected 04:23:21 Vulnerability Meltdown: Not affected 04:23:21 Vulnerability Mmio stale data: Not affected 04:23:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:23:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:23:21 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:23:21 Vulnerability Srbds: Not affected 04:23:21 Vulnerability Tsx async abort: Not affected 04:23:21 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:23:21 04:23:21 04:23:21 ---> nproc: 04:23:21 8 04:23:21 04:23:21 04:23:21 ---> df -h: 04:23:21 Filesystem Size Used Avail Use% Mounted on 04:23:21 overlay 155G 12G 144G 8% / 04:23:21 tmpfs 64M 0 64M 0% /dev 04:23:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:23:21 shm 64M 0 64M 0% /dev/shm 04:23:21 /dev/vda1 155G 12G 144G 8% /facter-os 04:23:21 04:23:21 04:23:21 ---> sar -b -r -n DEV: 04:23:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9157) 10/24/22 _x86_64_ (8 CPU) 04:23:21 04:23:21 04:07:36 LINUX RESTART (8 CPU) 04:23:21 04:23:21 04:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:23:21 04:09:01 179.80 25.43 154.37 0.00 2520.11 97200.73 0.00 04:23:21 04:10:01 108.05 0.20 107.85 0.00 5.06 30270.44 0.00 04:23:21 04:11:01 147.73 1.10 146.63 0.00 32.53 34692.62 0.00 04:23:21 04:12:01 2.62 0.00 2.62 0.00 0.00 30.01 0.00 04:23:21 04:13:01 37.61 9.33 28.28 0.00 2884.32 4746.94 0.00 04:23:21 04:14:01 2.72 0.00 2.72 0.00 0.00 32.26 0.00 04:23:21 04:15:01 1.38 0.00 1.38 0.00 0.00 14.80 0.00 04:23:21 04:16:01 1.73 0.00 1.73 0.00 0.00 18.39 0.00 04:23:21 04:17:01 1.40 0.02 1.38 0.00 0.13 14.80 0.00 04:23:21 04:18:01 2.73 0.00 2.73 0.00 0.00 40.39 0.00 04:23:21 04:19:01 0.90 0.00 0.90 0.00 0.00 10.00 0.00 04:23:21 04:20:01 2.00 0.00 2.00 0.00 0.00 21.60 0.00 04:23:21 04:21:01 1.33 0.00 1.33 0.00 0.00 14.93 0.00 04:23:21 04:22:01 1.52 0.00 1.52 0.00 0.00 17.99 0.00 04:23:21 04:23:01 2.05 0.02 2.03 0.00 0.13 26.40 0.00 04:23:21 Average: 32.90 2.41 30.50 0.00 362.80 11143.20 0.00 04:23:21 04:23:21 04:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:23:21 04:09:01 28044744 31608868 691824 2.10 135488 3599908 1890144 5.57 1127172 3232228 415724 04:23:21 04:10:01 28511772 31553024 746916 2.27 141592 3116840 1932320 5.69 1191760 2741512 536 04:23:21 04:11:01 27795224 31589680 707216 2.15 152908 3796200 1766152 5.21 1209228 3376924 464 04:23:21 04:12:01 27794292 31588792 708012 2.15 152972 3796200 1766152 5.21 1208708 3376924 4 04:23:21 04:13:01 27506032 31577796 705820 2.15 171380 4045240 1811452 5.34 1356376 3492256 236 04:23:21 04:14:01 27508640 31580404 703704 2.14 171448 4045200 1811452 5.34 1354856 3492180 360 04:23:21 04:15:01 27508992 31580888 703144 2.14 171536 4045256 1811452 5.34 1354656 3492184 8 04:23:21 04:16:01 27512008 31583976 700020 2.13 171592 4045248 1811452 5.34 1351720 3492184 8 04:23:21 04:17:01 27511188 31583384 700104 2.13 171684 4045260 1811452 5.34 1352568 3492192 68 04:23:21 04:18:01 27511588 31584372 699420 2.13 171828 4045392 1811452 5.34 1352160 3492632 172 04:23:21 04:19:01 27511652 31584456 699336 2.13 171848 4045392 1811452 5.34 1351740 3492632 8 04:23:21 04:20:01 27511636 31584488 699244 2.13 171916 4045368 1811452 5.34 1351720 3492636 300 04:23:21 04:21:01 27511368 31584292 699360 2.13 172004 4045372 1811452 5.34 1351792 3492636 8 04:23:21 04:22:01 27512032 31585056 698760 2.12 172052 4045404 1811452 5.34 1351512 3492640 44 04:23:21 04:23:01 27510664 31583796 699640 2.13 172120 4045384 1829528 5.39 1352116 3492648 208 04:23:21 Average: 27650789 31583551 704168 2.14 164825 3920511 1819921 5.36 1307872 3409627 27877 04:23:21 04:23:21 04:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:23:21 04:09:01 lo 6.67 6.67 0.65 0.65 0.00 0.00 0.00 0.00 04:23:21 04:09:01 docker0 147.93 201.15 12.43 1821.59 0.00 0.00 0.00 0.00 04:23:21 04:09:01 ens3 913.93 586.12 8185.59 105.10 0.00 0.00 0.00 0.00 04:23:21 04:10:01 veth93b5fd5 3.18 3.70 0.22 11.01 0.00 0.00 0.00 0.00 04:23:21 04:10:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 04:23:21 04:10:01 docker0 3.18 3.78 0.17 11.02 0.00 0.00 0.00 0.00 04:23:21 04:10:01 ens3 54.98 40.20 59.92 83.41 0.00 0.00 0.00 0.00 04:23:21 04:11:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 04:23:21 04:11:01 docker0 14.76 18.75 0.87 87.82 0.00 0.00 0.00 0.00 04:23:21 04:11:01 ens3 152.62 95.25 2625.09 19.91 0.00 0.00 0.00 0.00 04:23:21 04:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:12:01 ens3 2.63 1.00 0.51 0.33 0.00 0.00 0.00 0.00 04:23:21 04:13:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 04:23:21 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:13:01 ens3 58.51 29.38 1299.47 2.73 0.00 0.00 0.00 0.00 04:23:21 04:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:14:01 ens3 0.87 0.47 0.40 0.27 0.00 0.00 0.00 0.00 04:23:21 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:15:01 ens3 0.12 0.00 0.01 0.00 0.00 0.00 0.00 0.00 04:23:21 04:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:16:01 ens3 0.20 0.12 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:17:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:18:01 ens3 0.22 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:19:01 ens3 0.18 0.08 0.08 0.06 0.00 0.00 0.00 0.00 04:23:21 04:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:20:01 ens3 0.23 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:21:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:23:21 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:22:01 ens3 0.42 0.17 0.08 0.01 0.00 0.00 0.00 0.00 04:23:21 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 04:23:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:21 Average: lo 0.69 0.69 0.06 0.06 0.00 0.00 0.00 0.00 04:23:21 Average: docker0 11.06 14.91 0.90 128.02 0.00 0.00 0.00 0.00 04:23:21 Average: ens3 79.00 50.20 811.37 14.12 0.00 0.00 0.00 0.00 04:23:21 04:23:21