Pull request #1434 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 87389bdebb11d4655f183884612f3f0d4c970364 rather than cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a Obtained Jenkinsfile from 87389bdebb11d4655f183884612f3f0d4c970364 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-ssh10498411057061247214.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12003776424037162773.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1434/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-1434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6431090666041208818.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-1434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8509921875378342862.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6070856839624404786.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-1434/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-1434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4112384558554842816.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10811’ Running on prd-ubuntu20.04-docker-8c-8g-10813 in /w/workspace/gexfoundry_device-sdk-go_PR-1434 [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-1434 # 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/1434/head:refs/remotes/origin/PR-1434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 87389bdebb11d4655f183884612f3f0d4c970364 into PR head commit cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a Merge succeeded, producing cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a Checking out Revision cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a (PR-1434) > git config core.sparsecheckout # timeout=10 > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # 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 87389bdebb11d4655f183884612f3f0d4c970364 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # timeout=10 Commit message: "feat!: Using url.PathUnescape for decoding API path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:29:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:29:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:36 ========================================================= 11:29:36 EdgeX Global Pipelines Version Info 11:29:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:29:36 ------------------- 11:29:36 stable info: 11:29:36 ------------------- 11:29:36 Commited By: Bill Mahoney bill.mahoney@intel.com 11:29:36 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 11:29:36 Message: update stable to v1.0.248 11:29:37 ------------------- 11:29:37 experimental info: 11:29:37 ------------------- 11:29:37 Commited By: **** collab-it+edgex@linuxfoundation.org 11:29:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 11:29:37 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:29:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:29:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:29:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:29:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:29:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1434 [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1434 [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1434 [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdd8b0f [Pipeline] echo 11:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:39 provisioning config files... 11:29:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config8383952045796952691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:29:39 ---> docker-login.sh 11:29:39 nexus3.edgexfoundry.org:10001 11:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:40 Configure a credential helper to remove this warning. See 11:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:40 11:29:40 Login Succeeded 11:29:40 nexus3.edgexfoundry.org:10002 11:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:40 Configure a credential helper to remove this warning. See 11:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:40 11:29:40 Login Succeeded 11:29:40 nexus3.edgexfoundry.org:10003 11:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:40 Configure a credential helper to remove this warning. See 11:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:40 11:29:40 Login Succeeded 11:29:40 nexus3.edgexfoundry.org:10004 11:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:40 Configure a credential helper to remove this warning. See 11:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:40 11:29:40 Login Succeeded 11:29:40 docker.io 11:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:40 Configure a credential helper to remove this warning. See 11:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:40 11:29:40 Login Succeeded 11:29:40 ---> docker-login.sh ends [Pipeline] } 11:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:29:41 + git rev-list -1 --merges cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a~1..cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo 11:29:41 -----------> git rev-list -1 --merges cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a~1..cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [false] [Pipeline] sh 11:29:41 + git log --format=format:%s -1 cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo 11:29:41 ========================================================= 11:29:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:29:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:29:42 + git log --format=format:%s -1 cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] echo 11:29:42 [semverPrep] GIT_COMMIT: cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a, Commit Message: feat!: Using url.PathUnescape for decoding API path [Pipeline] echo 11:29:42 [semverPrep] This is not a build commit. [Pipeline] sh 11:29:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:42 + grep -v github /etc/ssh/ssh_known_hosts 11:29:42 + [ -e /tmp/ssh_known_hosts ] 11:29:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:29:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:29:42 + sudo tee -a /etc/ssh/ssh_known_hosts 11:29:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:43 11:29:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:43 0.1.4: Pulling from edgex-devops/py-git-semver 11:29:43 b85a868b505f: Pulling fs layer 11:29:43 e2be974225ed: Pulling fs layer 11:29:43 339a4e72a1f5: Pulling fs layer 11:29:43 988bab9f4d93: Pulling fs layer 11:29:43 1469e6f7b9e6: Pulling fs layer 11:29:43 eaf3925da568: Pulling fs layer 11:29:43 bab4dde63d76: Pulling fs layer 11:29:43 bde34c3a00c8: Pulling fs layer 11:29:43 b352a97aabf1: Pulling fs layer 11:29:43 4872d77fe225: Pulling fs layer 11:29:43 5851b861e8e6: Pulling fs layer 11:29:43 bab4dde63d76: Waiting 11:29:43 988bab9f4d93: Waiting 11:29:43 bde34c3a00c8: Waiting 11:29:43 b352a97aabf1: Waiting 11:29:43 4872d77fe225: Waiting 11:29:43 1469e6f7b9e6: Waiting 11:29:43 5851b861e8e6: Waiting 11:29:43 eaf3925da568: Waiting 11:29:43 e2be974225ed: Verifying Checksum 11:29:43 e2be974225ed: Download complete 11:29:43 988bab9f4d93: Verifying Checksum 11:29:43 988bab9f4d93: Download complete 11:29:43 1469e6f7b9e6: Verifying Checksum 11:29:43 1469e6f7b9e6: Download complete 11:29:43 339a4e72a1f5: Verifying Checksum 11:29:43 339a4e72a1f5: Download complete 11:29:43 eaf3925da568: Verifying Checksum 11:29:43 eaf3925da568: Download complete 11:29:43 bde34c3a00c8: Download complete 11:29:43 b352a97aabf1: Download complete 11:29:43 4872d77fe225: Verifying Checksum 11:29:43 4872d77fe225: Download complete 11:29:43 5851b861e8e6: Verifying Checksum 11:29:43 5851b861e8e6: Download complete 11:29:43 b85a868b505f: Download complete 11:29:44 bab4dde63d76: Verifying Checksum 11:29:44 bab4dde63d76: Download complete 11:29:45 b85a868b505f: Pull complete 11:29:45 e2be974225ed: Pull complete 11:29:45 339a4e72a1f5: Pull complete 11:29:45 988bab9f4d93: Pull complete 11:29:46 1469e6f7b9e6: Pull complete 11:29:46 eaf3925da568: Pull complete 11:29:48 bab4dde63d76: Pull complete 11:29:48 bde34c3a00c8: Pull complete 11:29:48 b352a97aabf1: Pull complete 11:29:48 4872d77fe225: Pull complete 11:29:48 5851b861e8e6: Pull complete 11:29:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:29:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:48 prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container 11:29:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:29:52 $ docker top 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 -eo pid,comm 11:29:52 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). 11:29:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:29:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:29:52 [ssh-agent] Looking for ssh-agent implementation... 11:29:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:29:52 $ docker exec 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent 11:29:52 SSH_AUTH_SOCK=/tmp/ssh-G3sGvdXI6y9V/agent.32 11:29:52 SSH_AGENT_PID=38 11:29:52 Running ssh-add (command line suppressed) 11:29:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_17791954321573543946.key (/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_17791954321573543946.key) 11:29:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:29:53 + git tag --points-at HEAD [Pipeline] } 11:29:53 $ docker exec --env ******** --env ******** 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent -k 11:29:53 unset SSH_AUTH_SOCK; 11:29:53 unset SSH_AGENT_PID; 11:29:53 echo Agent pid 38 killed; 11:29:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:29:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:29:53 [ssh-agent] Looking for ssh-agent implementation... 11:29:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:29:53 $ docker exec 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent 11:29:53 SSH_AUTH_SOCK=/tmp/ssh-R5aYE12MYHCb/agent.70 11:29:53 SSH_AGENT_PID=76 11:29:53 Running ssh-add (command line suppressed) 11:29:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_8027309108333398110.key (/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/private_key_8027309108333398110.key) 11:29:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:29:53 + git semver init 11:29:54 2023-04-25 11:29:54,154 [run_init] DEBUG init version:0.0.0 force:False 11:29:54 2023-04-25 11:29:54,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver 11:29:54 2023-04-25 11:29:54,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver 11:29:54 2023-04-25 11:29:54,156 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1434, universal_newlines=False, shell=None, istream=None) 11:29:55 2023-04-25 11:29:55,034 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.git/info/exclude 11:29:55 2023-04-25 11:29:55,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver/PR-1434 with force:False 11:29:55 2023-04-25 11:29:55,035 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver/PR-1434 11:29:55 2023-04-25 11:29:55,040 [execute] INFO git cat-file --batch-check 11:29:55 2023-04-25 11:29:55,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver, universal_newlines=False, shell=None, istream=) 11:29:55 2023-04-25 11:29:55,047 [execute] INFO git cat-file --batch 11:29:55 2023-04-25 11:29:55,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver, universal_newlines=False, shell=None, istream=) 11:29:55 2023-04-25 11:29:55,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1434/.semver/PR-1434 11:29:55 0.0.0 [Pipeline] } 11:29:55 $ docker exec --env ******** --env ******** 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 ssh-agent -k 11:29:55 unset SSH_AUTH_SOCK; 11:29:55 unset SSH_AGENT_PID; 11:29:55 echo Agent pid 76 killed; 11:29:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:55 + git semver [Pipeline] } 11:29:55 $ docker stop --time=1 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 11:29:57 $ docker rm -f --volumes 165675b56f410d009af50b733655faae6ed7313078b55ab8b0355f962cec6f03 [Pipeline] // withDockerContainer [Pipeline] sh 11:29:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:29:58 Stashed 1 file(s) [Pipeline] echo 11:29:58 [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 11:29:58 provisioning config files... 11:29:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config9317865543923660950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:29:59 ---> docker-login.sh 11:29:59 nexus3.edgexfoundry.org:10001 11:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:59 Configure a credential helper to remove this warning. See 11:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:59 11:29:59 Login Succeeded 11:29:59 nexus3.edgexfoundry.org:10002 11:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:59 Configure a credential helper to remove this warning. See 11:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:59 11:29:59 Login Succeeded 11:29:59 nexus3.edgexfoundry.org:10003 11:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:59 Configure a credential helper to remove this warning. See 11:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:59 11:29:59 Login Succeeded 11:29:59 nexus3.edgexfoundry.org:10004 11:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:59 Configure a credential helper to remove this warning. See 11:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:59 11:29:59 Login Succeeded 11:29:59 docker.io 11:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:59 Configure a credential helper to remove this warning. See 11:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:59 11:29:59 Login Succeeded 11:29:59 ---> docker-login.sh ends [Pipeline] } 11:29:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:30:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:30:00 ========================================================= 11:30:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:30:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:00 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 11:30:00 Sending build context to Docker daemon 11.02MB 11:30:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:30:00 Step 2/10 : FROM ${BASE} AS builder 11:30:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:30:00 f56be85fc22e: Pulling fs layer 11:30:00 85791d961cd3: Pulling fs layer 11:30:00 d694b5ae8c79: Pulling fs layer 11:30:00 9f32a84ed3da: Pulling fs layer 11:30:00 4d19c01a9841: Pulling fs layer 11:30:00 9325e15d5711: Pulling fs layer 11:30:00 556b6ee489ea: Pulling fs layer 11:30:00 c5a4b2cf53e6: Pulling fs layer 11:30:00 4d19c01a9841: Waiting 11:30:00 9325e15d5711: Waiting 11:30:00 556b6ee489ea: Waiting 11:30:00 c5a4b2cf53e6: Waiting 11:30:00 9f32a84ed3da: Waiting 11:30:00 85791d961cd3: Verifying Checksum 11:30:00 85791d961cd3: Download complete 11:30:00 9f32a84ed3da: Verifying Checksum 11:30:00 9f32a84ed3da: Download complete 11:30:00 4d19c01a9841: Verifying Checksum 11:30:00 4d19c01a9841: Download complete 11:30:00 f56be85fc22e: Verifying Checksum 11:30:00 f56be85fc22e: Download complete 11:30:01 9325e15d5711: Verifying Checksum 11:30:01 9325e15d5711: Download complete 11:30:01 f56be85fc22e: Pull complete 11:30:01 c5a4b2cf53e6: Verifying Checksum 11:30:01 c5a4b2cf53e6: Download complete 11:30:01 85791d961cd3: Pull complete 11:30:01 d694b5ae8c79: Verifying Checksum 11:30:01 d694b5ae8c79: Download complete 11:30:01 556b6ee489ea: Verifying Checksum 11:30:01 556b6ee489ea: Download complete 11:30:05 d694b5ae8c79: Pull complete 11:30:05 9f32a84ed3da: Pull complete 11:30:05 4d19c01a9841: Pull complete 11:30:05 9325e15d5711: Pull complete 11:30:07 556b6ee489ea: Pull complete 11:30:08 c5a4b2cf53e6: Pull complete 11:30:08 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 11:30:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:30:08 ---> c4be618373d6 11:30:08 Step 3/10 : ARG MAKE=make build 11:30:13 Still waiting to schedule task 11:30:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10812’ 11:30:13 ---> Running in 7c7095fedc30 11:30:13 Removing intermediate container 7c7095fedc30 11:30:13 ---> cc2536887e68 11:30:13 Step 4/10 : WORKDIR /device-sdk-go 11:30:13 ---> Running in 7fe0f08137d0 11:30:13 Removing intermediate container 7fe0f08137d0 11:30:13 ---> 8979f7893d0a 11:30:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:30:13 ---> Running in d0ef26f3b6df 11:30:13 Removing intermediate container d0ef26f3b6df 11:30:13 ---> cd00f5afba1c 11:30:13 Step 6/10 : RUN apk add --update --no-cache make git 11:30:13 ---> Running in b8092e09825d 11:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:30:14 OK: 265 MiB in 53 packages 11:30:15 Removing intermediate container b8092e09825d 11:30:15 ---> 0d3530a98b4e 11:30:15 Step 7/10 : COPY go.mod vendor* ./ 11:30:15 ---> b2b2bc308532 11:30:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:30:15 ---> Running in dff414006f1f 11:30:41 Removing intermediate container dff414006f1f 11:30:41 ---> f4bfdfa41cfa 11:30:41 Step 9/10 : COPY . . 11:30:41 ---> 1a7b04e4b98a 11:30:41 Step 10/10 : RUN ${MAKE} 11:30:41 ---> Running in 3ac903127762 11:30:41 noop 11:30:41 Removing intermediate container 3ac903127762 11:30:41 ---> 23f54bf5b79d 11:30:41 Successfully built 23f54bf5b79d 11:30:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:42 + docker inspect -f . ci-base-image-x86_64 11:30:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:30:42 prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container 11:30:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:30:43 $ docker top bc399e4ba311a97f8fe95c04f3c5fb489f9bc6411ac4ead31bd6201ffbd8d6f4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:43 + go version 11:30:43 go version go1.20.2 linux/amd64 [Pipeline] } 11:30:43 $ docker stop --time=1 bc399e4ba311a97f8fe95c04f3c5fb489f9bc6411ac4ead31bd6201ffbd8d6f4 11:30:44 $ docker rm -f --volumes bc399e4ba311a97f8fe95c04f3c5fb489f9bc6411ac4ead31bd6201ffbd8d6f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:45 + docker inspect -f . ci-base-image-x86_64 11:30:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:30:45 prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container 11:30:45 $ 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-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:30:46 $ docker top b905ce70d48f45b3a464b35fb07d721f0b53a29f576e4d08adf652c6f9f13cf4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1434 [Pipeline] fileExists [Pipeline] sh 11:30:47 + make test 11:30:47 go test -race -coverprofile=coverage.out ./... 11:30:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:31:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:31:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:31:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.050s coverage: 80.2% of statements 11:31:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements 11:31:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:31:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.092s coverage: 77.5% of statements 11:31:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:31:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:31:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:31:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:31:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.6% of statements 11:31:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements 11:31:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements 11:31:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements 11:31:31 GO111MODULE=on go vet ./... 11:31:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:31:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:31:31 ./bin/test-attribution-txt.sh [Pipeline] echo 11:31:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:31:32 $ docker stop --time=1 b905ce70d48f45b3a464b35fb07d721f0b53a29f576e4d08adf652c6f9f13cf4 11:31:35 $ docker rm -f --volumes b905ce70d48f45b3a464b35fb07d721f0b53a29f576e4d08adf652c6f9f13cf4 [Pipeline] // withDockerContainer [Pipeline] sh 11:31:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:31:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:31:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:31:37 + ls -al . 11:31:37 total 272 11:31:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 11:30 . 11:31:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:29 .. 11:31:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 11:29 .dockerignore 11:31:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 11:29 .git 11:31:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:29 .github 11:31:37 -rw-rw-r-- 1 jenkins jenkins 131 Apr 25 11:29 .gitignore 11:31:37 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 11:29 .golangci.yml 11:31:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 11:29 .semver 11:31:37 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 25 11:29 CHANGELOG.md 11:31:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 11:29 GOVERNANCE.md 11:31:37 -rw-rw-r-- 1 jenkins jenkins 885 Apr 25 11:29 Jenkinsfile 11:31:37 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 25 11:29 LICENSE 11:31:37 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 25 11:29 Makefile 11:31:37 -rw-rw-r-- 1 jenkins jenkins 619 Apr 25 11:29 OWNERS.md 11:31:37 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 25 11:29 README.md 11:31:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 11:29 VERSION 11:31:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:29 bin 11:31:37 -rw-r--r-- 1 jenkins jenkins 106119 Apr 25 11:31 coverage.out 11:31:37 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 11:29 example 11:31:37 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 25 11:29 go.mod 11:31:37 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 25 11:29 go.sum 11:31:37 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:29 internal 11:31:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 11:29 openapi 11:31:37 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 11:29 pkg 11:31:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:29 snap 11:31:37 -rw-rw-r-- 1 jenkins jenkins 222 Apr 25 11:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:37 + 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=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a --label arch=amd64 --label version=0.0.0 . 11:31:37 Sending build context to Docker daemon 11.12MB 11:31:37 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 11:31:37 Step 2/23 : FROM ${BASE} AS builder 11:31:37 ---> 23f54bf5b79d 11:31:37 Step 3/23 : ARG MAKE=make build 11:31:37 ---> Running in a4fa2f5bff06 11:31:37 Removing intermediate container a4fa2f5bff06 11:31:37 ---> d7d82c148d5d 11:31:37 Step 4/23 : WORKDIR /device-sdk-go 11:31:37 ---> Running in cd235038ab99 11:31:37 Removing intermediate container cd235038ab99 11:31:37 ---> d1b145353f0c 11:31:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:31:37 ---> Running in f36a1377a486 11:31:38 Removing intermediate container f36a1377a486 11:31:38 ---> 5ee02f73da83 11:31:38 Step 6/23 : RUN apk add --update --no-cache make git 11:31:38 ---> Running in 37a449d78341 11:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:31:38 OK: 265 MiB in 53 packages 11:31:38 Removing intermediate container 37a449d78341 11:31:38 ---> 379053b47fd2 11:31:38 Step 7/23 : COPY go.mod vendor* ./ 11:31:39 ---> 3431d39168be 11:31:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:31:39 ---> Running in a178df7d3c42 11:31:39 Removing intermediate container a178df7d3c42 11:31:39 ---> 3713acb806e0 11:31:39 Step 9/23 : COPY . . 11:31:40 ---> 18df1f0ee96c 11:31:40 Step 10/23 : RUN ${MAKE} 11:31:40 ---> Running in b6a0543f1353 11:31:40 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 11:31:58 Removing intermediate container b6a0543f1353 11:31:58 ---> 2e2dd3ea91d2 11:31:58 Step 11/23 : FROM alpine:3.17 11:31:58 3.17: Pulling from library/alpine 11:31:58 f56be85fc22e: Already exists 11:31:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:31:58 Status: Downloaded newer image for alpine:3.17 11:31:58 ---> 9ed4aefc74f6 11:31:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:31:58 ---> Running in 94d7e4f95fc8 11:31:58 Removing intermediate container 94d7e4f95fc8 11:31:58 ---> 2fc9eef9e2b5 11:31:58 Step 13/23 : RUN apk add --update --no-cache 11:31:58 ---> Running in 567b59087e73 11:31:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:31:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:31:59 OK: 7 MiB in 15 packages 11:31:59 Removing intermediate container 567b59087e73 11:31:59 ---> 607893f8b3d4 11:31:59 Step 14/23 : WORKDIR / 11:31:59 ---> Running in 86358d5e6ca0 11:31:59 Removing intermediate container 86358d5e6ca0 11:31:59 ---> 489595582e6e 11:31:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:31:59 ---> 03e325620fc6 11:31:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:32:00 ---> 576c8b4ca150 11:32:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:32:00 ---> d3c7f15a4f8f 11:32:00 Step 18/23 : EXPOSE 59999 11:32:00 ---> Running in 1e15d97e5c83 11:32:00 Removing intermediate container 1e15d97e5c83 11:32:00 ---> cf547db32538 11:32:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:32:00 ---> Running in ef0fd834fee9 11:32:00 Removing intermediate container ef0fd834fee9 11:32:00 ---> 799a3cd65e98 11:32:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:32:01 ---> Running in f4205421b109 11:32:01 Removing intermediate container f4205421b109 11:32:01 ---> 98ea04fcfbd8 11:32:01 Step 21/23 : LABEL arch=amd64 11:32:01 ---> Running in 90d334d0b53d 11:32:01 Removing intermediate container 90d334d0b53d 11:32:01 ---> c24b47e07063 11:32:01 Step 22/23 : LABEL git_sha=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a 11:32:01 ---> Running in 80ba74bf02c2 11:32:01 Removing intermediate container 80ba74bf02c2 11:32:01 ---> 215cd98ae007 11:32:01 Step 23/23 : LABEL version=0.0.0 11:32:01 ---> Running in 03d2dc540424 11:32:01 Removing intermediate container 03d2dc540424 11:32:01 ---> 4d4f1720c9b6 11:32:01 [Warning] One or more build-args [ARCH] were not consumed 11:32:01 Successfully built 4d4f1720c9b6 11:32:01 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 11:32:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:32:02 11:32:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:32:02 latest: Pulling from edgex-lftools-log-publisher 11:32:02 5eb5b503b376: Pulling fs layer 11:32:02 5c69ac0246d0: Pulling fs layer 11:32:02 ec43610c2a17: Pulling fs layer 11:32:02 3a2ae6a8a46f: Pulling fs layer 11:32:02 33b1e0a273af: Pulling fs layer 11:32:02 5d3b04190fa2: Pulling fs layer 11:32:02 2f39f015ded8: Pulling fs layer 11:32:02 3a2ae6a8a46f: Waiting 11:32:02 33b1e0a273af: Waiting 11:32:02 5d3b04190fa2: Waiting 11:32:02 2f39f015ded8: Waiting 11:32:02 5c69ac0246d0: Download complete 11:32:02 3a2ae6a8a46f: Verifying Checksum 11:32:02 3a2ae6a8a46f: Download complete 11:32:02 33b1e0a273af: Verifying Checksum 11:32:02 33b1e0a273af: Download complete 11:32:02 ec43610c2a17: Verifying Checksum 11:32:02 ec43610c2a17: Download complete 11:32:02 5d3b04190fa2: Verifying Checksum 11:32:02 5d3b04190fa2: Download complete 11:32:02 5eb5b503b376: Verifying Checksum 11:32:02 5eb5b503b376: Download complete 11:32:03 2f39f015ded8: Download complete 11:32:04 5eb5b503b376: Pull complete 11:32:04 5c69ac0246d0: Pull complete 11:32:04 ec43610c2a17: Pull complete 11:32:04 3a2ae6a8a46f: Pull complete 11:32:04 33b1e0a273af: Pull complete 11:32:04 5d3b04190fa2: Pull complete 11:32:09 2f39f015ded8: Pull complete 11:32:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:32:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:32:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:32:09 prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container 11:32:09 $ 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-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:32:12 $ docker top 5fa660ce68c6784a9c647f079f11ca4efcac8a61b68dcc2c41ef7014f8b044f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:12 ---> job-cost.sh 11:32:12 lf-activate-venv: SKIPPING 11:32:12 INFO: No Stack... 11:32:13 INFO: Retrieving Pricing Info for: v3-standard-8 11:32:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10815 in /w/workspace/gexfoundry_device-sdk-go_PR-1434 [Pipeline] { 11:32:13 INFO: Archiving Costs [Pipeline] sh [Pipeline] ws 11:32:13 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 11:32:13 The recommended git tool is: git 11:32:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives/cost.csv 11:32:13 + cut -d, -f6 [Pipeline] lock 11:32:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] 11:32:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] did not exist. Created. 11:32:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:32:14 + echo total: 0.2199999988079071 [Pipeline] stash 11:32:14 Stashed 1 file(s) [Pipeline] } 11:32:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:32:14 $ docker stop --time=1 5fa660ce68c6784a9c647f079f11ca4efcac8a61b68dcc2c41ef7014f8b044f7 11:32:15 $ docker rm -f --volumes 5fa660ce68c6784a9c647f079f11ca4efcac8a61b68dcc2c41ef7014f8b044f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:32:19 using credential edgex-jenkins-ssh 11:32:19 Cloning the remote Git repository 11:32:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:32:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 11:32:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:32:19 > git --version # timeout=10 11:32:19 > git --version # 'git version 2.25.1' 11:32:19 using GIT_SSH to set credentials SSH Credentials for GitHub 11:32:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:32:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:32:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:32:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:32:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:32:22 using GIT_SSH to set credentials SSH Credentials for GitHub 11:32:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1434/head:refs/remotes/origin/PR-1434 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:32:23 Merging remotes/origin/main commit 87389bdebb11d4655f183884612f3f0d4c970364 into PR head commit cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a 11:32:23 Merge succeeded, producing cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a 11:32:23 Checking out Revision cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a (PR-1434) 11:32:23 > git config core.sparsecheckout # timeout=10 11:32:23 > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # timeout=10 11:32:23 > git remote # timeout=10 11:32:23 > git config --get remote.origin.url # timeout=10 11:32:23 using GIT_SSH to set credentials SSH Credentials for GitHub 11:32:23 > git merge 87389bdebb11d4655f183884612f3f0d4c970364 # timeout=10 11:32:23 > git rev-parse HEAD^{commit} # timeout=10 11:32:23 > git config core.sparsecheckout # timeout=10 11:32:23 > git checkout -f cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a # timeout=10 11:32:27 Commit message: "feat!: Using url.PathUnescape for decoding API path" 11:32:27 > git --version # timeout=10 11:32:27 > git --version # 'git version 2.25.1' 11:32:27 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:32:28 % Total % Received % Xferd Average Speed Time Time Time Current 11:32:28 Dload Upload Total Spent Left Speed 11:32:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 11:32:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:32:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:32:29 + sudo tee /etc/docker/daemon.new 11:32:29 { 11:32:29 "registry-mirrors": [ 11:32:29 "https://nexus3.edgexfoundry.org:10001" 11:32:29 ], 11:32:29 "bip": "10.250.0.254/24", 11:32:29 "hosts": [ 11:32:29 "tcp://0.0.0.0:5555", 11:32:29 "unix:///var/run/docker.sock" 11:32:29 ], 11:32:29 "mtu": 1458, 11:32:29 "selinux-enabled": true, 11:32:29 "seccomp-profile": "/etc/docker/seccomp.json" 11:32:29 } [Pipeline] sh 11:32:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:32:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:32:48 provisioning config files... 11:32:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13634765331449296179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:48 ---> docker-login.sh 11:32:48 nexus3.edgexfoundry.org:10001 11:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:49 Configure a credential helper to remove this warning. See 11:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:49 11:32:49 Login Succeeded 11:32:49 nexus3.edgexfoundry.org:10002 11:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:50 Configure a credential helper to remove this warning. See 11:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:50 11:32:50 Login Succeeded 11:32:50 nexus3.edgexfoundry.org:10003 11:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:50 Configure a credential helper to remove this warning. See 11:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:50 11:32:50 Login Succeeded 11:32:50 nexus3.edgexfoundry.org:10004 11:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:50 Configure a credential helper to remove this warning. See 11:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:50 11:32:50 Login Succeeded 11:32:50 docker.io 11:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:51 Configure a credential helper to remove this warning. See 11:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:51 11:32:51 Login Succeeded 11:32:51 ---> docker-login.sh ends [Pipeline] } 11:32:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:32:51 ========================================================= 11:32:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:32:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:52 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 11:32:52 Sending build context to Docker daemon 5.921MB 11:32:52 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:32:52 Step 2/10 : FROM ${BASE} AS builder 11:32:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:32:52 c41833b44d91: Pulling fs layer 11:32:52 ed15518f5707: Pulling fs layer 11:32:52 feae8fd75edb: Pulling fs layer 11:32:52 242c74f7c9fa: Pulling fs layer 11:32:52 3cdef696dda3: Pulling fs layer 11:32:52 2ced38df9373: Pulling fs layer 11:32:52 58f1dce35555: Pulling fs layer 11:32:52 2ced38df9373: Waiting 11:32:52 242c74f7c9fa: Waiting 11:32:52 3cdef696dda3: Waiting 11:32:52 58f1dce35555: Waiting 11:32:52 ed15518f5707: Verifying Checksum 11:32:52 ed15518f5707: Download complete 11:32:52 242c74f7c9fa: Verifying Checksum 11:32:52 242c74f7c9fa: Download complete 11:32:52 3cdef696dda3: Verifying Checksum 11:32:52 3cdef696dda3: Download complete 11:32:52 c41833b44d91: Verifying Checksum 11:32:52 c41833b44d91: Download complete 11:32:53 58f1dce35555: Verifying Checksum 11:32:53 58f1dce35555: Download complete 11:32:54 feae8fd75edb: Verifying Checksum 11:32:54 feae8fd75edb: Download complete 11:32:54 2ced38df9373: Verifying Checksum 11:32:54 2ced38df9373: Download complete 11:32:55 c41833b44d91: Pull complete 11:32:55 ed15518f5707: Pull complete 11:33:08 feae8fd75edb: Pull complete 11:33:08 242c74f7c9fa: Pull complete 11:33:08 3cdef696dda3: Pull complete 11:33:13 2ced38df9373: Pull complete 11:33:16 58f1dce35555: Pull complete 11:33:16 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 11:33:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:33:16 ---> fadd8f120f05 11:33:16 Step 3/10 : ARG MAKE=make build 11:33:17 ---> Running in 600bdee9a616 11:33:17 Removing intermediate container 600bdee9a616 11:33:17 ---> 81ca16ca24d1 11:33:17 Step 4/10 : WORKDIR /device-sdk-go 11:33:17 ---> Running in d933a0572a4a 11:33:18 Removing intermediate container d933a0572a4a 11:33:18 ---> fcdef16ec2de 11:33:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:33:18 ---> Running in 1fbe83b2d4dc 11:33:18 Removing intermediate container 1fbe83b2d4dc 11:33:18 ---> def154aad68e 11:33:18 Step 6/10 : RUN apk add --update --no-cache make git 11:33:18 ---> Running in c2882606f47a 11:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:33:21 OK: 263 MiB in 53 packages 11:33:22 Removing intermediate container c2882606f47a 11:33:22 ---> d7c917ba8abe 11:33:22 Step 7/10 : COPY go.mod vendor* ./ 11:33:23 ---> e74e66689ba8 11:33:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:33:23 ---> Running in 99f7c624661a 11:34:31 Removing intermediate container 99f7c624661a 11:34:31 ---> a8b8e10c57cd 11:34:31 Step 9/10 : COPY . . 11:34:31 ---> 9767758bea2c 11:34:31 Step 10/10 : RUN ${MAKE} 11:34:31 ---> Running in 2ba98fec5b3c 11:34:31 noop 11:34:31 Removing intermediate container 2ba98fec5b3c 11:34:31 ---> 5efdb6fa4a28 11:34:31 Successfully built 5efdb6fa4a28 11:34:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:31 + docker inspect -f . ci-base-image-arm64 11:34:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:31 prd-ubuntu20.04-docker-arm64-4c-16g-10815 does not seem to be running inside a container 11:34:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:34:33 $ docker top 01ab649f2cd8ec1a332aeb0a44a138f7b29c703fb52054dda35de2c158e59380 -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:34 + go version 11:34:34 go version go1.20.2 linux/arm64 [Pipeline] } 11:34:34 $ docker stop --time=1 01ab649f2cd8ec1a332aeb0a44a138f7b29c703fb52054dda35de2c158e59380 11:34:35 $ docker rm -f --volumes 01ab649f2cd8ec1a332aeb0a44a138f7b29c703fb52054dda35de2c158e59380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:36 + docker inspect -f . ci-base-image-arm64 11:34:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:36 prd-ubuntu20.04-docker-arm64-4c-16g-10815 does not seem to be running inside a container 11:34:37 $ 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 ******** -e ******** ci-base-image-arm64 cat 11:34:38 $ docker top df65391c292303349a84e3102657b710e7f8ba98f245a19f57b5641f7176371c -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 11:34:39 + make test 11:34:39 go test -race -coverprofile=coverage.out ./... 11:35:26 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:37:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:37:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:37:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:37:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:37:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:37:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements 11:37:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.281s coverage: 80.2% of statements 11:37:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:37:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:37:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.369s coverage: 86.0% of statements 11:37:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:37:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.476s coverage: 77.5% of statements 11:37:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:37:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:37:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:38:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.305s coverage: 14.6% of statements 11:38:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.435s coverage: 68.5% of statements 11:38:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.478s coverage: 89.2% of statements 11:38:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:38:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.5% of statements 11:38:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:38:06 GO111MODULE=on go vet ./... 11:40:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:40:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:40:43 ./bin/test-attribution-txt.sh [Pipeline] echo 11:40:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:40:43 $ docker stop --time=1 df65391c292303349a84e3102657b710e7f8ba98f245a19f57b5641f7176371c 11:40:45 $ docker rm -f --volumes df65391c292303349a84e3102657b710e7f8ba98f245a19f57b5641f7176371c [Pipeline] // withDockerContainer [Pipeline] sh 11:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:40:46 Warning: overwriting stash ‘coverage-report’ 11:40:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:40:48 + ls -al . 11:40:48 total 268 11:40:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 11:34 . 11:40:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:32 .. 11:40:48 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 11:32 .dockerignore 11:40:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 11:32 .git 11:40:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:32 .github 11:40:48 -rw-rw-r-- 1 jenkins jenkins 131 Apr 25 11:32 .gitignore 11:40:48 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 11:32 .golangci.yml 11:40:48 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 25 11:32 CHANGELOG.md 11:40:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 11:32 GOVERNANCE.md 11:40:48 -rw-rw-r-- 1 jenkins jenkins 885 Apr 25 11:32 Jenkinsfile 11:40:48 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 25 11:32 LICENSE 11:40:48 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 25 11:32 Makefile 11:40:48 -rw-rw-r-- 1 jenkins jenkins 619 Apr 25 11:32 OWNERS.md 11:40:48 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 25 11:32 README.md 11:40:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 11:29 VERSION 11:40:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 11:32 bin 11:40:48 -rw-r--r-- 1 jenkins jenkins 106119 Apr 25 11:38 coverage.out 11:40:48 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 11:32 example 11:40:48 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 25 11:32 go.mod 11:40:48 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 25 11:32 go.sum 11:40:48 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:32 internal 11:40:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 11:32 openapi 11:40:48 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 11:32 pkg 11:40:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 11:32 snap 11:40:48 -rw-rw-r-- 1 jenkins jenkins 222 Apr 25 11:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40: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=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a --label arch=arm64 --label version=0.0.0 . 11:40:49 Sending build context to Docker daemon 6.028MB 11:40:49 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 11:40:49 Step 2/23 : FROM ${BASE} AS builder 11:40:49 ---> 5efdb6fa4a28 11:40:49 Step 3/23 : ARG MAKE=make build 11:40:49 ---> Running in 0c1fc092720a 11:40:49 Removing intermediate container 0c1fc092720a 11:40:49 ---> 73179a887f70 11:40:49 Step 4/23 : WORKDIR /device-sdk-go 11:40:49 ---> Running in 29c5b001fab5 11:40:49 Removing intermediate container 29c5b001fab5 11:40:49 ---> d9af21e33ee0 11:40:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:40:50 ---> Running in b283dc1ea891 11:40:50 Removing intermediate container b283dc1ea891 11:40:50 ---> 67654cc113d4 11:40:50 Step 6/23 : RUN apk add --update --no-cache make git 11:40:50 ---> Running in 5157fbf0cf72 11:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:40:53 OK: 263 MiB in 53 packages 11:40:53 Removing intermediate container 5157fbf0cf72 11:40:53 ---> 09f2d8e7ed37 11:40:53 Step 7/23 : COPY go.mod vendor* ./ 11:40:57 ---> 834c4321c459 11:40:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:40:57 ---> Running in b4d74fd86ca2 11:40:59 Removing intermediate container b4d74fd86ca2 11:40:59 ---> 7d66c3244cc1 11:40:59 Step 9/23 : COPY . . 11:41:00 ---> c9bb7554d092 11:41:00 Step 10/23 : RUN ${MAKE} 11:41:00 ---> Running in 350d11bd23ea 11:41:01 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 11:43:23 Removing intermediate container 350d11bd23ea 11:43:23 ---> 8a6ca072a9b0 11:43:23 Step 11/23 : FROM alpine:3.17 11:43:23 3.17: Pulling from library/alpine 11:43:23 c41833b44d91: Already exists 11:43:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:43:23 Status: Downloaded newer image for alpine:3.17 11:43:23 ---> 51e60588ff2c 11:43:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:43:23 ---> Running in a89780a67d1d 11:43:23 Removing intermediate container a89780a67d1d 11:43:23 ---> 561d22b58ad7 11:43:23 Step 13/23 : RUN apk add --update --no-cache 11:43:23 ---> Running in 6fefacd83727 11:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:43:23 OK: 7 MiB in 15 packages 11:43:23 Removing intermediate container 6fefacd83727 11:43:23 ---> 3fe62728b448 11:43:23 Step 14/23 : WORKDIR / 11:43:23 ---> Running in 2c5ad812eb7b 11:43:23 Removing intermediate container 2c5ad812eb7b 11:43:23 ---> 59c3676c9c79 11:43:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:43:23 ---> f91a3a2df683 11:43:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:43:23 ---> 7e804aae1fb1 11:43:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:43:23 ---> 4c173d25e70d 11:43:23 Step 18/23 : EXPOSE 59999 11:43:23 ---> Running in 0eb20fb5e9cf 11:43:23 Removing intermediate container 0eb20fb5e9cf 11:43:23 ---> e96c65463a2f 11:43:23 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:43:23 ---> Running in 6b179debfea3 11:43:23 Removing intermediate container 6b179debfea3 11:43:23 ---> 3a239aa3083c 11:43:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:43:23 ---> Running in 2a9b72b637d7 11:43:23 Removing intermediate container 2a9b72b637d7 11:43:23 ---> 73be02f540b1 11:43:23 Step 21/23 : LABEL arch=arm64 11:43:23 ---> Running in 5658f852277a 11:43:23 Removing intermediate container 5658f852277a 11:43:23 ---> 0c2ffd831605 11:43:23 Step 22/23 : LABEL git_sha=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a 11:43:23 ---> Running in 0210354f5abe 11:43:23 Removing intermediate container 0210354f5abe 11:43:23 ---> cffdd2b159cd 11:43:23 Step 23/23 : LABEL version=0.0.0 11:43:23 ---> Running in dfebdf02d211 11:43:23 Removing intermediate container dfebdf02d211 11:43:23 ---> 5dfad1d464e7 11:43:23 [Warning] One or more build-args [ARCH] were not consumed 11:43:23 Successfully built 5dfad1d464e7 11:43:23 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 11:43:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:43:24 11:43:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:43:24 arm64: Pulling from edgex-lftools-log-publisher 11:43:24 8998bd30e6a1: Pulling fs layer 11:43:24 04944245beec: Pulling fs layer 11:43:24 699f458cf7ca: Pulling fs layer 11:43:24 765212b225bb: Pulling fs layer 11:43:24 f23df028b6ca: Pulling fs layer 11:43:24 d65c8cfc05b1: Pulling fs layer 11:43:24 2437ff75d9bd: Pulling fs layer 11:43:24 f23df028b6ca: Waiting 11:43:24 d65c8cfc05b1: Waiting 11:43:24 765212b225bb: Waiting 11:43:24 2437ff75d9bd: Waiting 11:43:24 04944245beec: Verifying Checksum 11:43:24 04944245beec: Download complete 11:43:24 765212b225bb: Download complete 11:43:24 f23df028b6ca: Verifying Checksum 11:43:24 f23df028b6ca: Download complete 11:43:24 d65c8cfc05b1: Verifying Checksum 11:43:24 d65c8cfc05b1: Download complete 11:43:24 699f458cf7ca: Verifying Checksum 11:43:24 699f458cf7ca: Download complete 11:43:25 8998bd30e6a1: Verifying Checksum 11:43:25 8998bd30e6a1: Download complete 11:43:28 2437ff75d9bd: Verifying Checksum 11:43:28 2437ff75d9bd: Download complete 11:43:29 8998bd30e6a1: Pull complete 11:43:29 04944245beec: Pull complete 11:43:31 699f458cf7ca: Pull complete 11:43:31 765212b225bb: Pull complete 11:43:32 f23df028b6ca: Pull complete 11:43:32 d65c8cfc05b1: Pull complete 11:43:47 2437ff75d9bd: Pull complete 11:43:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:43:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:47 prd-ubuntu20.04-docker-arm64-4c-16g-10815 does not seem to be running inside a container 11:43:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:43:50 $ docker top 47f43d1e398ce56c4c8455d701afd4e268d926814094e4bf3a4c16cedbf85988 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:51 ---> job-cost.sh 11:43:51 lf-activate-venv: SKIPPING 11:43:51 INFO: No Stack... 11:43:51 INFO: Retrieving Pricing Info for: v3-standard-4 11:43:52 INFO: Archiving Costs [Pipeline] sh 11:43:53 + + cut -d, -f6 11:43:53 cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 11:43:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] 11:43:53 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] did not exist. Created. 11:43:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:43:54 /w/workspace/device-sdk-go/1@tmp/durable-811ac136/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:43:55 + echo total: 0.10999999940395355 [Pipeline] stash 11:43:55 Warning: overwriting stash ‘stack-cost’ 11:43:55 Stashed 1 file(s) [Pipeline] } 11:43:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1434-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:43:55 $ docker stop --time=1 47f43d1e398ce56c4c8455d701afd4e268d926814094e4bf3a4c16cedbf85988 11:43:56 $ docker rm -f --volumes 47f43d1e398ce56c4c8455d701afd4e268d926814094e4bf3a4c16cedbf85988 [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 11:43:57 provisioning config files... 11:43:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config1468473629120527010tmp [Pipeline] { [Pipeline] sh 11:43:58 + set +x 11:43:58 + curl -s https://codecov.io/bash 11:43:58 + bash -s -- 11:43:58 11:43:58 _____ _ 11:43:58 / ____| | | 11:43:58 | | ___ __| | ___ ___ _____ __ 11:43:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:43:58 | |___| (_) | (_| | __/ (_| (_) \ V / 11:43:58 \_____\___/ \__,_|\___|\___\___/ \_/ 11:43:58 Bash-1.0.6 11:43:58 11:43:58 11:43:58 ==> git version 2.25.1 found 11:43:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:43:58 Release-Date: 2020-01-08 11:43:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:43:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:43:58 ==> Jenkins CI detected. 11:43:58 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1434 11:43:58 project root: . 11:43:58 --> token set from env 11:43:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:43:58 ==> Running gcov in . (disable via -X gcov) 11:43:58 ==> Python coveragepy not found 11:43:58 ==> Searching for coverage reports in: 11:43:58 + . 11:43:58 -> Found 1 reports 11:43:58 ==> Detecting git/mercurial file structure 11:43:58 ==> Reading reports 11:43:58 + ./coverage.out bytes=106119 11:43:58 ==> Appending adjustments 11:43:58 https://docs.codecov.io/docs/fixing-reports 11:43:58 + Found adjustments 11:43:58 ==> Gzipping contents 11:43:58 16K /tmp/codecov.nalRRQ.gz 11:43:58 ==> Uploading reports 11:43:58 url: https://codecov.io 11:43:58 query: branch=PR-1434&commit=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1434&job=&cmd_args= 11:43:58 -> Pinging Codecov 11:43:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1434&commit=cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1434&job=&cmd_args= 11:43:58 -> Uploading to 11:43:58 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/7E55EF52A471D76F132DFD9A03CDDE97/cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a/52e05ea8-d3fe-4ab5-98ce-58942eb61c26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T114358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=071672f1c7235d458b905fbf70fc7a223ee2a39acaa6ab95af13de9b8b107ee4 11:43:58 % Total % Received % Xferd Average Speed Time Time Time Current 11:43:58 Dload Upload Total Spent Left Speed 11:43:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15026 0 0 100 15026 0 55446 --:--:-- --:--:-- --:--:-- 55651 11:43:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cdd8b0f4c44e4c2644a3f6043fa9547e0633c97a [Pipeline] } 11:43:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:44:01 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives ] 11:44:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives 11:44:01 total 16 11:44:01 drwxr-xr-x 3 root root 4096 Apr 25 11:32 . 11:44:01 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:32 .. 11:44:01 drwxr-xr-x 2 root root 4096 Apr 25 11:32 cost 11:44:01 -rw-r--r-- 1 root root 86 Apr 25 11:32 cost.csv 11:44:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives 11:44:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives 11:44:01 total 16 11:44:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 11:32 . 11:44:01 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 11:32 .. 11:44:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 11:32 cost 11:44:01 -rw-r--r-- 1 jenkins jenkins 86 Apr 25 11:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:44:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:44:02 ---> package-listing.sh 11:44:02 ++ facter osfamily 11:44:02 ++ tr '[:upper:]' '[:lower:]' 11:44:02 + OS_FAMILY=debian 11:44:02 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1434 11:44:02 + START_PACKAGES=/tmp/packages_start.txt 11:44:02 + END_PACKAGES=/tmp/packages_end.txt 11:44:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:44:02 + PACKAGES=/tmp/packages_start.txt 11:44:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1434 ']' 11:44:02 + PACKAGES=/tmp/packages_end.txt 11:44:02 + case "${OS_FAMILY}" in 11:44:02 + dpkg -l 11:44:02 + grep '^ii' 11:44:02 + '[' -f /tmp/packages_start.txt ']' 11:44:02 + '[' -f /tmp/packages_end.txt ']' 11:44:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:44:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1434 ']' 11:44:02 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives/ 11:44:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1434/archives/ [Pipeline] echo 11:44:02 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-1434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:44:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:44:03 prd-ubuntu20.04-docker-8c-8g-10813 does not seem to be running inside a container 11:44:03 $ 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-1434/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-1434 -v /w/workspace/gexfoundry_device-sdk-go_PR-1434:/w/workspace/gexfoundry_device-sdk-go_PR-1434:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1434@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 11:44:03 $ docker top 212afc6f9e41053de9221e34c632c2767c98febf8bd0afd5b58c9703b44b3b26 -eo pid,comm [Pipeline] { [Pipeline] sh 11:44:04 + touch /tmp/pre-build-complete [Pipeline] sh 11:44:04 + mkdir -p /var/log/sysstat [Pipeline] sh 11:44:04 + ls /var/log/sa-host 11:44:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:04 provisioning config files... 11:44:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1434@tmp/config6553945700386994082tmp [Pipeline] { [Pipeline] echo 11:44:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:44:05 ---> create-netrc.sh [Pipeline] } 11:44:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:44:05 ---> python-tools-install.sh [Pipeline] echo 11:44:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:44:06 ---> sudo-logs.sh 11:44:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:44:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:44:06 ---> job-cost.sh 11:44:06 lf-activate-venv: SKIPPING 11:44:06 DEBUG: total: 0.2199999988079071 11:44:06 INFO: Retrieving Stack Cost... 11:44:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:44:07 INFO: Archiving Costs [Pipeline] echo 11:44:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:44:07 ---> logs-deploy.sh 11:44:07 lf-activate-venv: SKIPPING 11:44:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1434/1 11:44:07 INFO: archiving workspace using pattern(s): 11:44:08 Archives upload complete. 11:44:08 INFO: archiving logs to Nexus