Pull request #1735 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 FelixTing for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8431192baf2a01789b2e16b0faa4d54313e526ac+0e0babda87d0ab43f1cfa87f52ec5d7d3a2026fa (ff4c6f953b82207731abb4887b28aaa4b077f599) 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-ssh10208982051078243059.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-ssh502669932431086710.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-1735/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-1735/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2902799062846231771.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-1735/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12269442887304700287.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-ssh10443820102617743070.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-1735/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-1735/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18215077526898006007.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3777 in /w/workspace/gexfoundry_device-sdk-go_PR-1735 [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-1735 # 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 0e0babda87d0ab43f1cfa87f52ec5d7d3a2026fa into PR head commit 8431192baf2a01789b2e16b0faa4d54313e526ac Merge succeeded, producing 8431192baf2a01789b2e16b0faa4d54313e526ac Checking out Revision 8431192baf2a01789b2e16b0faa4d54313e526ac (PR-1735) > 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/1735/head:refs/remotes/origin/PR-1735 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8431192baf2a01789b2e16b0faa4d54313e526ac # 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 0e0babda87d0ab43f1cfa87f52ec5d7d3a2026fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8431192baf2a01789b2e16b0faa4d54313e526ac # timeout=10 Commit message: "fix: update expected device count in unit test" 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 08:32:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:32:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:32:40 ========================================================= 08:32:40 EdgeX Global Pipelines Version Info 08:32:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:32:41 ------------------- 08:32:41 stable info: 08:32:41 ------------------- 08:32:41 Commited By: Ginny Guan ginny@iotechsys.com 08:32:41 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 08:32:41 Message: update stable to v1.0.274 08:32:42 ------------------- 08:32:42 experimental info: 08:32:42 ------------------- 08:32:42 Commited By: **** collab-it+edgex@linuxfoundation.org 08:32:42 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 08:32:42 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:32:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1735 [Pipeline] echo 08:32:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1735 [Pipeline] echo 08:32:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1735 [Pipeline] echo 08:32:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8431192baf2a01789b2e16b0faa4d54313e526ac [Pipeline] echo 08:32:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8431192 [Pipeline] echo 08:32:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:44 provisioning config files... 08:32:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/config2126817366236436297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:44 ---> ****-login.sh 08:32:44 nexus3.edgexfoundry.org:10001 08:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:45 Configure a credential helper to remove this warning. See 08:32:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:45 08:32:45 Login Succeeded 08:32:45 nexus3.edgexfoundry.org:10002 08:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:45 Configure a credential helper to remove this warning. See 08:32:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:45 08:32:45 Login Succeeded 08:32:45 nexus3.edgexfoundry.org:10003 08:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:45 Configure a credential helper to remove this warning. See 08:32:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:45 08:32:45 Login Succeeded 08:32:45 nexus3.edgexfoundry.org:10004 08:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:45 Configure a credential helper to remove this warning. See 08:32:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:45 08:32:45 Login Succeeded 08:32:45 ****.io 08:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:45 Configure a credential helper to remove this warning. See 08:32:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:45 08:32:45 Login Succeeded 08:32:45 ---> ****-login.sh ends [Pipeline] } 08:32:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:32:46 + git rev-list -1 --merges 8431192baf2a01789b2e16b0faa4d54313e526ac~1..8431192baf2a01789b2e16b0faa4d54313e526ac [Pipeline] echo 08:32:46 -----------> git rev-list -1 --merges 8431192baf2a01789b2e16b0faa4d54313e526ac~1..8431192baf2a01789b2e16b0faa4d54313e526ac 8431192baf2a01789b2e16b0faa4d54313e526ac [false] [Pipeline] sh 08:32:46 + git log --format=format:%s -1 8431192baf2a01789b2e16b0faa4d54313e526ac [Pipeline] echo 08:32:46 ========================================================= 08:32:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:32:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:32:47 + git log --format=format:%s -1 8431192baf2a01789b2e16b0faa4d54313e526ac [Pipeline] echo 08:32:47 [semverPrep] GIT_COMMIT: 8431192baf2a01789b2e16b0faa4d54313e526ac, Commit Message: fix: update expected device count in unit test [Pipeline] echo 08:32:47 [semverPrep] This is not a build commit. [Pipeline] sh 08:32:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:32:47 + grep -v github /etc/ssh/ssh_known_hosts 08:32:47 + [ -e /tmp/ssh_known_hosts ] 08:32:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:32:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:32:47 + sudo tee -a /etc/ssh/ssh_known_hosts 08:32:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:48 08:32:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:48 0.1.4: Pulling from edgex-devops/py-git-semver 08:32:48 3dae71ba6b94: Pulling fs layer 08:32:48 6bf1a483ea7c: Pulling fs layer 08:32:48 f5dfc541a4d3: Pulling fs layer 08:32:48 461d9e800cba: Pulling fs layer 08:32:48 80192f66455f: Pulling fs layer 08:32:48 2e8e34ca0e6c: Pulling fs layer 08:32:48 a29436f7fd5d: Pulling fs layer 08:32:48 923cac83aea3: Pulling fs layer 08:32:48 25ad8b0a4227: Pulling fs layer 08:32:48 db01528c6b51: Pulling fs layer 08:32:48 28988de357af: Pulling fs layer 08:32:48 80192f66455f: Waiting 08:32:48 461d9e800cba: Waiting 08:32:48 2e8e34ca0e6c: Waiting 08:32:48 923cac83aea3: Waiting 08:32:48 28988de357af: Waiting 08:32:48 db01528c6b51: Waiting 08:32:48 a29436f7fd5d: Waiting 08:32:48 6bf1a483ea7c: Verifying Checksum 08:32:48 6bf1a483ea7c: Download complete 08:32:48 461d9e800cba: Download complete 08:32:48 80192f66455f: Download complete 08:32:48 f5dfc541a4d3: Verifying Checksum 08:32:48 f5dfc541a4d3: Download complete 08:32:48 3dae71ba6b94: Verifying Checksum 08:32:48 3dae71ba6b94: Download complete 08:32:48 923cac83aea3: Verifying Checksum 08:32:48 923cac83aea3: Download complete 08:32:48 25ad8b0a4227: Verifying Checksum 08:32:48 25ad8b0a4227: Download complete 08:32:48 db01528c6b51: Download complete 08:32:48 28988de357af: Verifying Checksum 08:32:48 28988de357af: Download complete 08:32:48 a29436f7fd5d: Verifying Checksum 08:32:48 a29436f7fd5d: Download complete 08:32:49 2e8e34ca0e6c: Verifying Checksum 08:32:49 2e8e34ca0e6c: Download complete 08:32:49 3dae71ba6b94: Pull complete 08:32:50 6bf1a483ea7c: Pull complete 08:32:50 f5dfc541a4d3: Pull complete 08:32:50 461d9e800cba: Pull complete 08:32:50 80192f66455f: Pull complete 08:32:54 2e8e34ca0e6c: Pull complete 08:32:54 a29436f7fd5d: Pull complete 08:32:54 923cac83aea3: Pull complete 08:32:54 25ad8b0a4227: Pull complete 08:32:54 db01528c6b51: Pull complete 08:32:55 28988de357af: Pull complete 08:32:55 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 08:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:55 prd-ubuntu20.04-docker-8c-8g-3777 does not seem to be running inside a container 08:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1735 -v /w/workspace/gexfoundry_device-sdk-go_PR-1735:/w/workspace/gexfoundry_device-sdk-go_PR-1735:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:32:57 $ docker top e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e -eo pid,comm 08:32:57 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). 08:32:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:57 [ssh-agent] Looking for ssh-agent implementation... 08:32:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:57 $ docker exec e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e ssh-agent 08:32:57 SSH_AUTH_SOCK=/tmp/ssh-giaiildFh5ly/agent.33 08:32:57 SSH_AGENT_PID=39 08:32:57 Running ssh-add (command line suppressed) 08:32:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/private_key_2564940030770432819.key (/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/private_key_2564940030770432819.key) 08:32:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:58 + git tag --points-at HEAD [Pipeline] } 08:32:58 $ docker exec --env ******** --env ******** e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e ssh-agent -k 08:32:58 unset SSH_AUTH_SOCK; 08:32:58 unset SSH_AGENT_PID; 08:32:58 echo Agent pid 39 killed; 08:32:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:32:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:58 [ssh-agent] Looking for ssh-agent implementation... 08:32:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:58 $ docker exec e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e ssh-agent 08:32:58 SSH_AUTH_SOCK=/tmp/ssh-NRXpQnSsIFCr/agent.72 08:32:58 SSH_AGENT_PID=78 08:32:58 Running ssh-add (command line suppressed) 08:32:59 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/private_key_11698467376508107814.key (/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/private_key_11698467376508107814.key) 08:32:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:59 + git semver init 08:32:59 2025-06-23 08:32:59,600 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 08:32:59 2025-06-23 08:32:59,604 [run_init] DEBUG init version:0.0.0 force:False 08:32:59 2025-06-23 08:32:59,604 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver 08:32:59 2025-06-23 08:32:59,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver 08:32:59 2025-06-23 08:32:59,605 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1735, stdin=None, shell=False, universal_newlines=False) 08:33:01 2025-06-23 08:33:00,982 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1735/.git/info/exclude 08:33:01 2025-06-23 08:33:00,983 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver/PR-1735 with force:False 08:33:01 2025-06-23 08:33:00,983 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver/PR-1735 08:33:01 2025-06-23 08:33:00,987 [execute] INFO git cat-file --batch-check 08:33:01 2025-06-23 08:33:00,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver, stdin=, shell=False, universal_newlines=False) 08:33:01 2025-06-23 08:33:00,991 [execute] INFO git cat-file --batch 08:33:01 2025-06-23 08:33:00,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver, stdin=, shell=False, universal_newlines=False) 08:33:01 2025-06-23 08:33:00,994 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1735/.semver/PR-1735 08:33:01 0.0.0 [Pipeline] } 08:33:01 $ docker exec --env ******** --env ******** e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e ssh-agent -k 08:33:01 unset SSH_AUTH_SOCK; 08:33:01 unset SSH_AGENT_PID; 08:33:01 echo Agent pid 78 killed; 08:33:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:01 + git semver [Pipeline] } 08:33:01 $ docker stop --time=1 e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e 08:33:03 $ docker rm -f --volumes e6d2ff72f89211b090ada3ca301e20b52aeb9fe50fed1f31a3608517988d919e [Pipeline] // withDockerContainer [Pipeline] sh 08:33:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:33:03 Stashed 1 file(s) [Pipeline] echo 08:33:03 [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 08:33:04 provisioning config files... 08:33:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/config2499154952935451398tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 08:33:05 ---> ****-login.sh 08:33:05 nexus3.edgexfoundry.org:10001 08:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:05 Configure a credential helper to remove this warning. See 08:33:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:05 08:33:05 Login Succeeded 08:33:05 nexus3.edgexfoundry.org:10002 08:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:05 Configure a credential helper to remove this warning. See 08:33:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:05 08:33:05 Login Succeeded 08:33:05 nexus3.edgexfoundry.org:10003 08:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:05 Configure a credential helper to remove this warning. See 08:33:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:05 08:33:05 Login Succeeded 08:33:05 nexus3.edgexfoundry.org:10004 08:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:05 Configure a credential helper to remove this warning. See 08:33:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:05 08:33:05 Login Succeeded 08:33:05 ****.io 08:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:05 Configure a credential helper to remove this warning. See 08:33:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:05 08:33:05 Login Succeeded 08:33:05 ---> ****-login.sh ends [Pipeline] } 08:33:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:33:06 ========================================================= 08:33:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:33:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:06 + 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 . 08:33:06 Sending build context to Docker daemon 36.04MB 08:33:06 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:33:06 Step 2/10 : FROM ${BASE} AS builder 08:33:07 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:33:07 0a9a5dfd008f: Pulling fs layer 08:33:07 36466aa92d05: Pulling fs layer 08:33:07 e10405b45d13: Pulling fs layer 08:33:07 096b7ceb2af7: Pulling fs layer 08:33:07 4f4fb700ef54: Pulling fs layer 08:33:07 8213a616a21b: Pulling fs layer 08:33:07 985586143405: Pulling fs layer 08:33:07 0eae2285b678: Pulling fs layer 08:33:07 d3ac315be8c5: Pulling fs layer 08:33:07 096b7ceb2af7: Waiting 08:33:07 4f4fb700ef54: Waiting 08:33:07 8213a616a21b: Waiting 08:33:07 985586143405: Waiting 08:33:07 0eae2285b678: Waiting 08:33:07 d3ac315be8c5: Waiting 08:33:07 36466aa92d05: Verifying Checksum 08:33:07 36466aa92d05: Download complete 08:33:07 096b7ceb2af7: Verifying Checksum 08:33:07 096b7ceb2af7: Download complete 08:33:07 4f4fb700ef54: Verifying Checksum 08:33:07 4f4fb700ef54: Download complete 08:33:07 8213a616a21b: Verifying Checksum 08:33:07 8213a616a21b: Download complete 08:33:07 0a9a5dfd008f: Verifying Checksum 08:33:07 0a9a5dfd008f: Download complete 08:33:07 985586143405: Verifying Checksum 08:33:07 985586143405: Download complete 08:33:07 0a9a5dfd008f: Pull complete 08:33:07 d3ac315be8c5: Verifying Checksum 08:33:07 d3ac315be8c5: Download complete 08:33:07 36466aa92d05: Pull complete 08:33:07 e10405b45d13: Download complete 08:33:07 0eae2285b678: Verifying Checksum 08:33:07 0eae2285b678: Download complete 08:33:11 e10405b45d13: Pull complete 08:33:11 096b7ceb2af7: Pull complete 08:33:11 4f4fb700ef54: Pull complete 08:33:11 8213a616a21b: Pull complete 08:33:11 985586143405: Pull complete 08:33:13 0eae2285b678: Pull complete 08:33:14 d3ac315be8c5: Pull complete 08:33:14 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 08:33:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:33:14 ---> ea6120ae94a0 08:33:14 Step 3/10 : ARG MAKE=make build 08:33:16 ---> Running in c7ce4f4d17de 08:33:16 Removing intermediate container c7ce4f4d17de 08:33:16 ---> d12670856ed1 08:33:16 Step 4/10 : WORKDIR /device-sdk-go 08:33:16 ---> Running in c04c17c477af 08:33:16 Removing intermediate container c04c17c477af 08:33:16 ---> dc875ce645e7 08:33:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:33:16 ---> Running in 5b23e027f447 08:33:16 Removing intermediate container 5b23e027f447 08:33:16 ---> 239949727be6 08:33:16 Step 6/10 : RUN apk add --update --no-cache make git 08:33:16 ---> Running in 1e36a0dfaf82 08:33:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:33:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:33:17 OK: 248 MiB in 58 packages 08:33:17 Removing intermediate container 1e36a0dfaf82 08:33:17 ---> d2dccc3d2a6e 08:33:17 Step 7/10 : COPY go.mod vendor* ./ 08:33:17 ---> 93873304353c 08:33:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:33:17 ---> Running in 98616217691e 08:34:25 Removing intermediate container 98616217691e 08:34:25 ---> 0d26e13a79dd 08:34:25 Step 9/10 : COPY . . 08:34:25 ---> e4fb392ba3cd 08:34:25 Step 10/10 : RUN ${MAKE} 08:34:25 ---> Running in 7a981805f636 08:34:25 noop 08:34:25 Removing intermediate container 7a981805f636 08:34:25 ---> 0d595a442a19 08:34:25 Successfully built 0d595a442a19 08:34:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:25 + docker inspect -f . ci-base-image-x86_64 08:34:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:26 prd-ubuntu20.04-docker-8c-8g-3777 does not seem to be running inside a container 08:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1735 -v /w/workspace/gexfoundry_device-sdk-go_PR-1735:/w/workspace/gexfoundry_device-sdk-go_PR-1735:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1735@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 ******** ci-base-image-x86_64 cat 08:34:26 $ docker top eb02e0583bcd0b223523d58ef2195fb27b1a0ed12ef06cd9392b772db0adce77 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:26 + go version 08:34:26 go version go1.23.9 linux/amd64 [Pipeline] } 08:34:26 $ docker stop --time=1 eb02e0583bcd0b223523d58ef2195fb27b1a0ed12ef06cd9392b772db0adce77 08:34:28 $ docker rm -f --volumes eb02e0583bcd0b223523d58ef2195fb27b1a0ed12ef06cd9392b772db0adce77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:28 + docker inspect -f . ci-base-image-x86_64 08:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:29 prd-ubuntu20.04-docker-8c-8g-3777 does not seem to be running inside a container 08:34:29 $ 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-1735 -v /w/workspace/gexfoundry_device-sdk-go_PR-1735:/w/workspace/gexfoundry_device-sdk-go_PR-1735:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1735@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 ******** ci-base-image-x86_64 cat 08:34:29 $ docker top 6988c5c5f156112d9420457c79aafd595f6a521a7c7d44888a07661541046032 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1735 [Pipeline] fileExists [Pipeline] sh 08:34:30 + make test 08:34:30 go test -race -coverprofile=coverage.out ./... 08:34:38 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 08:35:17 ok github.com/edgexfoundry/device-sdk-go/v4/internal/application 1.037s coverage: 2.8% of statements 08:35:17 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.028s coverage: 28.2% of statements 08:35:17 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.032s coverage: 79.3% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 08:35:17 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.030s coverage: 90.4% of statements 08:35:17 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 08:35:17 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 08:35:19 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.081s coverage: 45.0% of statements 08:35:19 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 08:35:24 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 7.043s coverage: 14.3% of statements 08:35:24 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.527s coverage: 44.6% of statements 08:35:24 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.060s coverage: 68.4% of statements 08:35:24 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.082s coverage: 88.4% of statements 08:35:24 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.055s coverage: 5.0% of statements 08:36:03 GO111MODULE=on go vet ./... 08:36:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:36:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:36:04 ./bin/test-attribution-txt.sh 08:36:04 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 08:36:04 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 08:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 08:36:04 $ docker stop --time=1 6988c5c5f156112d9420457c79aafd595f6a521a7c7d44888a07661541046032 08:36:06 $ docker rm -f --volumes 6988c5c5f156112d9420457c79aafd595f6a521a7c7d44888a07661541046032 [Pipeline] // withDockerContainer [Pipeline] sh 08:36:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:36:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:36:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:36:08 + ls -al . 08:36:08 total 608 08:36:08 drwxrwxr-x 11 jenkins jenkins 4096 Jun 23 08:34 . 08:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 08:32 .. 08:36:08 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 08:32 .dockerignore 08:36:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 08:35 .git 08:36:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 08:32 .github 08:36:08 -rw-rw-r-- 1 jenkins jenkins 137 Jun 23 08:32 .gitignore 08:36:08 -rw-rw-r-- 1 jenkins jenkins 199 Jun 23 08:32 .golangci.yml 08:36:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 08:33 .semver 08:36:08 -rw-rw-r-- 1 jenkins jenkins 53715 Jun 23 08:32 CHANGELOG.md 08:36:08 -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 08:32 GOVERNANCE.md 08:36:08 -rw-rw-r-- 1 jenkins jenkins 882 Jun 23 08:32 Jenkinsfile 08:36:08 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 23 08:32 LICENSE 08:36:08 -rw-rw-r-- 1 jenkins jenkins 2424 Jun 23 08:32 Makefile 08:36:08 -rw-rw-r-- 1 jenkins jenkins 619 Jun 23 08:32 OWNERS.md 08:36:08 -rw-rw-r-- 1 jenkins jenkins 4937 Jun 23 08:32 README.md 08:36:08 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 08:33 VERSION 08:36:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 08:32 bin 08:36:08 -rw-r--r-- 1 jenkins jenkins 362407 Jun 23 08:35 coverage.out 08:36:08 drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 08:32 example 08:36:08 -rw-rw-r-- 1 jenkins jenkins 6110 Jun 23 08:32 go.mod 08:36:08 -rw-rw-r-- 1 jenkins jenkins 86200 Jun 23 08:32 go.sum 08:36:08 drwxrwxr-x 13 jenkins jenkins 4096 Jun 23 08:32 internal 08:36:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 08:32 openapi 08:36:08 drwxrwxr-x 6 jenkins jenkins 4096 Jun 23 08:32 pkg 08:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 08:32 snap 08:36:08 -rw-rw-r-- 1 jenkins jenkins 222 Jun 23 08:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:09 + 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=8431192baf2a01789b2e16b0faa4d54313e526ac --label arch=amd64 --label version=0.0.0 . 08:36:09 Sending build context to Docker daemon 36.41MB 08:36:09 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:36:09 Step 2/24 : FROM ${BASE} AS builder 08:36:09 ---> 0d595a442a19 08:36:09 Step 3/24 : ARG MAKE=make build 08:36:09 ---> Running in e49731cd7f6c 08:36:09 Removing intermediate container e49731cd7f6c 08:36:09 ---> 30e457c2b173 08:36:09 Step 4/24 : WORKDIR /device-sdk-go 08:36:09 ---> Running in aa798965bd90 08:36:09 Removing intermediate container aa798965bd90 08:36:09 ---> 2deb115defd8 08:36:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:09 ---> Running in 7dbe8e4c5c95 08:36:09 Removing intermediate container 7dbe8e4c5c95 08:36:09 ---> 8fc0f9eed7ba 08:36:09 Step 6/24 : RUN apk add --update --no-cache make git 08:36:09 ---> Running in 11d08f9ffa22 08:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:36:10 OK: 248 MiB in 58 packages 08:36:10 Removing intermediate container 11d08f9ffa22 08:36:10 ---> efbb37c0872a 08:36:10 Step 7/24 : COPY go.mod vendor* ./ 08:36:10 ---> 824758745f50 08:36:10 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:10 ---> Running in e76de6a44b4a 08:36:11 Removing intermediate container e76de6a44b4a 08:36:11 ---> f9c9958b61ba 08:36:11 Step 9/24 : COPY . . 08:36:12 ---> 0c8c5c211d1e 08:36:12 Step 10/24 : RUN ${MAKE} 08:36:12 ---> Running in 45994c818251 08:36:12 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 08:36:44 Removing intermediate container 45994c818251 08:36:44 ---> 3d6e492c14be 08:36:44 Step 11/24 : FROM alpine:3.20 08:36:44 3.20: Pulling from library/alpine 08:36:44 0a9a5dfd008f: Already exists 08:36:44 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:36:44 Status: Downloaded newer image for alpine:3.20 08:36:44 ---> ff221270b9fb 08:36:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:36:44 ---> Running in 710760caaa7d 08:36:44 Removing intermediate container 710760caaa7d 08:36:44 ---> ff700fcd5395 08:36:44 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:36:44 ---> Running in 96847e34d334 08:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:36:44 (1/1) Installing dumb-init (1.2.5-r3) 08:36:44 Executing busybox-1.36.1-r29.trigger 08:36:44 OK: 8 MiB in 15 packages 08:36:44 Removing intermediate container 96847e34d334 08:36:44 ---> 1e137bd8c4d2 08:36:44 Step 14/24 : RUN apk --no-cache upgrade 08:36:44 ---> Running in 83db5847671a 08:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:36:44 OK: 8 MiB in 15 packages 08:36:44 Removing intermediate container 83db5847671a 08:36:44 ---> 36616aad845a 08:36:44 Step 15/24 : WORKDIR / 08:36:44 ---> Running in b33cb2925699 08:36:45 Removing intermediate container b33cb2925699 08:36:45 ---> d456b424ece6 08:36:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:36:45 ---> 70db2509c2cc 08:36:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:36:45 ---> 09bfbdd96763 08:36:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:36:45 ---> c51a8256afc4 08:36:45 Step 19/24 : EXPOSE 59999 08:36:46 ---> Running in cf469a8da52d 08:36:46 Removing intermediate container cf469a8da52d 08:36:46 ---> a066446f97f7 08:36:46 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:36:46 ---> Running in 09c40381a14d 08:36:46 Removing intermediate container 09c40381a14d 08:36:46 ---> 7efa5a782195 08:36:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:36:46 ---> Running in 5c8f12215d21 08:36:46 Removing intermediate container 5c8f12215d21 08:36:46 ---> fbe164df7004 08:36:46 Step 22/24 : LABEL arch=amd64 08:36:46 ---> Running in 628ade6a512f 08:36:46 Removing intermediate container 628ade6a512f 08:36:46 ---> 7ac798dbe479 08:36:46 Step 23/24 : LABEL git_sha=8431192baf2a01789b2e16b0faa4d54313e526ac 08:36:46 ---> Running in 1d0cfd6dbd86 08:36:46 Removing intermediate container 1d0cfd6dbd86 08:36:46 ---> 60c654ffcf3e 08:36:46 Step 24/24 : LABEL version=0.0.0 08:36:46 ---> Running in 0745ec506296 08:36:46 Removing intermediate container 0745ec506296 08:36:46 ---> 97cf8a1a698c 08:36:46 [Warning] One or more build-args [ARCH] were not consumed 08:36:46 Successfully built 97cf8a1a698c 08:36:46 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] 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 08:36:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:47 08:36:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:48 latest: Pulling from edgex-lftools-log-publisher 08:36:48 5eb5b503b376: Pulling fs layer 08:36:48 5c69ac0246d0: Pulling fs layer 08:36:48 ec43610c2a17: Pulling fs layer 08:36:48 3a2ae6a8a46f: Pulling fs layer 08:36:48 33b1e0a273af: Pulling fs layer 08:36:48 5d3b04190fa2: Pulling fs layer 08:36:48 2f39f015ded8: Pulling fs layer 08:36:48 3a2ae6a8a46f: Waiting 08:36:48 33b1e0a273af: Waiting 08:36:48 5d3b04190fa2: Waiting 08:36:48 2f39f015ded8: Waiting 08:36:48 5c69ac0246d0: Download complete 08:36:48 3a2ae6a8a46f: Verifying Checksum 08:36:48 3a2ae6a8a46f: Download complete 08:36:48 33b1e0a273af: Verifying Checksum 08:36:48 33b1e0a273af: Download complete 08:36:48 ec43610c2a17: Verifying Checksum 08:36:48 ec43610c2a17: Download complete 08:36:48 5eb5b503b376: Verifying Checksum 08:36:48 5eb5b503b376: Download complete 08:36:48 2f39f015ded8: Download complete 08:36:49 5eb5b503b376: Pull complete 08:36:49 5c69ac0246d0: Pull complete 08:36:49 ec43610c2a17: Pull complete 08:36:50 3a2ae6a8a46f: Pull complete 08:36:50 33b1e0a273af: Pull complete 08:36:50 5d3b04190fa2: Pull complete 08:36:54 2f39f015ded8: Pull complete 08:36:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:36:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:54 prd-ubuntu20.04-docker-8c-8g-3777 does not seem to be running inside a container 08:36:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1735 -v /w/workspace/gexfoundry_device-sdk-go_PR-1735:/w/workspace/gexfoundry_device-sdk-go_PR-1735:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1735@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 08:36:56 $ docker top 5bbb950091cee9f4162691125555828801936812583af9aa8eeace6aa5049789 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:56 ---> job-cost.sh 08:36:56 lf-activate-venv: SKIPPING 08:36:56 INFO: No Stack... 08:36:57 INFO: Retrieving Pricing Info for: v3-standard-8 08:36:57 INFO: Archiving Costs [Pipeline] sh 08:36:57 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives/cost.csv 08:36:57 + cut -d, -f6 [Pipeline] lock 08:36:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1735-1-stack-cost] 08:36:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1735-1-stack-cost] did not exist. Created. 08:36:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1735-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:36:58 + echo total: 0.2199999988079071 [Pipeline] stash 08:36:58 Stashed 1 file(s) [Pipeline] } 08:36:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1735-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:36:58 $ docker stop --time=1 5bbb950091cee9f4162691125555828801936812583af9aa8eeace6aa5049789 08:36:59 $ docker rm -f --volumes 5bbb950091cee9f4162691125555828801936812583af9aa8eeace6aa5049789 [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 08:37:00 provisioning config files... 08:37:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/config12514666675844145954tmp [Pipeline] { [Pipeline] sh 08:37:00 + set +x 08:37:00 + curl -s https://codecov.io/bash 08:37:00 + bash -s -- 08:37:00 08:37:00 _____ _ 08:37:00 / ____| | | 08:37:00 | | ___ __| | ___ ___ _____ __ 08:37:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:37:00 | |___| (_) | (_| | __/ (_| (_) \ V / 08:37:00 \_____\___/ \__,_|\___|\___\___/ \_/ 08:37:00 Bash-1.0.6 08:37:00 08:37:00 08:37:00 ==> git version 2.25.1 found 08:37:00 ==> 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 08:37:00 Release-Date: 2020-01-08 08:37:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:37:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:37:00 ==> Jenkins CI detected. 08:37:00 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1735 08:37:00 project root: . 08:37:00 --> token set from env 08:37:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:37:00 ==> Running gcov in . (disable via -X gcov) 08:37:00 ==> Python coveragepy not found 08:37:00 ==> Searching for coverage reports in: 08:37:00 + . 08:37:00 -> Found 1 reports 08:37:00 ==> Detecting git/mercurial file structure 08:37:00 ==> Reading reports 08:37:00 + ./coverage.out bytes=362407 08:37:00 ==> Appending adjustments 08:37:00 https://docs.codecov.io/docs/fixing-reports 08:37:01 + Found adjustments 08:37:01 ==> Gzipping contents 08:37:01 36K /tmp/codecov.1fhqJ4.gz 08:37:01 ==> Uploading reports 08:37:01 url: https://codecov.io 08:37:01 query: branch=PR-1735&commit=8431192baf2a01789b2e16b0faa4d54313e526ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1735%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1735&job=&cmd_args= 08:37:01 -> Pinging Codecov 08:37:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1735&commit=8431192baf2a01789b2e16b0faa4d54313e526ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1735%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1735&job=&cmd_args= 08:37:01 -> Uploading to 08:37:01 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-sdk-go/8431192baf2a01789b2e16b0faa4d54313e526ac/1d2be143-547d-4b79-9461-819f815f778e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250623%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250623T083701Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=38e71bf2b08aff7abba693d42ca266914f1c77ba988a4758d018cce9f79292c5 08:37:01 % Total % Received % Xferd Average Speed Time Time Time Current 08:37:01 Dload Upload Total Spent Left Speed 08:37:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 35800 0 0 100 35800 0 116k --:--:-- --:--:-- --:--:-- 116k 08:37:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8431192baf2a01789b2e16b0faa4d54313e526ac [Pipeline] } 08:37:01 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 08:37:03 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives ] 08:37:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives 08:37:03 total 16 08:37:03 drwxr-xr-x 3 root root 4096 Jun 23 08:36 . 08:37:03 drwxrwxr-x 12 jenkins jenkins 4096 Jun 23 08:36 .. 08:37:03 drwxr-xr-x 2 root root 4096 Jun 23 08:36 cost 08:37:03 -rw-r--r-- 1 root root 86 Jun 23 08:36 cost.csv 08:37:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives 08:37:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives 08:37:03 total 16 08:37:03 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 08:36 . 08:37:03 drwxrwxr-x 12 jenkins jenkins 4096 Jun 23 08:36 .. 08:37:03 drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 08:36 cost 08:37:03 -rw-r--r-- 1 jenkins jenkins 86 Jun 23 08:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:37:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:37:05 ---> package-listing.sh 08:37:05 ++ facter osfamily 08:37:05 ++ tr '[:upper:]' '[:lower:]' 08:37:05 + OS_FAMILY=debian 08:37:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1735 08:37:05 + START_PACKAGES=/tmp/packages_start.txt 08:37:05 + END_PACKAGES=/tmp/packages_end.txt 08:37:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:37:05 + PACKAGES=/tmp/packages_start.txt 08:37:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1735 ']' 08:37:05 + PACKAGES=/tmp/packages_end.txt 08:37:05 + case "${OS_FAMILY}" in 08:37:05 + dpkg -l 08:37:05 + grep '^ii' 08:37:05 + '[' -f /tmp/packages_start.txt ']' 08:37:05 + '[' -f /tmp/packages_end.txt ']' 08:37:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:37:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1735 ']' 08:37:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives/ 08:37:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1735/archives/ [Pipeline] echo 08:37:05 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-1735/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:37:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:06 prd-ubuntu20.04-docker-8c-8g-3777 does not seem to be running inside a container 08:37:06 $ 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-1735/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-1735 -v /w/workspace/gexfoundry_device-sdk-go_PR-1735:/w/workspace/gexfoundry_device-sdk-go_PR-1735:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1735@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-lftools-log-publisher:latest cat 08:37:06 $ docker top ff829ea10323637ae9c6bd6238384c4142b5bfd8b50d71c31e2d15ef20a8fdcb -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:07 + touch /tmp/pre-build-complete [Pipeline] sh 08:37:07 + mkdir -p /var/log/sysstat [Pipeline] sh 08:37:07 + ls /var/log/sa-host 08:37:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:37:07 provisioning config files... 08:37:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1735@tmp/config16991085849850233752tmp [Pipeline] { [Pipeline] echo 08:37:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:37:08 ---> create-netrc.sh [Pipeline] } 08:37:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:37:08 ---> python-tools-install.sh [Pipeline] echo 08:37:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:37:09 ---> sudo-logs.sh 08:37:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:37:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:37:09 ---> job-cost.sh 08:37:09 lf-activate-venv: SKIPPING 08:37:09 DEBUG: total: 0.2199999988079071 08:37:09 INFO: Retrieving Stack Cost... 08:37:09 INFO: Retrieving Pricing Info for: v3-standard-8 08:37:10 INFO: Archiving Costs [Pipeline] echo 08:37:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:37:10 ---> logs-deploy.sh 08:37:10 lf-activate-venv: SKIPPING 08:37:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1735/1 08:37:10 INFO: archiving workspace using pattern(s): 08:37:11 Archives upload complete. 08:37:11 INFO: archiving logs to Nexus