Pull request #1555 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 195ca9ac116cbed9691708f6329713d0ac1ea1a9+8c8ed3e474c227ac5cd794810a07c084c0ea64b2 (08e65a7dcf6e5e1806c9834f17caeec55a46a7f0) 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-ssh15034856110035493480.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-ssh17809941061160324923.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-1555/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-1555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7596649511856582516.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-1555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7949286104159407464.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-ssh7993422820280214734.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-1555/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-1555/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15464196331152196725.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27765 in /w/workspace/gexfoundry_device-sdk-go_PR-1555 [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-1555 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 into PR head commit 195ca9ac116cbed9691708f6329713d0ac1ea1a9 Merge succeeded, producing 195ca9ac116cbed9691708f6329713d0ac1ea1a9 Checking out Revision 195ca9ac116cbed9691708f6329713d0ac1ea1a9 (PR-1555) 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 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/1555/head:refs/remotes/origin/PR-1555 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 195ca9ac116cbed9691708f6329713d0ac1ea1a9 # 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 195ca9ac116cbed9691708f6329713d0ac1ea1a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:14:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:14:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:14:57 ========================================================= 04:14:57 EdgeX Global Pipelines Version Info 04:14:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:14:58 ------------------- 04:14:58 stable info: 04:14:58 ------------------- 04:14:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:14:58 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:14:58 Message: update stable to v1.0.258 04:14:59 ------------------- 04:14:59 experimental info: 04:14:59 ------------------- 04:14:59 Commited By: **** collab-it+edgex@linuxfoundation.org 04:14:59 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:14:59 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:14:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:15:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1555 [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1555 [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1555 [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 195ca9ac116cbed9691708f6329713d0ac1ea1a9 [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 195ca9a [Pipeline] echo 04:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:01 provisioning config files... 04:15:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/config7118153244617472349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:02 ---> ****-login.sh 04:15:02 nexus3.edgexfoundry.org:10001 04:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:02 Configure a credential helper to remove this warning. See 04:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:02 04:15:02 Login Succeeded 04:15:02 nexus3.edgexfoundry.org:10002 04:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:02 Configure a credential helper to remove this warning. See 04:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:02 04:15:02 Login Succeeded 04:15:02 nexus3.edgexfoundry.org:10003 04:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:02 Configure a credential helper to remove this warning. See 04:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:02 04:15:02 Login Succeeded 04:15:02 nexus3.edgexfoundry.org:10004 04:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:03 Configure a credential helper to remove this warning. See 04:15:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:03 04:15:03 Login Succeeded 04:15:03 ****.io 04:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:03 Configure a credential helper to remove this warning. See 04:15:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:03 04:15:03 Login Succeeded 04:15:03 ---> ****-login.sh ends [Pipeline] } 04:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:15:04 + git rev-list -1 --merges 195ca9ac116cbed9691708f6329713d0ac1ea1a9~1..195ca9ac116cbed9691708f6329713d0ac1ea1a9 [Pipeline] echo 04:15:04 -----------> git rev-list -1 --merges 195ca9ac116cbed9691708f6329713d0ac1ea1a9~1..195ca9ac116cbed9691708f6329713d0ac1ea1a9 195ca9ac116cbed9691708f6329713d0ac1ea1a9 [false] [Pipeline] sh 04:15:04 + git log --format=format:%s -1 195ca9ac116cbed9691708f6329713d0ac1ea1a9 [Pipeline] echo 04:15:04 ========================================================= 04:15:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:15:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:05 + git log --format=format:%s -1 195ca9ac116cbed9691708f6329713d0ac1ea1a9 [Pipeline] echo 04:15:05 [semverPrep] GIT_COMMIT: 195ca9ac116cbed9691708f6329713d0ac1ea1a9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:15:05 [semverPrep] This is not a build commit. [Pipeline] sh 04:15:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:05 + grep -v github /etc/ssh/ssh_known_hosts 04:15:05 + [ -e /tmp/ssh_known_hosts ] 04:15:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:15:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:15:05 + sudo tee -a /etc/ssh/ssh_known_hosts 04:15:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:06 04:15:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:15:06 b85a868b505f: Pulling fs layer 04:15:06 e2be974225ed: Pulling fs layer 04:15:06 339a4e72a1f5: Pulling fs layer 04:15:06 988bab9f4d93: Pulling fs layer 04:15:06 1469e6f7b9e6: Pulling fs layer 04:15:06 eaf3925da568: Pulling fs layer 04:15:06 bab4dde63d76: Pulling fs layer 04:15:06 bde34c3a00c8: Pulling fs layer 04:15:06 b352a97aabf1: Pulling fs layer 04:15:06 4872d77fe225: Pulling fs layer 04:15:06 988bab9f4d93: Waiting 04:15:06 5851b861e8e6: Pulling fs layer 04:15:06 1469e6f7b9e6: Waiting 04:15:06 eaf3925da568: Waiting 04:15:06 bab4dde63d76: Waiting 04:15:06 bde34c3a00c8: Waiting 04:15:06 b352a97aabf1: Waiting 04:15:06 5851b861e8e6: Waiting 04:15:06 4872d77fe225: Waiting 04:15:06 e2be974225ed: Verifying Checksum 04:15:06 e2be974225ed: Download complete 04:15:06 988bab9f4d93: Verifying Checksum 04:15:06 988bab9f4d93: Download complete 04:15:06 1469e6f7b9e6: Verifying Checksum 04:15:06 1469e6f7b9e6: Download complete 04:15:07 eaf3925da568: Verifying Checksum 04:15:07 eaf3925da568: Download complete 04:15:07 339a4e72a1f5: Verifying Checksum 04:15:07 339a4e72a1f5: Download complete 04:15:07 bde34c3a00c8: Verifying Checksum 04:15:07 bde34c3a00c8: Download complete 04:15:07 b352a97aabf1: Download complete 04:15:07 4872d77fe225: Verifying Checksum 04:15:07 4872d77fe225: Download complete 04:15:07 5851b861e8e6: Download complete 04:15:07 b85a868b505f: Verifying Checksum 04:15:07 b85a868b505f: Download complete 04:15:07 bab4dde63d76: Verifying Checksum 04:15:07 bab4dde63d76: Download complete 04:15:08 b85a868b505f: Pull complete 04:15:08 e2be974225ed: Pull complete 04:15:09 339a4e72a1f5: Pull complete 04:15:09 988bab9f4d93: Pull complete 04:15:09 1469e6f7b9e6: Pull complete 04:15:09 eaf3925da568: Pull complete 04:15:11 bab4dde63d76: Pull complete 04:15:11 bde34c3a00c8: Pull complete 04:15:11 b352a97aabf1: Pull complete 04:15:11 4872d77fe225: Pull complete 04:15:11 5851b861e8e6: Pull complete 04:15:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:12 prd-ubuntu20.04-docker-8c-8g-27765 does not seem to be running inside a container 04:15:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1555 -v /w/workspace/gexfoundry_device-sdk-go_PR-1555:/w/workspace/gexfoundry_device-sdk-go_PR-1555:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1555@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:15:14 $ docker top d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 -eo pid,comm 04:15:14 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:15:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:14 [ssh-agent] Looking for ssh-agent implementation... 04:15:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:14 $ docker exec d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 ssh-agent 04:15:14 SSH_AUTH_SOCK=/tmp/ssh-hv8Zlg5woXm6/agent.32 04:15:14 SSH_AGENT_PID=38 04:15:14 Running ssh-add (command line suppressed) 04:15:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/private_key_4653443488091283763.key (/w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/private_key_4653443488091283763.key) 04:15:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:14 + git tag --points-at HEAD [Pipeline] } 04:15:15 $ docker exec --env ******** --env ******** d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 ssh-agent -k 04:15:15 unset SSH_AUTH_SOCK; 04:15:15 unset SSH_AGENT_PID; 04:15:15 echo Agent pid 38 killed; 04:15:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:15 [ssh-agent] Looking for ssh-agent implementation... 04:15:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:15 $ docker exec d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 ssh-agent 04:15:15 SSH_AUTH_SOCK=/tmp/ssh-JRt3wVpr5FbS/agent.70 04:15:15 SSH_AGENT_PID=76 04:15:15 Running ssh-add (command line suppressed) 04:15:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/private_key_2240654610268853258.key (/w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/private_key_2240654610268853258.key) 04:15:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:15 + git semver init 04:15:16 2024-01-24 04:15:16,191 [run_init] DEBUG init version:0.0.0 force:False 04:15:16 2024-01-24 04:15:16,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver 04:15:16 2024-01-24 04:15:16,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver 04:15:16 2024-01-24 04:15:16,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1555, universal_newlines=False, shell=None, istream=None) 04:15:17 2024-01-24 04:15:17,316 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1555/.git/info/exclude 04:15:17 2024-01-24 04:15:17,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver/PR-1555 with force:False 04:15:17 2024-01-24 04:15:17,317 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver/PR-1555 04:15:17 2024-01-24 04:15:17,322 [execute] INFO git cat-file --batch-check 04:15:17 2024-01-24 04:15:17,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver, universal_newlines=False, shell=None, istream=) 04:15:17 2024-01-24 04:15:17,331 [execute] INFO git cat-file --batch 04:15:17 2024-01-24 04:15:17,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver, universal_newlines=False, shell=None, istream=) 04:15:17 2024-01-24 04:15:17,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1555/.semver/PR-1555 04:15:17 0.0.0 [Pipeline] } 04:15:17 $ docker exec --env ******** --env ******** d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 ssh-agent -k 04:15:17 unset SSH_AUTH_SOCK; 04:15:17 unset SSH_AGENT_PID; 04:15:17 echo Agent pid 76 killed; 04:15:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:19 + git semver [Pipeline] } 04:15:19 $ docker stop --time=1 d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 04:15:28 $ docker rm -f --volumes d9d1759cf3f1677b5166ea10e65ca3b6274ffb4a4a0cfb01c53bfc9027352607 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:15:36 Stashed 1 file(s) [Pipeline] echo 04:15:36 [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:15:37 provisioning config files... 04:15:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/config13250702142015395580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:38 ---> ****-login.sh 04:15:38 nexus3.edgexfoundry.org:10001 04:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:38 Configure a credential helper to remove this warning. See 04:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:38 04:15:38 Login Succeeded 04:15:38 nexus3.edgexfoundry.org:10002 04:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:38 Configure a credential helper to remove this warning. See 04:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:38 04:15:38 Login Succeeded 04:15:38 nexus3.edgexfoundry.org:10003 04:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:38 Configure a credential helper to remove this warning. See 04:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:38 04:15:38 Login Succeeded 04:15:38 nexus3.edgexfoundry.org:10004 04:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:38 Configure a credential helper to remove this warning. See 04:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:38 04:15:38 Login Succeeded 04:15:38 ****.io 04:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:38 Configure a credential helper to remove this warning. See 04:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:38 04:15:38 Login Succeeded 04:15:38 ---> ****-login.sh ends [Pipeline] } 04:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:15:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:15:39 ========================================================= 04:15:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:15:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:40 + 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:15:40 Sending build context to Docker daemon 21.91MB 04:15:40 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:15:40 Step 2/10 : FROM ${BASE} AS builder 04:15:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:15:40 7264a8db6415: Pulling fs layer 04:15:40 c4d48a809fc2: Pulling fs layer 04:15:40 4f1c88b9dad5: Pulling fs layer 04:15:40 ad3a456e5733: Pulling fs layer 04:15:40 69c7f0334f64: Pulling fs layer 04:15:40 1f1c1a5573a3: Pulling fs layer 04:15:40 ce7588e14bc9: Pulling fs layer 04:15:40 b5e4710f87ac: Pulling fs layer 04:15:40 ad3a456e5733: Waiting 04:15:40 69c7f0334f64: Waiting 04:15:40 1f1c1a5573a3: Waiting 04:15:40 ce7588e14bc9: Waiting 04:15:40 b5e4710f87ac: Waiting 04:15:40 c4d48a809fc2: Verifying Checksum 04:15:40 c4d48a809fc2: Download complete 04:15:40 ad3a456e5733: Verifying Checksum 04:15:40 ad3a456e5733: Download complete 04:15:40 7264a8db6415: Verifying Checksum 04:15:40 7264a8db6415: Download complete 04:15:40 1f1c1a5573a3: Verifying Checksum 04:15:40 1f1c1a5573a3: Download complete 04:15:40 7264a8db6415: Pull complete 04:15:40 b5e4710f87ac: Verifying Checksum 04:15:40 b5e4710f87ac: Download complete 04:15:40 c4d48a809fc2: Pull complete 04:15:40 4f1c88b9dad5: Verifying Checksum 04:15:40 4f1c88b9dad5: Download complete 04:15:41 ce7588e14bc9: Verifying Checksum 04:15:41 ce7588e14bc9: Download complete 04:15:44 4f1c88b9dad5: Pull complete 04:15:44 ad3a456e5733: Pull complete 04:15:44 69c7f0334f64: Pull complete 04:15:44 1f1c1a5573a3: Pull complete 04:15:46 ce7588e14bc9: Pull complete 04:15:47 b5e4710f87ac: Pull complete 04:15:47 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:15:47 ---> 88b5674ff536 04:15:47 Step 3/10 : ARG MAKE=make build 04:15:48 ---> Running in 13827432b2a1 04:15:48 Removing intermediate container 13827432b2a1 04:15:48 ---> 5bf00c1e679a 04:15:48 Step 4/10 : WORKDIR /device-sdk-go 04:15:48 ---> Running in c5e7e07d563e 04:15:48 Removing intermediate container c5e7e07d563e 04:15:48 ---> 11161f03a1b3 04:15:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:15:48 ---> Running in c81525b730e7 04:15:48 Removing intermediate container c81525b730e7 04:15:48 ---> 293981e13a53 04:15:48 Step 6/10 : RUN apk add --update --no-cache make git 04:15:48 ---> Running in 5ee254282c97 04:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:15:49 OK: 264 MiB in 52 packages 04:15:49 Removing intermediate container 5ee254282c97 04:15:49 ---> f521353667cc 04:15:49 Step 7/10 : COPY go.mod vendor* ./ 04:15:49 ---> 9420d2f8c8a8 04:15:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:49 ---> Running in a2ff56d40fb4 04:15:52 Still waiting to schedule task 04:15:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:16:28 Removing intermediate container a2ff56d40fb4 04:16:28 ---> 6f97cf3e09ec 04:16:28 Step 9/10 : COPY . . 04:16:29 ---> fcb655c29461 04:16:29 Step 10/10 : RUN ${MAKE} 04:16:29 ---> Running in c90b49e070ee 04:16:29 noop 04:16:30 Removing intermediate container c90b49e070ee 04:16:30 ---> ca130f61eea0 04:16:30 Successfully built ca130f61eea0 04:16:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:30 + docker inspect -f . ci-base-image-x86_64 04:16:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:30 prd-ubuntu20.04-docker-8c-8g-27765 does not seem to be running inside a container 04:16:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1555 -v /w/workspace/gexfoundry_device-sdk-go_PR-1555:/w/workspace/gexfoundry_device-sdk-go_PR-1555:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1555@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:16:31 $ docker top c8d5ad2cc75a2e6d88d1cad65dcf2b723a4cdfa7206b6552ec1467e3644b7170 -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:31 + go version 04:16:31 go version go1.21.0 linux/amd64 [Pipeline] } 04:16:31 $ docker stop --time=1 c8d5ad2cc75a2e6d88d1cad65dcf2b723a4cdfa7206b6552ec1467e3644b7170 04:16:33 $ docker rm -f --volumes c8d5ad2cc75a2e6d88d1cad65dcf2b723a4cdfa7206b6552ec1467e3644b7170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:34 + docker inspect -f . ci-base-image-x86_64 04:16:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:34 prd-ubuntu20.04-docker-8c-8g-27765 does not seem to be running inside a container 04:16:34 $ 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-1555 -v /w/workspace/gexfoundry_device-sdk-go_PR-1555:/w/workspace/gexfoundry_device-sdk-go_PR-1555:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1555@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:16:34 $ docker top 064dee8d8fe9d3a6692fe327c7aff91d25b2ba9795840759370fbe68606dccda -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1555 [Pipeline] fileExists [Pipeline] sh 04:16:35 + make test 04:16:35 go test -race -coverprofile=coverage.out ./... 04:16:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:16:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:16:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.045s coverage: 27.6% of statements 04:16:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements 04:16:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements 04:16:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.071s coverage: 71.8% of statements 04:16:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:16:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:16:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:16:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements 04:16:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.847s coverage: 45.9% of statements 04:16:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements 04:16:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.100s coverage: 89.2% of statements 04:16:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 04:17:20 GO111MODULE=on go vet ./... 04:17:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:21 ./bin/test-attribution-txt.sh 04:17:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 04:17:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:17:21 $ docker stop --time=1 064dee8d8fe9d3a6692fe327c7aff91d25b2ba9795840759370fbe68606dccda 04:17:23 $ docker rm -f --volumes 064dee8d8fe9d3a6692fe327c7aff91d25b2ba9795840759370fbe68606dccda [Pipeline] // withDockerContainer [Pipeline] sh 04:17:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:17:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:25 + ls -al . 04:17:25 total 308 04:17:25 drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 04:16 . 04:17:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:14 .. 04:17:25 -rw-rw-r-- 1 jenkins jenkins 140 Jan 24 04:14 .dockerignore 04:17:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 04:16 .git 04:17:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 04:14 .github 04:17:25 -rw-rw-r-- 1 jenkins jenkins 137 Jan 24 04:14 .gitignore 04:17:25 -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 04:14 .golangci.yml 04:17:25 drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 04:15 .semver 04:17:25 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 24 04:14 CHANGELOG.md 04:17:25 -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 04:14 GOVERNANCE.md 04:17:25 -rw-rw-r-- 1 jenkins jenkins 885 Jan 24 04:14 Jenkinsfile 04:17:25 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 24 04:14 LICENSE 04:17:25 -rw-rw-r-- 1 jenkins jenkins 1842 Jan 24 04:14 Makefile 04:17:25 -rw-rw-r-- 1 jenkins jenkins 619 Jan 24 04:14 OWNERS.md 04:17:25 -rw-rw-r-- 1 jenkins jenkins 4933 Jan 24 04:14 README.md 04:17:25 -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 04:15 VERSION 04:17:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 04:14 bin 04:17:25 -rw-r--r-- 1 jenkins jenkins 122153 Jan 24 04:16 coverage.out 04:17:25 drwxrwxr-x 5 jenkins jenkins 4096 Jan 24 04:14 example 04:17:25 -rw-rw-r-- 1 jenkins jenkins 3767 Jan 24 04:14 go.mod 04:17:25 -rw-rw-r-- 1 jenkins jenkins 33874 Jan 24 04:14 go.sum 04:17:25 drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 04:14 internal 04:17:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 04:14 openapi 04:17:25 drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 04:14 pkg 04:17:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:14 snap 04:17:25 -rw-rw-r-- 1 jenkins jenkins 222 Jan 24 04:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:25 + 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=195ca9ac116cbed9691708f6329713d0ac1ea1a9 --label arch=amd64 --label version=0.0.0 . 04:17:25 Sending build context to Docker daemon 22.03MB 04:17:25 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:17:25 Step 2/23 : FROM ${BASE} AS builder 04:17:25 ---> ca130f61eea0 04:17:25 Step 3/23 : ARG MAKE=make build 04:17:25 ---> Running in c25f0e0bf269 04:17:25 Removing intermediate container c25f0e0bf269 04:17:25 ---> d8aadf452845 04:17:25 Step 4/23 : WORKDIR /device-sdk-go 04:17:25 ---> Running in 031cf2e0238a 04:17:25 Removing intermediate container 031cf2e0238a 04:17:25 ---> 1fa9e6396e65 04:17:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:17:25 ---> Running in f63f7d1fd312 04:17:25 Removing intermediate container f63f7d1fd312 04:17:25 ---> e0d59c1a2dd9 04:17:25 Step 6/23 : RUN apk add --update --no-cache make git 04:17:25 ---> Running in c74b7d6f660a 04:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:17:26 OK: 264 MiB in 52 packages 04:17:26 Removing intermediate container c74b7d6f660a 04:17:26 ---> 6977b54ceb84 04:17:26 Step 7/23 : COPY go.mod vendor* ./ 04:17:26 ---> fcea16d86d81 04:17:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:27 ---> Running in 26a9718bb555 04:17:27 Removing intermediate container 26a9718bb555 04:17:27 ---> 6c673bd5e145 04:17:27 Step 9/23 : COPY . . 04:17:27 ---> cf0b89243328 04:17:27 Step 10/23 : RUN ${MAKE} 04:17:27 ---> Running in fcdb17db00b5 04:17:28 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:17:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27767 in /w/workspace/gexfoundry_device-sdk-go_PR-1555 [Pipeline] { [Pipeline] ws 04:17:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:17:41 The recommended git tool is: git 04:17:43 Removing intermediate container fcdb17db00b5 04:17:43 ---> ce09bcb81178 04:17:43 Step 11/23 : FROM alpine:3.18 04:17:43 3.18: Pulling from library/alpine 04:17:43 c926b61bad3b: Pulling fs layer 04:17:43 c926b61bad3b: Download complete 04:17:43 c926b61bad3b: Pull complete 04:17:43 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:17:43 Status: Downloaded newer image for alpine:3.18 04:17:43 ---> b541f2080109 04:17:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:43 ---> Running in f2dc320547e6 04:17:43 Removing intermediate container f2dc320547e6 04:17:43 ---> 7c7d8d03da04 04:17:43 Step 13/23 : RUN apk add --update --no-cache 04:17:43 ---> Running in 16c84c56a52c 04:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:17:44 OK: 7 MiB in 15 packages 04:17:44 Removing intermediate container 16c84c56a52c 04:17:44 ---> ea65830ab099 04:17:44 Step 14/23 : WORKDIR / 04:17:44 ---> Running in d2c4d083933a 04:17:45 Removing intermediate container d2c4d083933a 04:17:45 ---> 4ed66e458287 04:17:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:45 ---> 54ace82c96b0 04:17:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:45 ---> 8ef4f2b79a2b 04:17:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:45 ---> 3fa9f8b04c52 04:17:45 Step 18/23 : EXPOSE 59999 04:17:45 ---> Running in fae2112c330f 04:17:45 Removing intermediate container fae2112c330f 04:17:45 ---> 76265176141d 04:17:45 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:17:45 ---> Running in a3eb7c8125d0 04:17:45 Removing intermediate container a3eb7c8125d0 04:17:45 ---> 77ed132a80fe 04:17:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:17:45 ---> Running in c473df4412cc 04:17:45 Removing intermediate container c473df4412cc 04:17:45 ---> 24ede79c5052 04:17:45 Step 21/23 : LABEL arch=amd64 04:17:45 ---> Running in 3cdaa0c85ac8 04:17:45 Removing intermediate container 3cdaa0c85ac8 04:17:45 ---> 93361be4545e 04:17:45 Step 22/23 : LABEL git_sha=195ca9ac116cbed9691708f6329713d0ac1ea1a9 04:17:45 ---> Running in d719b19673b7 04:17:46 Removing intermediate container d719b19673b7 04:17:46 ---> ec30d8706a19 04:17:46 Step 23/23 : LABEL version=0.0.0 04:17:46 ---> Running in 11d0e274218f 04:17:46 Removing intermediate container 11d0e274218f 04:17:46 ---> 7464223b4038 04:17:46 [Warning] One or more build-args [ARCH] were not consumed 04:17:46 Successfully built 7464223b4038 04:17:46 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] { 04:17:47 using credential edgex-jenkins-ssh 04:17:47 Cloning the remote Git repository [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:17:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:17:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:47 > git --version # timeout=10 04:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:47 04:17:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:47 latest: Pulling from edgex-lftools-log-publisher 04:17:47 5eb5b503b376: Pulling fs layer 04:17:47 5c69ac0246d0: Pulling fs layer 04:17:47 ec43610c2a17: Pulling fs layer 04:17:47 3a2ae6a8a46f: Pulling fs layer 04:17:47 33b1e0a273af: Pulling fs layer 04:17:47 5d3b04190fa2: Pulling fs layer 04:17:47 2f39f015ded8: Pulling fs layer 04:17:47 5d3b04190fa2: Waiting 04:17:47 3a2ae6a8a46f: Waiting 04:17:47 2f39f015ded8: Waiting 04:17:47 5c69ac0246d0: Verifying Checksum 04:17:47 5c69ac0246d0: Download complete 04:17:47 3a2ae6a8a46f: Download complete 04:17:47 33b1e0a273af: Verifying Checksum 04:17:47 33b1e0a273af: Download complete 04:17:47 ec43610c2a17: Verifying Checksum 04:17:47 ec43610c2a17: Download complete 04:17:47 5d3b04190fa2: Download complete 04:17:48 5eb5b503b376: Download complete 04:17:47 > git --version # 'git version 2.25.1' 04:17:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:48 2f39f015ded8: Download complete 04:17:49 5eb5b503b376: Pull complete 04:17:49 5c69ac0246d0: Pull complete 04:17:49 ec43610c2a17: Pull complete 04:17:49 3a2ae6a8a46f: Pull complete 04:17:50 33b1e0a273af: Pull complete 04:17:50 5d3b04190fa2: Pull complete 04:17:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:54 2f39f015ded8: Pull complete 04:17:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 04:17:54 Merging remotes/origin/main commit 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 into PR head commit 195ca9ac116cbed9691708f6329713d0ac1ea1a9 [Pipeline] // withEnv 04:17:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1555/head:refs/remotes/origin/PR-1555 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:17:54 > git config core.sparsecheckout # timeout=10 04:17:54 > git checkout -f 195ca9ac116cbed9691708f6329713d0ac1ea1a9 # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:54 prd-ubuntu20.04-docker-8c-8g-27765 does not seem to be running inside a container 04:17:54 Merge succeeded, producing 195ca9ac116cbed9691708f6329713d0ac1ea1a9 04:17:54 Checking out Revision 195ca9ac116cbed9691708f6329713d0ac1ea1a9 (PR-1555) 04:17:54 $ 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-1555 -v /w/workspace/gexfoundry_device-sdk-go_PR-1555:/w/workspace/gexfoundry_device-sdk-go_PR-1555:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1555@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:17:55 $ docker top e2d9d015b372e44f2ca24cb0254805a811cbbaa3d0734c31eedfaea55b7119a4 -eo pid,comm 04:17:55 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] { 04:17:55 > git --version # timeout=10 04:17:55 > git --version # 'git version 2.25.1' 04:17:55 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] libraryResource [Pipeline] sh 04:17:54 > git remote # timeout=10 04:17:54 > git config --get remote.origin.url # timeout=10 04:17:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:54 > git merge 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 # timeout=10 04:17:54 > git rev-parse HEAD^{commit} # timeout=10 04:17:54 > git config core.sparsecheckout # timeout=10 04:17:54 > git checkout -f 195ca9ac116cbed9691708f6329713d0ac1ea1a9 # timeout=10 04:17:56 ---> job-cost.sh 04:17:56 lf-activate-venv: SKIPPING 04:17:56 INFO: No Stack... 04:17:56 04:17:56 GitHub has been notified of this commit’s build result 04:17:56 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv 04:17:56 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:17:56 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 04:17:57 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives/cost.csv 04:17:57 + cut -d, -f6 [Pipeline] lock 04:17:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] 04:17:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] did not exist. Created. 04:17:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:17:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:57 Dload Upload Total Spent Left Speed 04:17:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 04:17:57 + echo total: 0.2199999988079071 [Pipeline] stash 04:17:57 Stashed 1 file(s) [Pipeline] } 04:17:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] 04:17:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // lock [Pipeline] } 04:17:57 $ docker stop --time=1 e2d9d015b372e44f2ca24cb0254805a811cbbaa3d0734c31eedfaea55b7119a4 04:17:59 $ docker rm -f --volumes e2d9d015b372e44f2ca24cb0254805a811cbbaa3d0734c31eedfaea55b7119a4 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 04:17:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:17:59 sudo tee /etc/docker/daemon.new 04:17:59 { 04:17:59 "registry-mirrors": [ 04:17:59 "https://nexus3.edgexfoundry.org:10001" 04:17:59 ], 04:17:59 "bip": "10.250.0.254/24", 04:17:59 "hosts": [ 04:17:59 "tcp://0.0.0.0:5555", 04:17:59 "unix:///var/run/docker.sock" 04:17:59 ], 04:17:59 "mtu": 1458, 04:17:59 "selinux-enabled": true, 04:17:59 "seccomp-profile": "/etc/docker/seccomp.json" 04:17:59 } [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:17:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh 04:18:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:18 provisioning config files... 04:18:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10872637923926832311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:19 ---> ****-login.sh 04:18:19 nexus3.edgexfoundry.org:10001 04:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:19 Configure a credential helper to remove this warning. See 04:18:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:19 04:18:19 Login Succeeded 04:18:19 nexus3.edgexfoundry.org:10002 04:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:20 Configure a credential helper to remove this warning. See 04:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:20 04:18:20 Login Succeeded 04:18:20 nexus3.edgexfoundry.org:10003 04:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:20 Configure a credential helper to remove this warning. See 04:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:20 04:18:20 Login Succeeded 04:18:20 nexus3.edgexfoundry.org:10004 04:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:20 Configure a credential helper to remove this warning. See 04:18:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:20 04:18:20 Login Succeeded 04:18:20 ****.io 04:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:21 Configure a credential helper to remove this warning. See 04:18:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:21 04:18:21 Login Succeeded 04:18:21 ---> ****-login.sh ends [Pipeline] } 04:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:18:21 ========================================================= 04:18:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:18:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18: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:18:24 #0 building with "default" instance using docker driver 04:18:24 04:18:24 #1 [internal] load build definition from Dockerfile 04:18:24 #1 transferring dockerfile: 1.54kB done 04:18:24 #1 DONE 0.1s 04:18:24 04:18:24 #2 [internal] load .dockerignore 04:18:24 #2 transferring context: 182B done 04:18:24 #2 DONE 0.1s 04:18:24 04:18:24 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:18:24 #3 DONE 0.1s 04:18:24 04:18:24 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:18:24 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:18:24 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:18:24 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 04:18:24 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:18:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 04:18:24 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 04:18:24 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:18:24 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s 04:18:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 04:18:24 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 04:18:24 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:18:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 04:18:24 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s 04:18:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s 04:18:24 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 04:18:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 04:18:24 #4 ... 04:18:24 04:18:24 #5 [internal] load build context 04:18:24 #5 transferring context: 11.14MB 0.5s done 04:18:24 #5 DONE 0.6s 04:18:24 04:18:24 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:18:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.24MB / 97.63MB 0.5s 04:18:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 04:18:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.7s 04:18:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 14.31MB / 97.63MB 0.7s 04:18:24 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 04:18:24 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.8s 04:18:24 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:18:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.23MB / 97.63MB 0.8s 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 1.0s 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.36MB / 97.63MB 1.0s 04:18:25 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.1s 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 1.1s 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.84MB / 97.63MB 1.2s 04:18:25 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 49.28MB / 63.99MB 1.4s 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 1.4s 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.5s 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.6s 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.37MB / 97.63MB 1.6s 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.8s 04:18:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s done 04:18:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 1.9s 04:18:25 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:18:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.17MB / 97.63MB 2.1s 04:18:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.3s 04:18:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 2.4s 04:18:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 04:18:31 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.2s 04:18:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.3s 04:18:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.4s done 04:18:43 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:18:43 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 04:18:43 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:18:43 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:18:49 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 04:18:52 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.3s done 04:18:52 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 04:18:54 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 04:18:54 #4 DONE 30.5s 04:18:54 04:18:54 #6 [builder 2/7] WORKDIR /device-sdk-go 04:18:56 #6 DONE 1.7s 04:18:56 04:18:56 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:18:57 #7 0.728 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:18:57 #7 1.112 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:18:58 #7 2.078 OK: 266 MiB in 52 packages 04:18:58 #7 DONE 2.3s 04:18:58 04:18:58 #8 [builder 4/7] COPY go.mod vendor* ./ 04:18:58 #8 DONE 0.2s 04:18:58 04:18:58 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:17 #9 DONE 17.1s 04:19:17 04:19:17 #10 [builder 6/7] COPY . . 04:19:17 #10 DONE 0.4s 04:19:17 04:19:17 #11 [builder 7/7] RUN echo noop 04:19:17 #11 0.666 noop 04:19:17 #11 DONE 0.7s 04:19:17 04:19:17 #12 exporting to image 04:19:17 #12 exporting layers 04:19:35 #12 exporting layers 17.6s done 04:19:35 #12 writing image sha256:696d5177a206cb78c014e9d7554255c6057d8b48fcb3a5ddc66ec518719939cc done 04:19:35 #12 naming to docker.io/library/ci-base-image-arm64 04:19:35 #12 naming to docker.io/library/ci-base-image-arm64 done 04:19:35 #12 DONE 17.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:36 + docker inspect -f . ci-base-image-arm64 04:19:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:36 prd-ubuntu20.04-docker-arm64-4c-16g-27767 does not seem to be running inside a container 04:19:36 $ 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:19:37 $ docker top a87fabd9fa0a27231e4622e93de808fbe228c6283234e986fe813a8011b830d0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:38 + go version 04:19:38 go version go1.21.0 linux/arm64 [Pipeline] } 04:19:38 $ docker stop --time=1 a87fabd9fa0a27231e4622e93de808fbe228c6283234e986fe813a8011b830d0 04:19:40 $ docker rm -f --volumes a87fabd9fa0a27231e4622e93de808fbe228c6283234e986fe813a8011b830d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:41 + docker inspect -f . ci-base-image-arm64 04:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:41 prd-ubuntu20.04-docker-arm64-4c-16g-27767 does not seem to be running inside a container 04:19:41 $ 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:19:42 $ docker top 8690e43af4acf00dc68a0dc44d90db5d8a3b2c7857de48d16c1aaffcf66409a2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:43 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:19:44 + make test 04:19:44 go test -race -coverprofile=coverage.out ./... 04:20:23 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:21:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.211s coverage: 27.6% of statements 04:21:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:21:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.389s coverage: 81.5% of statements 04:21:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.410s coverage: 86.0% of statements 04:21:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.402s coverage: 71.8% of statements 04:21:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:21:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:21:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:21:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.265s coverage: 14.4% of statements 04:21:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.837s coverage: 45.9% of statements 04:21:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.374s coverage: 68.5% of statements 04:21:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.425s coverage: 89.2% of statements 04:21:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.224s coverage: 5.5% of statements 04:21:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:21:35 GO111MODULE=on go vet ./... 04:22:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:22:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:22:57 ./bin/test-attribution-txt.sh 04:22:57 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 04:22:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:22:57 $ docker stop --time=1 8690e43af4acf00dc68a0dc44d90db5d8a3b2c7857de48d16c1aaffcf66409a2 04:23:02 $ docker rm -f --volumes 8690e43af4acf00dc68a0dc44d90db5d8a3b2c7857de48d16c1aaffcf66409a2 [Pipeline] // withDockerContainer [Pipeline] sh 04:23:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:23:03 Warning: overwriting stash ‘coverage-report’ 04:23:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:05 + ls -al . 04:23:05 total 304 04:23:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 04:19 . 04:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:17 .. 04:23:05 -rw-rw-r-- 1 jenkins jenkins 140 Jan 24 04:17 .dockerignore 04:23:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 04:17 .git 04:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 04:17 .github 04:23:05 -rw-rw-r-- 1 jenkins jenkins 137 Jan 24 04:17 .gitignore 04:23:05 -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 04:17 .golangci.yml 04:23:05 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 24 04:17 CHANGELOG.md 04:23:05 -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 04:17 GOVERNANCE.md 04:23:05 -rw-rw-r-- 1 jenkins jenkins 885 Jan 24 04:17 Jenkinsfile 04:23:05 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 24 04:17 LICENSE 04:23:05 -rw-rw-r-- 1 jenkins jenkins 1842 Jan 24 04:17 Makefile 04:23:05 -rw-rw-r-- 1 jenkins jenkins 619 Jan 24 04:17 OWNERS.md 04:23:05 -rw-rw-r-- 1 jenkins jenkins 4933 Jan 24 04:17 README.md 04:23:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 04:15 VERSION 04:23:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 04:17 bin 04:23:05 -rw-r--r-- 1 jenkins jenkins 122153 Jan 24 04:21 coverage.out 04:23:05 drwxrwxr-x 5 jenkins jenkins 4096 Jan 24 04:17 example 04:23:05 -rw-rw-r-- 1 jenkins jenkins 3767 Jan 24 04:17 go.mod 04:23:05 -rw-rw-r-- 1 jenkins jenkins 33874 Jan 24 04:17 go.sum 04:23:05 drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 04:17 internal 04:23:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 04:17 openapi 04:23:05 drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 04:17 pkg 04:23:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 04:17 snap 04:23:05 -rw-rw-r-- 1 jenkins jenkins 222 Jan 24 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:06 + 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=195ca9ac116cbed9691708f6329713d0ac1ea1a9 --label arch=arm64 --label version=0.0.0 . 04:23:06 #0 building with "default" instance using docker driver 04:23:06 04:23:06 #1 [internal] load .dockerignore 04:23:06 #1 DONE 0.0s 04:23:06 04:23:06 #2 [internal] load build definition from Dockerfile 04:23:06 #2 DONE 0.0s 04:23:07 04:23:07 #2 [internal] load build definition from Dockerfile 04:23:07 #2 transferring dockerfile: 1.54kB 0.0s done 04:23:07 #2 DONE 0.0s 04:23:07 04:23:07 #1 [internal] load .dockerignore 04:23:07 #1 transferring context: 182B 0.0s done 04:23:07 #1 DONE 0.0s 04:23:07 04:23:07 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:23:07 #3 DONE 0.0s 04:23:07 04:23:07 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:23:07 #4 DONE 0.3s 04:23:07 04:23:07 #5 [internal] load build context 04:23:07 #5 transferring context: 137.85kB 0.1s done 04:23:07 #5 DONE 0.1s 04:23:07 04:23:07 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:23:07 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:23:07 #6 ... 04:23:07 04:23:07 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:23:07 #7 DONE 0.2s 04:23:07 04:23:07 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:23:07 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:23:07 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:23:07 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 04:23:07 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:23:07 #6 ... 04:23:07 04:23:07 #8 [builder 2/7] WORKDIR /device-sdk-go 04:23:07 #8 DONE 0.1s 04:23:07 04:23:07 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:23:07 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 04:23:07 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:23:07 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 04:23:08 #6 DONE 0.9s 04:23:08 04:23:08 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:23:08 #9 0.639 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:23:09 #9 0.971 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:23:10 #9 ... 04:23:10 04:23:10 #10 [builder 3/7] RUN apk add --update --no-cache make git 04:23:10 #10 0.732 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:23:10 #10 1.172 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:23:10 #10 2.223 OK: 266 MiB in 52 packages 04:23:10 #10 DONE 2.5s 04:23:10 04:23:10 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:23:10 #9 1.983 OK: 8 MiB in 15 packages 04:23:10 #9 ... 04:23:10 04:23:10 #11 [builder 4/7] COPY go.mod vendor* ./ 04:23:10 #11 DONE 0.2s 04:23:10 04:23:10 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:10 #12 ... 04:23:10 04:23:10 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:23:10 #9 DONE 2.3s 04:23:10 04:23:10 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:11 #12 DONE 1.0s 04:23:11 04:23:11 #13 [builder 6/7] COPY . . 04:23:11 #13 DONE 0.4s 04:23:11 04:23:11 #14 [builder 7/7] RUN make build 04:23:12 #14 0.608 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:24:34 #14 DONE 70.6s 04:24:34 04:24:34 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:24:34 #15 DONE 0.1s 04:24:34 04:24:34 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:24:34 #16 DONE 0.4s 04:24:34 04:24:34 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:24:34 #17 DONE 0.1s 04:24:34 04:24:34 #18 exporting to image 04:24:34 #18 exporting layers 04:24:34 #18 exporting layers 0.4s done 04:24:34 #18 writing image sha256:fd5706f69ee2667f6ba1e2f9f2bd1d8b22e235aff8617f3381d674dc21e5e23e done 04:24:34 #18 naming to docker.io/library/device-sdk-simple-arm64 done 04:24:34 #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 04:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:24:35 04:24:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:24:36 arm64: Pulling from edgex-lftools-log-publisher 04:24:36 8998bd30e6a1: Pulling fs layer 04:24:36 04944245beec: Pulling fs layer 04:24:36 699f458cf7ca: Pulling fs layer 04:24:36 765212b225bb: Pulling fs layer 04:24:36 f23df028b6ca: Pulling fs layer 04:24:36 765212b225bb: Waiting 04:24:36 d65c8cfc05b1: Pulling fs layer 04:24:36 2437ff75d9bd: Pulling fs layer 04:24:36 d65c8cfc05b1: Waiting 04:24:36 f23df028b6ca: Waiting 04:24:36 2437ff75d9bd: Waiting 04:24:36 04944245beec: Verifying Checksum 04:24:36 04944245beec: Download complete 04:24:36 765212b225bb: Verifying Checksum 04:24:36 765212b225bb: Download complete 04:24:36 f23df028b6ca: Verifying Checksum 04:24:36 f23df028b6ca: Download complete 04:24:36 d65c8cfc05b1: Verifying Checksum 04:24:36 d65c8cfc05b1: Download complete 04:24:36 699f458cf7ca: Verifying Checksum 04:24:36 699f458cf7ca: Download complete 04:24:36 8998bd30e6a1: Verifying Checksum 04:24:36 8998bd30e6a1: Download complete 04:24:38 2437ff75d9bd: Verifying Checksum 04:24:38 2437ff75d9bd: Download complete 04:24:45 8998bd30e6a1: Pull complete 04:24:45 04944245beec: Pull complete 04:24:47 699f458cf7ca: Pull complete 04:24:47 765212b225bb: Pull complete 04:24:47 f23df028b6ca: Pull complete 04:24:47 d65c8cfc05b1: Pull complete 04:25:10 2437ff75d9bd: Pull complete 04:25:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:25:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:10 prd-ubuntu20.04-docker-arm64-4c-16g-27767 does not seem to be running inside a container 04:25:10 $ 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 04:25:15 $ docker top c1acdd8616960ba96eb06877a020da5144dae19a92be1cf5fe603be176c84151 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:15 ---> job-cost.sh 04:25:16 lf-activate-venv: SKIPPING 04:25:16 INFO: No Stack... 04:25:16 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:17 INFO: Archiving Costs [Pipeline] sh 04:25:17 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:25:17 + cut -d, -f6 [Pipeline] lock 04:25:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] 04:25:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] did not exist. Created. 04:25:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:25:18 /w/workspace/device-sdk-go/1@tmp/durable-078b1e5c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:25:18 + echo total: 0.2199999988079071 [Pipeline] stash 04:25:18 Warning: overwriting stash ‘stack-cost’ 04:25:18 Stashed 1 file(s) [Pipeline] } 04:25:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1555-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:25:18 $ docker stop --time=1 c1acdd8616960ba96eb06877a020da5144dae19a92be1cf5fe603be176c84151 04:25:20 $ docker rm -f --volumes c1acdd8616960ba96eb06877a020da5144dae19a92be1cf5fe603be176c84151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:25:22 provisioning config files... 04:25:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/config15179228395143534932tmp [Pipeline] { [Pipeline] sh 04:25:22 + set +x 04:25:22 + curl -s https://codecov.io/bash 04:25:22 + bash -s -- 04:25:22 04:25:22 _____ _ 04:25:22 / ____| | | 04:25:22 | | ___ __| | ___ ___ _____ __ 04:25:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:25:22 | |___| (_) | (_| | __/ (_| (_) \ V / 04:25:22 \_____\___/ \__,_|\___|\___\___/ \_/ 04:25:22 Bash-1.0.6 04:25:22 04:25:22 04:25:22 ==> git version 2.25.1 found 04:25:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:25:22 Release-Date: 2020-01-08 04:25:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:25:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:25:22 ==> Jenkins CI detected. 04:25:22 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1555 04:25:22 project root: . 04:25:22 --> token set from env 04:25:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:25:22 ==> Running gcov in . (disable via -X gcov) 04:25:23 ==> Python coveragepy not found 04:25:23 ==> Searching for coverage reports in: 04:25:23 + . 04:25:23 -> Found 1 reports 04:25:23 ==> Detecting git/mercurial file structure 04:25:23 ==> Reading reports 04:25:23 + ./coverage.out bytes=122153 04:25:23 ==> Appending adjustments 04:25:23 https://docs.codecov.io/docs/fixing-reports 04:25:23 + Found adjustments 04:25:23 ==> Gzipping contents 04:25:23 20K /tmp/codecov.TxhK66.gz 04:25:23 ==> Uploading reports 04:25:23 url: https://codecov.io 04:25:23 query: branch=PR-1555&commit=195ca9ac116cbed9691708f6329713d0ac1ea1a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1555%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1555&job=&cmd_args= 04:25:23 -> Pinging Codecov 04:25:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1555&commit=195ca9ac116cbed9691708f6329713d0ac1ea1a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1555%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1555&job=&cmd_args= 04:25:23 -> Uploading to 04:25:23 https://storage.googleapis.com/codecov/v4/raw/2024-01-24/7E55EF52A471D76F132DFD9A03CDDE97/195ca9ac116cbed9691708f6329713d0ac1ea1a9/89aa5d63-2aeb-4d71-b2ad-b97a9f4e9ab5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240124%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240124T042523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b14cc63aadcdce3361d9ebb4173c2b521bad6f46e194c21449e4375ee88329c8 04:25:23 % Total % Received % Xferd Average Speed Time Time Time Current 04:25:23 Dload Upload Total Spent Left Speed 04:25:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16777 0 0 100 16777 0 58051 --:--:-- --:--:-- --:--:-- 58051 04:25:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/195ca9ac116cbed9691708f6329713d0ac1ea1a9 [Pipeline] } 04:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:25:27 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives ] 04:25:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives 04:25:27 total 16 04:25:27 drwxr-xr-x 3 root root 4096 Jan 24 04:17 . 04:25:27 drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 04:17 .. 04:25:27 drwxr-xr-x 2 root root 4096 Jan 24 04:17 cost 04:25:27 -rw-r--r-- 1 root root 86 Jan 24 04:17 cost.csv 04:25:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives 04:25:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives 04:25:27 total 16 04:25:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 04:17 . 04:25:27 drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 04:17 .. 04:25:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 04:17 cost 04:25:27 -rw-r--r-- 1 jenkins jenkins 86 Jan 24 04:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:25:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:25:28 ---> package-listing.sh 04:25:28 ++ facter osfamily 04:25:28 ++ tr '[:upper:]' '[:lower:]' 04:25:28 + OS_FAMILY=debian 04:25:28 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1555 04:25:28 + START_PACKAGES=/tmp/packages_start.txt 04:25:28 + END_PACKAGES=/tmp/packages_end.txt 04:25:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:25:28 + PACKAGES=/tmp/packages_start.txt 04:25:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1555 ']' 04:25:28 + PACKAGES=/tmp/packages_end.txt 04:25:28 + case "${OS_FAMILY}" in 04:25:28 + dpkg -l 04:25:28 + grep '^ii' 04:25:28 + '[' -f /tmp/packages_start.txt ']' 04:25:28 + '[' -f /tmp/packages_end.txt ']' 04:25:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:25:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1555 ']' 04:25:28 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives/ 04:25:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1555/archives/ [Pipeline] echo 04:25:28 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-1555/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:25:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:30 prd-ubuntu20.04-docker-8c-8g-27765 does not seem to be running inside a container 04:25:30 $ 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-1555/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-1555 -v /w/workspace/gexfoundry_device-sdk-go_PR-1555:/w/workspace/gexfoundry_device-sdk-go_PR-1555:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1555@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 04:25:30 $ docker top 5f4c0006f0dbad5b7e2300327ddd6f7b61ce51698fb29da5d9a7148a720da048 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:30 + touch /tmp/pre-build-complete [Pipeline] sh 04:25:31 + mkdir -p /var/log/sysstat [Pipeline] sh 04:25:31 + ls /var/log/sa-host 04:25:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:31 provisioning config files... 04:25:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1555@tmp/config1604853923955401026tmp [Pipeline] { [Pipeline] echo 04:25:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:25:32 ---> create-netrc.sh [Pipeline] } 04:25:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:25:32 ---> python-tools-install.sh [Pipeline] echo 04:25:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:25:33 ---> sudo-logs.sh 04:25:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:25:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:25:33 ---> job-cost.sh 04:25:33 lf-activate-venv: SKIPPING 04:25:33 DEBUG: total: 0.2199999988079071 04:25:33 INFO: Retrieving Stack Cost... 04:25:33 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:34 INFO: Archiving Costs [Pipeline] echo 04:25:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:25:34 ---> logs-deploy.sh 04:25:34 lf-activate-venv: SKIPPING 04:25:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1555/1 04:25:34 INFO: archiving workspace using pattern(s): 04:25:35 Archives upload complete. 04:25:35 INFO: archiving logs to Nexus