Pull request #1204 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 marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at ad939af23b2d854541ed37c0929478efa4c7d7f6 rather than d0b10103318c9765db0acdc2a072651fb8b50c93 Obtained Jenkinsfile from ad939af23b2d854541ed37c0929478efa4c7d7f6 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-ssh358952304348211562.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-ssh15512711079793716821.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-1204/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-1204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9608374356637671477.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-1204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5095039390073857166.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-ssh18228991356906382515.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1204/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-1204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14107895750639281134.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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-21384’ Running on prd-ubuntu20.04-docker-8c-8g-21387 in /w/workspace/gexfoundry_device-sdk-go_PR-1204 [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-1204 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit d0b10103318c9765db0acdc2a072651fb8b50c93 Merge succeeded, producing d0b10103318c9765db0acdc2a072651fb8b50c93 Checking out Revision d0b10103318c9765db0acdc2a072651fb8b50c93 (PR-1204) > 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/1204/head:refs/remotes/origin/PR-1204 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # timeout=10 Commit message: "fix: DeviceServiceSDK needed to be updated for the new methods that were recently added" 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 18:19:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:19:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:19:29 ========================================================= 18:19:29 EdgeX Global Pipelines Version Info 18:19:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:19:30 ------------------- 18:19:30 stable info: 18:19:30 ------------------- 18:19:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:19:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:19:30 Message: update stable to v1.0.238 18:19:30 ------------------- 18:19:30 experimental info: 18:19:30 ------------------- 18:19:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:19:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:19:30 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:19:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1204 [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1204 [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1204 [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0b1010 [Pipeline] echo 18:19:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:32 provisioning config files... 18:19:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config6161528577417570296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:33 ---> docker-login.sh 18:19:33 nexus3.edgexfoundry.org:10001 18:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:33 Configure a credential helper to remove this warning. See 18:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:33 18:19:33 Login Succeeded 18:19:33 nexus3.edgexfoundry.org:10002 18:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:33 Configure a credential helper to remove this warning. See 18:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:33 18:19:33 Login Succeeded 18:19:33 nexus3.edgexfoundry.org:10003 18:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:33 Configure a credential helper to remove this warning. See 18:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:33 18:19:33 Login Succeeded 18:19:33 nexus3.edgexfoundry.org:10004 18:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:34 Configure a credential helper to remove this warning. See 18:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:34 18:19:34 Login Succeeded 18:19:34 docker.io 18:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:34 Configure a credential helper to remove this warning. See 18:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:34 18:19:34 Login Succeeded 18:19:34 ---> docker-login.sh ends [Pipeline] } 18:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:19:35 + git rev-list -1 --merges d0b10103318c9765db0acdc2a072651fb8b50c93~1..d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo 18:19:35 -----------> git rev-list -1 --merges d0b10103318c9765db0acdc2a072651fb8b50c93~1..d0b10103318c9765db0acdc2a072651fb8b50c93 d0b10103318c9765db0acdc2a072651fb8b50c93 [false] [Pipeline] sh 18:19:35 + git log --format=format:%s -1 d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo 18:19:35 ========================================================= 18:19:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:19:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:19:35 + git log --format=format:%s -1 d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo 18:19:36 [semverPrep] GIT_COMMIT: d0b10103318c9765db0acdc2a072651fb8b50c93, Commit Message: fix: DeviceServiceSDK needed to be updated for the new methods that were recently added [Pipeline] echo 18:19:36 [semverPrep] This is not a build commit. [Pipeline] sh 18:19:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:19:36 + grep -v github /etc/ssh/ssh_known_hosts 18:19:36 + [ -e /tmp/ssh_known_hosts ] 18:19:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:19:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:19:36 + sudo tee -a /etc/ssh/ssh_known_hosts 18:19:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:19:36 18:19:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:19:37 0.1.4: Pulling from edgex-devops/py-git-semver 18:19:37 b85a868b505f: Pulling fs layer 18:19:37 e2be974225ed: Pulling fs layer 18:19:37 339a4e72a1f5: Pulling fs layer 18:19:37 988bab9f4d93: Pulling fs layer 18:19:37 1469e6f7b9e6: Pulling fs layer 18:19:37 eaf3925da568: Pulling fs layer 18:19:37 bab4dde63d76: Pulling fs layer 18:19:37 bde34c3a00c8: Pulling fs layer 18:19:37 b352a97aabf1: Pulling fs layer 18:19:37 4872d77fe225: Pulling fs layer 18:19:37 5851b861e8e6: Pulling fs layer 18:19:37 1469e6f7b9e6: Waiting 18:19:37 eaf3925da568: Waiting 18:19:37 bab4dde63d76: Waiting 18:19:37 bde34c3a00c8: Waiting 18:19:37 b352a97aabf1: Waiting 18:19:37 4872d77fe225: Waiting 18:19:37 5851b861e8e6: Waiting 18:19:37 988bab9f4d93: Waiting 18:19:37 e2be974225ed: Verifying Checksum 18:19:37 e2be974225ed: Download complete 18:19:37 988bab9f4d93: Download complete 18:19:37 339a4e72a1f5: Verifying Checksum 18:19:37 339a4e72a1f5: Download complete 18:19:37 eaf3925da568: Download complete 18:19:37 1469e6f7b9e6: Verifying Checksum 18:19:37 1469e6f7b9e6: Download complete 18:19:37 bde34c3a00c8: Download complete 18:19:37 b352a97aabf1: Verifying Checksum 18:19:37 b352a97aabf1: Download complete 18:19:37 4872d77fe225: Download complete 18:19:37 5851b861e8e6: Download complete 18:19:37 b85a868b505f: Verifying Checksum 18:19:37 b85a868b505f: Download complete 18:19:37 bab4dde63d76: Verifying Checksum 18:19:37 bab4dde63d76: Download complete 18:19:38 b85a868b505f: Pull complete 18:19:39 e2be974225ed: Pull complete 18:19:39 339a4e72a1f5: Pull complete 18:19:39 988bab9f4d93: Pull complete 18:19:39 1469e6f7b9e6: Pull complete 18:19:40 eaf3925da568: Pull complete 18:19:42 bab4dde63d76: Pull complete 18:19:42 bde34c3a00c8: Pull complete 18:19:42 b352a97aabf1: Pull complete 18:19:42 4872d77fe225: Pull complete 18:19:42 5851b861e8e6: Pull complete 18:19:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:19:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:19:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:42 prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container 18:19:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:19:44 $ docker top 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 -eo pid,comm 18:19:44 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). 18:19:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:44 [ssh-agent] Looking for ssh-agent implementation... 18:19:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:44 $ docker exec 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent 18:19:44 SSH_AUTH_SOCK=/tmp/ssh-kdkzkFWsNibM/agent.33 18:19:44 SSH_AGENT_PID=39 18:19:44 Running ssh-add (command line suppressed) 18:19:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_3715008765461982952.key (/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_3715008765461982952.key) 18:19:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:45 + git tag --points-at HEAD [Pipeline] } 18:19:45 $ docker exec --env ******** --env ******** 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent -k 18:19:45 unset SSH_AUTH_SOCK; 18:19:45 unset SSH_AGENT_PID; 18:19:45 echo Agent pid 39 killed; 18:19:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:19:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:45 [ssh-agent] Looking for ssh-agent implementation... 18:19:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:45 $ docker exec 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent 18:19:45 SSH_AUTH_SOCK=/tmp/ssh-0eSiKuugTae3/agent.71 18:19:45 SSH_AGENT_PID=77 18:19:45 Running ssh-add (command line suppressed) 18:19:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_8267713154803914200.key (/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_8267713154803914200.key) 18:19:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:46 + git semver init 18:19:46 2022-07-28 18:19:46,307 [run_init] DEBUG init version:0.0.0 force:False 18:19:46 2022-07-28 18:19:46,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver 18:19:46 2022-07-28 18:19:46,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver 18:19:46 2022-07-28 18:19:46,308 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1204, universal_newlines=False, shell=None, istream=None) 18:19:47 2022-07-28 18:19:47,147 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.git/info/exclude 18:19:47 2022-07-28 18:19:47,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver/PR-1204 with force:False 18:19:47 2022-07-28 18:19:47,148 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver/PR-1204 18:19:47 2022-07-28 18:19:47,152 [execute] INFO git cat-file --batch-check 18:19:47 2022-07-28 18:19:47,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver, universal_newlines=False, shell=None, istream=) 18:19:47 2022-07-28 18:19:47,160 [execute] INFO git cat-file --batch 18:19:47 2022-07-28 18:19:47,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver, universal_newlines=False, shell=None, istream=) 18:19:47 2022-07-28 18:19:47,165 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver/PR-1204 18:19:47 0.0.0 [Pipeline] } 18:19:47 $ docker exec --env ******** --env ******** 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent -k 18:19:47 unset SSH_AUTH_SOCK; 18:19:47 unset SSH_AGENT_PID; 18:19:47 echo Agent pid 77 killed; 18:19:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:47 + git semver [Pipeline] } 18:19:48 $ docker stop --time=1 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 18:19:49 $ docker rm -f 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 [Pipeline] // withDockerContainer [Pipeline] sh 18:19:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:19:50 Stashed 1 file(s) [Pipeline] echo 18:19:50 [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 18:19:50 provisioning config files... 18:19:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config894292657967354901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:51 ---> docker-login.sh 18:19:51 nexus3.edgexfoundry.org:10001 18:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:51 Configure a credential helper to remove this warning. See 18:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:51 18:19:51 Login Succeeded 18:19:51 nexus3.edgexfoundry.org:10002 18:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:51 Configure a credential helper to remove this warning. See 18:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:51 18:19:51 Login Succeeded 18:19:51 nexus3.edgexfoundry.org:10003 18:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:51 Configure a credential helper to remove this warning. See 18:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:51 18:19:51 Login Succeeded 18:19:51 nexus3.edgexfoundry.org:10004 18:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:51 Configure a credential helper to remove this warning. See 18:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:51 18:19:51 Login Succeeded 18:19:51 docker.io 18:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:52 Configure a credential helper to remove this warning. See 18:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:52 18:19:52 Login Succeeded 18:19:52 ---> docker-login.sh ends [Pipeline] } 18:19:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:19:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:19:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:19:52 ========================================================= 18:19:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:19:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:53 + 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 . 18:19:53 Sending build context to Docker daemon 9.774MB 18:19:53 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 18:19:53 Step 2/11 : FROM ${BASE} AS builder 18:19:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:19:53 2408cc74d12b: Pulling fs layer 18:19:53 ea60b727a1ce: Pulling fs layer 18:19:53 30c4a7721957: Pulling fs layer 18:19:53 370296b7ddb6: Pulling fs layer 18:19:53 7c6cee850709: Pulling fs layer 18:19:53 39a5fcdaea64: Pulling fs layer 18:19:53 d94ebbe4e438: Pulling fs layer 18:19:53 bcfd1f05c69d: Pulling fs layer 18:19:53 59ccb84bbe0f: Pulling fs layer 18:19:53 39a5fcdaea64: Waiting 18:19:53 d94ebbe4e438: Waiting 18:19:53 59ccb84bbe0f: Waiting 18:19:53 370296b7ddb6: Waiting 18:19:53 bcfd1f05c69d: Waiting 18:19:53 7c6cee850709: Waiting 18:19:53 30c4a7721957: Verifying Checksum 18:19:53 30c4a7721957: Download complete 18:19:53 ea60b727a1ce: Download complete 18:19:53 7c6cee850709: Verifying Checksum 18:19:53 7c6cee850709: Download complete 18:19:53 39a5fcdaea64: Verifying Checksum 18:19:53 39a5fcdaea64: Download complete 18:19:53 2408cc74d12b: Download complete 18:19:53 d94ebbe4e438: Verifying Checksum 18:19:53 d94ebbe4e438: Download complete 18:19:53 2408cc74d12b: Pull complete 18:19:53 ea60b727a1ce: Pull complete 18:19:53 30c4a7721957: Pull complete 18:19:54 370296b7ddb6: Verifying Checksum 18:19:54 370296b7ddb6: Download complete 18:19:54 bcfd1f05c69d: Verifying Checksum 18:19:54 bcfd1f05c69d: Download complete 18:19:54 59ccb84bbe0f: Verifying Checksum 18:19:54 59ccb84bbe0f: Download complete 18:19:58 370296b7ddb6: Pull complete 18:19:58 7c6cee850709: Pull complete 18:19:58 39a5fcdaea64: Pull complete 18:19:58 d94ebbe4e438: Pull complete 18:20:00 bcfd1f05c69d: Pull complete 18:20:01 59ccb84bbe0f: Pull complete 18:20:01 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:20:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:20:01 ---> a4fb48ad2a94 18:20:01 Step 3/11 : ARG MAKE=make build 18:20:03 ---> Running in 723ae99b56b5 18:20:03 Removing intermediate container 723ae99b56b5 18:20:03 ---> 854275a3fbc3 18:20:03 Step 4/11 : WORKDIR /device-sdk-go 18:20:03 ---> Running in c391a80625f0 18:20:03 Removing intermediate container c391a80625f0 18:20:03 ---> 31ee56f51378 18:20:03 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:20:03 ---> Running in 4cd6343cb621 18:20:03 Removing intermediate container 4cd6343cb621 18:20:03 ---> 6b8e08ac770e 18:20:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:20:03 ---> Running in bbab4f8c97a4 18:20:04 Removing intermediate container bbab4f8c97a4 18:20:04 ---> 4d4d6028a1f8 18:20:04 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:20:04 ---> Running in 06075dfd3c20 18:20:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:20:05 Still waiting to schedule task 18:20:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21385’ 18:20:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:20:05 OK: 211 MiB in 51 packages 18:20:06 Removing intermediate container 06075dfd3c20 18:20:06 ---> 60fc6923c148 18:20:06 Step 8/11 : COPY go.mod vendor* ./ 18:20:06 ---> 5d03e3159faf 18:20:06 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:06 ---> Running in 2155af40d48e 18:20:21 Removing intermediate container 2155af40d48e 18:20:21 ---> fbdf1d480492 18:20:21 Step 10/11 : COPY . . 18:20:22 ---> 5f7fec7c5baf 18:20:22 Step 11/11 : RUN ${MAKE} 18:20:22 ---> Running in b3c5eaaf873d 18:20:22 noop 18:20:22 Removing intermediate container b3c5eaaf873d 18:20:22 ---> aee426b50748 18:20:22 Successfully built aee426b50748 18:20:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:23 + docker inspect -f . ci-base-image-x86_64 18:20:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:23 prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container 18:20:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@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 ******** ci-base-image-x86_64 cat 18:20:23 $ docker top 4cf67eb61e814e799822d6bcf651e13e706155f5000f6cce6eb7aa82f5ac9f9a -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:24 + go version 18:20:24 go version go1.18.3 linux/amd64 [Pipeline] } 18:20:24 $ docker stop --time=1 4cf67eb61e814e799822d6bcf651e13e706155f5000f6cce6eb7aa82f5ac9f9a 18:20:25 $ docker rm -f 4cf67eb61e814e799822d6bcf651e13e706155f5000f6cce6eb7aa82f5ac9f9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:26 + docker inspect -f . ci-base-image-x86_64 18:20:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:26 prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container 18:20:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@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 ******** ci-base-image-x86_64 cat 18:20:26 $ docker top f43de94116e4fbca6e481064681b9a278a83363a0b2e06b2c7fd375af29f3373 -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1204 [Pipeline] fileExists [Pipeline] sh 18:20:27 + make test 18:20:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:20:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.073s coverage: 23.7% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.061s coverage: 10.8% of statements 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 60.0% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 34.8% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.073s coverage: 85.4% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.766s coverage: 89.2% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:20:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.7% of statements 18:20:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:21:01 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." 18:21:01 GO111MODULE=on go vet ./... 18:21:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:04 ./bin/test-attribution-txt.sh 18:21:04 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 18:21:04 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 18:21:04 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 18:21:04 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 18:21:04 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 18:21:04 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 18:21:04 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 18:21:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:04 $ docker stop --time=1 f43de94116e4fbca6e481064681b9a278a83363a0b2e06b2c7fd375af29f3373 18:21:06 $ docker rm -f f43de94116e4fbca6e481064681b9a278a83363a0b2e06b2c7fd375af29f3373 [Pipeline] // withDockerContainer [Pipeline] sh 18:21:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:21:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:08 + ls -al . 18:21:08 total 304 18:21:08 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 18:20 . 18:21:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:19 .. 18:21:08 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 18:19 .dockerignore 18:21:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 18:20 .git 18:21:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:19 .github 18:21:08 -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 18:19 .gitignore 18:21:08 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 18:19 .golangci.yml 18:21:08 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 18:19 .semver 18:21:08 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 18:19 CHANGELOG.md 18:21:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 18:19 GOVERNANCE.md 18:21:08 -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 18:19 Jenkinsfile 18:21:08 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 18:19 LICENSE 18:21:08 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 18:19 Makefile 18:21:08 -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 18:19 OWNERS.md 18:21:08 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 18:19 README.md 18:21:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 18:19 VERSION 18:21:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:19 bin 18:21:08 -rw-r--r-- 1 jenkins jenkins 131677 Jul 28 18:20 coverage.out 18:21:08 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 18:19 example 18:21:08 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 18:19 go.mod 18:21:08 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 18:19 go.sum 18:21:08 drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 18:19 internal 18:21:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 18:19 openapi 18:21:08 drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 18:19 pkg 18:21:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:19 snap 18:21:08 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 18:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:08 + 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=d0b10103318c9765db0acdc2a072651fb8b50c93 --label arch=amd64 --label version=0.0.0 . 18:21:08 Sending build context to Docker daemon 9.906MB 18:21:08 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:21:08 Step 2/25 : FROM ${BASE} AS builder 18:21:08 ---> aee426b50748 18:21:08 Step 3/25 : ARG MAKE=make build 18:21:08 ---> Running in a98d6896a170 18:21:08 Removing intermediate container a98d6896a170 18:21:08 ---> f6da67fd85e7 18:21:08 Step 4/25 : WORKDIR /device-sdk-go 18:21:08 ---> Running in 484cd5044d87 18:21:08 Removing intermediate container 484cd5044d87 18:21:08 ---> e4c534335f9d 18:21:08 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:21:08 ---> Running in 9ec0ad71e6d0 18:21:08 Removing intermediate container 9ec0ad71e6d0 18:21:08 ---> adfcc3865dba 18:21:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:08 ---> Running in 016f8c4678f6 18:21:09 Removing intermediate container 016f8c4678f6 18:21:09 ---> 114dd14c7939 18:21:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:21:09 ---> Running in 81e6400dc694 18:21:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:21:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:21:11 OK: 211 MiB in 51 packages 18:21:11 Removing intermediate container 81e6400dc694 18:21:11 ---> 56a21aec2383 18:21:11 Step 8/25 : COPY go.mod vendor* ./ 18:21:11 ---> 6ea32dd31415 18:21:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:11 ---> Running in d4a7cff5b312 18:21:12 Removing intermediate container d4a7cff5b312 18:21:12 ---> 071e13fd54d5 18:21:12 Step 10/25 : COPY . . 18:21:12 ---> 6e57c808f128 18:21:12 Step 11/25 : RUN ${MAKE} 18:21:12 ---> Running in 78b59b471af3 18:21:12 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 18:21:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:21:31 Removing intermediate container 78b59b471af3 18:21:31 ---> 902621579a28 18:21:31 Step 12/25 : FROM alpine:3.16 18:21:31 3.16: Pulling from library/alpine 18:21:31 530afca65e2e: Pulling fs layer 18:21:31 530afca65e2e: Verifying Checksum 18:21:31 530afca65e2e: Download complete 18:21:32 530afca65e2e: Pull complete 18:21:32 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 18:21:32 Status: Downloaded newer image for alpine:3.16 18:21:32 ---> d7d3d98c851f 18:21:32 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:21:32 ---> Running in fa6ab9a5694c 18:21:32 Removing intermediate container fa6ab9a5694c 18:21:32 ---> f5d8f32998d7 18:21:32 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:32 ---> Running in a001f6dda8f1 18:21:32 Removing intermediate container a001f6dda8f1 18:21:32 ---> 0b5942771f99 18:21:32 Step 15/25 : RUN apk add --update --no-cache zeromq 18:21:32 ---> Running in 1b058f98eebc 18:21:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:21:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:21:34 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:21:34 (2/5) Installing libsodium (1.0.18-r0) 18:21:34 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:21:34 (4/5) Installing libzmq (4.3.4-r0) 18:21:34 (5/5) Installing zeromq (4.3.4-r0) 18:21:34 Executing busybox-1.35.0-r15.trigger 18:21:34 OK: 8 MiB in 19 packages 18:21:35 Removing intermediate container 1b058f98eebc 18:21:35 ---> 9ea3ea38ab69 18:21:35 Step 16/25 : WORKDIR / 18:21:35 ---> Running in fdd93b6c6920 18:21:35 Removing intermediate container fdd93b6c6920 18:21:35 ---> d80723ce34a9 18:21:35 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:21:35 ---> 76f6e1054165 18:21:35 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:21:35 ---> fbf7d22441db 18:21:35 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:21:36 ---> 040ff78ed7bc 18:21:36 Step 20/25 : EXPOSE 59999 18:21:36 ---> Running in 67a79e968b61 18:21:36 Removing intermediate container 67a79e968b61 18:21:36 ---> d929e27c4093 18:21:36 Step 21/25 : ENTRYPOINT ["/device-simple"] 18:21:36 ---> Running in 4bb2c9f355c3 18:21:36 Removing intermediate container 4bb2c9f355c3 18:21:36 ---> aa218e30cbc5 18:21:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:21:36 ---> Running in 6d7cf8498328 18:21:36 Removing intermediate container 6d7cf8498328 18:21:36 ---> b36b827e6138 18:21:36 Step 23/25 : LABEL arch=amd64 18:21:36 ---> Running in 1c04f5fdd91d 18:21:36 Removing intermediate container 1c04f5fdd91d 18:21:36 ---> 0139d64ac93f 18:21:36 Step 24/25 : LABEL git_sha=d0b10103318c9765db0acdc2a072651fb8b50c93 18:21:36 ---> Running in 93620e1ae7de 18:21:36 Removing intermediate container 93620e1ae7de 18:21:36 ---> 64a6df63180b 18:21:36 Step 25/25 : LABEL version=0.0.0 18:21:36 ---> Running in ff2b9b76859e 18:21:36 Removing intermediate container ff2b9b76859e 18:21:36 ---> 14ff31197c0b 18:21:36 [Warning] One or more build-args [ARCH] were not consumed 18:21:36 Successfully built 14ff31197c0b 18:21:36 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 18:21:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:21:37 18:21:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:21:38 latest: Pulling from edgex-lftools-log-publisher 18:21:38 5eb5b503b376: Pulling fs layer 18:21:38 5c69ac0246d0: Pulling fs layer 18:21:38 ec43610c2a17: Pulling fs layer 18:21:38 3a2ae6a8a46f: Pulling fs layer 18:21:38 33b1e0a273af: Pulling fs layer 18:21:38 5d3b04190fa2: Pulling fs layer 18:21:38 2f39f015ded8: Pulling fs layer 18:21:38 33b1e0a273af: Waiting 18:21:38 5c69ac0246d0: Verifying Checksum 18:21:38 5c69ac0246d0: Download complete 18:21:38 3a2ae6a8a46f: Download complete 18:21:38 33b1e0a273af: Verifying Checksum 18:21:38 33b1e0a273af: Download complete 18:21:38 5d3b04190fa2: Verifying Checksum 18:21:38 5d3b04190fa2: Download complete 18:21:38 ec43610c2a17: Verifying Checksum 18:21:38 ec43610c2a17: Download complete 18:21:38 5eb5b503b376: Verifying Checksum 18:21:38 5eb5b503b376: Download complete 18:21:38 2f39f015ded8: Download complete 18:21:39 5eb5b503b376: Pull complete 18:21:39 5c69ac0246d0: Pull complete 18:21:39 ec43610c2a17: Pull complete 18:21:40 3a2ae6a8a46f: Pull complete 18:21:40 33b1e0a273af: Pull complete 18:21:40 5d3b04190fa2: Pull complete 18:21:44 2f39f015ded8: Pull complete 18:21:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:21:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:44 prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container 18:21:44 $ 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-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@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 18:21:46 $ docker top 497d14eb875b8a3302646120409b21892fc0a49b70de6eaebe6d564a8bda504d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:21:47 ---> job-cost.sh 18:21:47 lf-activate-venv: SKIPPING 18:21:47 INFO: No Stack... 18:21:47 INFO: Retrieving Pricing Info for: v3-standard-8 18:21:47 INFO: Archiving Costs [Pipeline] sh 18:21:48 + cut -d, -f6 18:21:48 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives/cost.csv [Pipeline] lock 18:21:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] 18:21:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] did not exist. Created. 18:21:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:21:48 + echo total: 0.2199999988079071 [Pipeline] stash 18:21:48 Stashed 1 file(s) [Pipeline] } 18:21:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:21:48 $ docker stop --time=1 497d14eb875b8a3302646120409b21892fc0a49b70de6eaebe6d564a8bda504d 18:21:50 $ docker rm -f 497d14eb875b8a3302646120409b21892fc0a49b70de6eaebe6d564a8bda504d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:23:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21388 in /w/workspace/gexfoundry_device-sdk-go_PR-1204 [Pipeline] { [Pipeline] ws 18:23:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:23:38 The recommended git tool is: git 18:23:45 using credential edgex-jenkins-ssh 18:23:45 Cloning the remote Git repository 18:23:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:23:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:23:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:23:45 > git --version # timeout=10 18:23:45 > git --version # 'git version 2.25.1' 18:23:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:23:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:23:47 Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit d0b10103318c9765db0acdc2a072651fb8b50c93 18:23:48 Merge succeeded, producing d0b10103318c9765db0acdc2a072651fb8b50c93 18:23:48 Checking out Revision d0b10103318c9765db0acdc2a072651fb8b50c93 (PR-1204) 18:23:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:23:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1204/head:refs/remotes/origin/PR-1204 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:23:47 > git config core.sparsecheckout # timeout=10 18:23:47 > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # timeout=10 18:23:48 > git remote # timeout=10 18:23:48 > git config --get remote.origin.url # timeout=10 18:23:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:48 > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 18:23:48 > git rev-parse HEAD^{commit} # timeout=10 18:23:48 > git config core.sparsecheckout # timeout=10 18:23:48 > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # timeout=10 18:23:52 Commit message: "fix: DeviceServiceSDK needed to be updated for the new methods that were recently added" 18:23:52 > git --version # timeout=10 18:23:52 > git --version # 'git version 2.25.1' 18:23:52 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:23:53 % Total % Received % Xferd Average Speed Time Time Time Current 18:23:53 Dload Upload Total Spent Left Speed 18:23:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 64229 0 --:--:-- --:--:-- --:--:-- 64229 [Pipeline] sh 18:23:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:23:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 18:23:54 sudo tee /etc/docker/daemon.new 18:23:54 { 18:23:54 "registry-mirrors": [ 18:23:54 "https://nexus3.edgexfoundry.org:10001" 18:23:54 ], 18:23:54 "bip": "10.250.0.254/24", 18:23:54 "hosts": [ 18:23:54 "tcp://0.0.0.0:5555", 18:23:54 "unix:///var/run/docker.sock" 18:23:54 ], 18:23:54 "mtu": 1458, 18:23:54 "selinux-enabled": true, 18:23:54 "seccomp-profile": "/etc/docker/seccomp.json" 18:23:54 } [Pipeline] sh 18:23:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:23:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:13 provisioning config files... 18:24:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config559567876994427237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:14 ---> docker-login.sh 18:24:14 nexus3.edgexfoundry.org:10001 18:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:15 Configure a credential helper to remove this warning. See 18:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:15 18:24:15 Login Succeeded 18:24:15 nexus3.edgexfoundry.org:10002 18:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:15 Configure a credential helper to remove this warning. See 18:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:15 18:24:15 Login Succeeded 18:24:15 nexus3.edgexfoundry.org:10003 18:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:16 Configure a credential helper to remove this warning. See 18:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:16 18:24:16 Login Succeeded 18:24:16 nexus3.edgexfoundry.org:10004 18:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:16 Configure a credential helper to remove this warning. See 18:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:16 18:24:16 Login Succeeded 18:24:16 docker.io 18:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:17 Configure a credential helper to remove this warning. See 18:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:17 18:24:17 Login Succeeded 18:24:17 ---> docker-login.sh ends [Pipeline] } 18:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:17 ========================================================= 18:24:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:24:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:18 + 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 . 18:24:18 Sending build context to Docker daemon 5.25MB 18:24:18 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 18:24:18 Step 2/11 : FROM ${BASE} AS builder 18:24:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:24:18 b3c136eddcbf: Pulling fs layer 18:24:18 c0a3192eca97: Pulling fs layer 18:24:18 a050256f5b6f: Pulling fs layer 18:24:18 656be50a0ddc: Pulling fs layer 18:24:18 2bbca73fdf42: Pulling fs layer 18:24:18 46d945488cbd: Pulling fs layer 18:24:18 8a5474983e97: Pulling fs layer 18:24:18 329c88fbcd65: Pulling fs layer 18:24:18 656be50a0ddc: Waiting 18:24:18 2bbca73fdf42: Waiting 18:24:18 329c88fbcd65: Waiting 18:24:18 8a5474983e97: Waiting 18:24:18 46d945488cbd: Waiting 18:24:18 a050256f5b6f: Verifying Checksum 18:24:18 a050256f5b6f: Download complete 18:24:18 c0a3192eca97: Verifying Checksum 18:24:18 c0a3192eca97: Download complete 18:24:18 2bbca73fdf42: Verifying Checksum 18:24:18 2bbca73fdf42: Download complete 18:24:18 46d945488cbd: Verifying Checksum 18:24:18 46d945488cbd: Download complete 18:24:18 b3c136eddcbf: Verifying Checksum 18:24:18 b3c136eddcbf: Download complete 18:24:19 b3c136eddcbf: Pull complete 18:24:19 329c88fbcd65: Verifying Checksum 18:24:19 329c88fbcd65: Download complete 18:24:20 c0a3192eca97: Pull complete 18:24:20 a050256f5b6f: Pull complete 18:24:21 8a5474983e97: Verifying Checksum 18:24:21 8a5474983e97: Download complete 18:24:21 656be50a0ddc: Verifying Checksum 18:24:21 656be50a0ddc: Download complete 18:24:34 656be50a0ddc: Pull complete 18:24:34 2bbca73fdf42: Pull complete 18:24:34 46d945488cbd: Pull complete 18:24:41 8a5474983e97: Pull complete 18:24:43 329c88fbcd65: Pull complete 18:24:43 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:24:43 ---> ff4287adb874 18:24:43 Step 3/11 : ARG MAKE=make build 18:24:43 ---> Running in f18637ac29f8 18:24:44 Removing intermediate container f18637ac29f8 18:24:44 ---> 3ef0deb00fce 18:24:44 Step 4/11 : WORKDIR /device-sdk-go 18:24:44 ---> Running in 2d5ed33190a2 18:24:44 Removing intermediate container 2d5ed33190a2 18:24:44 ---> 7ad179360123 18:24:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:24:44 ---> Running in cc984369ff4b 18:24:45 Removing intermediate container cc984369ff4b 18:24:45 ---> a0ad2c865c3a 18:24:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:45 ---> Running in 0173119b9333 18:24:47 Removing intermediate container 0173119b9333 18:24:47 ---> e38857914768 18:24:47 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:24:47 ---> Running in 30c3d08e47bd 18:24:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:24:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:24:50 OK: 221 MiB in 51 packages 18:24:51 Removing intermediate container 30c3d08e47bd 18:24:51 ---> f899c3dc2b9d 18:24:51 Step 8/11 : COPY go.mod vendor* ./ 18:24:52 ---> e5552de672cb 18:24:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:52 ---> Running in 1504dc330512 18:25:39 Removing intermediate container 1504dc330512 18:25:39 ---> b276aa9d5972 18:25:39 Step 10/11 : COPY . . 18:25:39 ---> 2130103973d5 18:25:39 Step 11/11 : RUN ${MAKE} 18:25:39 ---> Running in baea88d7fc20 18:25:40 noop 18:25:41 Removing intermediate container baea88d7fc20 18:25:41 ---> 85089e7715f7 18:25:41 Successfully built 85089e7715f7 18:25:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:41 + docker inspect -f . ci-base-image-arm64 18:25:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:42 prd-ubuntu20.04-docker-arm64-4c-16g-21388 does not seem to be running inside a container 18:25:42 $ 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 18:25:43 $ docker top aae4811d28798967da8827f81ebfeb91100dc293d75ba709e7aed720a4d8ece6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:44 + go version 18:25:44 go version go1.18.3 linux/arm64 [Pipeline] } 18:25:44 $ docker stop --time=1 aae4811d28798967da8827f81ebfeb91100dc293d75ba709e7aed720a4d8ece6 18:25:45 $ docker rm -f aae4811d28798967da8827f81ebfeb91100dc293d75ba709e7aed720a4d8ece6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:46 + docker inspect -f . ci-base-image-arm64 18:25:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:47 prd-ubuntu20.04-docker-arm64-4c-16g-21388 does not seem to be running inside a container 18:25:47 $ 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 18:25:48 $ docker top 99ba38744984b42a88a91228fc4c4e3fdb263c58e417d399221bc87cf8854670 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:49 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 18:25:50 + make test 18:25:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:26:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:27:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:27:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:27:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:28:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.548s coverage: 23.7% of statements 18:28:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:28:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.273s coverage: 27.6% of statements 18:28:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements 18:28:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 10.8% of statements 18:28:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.421s coverage: 60.0% of statements 18:28:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:28:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:28:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.396s coverage: 34.8% of statements 18:28:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:28:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.310s coverage: 85.4% of statements 18:28:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:28:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:28:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.425s coverage: 65.1% of statements 18:28:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:28:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:28:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.192s coverage: 89.2% of statements 18:28:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:28:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.225s coverage: 4.7% of statements 18:28:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:28:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:28:21 GO111MODULE=on go vet ./... 18:29:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:43 ./bin/test-attribution-txt.sh 18:29:43 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 18:29:43 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 18:29:43 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 18:29:43 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 18:29:43 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 18:29:43 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 18:29:43 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 18:29:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:43 $ docker stop --time=1 99ba38744984b42a88a91228fc4c4e3fdb263c58e417d399221bc87cf8854670 18:29:45 $ docker rm -f 99ba38744984b42a88a91228fc4c4e3fdb263c58e417d399221bc87cf8854670 [Pipeline] // withDockerContainer [Pipeline] sh 18:29:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:46 Warning: overwriting stash ‘coverage-report’ 18:29:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:48 + ls -al . 18:29:48 total 300 18:29:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 18:25 . 18:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:23 .. 18:29:48 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 18:23 .dockerignore 18:29:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 18:23 .git 18:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:23 .github 18:29:48 -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 18:23 .gitignore 18:29:48 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 18:23 .golangci.yml 18:29:48 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 18:23 CHANGELOG.md 18:29:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 18:23 GOVERNANCE.md 18:29:48 -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 18:23 Jenkinsfile 18:29:48 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 18:23 LICENSE 18:29:48 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 18:23 Makefile 18:29:48 -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 18:23 OWNERS.md 18:29:48 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 18:23 README.md 18:29:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 18:19 VERSION 18:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:23 bin 18:29:48 -rw-r--r-- 1 jenkins jenkins 131677 Jul 28 18:28 coverage.out 18:29:48 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 18:23 example 18:29:48 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 18:23 go.mod 18:29:48 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 18:23 go.sum 18:29:48 drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 18:23 internal 18:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 18:23 openapi 18:29:48 drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 18:23 pkg 18:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:23 snap 18:29:48 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:48 + 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=d0b10103318c9765db0acdc2a072651fb8b50c93 --label arch=arm64 --label version=0.0.0 . 18:29:48 Sending build context to Docker daemon 5.383MB 18:29:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:29:49 Step 2/25 : FROM ${BASE} AS builder 18:29:49 ---> 85089e7715f7 18:29:49 Step 3/25 : ARG MAKE=make build 18:29:49 ---> Running in ec867f4bac98 18:29:49 Removing intermediate container ec867f4bac98 18:29:49 ---> f9f71f3745a0 18:29:49 Step 4/25 : WORKDIR /device-sdk-go 18:29:49 ---> Running in 956e636c0cca 18:29:50 Removing intermediate container 956e636c0cca 18:29:50 ---> c1e712d8f031 18:29:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:29:50 ---> Running in 62928fb3d7db 18:29:50 Removing intermediate container 62928fb3d7db 18:29:50 ---> 21345c782e3d 18:29:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:29:50 ---> Running in 32e71ea65793 18:29:52 Removing intermediate container 32e71ea65793 18:29:52 ---> 29a36da67488 18:29:52 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:29:52 ---> Running in 33108ff4db27 18:29:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:29:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:29:54 OK: 221 MiB in 51 packages 18:29:55 Removing intermediate container 33108ff4db27 18:29:55 ---> b6f2422e5e0f 18:29:55 Step 8/25 : COPY go.mod vendor* ./ 18:29:56 ---> 9ad9d7b5bcc6 18:29:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:56 ---> Running in 2cbd67e39683 18:29:58 Removing intermediate container 2cbd67e39683 18:29:58 ---> 08818a0e3986 18:29:58 Step 10/25 : COPY . . 18:29:59 ---> c32ec3ab9c4c 18:29:59 Step 11/25 : RUN ${MAKE} 18:29:59 ---> Running in 74181cc1d2d2 18:30:00 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 18:32:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:32:07 Removing intermediate container 74181cc1d2d2 18:32:07 ---> 3f023ac65efe 18:32:07 Step 12/25 : FROM alpine:3.16 18:32:07 3.16: Pulling from library/alpine 18:32:07 f97344484467: Pulling fs layer 18:32:07 f97344484467: Verifying Checksum 18:32:07 f97344484467: Download complete 18:32:07 f97344484467: Pull complete 18:32:07 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 18:32:07 Status: Downloaded newer image for alpine:3.16 18:32:07 ---> 3d81c46cd875 18:32:07 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:32:07 ---> Running in d6c24de380ae 18:32:07 Removing intermediate container d6c24de380ae 18:32:07 ---> b3dd9eee2755 18:32:07 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:32:07 ---> Running in b525fb9e8ba7 18:32:07 Removing intermediate container b525fb9e8ba7 18:32:07 ---> e20611ddae17 18:32:07 Step 15/25 : RUN apk add --update --no-cache zeromq 18:32:07 ---> Running in 4e66daa2c882 18:32:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:32:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:32:09 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:32:09 (2/5) Installing libsodium (1.0.18-r0) 18:32:09 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:32:09 (4/5) Installing libzmq (4.3.4-r0) 18:32:09 (5/5) Installing zeromq (4.3.4-r0) 18:32:09 Executing busybox-1.35.0-r15.trigger 18:32:09 OK: 8 MiB in 19 packages 18:32:10 Removing intermediate container 4e66daa2c882 18:32:10 ---> 1c63b201b2e7 18:32:10 Step 16/25 : WORKDIR / 18:32:10 ---> Running in 2d6594f6b314 18:32:10 Removing intermediate container 2d6594f6b314 18:32:10 ---> ebb597a437ef 18:32:10 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:32:11 ---> c7c66961fefa 18:32:11 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:32:12 ---> 294b480b25e5 18:32:12 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:32:13 ---> cdba3b4a6f13 18:32:13 Step 20/25 : EXPOSE 59999 18:32:13 ---> Running in 2410d1107ab8 18:32:13 Removing intermediate container 2410d1107ab8 18:32:13 ---> 52d1a9025197 18:32:13 Step 21/25 : ENTRYPOINT ["/device-simple"] 18:32:13 ---> Running in 2dd572a9bab8 18:32:13 Removing intermediate container 2dd572a9bab8 18:32:13 ---> ed13aa79e2fd 18:32:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:32:13 ---> Running in 22dfd90d80f5 18:32:14 Removing intermediate container 22dfd90d80f5 18:32:14 ---> 10912ef9e62a 18:32:14 Step 23/25 : LABEL arch=arm64 18:32:14 ---> Running in 9ad2825886bd 18:32:14 Removing intermediate container 9ad2825886bd 18:32:14 ---> d90e25a3f184 18:32:14 Step 24/25 : LABEL git_sha=d0b10103318c9765db0acdc2a072651fb8b50c93 18:32:14 ---> Running in 1c64aa9eb3fb 18:32:15 Removing intermediate container 1c64aa9eb3fb 18:32:15 ---> 82c402d0358c 18:32:15 Step 25/25 : LABEL version=0.0.0 18:32:15 ---> Running in 460623e585e0 18:32:15 Removing intermediate container 460623e585e0 18:32:15 ---> b0d6b9e9bb51 18:32:15 [Warning] One or more build-args [ARCH] were not consumed 18:32:15 Successfully built b0d6b9e9bb51 18:32:15 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 18:32:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:32:16 18:32:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:32:16 arm64: Pulling from edgex-lftools-log-publisher 18:32:16 8998bd30e6a1: Pulling fs layer 18:32:16 04944245beec: Pulling fs layer 18:32:16 699f458cf7ca: Pulling fs layer 18:32:16 765212b225bb: Pulling fs layer 18:32:16 f23df028b6ca: Pulling fs layer 18:32:16 d65c8cfc05b1: Pulling fs layer 18:32:16 2437ff75d9bd: Pulling fs layer 18:32:16 f23df028b6ca: Waiting 18:32:16 765212b225bb: Waiting 18:32:16 d65c8cfc05b1: Waiting 18:32:16 2437ff75d9bd: Waiting 18:32:16 04944245beec: Verifying Checksum 18:32:16 04944245beec: Download complete 18:32:16 765212b225bb: Verifying Checksum 18:32:16 765212b225bb: Download complete 18:32:16 f23df028b6ca: Download complete 18:32:16 d65c8cfc05b1: Verifying Checksum 18:32:16 d65c8cfc05b1: Download complete 18:32:17 699f458cf7ca: Verifying Checksum 18:32:17 699f458cf7ca: Download complete 18:32:17 8998bd30e6a1: Verifying Checksum 18:32:17 8998bd30e6a1: Download complete 18:32:19 2437ff75d9bd: Verifying Checksum 18:32:19 2437ff75d9bd: Download complete 18:32:21 8998bd30e6a1: Pull complete 18:32:21 04944245beec: Pull complete 18:32:23 699f458cf7ca: Pull complete 18:32:23 765212b225bb: Pull complete 18:32:24 f23df028b6ca: Pull complete 18:32:24 d65c8cfc05b1: Pull complete 18:32:39 2437ff75d9bd: Pull complete 18:32:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:32:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:32:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:39 prd-ubuntu20.04-docker-arm64-4c-16g-21388 does not seem to be running inside a container 18:32:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 18:32:42 $ docker top 7466d9b22eace3862bcec97b12c6a4b5071d1f0574664708c9b8bbcdf70d17d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:43 ---> job-cost.sh 18:32:43 lf-activate-venv: SKIPPING 18:32:43 INFO: No Stack... 18:32:43 INFO: Retrieving Pricing Info for: v3-standard-4 18:32:44 INFO: Archiving Costs [Pipeline] sh 18:32:45 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 18:32:45 + cut -d, -f6 [Pipeline] lock 18:32:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] 18:32:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] did not exist. Created. 18:32:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:32:46 /w/workspace/device-sdk-go/1@tmp/durable-ae7c4068/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:32:46 + echo total: 0.10999999940395355 [Pipeline] stash 18:32:47 Warning: overwriting stash ‘stack-cost’ 18:32:47 Stashed 1 file(s) [Pipeline] } 18:32:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:32:47 $ docker stop --time=1 7466d9b22eace3862bcec97b12c6a4b5071d1f0574664708c9b8bbcdf70d17d4 18:32:48 $ docker rm -f 7466d9b22eace3862bcec97b12c6a4b5071d1f0574664708c9b8bbcdf70d17d4 [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 18:32:49 provisioning config files... 18:32:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config4326540017281870216tmp [Pipeline] { [Pipeline] sh 18:32:50 + set +x 18:32:50 + curl -s https://codecov.io/bash 18:32:50 + bash -s -- 18:32:50 18:32:50 _____ _ 18:32:50 / ____| | | 18:32:50 | | ___ __| | ___ ___ _____ __ 18:32:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:32:50 | |___| (_) | (_| | __/ (_| (_) \ V / 18:32:50 \_____\___/ \__,_|\___|\___\___/ \_/ 18:32:50 Bash-1.0.6 18:32:50 18:32:50 18:32:50 ==> git version 2.25.1 found 18:32:50 ==> 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 18:32:50 Release-Date: 2020-01-08 18:32:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:32:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:32:50 ==> Jenkins CI detected. 18:32:50 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1204 18:32:50 project root: . 18:32:50 --> token set from env 18:32:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:32:50 ==> Running gcov in . (disable via -X gcov) 18:32:50 ==> Python coveragepy not found 18:32:50 ==> Searching for coverage reports in: 18:32:50 + . 18:32:50 -> Found 1 reports 18:32:50 ==> Detecting git/mercurial file structure 18:32:50 ==> Reading reports 18:32:50 + ./coverage.out bytes=131677 18:32:50 ==> Appending adjustments 18:32:50 https://docs.codecov.io/docs/fixing-reports 18:32:50 + Found adjustments 18:32:50 ==> Gzipping contents 18:32:50 20K /tmp/codecov.tXrvw9.gz 18:32:50 ==> Uploading reports 18:32:50 url: https://codecov.io 18:32:50 query: branch=PR-1204&commit=d0b10103318c9765db0acdc2a072651fb8b50c93&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1204&job=&cmd_args= 18:32:50 -> Pinging Codecov 18:32:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1204&commit=d0b10103318c9765db0acdc2a072651fb8b50c93&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1204&job=&cmd_args= 18:32:50 -> Uploading to 18:32:50 https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/d0b10103318c9765db0acdc2a072651fb8b50c93/fe9dc8fe-4f85-4c67-baef-1373c99f3896.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T183250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e8e0c3cd896d2433a73d1f4e3df34ad01fcb73d439ea6059b278e9061692f0c 18:32:50 % Total % Received % Xferd Average Speed Time Time Time Current 18:32:50 Dload Upload Total Spent Left Speed 18:32:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17306 0 0 100 17306 0 76915 --:--:-- --:--:-- --:--:-- 76915 18:32:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] } 18:32:51 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 18:32:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives ] 18:32:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives 18:32:52 total 16 18:32:52 drwxr-xr-x 3 root root 4096 Jul 28 18:21 . 18:32:52 drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 18:21 .. 18:32:52 drwxr-xr-x 2 root root 4096 Jul 28 18:21 cost 18:32:52 -rw-r--r-- 1 root root 86 Jul 28 18:21 cost.csv 18:32:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives 18:32:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives 18:32:52 total 16 18:32:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 18:21 . 18:32:52 drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 18:21 .. 18:32:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 18:21 cost 18:32:52 -rw-r--r-- 1 jenkins jenkins 86 Jul 28 18:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:32:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:32:54 ---> package-listing.sh 18:32:54 ++ facter osfamily 18:32:54 ++ tr '[:upper:]' '[:lower:]' 18:32:54 + OS_FAMILY=debian 18:32:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1204 18:32:54 + START_PACKAGES=/tmp/packages_start.txt 18:32:54 + END_PACKAGES=/tmp/packages_end.txt 18:32:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:32:54 + PACKAGES=/tmp/packages_start.txt 18:32:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1204 ']' 18:32:54 + PACKAGES=/tmp/packages_end.txt 18:32:54 + case "${OS_FAMILY}" in 18:32:54 + dpkg -l 18:32:54 + grep '^ii' 18:32:54 + '[' -f /tmp/packages_start.txt ']' 18:32:54 + '[' -f /tmp/packages_end.txt ']' 18:32:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:32:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1204 ']' 18:32:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives/ 18:32:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives/ [Pipeline] echo 18:32:54 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-1204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:32:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:55 prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container 18:32:55 $ 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-1204/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-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:32:55 $ docker top 052b77ecb8d79563cf1e9b7328b9580338b5582a2d8315465d9ceb6efe376753 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:56 + touch /tmp/pre-build-complete [Pipeline] sh 18:32:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:32:56 + ls /var/log/sa-host 18:32:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:57 provisioning config files... 18:32:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config3045555744215175957tmp [Pipeline] { [Pipeline] echo 18:32:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:32:57 ---> create-netrc.sh [Pipeline] } 18:32:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:32:57 ---> python-tools-install.sh [Pipeline] echo 18:32:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:32:58 ---> sudo-logs.sh 18:32:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:32:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:32:58 ---> job-cost.sh 18:32:58 lf-activate-venv: SKIPPING 18:32:58 DEBUG: total: 0.2199999988079071 18:32:58 INFO: Retrieving Stack Cost... 18:32:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:32:59 INFO: Archiving Costs [Pipeline] echo 18:32:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:32:59 ---> logs-deploy.sh 18:32:59 lf-activate-venv: SKIPPING 18:32:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1204/1 18:32:59 INFO: archiving workspace using pattern(s): 18:33:00 Archives upload complete. 18:33:00 INFO: archiving logs to Nexus