Pull request #1557 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0bc2aedca35711a9cf920d7b41778f654887a33b+8c8ed3e474c227ac5cd794810a07c084c0ea64b2 (98438403511f2d314cd421fdfc80168cb1308e9d) 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-ssh8580474271040752203.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7282216772096222900.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1557/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-1557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5668333931875827738.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-1557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3600786972686084160.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh15013920022133820816.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-1557/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-1557/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14065983510713893623.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-27868 in /w/workspace/gexfoundry_device-sdk-go_PR-1557 [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-1557 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 into PR head commit 0bc2aedca35711a9cf920d7b41778f654887a33b Merge succeeded, producing 0bc2aedca35711a9cf920d7b41778f654887a33b Checking out Revision 0bc2aedca35711a9cf920d7b41778f654887a33b (PR-1557) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/1557/head:refs/remotes/origin/PR-1557 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bc2aedca35711a9cf920d7b41778f654887a33b # 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 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bc2aedca35711a9cf920d7b41778f654887a33b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:53:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:53:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:53:30 ========================================================= 04:53:30 EdgeX Global Pipelines Version Info 04:53:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:53:30 ------------------- 04:53:30 stable info: 04:53:30 ------------------- 04:53:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:53:30 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:53:30 Message: update stable to v1.0.258 04:53:31 ------------------- 04:53:31 experimental info: 04:53:31 ------------------- 04:53:31 Commited By: **** collab-it+edgex@linuxfoundation.org 04:53:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:53:31 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1557 [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1557 [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1557 [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0bc2aedca35711a9cf920d7b41778f654887a33b [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0bc2aed [Pipeline] echo 04:53:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:34 provisioning config files... 04:53:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/config15203600345437462777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:34 ---> ****-login.sh 04:53:34 nexus3.edgexfoundry.org:10001 04:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:35 Configure a credential helper to remove this warning. See 04:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:35 04:53:35 Login Succeeded 04:53:35 nexus3.edgexfoundry.org:10002 04:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:35 Configure a credential helper to remove this warning. See 04:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:35 04:53:35 Login Succeeded 04:53:35 nexus3.edgexfoundry.org:10003 04:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:35 Configure a credential helper to remove this warning. See 04:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:35 04:53:35 Login Succeeded 04:53:35 nexus3.edgexfoundry.org:10004 04:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:35 Configure a credential helper to remove this warning. See 04:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:35 04:53:35 Login Succeeded 04:53:35 ****.io 04:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:35 Configure a credential helper to remove this warning. See 04:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:35 04:53:35 Login Succeeded 04:53:35 ---> ****-login.sh ends [Pipeline] } 04:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:53:36 + git rev-list -1 --merges 0bc2aedca35711a9cf920d7b41778f654887a33b~1..0bc2aedca35711a9cf920d7b41778f654887a33b [Pipeline] echo 04:53:36 -----------> git rev-list -1 --merges 0bc2aedca35711a9cf920d7b41778f654887a33b~1..0bc2aedca35711a9cf920d7b41778f654887a33b 0bc2aedca35711a9cf920d7b41778f654887a33b [false] [Pipeline] sh 04:53:36 + git log --format=format:%s -1 0bc2aedca35711a9cf920d7b41778f654887a33b [Pipeline] echo 04:53:36 ========================================================= 04:53:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:53:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:53:37 + git log --format=format:%s -1 0bc2aedca35711a9cf920d7b41778f654887a33b [Pipeline] echo 04:53:37 [semverPrep] GIT_COMMIT: 0bc2aedca35711a9cf920d7b41778f654887a33b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:53:37 [semverPrep] This is not a build commit. [Pipeline] sh 04:53:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:53:37 + grep -v github /etc/ssh/ssh_known_hosts 04:53:37 + [ -e /tmp/ssh_known_hosts ] 04:53:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:53:37 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 04:53:37 -a /etc/ssh/ssh_known_hosts 04:53:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:38 04:53:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:53:38 b85a868b505f: Pulling fs layer 04:53:38 e2be974225ed: Pulling fs layer 04:53:38 339a4e72a1f5: Pulling fs layer 04:53:38 988bab9f4d93: Pulling fs layer 04:53:38 1469e6f7b9e6: Pulling fs layer 04:53:38 eaf3925da568: Pulling fs layer 04:53:38 bab4dde63d76: Pulling fs layer 04:53:38 bde34c3a00c8: Pulling fs layer 04:53:38 b352a97aabf1: Pulling fs layer 04:53:38 4872d77fe225: Pulling fs layer 04:53:38 5851b861e8e6: Pulling fs layer 04:53:38 1469e6f7b9e6: Waiting 04:53:38 bde34c3a00c8: Waiting 04:53:38 eaf3925da568: Waiting 04:53:38 bab4dde63d76: Waiting 04:53:38 b352a97aabf1: Waiting 04:53:38 988bab9f4d93: Waiting 04:53:38 5851b861e8e6: Waiting 04:53:38 4872d77fe225: Waiting 04:53:38 e2be974225ed: Verifying Checksum 04:53:38 e2be974225ed: Download complete 04:53:38 988bab9f4d93: Download complete 04:53:39 1469e6f7b9e6: Verifying Checksum 04:53:39 1469e6f7b9e6: Download complete 04:53:39 eaf3925da568: Download complete 04:53:39 339a4e72a1f5: Verifying Checksum 04:53:39 339a4e72a1f5: Download complete 04:53:39 bde34c3a00c8: Download complete 04:53:39 b352a97aabf1: Download complete 04:53:39 4872d77fe225: Download complete 04:53:39 5851b861e8e6: Verifying Checksum 04:53:39 5851b861e8e6: Download complete 04:53:39 b85a868b505f: Download complete 04:53:39 bab4dde63d76: Verifying Checksum 04:53:39 bab4dde63d76: Download complete 04:53:40 b85a868b505f: Pull complete 04:53:40 e2be974225ed: Pull complete 04:53:41 339a4e72a1f5: Pull complete 04:53:41 988bab9f4d93: Pull complete 04:53:41 1469e6f7b9e6: Pull complete 04:53:41 eaf3925da568: Pull complete 04:53:43 bab4dde63d76: Pull complete 04:53:43 bde34c3a00c8: Pull complete 04:53:43 b352a97aabf1: Pull complete 04:53:43 4872d77fe225: Pull complete 04:53:43 5851b861e8e6: Pull complete 04:53:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:53:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:44 prd-ubuntu20.04-docker-8c-8g-27868 does not seem to be running inside a container 04:53:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1557 -v /w/workspace/gexfoundry_device-sdk-go_PR-1557:/w/workspace/gexfoundry_device-sdk-go_PR-1557:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1557@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:53:47 $ docker top 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 -eo pid,comm 04:53:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:53:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:47 [ssh-agent] Looking for ssh-agent implementation... 04:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:47 $ docker exec 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 ssh-agent 04:53:47 SSH_AUTH_SOCK=/tmp/ssh-MN4yQAVXgU9Q/agent.34 04:53:47 SSH_AGENT_PID=40 04:53:47 Running ssh-add (command line suppressed) 04:53:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/private_key_12099235371798652811.key (/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/private_key_12099235371798652811.key) 04:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:48 + git tag --points-at HEAD [Pipeline] } 04:53:48 $ docker exec --env ******** --env ******** 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 ssh-agent -k 04:53:48 unset SSH_AUTH_SOCK; 04:53:48 unset SSH_AGENT_PID; 04:53:48 echo Agent pid 40 killed; 04:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:48 [ssh-agent] Looking for ssh-agent implementation... 04:53:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:48 $ docker exec 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 ssh-agent 04:53:48 SSH_AUTH_SOCK=/tmp/ssh-GH2TVjlFymgs/agent.72 04:53:48 SSH_AGENT_PID=78 04:53:48 Running ssh-add (command line suppressed) 04:53:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/private_key_10754259209988021239.key (/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/private_key_10754259209988021239.key) 04:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:49 + git semver init 04:53:49 2024-01-25 04:53:49,292 [run_init] DEBUG init version:0.0.0 force:False 04:53:49 2024-01-25 04:53:49,293 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver 04:53:49 2024-01-25 04:53:49,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver 04:53:49 2024-01-25 04:53:49,293 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1557, universal_newlines=False, shell=None, istream=None) 04:53:50 2024-01-25 04:53:50,471 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1557/.git/info/exclude 04:53:50 2024-01-25 04:53:50,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver/PR-1557 with force:False 04:53:50 2024-01-25 04:53:50,472 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver/PR-1557 04:53:50 2024-01-25 04:53:50,476 [execute] INFO git cat-file --batch-check 04:53:50 2024-01-25 04:53:50,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver, universal_newlines=False, shell=None, istream=) 04:53:50 2024-01-25 04:53:50,485 [execute] INFO git cat-file --batch 04:53:50 2024-01-25 04:53:50,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver, universal_newlines=False, shell=None, istream=) 04:53:50 2024-01-25 04:53:50,491 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1557/.semver/PR-1557 04:53:50 0.0.0 [Pipeline] } 04:53:50 $ docker exec --env ******** --env ******** 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 ssh-agent -k 04:53:50 unset SSH_AUTH_SOCK; 04:53:50 unset SSH_AGENT_PID; 04:53:50 echo Agent pid 78 killed; 04:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:53:51 + git semver [Pipeline] } 04:53:51 $ docker stop --time=1 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 04:53:53 $ docker rm -f --volumes 17bf0c19e99d66fdb6998ccaafae2a96c901308e0d393a9b66fa0c2e7e86ddd6 [Pipeline] // withDockerContainer [Pipeline] sh 04:53:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:53:53 Stashed 1 file(s) [Pipeline] echo 04:53:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:54 provisioning config files... 04:53:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/config12802857254015206134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:55 ---> ****-login.sh 04:53:55 nexus3.edgexfoundry.org:10001 04:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:55 Configure a credential helper to remove this warning. See 04:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:55 04:53:55 Login Succeeded 04:53:55 nexus3.edgexfoundry.org:10002 04:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:55 Configure a credential helper to remove this warning. See 04:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:55 04:53:55 Login Succeeded 04:53:55 nexus3.edgexfoundry.org:10003 04:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:55 Configure a credential helper to remove this warning. See 04:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:55 04:53:55 Login Succeeded 04:53:55 nexus3.edgexfoundry.org:10004 04:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:55 Configure a credential helper to remove this warning. See 04:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:55 04:53:55 Login Succeeded 04:53:55 ****.io 04:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:56 Configure a credential helper to remove this warning. See 04:53:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:56 04:53:56 Login Succeeded 04:53:56 ---> ****-login.sh ends [Pipeline] } 04:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:53:56 ========================================================= 04:53:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:53:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:57 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 04:53:57 Sending build context to Docker daemon 21.94MB 04:53:57 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:53:57 Step 2/10 : FROM ${BASE} AS builder 04:53:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:53:57 7264a8db6415: Pulling fs layer 04:53:57 c4d48a809fc2: Pulling fs layer 04:53:57 4f1c88b9dad5: Pulling fs layer 04:53:57 ad3a456e5733: Pulling fs layer 04:53:57 69c7f0334f64: Pulling fs layer 04:53:57 1f1c1a5573a3: Pulling fs layer 04:53:57 ce7588e14bc9: Pulling fs layer 04:53:57 b5e4710f87ac: Pulling fs layer 04:53:57 ad3a456e5733: Waiting 04:53:57 69c7f0334f64: Waiting 04:53:57 ce7588e14bc9: Waiting 04:53:57 1f1c1a5573a3: Waiting 04:53:57 b5e4710f87ac: Waiting 04:53:57 c4d48a809fc2: Download complete 04:53:57 ad3a456e5733: Verifying Checksum 04:53:57 ad3a456e5733: Download complete 04:53:57 69c7f0334f64: Verifying Checksum 04:53:57 69c7f0334f64: Download complete 04:53:57 7264a8db6415: Verifying Checksum 04:53:57 7264a8db6415: Download complete 04:53:57 1f1c1a5573a3: Verifying Checksum 04:53:57 1f1c1a5573a3: Download complete 04:53:57 7264a8db6415: Pull complete 04:53:57 c4d48a809fc2: Pull complete 04:53:57 b5e4710f87ac: Verifying Checksum 04:53:57 b5e4710f87ac: Download complete 04:53:58 4f1c88b9dad5: Verifying Checksum 04:53:58 4f1c88b9dad5: Download complete 04:53:58 ce7588e14bc9: Verifying Checksum 04:54:01 4f1c88b9dad5: Pull complete 04:54:01 ad3a456e5733: Pull complete 04:54:01 69c7f0334f64: Pull complete 04:54:01 1f1c1a5573a3: Pull complete 04:54:04 ce7588e14bc9: Pull complete 04:54:04 b5e4710f87ac: Pull complete 04:54:04 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:54:04 ---> 88b5674ff536 04:54:04 Step 3/10 : ARG MAKE=make build 04:54:09 Still waiting to schedule task 04:54:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-27866’ 04:54:09 ---> Running in fd76e5036f22 04:54:09 Removing intermediate container fd76e5036f22 04:54:09 ---> 75ca2fae3e23 04:54:09 Step 4/10 : WORKDIR /device-sdk-go 04:54:09 ---> Running in 223e2f6e3c4a 04:54:09 Removing intermediate container 223e2f6e3c4a 04:54:09 ---> 5b0beb53463a 04:54:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:09 ---> Running in 4a01a543a425 04:54:09 Removing intermediate container 4a01a543a425 04:54:09 ---> 4878cdd4f4ee 04:54:09 Step 6/10 : RUN apk add --update --no-cache make git 04:54:09 ---> Running in 6ed47d3cbde1 04:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:54:10 OK: 264 MiB in 52 packages 04:54:10 Removing intermediate container 6ed47d3cbde1 04:54:10 ---> 74e44249b8f4 04:54:10 Step 7/10 : COPY go.mod vendor* ./ 04:54:10 ---> 39a79f81299a 04:54:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:10 ---> Running in baeb817cb6b0 04:54:42 Removing intermediate container baeb817cb6b0 04:54:42 ---> 45c58548d94f 04:54:42 Step 9/10 : COPY . . 04:54:42 ---> b7f45fd7d64f 04:54:42 Step 10/10 : RUN ${MAKE} 04:54:42 ---> Running in d549ed02d61a 04:54:42 noop 04:54:42 Removing intermediate container d549ed02d61a 04:54:42 ---> f3a73028d7a6 04:54:42 Successfully built f3a73028d7a6 04:54:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:43 + docker inspect -f . ci-base-image-x86_64 04:54:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:43 prd-ubuntu20.04-docker-8c-8g-27868 does not seem to be running inside a container 04:54:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1557 -v /w/workspace/gexfoundry_device-sdk-go_PR-1557:/w/workspace/gexfoundry_device-sdk-go_PR-1557:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1557@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 ******** ci-base-image-x86_64 cat 04:54:43 $ docker top 766cc9953c321ed977026af9abcae4d1518233df0ec7bc224c38138aaad42f19 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:44 + go version 04:54:44 go version go1.21.0 linux/amd64 [Pipeline] } 04:54:44 $ docker stop --time=1 766cc9953c321ed977026af9abcae4d1518233df0ec7bc224c38138aaad42f19 04:54:45 $ docker rm -f --volumes 766cc9953c321ed977026af9abcae4d1518233df0ec7bc224c38138aaad42f19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:46 + docker inspect -f . ci-base-image-x86_64 04:54:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:46 prd-ubuntu20.04-docker-8c-8g-27868 does not seem to be running inside a container 04:54:46 $ 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-1557 -v /w/workspace/gexfoundry_device-sdk-go_PR-1557:/w/workspace/gexfoundry_device-sdk-go_PR-1557:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1557@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 ******** ci-base-image-x86_64 cat 04:54:47 $ docker top cd609db6520dd4b2180c771ce43b3dc83efaa57e2696d33b2511f6d2297c8e6c -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1557 [Pipeline] fileExists [Pipeline] sh 04:54:47 + make test 04:54:47 go test -race -coverprofile=coverage.out ./... 04:54:54 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:55:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:55:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 27.6% of statements 04:55:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:55:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements 04:55:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements 04:55:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.080s coverage: 71.8% of statements 04:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:55:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements 04:55:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.933s coverage: 45.9% of statements 04:55:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.063s coverage: 68.5% of statements 04:55:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements 04:55:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 04:55:36 GO111MODULE=on go vet ./... 04:55:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:38 ./bin/test-attribution-txt.sh 04:55:38 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 04:55:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:55:38 $ docker stop --time=1 cd609db6520dd4b2180c771ce43b3dc83efaa57e2696d33b2511f6d2297c8e6c 04:55:42 $ docker rm -f --volumes cd609db6520dd4b2180c771ce43b3dc83efaa57e2696d33b2511f6d2297c8e6c [Pipeline] // withDockerContainer [Pipeline] sh 04:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:44 + ls -al . 04:55:44 total 308 04:55:44 drwxrwxr-x 11 jenkins jenkins 4096 Jan 25 04:54 . 04:55:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:53 .. 04:55:44 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 04:53 .dockerignore 04:55:44 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 04:55 .git 04:55:44 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 04:53 .github 04:55:44 -rw-rw-r-- 1 jenkins jenkins 137 Jan 25 04:53 .gitignore 04:55:44 -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 04:53 .golangci.yml 04:55:44 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 04:53 .semver 04:55:44 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 25 04:53 CHANGELOG.md 04:55:44 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 04:53 GOVERNANCE.md 04:55:44 -rw-rw-r-- 1 jenkins jenkins 885 Jan 25 04:53 Jenkinsfile 04:55:44 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 04:53 LICENSE 04:55:44 -rw-rw-r-- 1 jenkins jenkins 1842 Jan 25 04:53 Makefile 04:55:44 -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 04:53 OWNERS.md 04:55:44 -rw-rw-r-- 1 jenkins jenkins 4933 Jan 25 04:53 README.md 04:55:44 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 04:53 VERSION 04:55:44 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 04:53 bin 04:55:44 -rw-r--r-- 1 jenkins jenkins 122154 Jan 25 04:55 coverage.out 04:55:44 drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 04:53 example 04:55:44 -rw-rw-r-- 1 jenkins jenkins 3767 Jan 25 04:53 go.mod 04:55:44 -rw-rw-r-- 1 jenkins jenkins 33874 Jan 25 04:53 go.sum 04:55:44 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 04:53 internal 04:55:44 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 04:53 openapi 04:55:44 drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 04:53 pkg 04:55:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:53 snap 04:55:44 -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:44 + 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=0bc2aedca35711a9cf920d7b41778f654887a33b --label arch=amd64 --label version=0.0.0 . 04:55:44 Sending build context to Docker daemon 22.06MB 04:55:44 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:55:44 Step 2/23 : FROM ${BASE} AS builder 04:55:44 ---> f3a73028d7a6 04:55:44 Step 3/23 : ARG MAKE=make build 04:55:45 ---> Running in aa9fe8b8668c 04:55:45 Removing intermediate container aa9fe8b8668c 04:55:45 ---> c2adbff0862c 04:55:45 Step 4/23 : WORKDIR /device-sdk-go 04:55:45 ---> Running in 8d47c0eeca86 04:55:45 Removing intermediate container 8d47c0eeca86 04:55:45 ---> fc611389c784 04:55:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:45 ---> Running in a954f884a549 04:55:45 Removing intermediate container a954f884a549 04:55:45 ---> 8b8e76ebd270 04:55:45 Step 6/23 : RUN apk add --update --no-cache make git 04:55:45 ---> Running in e0b45b47559b 04:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:55:46 OK: 264 MiB in 52 packages 04:55:46 Removing intermediate container e0b45b47559b 04:55:46 ---> 6bbcad974214 04:55:46 Step 7/23 : COPY go.mod vendor* ./ 04:55:46 ---> 49c9fcb0d38c 04:55:46 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:46 ---> Running in f262a26cee2e 04:55:47 Removing intermediate container f262a26cee2e 04:55:47 ---> 8499aab8c0e7 04:55:47 Step 9/23 : COPY . . 04:55:48 ---> b1bf0558c6b0 04:55:48 Step 10/23 : RUN ${MAKE} 04:55:48 ---> Running in 3e0536b88591 04:55:48 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:56:11 Removing intermediate container 3e0536b88591 04:56:11 ---> 32dfbeea0c6e 04:56:11 Step 11/23 : FROM alpine:3.18 04:56:11 3.18: Pulling from library/alpine 04:56:11 c926b61bad3b: Pulling fs layer 04:56:11 c926b61bad3b: Download complete 04:56:11 c926b61bad3b: Pull complete 04:56:11 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:56:11 Status: Downloaded newer image for alpine:3.18 04:56:11 ---> b541f2080109 04:56:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:56:11 ---> Running in 1e37b340fb35 04:56:11 Removing intermediate container 1e37b340fb35 04:56:11 ---> 0710038cc2d2 04:56:11 Step 13/23 : RUN apk add --update --no-cache 04:56:11 ---> Running in 3bacc859379c 04:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:11 OK: 7 MiB in 15 packages 04:56:11 Removing intermediate container 3bacc859379c 04:56:11 ---> a1c3bdb05b1c 04:56:11 Step 14/23 : WORKDIR / 04:56:11 ---> Running in 4883309a7e20 04:56:11 Removing intermediate container 4883309a7e20 04:56:11 ---> 215f1e9237c3 04:56:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:56:11 ---> 8b64769caa3a 04:56:11 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:56:12 ---> 5f10b9971894 04:56:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:56:12 ---> d75ec356fb51 04:56:12 Step 18/23 : EXPOSE 59999 04:56:12 ---> Running in 6bd78dc32fa2 04:56:12 Removing intermediate container 6bd78dc32fa2 04:56:12 ---> e0b3a86d2c95 04:56:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:56:12 ---> Running in 5db33ebc371a 04:56:12 Removing intermediate container 5db33ebc371a 04:56:12 ---> 029db03cdca5 04:56:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:56:12 ---> Running in e28e9b860b56 04:56:12 Removing intermediate container e28e9b860b56 04:56:12 ---> 26b0a87ca856 04:56:12 Step 21/23 : LABEL arch=amd64 04:56:12 ---> Running in 3bf44e74c1eb 04:56:12 Removing intermediate container 3bf44e74c1eb 04:56:12 ---> 0f8f64bb43de 04:56:12 Step 22/23 : LABEL git_sha=0bc2aedca35711a9cf920d7b41778f654887a33b 04:56:12 ---> Running in 865005789a67 04:56:12 Removing intermediate container 865005789a67 04:56:12 ---> 1c710e6e7cdc 04:56:12 Step 23/23 : LABEL version=0.0.0 04:56:12 ---> Running in 8e02d874dccf 04:56:13 Removing intermediate container 8e02d874dccf 04:56:13 ---> d26ed95fb6d7 04:56:13 [Warning] One or more build-args [ARCH] were not consumed 04:56:13 Successfully built d26ed95fb6d7 04:56:13 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:14 04:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:14 latest: Pulling from edgex-lftools-log-publisher 04:56:14 5eb5b503b376: Pulling fs layer 04:56:14 5c69ac0246d0: Pulling fs layer 04:56:14 ec43610c2a17: Pulling fs layer 04:56:14 3a2ae6a8a46f: Pulling fs layer 04:56:14 33b1e0a273af: Pulling fs layer 04:56:14 5d3b04190fa2: Pulling fs layer 04:56:14 2f39f015ded8: Pulling fs layer 04:56:14 3a2ae6a8a46f: Waiting 04:56:14 33b1e0a273af: Waiting 04:56:14 5d3b04190fa2: Waiting 04:56:14 2f39f015ded8: Waiting 04:56:14 5c69ac0246d0: Verifying Checksum 04:56:14 5c69ac0246d0: Download complete 04:56:14 3a2ae6a8a46f: Download complete 04:56:14 33b1e0a273af: Verifying Checksum 04:56:14 33b1e0a273af: Download complete 04:56:14 ec43610c2a17: Verifying Checksum 04:56:14 ec43610c2a17: Download complete 04:56:14 5d3b04190fa2: Verifying Checksum 04:56:14 5d3b04190fa2: Download complete 04:56:15 5eb5b503b376: Verifying Checksum 04:56:15 5eb5b503b376: Download complete 04:56:16 5eb5b503b376: Pull complete 04:56:16 5c69ac0246d0: Pull complete 04:56:16 ec43610c2a17: Pull complete 04:56:17 3a2ae6a8a46f: Pull complete 04:56:17 33b1e0a273af: Pull complete 04:56:17 5d3b04190fa2: Pull complete 04:56:21 2f39f015ded8: Pull complete 04:56:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:56:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:21 prd-ubuntu20.04-docker-8c-8g-27868 does not seem to be running inside a container 04:56:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1557 -v /w/workspace/gexfoundry_device-sdk-go_PR-1557:/w/workspace/gexfoundry_device-sdk-go_PR-1557:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:56:29 $ docker top 3c0aaa29c8f3f971995beca92356c92fe2a4b255408e3b081fce4376c1d219e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:29 ---> job-cost.sh 04:56:29 lf-activate-venv: SKIPPING 04:56:29 INFO: No Stack... 04:56:30 INFO: Retrieving Pricing Info for: v3-standard-8 04:56:31 INFO: Archiving Costs [Pipeline] sh 04:56:31 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives/cost.csv 04:56:31 + cut -d, -f6 [Pipeline] lock 04:56:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] 04:56:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] did not exist. Created. 04:56:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:56:31 + echo total: 0.2199999988079071 [Pipeline] stash 04:56:32 Stashed 1 file(s) [Pipeline] } 04:56:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:56:32 $ docker stop --time=1 3c0aaa29c8f3f971995beca92356c92fe2a4b255408e3b081fce4376c1d219e7 04:56:33 $ docker rm -f --volumes 3c0aaa29c8f3f971995beca92356c92fe2a4b255408e3b081fce4376c1d219e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:57:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27869 in /w/workspace/gexfoundry_device-sdk-go_PR-1557 [Pipeline] { [Pipeline] ws 04:57:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:57:44 The recommended git tool is: git 04:57:52 using credential edgex-jenkins-ssh 04:57:52 Cloning the remote Git repository 04:57:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:57:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:57:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:57:52 > git --version # timeout=10 04:57:52 > git --version # 'git version 2.25.1' 04:57:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:57:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:57:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:57:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1557/head:refs/remotes/origin/PR-1557 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:57:57 Merging remotes/origin/main commit 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 into PR head commit 0bc2aedca35711a9cf920d7b41778f654887a33b 04:57:57 Merge succeeded, producing 0bc2aedca35711a9cf920d7b41778f654887a33b 04:57:57 Checking out Revision 0bc2aedca35711a9cf920d7b41778f654887a33b (PR-1557) 04:57:57 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:57:57 > git --version # timeout=10 04:57:57 > git --version # 'git version 2.25.1' 04:57:57 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:57:57 > git config core.sparsecheckout # timeout=10 04:57:57 > git checkout -f 0bc2aedca35711a9cf920d7b41778f654887a33b # timeout=10 04:57:57 > git remote # timeout=10 04:57:57 > git config --get remote.origin.url # timeout=10 04:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:57 > git merge 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 # timeout=10 04:57:57 > git rev-parse HEAD^{commit} # timeout=10 04:57:57 > git config core.sparsecheckout # timeout=10 04:57:57 > git checkout -f 0bc2aedca35711a9cf920d7b41778f654887a33b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:57:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:59 Dload Upload Total Spent Left Speed 04:57:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96075 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh 04:57:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:58:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:58:00 + sudo tee /etc/docker/daemon.new 04:58:00 { 04:58:00 "registry-mirrors": [ 04:58:00 "https://nexus3.edgexfoundry.org:10001" 04:58:00 ], 04:58:00 "bip": "10.250.0.254/24", 04:58:00 "hosts": [ 04:58:00 "tcp://0.0.0.0:5555", 04:58:00 "unix:///var/run/docker.sock" 04:58:00 ], 04:58:00 "mtu": 1458, 04:58:00 "selinux-enabled": true, 04:58:00 "seccomp-profile": "/etc/docker/seccomp.json" 04:58:00 } [Pipeline] sh 04:58:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:58:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:19 provisioning config files... 04:58:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9810271921135861375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:19 ---> ****-login.sh 04:58:19 nexus3.edgexfoundry.org:10001 04:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:20 Configure a credential helper to remove this warning. See 04:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:20 04:58:20 Login Succeeded 04:58:20 nexus3.edgexfoundry.org:10002 04:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:20 Configure a credential helper to remove this warning. See 04:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:20 04:58:20 Login Succeeded 04:58:20 nexus3.edgexfoundry.org:10003 04:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:20 Configure a credential helper to remove this warning. See 04:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:20 04:58:20 Login Succeeded 04:58:20 nexus3.edgexfoundry.org:10004 04:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:21 Configure a credential helper to remove this warning. See 04:58:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:21 04:58:21 Login Succeeded 04:58:21 ****.io 04:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:21 Configure a credential helper to remove this warning. See 04:58:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:21 04:58:21 Login Succeeded 04:58:21 ---> ****-login.sh ends [Pipeline] } 04:58:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:58:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:22 ========================================================= 04:58:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:58:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:22 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 04:58:23 #0 building with "default" instance using docker driver 04:58:23 04:58:23 #1 [internal] load build definition from Dockerfile 04:58:24 #1 transferring dockerfile: 1.54kB done 04:58:24 #1 DONE 0.1s 04:58:24 04:58:24 #2 [internal] load .dockerignore 04:58:24 #2 transferring context: 182B done 04:58:24 #2 DONE 0.1s 04:58:24 04:58:24 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:58:24 #3 DONE 0.1s 04:58:24 04:58:24 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:58:24 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:58:24 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 04:58:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.2s 04:58:24 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:58:24 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:58:24 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:58:24 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:58:24 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 04:58:24 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:58:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 04:58:24 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:58:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 04:58:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.10MB / 63.99MB 0.4s 04:58:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 04:58:24 #4 ... 04:58:24 04:58:24 #5 [internal] load build context 04:58:24 #5 transferring context: 11.15MB 0.5s done 04:58:24 #5 DONE 0.6s 04:58:24 04:58:24 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:58:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.68MB / 63.99MB 0.5s 04:58:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s 04:58:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 04:58:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.7s 04:58:24 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:58:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.48MB / 97.63MB 0.7s 04:58:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 04:58:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.60MB / 63.99MB 0.8s 04:58:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.07MB / 97.63MB 0.8s 04:58:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 1.0s 04:58:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.0s 04:58:25 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:58:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.36MB / 63.99MB 1.1s 04:58:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.2s 04:58:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.07MB / 97.63MB 1.2s 04:58:25 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:58:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 1.3s 04:58:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.3s 04:58:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.4s 04:58:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.4s 04:58:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 04:58:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.6s 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.15MB / 97.63MB 1.7s 04:58:26 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.8s 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.32MB / 97.63MB 1.9s 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.93MB / 97.63MB 2.0s 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.1s 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 2.2s 04:58:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 04:58:31 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 04:58:37 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s 04:58:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.9s done 04:58:44 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:58:44 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:58:44 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:58:49 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 04:58:52 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.3s done 04:58:52 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 04:58:54 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 04:58:55 #4 DONE 30.8s 04:58:55 04:58:55 #6 [builder 2/7] WORKDIR /device-sdk-go 04:58:56 #6 DONE 1.6s 04:58:56 04:58:56 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:58:57 #7 0.724 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:58:57 #7 1.106 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:58:58 #7 2.112 OK: 266 MiB in 52 packages 04:59:01 #7 DONE 4.5s 04:59:01 04:59:01 #8 [builder 4/7] COPY go.mod vendor* ./ 04:59:01 #8 DONE 0.2s 04:59:01 04:59:01 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:19 #9 DONE 16.8s 04:59:19 04:59:19 #10 [builder 6/7] COPY . . 04:59:19 #10 DONE 0.4s 04:59:19 04:59:19 #11 [builder 7/7] RUN echo noop 04:59:19 #11 0.595 noop 04:59:19 #11 DONE 0.7s 04:59:19 04:59:19 #12 exporting to image 04:59:19 #12 exporting layers 04:59:37 #12 exporting layers 17.2s done 04:59:37 #12 writing image sha256:92259806e10045b182d16e176649fdaadcc074943c1d64985e9273c6049bfe02 done 04:59:37 #12 naming to docker.io/library/ci-base-image-arm64 done 04:59:37 #12 DONE 17.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:38 + docker inspect -f . ci-base-image-arm64 04:59:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:38 prd-ubuntu20.04-docker-arm64-4c-16g-27869 does not seem to be running inside a container 04:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:39 $ docker top 934e975f00f2100a5a06bcacad2b19ddf8ee88d51ece3fe1b092946c94815270 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:40 + go version 04:59:40 go version go1.21.0 linux/arm64 [Pipeline] } 04:59:40 $ docker stop --time=1 934e975f00f2100a5a06bcacad2b19ddf8ee88d51ece3fe1b092946c94815270 04:59:44 $ docker rm -f --volumes 934e975f00f2100a5a06bcacad2b19ddf8ee88d51ece3fe1b092946c94815270 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:45 + docker inspect -f . ci-base-image-arm64 04:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:46 prd-ubuntu20.04-docker-arm64-4c-16g-27869 does not seem to be running inside a container 04:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:47 $ docker top 26d442297c598c1bf034e9ad82cd98aa4d41f25205cbabdc20aa48f162316c1f -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:59:48 + make test 04:59:48 go test -race -coverprofile=coverage.out ./... 05:00:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:01:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.206s coverage: 27.6% of statements 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:01:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.293s coverage: 81.5% of statements 05:01:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.347s coverage: 86.0% of statements 05:01:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.417s coverage: 71.8% of statements 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:01:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:01:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:01:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.330s coverage: 14.4% of statements 05:01:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.772s coverage: 45.9% of statements 05:01:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.444s coverage: 68.5% of statements 05:01:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.446s coverage: 89.2% of statements 05:01:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.230s coverage: 5.5% of statements 05:01:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:01:32 GO111MODULE=on go vet ./... 05:02:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:54 ./bin/test-attribution-txt.sh 05:02:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:02:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:02:54 $ docker stop --time=1 26d442297c598c1bf034e9ad82cd98aa4d41f25205cbabdc20aa48f162316c1f 05:02:56 $ docker rm -f --volumes 26d442297c598c1bf034e9ad82cd98aa4d41f25205cbabdc20aa48f162316c1f [Pipeline] // withDockerContainer [Pipeline] sh 05:02:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:58 Warning: overwriting stash ‘coverage-report’ 05:02:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:00 + ls -al . 05:03:00 total 304 05:03:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 04:59 . 05:03:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:57 .. 05:03:00 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 04:57 .dockerignore 05:03:00 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 04:57 .git 05:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 04:57 .github 05:03:00 -rw-rw-r-- 1 jenkins jenkins 137 Jan 25 04:57 .gitignore 05:03:00 -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 04:57 .golangci.yml 05:03:00 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 25 04:57 CHANGELOG.md 05:03:00 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 04:57 GOVERNANCE.md 05:03:00 -rw-rw-r-- 1 jenkins jenkins 885 Jan 25 04:57 Jenkinsfile 05:03:00 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 04:57 LICENSE 05:03:00 -rw-rw-r-- 1 jenkins jenkins 1842 Jan 25 04:57 Makefile 05:03:00 -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 04:57 OWNERS.md 05:03:00 -rw-rw-r-- 1 jenkins jenkins 4933 Jan 25 04:57 README.md 05:03:00 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 04:53 VERSION 05:03:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 04:57 bin 05:03:00 -rw-r--r-- 1 jenkins jenkins 122155 Jan 25 05:01 coverage.out 05:03:00 drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 04:57 example 05:03:00 -rw-rw-r-- 1 jenkins jenkins 3767 Jan 25 04:57 go.mod 05:03:00 -rw-rw-r-- 1 jenkins jenkins 33874 Jan 25 04:57 go.sum 05:03:00 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 04:57 internal 05:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 04:57 openapi 05:03:00 drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 04:57 pkg 05:03:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:57 snap 05:03:00 -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:00 + 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=0bc2aedca35711a9cf920d7b41778f654887a33b --label arch=arm64 --label version=0.0.0 . 05:03:01 #0 building with "default" instance using docker driver 05:03:01 05:03:01 #1 [internal] load .dockerignore 05:03:01 #1 transferring context: 182B done 05:03:01 #1 DONE 0.0s 05:03:01 05:03:01 #2 [internal] load build definition from Dockerfile 05:03:01 #2 transferring dockerfile: 1.54kB done 05:03:01 #2 DONE 0.0s 05:03:01 05:03:01 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:03:01 #3 DONE 0.0s 05:03:01 05:03:01 #4 [internal] load metadata for docker.io/library/alpine:3.18 05:03:01 #4 DONE 0.2s 05:03:01 05:03:01 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:03:01 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 05:03:01 #5 ... 05:03:01 05:03:01 #6 [internal] load build context 05:03:01 #6 transferring context: 137.85kB 0.1s done 05:03:01 #6 DONE 0.1s 05:03:01 05:03:01 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:03:01 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 05:03:01 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 05:03:01 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 05:03:01 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 05:03:02 #5 ... 05:03:02 05:03:02 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:03:02 #7 DONE 0.2s 05:03:02 05:03:02 #8 [builder 2/7] WORKDIR /device-sdk-go 05:03:02 #8 DONE 0.1s 05:03:02 05:03:02 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:03:02 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 05:03:02 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 05:03:02 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 05:03:02 #5 DONE 0.9s 05:03:02 05:03:02 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:03:03 #9 0.681 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:03:03 #9 1.006 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:03:04 #9 ... 05:03:04 05:03:04 #10 [builder 3/7] RUN apk add --update --no-cache make git 05:03:04 #10 0.723 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:03:04 #10 1.206 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:03:04 #10 2.307 OK: 266 MiB in 52 packages 05:03:04 #10 DONE 2.6s 05:03:04 05:03:04 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:03:04 #9 2.015 OK: 8 MiB in 15 packages 05:03:04 #9 ... 05:03:04 05:03:04 #11 [builder 4/7] COPY go.mod vendor* ./ 05:03:04 #11 DONE 0.2s 05:03:05 05:03:05 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:05 #12 ... 05:03:05 05:03:05 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:03:05 #9 DONE 2.3s 05:03:05 05:03:05 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:08 #12 DONE 3.4s 05:03:08 05:03:08 #13 [builder 6/7] COPY . . 05:03:08 #13 DONE 0.4s 05:03:08 05:03:08 #14 [builder 7/7] RUN make build 05:03:09 #14 0.645 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:04:17 #14 DONE 61.9s 05:04:17 05:04:17 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:04:17 #15 DONE 0.1s 05:04:17 05:04:17 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:04:17 #16 DONE 0.3s 05:04:17 05:04:17 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:04:17 #17 DONE 0.1s 05:04:17 05:04:17 #18 exporting to image 05:04:17 #18 exporting layers 05:04:17 #18 exporting layers 0.4s done 05:04:17 #18 writing image sha256:7cab7c099ec5a47ab6b4828041b3892d06859a402d90ee01e40b8b0e994874c4 done 05:04:17 #18 naming to docker.io/library/device-sdk-simple-arm64 done 05:04:17 #18 DONE 0.4s [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 05:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:19 05:04:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:20 arm64: Pulling from edgex-lftools-log-publisher 05:04:20 8998bd30e6a1: Pulling fs layer 05:04:20 04944245beec: Pulling fs layer 05:04:20 699f458cf7ca: Pulling fs layer 05:04:20 765212b225bb: Pulling fs layer 05:04:20 f23df028b6ca: Pulling fs layer 05:04:20 d65c8cfc05b1: Pulling fs layer 05:04:20 2437ff75d9bd: Pulling fs layer 05:04:20 765212b225bb: Waiting 05:04:20 f23df028b6ca: Waiting 05:04:20 2437ff75d9bd: Waiting 05:04:20 04944245beec: Verifying Checksum 05:04:20 04944245beec: Download complete 05:04:21 765212b225bb: Verifying Checksum 05:04:21 765212b225bb: Download complete 05:04:21 f23df028b6ca: Verifying Checksum 05:04:21 f23df028b6ca: Download complete 05:04:21 d65c8cfc05b1: Download complete 05:04:21 699f458cf7ca: Verifying Checksum 05:04:21 699f458cf7ca: Download complete 05:04:21 8998bd30e6a1: Verifying Checksum 05:04:21 8998bd30e6a1: Download complete 05:04:23 2437ff75d9bd: Verifying Checksum 05:04:28 8998bd30e6a1: Pull complete 05:04:28 04944245beec: Pull complete 05:04:30 699f458cf7ca: Pull complete 05:04:30 765212b225bb: Pull complete 05:04:31 f23df028b6ca: Pull complete 05:04:31 d65c8cfc05b1: Pull complete 05:04:58 2437ff75d9bd: Pull complete 05:04:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:58 prd-ubuntu20.04-docker-arm64-4c-16g-27869 does not seem to be running inside a container 05:04:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:05:00 $ docker top 0f05535bbcc888364b57de6b064a87b63acb7d09a38d2d9db354315f89443c9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> job-cost.sh 05:05:01 lf-activate-venv: SKIPPING 05:05:01 INFO: No Stack... 05:05:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:03 INFO: Archiving Costs [Pipeline] sh 05:05:03 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:05:03 + cut -d, -f6 [Pipeline] lock 05:05:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] 05:05:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] did not exist. Created. 05:05:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:04 /w/workspace/device-sdk-go/1@tmp/durable-89bdc482/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:05:04 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:04 Warning: overwriting stash ‘stack-cost’ 05:05:04 Stashed 1 file(s) [Pipeline] } 05:05:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1557-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:04 $ docker stop --time=1 0f05535bbcc888364b57de6b064a87b63acb7d09a38d2d9db354315f89443c9c 05:05:06 $ docker rm -f --volumes 0f05535bbcc888364b57de6b064a87b63acb7d09a38d2d9db354315f89443c9c [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 05:05:08 provisioning config files... 05:05:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/config6342190481444790301tmp [Pipeline] { [Pipeline] sh 05:05:08 + set +x 05:05:08 + curl -s https://codecov.io/bash 05:05:08 + bash -s -- 05:05:08 05:05:08 _____ _ 05:05:08 / ____| | | 05:05:08 | | ___ __| | ___ ___ _____ __ 05:05:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:05:08 | |___| (_) | (_| | __/ (_| (_) \ V / 05:05:08 \_____\___/ \__,_|\___|\___\___/ \_/ 05:05:08 Bash-1.0.6 05:05:08 05:05:08 05:05:08 ==> git version 2.25.1 found 05:05:08 ==> 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 05:05:08 Release-Date: 2020-01-08 05:05:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:05:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:05:08 ==> Jenkins CI detected. 05:05:08 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1557 05:05:08 project root: . 05:05:08 --> token set from env 05:05:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:05:08 ==> Running gcov in . (disable via -X gcov) 05:05:08 ==> Python coveragepy not found 05:05:08 ==> Searching for coverage reports in: 05:05:08 + . 05:05:08 -> Found 1 reports 05:05:08 ==> Detecting git/mercurial file structure 05:05:08 ==> Reading reports 05:05:08 + ./coverage.out bytes=122155 05:05:08 ==> Appending adjustments 05:05:08 https://docs.codecov.io/docs/fixing-reports 05:05:09 + Found adjustments 05:05:09 ==> Gzipping contents 05:05:09 20K /tmp/codecov.OlxFsV.gz 05:05:09 ==> Uploading reports 05:05:09 url: https://codecov.io 05:05:09 query: branch=PR-1557&commit=0bc2aedca35711a9cf920d7b41778f654887a33b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1557&job=&cmd_args= 05:05:09 -> Pinging Codecov 05:05:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1557&commit=0bc2aedca35711a9cf920d7b41778f654887a33b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1557&job=&cmd_args= 05:05:09 -> Uploading to 05:05:09 https://storage.googleapis.com/codecov/v4/raw/2024-01-25/7E55EF52A471D76F132DFD9A03CDDE97/0bc2aedca35711a9cf920d7b41778f654887a33b/aa16d04e-a0e7-4dda-97ac-50aa10c7fd2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T050509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee239b6e904fcf90fd06ca557db39d60417af86cee9db59f3e0b8ad41577a256 05:05:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:09 Dload Upload Total Spent Left Speed 05:05:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16771 0 0 100 16771 0 77643 --:--:-- --:--:-- --:--:-- 77285 100 16771 0 0 100 16771 0 57434 --:--:-- --:--:-- --:--:-- 57434 05:05:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0bc2aedca35711a9cf920d7b41778f654887a33b [Pipeline] } 05:05:09 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 05:05:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives ] 05:05:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives 05:05:12 total 16 05:05:12 drwxr-xr-x 3 root root 4096 Jan 25 04:56 . 05:05:12 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 04:56 .. 05:05:12 drwxr-xr-x 2 root root 4096 Jan 25 04:56 cost 05:05:12 -rw-r--r-- 1 root root 86 Jan 25 04:56 cost.csv 05:05:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives 05:05:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives 05:05:12 total 16 05:05:12 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 04:56 . 05:05:12 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 04:56 .. 05:05:12 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 04:56 cost 05:05:12 -rw-r--r-- 1 jenkins jenkins 86 Jan 25 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:05:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:14 ---> package-listing.sh 05:05:14 ++ facter osfamily 05:05:14 ++ tr '[:upper:]' '[:lower:]' 05:05:14 + OS_FAMILY=debian 05:05:14 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1557 05:05:14 + START_PACKAGES=/tmp/packages_start.txt 05:05:14 + END_PACKAGES=/tmp/packages_end.txt 05:05:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:14 + PACKAGES=/tmp/packages_start.txt 05:05:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1557 ']' 05:05:14 + PACKAGES=/tmp/packages_end.txt 05:05:14 + case "${OS_FAMILY}" in 05:05:14 + dpkg -l 05:05:14 + grep '^ii' 05:05:14 + '[' -f /tmp/packages_start.txt ']' 05:05:14 + '[' -f /tmp/packages_end.txt ']' 05:05:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1557 ']' 05:05:14 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives/ 05:05:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1557/archives/ [Pipeline] echo 05:05:14 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-1557/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:05:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:15 prd-ubuntu20.04-docker-8c-8g-27868 does not seem to be running inside a container 05:05:15 $ 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-1557/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-1557 -v /w/workspace/gexfoundry_device-sdk-go_PR-1557:/w/workspace/gexfoundry_device-sdk-go_PR-1557:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1557@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:15 $ docker top 8906aa6d0992c9a9aa5d4309ef15fdc8c0ba687998704473d1f472eb55f6c61e -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:16 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:16 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:16 + ls /var/log/sa-host 05:05:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:17 provisioning config files... 05:05:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1557@tmp/config2499740332825946115tmp [Pipeline] { [Pipeline] echo 05:05:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:17 ---> create-netrc.sh [Pipeline] } 05:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:18 ---> python-tools-install.sh [Pipeline] echo 05:05:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:18 ---> sudo-logs.sh 05:05:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:19 ---> job-cost.sh 05:05:19 lf-activate-venv: SKIPPING 05:05:19 DEBUG: total: 0.2199999988079071 05:05:19 INFO: Retrieving Stack Cost... 05:05:19 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:19 INFO: Archiving Costs [Pipeline] echo 05:05:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:20 ---> logs-deploy.sh 05:05:20 lf-activate-venv: SKIPPING 05:05:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1557/1 05:05:20 INFO: archiving workspace using pattern(s): 05:05:21 Archives upload complete. 05:05:21 INFO: archiving logs to Nexus