Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f79d91e42934c0c8204e64f9535ff278efb44e2+9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf (b2f1a21884c8310dbb9efa23fb624cd9d65a2603) 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-ssh9525450860125545353.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5936666737592085189.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16409985950787538097.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18250512849779231230.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1684779774998254593.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21842’ Running on prd-ubuntu20.04-docker-8c-8g-21844 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [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-1632 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 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/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 Merge succeeded, producing 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 Checking out Revision 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 (PR-1632) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # 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 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 # timeout=10 Commit message: "Merge commit '9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf' into HEAD" > git rev-list --no-walk 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:43:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:43:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:43:27 ========================================================= 18:43:27 EdgeX Global Pipelines Version Info 18:43:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:43:28 ------------------- 18:43:28 stable info: 18:43:28 ------------------- 18:43:28 Commited By: Ginny Guan ginny@iotechsys.com 18:43:28 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 18:43:28 Message: update stable to v1.0.265 18:43:28 ------------------- 18:43:28 experimental info: 18:43:28 ------------------- 18:43:28 Commited By: Cherry Wang cherry@iotechsys.com 18:43:28 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 18:43:28 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:43:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:43:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:43:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:43:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:43:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1632 [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1632 [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1632 [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e04c2d [Pipeline] echo 18:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:29 provisioning config files... 18:43:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config11399224093342913436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:30 ---> ****-login.sh 18:43:30 nexus3.edgexfoundry.org:10001 18:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:30 Configure a credential helper to remove this warning. See 18:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:30 18:43:30 Login Succeeded 18:43:30 nexus3.edgexfoundry.org:10002 18:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:30 Configure a credential helper to remove this warning. See 18:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:30 18:43:30 Login Succeeded 18:43:30 nexus3.edgexfoundry.org:10003 18:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:30 Configure a credential helper to remove this warning. See 18:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:30 18:43:30 Login Succeeded 18:43:30 nexus3.edgexfoundry.org:10004 18:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:30 Configure a credential helper to remove this warning. See 18:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:30 18:43:30 Login Succeeded 18:43:30 ****.io 18:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:31 Configure a credential helper to remove this warning. See 18:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:31 18:43:31 Login Succeeded 18:43:31 ---> ****-login.sh ends [Pipeline] } 18:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:43:31 + git rev-list -1 --merges 8e04c2da464319b2a4b21d4a1fd729fe8412ba48~1..8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo 18:43:31 -----------> git rev-list -1 --merges 8e04c2da464319b2a4b21d4a1fd729fe8412ba48~1..8e04c2da464319b2a4b21d4a1fd729fe8412ba48 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 18:43:31 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [false] [Pipeline] sh 18:43:31 + git log --format=format:%s -1 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo 18:43:31 ========================================================= 18:43:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:43:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:32 + git log --format=format:%s -1 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo 18:43:32 [semverPrep] GIT_COMMIT: 8e04c2da464319b2a4b21d4a1fd729fe8412ba48, Commit Message: Merge commit '9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf' into HEAD [Pipeline] echo 18:43:32 [semverPrep] This is not a build commit. [Pipeline] sh 18:43:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:32 + grep -v github /etc/ssh/ssh_known_hosts 18:43:32 + [ -e /tmp/ssh_known_hosts ] 18:43:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:43:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:43:32 + sudo tee -a /etc/ssh/ssh_known_hosts 18:43:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:32 18:43:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:33 0.1.4: Pulling from edgex-devops/py-git-semver 18:43:33 b85a868b505f: Pulling fs layer 18:43:33 e2be974225ed: Pulling fs layer 18:43:33 339a4e72a1f5: Pulling fs layer 18:43:33 988bab9f4d93: Pulling fs layer 18:43:33 1469e6f7b9e6: Pulling fs layer 18:43:33 eaf3925da568: Pulling fs layer 18:43:33 bab4dde63d76: Pulling fs layer 18:43:33 bde34c3a00c8: Pulling fs layer 18:43:33 b352a97aabf1: Pulling fs layer 18:43:33 4872d77fe225: Pulling fs layer 18:43:33 5851b861e8e6: Pulling fs layer 18:43:33 4872d77fe225: Waiting 18:43:33 1469e6f7b9e6: Waiting 18:43:33 bab4dde63d76: Waiting 18:43:33 bde34c3a00c8: Waiting 18:43:33 b352a97aabf1: Waiting 18:43:33 988bab9f4d93: Waiting 18:43:33 5851b861e8e6: Waiting 18:43:33 e2be974225ed: Download complete 18:43:33 988bab9f4d93: Verifying Checksum 18:43:33 988bab9f4d93: Download complete 18:43:33 1469e6f7b9e6: Verifying Checksum 18:43:33 1469e6f7b9e6: Download complete 18:43:33 eaf3925da568: Verifying Checksum 18:43:33 eaf3925da568: Download complete 18:43:33 339a4e72a1f5: Verifying Checksum 18:43:33 339a4e72a1f5: Download complete 18:43:33 bde34c3a00c8: Download complete 18:43:33 b352a97aabf1: Download complete 18:43:33 4872d77fe225: Verifying Checksum 18:43:33 4872d77fe225: Download complete 18:43:33 5851b861e8e6: Verifying Checksum 18:43:33 5851b861e8e6: Download complete 18:43:33 b85a868b505f: Verifying Checksum 18:43:33 b85a868b505f: Download complete 18:43:33 bab4dde63d76: Verifying Checksum 18:43:33 bab4dde63d76: Download complete 18:43:34 b85a868b505f: Pull complete 18:43:34 e2be974225ed: Pull complete 18:43:35 339a4e72a1f5: Pull complete 18:43:35 988bab9f4d93: Pull complete 18:43:35 1469e6f7b9e6: Pull complete 18:43:35 eaf3925da568: Pull complete 18:43:37 bab4dde63d76: Pull complete 18:43:37 bde34c3a00c8: Pull complete 18:43:37 b352a97aabf1: Pull complete 18:43:37 4872d77fe225: Pull complete 18:43:37 5851b861e8e6: Pull complete 18:43:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:43:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:38 prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container 18:43:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 18:43:41 $ docker top 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d -eo pid,comm 18:43:41 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). 18:43:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:41 [ssh-agent] Looking for ssh-agent implementation... 18:43:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:41 $ docker exec 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent 18:43:41 SSH_AUTH_SOCK=/tmp/ssh-Wpg3euWqi2bV/agent.33 18:43:41 SSH_AGENT_PID=39 18:43:41 Running ssh-add (command line suppressed) 18:43:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_7823248389870608897.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_7823248389870608897.key) 18:43:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:41 + git tag --points-at HEAD [Pipeline] } 18:43:41 $ docker exec --env ******** --env ******** 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent -k 18:43:41 unset SSH_AUTH_SOCK; 18:43:41 unset SSH_AGENT_PID; 18:43:41 echo Agent pid 39 killed; 18:43:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:43:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:41 [ssh-agent] Looking for ssh-agent implementation... 18:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:42 $ docker exec 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent 18:43:42 SSH_AUTH_SOCK=/tmp/ssh-Qbn1UspFGaHu/agent.72 18:43:42 SSH_AGENT_PID=78 18:43:42 Running ssh-add (command line suppressed) 18:43:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_9884721980737691259.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_9884721980737691259.key) 18:43:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:42 + git semver init 18:43:42 2024-10-04 18:43:42,744 [run_init] DEBUG init version:0.0.0 force:False 18:43:42 2024-10-04 18:43:42,745 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver 18:43:42 2024-10-04 18:43:42,745 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver 18:43:42 2024-10-04 18:43:42,745 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632, universal_newlines=False, shell=None, istream=None) 18:43:45 2024-10-04 18:43:44,801 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.git/info/exclude 18:43:45 2024-10-04 18:43:44,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 with force:False 18:43:45 2024-10-04 18:43:44,801 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 18:43:45 2024-10-04 18:43:44,806 [execute] INFO git cat-file --batch-check 18:43:45 2024-10-04 18:43:44,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) 18:43:45 2024-10-04 18:43:44,813 [execute] INFO git cat-file --batch 18:43:45 2024-10-04 18:43:44,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) 18:43:45 2024-10-04 18:43:44,819 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 18:43:45 0.0.0 [Pipeline] } 18:43:45 $ docker exec --env ******** --env ******** 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent -k 18:43:45 unset SSH_AUTH_SOCK; 18:43:45 unset SSH_AGENT_PID; 18:43:45 echo Agent pid 78 killed; 18:43:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:45 + git semver [Pipeline] } 18:43:46 $ docker stop --time=1 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d 18:43:47 $ docker rm -f --volumes 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d [Pipeline] // withDockerContainer [Pipeline] sh 18:43:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:43:47 Stashed 1 file(s) [Pipeline] echo 18:43:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:48 provisioning config files... 18:43:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config4386836879732529182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:48 ---> ****-login.sh 18:43:48 nexus3.edgexfoundry.org:10001 18:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:48 Configure a credential helper to remove this warning. See 18:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:48 18:43:48 Login Succeeded 18:43:48 nexus3.edgexfoundry.org:10002 18:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:48 Configure a credential helper to remove this warning. See 18:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:48 18:43:48 Login Succeeded 18:43:48 nexus3.edgexfoundry.org:10003 18:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:48 Configure a credential helper to remove this warning. See 18:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:48 18:43:48 Login Succeeded 18:43:48 nexus3.edgexfoundry.org:10004 18:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:48 Configure a credential helper to remove this warning. See 18:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:48 18:43:48 Login Succeeded 18:43:48 ****.io 18:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:49 Configure a credential helper to remove this warning. See 18:43:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:49 18:43:49 Login Succeeded 18:43:49 ---> ****-login.sh ends [Pipeline] } 18:43:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:43:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:43:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:43:49 ========================================================= 18:43:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:43:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:49 + 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 . 18:43:49 Sending build context to Docker daemon 25.42MB 18:43:49 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 18:43:49 Step 2/10 : FROM ${BASE} AS builder 18:43:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 18:43:49 43c4264eed91: Pulling fs layer 18:43:49 4cc291be95ef: Pulling fs layer 18:43:49 2ac1f1163629: Pulling fs layer 18:43:49 5c3c966382ef: Pulling fs layer 18:43:49 4f4fb700ef54: Pulling fs layer 18:43:49 5d5c8e513c77: Pulling fs layer 18:43:49 9f66e0745190: Pulling fs layer 18:43:49 f49a43e4bbc0: Pulling fs layer 18:43:49 561ebcabdf7f: Pulling fs layer 18:43:49 9f66e0745190: Waiting 18:43:49 f49a43e4bbc0: Waiting 18:43:49 561ebcabdf7f: Waiting 18:43:49 4f4fb700ef54: Waiting 18:43:49 5d5c8e513c77: Waiting 18:43:49 4cc291be95ef: Verifying Checksum 18:43:49 4cc291be95ef: Download complete 18:43:49 5c3c966382ef: Verifying Checksum 18:43:49 5c3c966382ef: Download complete 18:43:49 4f4fb700ef54: Download complete 18:43:49 5d5c8e513c77: Download complete 18:43:49 43c4264eed91: Download complete 18:43:49 9f66e0745190: Verifying Checksum 18:43:49 9f66e0745190: Download complete 18:43:50 561ebcabdf7f: Download complete 18:43:50 43c4264eed91: Pull complete 18:43:50 4cc291be95ef: Pull complete 18:43:50 2ac1f1163629: Verifying Checksum 18:43:50 2ac1f1163629: Download complete 18:43:50 f49a43e4bbc0: Verifying Checksum 18:43:50 f49a43e4bbc0: Download complete 18:43:53 2ac1f1163629: Pull complete 18:43:54 5c3c966382ef: Pull complete 18:43:54 4f4fb700ef54: Pull complete 18:43:54 5d5c8e513c77: Pull complete 18:43:54 9f66e0745190: Pull complete 18:43:56 f49a43e4bbc0: Pull complete 18:43:57 561ebcabdf7f: Pull complete 18:43:57 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 18:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:43:57 ---> 3a752c3f9dda 18:43:57 Step 3/10 : ARG MAKE=make build 18:44:02 ---> Running in 53600433d1b9 18:44:02 Removing intermediate container 53600433d1b9 18:44:02 ---> 27bac02478f2 18:44:02 Step 4/10 : WORKDIR /device-sdk-go 18:44:02 ---> Running in 3c859edd4604 18:44:02 Removing intermediate container 3c859edd4604 18:44:02 ---> f021fbebc0c2 18:44:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:02 ---> Running in ed12834a0beb 18:44:02 Removing intermediate container ed12834a0beb 18:44:02 ---> 807443e90e09 18:44:02 Step 6/10 : RUN apk add --update --no-cache make git 18:44:02 ---> Running in 8c959bb75b4e 18:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:44:03 Still waiting to schedule task 18:44:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21843’ 18:44:03 OK: 246 MiB in 54 packages 18:44:03 Removing intermediate container 8c959bb75b4e 18:44:03 ---> 49e31fd64dfe 18:44:03 Step 7/10 : COPY go.mod vendor* ./ 18:44:03 ---> bf77b68f079a 18:44:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:03 ---> Running in 3f87e600d5c4 18:45:00 Removing intermediate container 3f87e600d5c4 18:45:00 ---> d75ad585669a 18:45:00 Step 9/10 : COPY . . 18:45:00 ---> 70f8df21e24b 18:45:00 Step 10/10 : RUN ${MAKE} 18:45:00 ---> Running in 154f3c2c2e09 18:45:00 noop 18:45:00 Removing intermediate container 154f3c2c2e09 18:45:00 ---> 36598faadc1c 18:45:00 Successfully built 36598faadc1c 18:45:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:00 + docker inspect -f . ci-base-image-x86_64 18:45:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:00 prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container 18:45:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 18:45:00 $ docker top cbabbf215f497bccc26a6e327663b18a5bedf5b55873d5986daedf152de61df4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:01 + go version 18:45:01 go version go1.23.2 linux/amd64 [Pipeline] } 18:45:01 $ docker stop --time=1 cbabbf215f497bccc26a6e327663b18a5bedf5b55873d5986daedf152de61df4 18:45:02 $ docker rm -f --volumes cbabbf215f497bccc26a6e327663b18a5bedf5b55873d5986daedf152de61df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:02 + docker inspect -f . ci-base-image-x86_64 18:45:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:02 prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container 18:45:03 $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 18:45:03 $ docker top 4e0560fc49b0e8b61354ae8e4428472ea408565b53385259a00854a853c90ffb -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] fileExists [Pipeline] sh 18:45:04 + make test 18:45:04 go test -race -coverprofile=coverage.out ./... 18:45:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 18:45:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.043s coverage: 26.0% of statements 18:45:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.039s coverage: 79.4% of statements 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 18:45:50 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 18:45:51 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 18:45:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.054s coverage: 86.0% of statements 18:45:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:45:51 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 18:45:51 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 18:45:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.095s coverage: 45.2% of statements 18:45:54 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 18:45:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.1% of statements 18:45:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.255s coverage: 44.6% of statements 18:45:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.3% of statements 18:45:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.088s coverage: 88.3% of statements 18:45:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.060s coverage: 5.3% of statements 18:46:27 GO111MODULE=on go vet ./... 18:46:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:46:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:46:33 ./bin/test-attribution-txt.sh 18:46:33 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 18:46:33 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 18:46:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:46:33 $ docker stop --time=1 4e0560fc49b0e8b61354ae8e4428472ea408565b53385259a00854a853c90ffb 18:46:37 $ docker rm -f --volumes 4e0560fc49b0e8b61354ae8e4428472ea408565b53385259a00854a853c90ffb [Pipeline] // withDockerContainer [Pipeline] sh 18:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:46:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:38 + ls -al . 18:46:38 total 712 18:46:38 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 18:45 . 18:46:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:43 .. 18:46:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 18:43 .dockerignore 18:46:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:45 .git 18:46:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:43 .github 18:46:38 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 18:43 .gitignore 18:46:38 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 18:43 .golangci.yml 18:46:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 18:43 .semver 18:46:38 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 18:43 CHANGELOG.md 18:46:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:43 GOVERNANCE.md 18:46:38 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 18:43 Jenkinsfile 18:46:38 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 18:43 LICENSE 18:46:38 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 18:43 Makefile 18:46:38 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 18:43 OWNERS.md 18:46:38 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 18:43 README.md 18:46:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:43 VERSION 18:46:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:43 bin 18:46:38 -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 18:45 coverage.out 18:46:38 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 18:43 example 18:46:38 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 18:43 go.mod 18:46:38 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 18:43 go.sum 18:46:38 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 18:43 internal 18:46:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:43 openapi 18:46:38 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 18:43 pkg 18:46:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:43 snap 18:46:38 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:39 + 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=8e04c2da464319b2a4b21d4a1fd729fe8412ba48 --label arch=amd64 --label version=0.0.0 . 18:46:39 Sending build context to Docker daemon 25.89MB 18:46:39 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 18:46:39 Step 2/24 : FROM ${BASE} AS builder 18:46:39 ---> 36598faadc1c 18:46:39 Step 3/24 : ARG MAKE=make build 18:46:39 ---> Running in e29252f1a50b 18:46:39 Removing intermediate container e29252f1a50b 18:46:39 ---> 68d895a5696f 18:46:39 Step 4/24 : WORKDIR /device-sdk-go 18:46:39 ---> Running in f0d877d5be48 18:46:39 Removing intermediate container f0d877d5be48 18:46:39 ---> 6b9d58c2cb72 18:46:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:46:39 ---> Running in 63309d5cece1 18:46:39 Removing intermediate container 63309d5cece1 18:46:39 ---> bb804b2a2629 18:46:39 Step 6/24 : RUN apk add --update --no-cache make git 18:46:40 ---> Running in fb1b779522df 18:46:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:46:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:46:40 OK: 246 MiB in 54 packages 18:46:41 Removing intermediate container fb1b779522df 18:46:41 ---> c646b3472877 18:46:41 Step 7/24 : COPY go.mod vendor* ./ 18:46:41 ---> 11e90c8c2ae6 18:46:41 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:41 ---> Running in d9997ecc2dee 18:46:42 Removing intermediate container d9997ecc2dee 18:46:42 ---> 4c8e8a7c927c 18:46:42 Step 9/24 : COPY . . 18:46:43 ---> 0a6f8e877011 18:46:43 Step 10/24 : RUN ${MAKE} 18:46:43 ---> Running in 0d1ef377846f 18:46:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:47:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21845 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] { [Pipeline] ws 18:47:16 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:47:20 The recommended git tool is: git 18:47:21 Removing intermediate container 0d1ef377846f 18:47:21 ---> 6abd229ac23b 18:47:21 Step 11/24 : FROM alpine:3.20 18:47:21 3.20: Pulling from library/alpine 18:47:21 43c4264eed91: Already exists 18:47:21 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 18:47:21 Status: Downloaded newer image for alpine:3.20 18:47:21 ---> 91ef0af61f39 18:47:21 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:47:21 ---> Running in 5ade6382f2bc 18:47:21 Removing intermediate container 5ade6382f2bc 18:47:21 ---> 3a5783306703 18:47:21 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:47:21 ---> Running in 2989d8b052fd 18:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:47:21 (1/1) Installing dumb-init (1.2.5-r3) 18:47:21 Executing busybox-1.36.1-r29.trigger 18:47:21 OK: 8 MiB in 15 packages 18:47:21 Removing intermediate container 2989d8b052fd 18:47:21 ---> 1ba210bc7581 18:47:21 Step 14/24 : RUN apk --no-cache upgrade 18:47:21 ---> Running in c92fa876763e 18:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:47:21 Upgrading critical system libraries and apk-tools: 18:47:21 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 18:47:21 Executing busybox-1.36.1-r29.trigger 18:47:21 Continuing the upgrade transaction with new apk-tools: 18:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:47:21 OK: 8 MiB in 15 packages 18:47:21 Removing intermediate container c92fa876763e 18:47:21 ---> af68e9c0c91c 18:47:21 Step 15/24 : WORKDIR / 18:47:21 ---> Running in de40b44c9224 18:47:21 Removing intermediate container de40b44c9224 18:47:21 ---> 7ac9f20387a1 18:47:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:47:21 ---> e315c2f2cb72 18:47:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:47:22 ---> 5d5a23ba0625 18:47:22 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:47:22 ---> e36540997f8f 18:47:22 Step 19/24 : EXPOSE 59999 18:47:22 ---> Running in 8f68007549ec 18:47:22 Removing intermediate container 8f68007549ec 18:47:22 ---> e53e67bd9b70 18:47:22 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:47:22 ---> Running in 3715a2ef1903 18:47:22 Removing intermediate container 3715a2ef1903 18:47:22 ---> 2223b26bbfba 18:47:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:47:22 ---> Running in 242ad0c2b315 18:47:22 Removing intermediate container 242ad0c2b315 18:47:22 ---> ff1f48cf55dc 18:47:22 Step 22/24 : LABEL arch=amd64 18:47:22 ---> Running in ce92680006f9 18:47:22 Removing intermediate container ce92680006f9 18:47:22 ---> 0e7ff9fc52b0 18:47:22 Step 23/24 : LABEL git_sha=8e04c2da464319b2a4b21d4a1fd729fe8412ba48 18:47:22 ---> Running in 443ccef0f147 18:47:22 Removing intermediate container 443ccef0f147 18:47:22 ---> 2892b1d8fc14 18:47:22 Step 24/24 : LABEL version=0.0.0 18:47:22 ---> Running in 4fd85c43d41d 18:47:22 Removing intermediate container 4fd85c43d41d 18:47:22 ---> 7d4ef9cd1913 18:47:22 [Warning] One or more build-args [ARCH] were not consumed 18:47:22 Successfully built 7d4ef9cd1913 18:47:22 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 18:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:23 18:47:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:23 latest: Pulling from edgex-lftools-log-publisher 18:47:23 5eb5b503b376: Pulling fs layer 18:47:23 5c69ac0246d0: Pulling fs layer 18:47:23 ec43610c2a17: Pulling fs layer 18:47:23 3a2ae6a8a46f: Pulling fs layer 18:47:23 33b1e0a273af: Pulling fs layer 18:47:23 5d3b04190fa2: Pulling fs layer 18:47:23 2f39f015ded8: Pulling fs layer 18:47:23 5d3b04190fa2: Waiting 18:47:23 3a2ae6a8a46f: Waiting 18:47:23 33b1e0a273af: Waiting 18:47:23 2f39f015ded8: Waiting 18:47:23 5c69ac0246d0: Verifying Checksum 18:47:23 5c69ac0246d0: Download complete 18:47:23 3a2ae6a8a46f: Verifying Checksum 18:47:23 3a2ae6a8a46f: Download complete 18:47:23 33b1e0a273af: Verifying Checksum 18:47:23 33b1e0a273af: Download complete 18:47:23 5d3b04190fa2: Verifying Checksum 18:47:23 5d3b04190fa2: Download complete 18:47:23 ec43610c2a17: Verifying Checksum 18:47:23 ec43610c2a17: Download complete 18:47:23 5eb5b503b376: Verifying Checksum 18:47:23 5eb5b503b376: Download complete 18:47:24 2f39f015ded8: Download complete 18:47:25 5eb5b503b376: Pull complete 18:47:25 5c69ac0246d0: Pull complete 18:47:26 ec43610c2a17: Pull complete 18:47:26 3a2ae6a8a46f: Pull complete 18:47:26 33b1e0a273af: Pull complete 18:47:26 5d3b04190fa2: Pull complete 18:47:28 using credential edgex-jenkins-ssh 18:47:28 Cloning the remote Git repository 18:47:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:47:28 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:47:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:29 > git --version # timeout=10 18:47:29 > git --version # 'git version 2.25.1' 18:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:47:31 2f39f015ded8: Pull complete 18:47:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:31 prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container 18:47:31 $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 18:47:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:47:35 Merging remotes/origin/main commit 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 18:47:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:47:35 > git config core.sparsecheckout # timeout=10 18:47:35 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 18:47:35 Merge succeeded, producing e4887391fc191a9e394a9397e2a296fee6df83d9 18:47:35 Checking out Revision e4887391fc191a9e394a9397e2a296fee6df83d9 (PR-1632) 18:47:35 $ docker top dc1105af075adb07db4eb1b9973c97b7c2948db07bb7b59a2ca57d81bf44b1bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:36 ---> job-cost.sh 18:47:36 lf-activate-venv: SKIPPING 18:47:36 INFO: No Stack... 18:47:36 INFO: Retrieving Pricing Info for: v3-standard-8 18:47:36 INFO: Archiving Costs [Pipeline] sh 18:47:36 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/cost.csv 18:47:36 + cut -d, -f6 [Pipeline] lock 18:47:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] 18:47:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] did not exist. Created. 18:47:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:47:35 > git remote # timeout=10 18:47:35 > git config --get remote.origin.url # timeout=10 18:47:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:35 > git merge 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf # timeout=10 18:47:35 > git rev-parse HEAD^{commit} # timeout=10 18:47:35 > git config core.sparsecheckout # timeout=10 18:47:35 > git checkout -f e4887391fc191a9e394a9397e2a296fee6df83d9 # timeout=10 18:47:37 + echo total: 0.2199999988079071 [Pipeline] stash 18:47:37 Stashed 1 file(s) [Pipeline] } 18:47:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:47:37 $ docker stop --time=1 dc1105af075adb07db4eb1b9973c97b7c2948db07bb7b59a2ca57d81bf44b1bf 18:47:38 $ docker rm -f --volumes dc1105af075adb07db4eb1b9973c97b7c2948db07bb7b59a2ca57d81bf44b1bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:47:39 Commit message: "Merge commit '9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf' into HEAD" 18:47:39 > git rev-list --no-walk 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:47:41 % Total % Received % Xferd Average Speed Time Time Time Current 18:47:41 Dload Upload Total Spent Left Speed 18:47:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 18:47:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:47:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:47:42 + sudo tee /etc/docker/daemon.new 18:47:42 { 18:47:42 "registry-mirrors": [ 18:47:42 "https://nexus3.edgexfoundry.org:10001" 18:47:42 ], 18:47:42 "bip": "10.250.0.254/24", 18:47:42 "hosts": [ 18:47:42 "tcp://0.0.0.0:5555", 18:47:42 "unix:///var/run/docker.sock" 18:47:42 ], 18:47:42 "mtu": 1458, 18:47:42 "selinux-enabled": true, 18:47:42 "seccomp-profile": "/etc/docker/seccomp.json" 18:47:42 } [Pipeline] sh 18:47:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:47:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:01 provisioning config files... 18:48:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config10471306681037296684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:01 ---> ****-login.sh 18:48:01 nexus3.edgexfoundry.org:10001 18:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 nexus3.edgexfoundry.org:10002 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 nexus3.edgexfoundry.org:10003 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 nexus3.edgexfoundry.org:10004 18:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:03 Configure a credential helper to remove this warning. See 18:48:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:03 18:48:03 Login Succeeded 18:48:03 ****.io 18:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:03 Configure a credential helper to remove this warning. See 18:48:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:03 18:48:03 Login Succeeded 18:48:03 ---> ****-login.sh ends [Pipeline] } 18:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:48:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:48:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:48:04 ========================================================= 18:48:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 18:48:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:04 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 18:48:05 Sending build context to Docker daemon 13.17MB 18:48:05 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 18:48:05 Step 2/10 : FROM ${BASE} AS builder 18:48:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:48:05 cf04c63912e1: Pulling fs layer 18:48:05 55b35a11ae5e: Pulling fs layer 18:48:05 a37a00ec5f00: Pulling fs layer 18:48:05 50b3750afda1: Pulling fs layer 18:48:05 4f4fb700ef54: Pulling fs layer 18:48:05 80978eb59214: Pulling fs layer 18:48:05 c9f46d7d2bd2: Pulling fs layer 18:48:05 c5a475d317c9: Pulling fs layer 18:48:05 c5a475d317c9: Waiting 18:48:05 80978eb59214: Waiting 18:48:05 4f4fb700ef54: Waiting 18:48:05 50b3750afda1: Waiting 18:48:05 c9f46d7d2bd2: Waiting 18:48:05 55b35a11ae5e: Verifying Checksum 18:48:05 55b35a11ae5e: Download complete 18:48:05 50b3750afda1: Verifying Checksum 18:48:05 50b3750afda1: Download complete 18:48:05 4f4fb700ef54: Verifying Checksum 18:48:05 4f4fb700ef54: Download complete 18:48:05 80978eb59214: Verifying Checksum 18:48:05 80978eb59214: Download complete 18:48:05 cf04c63912e1: Verifying Checksum 18:48:05 cf04c63912e1: Download complete 18:48:05 c5a475d317c9: Download complete 18:48:06 cf04c63912e1: Pull complete 18:48:06 55b35a11ae5e: Pull complete 18:48:07 a37a00ec5f00: Verifying Checksum 18:48:07 a37a00ec5f00: Download complete 18:48:07 c9f46d7d2bd2: Verifying Checksum 18:48:07 c9f46d7d2bd2: Download complete 18:48:22 a37a00ec5f00: Pull complete 18:48:22 50b3750afda1: Pull complete 18:48:22 4f4fb700ef54: Pull complete 18:48:22 80978eb59214: Pull complete 18:48:29 c9f46d7d2bd2: Pull complete 18:48:31 c5a475d317c9: Pull complete 18:48:31 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 18:48:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 18:48:31 ---> be29e6b0f0d4 18:48:31 Step 3/10 : ARG MAKE=make build 18:48:31 ---> Running in 66bb6ea374b8 18:48:31 Removing intermediate container 66bb6ea374b8 18:48:31 ---> 15c1c1a45663 18:48:31 Step 4/10 : WORKDIR /device-sdk-go 18:48:32 ---> Running in 8627e4b3423c 18:48:32 Removing intermediate container 8627e4b3423c 18:48:32 ---> eb240193b2d6 18:48:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:48:32 ---> Running in 797a62df957d 18:48:32 Removing intermediate container 797a62df957d 18:48:32 ---> b5ad93d6c92c 18:48:32 Step 6/10 : RUN apk add --update --no-cache make git 18:48:32 ---> Running in dd90f807af84 18:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 18:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 18:48:35 OK: 238 MiB in 54 packages 18:48:36 Removing intermediate container dd90f807af84 18:48:36 ---> 7fd5b244bb5a 18:48:36 Step 7/10 : COPY go.mod vendor* ./ 18:48:38 ---> d7bda119342b 18:48:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:38 ---> Running in 5a9c047d3a8e 18:50:45 Removing intermediate container 5a9c047d3a8e 18:50:45 ---> 6303094233c8 18:50:45 Step 9/10 : COPY . . 18:50:45 ---> f54c7b3f0d98 18:50:45 Step 10/10 : RUN ${MAKE} 18:50:45 ---> Running in e35c977ed8ce 18:50:45 noop 18:50:45 Removing intermediate container e35c977ed8ce 18:50:45 ---> b4cfeeb959dc 18:50:45 Successfully built b4cfeeb959dc 18:50:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:45 + docker inspect -f . ci-base-image-arm64 18:50:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:45 prd-ubuntu20.04-docker-arm64-4c-16g-21845 does not seem to be running inside a container 18:50:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-arm64 cat 18:50:47 $ docker top 3cff8b51a5f7c840e7b29efa26deb138796c52a6a3c4f07930595cb2c9a05720 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:47 + go version 18:50:47 go version go1.23.2 linux/arm64 [Pipeline] } 18:50:47 $ docker stop --time=1 3cff8b51a5f7c840e7b29efa26deb138796c52a6a3c4f07930595cb2c9a05720 18:50:49 $ docker rm -f --volumes 3cff8b51a5f7c840e7b29efa26deb138796c52a6a3c4f07930595cb2c9a05720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:50 + docker inspect -f . ci-base-image-arm64 18:50:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:50 prd-ubuntu20.04-docker-arm64-4c-16g-21845 does not seem to be running inside a container 18:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-arm64 cat 18:50:51 $ docker top d5a51093e072ee0077906b16622237fb30b5d9180b2db6e004d28432b6807616 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:52 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:50:52 + make test 18:50:52 go test -race -coverprofile=coverage.out ./... 18:51:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:55:01 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 18:55:01 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 18:55:01 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 18:55:01 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 18:55:01 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 18:55:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.171s coverage: 26.0% of statements 18:55:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.175s coverage: 79.4% of statements 18:55:19 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 18:55:19 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 18:55:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.261s coverage: 86.0% of statements 18:55:24 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 18:55:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.549s coverage: 45.2% of statements 18:55:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.243s coverage: 14.1% of statements 18:55:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.604s coverage: 44.6% of statements 18:55:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:55:33 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 18:55:33 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 18:55:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.365s coverage: 68.3% of statements 18:55:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.460s coverage: 88.3% of statements 18:55:44 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 18:55:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.290s coverage: 5.3% of statements 18:55:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:55:46 GO111MODULE=on go vet ./... 18:59:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:08 ./bin/test-attribution-txt.sh 18:59:08 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 18:59:08 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 18:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:59:08 $ docker stop --time=1 d5a51093e072ee0077906b16622237fb30b5d9180b2db6e004d28432b6807616 18:59:10 $ docker rm -f --volumes d5a51093e072ee0077906b16622237fb30b5d9180b2db6e004d28432b6807616 [Pipeline] // withDockerContainer [Pipeline] sh 18:59:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:59:12 Warning: overwriting stash ‘coverage-report’ 18:59:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:59:13 + ls -al . 18:59:13 total 708 18:59:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 18:50 . 18:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:47 .. 18:59:13 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 18:47 .dockerignore 18:59:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:47 .git 18:59:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:47 .github 18:59:13 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 18:47 .gitignore 18:59:13 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 18:47 .golangci.yml 18:59:13 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 18:47 CHANGELOG.md 18:59:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:47 GOVERNANCE.md 18:59:13 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 18:47 Jenkinsfile 18:59:13 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 18:47 LICENSE 18:59:13 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 18:47 Makefile 18:59:13 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 18:47 OWNERS.md 18:59:13 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 18:47 README.md 18:59:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:43 VERSION 18:59:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:47 bin 18:59:13 -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 18:55 coverage.out 18:59:13 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 18:47 example 18:59:13 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 18:47 go.mod 18:59:13 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 18:47 go.sum 18:59:13 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 18:47 internal 18:59:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:47 openapi 18:59:13 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 18:47 pkg 18:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:47 snap 18:59:13 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:14 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e4887391fc191a9e394a9397e2a296fee6df83d9 --label arch=arm64 --label version=0.0.0 . 18:59:14 Sending build context to Docker daemon 13.64MB 18:59:14 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 18:59:14 Step 2/24 : FROM ${BASE} AS builder 18:59:14 ---> b4cfeeb959dc 18:59:14 Step 3/24 : ARG MAKE=make build 18:59:14 ---> Running in 9ffac7382f17 18:59:15 Removing intermediate container 9ffac7382f17 18:59:15 ---> 35f237236640 18:59:15 Step 4/24 : WORKDIR /device-sdk-go 18:59:15 ---> Running in 708ad16615ff 18:59:15 Removing intermediate container 708ad16615ff 18:59:15 ---> 0e8a54da15b2 18:59:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:59:15 ---> Running in 60ac1d8854e8 18:59:15 Removing intermediate container 60ac1d8854e8 18:59:15 ---> da42bbbc32f5 18:59:15 Step 6/24 : RUN apk add --update --no-cache make git 18:59:15 ---> Running in 2695b9376d93 18:59:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 18:59:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 18:59:18 OK: 238 MiB in 54 packages 18:59:19 Removing intermediate container 2695b9376d93 18:59:19 ---> 6b2cc331511d 18:59:19 Step 7/24 : COPY go.mod vendor* ./ 18:59:20 ---> 84fb12e6a9fa 18:59:20 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:59:20 ---> Running in a578a434d716 18:59:21 Removing intermediate container a578a434d716 18:59:21 ---> 84628f89f5c6 18:59:21 Step 9/24 : COPY . . 18:59:23 ---> 772aa46b1bd0 18:59:23 Step 10/24 : RUN ${MAKE} 18:59:23 ---> Running in d4c5595f6de2 18:59:24 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:02:46 Removing intermediate container d4c5595f6de2 19:02:46 ---> b55f67205ba8 19:02:46 Step 11/24 : FROM alpine:3.20 19:02:46 3.20: Pulling from library/alpine 19:02:46 cf04c63912e1: Already exists 19:02:46 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:02:46 Status: Downloaded newer image for alpine:3.20 19:02:46 ---> c157a85ed455 19:02:46 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:02:46 ---> Running in d1c091ebc327 19:02:46 Removing intermediate container d1c091ebc327 19:02:46 ---> 082720353078 19:02:46 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:02:46 ---> Running in 36a8eb94aa37 19:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:02:46 (1/1) Installing dumb-init (1.2.5-r3) 19:02:46 Executing busybox-1.36.1-r29.trigger 19:02:46 OK: 9 MiB in 15 packages 19:02:47 Removing intermediate container 36a8eb94aa37 19:02:47 ---> 0226f9477a61 19:02:47 Step 14/24 : RUN apk --no-cache upgrade 19:02:47 ---> Running in 5203b8ff2792 19:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:02:50 Upgrading critical system libraries and apk-tools: 19:02:50 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:02:50 Executing busybox-1.36.1-r29.trigger 19:02:50 Continuing the upgrade transaction with new apk-tools: 19:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:02:52 OK: 9 MiB in 15 packages 19:02:52 Removing intermediate container 5203b8ff2792 19:02:52 ---> 3b31e51d6595 19:02:52 Step 15/24 : WORKDIR / 19:02:52 ---> Running in af01b8bdde56 19:02:53 Removing intermediate container af01b8bdde56 19:02:53 ---> feffc88d1be1 19:02:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:02:53 ---> 7bf078dfcb0e 19:02:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:02:55 ---> 5abff425c07a 19:02:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:02:56 ---> 88d2073bce88 19:02:56 Step 19/24 : EXPOSE 59999 19:02:56 ---> Running in 63790c0832f2 19:02:56 Removing intermediate container 63790c0832f2 19:02:56 ---> 9c0c156425a3 19:02:56 Step 20/24 : ENTRYPOINT ["/device-simple"] 19:02:56 ---> Running in faa377f6cf42 19:02:57 Removing intermediate container faa377f6cf42 19:02:57 ---> d7fba3e37ff9 19:02:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:02:57 ---> Running in d3b5c0c53143 19:02:57 Removing intermediate container d3b5c0c53143 19:02:57 ---> 1c88db58b09a 19:02:57 Step 22/24 : LABEL arch=arm64 19:02:57 ---> Running in 047fc0f93659 19:02:57 Removing intermediate container 047fc0f93659 19:02:57 ---> c33dc593f254 19:02:57 Step 23/24 : LABEL git_sha=e4887391fc191a9e394a9397e2a296fee6df83d9 19:02:57 ---> Running in d4af12ffb178 19:02:57 Removing intermediate container d4af12ffb178 19:02:57 ---> 5ea582626bc7 19:02:57 Step 24/24 : LABEL version=0.0.0 19:02:57 ---> Running in 88476d7a8c84 19:02:58 Removing intermediate container 88476d7a8c84 19:02:58 ---> 95f8fcbbd115 19:02:58 [Warning] One or more build-args [ARCH] were not consumed 19:02:58 Successfully built 95f8fcbbd115 19:02:58 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:58 19:02:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:59 arm64: Pulling from edgex-lftools-log-publisher 19:02:59 8998bd30e6a1: Pulling fs layer 19:02:59 04944245beec: Pulling fs layer 19:02:59 699f458cf7ca: Pulling fs layer 19:02:59 765212b225bb: Pulling fs layer 19:02:59 f23df028b6ca: Pulling fs layer 19:02:59 d65c8cfc05b1: Pulling fs layer 19:02:59 2437ff75d9bd: Pulling fs layer 19:02:59 f23df028b6ca: Waiting 19:02:59 765212b225bb: Waiting 19:02:59 2437ff75d9bd: Waiting 19:02:59 04944245beec: Verifying Checksum 19:02:59 04944245beec: Download complete 19:02:59 765212b225bb: Verifying Checksum 19:02:59 765212b225bb: Download complete 19:02:59 f23df028b6ca: Verifying Checksum 19:02:59 f23df028b6ca: Download complete 19:02:59 d65c8cfc05b1: Verifying Checksum 19:02:59 d65c8cfc05b1: Download complete 19:02:59 699f458cf7ca: Verifying Checksum 19:02:59 699f458cf7ca: Download complete 19:03:00 8998bd30e6a1: Verifying Checksum 19:03:00 8998bd30e6a1: Download complete 19:03:02 2437ff75d9bd: Verifying Checksum 19:03:04 8998bd30e6a1: Pull complete 19:03:05 04944245beec: Pull complete 19:03:06 699f458cf7ca: Pull complete 19:03:06 765212b225bb: Pull complete 19:03:07 f23df028b6ca: Pull complete 19:03:07 d65c8cfc05b1: Pull complete 19:03:25 2437ff75d9bd: Pull complete 19:03:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:03:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:26 prd-ubuntu20.04-docker-arm64-4c-16g-21845 does not seem to be running inside a container 19:03:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:arm64 cat 19:03:28 $ docker top 3909f61aa0c02d6cfaa063ff9c8cbe24de274de7533c0732a792fd4d25866640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:29 ---> job-cost.sh 19:03:29 lf-activate-venv: SKIPPING 19:03:29 INFO: No Stack... 19:03:30 INFO: Retrieving Pricing Info for: v3-standard-4 19:03:30 INFO: Archiving Costs [Pipeline] sh 19:03:31 + cut -d, -f6 19:03:31 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 19:03:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] 19:03:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] did not exist. Created. 19:03:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:32 /w/workspace/device-sdk-go/2@tmp/durable-8539405b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:03:32 + echo total: 0.10999999940395355 [Pipeline] stash 19:03:32 Warning: overwriting stash ‘stack-cost’ 19:03:32 Stashed 1 file(s) [Pipeline] } 19:03:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:32 $ docker stop --time=1 3909f61aa0c02d6cfaa063ff9c8cbe24de274de7533c0732a792fd4d25866640 19:03:34 $ docker rm -f --volumes 3909f61aa0c02d6cfaa063ff9c8cbe24de274de7533c0732a792fd4d25866640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:03:34 provisioning config files... 19:03:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config6134374629818700134tmp [Pipeline] { [Pipeline] sh 19:03:35 + set +x 19:03:35 + + curl -s https://codecov.io/bash 19:03:35 bash -s -- 19:03:35 19:03:35 _____ _ 19:03:35 / ____| | | 19:03:35 | | ___ __| | ___ ___ _____ __ 19:03:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:03:35 | |___| (_) | (_| | __/ (_| (_) \ V / 19:03:35 \_____\___/ \__,_|\___|\___\___/ \_/ 19:03:35 Bash-1.0.6 19:03:35 19:03:35 19:03:35 ==> git version 2.25.1 found 19:03:35 ==> 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 19:03:35 Release-Date: 2020-01-08 19:03:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:03:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:03:35 ==> Jenkins CI detected. 19:03:35 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1632 19:03:35 project root: . 19:03:35 --> token set from env 19:03:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:03:35 ==> Running gcov in . (disable via -X gcov) 19:03:35 ==> Python coveragepy not found 19:03:35 ==> Searching for coverage reports in: 19:03:35 + . 19:03:35 -> Found 1 reports 19:03:35 ==> Detecting git/mercurial file structure 19:03:35 ==> Reading reports 19:03:35 + ./coverage.out bytes=466603 19:03:35 ==> Appending adjustments 19:03:35 https://docs.codecov.io/docs/fixing-reports 19:03:35 + Found adjustments 19:03:35 ==> Gzipping contents 19:03:35 44K /tmp/codecov.b9pbbi.gz 19:03:35 ==> Uploading reports 19:03:35 url: https://codecov.io 19:03:35 query: branch=PR-1632&commit=8e04c2da464319b2a4b21d4a1fd729fe8412ba48&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= 19:03:35 -> Pinging Codecov 19:03:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1632&commit=8e04c2da464319b2a4b21d4a1fd729fe8412ba48&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= 19:03:36 -> Uploading to 19:03:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/8e04c2da464319b2a4b21d4a1fd729fe8412ba48/3c28f1ce-8886-4a5e-926a-6ddca174b0e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T190335Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4810779b8139fd5be39dd7b042bf825d08307e5af8c01394e156cba6e44cffc3 19:03:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:36 Dload Upload Total Spent Left Speed 19:03:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44616 0 0 100 44616 0 212k --:--:-- --:--:-- --:--:-- 211k 100 44616 0 0 100 44616 0 186k --:--:-- --:--:-- --:--:-- 186k 19:03:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] } 19:03:36 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 19:03:37 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives ] 19:03:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 19:03:37 total 16 19:03:37 drwxr-xr-x 3 root root 4096 Oct 4 18:47 . 19:03:37 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 18:47 .. 19:03:37 drwxr-xr-x 2 root root 4096 Oct 4 18:47 cost 19:03:37 -rw-r--r-- 1 root root 86 Oct 4 18:47 cost.csv 19:03:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 19:03:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 19:03:37 total 16 19:03:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 18:47 . 19:03:37 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 18:47 .. 19:03:37 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 18:47 cost 19:03:37 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:03:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:03:38 ---> package-listing.sh 19:03:38 ++ facter osfamily 19:03:38 ++ tr '[:upper:]' '[:lower:]' 19:03:38 + OS_FAMILY=debian 19:03:38 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1632 19:03:38 + START_PACKAGES=/tmp/packages_start.txt 19:03:38 + END_PACKAGES=/tmp/packages_end.txt 19:03:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:03:38 + PACKAGES=/tmp/packages_start.txt 19:03:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' 19:03:38 + PACKAGES=/tmp/packages_end.txt 19:03:38 + case "${OS_FAMILY}" in 19:03:38 + dpkg -l 19:03:38 + grep '^ii' 19:03:38 + '[' -f /tmp/packages_start.txt ']' 19:03:38 + '[' -f /tmp/packages_end.txt ']' 19:03:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:03:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' 19:03:38 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ 19:03:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [Pipeline] echo 19:03:38 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-1632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:03:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:39 prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container 19:03:39 $ 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-1632/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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 19:03:39 $ docker top b5c3f863b69185049f0d716222cb3bee55a44b0cb80f710c9322402722cfe857 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:40 + touch /tmp/pre-build-complete [Pipeline] sh 19:03:40 + mkdir -p /var/log/sysstat [Pipeline] sh 19:03:40 + ls /var/log/sa-host 19:03:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:41 provisioning config files... 19:03:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config14685157015037332917tmp [Pipeline] { [Pipeline] echo 19:03:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:03:41 ---> create-netrc.sh [Pipeline] } 19:03:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:03:41 ---> python-tools-install.sh [Pipeline] echo 19:03:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:03:42 ---> sudo-logs.sh 19:03:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:03:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:03:42 ---> job-cost.sh 19:03:42 lf-activate-venv: SKIPPING 19:03:42 DEBUG: total: 0.2199999988079071 19:03:42 INFO: Retrieving Stack Cost... 19:03:42 INFO: Retrieving Pricing Info for: v3-standard-8 19:03:42 INFO: Archiving Costs [Pipeline] echo 19:03:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:03:43 ---> logs-deploy.sh 19:03:43 lf-activate-venv: SKIPPING 19:03:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1632/2 19:03:43 INFO: archiving workspace using pattern(s): 19:03:44 Archives upload complete. 19:03:44 INFO: archiving logs to Nexus