Pull request #1194 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 16c2613fc80d254d67c62bfb74bfca7a95c75b63+693843898baeade0e40692581dd8497a6988e370 (5b750ca142ba7af3e9eb1ec8a1285b004150fd98) 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-ssh8480381676304017918.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12672946620498323481.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1194/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-1194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17069280818914148121.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4144885714820628403.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh17974123239063009141.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1194/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-1194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4718733220366587626.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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 ‘prd-ubuntu20.04-docker-8c-8g-20169’ Running on prd-ubuntu20.04-docker-8c-8g-20172 in /w/workspace/gexfoundry_device-sdk-go_PR-1194 [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-1194 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 693843898baeade0e40692581dd8497a6988e370 into PR head commit 16c2613fc80d254d67c62bfb74bfca7a95c75b63 Merge succeeded, producing 16c2613fc80d254d67c62bfb74bfca7a95c75b63 Checking out Revision 16c2613fc80d254d67c62bfb74bfca7a95c75b63 (PR-1194) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1194/head:refs/remotes/origin/PR-1194 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 693843898baeade0e40692581dd8497a6988e370 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 Commit message: "feat: Add interface for accessing the Device Service SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:21:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:21:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:21:10 ========================================================= 00:21:10 EdgeX Global Pipelines Version Info 00:21:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:21:11 ------------------- 00:21:11 stable info: 00:21:11 ------------------- 00:21:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:21:11 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:21:11 Message: update stable to v1.0.238 00:21:11 ------------------- 00:21:11 experimental info: 00:21:11 ------------------- 00:21:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:21:11 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:21:11 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:21:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1194 [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1194 [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1194 [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16c2613 [Pipeline] echo 00:21:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:13 provisioning config files... 00:21:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config6493682876486994189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:13 ---> docker-login.sh 00:21:13 nexus3.edgexfoundry.org:10001 00:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:14 Configure a credential helper to remove this warning. See 00:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:14 00:21:14 Login Succeeded 00:21:14 nexus3.edgexfoundry.org:10002 00:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:14 Configure a credential helper to remove this warning. See 00:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:14 00:21:14 Login Succeeded 00:21:14 nexus3.edgexfoundry.org:10003 00:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:14 Configure a credential helper to remove this warning. See 00:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:14 00:21:14 Login Succeeded 00:21:14 nexus3.edgexfoundry.org:10004 00:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:14 Configure a credential helper to remove this warning. See 00:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:14 00:21:14 Login Succeeded 00:21:14 docker.io 00:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:15 Configure a credential helper to remove this warning. See 00:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:15 00:21:15 Login Succeeded 00:21:15 ---> docker-login.sh ends [Pipeline] } 00:21:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:21:15 + git rev-list -1 --merges 16c2613fc80d254d67c62bfb74bfca7a95c75b63~1..16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo 00:21:16 -----------> git rev-list -1 --merges 16c2613fc80d254d67c62bfb74bfca7a95c75b63~1..16c2613fc80d254d67c62bfb74bfca7a95c75b63 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [false] [Pipeline] sh 00:21:16 + git log --format=format:%s -1 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo 00:21:16 ========================================================= 00:21:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:21:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:16 + git log --format=format:%s -1 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo 00:21:16 [semverPrep] GIT_COMMIT: 16c2613fc80d254d67c62bfb74bfca7a95c75b63, Commit Message: feat: Add interface for accessing the Device Service SDK [Pipeline] echo 00:21:16 [semverPrep] This is not a build commit. [Pipeline] sh 00:21:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:17 + grep -v github /etc/ssh/ssh_known_hosts 00:21:17 + [ -e /tmp/ssh_known_hosts ] 00:21:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:21:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 00:21:17 sudo tee -a /etc/ssh/ssh_known_hosts 00:21:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:17 00:21:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:18 0.1.4: Pulling from edgex-devops/py-git-semver 00:21:18 b85a868b505f: Pulling fs layer 00:21:18 e2be974225ed: Pulling fs layer 00:21:18 339a4e72a1f5: Pulling fs layer 00:21:18 988bab9f4d93: Pulling fs layer 00:21:18 1469e6f7b9e6: Pulling fs layer 00:21:18 eaf3925da568: Pulling fs layer 00:21:18 bab4dde63d76: Pulling fs layer 00:21:18 bde34c3a00c8: Pulling fs layer 00:21:18 b352a97aabf1: Pulling fs layer 00:21:18 4872d77fe225: Pulling fs layer 00:21:18 5851b861e8e6: Pulling fs layer 00:21:18 1469e6f7b9e6: Waiting 00:21:18 988bab9f4d93: Waiting 00:21:18 bab4dde63d76: Waiting 00:21:18 bde34c3a00c8: Waiting 00:21:18 b352a97aabf1: Waiting 00:21:18 5851b861e8e6: Waiting 00:21:18 eaf3925da568: Waiting 00:21:18 e2be974225ed: Verifying Checksum 00:21:18 e2be974225ed: Download complete 00:21:18 988bab9f4d93: Verifying Checksum 00:21:18 988bab9f4d93: Download complete 00:21:18 1469e6f7b9e6: Verifying Checksum 00:21:18 1469e6f7b9e6: Download complete 00:21:18 339a4e72a1f5: Verifying Checksum 00:21:18 339a4e72a1f5: Download complete 00:21:18 eaf3925da568: Verifying Checksum 00:21:18 eaf3925da568: Download complete 00:21:18 bde34c3a00c8: Download complete 00:21:18 b352a97aabf1: Verifying Checksum 00:21:18 b352a97aabf1: Download complete 00:21:18 4872d77fe225: Verifying Checksum 00:21:18 4872d77fe225: Download complete 00:21:18 5851b861e8e6: Verifying Checksum 00:21:18 5851b861e8e6: Download complete 00:21:18 b85a868b505f: Verifying Checksum 00:21:18 b85a868b505f: Download complete 00:21:18 bab4dde63d76: Verifying Checksum 00:21:18 bab4dde63d76: Download complete 00:21:20 b85a868b505f: Pull complete 00:21:20 e2be974225ed: Pull complete 00:21:20 339a4e72a1f5: Pull complete 00:21:20 988bab9f4d93: Pull complete 00:21:21 1469e6f7b9e6: Pull complete 00:21:21 eaf3925da568: Pull complete 00:21:23 bab4dde63d76: Pull complete 00:21:23 bde34c3a00c8: Pull complete 00:21:23 b352a97aabf1: Pull complete 00:21:23 4872d77fe225: Pull complete 00:21:23 5851b861e8e6: Pull complete 00:21:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:23 prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container 00:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:21:25 $ docker top 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 -eo pid,comm 00:21:25 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). 00:21:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:25 [ssh-agent] Looking for ssh-agent implementation... 00:21:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:25 $ docker exec 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent 00:21:25 SSH_AUTH_SOCK=/tmp/ssh-IZoWYGofN41i/agent.33 00:21:25 SSH_AGENT_PID=39 00:21:25 Running ssh-add (command line suppressed) 00:21:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6179742668715317062.key (/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6179742668715317062.key) 00:21:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:26 + git tag --points-at HEAD [Pipeline] } 00:21:26 $ docker exec --env ******** --env ******** 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent -k 00:21:26 unset SSH_AUTH_SOCK; 00:21:26 unset SSH_AGENT_PID; 00:21:26 echo Agent pid 39 killed; 00:21:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:21:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:26 [ssh-agent] Looking for ssh-agent implementation... 00:21:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:26 $ docker exec 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent 00:21:26 SSH_AUTH_SOCK=/tmp/ssh-JMeAAyFYI38E/agent.71 00:21:26 SSH_AGENT_PID=77 00:21:26 Running ssh-add (command line suppressed) 00:21:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6087776730302717001.key (/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6087776730302717001.key) 00:21:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:27 + git semver init 00:21:27 2022-07-15 00:21:27,558 [run_init] DEBUG init version:0.0.0 force:False 00:21:27 2022-07-15 00:21:27,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver 00:21:27 2022-07-15 00:21:27,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver 00:21:27 2022-07-15 00:21:27,559 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1194, universal_newlines=False, shell=None, istream=None) 00:21:28 2022-07-15 00:21:28,351 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.git/info/exclude 00:21:28 2022-07-15 00:21:28,352 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver/PR-1194 with force:False 00:21:28 2022-07-15 00:21:28,352 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver/PR-1194 00:21:28 2022-07-15 00:21:28,356 [execute] INFO git cat-file --batch-check 00:21:28 2022-07-15 00:21:28,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver, universal_newlines=False, shell=None, istream=) 00:21:28 2022-07-15 00:21:28,363 [execute] INFO git cat-file --batch 00:21:28 2022-07-15 00:21:28,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver, universal_newlines=False, shell=None, istream=) 00:21:28 2022-07-15 00:21:28,370 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver/PR-1194 00:21:28 0.0.0 [Pipeline] } 00:21:28 $ docker exec --env ******** --env ******** 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent -k 00:21:28 unset SSH_AUTH_SOCK; 00:21:28 unset SSH_AGENT_PID; 00:21:28 echo Agent pid 77 killed; 00:21:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:29 + git semver [Pipeline] } 00:21:29 $ docker stop --time=1 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 00:21:30 $ docker rm -f 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:21:31 Stashed 1 file(s) [Pipeline] echo 00:21:31 [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 00:21:32 provisioning config files... 00:21:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config3865247334647228801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:32 ---> docker-login.sh 00:21:32 nexus3.edgexfoundry.org:10001 00:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:32 Configure a credential helper to remove this warning. See 00:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:32 00:21:32 Login Succeeded 00:21:32 nexus3.edgexfoundry.org:10002 00:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:32 Configure a credential helper to remove this warning. See 00:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:32 00:21:32 Login Succeeded 00:21:32 nexus3.edgexfoundry.org:10003 00:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:32 Configure a credential helper to remove this warning. See 00:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:32 00:21:32 Login Succeeded 00:21:32 nexus3.edgexfoundry.org:10004 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 docker.io 00:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:21:33 Configure a credential helper to remove this warning. See 00:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:21:33 00:21:33 Login Succeeded 00:21:33 ---> docker-login.sh ends [Pipeline] } 00:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:21:33 ========================================================= 00:21:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:21:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:34 + 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 . 00:21:34 Sending build context to Docker daemon 9.739MB 00:21:34 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 00:21:34 Step 2/11 : FROM ${BASE} AS builder 00:21:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:21:34 2408cc74d12b: Pulling fs layer 00:21:34 ea60b727a1ce: Pulling fs layer 00:21:34 30c4a7721957: Pulling fs layer 00:21:34 370296b7ddb6: Pulling fs layer 00:21:34 7c6cee850709: Pulling fs layer 00:21:34 39a5fcdaea64: Pulling fs layer 00:21:34 d94ebbe4e438: Pulling fs layer 00:21:34 bcfd1f05c69d: Pulling fs layer 00:21:34 59ccb84bbe0f: Pulling fs layer 00:21:34 39a5fcdaea64: Waiting 00:21:34 d94ebbe4e438: Waiting 00:21:34 7c6cee850709: Waiting 00:21:34 bcfd1f05c69d: Waiting 00:21:34 59ccb84bbe0f: Waiting 00:21:34 30c4a7721957: Verifying Checksum 00:21:34 30c4a7721957: Download complete 00:21:34 ea60b727a1ce: Verifying Checksum 00:21:34 ea60b727a1ce: Download complete 00:21:34 7c6cee850709: Verifying Checksum 00:21:34 7c6cee850709: Download complete 00:21:34 39a5fcdaea64: Verifying Checksum 00:21:34 39a5fcdaea64: Download complete 00:21:34 2408cc74d12b: Verifying Checksum 00:21:34 2408cc74d12b: Download complete 00:21:34 d94ebbe4e438: Verifying Checksum 00:21:34 d94ebbe4e438: Download complete 00:21:34 2408cc74d12b: Pull complete 00:21:34 ea60b727a1ce: Pull complete 00:21:34 30c4a7721957: Pull complete 00:21:34 59ccb84bbe0f: Verifying Checksum 00:21:34 59ccb84bbe0f: Download complete 00:21:35 370296b7ddb6: Download complete 00:21:35 bcfd1f05c69d: Verifying Checksum 00:21:35 bcfd1f05c69d: Download complete 00:21:39 370296b7ddb6: Pull complete 00:21:39 7c6cee850709: Pull complete 00:21:39 39a5fcdaea64: Pull complete 00:21:39 d94ebbe4e438: Pull complete 00:21:42 bcfd1f05c69d: Pull complete 00:21:42 59ccb84bbe0f: Pull complete 00:21:42 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:21:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:21:42 ---> a4fb48ad2a94 00:21:42 Step 3/11 : ARG MAKE=make build 00:21:44 ---> Running in 5994021d0e5f 00:21:44 Removing intermediate container 5994021d0e5f 00:21:44 ---> 43f05b48ef02 00:21:44 Step 4/11 : WORKDIR /device-sdk-go 00:21:44 ---> Running in bccce1b94279 00:21:44 Removing intermediate container bccce1b94279 00:21:44 ---> 72b39149e704 00:21:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:21:44 ---> Running in cb42707ac8ef 00:21:45 Removing intermediate container cb42707ac8ef 00:21:45 ---> 319fee7da5dd 00:21:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:21:45 ---> Running in 8dc94c840c63 00:21:45 Removing intermediate container 8dc94c840c63 00:21:45 ---> fbffdc7b6246 00:21:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:21:45 ---> Running in f715f33c89f6 00:21:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:21:46 Still waiting to schedule task 00:21:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20170’ 00:21:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:21:47 OK: 211 MiB in 51 packages 00:21:47 Removing intermediate container f715f33c89f6 00:21:47 ---> 368b7ad8f40f 00:21:47 Step 8/11 : COPY go.mod vendor* ./ 00:21:48 ---> 8a5035e01c2d 00:21:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:48 ---> Running in 767921665d27 00:22:10 Removing intermediate container 767921665d27 00:22:10 ---> dae08754dacd 00:22:10 Step 10/11 : COPY . . 00:22:10 ---> 5c3f5212d386 00:22:10 Step 11/11 : RUN ${MAKE} 00:22:10 ---> Running in dee87a41651b 00:22:10 noop 00:22:10 Removing intermediate container dee87a41651b 00:22:10 ---> 639020869a71 00:22:10 Successfully built 639020869a71 00:22:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:10 + docker inspect -f . ci-base-image-x86_64 00:22:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:10 prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container 00:22:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:22:11 $ docker top eb3f1784da091a24547d304d24faf14fd6d728aadefcb3924565ab5d201ce3e5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:22:11 + go version 00:22:11 go version go1.18.3 linux/amd64 [Pipeline] } 00:22:11 $ docker stop --time=1 eb3f1784da091a24547d304d24faf14fd6d728aadefcb3924565ab5d201ce3e5 00:22:12 $ docker rm -f eb3f1784da091a24547d304d24faf14fd6d728aadefcb3924565ab5d201ce3e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:13 + docker inspect -f . ci-base-image-x86_64 00:22:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:13 prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container 00:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:22:14 $ docker top 9258c768659b43d58d6dbf4a5a4891ded586dc77b09ada2f7e01dcd5d180a721 -eo pid,comm [Pipeline] { [Pipeline] sh 00:22:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1194 [Pipeline] fileExists [Pipeline] sh 00:22:15 + make test 00:22:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:22:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 00:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:22:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.071s coverage: 23.7% of statements 00:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:22:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 00:22:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.104s coverage: 78.9% of statements 00:22:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.075s coverage: 10.8% of statements 00:22:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.104s coverage: 60.0% of statements 00:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 00:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 34.8% of statements 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 00:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.095s coverage: 85.4% of statements 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 65.1% of statements 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 00:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 00:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:22:55 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:22:55 GO111MODULE=on go vet ./... 00:22:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:22:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:22:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:22:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:22:58 $ docker stop --time=1 9258c768659b43d58d6dbf4a5a4891ded586dc77b09ada2f7e01dcd5d180a721 00:23:00 $ docker rm -f 9258c768659b43d58d6dbf4a5a4891ded586dc77b09ada2f7e01dcd5d180a721 [Pipeline] // withDockerContainer [Pipeline] sh 00:23:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:23:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:23:01 + ls -al . 00:23:01 total 304 00:23:01 drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 00:22 . 00:23:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:21 .. 00:23:01 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 00:21 .dockerignore 00:23:01 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 00:22 .git 00:23:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:21 .github 00:23:01 -rw-rw-r-- 1 jenkins jenkins 131 Jul 15 00:21 .gitignore 00:23:01 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 00:21 .golangci.yml 00:23:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 00:21 .semver 00:23:01 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 15 00:21 CHANGELOG.md 00:23:01 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 00:21 GOVERNANCE.md 00:23:01 -rw-rw-r-- 1 jenkins jenkins 880 Jul 15 00:21 Jenkinsfile 00:23:01 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 00:21 LICENSE 00:23:01 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 15 00:21 Makefile 00:23:01 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 00:21 OWNERS.md 00:23:01 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 15 00:21 README.md 00:23:01 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 00:21 VERSION 00:23:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:21 bin 00:23:01 -rw-r--r-- 1 jenkins jenkins 131352 Jul 15 00:22 coverage.out 00:23:01 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 00:21 example 00:23:01 -rw-rw-r-- 1 jenkins jenkins 3204 Jul 15 00:21 go.mod 00:23:01 -rw-rw-r-- 1 jenkins jenkins 34893 Jul 15 00:21 go.sum 00:23:01 drwxrwxr-x 15 jenkins jenkins 4096 Jul 15 00:21 internal 00:23:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 00:21 openapi 00:23:01 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 00:21 pkg 00:23:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:21 snap 00:23:01 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 00:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:02 + 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=16c2613fc80d254d67c62bfb74bfca7a95c75b63 --label arch=amd64 --label version=0.0.0 . 00:23:02 Sending build context to Docker daemon 9.871MB 00:23:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:23:02 Step 2/25 : FROM ${BASE} AS builder 00:23:02 ---> 639020869a71 00:23:02 Step 3/25 : ARG MAKE=make build 00:23:02 ---> Running in 7524ccf08cee 00:23:02 Removing intermediate container 7524ccf08cee 00:23:02 ---> bf6d48eebe1d 00:23:02 Step 4/25 : WORKDIR /device-sdk-go 00:23:02 ---> Running in 94f291b4b7a4 00:23:02 Removing intermediate container 94f291b4b7a4 00:23:02 ---> a3c76252b9b5 00:23:02 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:23:02 ---> Running in d2b8a699eb4d 00:23:02 Removing intermediate container d2b8a699eb4d 00:23:02 ---> 13b4ca7c1115 00:23:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:23:02 ---> Running in 5876e1474482 00:23:03 Removing intermediate container 5876e1474482 00:23:03 ---> 636873a84a25 00:23:03 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:23:03 ---> Running in f2feabf924d8 00:23:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:23:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:23:04 OK: 211 MiB in 51 packages 00:23:05 Removing intermediate container f2feabf924d8 00:23:05 ---> 997ccc9c3c11 00:23:05 Step 8/25 : COPY go.mod vendor* ./ 00:23:05 ---> b2eab5a918f7 00:23:05 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:05 ---> Running in 62784eef5d01 00:23:05 Removing intermediate container 62784eef5d01 00:23:05 ---> e1897631c956 00:23:05 Step 10/25 : COPY . . 00:23:06 ---> 028acc23be48 00:23:06 Step 11/25 : RUN ${MAKE} 00:23:06 ---> Running in 9b4bfa806758 00:23:06 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 00:23:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 00:23:27 Removing intermediate container 9b4bfa806758 00:23:27 ---> 7223706cd3d2 00:23:27 Step 12/25 : FROM alpine:3.16 00:23:27 3.16: Pulling from library/alpine 00:23:28 2408cc74d12b: Already exists 00:23:28 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 00:23:28 Status: Downloaded newer image for alpine:3.16 00:23:28 ---> e66264b98777 00:23:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:23:28 ---> Running in fbf96c068e74 00:23:28 Removing intermediate container fbf96c068e74 00:23:28 ---> ce37090379e3 00:23:28 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:23:28 ---> Running in 5fef1f2e6f8d 00:23:29 Removing intermediate container 5fef1f2e6f8d 00:23:29 ---> e9f79a86e433 00:23:29 Step 15/25 : RUN apk add --update --no-cache zeromq 00:23:29 ---> Running in 7ccd62f11d74 00:23:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:23:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:23:30 (1/5) Installing libgcc (11.2.1_git20220219-r2) 00:23:30 (2/5) Installing libsodium (1.0.18-r0) 00:23:30 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 00:23:30 (4/5) Installing libzmq (4.3.4-r0) 00:23:30 (5/5) Installing zeromq (4.3.4-r0) 00:23:30 Executing busybox-1.35.0-r13.trigger 00:23:30 OK: 8 MiB in 19 packages 00:23:31 Removing intermediate container 7ccd62f11d74 00:23:31 ---> 0c6714cd8e5d 00:23:31 Step 16/25 : WORKDIR / 00:23:31 ---> Running in 77dbe2a6e281 00:23:31 Removing intermediate container 77dbe2a6e281 00:23:31 ---> 8c54bfea968d 00:23:31 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:23:31 ---> cb66b4cbd134 00:23:31 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:23:32 ---> 36a64eea2ac4 00:23:32 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:23:32 ---> e93cfdb5af52 00:23:32 Step 20/25 : EXPOSE 59999 00:23:32 ---> Running in d70ea544e1b9 00:23:32 Removing intermediate container d70ea544e1b9 00:23:32 ---> e122d150334e 00:23:32 Step 21/25 : ENTRYPOINT ["/device-simple"] 00:23:32 ---> Running in 708a37192fff 00:23:32 Removing intermediate container 708a37192fff 00:23:32 ---> 5a9855c94ae7 00:23:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:23:32 ---> Running in 058cf145d74c 00:23:32 Removing intermediate container 058cf145d74c 00:23:32 ---> 59a802d1f2f5 00:23:32 Step 23/25 : LABEL arch=amd64 00:23:32 ---> Running in a823dac554d4 00:23:32 Removing intermediate container a823dac554d4 00:23:32 ---> 57208f935b57 00:23:32 Step 24/25 : LABEL git_sha=16c2613fc80d254d67c62bfb74bfca7a95c75b63 00:23:32 ---> Running in ff8b78e8ccb7 00:23:33 Removing intermediate container ff8b78e8ccb7 00:23:33 ---> dd27bf50b16b 00:23:33 Step 25/25 : LABEL version=0.0.0 00:23:33 ---> Running in fa0567de5246 00:23:33 Removing intermediate container fa0567de5246 00:23:33 ---> f6aa629e2ffa 00:23:33 [Warning] One or more build-args [ARCH] were not consumed 00:23:33 Successfully built f6aa629e2ffa 00:23:33 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 00:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:23:34 00:23:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:23:34 latest: Pulling from edgex-lftools-log-publisher 00:23:34 5eb5b503b376: Pulling fs layer 00:23:34 5c69ac0246d0: Pulling fs layer 00:23:34 ec43610c2a17: Pulling fs layer 00:23:34 3a2ae6a8a46f: Pulling fs layer 00:23:34 33b1e0a273af: Pulling fs layer 00:23:34 5d3b04190fa2: Pulling fs layer 00:23:34 3a2ae6a8a46f: Waiting 00:23:34 33b1e0a273af: Waiting 00:23:34 2f39f015ded8: Pulling fs layer 00:23:34 5c69ac0246d0: Download complete 00:23:34 3a2ae6a8a46f: Download complete 00:23:34 33b1e0a273af: Verifying Checksum 00:23:34 33b1e0a273af: Download complete 00:23:34 ec43610c2a17: Verifying Checksum 00:23:34 ec43610c2a17: Download complete 00:23:34 5d3b04190fa2: Verifying Checksum 00:23:34 5d3b04190fa2: Download complete 00:23:34 5eb5b503b376: Verifying Checksum 00:23:34 5eb5b503b376: Download complete 00:23:35 2f39f015ded8: Download complete 00:23:36 5eb5b503b376: Pull complete 00:23:36 5c69ac0246d0: Pull complete 00:23:36 ec43610c2a17: Pull complete 00:23:36 3a2ae6a8a46f: Pull complete 00:23:36 33b1e0a273af: Pull complete 00:23:36 5d3b04190fa2: Pull complete 00:23:42 2f39f015ded8: Pull complete 00:23:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:23:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:42 prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container 00:23:42 $ 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-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:23:44 $ docker top 85cc9a37494326fcd1664dc92682fedd7fab8dfcf8bddd8c16540ebe6f161006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:44 ---> job-cost.sh 00:23:44 lf-activate-venv: SKIPPING 00:23:44 INFO: No Stack... 00:23:44 INFO: Retrieving Pricing Info for: v3-standard-8 00:23:45 INFO: Archiving Costs [Pipeline] sh 00:23:45 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives/cost.csv 00:23:45 + cut -d, -f6 [Pipeline] lock 00:23:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] 00:23:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] did not exist. Created. 00:23:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:46 + echo total: 0.2199999988079071 [Pipeline] stash 00:23:46 Stashed 1 file(s) [Pipeline] } 00:23:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:23:46 $ docker stop --time=1 85cc9a37494326fcd1664dc92682fedd7fab8dfcf8bddd8c16540ebe6f161006 00:23:47 $ docker rm -f 85cc9a37494326fcd1664dc92682fedd7fab8dfcf8bddd8c16540ebe6f161006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:24:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20173 in /w/workspace/gexfoundry_device-sdk-go_PR-1194 [Pipeline] { [Pipeline] ws 00:24:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:24:59 The recommended git tool is: git 00:25:06 using credential edgex-jenkins-ssh 00:25:06 Cloning the remote Git repository 00:25:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:25:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 00:25:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:25:06 > git --version # timeout=10 00:25:06 > git --version # 'git version 2.25.1' 00:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:08 Merging remotes/origin/main commit 693843898baeade0e40692581dd8497a6988e370 into PR head commit 16c2613fc80d254d67c62bfb74bfca7a95c75b63 00:25:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:25:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:25:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1194/head:refs/remotes/origin/PR-1194 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:25:08 > git config core.sparsecheckout # timeout=10 00:25:08 > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 00:25:09 Merge succeeded, producing 16c2613fc80d254d67c62bfb74bfca7a95c75b63 00:25:09 Checking out Revision 16c2613fc80d254d67c62bfb74bfca7a95c75b63 (PR-1194) 00:25:09 > git remote # timeout=10 00:25:09 > git config --get remote.origin.url # timeout=10 00:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:09 > git merge 693843898baeade0e40692581dd8497a6988e370 # timeout=10 00:25:09 > git rev-parse HEAD^{commit} # timeout=10 00:25:09 > git config core.sparsecheckout # timeout=10 00:25:09 > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 00:25:13 Commit message: "feat: Add interface for accessing the Device Service SDK" 00:25:13 > git --version # timeout=10 00:25:13 > git --version # 'git version 2.25.1' 00:25:13 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:14 Dload Upload Total Spent Left Speed 00:25:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 96343 [Pipeline] sh 00:25:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:25:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 00:25:15 sudo tee /etc/docker/daemon.new 00:25:15 { 00:25:15 "registry-mirrors": [ 00:25:15 "https://nexus3.edgexfoundry.org:10001" 00:25:15 ], 00:25:15 "bip": "10.250.0.254/24", 00:25:15 "hosts": [ 00:25:15 "tcp://0.0.0.0:5555", 00:25:15 "unix:///var/run/docker.sock" 00:25:15 ], 00:25:15 "mtu": 1458, 00:25:15 "selinux-enabled": true, 00:25:15 "seccomp-profile": "/etc/docker/seccomp.json" 00:25:15 } [Pipeline] sh 00:25:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:25:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:35 provisioning config files... 00:25:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1213632012815766650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:35 ---> docker-login.sh 00:25:35 nexus3.edgexfoundry.org:10001 00:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:36 Configure a credential helper to remove this warning. See 00:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:36 00:25:36 Login Succeeded 00:25:36 nexus3.edgexfoundry.org:10002 00:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:37 Configure a credential helper to remove this warning. See 00:25:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:37 00:25:37 Login Succeeded 00:25:37 nexus3.edgexfoundry.org:10003 00:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:37 Configure a credential helper to remove this warning. See 00:25:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:37 00:25:37 Login Succeeded 00:25:37 nexus3.edgexfoundry.org:10004 00:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:38 Configure a credential helper to remove this warning. See 00:25:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:38 00:25:38 Login Succeeded 00:25:38 docker.io 00:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:25:38 Configure a credential helper to remove this warning. See 00:25:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:25:38 00:25:38 Login Succeeded 00:25:38 ---> docker-login.sh ends [Pipeline] } 00:25:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:25:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:25:39 ========================================================= 00:25:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:25:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:39 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:25:40 Sending build context to Docker daemon 5.237MB 00:25:40 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 00:25:40 Step 2/11 : FROM ${BASE} AS builder 00:25:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:25:40 b3c136eddcbf: Pulling fs layer 00:25:40 c0a3192eca97: Pulling fs layer 00:25:40 a050256f5b6f: Pulling fs layer 00:25:40 656be50a0ddc: Pulling fs layer 00:25:40 2bbca73fdf42: Pulling fs layer 00:25:40 46d945488cbd: Pulling fs layer 00:25:40 8a5474983e97: Pulling fs layer 00:25:40 329c88fbcd65: Pulling fs layer 00:25:40 656be50a0ddc: Waiting 00:25:40 2bbca73fdf42: Waiting 00:25:40 46d945488cbd: Waiting 00:25:40 8a5474983e97: Waiting 00:25:40 329c88fbcd65: Waiting 00:25:40 a050256f5b6f: Verifying Checksum 00:25:40 a050256f5b6f: Download complete 00:25:40 c0a3192eca97: Verifying Checksum 00:25:40 c0a3192eca97: Download complete 00:25:40 2bbca73fdf42: Verifying Checksum 00:25:40 2bbca73fdf42: Download complete 00:25:40 46d945488cbd: Verifying Checksum 00:25:40 46d945488cbd: Download complete 00:25:40 b3c136eddcbf: Verifying Checksum 00:25:40 b3c136eddcbf: Download complete 00:25:41 b3c136eddcbf: Pull complete 00:25:41 329c88fbcd65: Verifying Checksum 00:25:41 329c88fbcd65: Download complete 00:25:41 c0a3192eca97: Pull complete 00:25:42 a050256f5b6f: Pull complete 00:25:42 8a5474983e97: Verifying Checksum 00:25:43 656be50a0ddc: Verifying Checksum 00:25:43 656be50a0ddc: Download complete 00:25:58 656be50a0ddc: Pull complete 00:25:58 2bbca73fdf42: Pull complete 00:25:58 46d945488cbd: Pull complete 00:26:02 8a5474983e97: Pull complete 00:26:05 329c88fbcd65: Pull complete 00:26:05 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:26:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:26:05 ---> ff4287adb874 00:26:05 Step 3/11 : ARG MAKE=make build 00:26:06 ---> Running in d4cbcd73e661 00:26:07 Removing intermediate container d4cbcd73e661 00:26:07 ---> ad1bfea2b29c 00:26:07 Step 4/11 : WORKDIR /device-sdk-go 00:26:07 ---> Running in 350cb178f47b 00:26:07 Removing intermediate container 350cb178f47b 00:26:07 ---> 29616b97be65 00:26:07 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:26:07 ---> Running in 2a7a970636dc 00:26:08 Removing intermediate container 2a7a970636dc 00:26:08 ---> 6cb197cc9292 00:26:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:26:08 ---> Running in 6afc9448f87d 00:26:10 Removing intermediate container 6afc9448f87d 00:26:10 ---> 51bf725fcb7c 00:26:10 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:26:10 ---> Running in 231447609f6f 00:26:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:26:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:26:13 OK: 221 MiB in 51 packages 00:26:14 Removing intermediate container 231447609f6f 00:26:14 ---> 21ad416236f7 00:26:14 Step 8/11 : COPY go.mod vendor* ./ 00:26:14 ---> 614ba4802a06 00:26:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:26:14 ---> Running in 27610805f442 00:27:01 Removing intermediate container 27610805f442 00:27:01 ---> 23184f8a7ffb 00:27:01 Step 10/11 : COPY . . 00:27:01 ---> e291cbc95ef9 00:27:01 Step 11/11 : RUN ${MAKE} 00:27:01 ---> Running in 67560dd093ee 00:27:01 noop 00:27:01 Removing intermediate container 67560dd093ee 00:27:01 ---> 3237babffbf8 00:27:01 Successfully built 3237babffbf8 00:27:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:02 + docker inspect -f . ci-base-image-arm64 00:27:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:27:02 prd-ubuntu20.04-docker-arm64-4c-16g-20173 does not seem to be running inside a container 00:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:27:03 $ docker top 485792d599957250eb32e5e5a666bc0eddf861051cda42b96c6a3edcde79ece2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:04 + go version 00:27:04 go version go1.18.3 linux/arm64 [Pipeline] } 00:27:04 $ docker stop --time=1 485792d599957250eb32e5e5a666bc0eddf861051cda42b96c6a3edcde79ece2 00:27:06 $ docker rm -f 485792d599957250eb32e5e5a666bc0eddf861051cda42b96c6a3edcde79ece2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:07 + docker inspect -f . ci-base-image-arm64 00:27:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:27:07 prd-ubuntu20.04-docker-arm64-4c-16g-20173 does not seem to be running inside a container 00:27:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:27:09 $ docker top 495595781fd299a90fc333bd1531397db69922aa328a9c8b31dc98d23ea10e37 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 00:27:10 + make test 00:27:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:27:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 00:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:29:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.7% of statements 00:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:29:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 27.6% of statements 00:29:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.276s coverage: 78.9% of statements 00:29:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.407s coverage: 10.8% of statements 00:29:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.412s coverage: 60.0% of statements 00:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 00:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:29:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.347s coverage: 34.8% of statements 00:29:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 00:29:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.281s coverage: 85.4% of statements 00:29:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:29:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:29:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.500s coverage: 65.1% of statements 00:29:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 00:29:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:29:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.061s coverage: 89.2% of statements 00:29:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 00:29:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.221s coverage: 4.7% of statements 00:29:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:29:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:29:45 GO111MODULE=on go vet ./... 00:31:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:31:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:31:07 ./bin/test-attribution-txt.sh [Pipeline] echo 00:31:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:31:07 $ docker stop --time=1 495595781fd299a90fc333bd1531397db69922aa328a9c8b31dc98d23ea10e37 00:31:09 $ docker rm -f 495595781fd299a90fc333bd1531397db69922aa328a9c8b31dc98d23ea10e37 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:31:11 Warning: overwriting stash ‘coverage-report’ 00:31:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:31:12 + ls -al . 00:31:12 total 300 00:31:12 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 00:27 . 00:31:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:25 .. 00:31:12 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 00:25 .dockerignore 00:31:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 00:25 .git 00:31:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:25 .github 00:31:12 -rw-rw-r-- 1 jenkins jenkins 131 Jul 15 00:25 .gitignore 00:31:12 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 00:25 .golangci.yml 00:31:12 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 15 00:25 CHANGELOG.md 00:31:12 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 00:25 GOVERNANCE.md 00:31:12 -rw-rw-r-- 1 jenkins jenkins 880 Jul 15 00:25 Jenkinsfile 00:31:12 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 00:25 LICENSE 00:31:12 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 15 00:25 Makefile 00:31:12 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 00:25 OWNERS.md 00:31:12 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 15 00:25 README.md 00:31:12 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 00:21 VERSION 00:31:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:25 bin 00:31:12 -rw-r--r-- 1 jenkins jenkins 131352 Jul 15 00:29 coverage.out 00:31:12 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 00:25 example 00:31:12 -rw-rw-r-- 1 jenkins jenkins 3204 Jul 15 00:25 go.mod 00:31:12 -rw-rw-r-- 1 jenkins jenkins 34893 Jul 15 00:25 go.sum 00:31:12 drwxrwxr-x 15 jenkins jenkins 4096 Jul 15 00:25 internal 00:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 00:25 openapi 00:31:12 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 00:25 pkg 00:31:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:25 snap 00:31:12 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 00:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:13 + 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=16c2613fc80d254d67c62bfb74bfca7a95c75b63 --label arch=arm64 --label version=0.0.0 . 00:31:13 Sending build context to Docker daemon 5.369MB 00:31:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:31:13 Step 2/25 : FROM ${BASE} AS builder 00:31:13 ---> 3237babffbf8 00:31:13 Step 3/25 : ARG MAKE=make build 00:31:13 ---> Running in fa95b662bf37 00:31:14 Removing intermediate container fa95b662bf37 00:31:14 ---> 7b13a34e987d 00:31:14 Step 4/25 : WORKDIR /device-sdk-go 00:31:14 ---> Running in f82e566afb7c 00:31:14 Removing intermediate container f82e566afb7c 00:31:14 ---> 37622065cc7c 00:31:14 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:31:14 ---> Running in f3310d6a3665 00:31:14 Removing intermediate container f3310d6a3665 00:31:14 ---> 6fc0f2fdfeb5 00:31:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:31:14 ---> Running in e8be2ffaefc4 00:31:16 Removing intermediate container e8be2ffaefc4 00:31:16 ---> 3d5f15155113 00:31:16 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:31:16 ---> Running in a8245326b460 00:31:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:31:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:31:19 OK: 221 MiB in 51 packages 00:31:20 Removing intermediate container a8245326b460 00:31:20 ---> ddaee5449b59 00:31:20 Step 8/25 : COPY go.mod vendor* ./ 00:31:21 ---> 715b55c0ec27 00:31:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:31:21 ---> Running in d8dc508af390 00:31:23 Removing intermediate container d8dc508af390 00:31:23 ---> 4fd87df1ad3f 00:31:23 Step 10/25 : COPY . . 00:31:24 ---> 55972cc00634 00:31:24 Step 11/25 : RUN ${MAKE} 00:31:24 ---> Running in fbc0d73fc42f 00:31:25 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 00:33:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 00:33:31 Removing intermediate container fbc0d73fc42f 00:33:31 ---> ccbdbec4fecf 00:33:31 Step 12/25 : FROM alpine:3.16 00:33:31 3.16: Pulling from library/alpine 00:33:31 b3c136eddcbf: Already exists 00:33:31 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 00:33:31 Status: Downloaded newer image for alpine:3.16 00:33:31 ---> 6e30ab57aeee 00:33:31 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:33:31 ---> Running in de0ec0642ec8 00:33:31 Removing intermediate container de0ec0642ec8 00:33:31 ---> 09f4361ebbc8 00:33:31 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:33:31 ---> Running in 7a56fc82fefd 00:33:31 Removing intermediate container 7a56fc82fefd 00:33:31 ---> f5db54dbe8fa 00:33:31 Step 15/25 : RUN apk add --update --no-cache zeromq 00:33:31 ---> Running in 7688265d8e0a 00:33:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:33:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:33:34 (1/5) Installing libgcc (11.2.1_git20220219-r2) 00:33:34 (2/5) Installing libsodium (1.0.18-r0) 00:33:34 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 00:33:34 (4/5) Installing libzmq (4.3.4-r0) 00:33:34 (5/5) Installing zeromq (4.3.4-r0) 00:33:34 Executing busybox-1.35.0-r13.trigger 00:33:34 OK: 8 MiB in 19 packages 00:33:35 Removing intermediate container 7688265d8e0a 00:33:35 ---> bf5d1d2a3224 00:33:35 Step 16/25 : WORKDIR / 00:33:35 ---> Running in b8d0a9e2ecdb 00:33:35 Removing intermediate container b8d0a9e2ecdb 00:33:35 ---> 30e98090e8f5 00:33:35 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:33:36 ---> 172ca7d9dc0a 00:33:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:33:37 ---> b46454fb7680 00:33:37 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:33:38 ---> a2b678e113ea 00:33:38 Step 20/25 : EXPOSE 59999 00:33:38 ---> Running in 490b2fdd8460 00:33:38 Removing intermediate container 490b2fdd8460 00:33:38 ---> d3c48e388de0 00:33:38 Step 21/25 : ENTRYPOINT ["/device-simple"] 00:33:38 ---> Running in 0fb3ec54c687 00:33:38 Removing intermediate container 0fb3ec54c687 00:33:38 ---> 59666e729833 00:33:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:33:39 ---> Running in 5307fe3c3e05 00:33:39 Removing intermediate container 5307fe3c3e05 00:33:39 ---> 65b168f138d9 00:33:39 Step 23/25 : LABEL arch=arm64 00:33:39 ---> Running in acabf605ddf7 00:33:39 Removing intermediate container acabf605ddf7 00:33:39 ---> 78bbc40f302e 00:33:39 Step 24/25 : LABEL git_sha=16c2613fc80d254d67c62bfb74bfca7a95c75b63 00:33:39 ---> Running in 102cd7ff8ff6 00:33:40 Removing intermediate container 102cd7ff8ff6 00:33:40 ---> 61f7a020cc64 00:33:40 Step 25/25 : LABEL version=0.0.0 00:33:40 ---> Running in d509eee9c998 00:33:40 Removing intermediate container d509eee9c998 00:33:40 ---> 8553f64f71c7 00:33:40 [Warning] One or more build-args [ARCH] were not consumed 00:33:40 Successfully built 8553f64f71c7 00:33:40 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 00:33:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:33:41 00:33:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:33:42 arm64: Pulling from edgex-lftools-log-publisher 00:33:42 8998bd30e6a1: Pulling fs layer 00:33:42 04944245beec: Pulling fs layer 00:33:42 699f458cf7ca: Pulling fs layer 00:33:42 765212b225bb: Pulling fs layer 00:33:42 f23df028b6ca: Pulling fs layer 00:33:42 d65c8cfc05b1: Pulling fs layer 00:33:42 2437ff75d9bd: Pulling fs layer 00:33:42 765212b225bb: Waiting 00:33:42 f23df028b6ca: Waiting 00:33:42 d65c8cfc05b1: Waiting 00:33:42 2437ff75d9bd: Waiting 00:33:42 04944245beec: Verifying Checksum 00:33:42 04944245beec: Download complete 00:33:42 765212b225bb: Verifying Checksum 00:33:42 765212b225bb: Download complete 00:33:42 f23df028b6ca: Verifying Checksum 00:33:42 f23df028b6ca: Download complete 00:33:42 d65c8cfc05b1: Download complete 00:33:42 699f458cf7ca: Verifying Checksum 00:33:42 699f458cf7ca: Download complete 00:33:42 8998bd30e6a1: Download complete 00:33:45 2437ff75d9bd: Verifying Checksum 00:33:45 2437ff75d9bd: Download complete 00:33:46 8998bd30e6a1: Pull complete 00:33:47 04944245beec: Pull complete 00:33:48 699f458cf7ca: Pull complete 00:33:49 765212b225bb: Pull complete 00:33:49 f23df028b6ca: Pull complete 00:33:49 d65c8cfc05b1: Pull complete 00:34:05 2437ff75d9bd: Pull complete 00:34:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:34:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:34:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:05 prd-ubuntu20.04-docker-arm64-4c-16g-20173 does not seem to be running inside a container 00:34:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:34:08 $ docker top 53c9aed7de66d68e25cb7b5666c271881b59a123bd775f75b6b281e47a2b19de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:09 ---> job-cost.sh 00:34:09 lf-activate-venv: SKIPPING 00:34:09 INFO: No Stack... 00:34:09 INFO: Retrieving Pricing Info for: v3-standard-4 00:34:10 INFO: Archiving Costs [Pipeline] sh 00:34:11 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 00:34:11 + cut -d, -f6 [Pipeline] lock 00:34:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] 00:34:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] did not exist. Created. 00:34:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:34:12 /w/workspace/device-sdk-go/1@tmp/durable-18a8ebcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:34:12 + echo total: 0.10999999940395355 [Pipeline] stash 00:34:12 Warning: overwriting stash ‘stack-cost’ 00:34:12 Stashed 1 file(s) [Pipeline] } 00:34:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:34:12 $ docker stop --time=1 53c9aed7de66d68e25cb7b5666c271881b59a123bd775f75b6b281e47a2b19de 00:34:14 $ docker rm -f 53c9aed7de66d68e25cb7b5666c271881b59a123bd775f75b6b281e47a2b19de [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 00:34:15 provisioning config files... 00:34:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config1967711759764386128tmp [Pipeline] { [Pipeline] sh 00:34:15 + set +x 00:34:15 + curl -s https://codecov.io/bash 00:34:15 + bash -s -- 00:34:16 00:34:16 _____ _ 00:34:16 / ____| | | 00:34:16 | | ___ __| | ___ ___ _____ __ 00:34:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:34:16 | |___| (_) | (_| | __/ (_| (_) \ V / 00:34:16 \_____\___/ \__,_|\___|\___\___/ \_/ 00:34:16 Bash-1.0.6 00:34:16 00:34:16 00:34:16 ==> git version 2.25.1 found 00:34:16 ==> 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 00:34:16 Release-Date: 2020-01-08 00:34:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:34:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:34:16 ==> Jenkins CI detected. 00:34:16 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1194 00:34:16 project root: . 00:34:16 --> token set from env 00:34:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:34:16 ==> Running gcov in . (disable via -X gcov) 00:34:16 ==> Python coveragepy not found 00:34:16 ==> Searching for coverage reports in: 00:34:16 + . 00:34:16 -> Found 1 reports 00:34:16 ==> Detecting git/mercurial file structure 00:34:16 ==> Reading reports 00:34:16 + ./coverage.out bytes=131352 00:34:16 ==> Appending adjustments 00:34:16 https://docs.codecov.io/docs/fixing-reports 00:34:16 + Found adjustments 00:34:16 ==> Gzipping contents 00:34:16 20K /tmp/codecov.vOapm7.gz 00:34:16 ==> Uploading reports 00:34:16 url: https://codecov.io 00:34:16 query: branch=PR-1194&commit=16c2613fc80d254d67c62bfb74bfca7a95c75b63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1194&job=&cmd_args= 00:34:16 -> Pinging Codecov 00:34:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1194&commit=16c2613fc80d254d67c62bfb74bfca7a95c75b63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1194&job=&cmd_args= 00:34:16 -> Uploading to 00:34:16 https://storage.googleapis.com/codecov/v4/raw/2022-07-15/7E55EF52A471D76F132DFD9A03CDDE97/16c2613fc80d254d67c62bfb74bfca7a95c75b63/88f01eb3-5f11-44ef-b197-916d6324cc40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220715T003416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1df607f71b0e73609b18d42b676f97eacdb3741c0e3be67798815db5e1e3f050 00:34:16 % Total % Received % Xferd Average Speed Time Time Time Current 00:34:16 Dload Upload Total Spent Left Speed 00:34:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17272 0 0 100 17272 0 67206 --:--:-- --:--:-- --:--:-- 67206 00:34:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] } 00:34:17 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 00:34:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives ] 00:34:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives 00:34:18 total 16 00:34:18 drwxr-xr-x 3 root root 4096 Jul 15 00:23 . 00:34:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 00:23 .. 00:34:18 drwxr-xr-x 2 root root 4096 Jul 15 00:23 cost 00:34:18 -rw-r--r-- 1 root root 85 Jul 15 00:23 cost.csv 00:34:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives 00:34:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives 00:34:18 total 16 00:34:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 00:23 . 00:34:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 00:23 .. 00:34:18 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 00:23 cost 00:34:18 -rw-r--r-- 1 jenkins jenkins 85 Jul 15 00:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:34:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:34:20 ---> package-listing.sh 00:34:20 ++ facter osfamily 00:34:20 ++ tr '[:upper:]' '[:lower:]' 00:34:20 + OS_FAMILY=debian 00:34:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1194 00:34:20 + START_PACKAGES=/tmp/packages_start.txt 00:34:20 + END_PACKAGES=/tmp/packages_end.txt 00:34:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:34:20 + PACKAGES=/tmp/packages_start.txt 00:34:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1194 ']' 00:34:20 + PACKAGES=/tmp/packages_end.txt 00:34:20 + case "${OS_FAMILY}" in 00:34:20 + dpkg -l 00:34:20 + grep '^ii' 00:34:20 + '[' -f /tmp/packages_start.txt ']' 00:34:20 + '[' -f /tmp/packages_end.txt ']' 00:34:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:34:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1194 ']' 00:34:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives/ 00:34:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives/ [Pipeline] echo 00:34:20 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-1194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:34:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:21 prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container 00:34:21 $ 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-1194/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-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:34:22 $ docker top 654b031e7e2f4ae069d2dbcf970fa0eec8e3194e33498d03968745b36546512e -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:22 + touch /tmp/pre-build-complete [Pipeline] sh 00:34:23 + mkdir -p /var/log/sysstat [Pipeline] sh 00:34:23 + ls /var/log/sa-host 00:34:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:34:23 provisioning config files... 00:34:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config290169491623135065tmp [Pipeline] { [Pipeline] echo 00:34:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:34:23 ---> create-netrc.sh [Pipeline] } 00:34:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:34:24 ---> python-tools-install.sh [Pipeline] echo 00:34:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:34:24 ---> sudo-logs.sh 00:34:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:34:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:34:25 ---> job-cost.sh 00:34:25 lf-activate-venv: SKIPPING 00:34:25 DEBUG: total: 0.2199999988079071 00:34:25 INFO: Retrieving Stack Cost... 00:34:25 INFO: Retrieving Pricing Info for: v3-standard-8 00:34:25 INFO: Archiving Costs [Pipeline] echo 00:34:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:34:26 ---> logs-deploy.sh 00:34:26 lf-activate-venv: SKIPPING 00:34:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1194/1 00:34:26 INFO: archiving workspace using pattern(s): 00:34:27 Archives upload complete. 00:34:27 INFO: archiving logs to Nexus 00:34:28 ---> uname -a: 00:34:28 Linux prd-ubuntu20-04-docker-8c-8g-20172 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:34:28 00:34:28 00:34:28 ---> lscpu: 00:34:28 Architecture: x86_64 00:34:28 CPU op-mode(s): 32-bit, 64-bit 00:34:28 Byte Order: Little Endian 00:34:28 Address sizes: 40 bits physical, 48 bits virtual 00:34:28 CPU(s): 8 00:34:28 On-line CPU(s) list: 0-7 00:34:28 Thread(s) per core: 1 00:34:28 Core(s) per socket: 1 00:34:28 Socket(s): 8 00:34:28 NUMA node(s): 1 00:34:28 Vendor ID: AuthenticAMD 00:34:28 CPU family: 23 00:34:28 Model: 49 00:34:28 Model name: AMD EPYC-Rome Processor 00:34:28 Stepping: 0 00:34:28 CPU MHz: 2799.976 00:34:28 BogoMIPS: 5599.95 00:34:28 Virtualization: AMD-V 00:34:28 Hypervisor vendor: KVM 00:34:28 Virtualization type: full 00:34:28 L1d cache: 256 KiB 00:34:28 L1i cache: 256 KiB 00:34:28 L2 cache: 4 MiB 00:34:28 L3 cache: 128 MiB 00:34:28 NUMA node0 CPU(s): 0-7 00:34:28 Vulnerability Itlb multihit: Not affected 00:34:28 Vulnerability L1tf: Not affected 00:34:28 Vulnerability Mds: Not affected 00:34:28 Vulnerability Meltdown: Not affected 00:34:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:34:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:34:28 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:34:28 Vulnerability Srbds: Not affected 00:34:28 Vulnerability Tsx async abort: Not affected 00:34:28 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 00:34:28 00:34:28 00:34:28 ---> nproc: 00:34:28 8 00:34:28 00:34:28