Pull request #1300 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 rather than 05376da3807009c6513dd48f844311be9b41b0a5 Obtained Jenkinsfile from 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 ‘Jenkinsfile’ has been modified in an untrusted revision 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-ssh7698786528432512341.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16110727595025300337.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1300/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-1300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14886061918150320260.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-1300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11951348108310457087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh10821286128837196583.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-1300/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-1300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2725694383464542596.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4339 in /w/workspace/gexfoundry_device-sdk-go_PR-1300 [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-1300 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1300/head:refs/remotes/origin/PR-1300 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 into PR head commit 05376da3807009c6513dd48f844311be9b41b0a5 Merge succeeded, producing 05376da3807009c6513dd48f844311be9b41b0a5 Checking out Revision 05376da3807009c6513dd48f844311be9b41b0a5 (PR-1300) > git config core.sparsecheckout # timeout=10 > git checkout -f 05376da3807009c6513dd48f844311be9b41b0a5 # 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 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05376da3807009c6513dd48f844311be9b41b0a5 # timeout=10 Commit message: "docs: Replace V2 swagger file to V3 for 3.0.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:51:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:51:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:51:59 ========================================================= 03:51:59 EdgeX Global Pipelines Version Info 03:51:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:51:59 ------------------- 03:51:59 stable info: 03:51:59 ------------------- 03:51:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:51:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:51:59 Message: update stable to v1.0.244 03:52:00 ------------------- 03:52:00 experimental info: 03:52:00 ------------------- 03:52:00 Commited By: **** collab-it+edgex@linuxfoundation.org 03:52:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:52:00 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:52:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:52:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:52:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:52:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:52:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:52:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1300 [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1300 [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1300 [Pipeline] echo 03:52:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05376da3807009c6513dd48f844311be9b41b0a5 [Pipeline] echo 03:52:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05376da [Pipeline] echo 03:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:02 provisioning config files... 03:52:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/config10694745424910463545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:02 ---> docker-login.sh 03:52:02 nexus3.edgexfoundry.org:10001 03:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:02 Configure a credential helper to remove this warning. See 03:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:02 03:52:02 Login Succeeded 03:52:02 nexus3.edgexfoundry.org:10002 03:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:03 Configure a credential helper to remove this warning. See 03:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:03 03:52:03 Login Succeeded 03:52:03 nexus3.edgexfoundry.org:10003 03:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:03 Configure a credential helper to remove this warning. See 03:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:03 03:52:03 Login Succeeded 03:52:03 nexus3.edgexfoundry.org:10004 03:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:03 Configure a credential helper to remove this warning. See 03:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:03 03:52:03 Login Succeeded 03:52:03 docker.io 03:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:03 Configure a credential helper to remove this warning. See 03:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:03 03:52:03 Login Succeeded 03:52:03 ---> docker-login.sh ends [Pipeline] } 03:52:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:52:04 + git rev-list -1 --merges 05376da3807009c6513dd48f844311be9b41b0a5~1..05376da3807009c6513dd48f844311be9b41b0a5 [Pipeline] echo 03:52:04 -----------> git rev-list -1 --merges 05376da3807009c6513dd48f844311be9b41b0a5~1..05376da3807009c6513dd48f844311be9b41b0a5 05376da3807009c6513dd48f844311be9b41b0a5 [false] [Pipeline] sh 03:52:04 + git log --format=format:%s -1 05376da3807009c6513dd48f844311be9b41b0a5 [Pipeline] echo 03:52:04 ========================================================= 03:52:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:52:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:52:05 + git log --format=format:%s -1 05376da3807009c6513dd48f844311be9b41b0a5 [Pipeline] echo 03:52:05 [semverPrep] GIT_COMMIT: 05376da3807009c6513dd48f844311be9b41b0a5, Commit Message: docs: Replace V2 swagger file to V3 for 3.0.0 [Pipeline] echo 03:52:05 [semverPrep] This is not a build commit. [Pipeline] sh 03:52:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:52:05 + grep -v github /etc/ssh/ssh_known_hosts 03:52:05 + [ -e /tmp/ssh_known_hosts ] 03:52:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:52:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:52:05 + sudo tee -a /etc/ssh/ssh_known_hosts 03:52:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:52:05 03:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:52:06 0.1.4: Pulling from edgex-devops/py-git-semver 03:52:06 b85a868b505f: Pulling fs layer 03:52:06 e2be974225ed: Pulling fs layer 03:52:06 339a4e72a1f5: Pulling fs layer 03:52:06 988bab9f4d93: Pulling fs layer 03:52:06 1469e6f7b9e6: Pulling fs layer 03:52:06 eaf3925da568: Pulling fs layer 03:52:06 bab4dde63d76: Pulling fs layer 03:52:06 bde34c3a00c8: Pulling fs layer 03:52:06 b352a97aabf1: Pulling fs layer 03:52:06 4872d77fe225: Pulling fs layer 03:52:06 5851b861e8e6: Pulling fs layer 03:52:06 988bab9f4d93: Waiting 03:52:06 bde34c3a00c8: Waiting 03:52:06 4872d77fe225: Waiting 03:52:06 eaf3925da568: Waiting 03:52:06 bab4dde63d76: Waiting 03:52:06 b352a97aabf1: Waiting 03:52:06 1469e6f7b9e6: Waiting 03:52:06 5851b861e8e6: Waiting 03:52:06 e2be974225ed: Verifying Checksum 03:52:06 e2be974225ed: Download complete 03:52:06 988bab9f4d93: Verifying Checksum 03:52:06 988bab9f4d93: Download complete 03:52:06 1469e6f7b9e6: Verifying Checksum 03:52:06 1469e6f7b9e6: Download complete 03:52:06 eaf3925da568: Download complete 03:52:06 339a4e72a1f5: Verifying Checksum 03:52:06 339a4e72a1f5: Download complete 03:52:06 bde34c3a00c8: Verifying Checksum 03:52:06 bde34c3a00c8: Download complete 03:52:06 b352a97aabf1: Verifying Checksum 03:52:06 b352a97aabf1: Download complete 03:52:06 4872d77fe225: Verifying Checksum 03:52:06 4872d77fe225: Download complete 03:52:06 5851b861e8e6: Verifying Checksum 03:52:06 5851b861e8e6: Download complete 03:52:06 b85a868b505f: Verifying Checksum 03:52:06 b85a868b505f: Download complete 03:52:07 bab4dde63d76: Verifying Checksum 03:52:07 bab4dde63d76: Download complete 03:52:08 b85a868b505f: Pull complete 03:52:08 e2be974225ed: Pull complete 03:52:08 339a4e72a1f5: Pull complete 03:52:08 988bab9f4d93: Pull complete 03:52:09 1469e6f7b9e6: Pull complete 03:52:09 eaf3925da568: Pull complete 03:52:11 bab4dde63d76: Pull complete 03:52:11 bde34c3a00c8: Pull complete 03:52:11 b352a97aabf1: Pull complete 03:52:11 4872d77fe225: Pull complete 03:52:11 5851b861e8e6: Pull complete 03:52:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:52:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:11 prd-ubuntu20.04-docker-8c-8g-4339 does not seem to be running inside a container 03:52:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1300 -v /w/workspace/gexfoundry_device-sdk-go_PR-1300:/w/workspace/gexfoundry_device-sdk-go_PR-1300:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1300@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 03:52:13 $ docker top 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 -eo pid,comm 03:52:13 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). 03:52:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:13 [ssh-agent] Looking for ssh-agent implementation... 03:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:14 $ docker exec 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 ssh-agent 03:52:14 SSH_AUTH_SOCK=/tmp/ssh-X8Nyt5oGpkeW/agent.32 03:52:14 SSH_AGENT_PID=38 03:52:14 Running ssh-add (command line suppressed) 03:52:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/private_key_13579278164881098380.key (/w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/private_key_13579278164881098380.key) 03:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:14 + git tag --points-at HEAD [Pipeline] } 03:52:14 $ docker exec --env ******** --env ******** 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 ssh-agent -k 03:52:14 unset SSH_AUTH_SOCK; 03:52:14 unset SSH_AGENT_PID; 03:52:14 echo Agent pid 38 killed; 03:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:52:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:14 [ssh-agent] Looking for ssh-agent implementation... 03:52:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:15 $ docker exec 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 ssh-agent 03:52:15 SSH_AUTH_SOCK=/tmp/ssh-V1l477RSrFS5/agent.70 03:52:15 SSH_AGENT_PID=76 03:52:15 Running ssh-add (command line suppressed) 03:52:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/private_key_4839971461574775656.key (/w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/private_key_4839971461574775656.key) 03:52:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:15 + git semver init 03:52:15 2023-02-02 03:52:15,840 [run_init] DEBUG init version:0.0.0 force:False 03:52:15 2023-02-02 03:52:15,841 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver 03:52:15 2023-02-02 03:52:15,842 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver 03:52:15 2023-02-02 03:52:15,842 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1300, universal_newlines=False, shell=None, istream=None) 03:52:16 2023-02-02 03:52:16,755 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1300/.git/info/exclude 03:52:16 2023-02-02 03:52:16,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver/PR-1300 with force:False 03:52:16 2023-02-02 03:52:16,757 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver/PR-1300 03:52:16 2023-02-02 03:52:16,762 [execute] INFO git cat-file --batch-check 03:52:16 2023-02-02 03:52:16,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver, universal_newlines=False, shell=None, istream=) 03:52:16 2023-02-02 03:52:16,768 [execute] INFO git cat-file --batch 03:52:16 2023-02-02 03:52:16,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver, universal_newlines=False, shell=None, istream=) 03:52:16 2023-02-02 03:52:16,773 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1300/.semver/PR-1300 03:52:16 0.0.0 [Pipeline] } 03:52:16 $ docker exec --env ******** --env ******** 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 ssh-agent -k 03:52:16 unset SSH_AUTH_SOCK; 03:52:16 unset SSH_AGENT_PID; 03:52:16 echo Agent pid 76 killed; 03:52:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:52:17 + git semver [Pipeline] } 03:52:17 $ docker stop --time=1 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 03:52:19 $ docker rm -f --volumes 6aaa8946d98bbec535e282f6002b2b78ea671f3c88cba093d228f33305ae4670 [Pipeline] // withDockerContainer [Pipeline] sh 03:52:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:52:19 Stashed 1 file(s) [Pipeline] echo 03:52:19 [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 03:52:20 provisioning config files... 03:52:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/config9800924236772987702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:20 ---> docker-login.sh 03:52:20 nexus3.edgexfoundry.org:10001 03:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:20 Configure a credential helper to remove this warning. See 03:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:20 03:52:20 Login Succeeded 03:52:20 nexus3.edgexfoundry.org:10002 03:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:20 Configure a credential helper to remove this warning. See 03:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:20 03:52:20 Login Succeeded 03:52:20 nexus3.edgexfoundry.org:10003 03:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:20 Configure a credential helper to remove this warning. See 03:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:20 03:52:20 Login Succeeded 03:52:20 nexus3.edgexfoundry.org:10004 03:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:20 Configure a credential helper to remove this warning. See 03:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:20 03:52:20 Login Succeeded 03:52:20 docker.io 03:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:21 Configure a credential helper to remove this warning. See 03:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:21 03:52:21 Login Succeeded 03:52:21 ---> docker-login.sh ends [Pipeline] } 03:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:52:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:52:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:52:21 ========================================================= 03:52:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:52:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:21 + 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 . 03:52:21 Sending build context to Docker daemon 10.49MB 03:52:21 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:52:21 Step 2/10 : FROM ${BASE} AS builder 03:52:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:52:21 213ec9aee27d: Pulling fs layer 03:52:21 4583459ba037: Pulling fs layer 03:52:21 93c1e223e6f2: Pulling fs layer 03:52:21 53926ce57604: Pulling fs layer 03:52:21 21b2b0c7a3f4: Pulling fs layer 03:52:21 22ff95d597cd: Pulling fs layer 03:52:21 12d6caf4c0d1: Pulling fs layer 03:52:21 96b7cbca73a9: Pulling fs layer 03:52:21 a7acece74701: Pulling fs layer 03:52:21 22ff95d597cd: Waiting 03:52:21 12d6caf4c0d1: Waiting 03:52:21 21b2b0c7a3f4: Waiting 03:52:21 96b7cbca73a9: Waiting 03:52:21 a7acece74701: Waiting 03:52:21 53926ce57604: Waiting 03:52:22 93c1e223e6f2: Verifying Checksum 03:52:22 93c1e223e6f2: Download complete 03:52:22 4583459ba037: Verifying Checksum 03:52:22 4583459ba037: Download complete 03:52:22 21b2b0c7a3f4: Verifying Checksum 03:52:22 21b2b0c7a3f4: Download complete 03:52:22 22ff95d597cd: Verifying Checksum 03:52:22 22ff95d597cd: Download complete 03:52:22 213ec9aee27d: Download complete 03:52:22 12d6caf4c0d1: Download complete 03:52:22 213ec9aee27d: Pull complete 03:52:22 4583459ba037: Pull complete 03:52:22 93c1e223e6f2: Pull complete 03:52:23 a7acece74701: Verifying Checksum 03:52:23 a7acece74701: Download complete 03:52:23 53926ce57604: Verifying Checksum 03:52:23 53926ce57604: Download complete 03:52:23 96b7cbca73a9: Verifying Checksum 03:52:23 96b7cbca73a9: Download complete 03:52:27 53926ce57604: Pull complete 03:52:27 21b2b0c7a3f4: Pull complete 03:52:27 22ff95d597cd: Pull complete 03:52:27 12d6caf4c0d1: Pull complete 03:52:29 96b7cbca73a9: Pull complete 03:52:30 a7acece74701: Pull complete 03:52:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:52:30 ---> db6d94c90886 03:52:30 Step 3/10 : ARG MAKE=make build 03:52:34 ---> Running in c151dfee5149 03:52:34 Removing intermediate container c151dfee5149 03:52:34 ---> a794a6510f65 03:52:34 Step 4/10 : WORKDIR /device-sdk-go 03:52:34 ---> Running in be4158accd7e 03:52:34 Removing intermediate container be4158accd7e 03:52:34 ---> 325c84920016 03:52:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:52:34 ---> Running in 20114182db96 03:52:34 Removing intermediate container 20114182db96 03:52:34 ---> 7972efe4015a 03:52:34 Step 6/10 : RUN apk add --update --no-cache make git 03:52:34 ---> Running in 26cb149aee6f 03:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:52:35 OK: 211 MiB in 51 packages 03:52:35 Still waiting to schedule task 03:52:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:52:35 Removing intermediate container 26cb149aee6f 03:52:35 ---> a84e4cde08c7 03:52:35 Step 7/10 : COPY go.mod vendor* ./ 03:52:35 ---> e5b1abe3b009 03:52:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:52:35 ---> Running in 0d9c90b9d917 03:53:31 Removing intermediate container 0d9c90b9d917 03:53:31 ---> cb837bbe2cb4 03:53:31 Step 9/10 : COPY . . 03:53:31 ---> ba9cf0be169d 03:53:31 Step 10/10 : RUN ${MAKE} 03:53:31 ---> Running in 7cc273a06e86 03:53:31 noop 03:53:31 Removing intermediate container 7cc273a06e86 03:53:31 ---> d6b34090f70b 03:53:31 Successfully built d6b34090f70b 03:53:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:32 + docker inspect -f . ci-base-image-x86_64 03:53:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:32 prd-ubuntu20.04-docker-8c-8g-4339 does not seem to be running inside a container 03:53:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1300 -v /w/workspace/gexfoundry_device-sdk-go_PR-1300:/w/workspace/gexfoundry_device-sdk-go_PR-1300:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1300@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 03:53:32 $ docker top 7aa01f4ef8e6014dacb78dab649189c922039fd0da6ddcdb3f3d33e3684b357c -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:33 + go version 03:53:33 go version go1.18.7 linux/amd64 [Pipeline] } 03:53:33 $ docker stop --time=1 7aa01f4ef8e6014dacb78dab649189c922039fd0da6ddcdb3f3d33e3684b357c 03:53:34 $ docker rm -f --volumes 7aa01f4ef8e6014dacb78dab649189c922039fd0da6ddcdb3f3d33e3684b357c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:35 + docker inspect -f . ci-base-image-x86_64 03:53:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:35 prd-ubuntu20.04-docker-8c-8g-4339 does not seem to be running inside a container 03:53:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1300 -v /w/workspace/gexfoundry_device-sdk-go_PR-1300:/w/workspace/gexfoundry_device-sdk-go_PR-1300:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1300@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 03:53:35 $ docker top 215bbf606bd20e4558a246a707dcc247c20473db2a17334123750e89601013da -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1300 [Pipeline] fileExists [Pipeline] sh 03:53:36 + make test 03:53:36 go test -race -coverprofile=coverage.out ./... 03:53:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.083s coverage: 73.6% of statements 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 59.8% of statements 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.1% of statements 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.785s coverage: 89.2% of statements 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 03:53:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements 03:53:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:54:10 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." 03:54:10 GO111MODULE=on go vet ./... 03:54:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4340 in /w/workspace/gexfoundry_device-sdk-go_PR-1300 [Pipeline] { [Pipeline] ws 03:54:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:54:11 The recommended git tool is: git 03:54:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:54:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:54:12 ./bin/test-attribution-txt.sh [Pipeline] echo 03:54:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:54:12 $ docker stop --time=1 215bbf606bd20e4558a246a707dcc247c20473db2a17334123750e89601013da 03:54:16 $ docker rm -f --volumes 215bbf606bd20e4558a246a707dcc247c20473db2a17334123750e89601013da [Pipeline] // withDockerContainer [Pipeline] sh 03:54:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:54:17 Stashed 1 file(s) 03:54:17 using credential edgex-jenkins-ssh [Pipeline] } 03:54:17 Cloning the remote Git repository [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:54:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:54:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:54:17 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:54:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:54:17 > git --version # timeout=10 03:54:17 > git --version # 'git version 2.25.1' 03:54:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:54:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:18 + ls -al . 03:54:18 total 272 03:54:18 drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 03:53 . 03:54:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 03:51 .. 03:54:18 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 03:51 .dockerignore 03:54:18 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 03:53 .git 03:54:18 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 03:51 .github 03:54:18 -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 03:51 .gitignore 03:54:18 -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 03:51 .golangci.yml 03:54:18 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 03:52 .semver 03:54:18 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 03:51 CHANGELOG.md 03:54:18 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 03:51 GOVERNANCE.md 03:54:18 -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 03:51 Jenkinsfile 03:54:18 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 03:51 LICENSE 03:54:18 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 03:51 Makefile 03:54:18 -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 03:51 OWNERS.md 03:54:18 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 03:51 README.md 03:54:18 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 03:52 VERSION 03:54:18 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 03:51 bin 03:54:18 -rw-r--r-- 1 jenkins jenkins 100730 Feb 2 03:53 coverage.out 03:54:18 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 03:51 example 03:54:18 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 03:51 go.mod 03:54:18 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 03:51 go.sum 03:54:18 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 03:51 internal 03:54:18 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 03:51 openapi 03:54:18 drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 03:51 pkg 03:54:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 03:51 snap 03:54:18 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 03:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:18 + 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=05376da3807009c6513dd48f844311be9b41b0a5 --label arch=amd64 --label version=0.0.0 . 03:54:18 Sending build context to Docker daemon 10.59MB 03:54:18 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 03:54:18 Step 2/23 : FROM ${BASE} AS builder 03:54:18 ---> d6b34090f70b 03:54:18 Step 3/23 : ARG MAKE=make build 03:54:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:54:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:20 ---> Running in 3cd148b05f7b 03:54:20 Removing intermediate container 3cd148b05f7b 03:54:20 ---> ebabdacf1201 03:54:20 Step 4/23 : WORKDIR /device-sdk-go 03:54:20 ---> Running in b85f48be466b 03:54:20 Merging remotes/origin/main commit 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 into PR head commit 05376da3807009c6513dd48f844311be9b41b0a5 03:54:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:54:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:54:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:54:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1300/head:refs/remotes/origin/PR-1300 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:54:20 > git config core.sparsecheckout # timeout=10 03:54:20 > git checkout -f 05376da3807009c6513dd48f844311be9b41b0a5 # timeout=10 03:54:20 Merge succeeded, producing 05376da3807009c6513dd48f844311be9b41b0a5 03:54:20 Checking out Revision 05376da3807009c6513dd48f844311be9b41b0a5 (PR-1300) 03:54:20 Removing intermediate container b85f48be466b 03:54:20 ---> 8ff2b4405b4e 03:54:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:54:20 ---> Running in bbe997742c34 03:54:20 Removing intermediate container bbe997742c34 03:54:20 ---> 9836ba44fdf8 03:54:20 Step 6/23 : RUN apk add --update --no-cache make git 03:54:20 ---> Running in 5b2b1ad81956 03:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:54:21 OK: 211 MiB in 51 packages 03:54:21 Removing intermediate container 5b2b1ad81956 03:54:21 ---> 00b1b3d39a26 03:54:21 Step 7/23 : COPY go.mod vendor* ./ 03:54:21 ---> 5dded8cd7b77 03:54:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:54:20 > git remote # timeout=10 03:54:20 > git config --get remote.origin.url # timeout=10 03:54:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:54:20 > git merge 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 # timeout=10 03:54:20 > git rev-parse HEAD^{commit} # timeout=10 03:54:20 > git config core.sparsecheckout # timeout=10 03:54:20 > git checkout -f 05376da3807009c6513dd48f844311be9b41b0a5 # timeout=10 03:54:22 ---> Running in 27d769721197 03:54:22 Removing intermediate container 27d769721197 03:54:22 ---> 5e9d2fad0fdc 03:54:22 Step 9/23 : COPY . . 03:54:23 ---> 69b54ff1da91 03:54:23 Step 10/23 : RUN ${MAKE} 03:54:23 ---> Running in 05290c2e5ea9 03:54:23 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:54:24 Commit message: "docs: Replace V2 swagger file to V3 for 3.0.0" 03:54:24 > git --version # timeout=10 03:54:24 > git --version # 'git version 2.25.1' 03:54:24 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:54:25 % Total % Received % Xferd Average Speed Time Time Time Current 03:54:25 Dload Upload Total Spent Left Speed 03:54:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 03:54:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:54:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:54:26 + sudo tee /etc/docker/daemon.new 03:54:26 { 03:54:26 "registry-mirrors": [ 03:54:26 "https://nexus3.edgexfoundry.org:10001" 03:54:26 ], 03:54:26 "bip": "10.250.0.254/24", 03:54:26 "hosts": [ 03:54:26 "tcp://0.0.0.0:5555", 03:54:26 "unix:///var/run/docker.sock" 03:54:26 ], 03:54:26 "mtu": 1458, 03:54:26 "selinux-enabled": true, 03:54:26 "seccomp-profile": "/etc/docker/seccomp.json" 03:54:26 } [Pipeline] sh 03:54:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:54:27 + sudo service docker restart 03:54:41 Removing intermediate container 05290c2e5ea9 03:54:41 ---> f4311a5bfb0d 03:54:41 Step 11/23 : FROM alpine:3.16 03:54:41 3.16: Pulling from library/alpine 03:54:41 ca7dd9ec2225: Pulling fs layer 03:54:41 ca7dd9ec2225: Verifying Checksum 03:54:41 ca7dd9ec2225: Download complete 03:54:41 ca7dd9ec2225: Pull complete 03:54:41 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 03:54:41 Status: Downloaded newer image for alpine:3.16 03:54:41 ---> bfe296a52501 03:54:41 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:54:41 ---> Running in e9c8f24720ab 03:54:41 Removing intermediate container e9c8f24720ab 03:54:41 ---> b04f5c986aef 03:54:41 Step 13/23 : RUN apk add --update --no-cache 03:54:41 ---> Running in 077416bb5484 03:54:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:54:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:54:42 OK: 6 MiB in 14 packages 03:54:42 Removing intermediate container 077416bb5484 03:54:42 ---> bffb9ab94af3 03:54:42 Step 14/23 : WORKDIR / 03:54:42 ---> Running in 65318f3737f8 03:54:42 Removing intermediate container 65318f3737f8 03:54:42 ---> cc2f72b16652 03:54:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:54:43 ---> 1fca645f8fc4 03:54:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:54:43 ---> ad96c0d08ce8 03:54:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:54:43 ---> a8cd03243718 03:54:43 Step 18/23 : EXPOSE 59999 03:54:43 ---> Running in 5f344459112f 03:54:43 Removing intermediate container 5f344459112f 03:54:43 ---> da4f8f1da0ef 03:54:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:54:43 ---> Running in 18c708e7d905 03:54:43 Removing intermediate container 18c708e7d905 03:54:43 ---> 97ce13914b7c 03:54:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:54:43 ---> Running in 27213863dd6d 03:54:44 Removing intermediate container 27213863dd6d 03:54:44 ---> cf599be4d2db 03:54:44 Step 21/23 : LABEL arch=amd64 03:54:44 ---> Running in cf9ba2d5712a 03:54:44 Removing intermediate container cf9ba2d5712a 03:54:44 ---> 136512645f75 03:54:44 Step 22/23 : LABEL git_sha=05376da3807009c6513dd48f844311be9b41b0a5 03:54:44 ---> Running in 7f2380aabe2b 03:54:44 Removing intermediate container 7f2380aabe2b 03:54:44 ---> a7a66d63df6a 03:54:44 Step 23/23 : LABEL version=0.0.0 03:54:44 ---> Running in a44173f757c3 03:54:44 Removing intermediate container a44173f757c3 03:54:44 ---> 0a041d5dd4e9 03:54:44 [Warning] One or more build-args [ARCH] were not consumed 03:54:44 Successfully built 0a041d5dd4e9 03:54:44 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 03:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:54:45 03:54:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider 03:54:45 provisioning config files... 03:54:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13746143771150163450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:54:45 latest: Pulling from edgex-lftools-log-publisher 03:54:45 5eb5b503b376: Pulling fs layer 03:54:45 5c69ac0246d0: Pulling fs layer 03:54:45 ec43610c2a17: Pulling fs layer 03:54:45 3a2ae6a8a46f: Pulling fs layer 03:54:45 33b1e0a273af: Pulling fs layer 03:54:45 5d3b04190fa2: Pulling fs layer 03:54:45 2f39f015ded8: Pulling fs layer 03:54:45 33b1e0a273af: Waiting 03:54:45 5d3b04190fa2: Waiting 03:54:45 2f39f015ded8: Waiting 03:54:45 3a2ae6a8a46f: Waiting 03:54:45 5c69ac0246d0: Download complete 03:54:45 3a2ae6a8a46f: Verifying Checksum 03:54:45 3a2ae6a8a46f: Download complete 03:54:45 ---> docker-login.sh 03:54:45 nexus3.edgexfoundry.org:10001 03:54:45 33b1e0a273af: Verifying Checksum 03:54:45 33b1e0a273af: Download complete 03:54:45 5d3b04190fa2: Verifying Checksum 03:54:45 5d3b04190fa2: Download complete 03:54:45 ec43610c2a17: Verifying Checksum 03:54:45 ec43610c2a17: Download complete 03:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:46 Configure a credential helper to remove this warning. See 03:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:46 03:54:46 Login Succeeded 03:54:46 nexus3.edgexfoundry.org:10002 03:54:46 5eb5b503b376: Download complete 03:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:47 Configure a credential helper to remove this warning. See 03:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:47 03:54:47 Login Succeeded 03:54:47 nexus3.edgexfoundry.org:10003 03:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:47 2f39f015ded8: Verifying Checksum 03:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:47 Configure a credential helper to remove this warning. See 03:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:47 03:54:47 Login Succeeded 03:54:47 nexus3.edgexfoundry.org:10004 03:54:47 5eb5b503b376: Pull complete 03:54:47 5c69ac0246d0: Pull complete 03:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:47 Configure a credential helper to remove this warning. See 03:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:47 03:54:47 Login Succeeded 03:54:47 docker.io 03:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:48 ec43610c2a17: Pull complete 03:54:48 3a2ae6a8a46f: Pull complete 03:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:48 Configure a credential helper to remove this warning. See 03:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:48 03:54:48 Login Succeeded 03:54:48 ---> docker-login.sh ends [Pipeline] } 03:54:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:54:48 33b1e0a273af: Pull complete 03:54:48 5d3b04190fa2: Pull complete [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:48 ========================================================= 03:54:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:54:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:49 + 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 . 03:54:49 Sending build context to Docker daemon 5.64MB 03:54:49 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:54:49 Step 2/10 : FROM ${BASE} AS builder 03:54:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:54:49 9b18e9b68314: Pulling fs layer 03:54:49 35d82f9e3411: Pulling fs layer 03:54:49 e16973657156: Pulling fs layer 03:54:49 fc693d55d65f: Pulling fs layer 03:54:49 7e9fc2657dce: Pulling fs layer 03:54:49 dda99020689f: Pulling fs layer 03:54:49 db1c61fa0a46: Pulling fs layer 03:54:49 891c053d2c06: Pulling fs layer 03:54:49 fc693d55d65f: Waiting 03:54:49 7e9fc2657dce: Waiting 03:54:49 dda99020689f: Waiting 03:54:49 db1c61fa0a46: Waiting 03:54:49 891c053d2c06: Waiting 03:54:49 e16973657156: Verifying Checksum 03:54:49 e16973657156: Download complete 03:54:49 35d82f9e3411: Download complete 03:54:49 7e9fc2657dce: Download complete 03:54:49 dda99020689f: Download complete 03:54:49 9b18e9b68314: Verifying Checksum 03:54:49 9b18e9b68314: Download complete 03:54:50 9b18e9b68314: Pull complete 03:54:50 891c053d2c06: Verifying Checksum 03:54:50 891c053d2c06: Download complete 03:54:51 35d82f9e3411: Pull complete 03:54:51 e16973657156: Pull complete 03:54:52 db1c61fa0a46: Verifying Checksum 03:54:52 db1c61fa0a46: Download complete 03:54:52 2f39f015ded8: Pull complete 03:54:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:54:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:54:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:52 fc693d55d65f: Verifying Checksum 03:54:52 fc693d55d65f: Download complete 03:54:52 prd-ubuntu20.04-docker-8c-8g-4339 does not seem to be running inside a container 03:54:52 $ 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-1300 -v /w/workspace/gexfoundry_device-sdk-go_PR-1300:/w/workspace/gexfoundry_device-sdk-go_PR-1300:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1300@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 03:54:55 $ docker top c3018fef702423ff5619143887281e62eef47c415bbd45e90524f9b2c64d9a67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:56 ---> job-cost.sh 03:54:56 lf-activate-venv: SKIPPING 03:54:56 INFO: No Stack... 03:54:57 INFO: Retrieving Pricing Info for: v3-standard-8 03:54:57 INFO: Archiving Costs [Pipeline] sh 03:54:57 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives/cost.csv 03:54:57 + cut -d, -f6 [Pipeline] lock 03:54:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] 03:54:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] did not exist. Created. 03:54:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:54:58 + echo total: 0.2199999988079071 [Pipeline] stash 03:54:58 Stashed 1 file(s) [Pipeline] } 03:54:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:54:58 $ docker stop --time=1 c3018fef702423ff5619143887281e62eef47c415bbd45e90524f9b2c64d9a67 03:54:59 $ docker rm -f --volumes c3018fef702423ff5619143887281e62eef47c415bbd45e90524f9b2c64d9a67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:55:05 fc693d55d65f: Pull complete 03:55:05 7e9fc2657dce: Pull complete 03:55:05 dda99020689f: Pull complete 03:55:10 db1c61fa0a46: Pull complete 03:55:11 891c053d2c06: Pull complete 03:55:11 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:55:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:55:11 ---> f96f9c87975a 03:55:11 Step 3/10 : ARG MAKE=make build 03:55:13 ---> Running in 4e37b0822f90 03:55:13 Removing intermediate container 4e37b0822f90 03:55:13 ---> afbe85610be2 03:55:13 Step 4/10 : WORKDIR /device-sdk-go 03:55:13 ---> Running in 5ba0b762604d 03:55:14 Removing intermediate container 5ba0b762604d 03:55:14 ---> 8fa4c614bba4 03:55:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:55:14 ---> Running in 0b23ac65e407 03:55:14 Removing intermediate container 0b23ac65e407 03:55:14 ---> 1c22ae6c06be 03:55:14 Step 6/10 : RUN apk add --update --no-cache make git 03:55:14 ---> Running in 17c92bcf22bf 03:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:55:16 OK: 221 MiB in 51 packages 03:55:17 Removing intermediate container 17c92bcf22bf 03:55:17 ---> fa8154a4f326 03:55:17 Step 7/10 : COPY go.mod vendor* ./ 03:55:18 ---> 217ce7c3be94 03:55:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:18 ---> Running in ea3d6ab98570 03:56:26 Removing intermediate container ea3d6ab98570 03:56:26 ---> 2bfc29ff07bd 03:56:26 Step 9/10 : COPY . . 03:56:26 ---> b1e12acf1c3d 03:56:26 Step 10/10 : RUN ${MAKE} 03:56:26 ---> Running in c4dbfb729130 03:56:26 noop 03:56:26 Removing intermediate container c4dbfb729130 03:56:26 ---> ded1af9dad89 03:56:26 Successfully built ded1af9dad89 03:56:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:26 + docker inspect -f . ci-base-image-arm64 03:56:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:26 prd-ubuntu20.04-docker-arm64-4c-16g-4340 does not seem to be running inside a container 03:56:26 $ 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 ******** ci-base-image-arm64 cat 03:56:28 $ docker top 8af9a34706b16627f7e92962de03f527dd6c8cef6331138c335e598680ae4263 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:29 + go version 03:56:29 go version go1.18.7 linux/arm64 [Pipeline] } 03:56:29 $ docker stop --time=1 8af9a34706b16627f7e92962de03f527dd6c8cef6331138c335e598680ae4263 03:56:30 $ docker rm -f --volumes 8af9a34706b16627f7e92962de03f527dd6c8cef6331138c335e598680ae4263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:31 + docker inspect -f . ci-base-image-arm64 03:56:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:31 prd-ubuntu20.04-docker-arm64-4c-16g-4340 does not seem to be running inside a container 03:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:56:33 $ docker top 5236b195687ba56fc7b0c7537044682237c530f469a90c10cd9f7cac3de4245f -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 03:56:34 + make test 03:56:34 go test -race -coverprofile=coverage.out ./... 03:57:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:58:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:58:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:58:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:58:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:58:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.385s coverage: 27.6% of statements 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.416s coverage: 78.9% of statements 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 03:59:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.535s coverage: 73.6% of statements 03:59:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:59:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:59:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.599s coverage: 59.8% of statements 03:59:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:59:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 03:59:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:59:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.501s coverage: 65.1% of statements 03:59:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:59:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:59:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.693s coverage: 89.2% of statements 03:59:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 03:59:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.339s coverage: 4.6% of statements 03:59:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:59:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:59:06 GO111MODULE=on go vet ./... 04:00:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:00:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:00:42 ./bin/test-attribution-txt.sh [Pipeline] echo 04:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:00:42 $ docker stop --time=1 5236b195687ba56fc7b0c7537044682237c530f469a90c10cd9f7cac3de4245f 04:00:45 $ docker rm -f --volumes 5236b195687ba56fc7b0c7537044682237c530f469a90c10cd9f7cac3de4245f [Pipeline] // withDockerContainer [Pipeline] sh 04:00:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:00:46 Warning: overwriting stash ‘coverage-report’ 04:00:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:00:48 + ls -al . 04:00:48 total 268 04:00:48 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 03:56 . 04:00:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 03:54 .. 04:00:48 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 03:54 .dockerignore 04:00:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 03:54 .git 04:00:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 03:54 .github 04:00:48 -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 03:54 .gitignore 04:00:48 -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 03:54 .golangci.yml 04:00:48 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 03:54 CHANGELOG.md 04:00:48 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 03:54 GOVERNANCE.md 04:00:48 -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 03:54 Jenkinsfile 04:00:48 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 03:54 LICENSE 04:00:48 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 03:54 Makefile 04:00:48 -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 03:54 OWNERS.md 04:00:48 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 03:54 README.md 04:00:48 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 03:52 VERSION 04:00:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 03:54 bin 04:00:48 -rw-r--r-- 1 jenkins jenkins 100730 Feb 2 03:59 coverage.out 04:00:48 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 03:54 example 04:00:48 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 03:54 go.mod 04:00:48 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 03:54 go.sum 04:00:48 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 03:54 internal 04:00:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 03:54 openapi 04:00:48 drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 03:54 pkg 04:00:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 03:54 snap 04:00:48 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00: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=05376da3807009c6513dd48f844311be9b41b0a5 --label arch=arm64 --label version=0.0.0 . 04:00:48 Sending build context to Docker daemon 5.742MB 04:00:49 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:00:49 Step 2/23 : FROM ${BASE} AS builder 04:00:49 ---> ded1af9dad89 04:00:49 Step 3/23 : ARG MAKE=make build 04:00:49 ---> Running in 3a07a3faafa1 04:00:49 Removing intermediate container 3a07a3faafa1 04:00:49 ---> b5f8fbb16224 04:00:49 Step 4/23 : WORKDIR /device-sdk-go 04:00:49 ---> Running in b655c2968ab1 04:00:49 Removing intermediate container b655c2968ab1 04:00:49 ---> e1e4e0bc75c8 04:00:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:00:50 ---> Running in 7a459d99e659 04:00:50 Removing intermediate container 7a459d99e659 04:00:50 ---> 49f02d09b31d 04:00:50 Step 6/23 : RUN apk add --update --no-cache make git 04:00:50 ---> Running in afa45dc6c9ba 04:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:00:52 OK: 221 MiB in 51 packages 04:00:53 Removing intermediate container afa45dc6c9ba 04:00:53 ---> cb152a1479d7 04:00:53 Step 7/23 : COPY go.mod vendor* ./ 04:00:54 ---> d4ff330ae9c9 04:00:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:54 ---> Running in 694de8ac867e 04:00:56 Removing intermediate container 694de8ac867e 04:00:56 ---> 91a1dbbe2b60 04:00:56 Step 9/23 : COPY . . 04:00:57 ---> d38d2ab5ddcf 04:00:57 Step 10/23 : RUN ${MAKE} 04:00:57 ---> Running in 4c08074466c8 04:00:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:02:50 Removing intermediate container 4c08074466c8 04:02:50 ---> ed4cf82ea683 04:02:50 Step 11/23 : FROM alpine:3.16 04:02:50 3.16: Pulling from library/alpine 04:02:50 6875df1f5354: Pulling fs layer 04:02:50 6875df1f5354: Download complete 04:02:50 6875df1f5354: Pull complete 04:02:50 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:02:50 Status: Downloaded newer image for alpine:3.16 04:02:50 ---> 2b4661558fb8 04:02:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:02:50 ---> Running in 7bc33ef4ed19 04:02:50 Removing intermediate container 7bc33ef4ed19 04:02:50 ---> f2081020f517 04:02:50 Step 13/23 : RUN apk add --update --no-cache 04:02:50 ---> Running in 6fea4eb7f6ef 04:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:02:50 OK: 5 MiB in 14 packages 04:02:53 Removing intermediate container 6fea4eb7f6ef 04:02:53 ---> 9f5018e62210 04:02:53 Step 14/23 : WORKDIR / 04:02:53 ---> Running in 8c38ff5ac632 04:02:53 Removing intermediate container 8c38ff5ac632 04:02:53 ---> c24cc2edd3b5 04:02:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:02:53 ---> ea292cc2e990 04:02:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:02:54 ---> 6273490dc1dd 04:02:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:02:55 ---> f5b0272765ec 04:02:55 Step 18/23 : EXPOSE 59999 04:02:55 ---> Running in 5012cc066106 04:02:55 Removing intermediate container 5012cc066106 04:02:55 ---> 9934f3012f3f 04:02:55 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:02:55 ---> Running in 85d5bde8ca55 04:02:55 Removing intermediate container 85d5bde8ca55 04:02:55 ---> 95463519cf8c 04:02:55 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:02:55 ---> Running in ad9bcdb827a5 04:02:56 Removing intermediate container ad9bcdb827a5 04:02:56 ---> ac2f0b0ff661 04:02:56 Step 21/23 : LABEL arch=arm64 04:02:56 ---> Running in be143c6ceb09 04:02:56 Removing intermediate container be143c6ceb09 04:02:56 ---> c84237258bfb 04:02:56 Step 22/23 : LABEL git_sha=05376da3807009c6513dd48f844311be9b41b0a5 04:02:56 ---> Running in 9f2a6f009898 04:02:56 Removing intermediate container 9f2a6f009898 04:02:56 ---> b5eae0b9f593 04:02:56 Step 23/23 : LABEL version=0.0.0 04:02:56 ---> Running in 047a58891454 04:02:57 Removing intermediate container 047a58891454 04:02:57 ---> 42e6ac4ba2ab 04:02:57 [Warning] One or more build-args [ARCH] were not consumed 04:02:57 Successfully built 42e6ac4ba2ab 04:02:57 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:02:58 04:02:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:02:58 arm64: Pulling from edgex-lftools-log-publisher 04:02:58 8998bd30e6a1: Pulling fs layer 04:02:58 04944245beec: Pulling fs layer 04:02:58 699f458cf7ca: Pulling fs layer 04:02:58 765212b225bb: Pulling fs layer 04:02:58 f23df028b6ca: Pulling fs layer 04:02:58 d65c8cfc05b1: Pulling fs layer 04:02:58 2437ff75d9bd: Pulling fs layer 04:02:58 765212b225bb: Waiting 04:02:58 f23df028b6ca: Waiting 04:02:58 d65c8cfc05b1: Waiting 04:02:58 2437ff75d9bd: Waiting 04:02:58 04944245beec: Verifying Checksum 04:02:58 04944245beec: Download complete 04:02:58 765212b225bb: Download complete 04:02:58 f23df028b6ca: Verifying Checksum 04:02:58 f23df028b6ca: Download complete 04:02:59 d65c8cfc05b1: Verifying Checksum 04:02:59 d65c8cfc05b1: Download complete 04:02:59 699f458cf7ca: Verifying Checksum 04:02:59 699f458cf7ca: Download complete 04:02:59 8998bd30e6a1: Verifying Checksum 04:02:59 8998bd30e6a1: Download complete 04:03:01 2437ff75d9bd: Verifying Checksum 04:03:01 2437ff75d9bd: Download complete 04:03:03 8998bd30e6a1: Pull complete 04:03:03 04944245beec: Pull complete 04:03:04 699f458cf7ca: Pull complete 04:03:05 765212b225bb: Pull complete 04:03:05 f23df028b6ca: Pull complete 04:03:06 d65c8cfc05b1: Pull complete 04:03:21 2437ff75d9bd: Pull complete 04:03:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:03:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:21 prd-ubuntu20.04-docker-arm64-4c-16g-4340 does not seem to be running inside a container 04:03:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:03:23 $ docker top d32d0fb4d7dd9f1d9eb6cc27a725102a2efc66177ad6a53e0ace55619e87cdcc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:24 ---> job-cost.sh 04:03:24 lf-activate-venv: SKIPPING 04:03:24 INFO: No Stack... 04:03:26 INFO: Retrieving Pricing Info for: v3-standard-4 04:03:27 INFO: Archiving Costs [Pipeline] sh 04:03:27 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:03:27 + cut -d, -f6 [Pipeline] lock 04:03:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] 04:03:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] did not exist. Created. 04:03:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:03:27 /w/workspace/device-sdk-go/1@tmp/durable-60ae7cf7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:03:28 + echo total: 0.10999999940395355 [Pipeline] stash 04:03:28 Warning: overwriting stash ‘stack-cost’ 04:03:28 Stashed 1 file(s) [Pipeline] } 04:03:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1300-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:03:28 $ docker stop --time=1 d32d0fb4d7dd9f1d9eb6cc27a725102a2efc66177ad6a53e0ace55619e87cdcc 04:03:30 $ docker rm -f --volumes d32d0fb4d7dd9f1d9eb6cc27a725102a2efc66177ad6a53e0ace55619e87cdcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:03:31 provisioning config files... 04:03:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/config17018956619760063818tmp [Pipeline] { [Pipeline] sh 04:03:31 + set +x 04:03:31 + + curl -s https://codecov.io/bash 04:03:31 bash -s -- 04:03:31 04:03:31 _____ _ 04:03:31 / ____| | | 04:03:31 | | ___ __| | ___ ___ _____ __ 04:03:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:03:31 | |___| (_) | (_| | __/ (_| (_) \ V / 04:03:31 \_____\___/ \__,_|\___|\___\___/ \_/ 04:03:31 Bash-1.0.6 04:03:31 04:03:31 04:03:31 ==> git version 2.25.1 found 04:03:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:03:31 Release-Date: 2020-01-08 04:03:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:03:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:03:31 ==> Jenkins CI detected. 04:03:31 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1300 04:03:31 project root: . 04:03:31 --> token set from env 04:03:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:03:31 ==> Running gcov in . (disable via -X gcov) 04:03:31 ==> Python coveragepy not found 04:03:31 ==> Searching for coverage reports in: 04:03:31 + . 04:03:31 -> Found 1 reports 04:03:31 ==> Detecting git/mercurial file structure 04:03:31 ==> Reading reports 04:03:31 + ./coverage.out bytes=100730 04:03:31 ==> Appending adjustments 04:03:31 https://docs.codecov.io/docs/fixing-reports 04:03:31 + Found adjustments 04:03:31 ==> Gzipping contents 04:03:31 16K /tmp/codecov.dSjuVg.gz 04:03:31 ==> Uploading reports 04:03:31 url: https://codecov.io 04:03:31 query: branch=PR-1300&commit=05376da3807009c6513dd48f844311be9b41b0a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1300&job=&cmd_args= 04:03:31 -> Pinging Codecov 04:03:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1300&commit=05376da3807009c6513dd48f844311be9b41b0a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1300&job=&cmd_args= 04:03:32 -> Uploading to 04:03:32 https://storage.googleapis.com/codecov/v4/raw/2023-02-02/7E55EF52A471D76F132DFD9A03CDDE97/05376da3807009c6513dd48f844311be9b41b0a5/6a6465b5-f6cc-49f6-b80c-646a47ef7e11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T040332Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8373552546ba4c7c6686473f848d782339441a06ee52845451424f75b33f1b8b 04:03:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:03:32 Dload Upload Total Spent Left Speed 04:03:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14533 0 0 100 14533 0 71240 --:--:-- --:--:-- --:--:-- 70892 100 14533 0 0 100 14533 0 54841 --:--:-- --:--:-- --:--:-- 54635 04:03:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/05376da3807009c6513dd48f844311be9b41b0a5 [Pipeline] } 04:03:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:03:34 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives ] 04:03:34 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives 04:03:34 total 16 04:03:34 drwxr-xr-x 3 root root 4096 Feb 2 03:54 . 04:03:34 drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 03:54 .. 04:03:34 drwxr-xr-x 2 root root 4096 Feb 2 03:54 cost 04:03:34 -rw-r--r-- 1 root root 86 Feb 2 03:54 cost.csv 04:03:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives 04:03:34 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives 04:03:34 total 16 04:03:34 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 03:54 . 04:03:34 drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 03:54 .. 04:03:34 drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 03:54 cost 04:03:34 -rw-r--r-- 1 jenkins jenkins 86 Feb 2 03:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:03:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:03:35 ---> package-listing.sh 04:03:35 ++ facter osfamily 04:03:35 ++ tr '[:upper:]' '[:lower:]' 04:03:35 + OS_FAMILY=debian 04:03:35 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1300 04:03:35 + START_PACKAGES=/tmp/packages_start.txt 04:03:35 + END_PACKAGES=/tmp/packages_end.txt 04:03:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:03:35 + PACKAGES=/tmp/packages_start.txt 04:03:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1300 ']' 04:03:35 + PACKAGES=/tmp/packages_end.txt 04:03:35 + case "${OS_FAMILY}" in 04:03:35 + dpkg -l 04:03:35 + grep '^ii' 04:03:35 + '[' -f /tmp/packages_start.txt ']' 04:03:35 + '[' -f /tmp/packages_end.txt ']' 04:03:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:03:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1300 ']' 04:03:35 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives/ 04:03:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1300/archives/ [Pipeline] echo 04:03:35 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-1300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:03:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:36 prd-ubuntu20.04-docker-8c-8g-4339 does not seem to be running inside a container 04:03:36 $ 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-1300/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-1300 -v /w/workspace/gexfoundry_device-sdk-go_PR-1300:/w/workspace/gexfoundry_device-sdk-go_PR-1300:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1300@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 04:03:37 $ docker top ac2ccd127904a931b19eb3d3a36715f5dd628b3d9dec5694d614a823d302811e -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:37 + touch /tmp/pre-build-complete [Pipeline] sh 04:03:37 + mkdir -p /var/log/sysstat [Pipeline] sh 04:03:38 + ls /var/log/sa-host 04:03:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:38 provisioning config files... 04:03:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1300@tmp/config7551799617450625686tmp [Pipeline] { [Pipeline] echo 04:03:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:03:38 ---> create-netrc.sh [Pipeline] } 04:03:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:03:39 ---> python-tools-install.sh [Pipeline] echo 04:03:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:03:39 ---> sudo-logs.sh 04:03:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:03:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:03:39 ---> job-cost.sh 04:03:39 lf-activate-venv: SKIPPING 04:03:39 DEBUG: total: 0.2199999988079071 04:03:39 INFO: Retrieving Stack Cost... 04:03:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:03:43 INFO: Archiving Costs [Pipeline] echo 04:03:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:03:43 ---> logs-deploy.sh 04:03:43 lf-activate-venv: SKIPPING 04:03:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1300/1 04:03:43 INFO: archiving workspace using pattern(s): 04:03:44 Archives upload complete. 04:03:44 INFO: archiving logs to Nexus