Pull request #1672 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e776c1c79e98cd7f32543bfd0b8d2033fc9329e5+7df071c86d532334ba949bd684b74987eb6ee53e (16efe8e8427428fadd260a2f3e6bf9f97918b5de) 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-ssh16549017899872569216.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh4910712211829896850.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1672/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1672/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13926872777633398531.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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 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-ssh7613200207115659956.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1672/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1672/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14777546661873327324.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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]] ========================================================= [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.23 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 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-36343 in /w/workspace/gexfoundry_device-sdk-go_PR-1672 [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-1672 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/main commit 7df071c86d532334ba949bd684b74987eb6ee53e into PR head commit e776c1c79e98cd7f32543bfd0b8d2033fc9329e5 Merge succeeded, producing bee60ea029051396e22560836480fe1d685b9a04 Checking out Revision bee60ea029051396e22560836480fe1d685b9a04 (PR-1672) 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/1672/head:refs/remotes/origin/PR-1672 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e776c1c79e98cd7f32543bfd0b8d2033fc9329e5 # 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 7df071c86d532334ba949bd684b74987eb6ee53e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bee60ea029051396e22560836480fe1d685b9a04 # timeout=10 Commit message: "Merge commit '7df071c86d532334ba949bd684b74987eb6ee53e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:53:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:53:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:53:04 ========================================================= 10:53:04 EdgeX Global Pipelines Version Info 10:53:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 85fdc01d3eedca565229d5337caf7997677caacc # timeout=10 10:53:05 ------------------- 10:53:05 stable info: 10:53:05 ------------------- 10:53:05 Commited By: Cherry Wang cherry@iotechsys.com 10:53:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:53:05 Message: update stable to v1.0.269 10:53:05 ------------------- 10:53:05 experimental info: 10:53:05 ------------------- 10:53:05 Commited By: **** collab-it+edgex@linuxfoundation.org 10:53:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:53:05 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:53:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1672 [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1672 [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1672 [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bee60ea029051396e22560836480fe1d685b9a04 [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bee60ea [Pipeline] echo 10:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:53:06 provisioning config files... 10:53:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/config12008800783687798844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:53:06 ---> ****-login.sh 10:53:06 nexus3.edgexfoundry.org:10001 10:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:07 Configure a credential helper to remove this warning. See 10:53:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:07 10:53:07 Login Succeeded 10:53:07 nexus3.edgexfoundry.org:10002 10:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:07 Configure a credential helper to remove this warning. See 10:53:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:07 10:53:07 Login Succeeded 10:53:07 nexus3.edgexfoundry.org:10003 10:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:07 Configure a credential helper to remove this warning. See 10:53:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:07 10:53:07 Login Succeeded 10:53:07 nexus3.edgexfoundry.org:10004 10:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:07 Configure a credential helper to remove this warning. See 10:53:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:07 10:53:07 Login Succeeded 10:53:07 ****.io 10:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:08 Configure a credential helper to remove this warning. See 10:53:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:08 10:53:08 Login Succeeded 10:53:08 ---> ****-login.sh ends [Pipeline] } 10:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:53:09 + git rev-list -1 --merges bee60ea029051396e22560836480fe1d685b9a04~1..bee60ea029051396e22560836480fe1d685b9a04 [Pipeline] echo 10:53:09 -----------> git rev-list -1 --merges bee60ea029051396e22560836480fe1d685b9a04~1..bee60ea029051396e22560836480fe1d685b9a04 bee60ea029051396e22560836480fe1d685b9a04 10:53:09 bee60ea029051396e22560836480fe1d685b9a04 [false] [Pipeline] sh 10:53:09 + git log --format=format:%s -1 bee60ea029051396e22560836480fe1d685b9a04 [Pipeline] echo 10:53:09 ========================================================= 10:53:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:53:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:53:09 + git log --format=format:%s -1 bee60ea029051396e22560836480fe1d685b9a04 [Pipeline] echo 10:53:09 [semverPrep] GIT_COMMIT: bee60ea029051396e22560836480fe1d685b9a04, Commit Message: Merge commit '7df071c86d532334ba949bd684b74987eb6ee53e' into HEAD [Pipeline] echo 10:53:10 [semverPrep] This is not a build commit. [Pipeline] sh 10:53:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:53:10 + grep -v github /etc/ssh/ssh_known_hosts 10:53:10 + [ -e /tmp/ssh_known_hosts ] 10:53:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:53:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:53:10 + sudo tee -a /etc/ssh/ssh_known_hosts 10:53:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:53:10 10:53:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:53:11 0.1.4: Pulling from edgex-devops/py-git-semver 10:53:11 b85a868b505f: Pulling fs layer 10:53:11 e2be974225ed: Pulling fs layer 10:53:11 339a4e72a1f5: Pulling fs layer 10:53:11 988bab9f4d93: Pulling fs layer 10:53:11 1469e6f7b9e6: Pulling fs layer 10:53:11 eaf3925da568: Pulling fs layer 10:53:11 bab4dde63d76: Pulling fs layer 10:53:11 bde34c3a00c8: Pulling fs layer 10:53:11 b352a97aabf1: Pulling fs layer 10:53:11 4872d77fe225: Pulling fs layer 10:53:11 5851b861e8e6: Pulling fs layer 10:53:11 988bab9f4d93: Waiting 10:53:11 1469e6f7b9e6: Waiting 10:53:11 eaf3925da568: Waiting 10:53:11 4872d77fe225: Waiting 10:53:11 bab4dde63d76: Waiting 10:53:11 bde34c3a00c8: Waiting 10:53:11 5851b861e8e6: Waiting 10:53:11 b352a97aabf1: Waiting 10:53:11 e2be974225ed: Download complete 10:53:11 988bab9f4d93: Verifying Checksum 10:53:11 988bab9f4d93: Download complete 10:53:11 1469e6f7b9e6: Verifying Checksum 10:53:11 1469e6f7b9e6: Download complete 10:53:11 eaf3925da568: Verifying Checksum 10:53:11 eaf3925da568: Download complete 10:53:11 339a4e72a1f5: Verifying Checksum 10:53:11 339a4e72a1f5: Download complete 10:53:11 bde34c3a00c8: Verifying Checksum 10:53:11 bde34c3a00c8: Download complete 10:53:11 b352a97aabf1: Download complete 10:53:11 4872d77fe225: Verifying Checksum 10:53:11 4872d77fe225: Download complete 10:53:11 5851b861e8e6: Verifying Checksum 10:53:11 5851b861e8e6: Download complete 10:53:11 b85a868b505f: Verifying Checksum 10:53:11 b85a868b505f: Download complete 10:53:11 bab4dde63d76: Verifying Checksum 10:53:11 bab4dde63d76: Download complete 10:53:12 b85a868b505f: Pull complete 10:53:12 e2be974225ed: Pull complete 10:53:13 339a4e72a1f5: Pull complete 10:53:13 988bab9f4d93: Pull complete 10:53:13 1469e6f7b9e6: Pull complete 10:53:13 eaf3925da568: Pull complete 10:53:15 bab4dde63d76: Pull complete 10:53:15 bde34c3a00c8: Pull complete 10:53:15 b352a97aabf1: Pull complete 10:53:15 4872d77fe225: Pull complete 10:53:15 5851b861e8e6: Pull complete 10:53:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:53:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:53:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:15 prd-ubuntu20.04-docker-8c-8g-36343 does not seem to be running inside a container 10:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1672 -v /w/workspace/gexfoundry_device-sdk-go_PR-1672:/w/workspace/gexfoundry_device-sdk-go_PR-1672:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:53:18 $ docker top 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 -eo pid,comm 10:53:18 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). 10:53:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:53:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:53:18 [ssh-agent] Looking for ssh-agent implementation... 10:53:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:53:18 $ docker exec 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 ssh-agent 10:53:18 SSH_AUTH_SOCK=/tmp/ssh-FHHo95IkxtmQ/agent.32 10:53:18 SSH_AGENT_PID=38 10:53:18 Running ssh-add (command line suppressed) 10:53:18 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/private_key_4344097852809420275.key (/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/private_key_4344097852809420275.key) 10:53:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:53:19 + git tag --points-at HEAD [Pipeline] } 10:53:19 $ docker exec --env ******** --env ******** 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 ssh-agent -k 10:53:19 unset SSH_AUTH_SOCK; 10:53:19 unset SSH_AGENT_PID; 10:53:19 echo Agent pid 38 killed; 10:53:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:53:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:53:19 [ssh-agent] Looking for ssh-agent implementation... 10:53:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:53:19 $ docker exec 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 ssh-agent 10:53:19 SSH_AUTH_SOCK=/tmp/ssh-wPeizSqhwJkf/agent.71 10:53:19 SSH_AGENT_PID=77 10:53:19 Running ssh-add (command line suppressed) 10:53:19 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/private_key_5472956732367639916.key (/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/private_key_5472956732367639916.key) 10:53:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:53:19 + git semver init 10:53:20 2025-01-08 10:53:20,023 [run_init] DEBUG init version:0.0.0 force:False 10:53:20 2025-01-08 10:53:20,024 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver 10:53:20 2025-01-08 10:53:20,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver 10:53:20 2025-01-08 10:53:20,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1672, universal_newlines=False, shell=None, istream=None) 10:53:21 2025-01-08 10:53:21,247 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1672/.git/info/exclude 10:53:21 2025-01-08 10:53:21,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver/PR-1672 with force:False 10:53:21 2025-01-08 10:53:21,248 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver/PR-1672 10:53:21 2025-01-08 10:53:21,252 [execute] INFO git cat-file --batch-check 10:53:21 2025-01-08 10:53:21,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver, universal_newlines=False, shell=None, istream=) 10:53:21 2025-01-08 10:53:21,259 [execute] INFO git cat-file --batch 10:53:21 2025-01-08 10:53:21,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver, universal_newlines=False, shell=None, istream=) 10:53:21 2025-01-08 10:53:21,263 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1672/.semver/PR-1672 10:53:21 0.0.0 [Pipeline] } 10:53:21 $ docker exec --env ******** --env ******** 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 ssh-agent -k 10:53:21 unset SSH_AUTH_SOCK; 10:53:21 unset SSH_AGENT_PID; 10:53:21 echo Agent pid 77 killed; 10:53:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:53:21 + git semver [Pipeline] } 10:53:22 $ docker stop --time=1 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 10:53:23 $ docker rm -f --volumes 2ec1217be2ee652d70a8a707fe85cda7ae465f82e32e1eacf3191996f8740483 [Pipeline] // withDockerContainer [Pipeline] sh 10:53:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:53:24 Stashed 1 file(s) [Pipeline] echo 10:53:24 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:53:24 provisioning config files... [Pipeline] // stage [Pipeline] } 10:53:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/config16000494547874036134tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:53:24 ---> ****-login.sh 10:53:24 nexus3.edgexfoundry.org:10001 10:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:24 Configure a credential helper to remove this warning. See 10:53:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:24 10:53:24 Login Succeeded 10:53:24 nexus3.edgexfoundry.org:10002 10:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:24 Configure a credential helper to remove this warning. See 10:53:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:24 10:53:24 Login Succeeded 10:53:24 nexus3.edgexfoundry.org:10003 10:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:25 Configure a credential helper to remove this warning. See 10:53:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:25 10:53:25 Login Succeeded 10:53:25 nexus3.edgexfoundry.org:10004 10:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:25 Configure a credential helper to remove this warning. See 10:53:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:25 10:53:25 Login Succeeded 10:53:25 ****.io 10:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:53:25 Configure a credential helper to remove this warning. See 10:53:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:53:25 10:53:25 Login Succeeded 10:53:25 ---> ****-login.sh ends [Pipeline] } 10:53:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:53:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:53:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:53:25 ========================================================= 10:53:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:53:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:25 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 10:53:25 Sending build context to Docker daemon 24.89MB 10:53:25 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 10:53:25 Step 2/10 : FROM ${BASE} AS builder 10:53:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:53:26 da9db072f522: Pulling fs layer 10:53:26 6ef4a4ee8ca5: Pulling fs layer 10:53:26 06f05ace1117: Pulling fs layer 10:53:26 5fe327b54edc: Pulling fs layer 10:53:26 4f4fb700ef54: Pulling fs layer 10:53:26 92a5565b7b96: Pulling fs layer 10:53:26 ff9bb7016b71: Pulling fs layer 10:53:26 b67dba6c2c7d: Pulling fs layer 10:53:26 a813b0c90790: Pulling fs layer 10:53:26 b67dba6c2c7d: Waiting 10:53:26 a813b0c90790: Waiting 10:53:26 92a5565b7b96: Waiting 10:53:26 ff9bb7016b71: Waiting 10:53:26 5fe327b54edc: Waiting 10:53:26 4f4fb700ef54: Waiting 10:53:26 6ef4a4ee8ca5: Verifying Checksum 10:53:26 6ef4a4ee8ca5: Download complete 10:53:26 5fe327b54edc: Verifying Checksum 10:53:26 5fe327b54edc: Download complete 10:53:26 4f4fb700ef54: Download complete 10:53:26 92a5565b7b96: Verifying Checksum 10:53:26 92a5565b7b96: Download complete 10:53:26 da9db072f522: Download complete 10:53:26 ff9bb7016b71: Download complete 10:53:26 da9db072f522: Pull complete 10:53:26 a813b0c90790: Verifying Checksum 10:53:26 a813b0c90790: Download complete 10:53:26 6ef4a4ee8ca5: Pull complete 10:53:26 06f05ace1117: Verifying Checksum 10:53:26 06f05ace1117: Download complete 10:53:26 b67dba6c2c7d: Verifying Checksum 10:53:26 b67dba6c2c7d: Download complete 10:53:30 06f05ace1117: Pull complete 10:53:30 5fe327b54edc: Pull complete 10:53:30 4f4fb700ef54: Pull complete 10:53:30 92a5565b7b96: Pull complete 10:53:30 ff9bb7016b71: Pull complete 10:53:32 b67dba6c2c7d: Pull complete 10:53:32 a813b0c90790: Pull complete 10:53:32 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:53:32 ---> 3ba60ce46760 10:53:32 Step 3/10 : ARG MAKE=make build 10:53:36 ---> Running in 9c6df8777d41 10:53:36 Removing intermediate container 9c6df8777d41 10:53:36 ---> 317611a7409b 10:53:36 Step 4/10 : WORKDIR /device-sdk-go 10:53:36 ---> Running in f60c472850b9 10:53:36 Removing intermediate container f60c472850b9 10:53:36 ---> 1a59a3f9947c 10:53:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:53:36 ---> Running in e4b208721ce4 10:53:36 Removing intermediate container e4b208721ce4 10:53:36 ---> c74ec8320234 10:53:36 Step 6/10 : RUN apk add --update --no-cache make git 10:53:36 ---> Running in 974c9c8df2e6 10:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:53:37 OK: 248 MiB in 58 packages 10:53:37 Removing intermediate container 974c9c8df2e6 10:53:37 ---> 9a001d0db80a 10:53:37 Step 7/10 : COPY go.mod vendor* ./ 10:53:37 ---> ce7143995939 10:53:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:53:37 ---> Running in 13a2fd7b4922 10:54:24 Removing intermediate container 13a2fd7b4922 10:54:24 ---> 904ee172a8ad 10:54:24 Step 9/10 : COPY . . 10:54:24 ---> 675b4ad19021 10:54:24 Step 10/10 : RUN ${MAKE} 10:54:24 ---> Running in 0e10d99ba6e1 10:54:24 noop 10:54:24 Removing intermediate container 0e10d99ba6e1 10:54:24 ---> 89213fbe3106 10:54:24 Successfully built 89213fbe3106 10:54:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:24 + docker inspect -f . ci-base-image-x86_64 10:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:24 prd-ubuntu20.04-docker-8c-8g-36343 does not seem to be running inside a container 10:54:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1672 -v /w/workspace/gexfoundry_device-sdk-go_PR-1672:/w/workspace/gexfoundry_device-sdk-go_PR-1672:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:54:25 $ docker top 251a1f59963cca2d0448ddae08ba79a14db4d4149da19226272cd6d5d8fec977 -eo pid,comm [Pipeline] { [Pipeline] sh 10:54:25 + go version 10:54:25 go version go1.23.4 linux/amd64 [Pipeline] } 10:54:25 $ docker stop --time=1 251a1f59963cca2d0448ddae08ba79a14db4d4149da19226272cd6d5d8fec977 10:54:26 $ docker rm -f --volumes 251a1f59963cca2d0448ddae08ba79a14db4d4149da19226272cd6d5d8fec977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:27 + docker inspect -f . ci-base-image-x86_64 10:54:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:27 prd-ubuntu20.04-docker-8c-8g-36343 does not seem to be running inside a container 10:54:27 $ 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-1672 -v /w/workspace/gexfoundry_device-sdk-go_PR-1672:/w/workspace/gexfoundry_device-sdk-go_PR-1672:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:54:27 $ docker top e52f8a1970e140abb5a74d2b8536f85edadbb5487a280d9a1e6633e8ac24d8c6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:54:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1672 [Pipeline] fileExists [Pipeline] sh 10:54:28 + make test 10:54:28 go test -race -coverprofile=coverage.out ./... 10:54:36 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.035s coverage: 28.7% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.035s coverage: 79.3% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/syncutils coverage: 0.0% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.050s coverage: 86.0% of statements 10:55:15 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.090s coverage: 45.0% of statements 10:55:15 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.075s coverage: 14.1% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.061s coverage: 44.6% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.059s coverage: 68.4% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.096s coverage: 88.3% of statements 10:55:15 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.054s coverage: 5.3% of statements 10:55:47 GO111MODULE=on go vet ./... 10:55:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:55:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:55:53 ./bin/test-attribution-txt.sh [Pipeline] echo 10:55:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:55:53 $ docker stop --time=1 e52f8a1970e140abb5a74d2b8536f85edadbb5487a280d9a1e6633e8ac24d8c6 10:55:57 $ docker rm -f --volumes e52f8a1970e140abb5a74d2b8536f85edadbb5487a280d9a1e6633e8ac24d8c6 [Pipeline] // withDockerContainer [Pipeline] sh 10:55:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:55:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:55:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:55:58 + ls -al . 10:55:58 total 736 10:55:58 drwxrwxr-x 11 jenkins jenkins 4096 Jan 8 10:54 . 10:55:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 10:52 .. 10:55:58 -rw-rw-r-- 1 jenkins jenkins 140 Jan 8 10:52 .dockerignore 10:55:58 drwxrwxr-x 8 jenkins jenkins 4096 Jan 8 10:55 .git 10:55:58 drwxrwxr-x 3 jenkins jenkins 4096 Jan 8 10:52 .github 10:55:58 -rw-rw-r-- 1 jenkins jenkins 137 Jan 8 10:52 .gitignore 10:55:58 -rw-rw-r-- 1 jenkins jenkins 199 Jan 8 10:52 .golangci.yml 10:55:58 drwxr-xr-x 3 jenkins jenkins 4096 Jan 8 10:53 .semver 10:55:58 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 8 10:52 CHANGELOG.md 10:55:58 -rw-rw-r-- 1 jenkins jenkins 677 Jan 8 10:52 GOVERNANCE.md 10:55:58 -rw-rw-r-- 1 jenkins jenkins 882 Jan 8 10:52 Jenkinsfile 10:55:58 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 8 10:52 LICENSE 10:55:58 -rw-rw-r-- 1 jenkins jenkins 2424 Jan 8 10:52 Makefile 10:55:58 -rw-rw-r-- 1 jenkins jenkins 619 Jan 8 10:52 OWNERS.md 10:55:58 -rw-rw-r-- 1 jenkins jenkins 4937 Jan 8 10:52 README.md 10:55:58 -rw-rw-r-- 1 jenkins jenkins 5 Jan 8 10:53 VERSION 10:55:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 10:52 bin 10:55:58 -rw-r--r-- 1 jenkins jenkins 500909 Jan 8 10:55 coverage.out 10:55:58 drwxrwxr-x 5 jenkins jenkins 4096 Jan 8 10:52 example 10:55:58 -rw-rw-r-- 1 jenkins jenkins 6176 Jan 8 10:52 go.mod 10:55:58 -rw-rw-r-- 1 jenkins jenkins 86943 Jan 8 10:52 go.sum 10:55:58 drwxrwxr-x 14 jenkins jenkins 4096 Jan 8 10:52 internal 10:55:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 10:52 openapi 10:55:58 drwxrwxr-x 6 jenkins jenkins 4096 Jan 8 10:52 pkg 10:55:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 10:52 snap 10:55:58 -rw-rw-r-- 1 jenkins jenkins 222 Jan 8 10:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:59 + 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=bee60ea029051396e22560836480fe1d685b9a04 --label arch=amd64 --label version=0.0.0 . 10:55:59 Sending build context to Docker daemon 25.39MB 10:55:59 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 10:55:59 Step 2/24 : FROM ${BASE} AS builder 10:55:59 ---> 89213fbe3106 10:55:59 Step 3/24 : ARG MAKE=make build 10:55:59 ---> Running in e82c8c18c5fb 10:55:59 Removing intermediate container e82c8c18c5fb 10:55:59 ---> 522e5d27e14f 10:55:59 Step 4/24 : WORKDIR /device-sdk-go 10:55:59 ---> Running in 8209a0cae5bf 10:55:59 Removing intermediate container 8209a0cae5bf 10:55:59 ---> 146140156126 10:55:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:55:59 ---> Running in 08f9a762fc0e 10:55:59 Removing intermediate container 08f9a762fc0e 10:55:59 ---> 7a3296f348c2 10:55:59 Step 6/24 : RUN apk add --update --no-cache make git 10:55:59 ---> Running in f4260b2c1ff0 10:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:56:00 OK: 248 MiB in 58 packages 10:56:01 Removing intermediate container f4260b2c1ff0 10:56:01 ---> 2301b9d37035 10:56:01 Step 7/24 : COPY go.mod vendor* ./ 10:56:01 ---> 2b3ad9483b42 10:56:01 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:56:01 ---> Running in 5d717aee048a 10:56:01 Removing intermediate container 5d717aee048a 10:56:01 ---> dc1381412a28 10:56:01 Step 9/24 : COPY . . 10:56:02 ---> 2800b6a7880c 10:56:02 Step 10/24 : RUN ${MAKE} 10:56:02 ---> Running in a05697e96086 10:56:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:56:34 Removing intermediate container a05697e96086 10:56:34 ---> d9ae11d84e74 10:56:34 Step 11/24 : FROM alpine:3.20 10:56:34 3.20: Pulling from library/alpine 10:56:34 63b69af3dc55: Pulling fs layer 10:56:34 63b69af3dc55: Verifying Checksum 10:56:34 63b69af3dc55: Download complete 10:56:34 63b69af3dc55: Pull complete 10:56:34 Digest: sha256:780405de0f7cf99f985dd5a4f04dfc5aae71509d89505c1ba48a88d95a0ceb7f 10:56:34 Status: Downloaded newer image for alpine:3.20 10:56:34 ---> dbf365b1c719 10:56:34 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:56:34 ---> Running in d048d66b331a 10:56:34 Removing intermediate container d048d66b331a 10:56:34 ---> d63321b2bb31 10:56:34 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:56:34 ---> Running in 3e6b547be512 10:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:56:34 (1/1) Installing dumb-init (1.2.5-r3) 10:56:34 Executing busybox-1.36.1-r29.trigger 10:56:34 OK: 8 MiB in 15 packages 10:56:34 Removing intermediate container 3e6b547be512 10:56:34 ---> cd4d938c6c3a 10:56:34 Step 14/24 : RUN apk --no-cache upgrade 10:56:34 ---> Running in 0c01399372b6 10:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:56:34 (1/1) Upgrading ca-certificates-bundle (20241121-r0 -> 20241121-r1) 10:56:34 OK: 8 MiB in 15 packages 10:56:35 Removing intermediate container 0c01399372b6 10:56:35 ---> 090f12733120 10:56:35 Step 15/24 : WORKDIR / 10:56:35 ---> Running in 2275dd9ef2f7 10:56:35 Removing intermediate container 2275dd9ef2f7 10:56:35 ---> 02600a2e50d6 10:56:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:56:35 ---> f078f7d061fc 10:56:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:56:36 ---> a45cb2fdc468 10:56:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:56:36 ---> 4e861632ff4d 10:56:36 Step 19/24 : EXPOSE 59999 10:56:36 ---> Running in 9a51f462976e 10:56:36 Removing intermediate container 9a51f462976e 10:56:36 ---> c2e4eb8ac3bf 10:56:36 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:56:36 ---> Running in a631b0bcb304 10:56:36 Removing intermediate container a631b0bcb304 10:56:36 ---> 4b84e737bda1 10:56:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:56:37 ---> Running in 3b104a44686c 10:56:37 Removing intermediate container 3b104a44686c 10:56:37 ---> 1f76fb1f3ae3 10:56:37 Step 22/24 : LABEL arch=amd64 10:56:37 ---> Running in cd710cdadfd7 10:56:37 Removing intermediate container cd710cdadfd7 10:56:37 ---> 3b7706b8bf31 10:56:37 Step 23/24 : LABEL git_sha=bee60ea029051396e22560836480fe1d685b9a04 10:56:37 ---> Running in 678aff92ea78 10:56:37 Removing intermediate container 678aff92ea78 10:56:37 ---> ab86ad4b8f81 10:56:37 Step 24/24 : LABEL version=0.0.0 10:56:37 ---> Running in 6ed75aae9226 10:56:37 Removing intermediate container 6ed75aae9226 10:56:37 ---> 50dc3aa1bbc6 10:56:37 [Warning] One or more build-args [ARCH] were not consumed 10:56:37 Successfully built 50dc3aa1bbc6 10:56:37 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:38 10:56:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:38 latest: Pulling from edgex-lftools-log-publisher 10:56:38 5eb5b503b376: Pulling fs layer 10:56:38 5c69ac0246d0: Pulling fs layer 10:56:38 ec43610c2a17: Pulling fs layer 10:56:38 3a2ae6a8a46f: Pulling fs layer 10:56:38 33b1e0a273af: Pulling fs layer 10:56:38 5d3b04190fa2: Pulling fs layer 10:56:38 2f39f015ded8: Pulling fs layer 10:56:38 33b1e0a273af: Waiting 10:56:38 5d3b04190fa2: Waiting 10:56:38 2f39f015ded8: Waiting 10:56:38 3a2ae6a8a46f: Waiting 10:56:38 5c69ac0246d0: Verifying Checksum 10:56:38 5c69ac0246d0: Download complete 10:56:38 3a2ae6a8a46f: Verifying Checksum 10:56:38 3a2ae6a8a46f: Download complete 10:56:38 33b1e0a273af: Verifying Checksum 10:56:38 33b1e0a273af: Download complete 10:56:38 5d3b04190fa2: Verifying Checksum 10:56:38 5d3b04190fa2: Download complete 10:56:38 ec43610c2a17: Verifying Checksum 10:56:38 ec43610c2a17: Download complete 10:56:38 5eb5b503b376: Download complete 10:56:39 2f39f015ded8: Verifying Checksum 10:56:39 5eb5b503b376: Pull complete 10:56:40 5c69ac0246d0: Pull complete 10:56:40 ec43610c2a17: Pull complete 10:56:40 3a2ae6a8a46f: Pull complete 10:56:40 33b1e0a273af: Pull complete 10:56:40 5d3b04190fa2: Pull complete 10:56:44 2f39f015ded8: Pull complete 10:56:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:56:45 prd-ubuntu20.04-docker-8c-8g-36343 does not seem to be running inside a container 10:56:45 $ 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-1672 -v /w/workspace/gexfoundry_device-sdk-go_PR-1672:/w/workspace/gexfoundry_device-sdk-go_PR-1672:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:56:47 $ docker top 92f3159d5d32003b0eeef5e6d4f0df330495ad95e76c124c9151104f33261e91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:48 ---> job-cost.sh 10:56:48 lf-activate-venv: SKIPPING 10:56:48 INFO: No Stack... 10:56:48 INFO: Retrieving Pricing Info for: v3-standard-8 10:56:48 INFO: Archiving Costs [Pipeline] sh 10:56:48 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives/cost.csv 10:56:48 + cut -d, -f6 [Pipeline] lock 10:56:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1672-10-stack-cost] 10:56:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1672-10-stack-cost] did not exist. Created. 10:56:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1672-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:56:49 + echo total: 0.2199999988079071 [Pipeline] stash 10:56:49 Stashed 1 file(s) [Pipeline] } 10:56:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1672-10-stack-cost] [Pipeline] // lock [Pipeline] } 10:56:49 $ docker stop --time=1 92f3159d5d32003b0eeef5e6d4f0df330495ad95e76c124c9151104f33261e91 10:56:50 $ docker rm -f --volumes 92f3159d5d32003b0eeef5e6d4f0df330495ad95e76c124c9151104f33261e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:56:50 provisioning config files... 10:56:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/config14396370124974551832tmp [Pipeline] { [Pipeline] sh 10:56:51 + set +x 10:56:51 + curl -s https://codecov.io/bash 10:56:51 + bash -s -- 10:56:52 10:56:52 _____ _ 10:56:52 / ____| | | 10:56:52 | | ___ __| | ___ ___ _____ __ 10:56:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:56:52 | |___| (_) | (_| | __/ (_| (_) \ V / 10:56:52 \_____\___/ \__,_|\___|\___\___/ \_/ 10:56:52 Bash-1.0.6 10:56:52 10:56:52 10:56:52 ==> git version 2.25.1 found 10:56:52 ==> 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 10:56:52 Release-Date: 2020-01-08 10:56:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:56:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:56:52 ==> Jenkins CI detected. 10:56:52 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1672 10:56:52 project root: . 10:56:52 --> token set from env 10:56:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:56:52 ==> Running gcov in . (disable via -X gcov) 10:56:52 ==> Python coveragepy not found 10:56:52 ==> Searching for coverage reports in: 10:56:52 + . 10:56:52 -> Found 1 reports 10:56:52 ==> Detecting git/mercurial file structure 10:56:52 ==> Reading reports 10:56:52 + ./coverage.out bytes=500909 10:56:52 ==> Appending adjustments 10:56:52 https://docs.codecov.io/docs/fixing-reports 10:56:52 + Found adjustments 10:56:52 ==> Gzipping contents 10:56:52 48K /tmp/codecov.McUezA.gz 10:56:52 ==> Uploading reports 10:56:52 url: https://codecov.io 10:56:52 query: branch=PR-1672&commit=bee60ea029051396e22560836480fe1d685b9a04&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1672%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1672&job=&cmd_args= 10:56:52 -> Pinging Codecov 10:56:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1672&commit=bee60ea029051396e22560836480fe1d685b9a04&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1672%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1672&job=&cmd_args= 10:56:52 -> Uploading to 10:56:52 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/bee60ea029051396e22560836480fe1d685b9a04/36bdb5ef-04e8-44d2-93be-6ee763985739.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250108T105652Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7a731a516f93b98cd2c8d5d92a3c4fbea78be003501c009299108891cb6b3df3 10:56:52 % Total % Received % Xferd Average Speed Time Time Time Current 10:56:52 Dload Upload Total Spent Left Speed 10:56:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47924 0 0 100 47924 0 214k --:--:-- --:--:-- --:--:-- 214k 10:56:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bee60ea029051396e22560836480fe1d685b9a04 [Pipeline] } 10:56:53 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:56:54 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives ] 10:56:54 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives 10:56:54 total 16 10:56:54 drwxr-xr-x 3 root root 4096 Jan 8 10:56 . 10:56:54 drwxrwxr-x 12 jenkins jenkins 4096 Jan 8 10:56 .. 10:56:54 drwxr-xr-x 2 root root 4096 Jan 8 10:56 cost 10:56:54 -rw-r--r-- 1 root root 87 Jan 8 10:56 cost.csv 10:56:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives 10:56:54 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives 10:56:54 total 16 10:56:54 drwxr-xr-x 3 jenkins jenkins 4096 Jan 8 10:56 . 10:56:54 drwxrwxr-x 12 jenkins jenkins 4096 Jan 8 10:56 .. 10:56:54 drwxr-xr-x 2 jenkins jenkins 4096 Jan 8 10:56 cost 10:56:54 -rw-r--r-- 1 jenkins jenkins 87 Jan 8 10:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:56:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:56:55 ---> package-listing.sh 10:56:55 ++ facter osfamily 10:56:55 ++ tr '[:upper:]' '[:lower:]' 10:56:55 + OS_FAMILY=debian 10:56:55 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1672 10:56:55 + START_PACKAGES=/tmp/packages_start.txt 10:56:55 + END_PACKAGES=/tmp/packages_end.txt 10:56:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:56:55 + PACKAGES=/tmp/packages_start.txt 10:56:55 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1672 ']' 10:56:55 + PACKAGES=/tmp/packages_end.txt 10:56:55 + case "${OS_FAMILY}" in 10:56:55 + dpkg -l 10:56:55 + grep '^ii' 10:56:55 + '[' -f /tmp/packages_start.txt ']' 10:56:55 + '[' -f /tmp/packages_end.txt ']' 10:56:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:56:55 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1672 ']' 10:56:55 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives/ 10:56:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1672/archives/ [Pipeline] echo 10:56:55 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-1672/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:56:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:56:56 prd-ubuntu20.04-docker-8c-8g-36343 does not seem to be running inside a container 10:56:56 $ 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-1672/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-1672 -v /w/workspace/gexfoundry_device-sdk-go_PR-1672:/w/workspace/gexfoundry_device-sdk-go_PR-1672:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:56:56 $ docker top c430636d3f7aa75b62ba92bf8ab19b9be0a5d093e7aaa233f3c13af7593355d5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:56:57 + touch /tmp/pre-build-complete [Pipeline] sh 10:56:57 + mkdir -p /var/log/sysstat [Pipeline] sh 10:56:57 + ls /var/log/sa-host 10:56:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:56:57 provisioning config files... 10:56:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1672@tmp/config2752898279668698500tmp [Pipeline] { [Pipeline] echo 10:56:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:56:58 ---> create-netrc.sh [Pipeline] } 10:56:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:56:58 ---> python-tools-install.sh [Pipeline] echo 10:56:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:56:58 ---> sudo-logs.sh 10:56:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:56:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:56:59 ---> job-cost.sh 10:56:59 lf-activate-venv: SKIPPING 10:56:59 DEBUG: total: 0.2199999988079071 10:56:59 INFO: Retrieving Stack Cost... 10:56:59 INFO: Retrieving Pricing Info for: v3-standard-8 10:56:59 INFO: Archiving Costs [Pipeline] echo 10:56:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:56:59 ---> logs-deploy.sh 10:56:59 lf-activate-venv: SKIPPING 10:56:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1672/10 10:56:59 INFO: archiving workspace using pattern(s): 10:57:00 Archives upload complete. 10:57:00 INFO: archiving logs to Nexus 10:57:01 ---> uname -a: 10:57:01 Linux prd-ubuntu20-04-docker-8c-8g-36343 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:57:01 10:57:01 10:57:01 ---> lscpu: 10:57:01 Architecture: x86_64 10:57:01 CPU op-mode(s): 32-bit, 64-bit 10:57:01 Byte Order: Little Endian 10:57:01 Address sizes: 40 bits physical, 48 bits virtual 10:57:01 CPU(s): 8 10:57:01 On-line CPU(s) list: 0-7 10:57:01 Thread(s) per core: 1 10:57:01 Core(s) per socket: 1 10:57:01 Socket(s): 8 10:57:01 NUMA node(s): 1 10:57:01 Vendor ID: AuthenticAMD 10:57:01 CPU family: 23 10:57:01 Model: 49 10:57:01 Model name: AMD EPYC-Rome Processor 10:57:01 Stepping: 0 10:57:01 CPU MHz: 2799.998 10:57:01 BogoMIPS: 5599.99 10:57:01 Virtualization: AMD-V 10:57:01 Hypervisor vendor: KVM 10:57:01 Virtualization type: full 10:57:01 L1d cache: 256 KiB 10:57:01 L1i cache: 256 KiB 10:57:01 L2 cache: 4 MiB 10:57:01 L3 cache: 128 MiB 10:57:01 NUMA node0 CPU(s): 0-7 10:57:01 Vulnerability Itlb multihit: Not affected 10:57:01 Vulnerability L1tf: Not affected 10:57:01 Vulnerability Mds: Not affected 10:57:01 Vulnerability Meltdown: Not affected 10:57:01 Vulnerability Mmio stale data: Not affected 10:57:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:57:01 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:57:01 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:57:01 Vulnerability Srbds: Not affected 10:57:01 Vulnerability Tsx async abort: Not affected 10:57:01 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:57:01 10:57:01 10:57:01 ---> nproc: 10:57:01 8 10:57:01 10:57:01 10:57:01 ---> df -h: 10:57:01 Filesystem Size Used Avail Use% Mounted on 10:57:01 overlay 155G 12G 144G 8% / 10:57:01 tmpfs 64M 0 64M 0% /dev 10:57:01 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:57:01 shm 64M 0 64M 0% /dev/shm 10:57:01 /dev/vda1 155G 12G 144G 8% /facter-os 10:57:01 10:57:01 10:57:01 ---> sar -b -r -n DEV: 10:57:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36343) 01/08/25 _x86_64_ (8 CPU) 10:57:01 10:57:01 10:52:23 LINUX RESTART (8 CPU) 10:57:01 10:57:01 10:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:57:01 10:54:01 350.10 12.38 337.72 0.00 1758.40 71826.40 0.00 10:57:01 10:55:01 139.35 0.05 139.30 0.00 6.53 56280.66 0.00 10:57:01 10:56:01 87.35 1.13 86.22 0.00 24.00 29164.36 0.00 10:57:01 Average: 192.25 4.52 187.73 0.00 596.18 52423.16 0.00 10:57:01 10:57:01 10:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:57:01 10:54:01 27543748 31450248 853428 2.60 149916 3892484 1993708 5.88 1387448 3413296 398872 10:57:01 10:55:01 26959820 31404152 889724 2.71 184668 4355612 1921396 5.66 1814532 3522740 348764 10:57:01 10:56:01 27871892 31453196 845676 2.57 190048 3537464 1993664 5.88 1368992 3107520 184 10:57:01 Average: 27458487 31435865 862943 2.62 174877 3928520 1969589 5.80 1523657 3347852 249273 10:57:01 10:57:01 10:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:57:01 10:54:01 lo 6.00 6.00 0.59 0.59 0.00 0.00 0.00 0.00 10:57:01 10:54:01 ens3 718.47 484.08 8433.76 77.34 0.00 0.00 0.00 0.00 10:57:01 10:54:01 docker0 330.95 473.82 28.15 3460.46 0.00 0.00 0.00 0.00 10:57:01 10:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:57:01 10:55:01 ens3 22.44 13.71 24.96 9.70 0.00 0.00 0.00 0.00 10:57:01 10:55:01 docker0 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 10:57:01 10:55:01 vethef51cac 0.00 0.22 0.00 0.02 0.00 0.00 0.00 0.00 10:57:01 10:56:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 10:57:01 10:56:01 ens3 22.11 12.61 55.12 8.49 0.00 0.00 0.00 0.00 10:57:01 10:56:01 docker0 2.48 4.37 0.20 38.51 0.00 0.00 0.00 0.00 10:57:01 Average: lo 2.16 2.16 0.21 0.21 0.00 0.00 0.00 0.00 10:57:01 Average: ens3 254.29 170.10 2837.32 31.84 0.00 0.00 0.00 0.00 10:57:01 Average: docker0 111.12 159.40 9.45 1166.07 0.00 0.00 0.00 0.00 10:57:01 10:57:01