Pull request #1736 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9d477cb90aeaa532220321640857cb4b61bc7da+24cf2affc3703eb5bc040cb65119757d5a955afa (302c3a59af5af3e668b913dd04a3b70616d146ce) 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-ssh5740843847476469622.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh10212059387809915415.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-1736/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-1736/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4818737250957575723.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-1736/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh958145735804743413.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh8211930086578115143.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-1736/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-1736/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11189403221210513178.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3819’ Running on prd-ubuntu20.04-docker-8c-8g-3848 in /w/workspace/gexfoundry_device-sdk-go_PR-1736 [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-1736 # 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 24cf2affc3703eb5bc040cb65119757d5a955afa into PR head commit e9d477cb90aeaa532220321640857cb4b61bc7da Merge succeeded, producing dda2e715846eee17ba38f6dfa4d454e79a2aa717 Checking out Revision dda2e715846eee17ba38f6dfa4d454e79a2aa717 (PR-1736) > 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/1736/head:refs/remotes/origin/PR-1736 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9d477cb90aeaa532220321640857cb4b61bc7da # 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 24cf2affc3703eb5bc040cb65119757d5a955afa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dda2e715846eee17ba38f6dfa4d454e79a2aa717 # timeout=10 Commit message: "Merge commit '24cf2affc3703eb5bc040cb65119757d5a955afa' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:50:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:50:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:50:25 ========================================================= 02:50:25 EdgeX Global Pipelines Version Info 02:50:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:50:26 ------------------- 02:50:26 stable info: 02:50:26 ------------------- 02:50:26 Commited By: Ginny Guan ginny@iotechsys.com 02:50:26 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 02:50:26 Message: update stable to v1.0.274 02:50:27 ------------------- 02:50:27 experimental info: 02:50:27 ------------------- 02:50:27 Commited By: **** collab-it+edgex@linuxfoundation.org 02:50:27 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 02:50:27 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1736 [Pipeline] echo 02:50:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1736 [Pipeline] echo 02:50:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1736 [Pipeline] echo 02:50:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dda2e715846eee17ba38f6dfa4d454e79a2aa717 [Pipeline] echo 02:50:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dda2e71 [Pipeline] echo 02:50:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:29 provisioning config files... 02:50:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/config4975691128366078133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:29 ---> ****-login.sh 02:50:29 nexus3.edgexfoundry.org:10001 02:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:30 Configure a credential helper to remove this warning. See 02:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:30 02:50:30 Login Succeeded 02:50:30 nexus3.edgexfoundry.org:10002 02:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:30 Configure a credential helper to remove this warning. See 02:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:30 02:50:30 Login Succeeded 02:50:30 nexus3.edgexfoundry.org:10003 02:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:30 Configure a credential helper to remove this warning. See 02:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:30 02:50:30 Login Succeeded 02:50:30 nexus3.edgexfoundry.org:10004 02:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:30 Configure a credential helper to remove this warning. See 02:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:30 02:50:30 Login Succeeded 02:50:30 ****.io 02:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:30 Configure a credential helper to remove this warning. See 02:50:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:30 02:50:30 Login Succeeded 02:50:30 ---> ****-login.sh ends [Pipeline] } 02:50:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:50:31 + git rev-list -1 --merges dda2e715846eee17ba38f6dfa4d454e79a2aa717~1..dda2e715846eee17ba38f6dfa4d454e79a2aa717 [Pipeline] echo 02:50:31 -----------> git rev-list -1 --merges dda2e715846eee17ba38f6dfa4d454e79a2aa717~1..dda2e715846eee17ba38f6dfa4d454e79a2aa717 dda2e715846eee17ba38f6dfa4d454e79a2aa717 02:50:31 dda2e715846eee17ba38f6dfa4d454e79a2aa717 [false] [Pipeline] sh 02:50:31 + git log --format=format:%s -1 dda2e715846eee17ba38f6dfa4d454e79a2aa717 [Pipeline] echo 02:50:31 ========================================================= 02:50:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:50:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:32 + git log --format=format:%s -1 dda2e715846eee17ba38f6dfa4d454e79a2aa717 [Pipeline] echo 02:50:32 [semverPrep] GIT_COMMIT: dda2e715846eee17ba38f6dfa4d454e79a2aa717, Commit Message: Merge commit '24cf2affc3703eb5bc040cb65119757d5a955afa' into HEAD [Pipeline] echo 02:50:32 [semverPrep] This is not a build commit. [Pipeline] sh 02:50:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:32 + grep -v github /etc/ssh/ssh_known_hosts 02:50:32 + [ -e /tmp/ssh_known_hosts ] 02:50:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:50:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:50:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:50:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:33 02:50:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:33 0.1.4: Pulling from edgex-devops/py-git-semver 02:50:33 3dae71ba6b94: Pulling fs layer 02:50:33 6bf1a483ea7c: Pulling fs layer 02:50:33 f5dfc541a4d3: Pulling fs layer 02:50:33 461d9e800cba: Pulling fs layer 02:50:33 80192f66455f: Pulling fs layer 02:50:33 2e8e34ca0e6c: Pulling fs layer 02:50:33 a29436f7fd5d: Pulling fs layer 02:50:33 923cac83aea3: Pulling fs layer 02:50:33 25ad8b0a4227: Pulling fs layer 02:50:33 db01528c6b51: Pulling fs layer 02:50:33 28988de357af: Pulling fs layer 02:50:33 80192f66455f: Waiting 02:50:33 2e8e34ca0e6c: Waiting 02:50:33 a29436f7fd5d: Waiting 02:50:33 db01528c6b51: Waiting 02:50:33 923cac83aea3: Waiting 02:50:33 25ad8b0a4227: Waiting 02:50:33 461d9e800cba: Waiting 02:50:33 28988de357af: Waiting 02:50:33 6bf1a483ea7c: Verifying Checksum 02:50:33 6bf1a483ea7c: Download complete 02:50:33 461d9e800cba: Download complete 02:50:33 80192f66455f: Verifying Checksum 02:50:33 80192f66455f: Download complete 02:50:33 f5dfc541a4d3: Verifying Checksum 02:50:33 f5dfc541a4d3: Download complete 02:50:33 3dae71ba6b94: Verifying Checksum 02:50:33 3dae71ba6b94: Download complete 02:50:33 923cac83aea3: Verifying Checksum 02:50:33 923cac83aea3: Download complete 02:50:34 25ad8b0a4227: Verifying Checksum 02:50:34 25ad8b0a4227: Download complete 02:50:34 db01528c6b51: Download complete 02:50:34 28988de357af: Verifying Checksum 02:50:34 28988de357af: Download complete 02:50:34 a29436f7fd5d: Verifying Checksum 02:50:34 a29436f7fd5d: Download complete 02:50:34 2e8e34ca0e6c: Verifying Checksum 02:50:34 2e8e34ca0e6c: Download complete 02:50:35 3dae71ba6b94: Pull complete 02:50:35 6bf1a483ea7c: Pull complete 02:50:35 f5dfc541a4d3: Pull complete 02:50:35 461d9e800cba: Pull complete 02:50:35 80192f66455f: Pull complete 02:50:39 2e8e34ca0e6c: Pull complete 02:50:40 a29436f7fd5d: Pull complete 02:50:40 923cac83aea3: Pull complete 02:50:40 25ad8b0a4227: Pull complete 02:50:40 db01528c6b51: Pull complete 02:50:40 28988de357af: Pull complete 02:50:40 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:40 prd-ubuntu20.04-docker-8c-8g-3848 does not seem to be running inside a container 02:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1736 -v /w/workspace/gexfoundry_device-sdk-go_PR-1736:/w/workspace/gexfoundry_device-sdk-go_PR-1736:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:43 $ docker top 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 -eo pid,comm 02:50:43 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). 02:50:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:43 [ssh-agent] Looking for ssh-agent implementation... 02:50:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:43 $ docker exec 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 ssh-agent 02:50:43 SSH_AUTH_SOCK=/tmp/ssh-TFuDNP9oztz8/agent.31 02:50:43 SSH_AGENT_PID=37 02:50:43 Running ssh-add (command line suppressed) 02:50:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/private_key_15788728403865163674.key (/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/private_key_15788728403865163674.key) 02:50:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:44 + git tag --points-at HEAD [Pipeline] } 02:50:44 $ docker exec --env ******** --env ******** 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 ssh-agent -k 02:50:44 unset SSH_AUTH_SOCK; 02:50:44 unset SSH_AGENT_PID; 02:50:44 echo Agent pid 37 killed; 02:50:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:50:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:44 [ssh-agent] Looking for ssh-agent implementation... 02:50:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:44 $ docker exec 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 ssh-agent 02:50:44 SSH_AUTH_SOCK=/tmp/ssh-rjwPrldB7a8Z/agent.71 02:50:44 SSH_AGENT_PID=77 02:50:44 Running ssh-add (command line suppressed) 02:50:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/private_key_14746182895227414712.key (/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/private_key_14746182895227414712.key) 02:50:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:45 + git semver init 02:50:45 2025-06-24 02:50:45,480 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:50:45 2025-06-24 02:50:45,483 [run_init] DEBUG init version:0.0.0 force:False 02:50:45 2025-06-24 02:50:45,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver 02:50:45 2025-06-24 02:50:45,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver 02:50:45 2025-06-24 02:50:45,485 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1736, stdin=None, shell=False, universal_newlines=False) 02:50:46 2025-06-24 02:50:46,893 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1736/.git/info/exclude 02:50:46 2025-06-24 02:50:46,894 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver/PR-1736 with force:False 02:50:46 2025-06-24 02:50:46,894 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver/PR-1736 02:50:46 2025-06-24 02:50:46,898 [execute] INFO git cat-file --batch-check 02:50:46 2025-06-24 02:50:46,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver, stdin=, shell=False, universal_newlines=False) 02:50:47 2025-06-24 02:50:46,903 [execute] INFO git cat-file --batch 02:50:47 2025-06-24 02:50:46,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver, stdin=, shell=False, universal_newlines=False) 02:50:47 2025-06-24 02:50:46,908 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1736/.semver/PR-1736 02:50:47 0.0.0 [Pipeline] } 02:50:47 $ docker exec --env ******** --env ******** 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 ssh-agent -k 02:50:47 unset SSH_AUTH_SOCK; 02:50:47 unset SSH_AGENT_PID; 02:50:47 echo Agent pid 77 killed; 02:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:47 + git semver [Pipeline] } 02:50:48 $ docker stop --time=1 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 02:50:49 $ docker rm -f --volumes 176292450e024bdc28eea5ff17d10e5f317c194e9c0e80b59a32b7bac4688ff4 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:50:50 Stashed 1 file(s) [Pipeline] echo 02:50:50 [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 02:50:51 provisioning config files... 02:50:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/config2991936498965269431tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 02:50:51 ---> ****-login.sh 02:50:51 nexus3.edgexfoundry.org:10001 02:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:51 Configure a credential helper to remove this warning. See 02:50:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:51 02:50:51 Login Succeeded 02:50:51 nexus3.edgexfoundry.org:10002 02:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:51 Configure a credential helper to remove this warning. See 02:50:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:51 02:50:51 Login Succeeded 02:50:51 nexus3.edgexfoundry.org:10003 02:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:51 Configure a credential helper to remove this warning. See 02:50:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:51 02:50:51 Login Succeeded 02:50:51 nexus3.edgexfoundry.org:10004 02:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:51 Configure a credential helper to remove this warning. See 02:50:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:51 02:50:51 Login Succeeded 02:50:51 ****.io 02:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:52 Configure a credential helper to remove this warning. See 02:50:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:52 02:50:52 Login Succeeded 02:50:52 ---> ****-login.sh ends [Pipeline] } 02:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:50:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:50:52 ========================================================= 02:50:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:50:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:53 + 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 . 02:50:53 Sending build context to Docker daemon 36.14MB 02:50:53 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 02:50:53 Step 2/10 : FROM ${BASE} AS builder 02:50:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:50:53 0a9a5dfd008f: Pulling fs layer 02:50:53 36466aa92d05: Pulling fs layer 02:50:53 e10405b45d13: Pulling fs layer 02:50:53 096b7ceb2af7: Pulling fs layer 02:50:53 4f4fb700ef54: Pulling fs layer 02:50:53 8213a616a21b: Pulling fs layer 02:50:53 985586143405: Pulling fs layer 02:50:53 096b7ceb2af7: Waiting 02:50:53 4f4fb700ef54: Waiting 02:50:53 8213a616a21b: Waiting 02:50:53 0eae2285b678: Pulling fs layer 02:50:53 d3ac315be8c5: Pulling fs layer 02:50:53 985586143405: Waiting 02:50:53 0eae2285b678: Waiting 02:50:53 d3ac315be8c5: Waiting 02:50:53 36466aa92d05: Verifying Checksum 02:50:53 36466aa92d05: Download complete 02:50:53 096b7ceb2af7: Verifying Checksum 02:50:53 096b7ceb2af7: Download complete 02:50:53 4f4fb700ef54: Verifying Checksum 02:50:53 4f4fb700ef54: Download complete 02:50:53 8213a616a21b: Verifying Checksum 02:50:53 8213a616a21b: Download complete 02:50:53 0a9a5dfd008f: Verifying Checksum 02:50:53 0a9a5dfd008f: Download complete 02:50:53 985586143405: Verifying Checksum 02:50:53 985586143405: Download complete 02:50:53 0a9a5dfd008f: Pull complete 02:50:53 d3ac315be8c5: Verifying Checksum 02:50:53 d3ac315be8c5: Download complete 02:50:53 36466aa92d05: Pull complete 02:50:53 e10405b45d13: Verifying Checksum 02:50:53 e10405b45d13: Download complete 02:50:54 0eae2285b678: Verifying Checksum 02:50:54 0eae2285b678: Download complete 02:50:57 e10405b45d13: Pull complete 02:50:57 096b7ceb2af7: Pull complete 02:50:57 4f4fb700ef54: Pull complete 02:50:57 8213a616a21b: Pull complete 02:50:57 985586143405: Pull complete 02:51:00 0eae2285b678: Pull complete 02:51:00 d3ac315be8c5: Pull complete 02:51:00 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 02:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:51:00 ---> ea6120ae94a0 02:51:00 Step 3/10 : ARG MAKE=make build 02:51:02 ---> Running in d1659082432f 02:51:02 Removing intermediate container d1659082432f 02:51:02 ---> 2a82210ba458 02:51:02 Step 4/10 : WORKDIR /device-sdk-go 02:51:02 ---> Running in c2d578e6574f 02:51:02 Removing intermediate container c2d578e6574f 02:51:02 ---> 29ffd21e853b 02:51:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:51:02 ---> Running in d26f6ce659d2 02:51:02 Removing intermediate container d26f6ce659d2 02:51:02 ---> 64636dab61d7 02:51:02 Step 6/10 : RUN apk add --update --no-cache make git 02:51:02 ---> Running in b029fe7844c3 02:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:51:03 OK: 248 MiB in 58 packages 02:51:04 Removing intermediate container b029fe7844c3 02:51:04 ---> 93f1d0c2292a 02:51:04 Step 7/10 : COPY go.mod vendor* ./ 02:51:04 ---> 011a8c282cc7 02:51:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:04 ---> Running in d3e29ee107e8 02:52:12 Removing intermediate container d3e29ee107e8 02:52:12 ---> 47a2f5740606 02:52:12 Step 9/10 : COPY . . 02:52:12 ---> 5d60cb2beee3 02:52:12 Step 10/10 : RUN ${MAKE} 02:52:12 ---> Running in 2ec73df77234 02:52:12 noop 02:52:12 Removing intermediate container 2ec73df77234 02:52:12 ---> 244e43d7b13a 02:52:12 Successfully built 244e43d7b13a 02:52:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + docker inspect -f . ci-base-image-x86_64 02:52:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:12 prd-ubuntu20.04-docker-8c-8g-3848 does not seem to be running inside a container 02:52:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1736 -v /w/workspace/gexfoundry_device-sdk-go_PR-1736:/w/workspace/gexfoundry_device-sdk-go_PR-1736:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:52:13 $ docker top ba96daf1694bc96186f32e3868cf953fdb551b03a9d8fd5a35758288e5fd2cf8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:13 + go version 02:52:13 go version go1.23.9 linux/amd64 [Pipeline] } 02:52:13 $ docker stop --time=1 ba96daf1694bc96186f32e3868cf953fdb551b03a9d8fd5a35758288e5fd2cf8 02:52:14 $ docker rm -f --volumes ba96daf1694bc96186f32e3868cf953fdb551b03a9d8fd5a35758288e5fd2cf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:15 + docker inspect -f . ci-base-image-x86_64 02:52:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:15 prd-ubuntu20.04-docker-8c-8g-3848 does not seem to be running inside a container 02:52:15 $ 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-1736 -v /w/workspace/gexfoundry_device-sdk-go_PR-1736:/w/workspace/gexfoundry_device-sdk-go_PR-1736:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:52:16 $ docker top 76628f8401a5b324856bb9d124569ac6406554070f90eb108b61c28359ee4247 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1736 [Pipeline] fileExists [Pipeline] sh 02:52:17 + make test 02:52:17 go test -race -coverprofile=coverage.out ./... 02:52:25 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 02:53:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/application 1.035s coverage: 2.8% of statements 02:53:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.028s coverage: 28.2% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 02:53:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.039s coverage: 79.3% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 02:53:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.025s coverage: 90.4% of statements 02:53:03 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 02:53:03 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 02:53:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.074s coverage: 45.0% of statements 02:53:04 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 02:53:10 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 7.043s coverage: 14.3% of statements 02:53:10 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.761s coverage: 44.6% of statements 02:53:10 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.049s coverage: 68.4% of statements 02:53:10 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.083s coverage: 88.4% of statements 02:53:10 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.050s coverage: 5.0% of statements 02:53:42 GO111MODULE=on go vet ./... 02:53:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:53:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:53:46 ./bin/test-attribution-txt.sh [Pipeline] echo 02:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:53:46 $ docker stop --time=1 76628f8401a5b324856bb9d124569ac6406554070f90eb108b61c28359ee4247 02:53:48 $ docker rm -f --volumes 76628f8401a5b324856bb9d124569ac6406554070f90eb108b61c28359ee4247 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:53:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:50 + ls -al . 02:53:50 total 608 02:53:50 drwxrwxr-x 11 jenkins jenkins 4096 Jun 24 02:52 . 02:53:50 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 02:50 .. 02:53:50 -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 02:50 .dockerignore 02:53:50 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 02:53 .git 02:53:50 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 02:50 .github 02:53:50 -rw-rw-r-- 1 jenkins jenkins 137 Jun 24 02:50 .gitignore 02:53:50 -rw-rw-r-- 1 jenkins jenkins 199 Jun 24 02:50 .golangci.yml 02:53:50 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 02:50 .semver 02:53:50 -rw-rw-r-- 1 jenkins jenkins 53715 Jun 24 02:50 CHANGELOG.md 02:53:50 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 02:50 GOVERNANCE.md 02:53:50 -rw-rw-r-- 1 jenkins jenkins 882 Jun 24 02:50 Jenkinsfile 02:53:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 02:50 LICENSE 02:53:50 -rw-rw-r-- 1 jenkins jenkins 2424 Jun 24 02:50 Makefile 02:53:50 -rw-rw-r-- 1 jenkins jenkins 619 Jun 24 02:50 OWNERS.md 02:53:50 -rw-rw-r-- 1 jenkins jenkins 4937 Jun 24 02:50 README.md 02:53:50 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 02:50 VERSION 02:53:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 02:50 bin 02:53:50 -rw-r--r-- 1 jenkins jenkins 362596 Jun 24 02:53 coverage.out 02:53:50 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 02:50 example 02:53:50 -rw-rw-r-- 1 jenkins jenkins 6110 Jun 24 02:50 go.mod 02:53:50 -rw-rw-r-- 1 jenkins jenkins 86200 Jun 24 02:50 go.sum 02:53:50 drwxrwxr-x 13 jenkins jenkins 4096 Jun 24 02:50 internal 02:53:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 02:50 openapi 02:53:50 drwxrwxr-x 6 jenkins jenkins 4096 Jun 24 02:50 pkg 02:53:50 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 02:50 snap 02:53:50 -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:51 + 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=dda2e715846eee17ba38f6dfa4d454e79a2aa717 --label arch=amd64 --label version=0.0.0 . 02:53:51 Sending build context to Docker daemon 36.5MB 02:53:51 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 02:53:51 Step 2/24 : FROM ${BASE} AS builder 02:53:51 ---> 244e43d7b13a 02:53:51 Step 3/24 : ARG MAKE=make build 02:53:51 ---> Running in ecc1faa4bcc1 02:53:51 Removing intermediate container ecc1faa4bcc1 02:53:51 ---> 62fe05064a59 02:53:51 Step 4/24 : WORKDIR /device-sdk-go 02:53:51 ---> Running in 6b074fec5920 02:53:51 Removing intermediate container 6b074fec5920 02:53:51 ---> 1c77f9744abf 02:53:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:53:51 ---> Running in 826dba8d55a1 02:53:51 Removing intermediate container 826dba8d55a1 02:53:51 ---> e86366801068 02:53:51 Step 6/24 : RUN apk add --update --no-cache make git 02:53:51 ---> Running in f91708a71449 02:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:53:52 OK: 248 MiB in 58 packages 02:53:53 Removing intermediate container f91708a71449 02:53:53 ---> 19511f086125 02:53:53 Step 7/24 : COPY go.mod vendor* ./ 02:53:53 ---> 587dcbe0a14d 02:53:53 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:53 ---> Running in 2dcfe1b834aa 02:53:54 Removing intermediate container 2dcfe1b834aa 02:53:54 ---> 83f1b34fd7c4 02:53:54 Step 9/24 : COPY . . 02:53:54 ---> 97ba9c605d63 02:53:54 Step 10/24 : RUN ${MAKE} 02:53:54 ---> Running in 4655ca57fe8c 02:53:55 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 02:54:27 Removing intermediate container 4655ca57fe8c 02:54:27 ---> 7723de8e1b3e 02:54:27 Step 11/24 : FROM alpine:3.20 02:54:27 3.20: Pulling from library/alpine 02:54:27 0a9a5dfd008f: Already exists 02:54:27 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:54:27 Status: Downloaded newer image for alpine:3.20 02:54:27 ---> ff221270b9fb 02:54:27 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:54:27 ---> Running in 9778abd08428 02:54:27 Removing intermediate container 9778abd08428 02:54:27 ---> f7e49e1568a0 02:54:27 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:54:27 ---> Running in 8ac9a56686e9 02:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:54:27 (1/1) Installing dumb-init (1.2.5-r3) 02:54:27 Executing busybox-1.36.1-r29.trigger 02:54:27 OK: 8 MiB in 15 packages 02:54:27 Removing intermediate container 8ac9a56686e9 02:54:27 ---> 3b22796441bd 02:54:27 Step 14/24 : RUN apk --no-cache upgrade 02:54:27 ---> Running in 1ee5fba92371 02:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:54:27 OK: 8 MiB in 15 packages 02:54:27 Removing intermediate container 1ee5fba92371 02:54:27 ---> f4fedcd2602b 02:54:27 Step 15/24 : WORKDIR / 02:54:27 ---> Running in ddd70933d47c 02:54:27 Removing intermediate container ddd70933d47c 02:54:27 ---> 6c347f80713a 02:54:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:54:27 ---> 1ee29375a812 02:54:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:54:27 ---> d4582317f591 02:54:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:54:27 ---> 6424299ae9c3 02:54:27 Step 19/24 : EXPOSE 59999 02:54:27 ---> Running in 67881e08751e 02:54:27 Removing intermediate container 67881e08751e 02:54:27 ---> c91db19d95ee 02:54:27 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:54:27 ---> Running in 26c074ec552d 02:54:27 Removing intermediate container 26c074ec552d 02:54:27 ---> 1ef5283cf5a7 02:54:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:54:27 ---> Running in ccdc4b46bc3a 02:54:27 Removing intermediate container ccdc4b46bc3a 02:54:27 ---> f9a21b8597a4 02:54:27 Step 22/24 : LABEL arch=amd64 02:54:27 ---> Running in bf16869d80da 02:54:28 Removing intermediate container bf16869d80da 02:54:28 ---> 133ca8852e93 02:54:28 Step 23/24 : LABEL git_sha=dda2e715846eee17ba38f6dfa4d454e79a2aa717 02:54:28 ---> Running in 685f0fd392ca 02:54:28 Removing intermediate container 685f0fd392ca 02:54:28 ---> af6d0277708d 02:54:28 Step 24/24 : LABEL version=0.0.0 02:54:28 ---> Running in 392bfd5f9354 02:54:28 Removing intermediate container 392bfd5f9354 02:54:28 ---> e604009ed32a 02:54:28 [Warning] One or more build-args [ARCH] were not consumed 02:54:28 Successfully built e604009ed32a 02:54:28 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 02:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:29 02:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:29 latest: Pulling from edgex-lftools-log-publisher 02:54:29 5eb5b503b376: Pulling fs layer 02:54:29 5c69ac0246d0: Pulling fs layer 02:54:29 ec43610c2a17: Pulling fs layer 02:54:29 3a2ae6a8a46f: Pulling fs layer 02:54:29 33b1e0a273af: Pulling fs layer 02:54:29 5d3b04190fa2: Pulling fs layer 02:54:29 2f39f015ded8: Pulling fs layer 02:54:29 3a2ae6a8a46f: Waiting 02:54:29 33b1e0a273af: Waiting 02:54:29 5d3b04190fa2: Waiting 02:54:29 2f39f015ded8: Waiting 02:54:29 5c69ac0246d0: Verifying Checksum 02:54:29 5c69ac0246d0: Download complete 02:54:29 3a2ae6a8a46f: Verifying Checksum 02:54:29 3a2ae6a8a46f: Download complete 02:54:29 33b1e0a273af: Verifying Checksum 02:54:29 33b1e0a273af: Download complete 02:54:29 5d3b04190fa2: Verifying Checksum 02:54:29 5d3b04190fa2: Download complete 02:54:29 ec43610c2a17: Verifying Checksum 02:54:29 ec43610c2a17: Download complete 02:54:29 5eb5b503b376: Verifying Checksum 02:54:29 5eb5b503b376: Download complete 02:54:30 2f39f015ded8: Download complete 02:54:31 5eb5b503b376: Pull complete 02:54:31 5c69ac0246d0: Pull complete 02:54:31 ec43610c2a17: Pull complete 02:54:31 3a2ae6a8a46f: Pull complete 02:54:31 33b1e0a273af: Pull complete 02:54:32 5d3b04190fa2: Pull complete 02:54:36 2f39f015ded8: Pull complete 02:54:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:36 prd-ubuntu20.04-docker-8c-8g-3848 does not seem to be running inside a container 02:54:36 $ 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-1736 -v /w/workspace/gexfoundry_device-sdk-go_PR-1736:/w/workspace/gexfoundry_device-sdk-go_PR-1736:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1736@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 02:54:38 $ docker top 688a972b9b8c5d342ece0f935f73325216e1bb7d55a3c23d5b56c1a78bf8ee3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:38 ---> job-cost.sh 02:54:38 lf-activate-venv: SKIPPING 02:54:38 INFO: No Stack... 02:54:38 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:39 INFO: Archiving Costs [Pipeline] sh 02:54:39 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives/cost.csv 02:54:39 + cut -d, -f6 [Pipeline] lock 02:54:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1736-1-stack-cost] 02:54:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1736-1-stack-cost] did not exist. Created. 02:54:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1736-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:39 + echo total: 0.2199999988079071 [Pipeline] stash 02:54:39 Stashed 1 file(s) [Pipeline] } 02:54:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1736-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:40 $ docker stop --time=1 688a972b9b8c5d342ece0f935f73325216e1bb7d55a3c23d5b56c1a78bf8ee3c 02:54:41 $ docker rm -f --volumes 688a972b9b8c5d342ece0f935f73325216e1bb7d55a3c23d5b56c1a78bf8ee3c [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 02:54:42 provisioning config files... 02:54:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/config13607045310617330521tmp [Pipeline] { [Pipeline] sh 02:54:42 + set +x 02:54:42 + + curl -s https://codecov.io/bash 02:54:42 bash -s -- 02:54:42 02:54:42 _____ _ 02:54:42 / ____| | | 02:54:42 | | ___ __| | ___ ___ _____ __ 02:54:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:42 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:42 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:42 Bash-1.0.6 02:54:42 02:54:42 02:54:42 ==> git version 2.25.1 found 02:54:42 ==> 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 02:54:42 Release-Date: 2020-01-08 02:54:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:54:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:54:42 ==> Jenkins CI detected. 02:54:42 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1736 02:54:42 project root: . 02:54:42 --> token set from env 02:54:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:42 ==> Running gcov in . (disable via -X gcov) 02:54:42 ==> Python coveragepy not found 02:54:42 ==> Searching for coverage reports in: 02:54:42 + . 02:54:42 -> Found 1 reports 02:54:42 ==> Detecting git/mercurial file structure 02:54:42 ==> Reading reports 02:54:42 + ./coverage.out bytes=362596 02:54:42 ==> Appending adjustments 02:54:42 https://docs.codecov.io/docs/fixing-reports 02:54:42 + Found adjustments 02:54:42 ==> Gzipping contents 02:54:42 36K /tmp/codecov.4ZUouY.gz 02:54:42 ==> Uploading reports 02:54:42 url: https://codecov.io 02:54:42 query: branch=PR-1736&commit=dda2e715846eee17ba38f6dfa4d454e79a2aa717&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1736%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1736&job=&cmd_args= 02:54:42 -> Pinging Codecov 02:54:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1736&commit=dda2e715846eee17ba38f6dfa4d454e79a2aa717&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1736%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1736&job=&cmd_args= 02:54:43 -> Uploading to 02:54:43 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/dda2e715846eee17ba38f6dfa4d454e79a2aa717/37e53216-3a2a-4ee9-a6e7-cba87db95a2c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250624%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250624T025442Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=00890a53825a64f36149e6a18e2796119430413b8f2e57552cd764d2b9bf0740 02:54:43 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:43 Dload Upload Total Spent Left Speed 02:54:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 35721 0 0 100 35721 0 121k --:--:-- --:--:-- --:--:-- 120k 100 35721 0 0 100 35721 0 121k --:--:-- --:--:-- --:--:-- 120k 02:54:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/dda2e715846eee17ba38f6dfa4d454e79a2aa717 [Pipeline] } 02:54:43 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 02:54:45 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives ] 02:54:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives 02:54:45 total 16 02:54:45 drwxr-xr-x 3 root root 4096 Jun 24 02:54 . 02:54:45 drwxrwxr-x 12 jenkins jenkins 4096 Jun 24 02:54 .. 02:54:45 drwxr-xr-x 2 root root 4096 Jun 24 02:54 cost 02:54:45 -rw-r--r-- 1 root root 86 Jun 24 02:54 cost.csv 02:54:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives 02:54:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives 02:54:45 total 16 02:54:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 02:54 . 02:54:45 drwxrwxr-x 12 jenkins jenkins 4096 Jun 24 02:54 .. 02:54:45 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 02:54 cost 02:54:45 -rw-r--r-- 1 jenkins jenkins 86 Jun 24 02:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:54:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:46 ---> package-listing.sh 02:54:46 ++ facter osfamily 02:54:46 ++ tr '[:upper:]' '[:lower:]' 02:54:47 + OS_FAMILY=debian 02:54:47 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1736 02:54:47 + START_PACKAGES=/tmp/packages_start.txt 02:54:47 + END_PACKAGES=/tmp/packages_end.txt 02:54:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:47 + PACKAGES=/tmp/packages_start.txt 02:54:47 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1736 ']' 02:54:47 + PACKAGES=/tmp/packages_end.txt 02:54:47 + case "${OS_FAMILY}" in 02:54:47 + dpkg -l 02:54:47 + grep '^ii' 02:54:47 + '[' -f /tmp/packages_start.txt ']' 02:54:47 + '[' -f /tmp/packages_end.txt ']' 02:54:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:47 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1736 ']' 02:54:47 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives/ 02:54:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1736/archives/ [Pipeline] echo 02:54:47 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-1736/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:54:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:48 prd-ubuntu20.04-docker-8c-8g-3848 does not seem to be running inside a container 02:54:48 $ 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-1736/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-1736 -v /w/workspace/gexfoundry_device-sdk-go_PR-1736:/w/workspace/gexfoundry_device-sdk-go_PR-1736:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:54:48 $ docker top 961ac4659dc6eda4f3412af941a8f861693c7c3bdf0bb647aed564c191c34549 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:49 + mkdir -p /var/log/sysstat [Pipeline] sh 02:54:49 + ls /var/log/sa-host 02:54:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:49 provisioning config files... 02:54:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1736@tmp/config11097740849269203887tmp [Pipeline] { [Pipeline] echo 02:54:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:50 ---> create-netrc.sh [Pipeline] } 02:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:54:50 ---> python-tools-install.sh [Pipeline] echo 02:54:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:51 ---> sudo-logs.sh 02:54:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:54:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:51 ---> job-cost.sh 02:54:51 lf-activate-venv: SKIPPING 02:54:51 DEBUG: total: 0.2199999988079071 02:54:51 INFO: Retrieving Stack Cost... 02:54:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:51 INFO: Archiving Costs [Pipeline] echo 02:54:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:52 ---> logs-deploy.sh 02:54:52 lf-activate-venv: SKIPPING 02:54:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1736/1 02:54:52 INFO: archiving workspace using pattern(s): 02:54:53 Archives upload complete. 02:54:53 INFO: archiving logs to Nexus 02:54:54 ---> uname -a: 02:54:54 Linux prd-ubuntu20-04-docker-8c-8g-3848 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:54:54 02:54:54 02:54:54 ---> lscpu: 02:54:54 Architecture: x86_64 02:54:54 CPU op-mode(s): 32-bit, 64-bit 02:54:54 Byte Order: Little Endian 02:54:54 Address sizes: 40 bits physical, 48 bits virtual 02:54:54 CPU(s): 8 02:54:54 On-line CPU(s) list: 0-7 02:54:54 Thread(s) per core: 1 02:54:54 Core(s) per socket: 1 02:54:54 Socket(s): 8 02:54:54 NUMA node(s): 1 02:54:54 Vendor ID: AuthenticAMD 02:54:54 CPU family: 23 02:54:54 Model: 49 02:54:54 Model name: AMD EPYC-Rome Processor 02:54:54 Stepping: 0 02:54:54 CPU MHz: 2800.000 02:54:54 BogoMIPS: 5600.00 02:54:54 Virtualization: AMD-V 02:54:54 Hypervisor vendor: KVM 02:54:54 Virtualization type: full 02:54:54 L1d cache: 256 KiB 02:54:54 L1i cache: 256 KiB 02:54:54 L2 cache: 4 MiB 02:54:54 L3 cache: 128 MiB 02:54:54 NUMA node0 CPU(s): 0-7 02:54:54 Vulnerability Itlb multihit: Not affected 02:54:54 Vulnerability L1tf: Not affected 02:54:54 Vulnerability Mds: Not affected 02:54:54 Vulnerability Meltdown: Not affected 02:54:54 Vulnerability Mmio stale data: Not affected 02:54:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:54:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:54:54 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:54:54 Vulnerability Srbds: Not affected 02:54:54 Vulnerability Tsx async abort: Not affected 02:54:54 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 02:54:54 02:54:54 02:54:54 ---> nproc: 02:54:54 8 02:54:54 02:54:54 02:54:54 ---> df -h: 02:54:54 Filesystem Size Used Avail Use% Mounted on 02:54:54 overlay 155G 13G 143G 8% / 02:54:54 tmpfs 64M 0 64M 0% /dev 02:54:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:54:54 shm 64M 0 64M 0% /dev/shm 02:54:54 /dev/vda1 155G 13G 143G 8% /facter-os 02:54:54 02:54:54