Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5f74a473092f448edb5d022a206764aad0631ef 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-ssh16788913723720770272.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh12287977252158328706.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 590556114a56c6d90cc8043840e039c2f74196dc 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3243274442791431207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh14612833647739589660.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16740539849893089544.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4310 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision f5f74a473092f448edb5d022a206764aad0631ef (main) Commit message: "Merge pull request #1587 from cloudxxx8/issue-1586" > 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 core.sparsecheckout # timeout=10 > git checkout -f f5f74a473092f448edb5d022a206764aad0631ef # timeout=10 > git rev-list --no-walk 911624c003e9e773b2d7c94646c77370a636792b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-25T03:47:36.766Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-25T03:47:36.836Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-25T03:47:36.858Z] ========================================================= [2024-06-25T03:47:36.858Z] EdgeX Global Pipelines Version Info [2024-06-25T03:47:36.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-25T03:47:37.633Z] ------------------- [2024-06-25T03:47:37.633Z] stable info: [2024-06-25T03:47:37.633Z] ------------------- [2024-06-25T03:47:37.633Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T03:47:37.633Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T03:47:37.633Z] Message: update stable to v1.0.260 [2024-06-25T03:47:38.203Z] ------------------- [2024-06-25T03:47:38.203Z] experimental info: [2024-06-25T03:47:38.203Z] ------------------- [2024-06-25T03:47:38.203Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T03:47:38.203Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-25T03:47:38.203Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-25T03:47:38.273Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-06-25T03:47:38.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-06-25T03:47:38.317Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-25T03:47:38.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-25T03:47:38.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-25T03:47:38.393Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-25T03:47:38.418Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-25T03:47:38.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-06-25T03:47:38.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-25T03:47:38.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-25T03:47:38.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-25T03:47:38.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-06-25T03:47:38.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-25T03:47:38.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-25T03:47:38.626Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T03:47:38.657Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T03:47:38.685Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T03:47:38.712Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T03:47:38.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-25T03:47:38.761Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-25T03:47:38.788Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-06-25T03:47:38.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-06-25T03:47:38.846Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-25T03:47:38.871Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-25T03:47:38.894Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-25T03:47:38.920Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-25T03:47:38.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-25T03:47:38.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-06-25T03:47:38.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-06-25T03:47:39.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-06-25T03:47:39.034Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo [2024-06-25T03:47:39.051Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5f74a4 [Pipeline] echo [2024-06-25T03:47:39.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T03:47:39.142Z] provisioning config files... [2024-06-25T03:47:39.152Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5004648741906771065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T03:47:39.494Z] ---> ****-login.sh [2024-06-25T03:47:39.495Z] nexus3.edgexfoundry.org:10001 [2024-06-25T03:47:39.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:39.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:39.755Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:39.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:39.755Z] [2024-06-25T03:47:39.755Z] Login Succeeded [2024-06-25T03:47:39.755Z] nexus3.edgexfoundry.org:10002 [2024-06-25T03:47:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:40.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:40.014Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:40.014Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:40.014Z] [2024-06-25T03:47:40.014Z] Login Succeeded [2024-06-25T03:47:40.014Z] nexus3.edgexfoundry.org:10003 [2024-06-25T03:47:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:40.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:40.014Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:40.014Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:40.014Z] [2024-06-25T03:47:40.014Z] Login Succeeded [2024-06-25T03:47:40.014Z] nexus3.edgexfoundry.org:10004 [2024-06-25T03:47:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:40.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:40.274Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:40.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:40.274Z] [2024-06-25T03:47:40.274Z] Login Succeeded [2024-06-25T03:47:40.274Z] ****.io [2024-06-25T03:47:40.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:40.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:40.535Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:40.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:40.535Z] [2024-06-25T03:47:40.535Z] Login Succeeded [2024-06-25T03:47:40.535Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T03:47:40.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-25T03:47:40.948Z] + git rev-list -1 --merges f5f74a473092f448edb5d022a206764aad0631ef~1..f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo [2024-06-25T03:47:40.977Z] -----------> git rev-list -1 --merges f5f74a473092f448edb5d022a206764aad0631ef~1..f5f74a473092f448edb5d022a206764aad0631ef f5f74a473092f448edb5d022a206764aad0631ef [2024-06-25T03:47:40.977Z] f5f74a473092f448edb5d022a206764aad0631ef [false] [Pipeline] sh [2024-06-25T03:47:41.269Z] + git log --format=format:%s -1 f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo [2024-06-25T03:47:41.285Z] ========================================================= [2024-06-25T03:47:41.285Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-25T03:47:41.285Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T03:47:41.619Z] + git log --format=format:%s -1 f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo [2024-06-25T03:47:41.629Z] [semverPrep] GIT_COMMIT: f5f74a473092f448edb5d022a206764aad0631ef, Commit Message: Merge pull request #1587 from cloudxxx8/issue-1586 [Pipeline] echo [2024-06-25T03:47:41.639Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-25T03:47:41.999Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T03:47:41.999Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-25T03:47:41.999Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-25T03:47:41.999Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-25T03:47:41.999Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-25T03:47:41.999Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-25T03:47:41.999Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:47:42.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T03:47:42.407Z] [2024-06-25T03:47:42.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:47:42.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T03:47:42.715Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-25T03:47:42.715Z] b85a868b505f: Pulling fs layer [2024-06-25T03:47:42.715Z] e2be974225ed: Pulling fs layer [2024-06-25T03:47:42.715Z] 339a4e72a1f5: Pulling fs layer [2024-06-25T03:47:42.715Z] 988bab9f4d93: Pulling fs layer [2024-06-25T03:47:42.715Z] 1469e6f7b9e6: Pulling fs layer [2024-06-25T03:47:42.715Z] eaf3925da568: Pulling fs layer [2024-06-25T03:47:42.715Z] bab4dde63d76: Pulling fs layer [2024-06-25T03:47:42.715Z] bde34c3a00c8: Pulling fs layer [2024-06-25T03:47:42.715Z] b352a97aabf1: Pulling fs layer [2024-06-25T03:47:42.715Z] 4872d77fe225: Pulling fs layer [2024-06-25T03:47:42.715Z] 5851b861e8e6: Pulling fs layer [2024-06-25T03:47:42.715Z] 988bab9f4d93: Waiting [2024-06-25T03:47:42.715Z] bab4dde63d76: Waiting [2024-06-25T03:47:42.715Z] bde34c3a00c8: Waiting [2024-06-25T03:47:42.715Z] b352a97aabf1: Waiting [2024-06-25T03:47:42.715Z] 1469e6f7b9e6: Waiting [2024-06-25T03:47:42.715Z] eaf3925da568: Waiting [2024-06-25T03:47:42.715Z] 4872d77fe225: Waiting [2024-06-25T03:47:42.715Z] 5851b861e8e6: Waiting [2024-06-25T03:47:42.715Z] e2be974225ed: Verifying Checksum [2024-06-25T03:47:42.715Z] e2be974225ed: Download complete [2024-06-25T03:47:42.715Z] 988bab9f4d93: Verifying Checksum [2024-06-25T03:47:42.715Z] 988bab9f4d93: Download complete [2024-06-25T03:47:42.715Z] 1469e6f7b9e6: Verifying Checksum [2024-06-25T03:47:42.715Z] 1469e6f7b9e6: Download complete [2024-06-25T03:47:42.974Z] 339a4e72a1f5: Verifying Checksum [2024-06-25T03:47:42.974Z] 339a4e72a1f5: Download complete [2024-06-25T03:47:42.974Z] eaf3925da568: Verifying Checksum [2024-06-25T03:47:42.974Z] eaf3925da568: Download complete [2024-06-25T03:47:42.974Z] bde34c3a00c8: Download complete [2024-06-25T03:47:42.974Z] b352a97aabf1: Verifying Checksum [2024-06-25T03:47:42.974Z] b352a97aabf1: Download complete [2024-06-25T03:47:42.974Z] 4872d77fe225: Verifying Checksum [2024-06-25T03:47:42.974Z] 4872d77fe225: Download complete [2024-06-25T03:47:42.974Z] 5851b861e8e6: Verifying Checksum [2024-06-25T03:47:42.974Z] 5851b861e8e6: Download complete [2024-06-25T03:47:42.974Z] b85a868b505f: Verifying Checksum [2024-06-25T03:47:42.975Z] b85a868b505f: Download complete [2024-06-25T03:47:43.233Z] bab4dde63d76: Verifying Checksum [2024-06-25T03:47:43.233Z] bab4dde63d76: Download complete [2024-06-25T03:47:44.180Z] b85a868b505f: Pull complete [2024-06-25T03:47:44.439Z] e2be974225ed: Pull complete [2024-06-25T03:47:44.698Z] 339a4e72a1f5: Pull complete [2024-06-25T03:47:44.698Z] 988bab9f4d93: Pull complete [2024-06-25T03:47:45.269Z] 1469e6f7b9e6: Pull complete [2024-06-25T03:47:45.269Z] eaf3925da568: Pull complete [2024-06-25T03:47:47.172Z] bab4dde63d76: Pull complete [2024-06-25T03:47:47.172Z] bde34c3a00c8: Pull complete [2024-06-25T03:47:47.172Z] b352a97aabf1: Pull complete [2024-06-25T03:47:47.172Z] 4872d77fe225: Pull complete [2024-06-25T03:47:47.172Z] 5851b861e8e6: Pull complete [2024-06-25T03:47:47.172Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-25T03:47:47.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T03:47:47.172Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T03:47:47.318Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T03:47:47.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-25T03:47:49.751Z] $ docker top 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f -eo pid,comm [2024-06-25T03:47:49.805Z] 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). [2024-06-25T03:47:49.805Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T03:47:49.874Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T03:47:49.874Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T03:47:49.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T03:47:49.998Z] $ docker exec 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent [2024-06-25T03:47:50.106Z] SSH_AUTH_SOCK=/tmp/ssh-9k6DUHhI15xE/agent.33 [2024-06-25T03:47:50.106Z] SSH_AGENT_PID=39 [2024-06-25T03:47:50.113Z] Running ssh-add (command line suppressed) [2024-06-25T03:47:50.214Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16102356623859260065.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16102356623859260065.key) [2024-06-25T03:47:50.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T03:47:50.517Z] + git tag --points-at HEAD [Pipeline] } [2024-06-25T03:47:50.530Z] $ docker exec --env ******** --env ******** 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent -k [2024-06-25T03:47:50.622Z] unset SSH_AUTH_SOCK; [2024-06-25T03:47:50.623Z] unset SSH_AGENT_PID; [2024-06-25T03:47:50.623Z] echo Agent pid 39 killed; [2024-06-25T03:47:50.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-25T03:47:50.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T03:47:50.670Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T03:47:50.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T03:47:50.792Z] $ docker exec 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent [2024-06-25T03:47:50.891Z] SSH_AUTH_SOCK=/tmp/ssh-pJWKr1H874fi/agent.72 [2024-06-25T03:47:50.891Z] SSH_AGENT_PID=78 [2024-06-25T03:47:50.895Z] Running ssh-add (command line suppressed) [2024-06-25T03:47:51.013Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11496733588586790111.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11496733588586790111.key) [2024-06-25T03:47:51.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T03:47:51.319Z] + git semver init [2024-06-25T03:47:51.579Z] 2024-06-25 03:47:51,529 [run_init] DEBUG init version:0.0.0 force:False [2024-06-25T03:47:51.579Z] 2024-06-25 03:47:51,530 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-06-25T03:47:51.579Z] 2024-06-25 03:47:51,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-06-25T03:47:51.579Z] 2024-06-25 03:47:51,530 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-25T03:47:54.132Z] 2024-06-25 03:47:53,586 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-06-25T03:47:54.132Z] 2024-06-25 03:47:53,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-06-25T03:47:54.132Z] 2024-06-25 03:47:53,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T03:47:54.132Z] 2024-06-25 03:47:53,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T03:47:54.132Z] 3.2.0-dev.17 [Pipeline] } [2024-06-25T03:47:54.146Z] $ docker exec --env ******** --env ******** 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent -k [2024-06-25T03:47:54.245Z] unset SSH_AUTH_SOCK; [2024-06-25T03:47:54.246Z] unset SSH_AGENT_PID; [2024-06-25T03:47:54.246Z] echo Agent pid 78 killed; [2024-06-25T03:47:54.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T03:47:54.582Z] + git semver [Pipeline] } [2024-06-25T03:47:54.855Z] $ docker stop --time=1 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f [2024-06-25T03:47:56.160Z] $ docker rm -f --volumes 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T03:47:56.513Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-25T03:47:56.771Z] Stashed 1 file(s) [Pipeline] echo [2024-06-25T03:47:56.775Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.17 [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 [2024-06-25T03:47:56.965Z] provisioning config files... [2024-06-25T03:47:56.976Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12989053193902440459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T03:47:57.281Z] ---> ****-login.sh [2024-06-25T03:47:57.282Z] nexus3.edgexfoundry.org:10001 [2024-06-25T03:47:57.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:57.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:57.282Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:57.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:57.282Z] [2024-06-25T03:47:57.282Z] Login Succeeded [2024-06-25T03:47:57.282Z] nexus3.edgexfoundry.org:10002 [2024-06-25T03:47:57.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:57.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:57.282Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:57.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:57.282Z] [2024-06-25T03:47:57.282Z] Login Succeeded [2024-06-25T03:47:57.282Z] nexus3.edgexfoundry.org:10003 [2024-06-25T03:47:57.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:57.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:57.542Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:57.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:57.542Z] [2024-06-25T03:47:57.542Z] Login Succeeded [2024-06-25T03:47:57.542Z] nexus3.edgexfoundry.org:10004 [2024-06-25T03:47:57.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:57.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:57.542Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:57.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:57.542Z] [2024-06-25T03:47:57.542Z] Login Succeeded [2024-06-25T03:47:57.542Z] ****.io [2024-06-25T03:47:57.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:47:57.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:47:57.802Z] Configure a credential helper to remove this warning. See [2024-06-25T03:47:57.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:47:57.802Z] [2024-06-25T03:47:57.802Z] Login Succeeded [2024-06-25T03:47:57.802Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T03:47:57.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T03:47:57.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T03:47:57.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T03:47:57.941Z] ========================================================= [2024-06-25T03:47:57.941Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-25T03:47:57.941Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:47:58.278Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-06-25T03:47:58.278Z] Sending build context to Docker daemon 24.86MB [2024-06-25T03:47:58.278Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T03:47:58.278Z] Step 2/10 : FROM ${BASE} AS builder [2024-06-25T03:47:58.538Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-25T03:47:58.538Z] 619be1103602: Pulling fs layer [2024-06-25T03:47:58.538Z] 7862e08f4a3e: Pulling fs layer [2024-06-25T03:47:58.538Z] 5df492c9dc93: Pulling fs layer [2024-06-25T03:47:58.538Z] 7629e6793208: Pulling fs layer [2024-06-25T03:47:58.538Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T03:47:58.538Z] fb5054dd5b73: Pulling fs layer [2024-06-25T03:47:58.538Z] eeca6798cff9: Pulling fs layer [2024-06-25T03:47:58.538Z] aa269ceb94a6: Pulling fs layer [2024-06-25T03:47:58.538Z] ada007ff1a6a: Pulling fs layer [2024-06-25T03:47:58.538Z] 4f4fb700ef54: Waiting [2024-06-25T03:47:58.538Z] fb5054dd5b73: Waiting [2024-06-25T03:47:58.538Z] eeca6798cff9: Waiting [2024-06-25T03:47:58.538Z] aa269ceb94a6: Waiting [2024-06-25T03:47:58.538Z] ada007ff1a6a: Waiting [2024-06-25T03:47:58.538Z] 7629e6793208: Waiting [2024-06-25T03:47:58.538Z] 7862e08f4a3e: Verifying Checksum [2024-06-25T03:47:58.538Z] 7862e08f4a3e: Download complete [2024-06-25T03:47:58.538Z] 7629e6793208: Download complete [2024-06-25T03:47:58.538Z] 4f4fb700ef54: Download complete [2024-06-25T03:47:58.538Z] fb5054dd5b73: Verifying Checksum [2024-06-25T03:47:58.538Z] fb5054dd5b73: Download complete [2024-06-25T03:47:58.538Z] 619be1103602: Download complete [2024-06-25T03:47:58.538Z] eeca6798cff9: Verifying Checksum [2024-06-25T03:47:58.538Z] eeca6798cff9: Download complete [2024-06-25T03:47:58.538Z] 619be1103602: Pull complete [2024-06-25T03:47:58.799Z] 7862e08f4a3e: Pull complete [2024-06-25T03:47:58.799Z] ada007ff1a6a: Verifying Checksum [2024-06-25T03:47:58.799Z] ada007ff1a6a: Download complete [2024-06-25T03:47:59.060Z] 5df492c9dc93: Verifying Checksum [2024-06-25T03:47:59.060Z] 5df492c9dc93: Download complete [2024-06-25T03:47:59.627Z] aa269ceb94a6: Verifying Checksum [2024-06-25T03:47:59.627Z] aa269ceb94a6: Download complete [2024-06-25T03:48:02.918Z] 5df492c9dc93: Pull complete [2024-06-25T03:48:02.918Z] 7629e6793208: Pull complete [2024-06-25T03:48:02.918Z] 4f4fb700ef54: Pull complete [2024-06-25T03:48:02.918Z] fb5054dd5b73: Pull complete [2024-06-25T03:48:02.918Z] eeca6798cff9: Pull complete [2024-06-25T03:48:05.475Z] aa269ceb94a6: Pull complete [2024-06-25T03:48:06.052Z] ada007ff1a6a: Pull complete [2024-06-25T03:48:06.052Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-25T03:48:06.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-25T03:48:06.052Z] ---> f489d0715acc [2024-06-25T03:48:06.052Z] Step 3/10 : ARG MAKE=make build [2024-06-25T03:48:08.592Z] ---> Running in 96f36aba118b [2024-06-25T03:48:08.592Z] Removing intermediate container 96f36aba118b [2024-06-25T03:48:08.592Z] ---> a02c1128e72b [2024-06-25T03:48:08.592Z] Step 4/10 : WORKDIR /device-sdk-go [2024-06-25T03:48:08.592Z] ---> Running in 49d68c03032b [2024-06-25T03:48:08.592Z] Removing intermediate container 49d68c03032b [2024-06-25T03:48:08.592Z] ---> c5439a020e52 [2024-06-25T03:48:08.592Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-25T03:48:08.853Z] ---> Running in ceb0d98bff4d [2024-06-25T03:48:08.853Z] Removing intermediate container ceb0d98bff4d [2024-06-25T03:48:08.853Z] ---> 2f050a4b14e2 [2024-06-25T03:48:08.853Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-06-25T03:48:08.853Z] ---> Running in 69e093e50e53 [2024-06-25T03:48:09.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T03:48:09.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T03:48:09.636Z] OK: 264 MiB in 52 packages [2024-06-25T03:48:09.896Z] Removing intermediate container 69e093e50e53 [2024-06-25T03:48:09.896Z] ---> 3fe5b4542810 [2024-06-25T03:48:09.896Z] Step 7/10 : COPY go.mod vendor* ./ [2024-06-25T03:48:10.156Z] ---> 843490206f37 [2024-06-25T03:48:10.156Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T03:48:10.156Z] ---> Running in 947a992e64af [2024-06-25T03:48:11.905Z] Still waiting to schedule task [2024-06-25T03:48:11.906Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-25T03:48:56.893Z] Removing intermediate container 947a992e64af [2024-06-25T03:48:56.893Z] ---> df441fb27caf [2024-06-25T03:48:56.893Z] Step 9/10 : COPY . . [2024-06-25T03:48:56.893Z] ---> b7094c5e91b4 [2024-06-25T03:48:56.893Z] Step 10/10 : RUN ${MAKE} [2024-06-25T03:48:56.893Z] ---> Running in 3ff15b2572d4 [2024-06-25T03:48:56.893Z] noop [2024-06-25T03:48:56.893Z] Removing intermediate container 3ff15b2572d4 [2024-06-25T03:48:56.893Z] ---> cbc1f4d41c7c [2024-06-25T03:48:56.893Z] Successfully built cbc1f4d41c7c [2024-06-25T03:48:56.893Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:48:57.234Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T03:48:57.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T03:48:57.318Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T03:48:57.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2024-06-25T03:48:57.716Z] $ docker top 0c6d4d00238ba113ae6ce023897b8113264220a72c43e85cb5dffe54fce4af05 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T03:48:58.067Z] + go version [2024-06-25T03:48:58.067Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-25T03:48:58.082Z] $ docker stop --time=1 0c6d4d00238ba113ae6ce023897b8113264220a72c43e85cb5dffe54fce4af05 [2024-06-25T03:48:59.357Z] $ docker rm -f --volumes 0c6d4d00238ba113ae6ce023897b8113264220a72c43e85cb5dffe54fce4af05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:48:59.804Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T03:48:59.804Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T03:48:59.895Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T03:48:59.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2024-06-25T03:49:00.293Z] $ docker top 9e80829e1219065180b0e78f311a1758b4c96501d5bbfebcdc2714ff8f0ef526 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T03:49:00.653Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-06-25T03:49:00.960Z] + make test [2024-06-25T03:49:00.960Z] go test -race -coverprofile=coverage.out ./... [2024-06-25T03:49:09.086Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-06-25T03:49:47.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.046s coverage: 27.6% of statements [2024-06-25T03:49:47.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.067s coverage: 80.0% of statements [2024-06-25T03:49:47.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-06-25T03:49:47.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.097s coverage: 71.8% of statements [2024-06-25T03:49:47.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-06-25T03:49:50.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.062s coverage: 14.4% of statements [2024-06-25T03:49:50.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.780s coverage: 44.6% of statements [2024-06-25T03:49:50.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.078s coverage: 68.5% of statements [2024-06-25T03:49:50.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.116s coverage: 89.2% of statements [2024-06-25T03:49:50.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.063s coverage: 5.5% of statements [2024-06-25T03:50:01.552Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4311 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-06-25T03:50:01.575Z] Running in /w/workspace/device-sdk-go/292 [Pipeline] { [Pipeline] checkout [2024-06-25T03:50:04.643Z] The recommended git tool is: git [2024-06-25T03:50:13.667Z] using credential edgex-jenkins-ssh [2024-06-25T03:50:13.696Z] Cloning the remote Git repository [2024-06-25T03:50:13.762Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-06-25T03:50:13.905Z] > git init /w/workspace/device-sdk-go/292 # timeout=10 [2024-06-25T03:50:14.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-06-25T03:50:14.190Z] > git --version # timeout=10 [2024-06-25T03:50:14.273Z] > git --version # 'git version 2.25.1' [2024-06-25T03:50:14.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T03:50:14.595Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T03:50:18.145Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-06-25T03:50:18.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T03:50:19.013Z] Avoid second fetch [2024-06-25T03:50:19.014Z] Checking out Revision f5f74a473092f448edb5d022a206764aad0631ef (main) [2024-06-25T03:50:19.653Z] Commit message: "Merge pull request #1587 from cloudxxx8/issue-1586" [2024-06-25T03:50:19.037Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T03:50:19.106Z] > git checkout -f f5f74a473092f448edb5d022a206764aad0631ef # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T03:50:24.331Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-25T03:50:24.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T03:50:24.331Z] Dload Upload Total Spent Left Speed [2024-06-25T03:50:24.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-06-25T03:50:24.671Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-25T03:50:25.001Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-25T03:50:25.001Z] + sudo tee /etc/docker/daemon.new [2024-06-25T03:50:25.001Z] { [2024-06-25T03:50:25.001Z] "registry-mirrors": [ [2024-06-25T03:50:25.001Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-25T03:50:25.001Z] ], [2024-06-25T03:50:25.001Z] "bip": "10.250.0.254/24", [2024-06-25T03:50:25.001Z] "hosts": [ [2024-06-25T03:50:25.001Z] "tcp://0.0.0.0:5555", [2024-06-25T03:50:25.001Z] "unix:///var/run/docker.sock" [2024-06-25T03:50:25.001Z] ], [2024-06-25T03:50:25.001Z] "mtu": 1458, [2024-06-25T03:50:25.001Z] "selinux-enabled": true, [2024-06-25T03:50:25.001Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-25T03:50:25.001Z] } [Pipeline] sh [2024-06-25T03:50:25.334Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-25T03:50:25.668Z] + sudo service docker restart [2024-06-25T03:50:29.099Z] GO111MODULE=on go vet ./... [2024-06-25T03:50:30.490Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T03:50:30.490Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T03:50:30.490Z] ./bin/test-attribution-txt.sh [2024-06-25T03:50:30.490Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T03:50:30.490Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T03:50:30.749Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T03:50:30.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T03:50:30.782Z] $ docker stop --time=1 9e80829e1219065180b0e78f311a1758b4c96501d5bbfebcdc2714ff8f0ef526 [2024-06-25T03:50:34.893Z] $ docker rm -f --volumes 9e80829e1219065180b0e78f311a1758b4c96501d5bbfebcdc2714ff8f0ef526 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T03:50:35.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T03:50:35.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-25T03:50:36.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T03:50:36.446Z] + ls -al . [2024-06-25T03:50:36.446Z] total 376 [2024-06-25T03:50:36.446Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 25 03:49 . [2024-06-25T03:50:36.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:47 .. [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 03:47 .dockerignore [2024-06-25T03:50:36.446Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 03:49 .git [2024-06-25T03:50:36.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:47 .github [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 137 Jun 25 03:47 .gitignore [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 25 03:47 .golangci.yml [2024-06-25T03:50:36.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 03:47 .semver [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jun 25 03:47 CHANGELOG.md [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 03:47 GOVERNANCE.md [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 885 Jun 25 03:47 Jenkinsfile [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 03:47 LICENSE [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jun 25 03:47 Makefile [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 25 03:47 OWNERS.md [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jun 25 03:47 README.md [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 03:47 VERSION [2024-06-25T03:50:36.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 03:47 bin [2024-06-25T03:50:36.446Z] -rw-r--r-- 1 jenkins jenkins 122321 Jun 25 03:49 coverage.out [2024-06-25T03:50:36.446Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 03:47 example [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jun 25 03:47 go.mod [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 101331 Jun 25 03:47 go.sum [2024-06-25T03:50:36.446Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 03:47 internal [2024-06-25T03:50:36.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:47 openapi [2024-06-25T03:50:36.446Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 25 03:47 pkg [2024-06-25T03:50:36.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:47 snap [2024-06-25T03:50:36.446Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 03:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:50:36.764Z] + 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=f5f74a473092f448edb5d022a206764aad0631ef --label arch=amd64 --label version=3.2.0-dev.17 . [2024-06-25T03:50:36.764Z] Sending build context to Docker daemon 24.98MB [2024-06-25T03:50:36.764Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T03:50:36.764Z] Step 2/24 : FROM ${BASE} AS builder [2024-06-25T03:50:36.764Z] ---> cbc1f4d41c7c [2024-06-25T03:50:36.764Z] Step 3/24 : ARG MAKE=make build [2024-06-25T03:50:37.332Z] ---> Running in e921f52b490a [2024-06-25T03:50:37.332Z] Removing intermediate container e921f52b490a [2024-06-25T03:50:37.332Z] ---> 6b06515254cd [2024-06-25T03:50:37.332Z] Step 4/24 : WORKDIR /device-sdk-go [2024-06-25T03:50:37.332Z] ---> Running in c75bd0e096dc [2024-06-25T03:50:37.332Z] Removing intermediate container c75bd0e096dc [2024-06-25T03:50:37.332Z] ---> ada5e635ce99 [2024-06-25T03:50:37.332Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-25T03:50:37.332Z] ---> Running in 52a255fda0a0 [2024-06-25T03:50:37.590Z] Removing intermediate container 52a255fda0a0 [2024-06-25T03:50:37.590Z] ---> 2414d52786f9 [2024-06-25T03:50:37.590Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-06-25T03:50:37.590Z] ---> Running in ba4cbf365f25 [2024-06-25T03:50:37.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T03:50:37.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T03:50:38.419Z] OK: 264 MiB in 52 packages [2024-06-25T03:50:38.678Z] Removing intermediate container ba4cbf365f25 [2024-06-25T03:50:38.678Z] ---> 2589f0f75b7e [2024-06-25T03:50:38.678Z] Step 7/24 : COPY go.mod vendor* ./ [2024-06-25T03:50:38.678Z] ---> ac23abaca48d [2024-06-25T03:50:38.678Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T03:50:38.678Z] ---> Running in a53b013758d7 [2024-06-25T03:50:39.246Z] Removing intermediate container a53b013758d7 [2024-06-25T03:50:39.246Z] ---> c234b5c1fc0a [2024-06-25T03:50:39.246Z] Step 9/24 : COPY . . [2024-06-25T03:50:40.184Z] ---> 5bdac6a1f2e0 [2024-06-25T03:50:40.184Z] Step 10/24 : RUN ${MAKE} [2024-06-25T03:50:40.184Z] ---> Running in 5359aa9182a3 [2024-06-25T03:50:40.443Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T03:50:43.929Z] provisioning config files... [2024-06-25T03:50:43.968Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/292@tmp/config16123032183243428187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T03:50:44.436Z] ---> ****-login.sh [2024-06-25T03:50:44.436Z] nexus3.edgexfoundry.org:10001 [2024-06-25T03:50:44.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:50:44.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:50:44.983Z] Configure a credential helper to remove this warning. See [2024-06-25T03:50:44.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:50:44.983Z] [2024-06-25T03:50:44.983Z] Login Succeeded [2024-06-25T03:50:44.983Z] nexus3.edgexfoundry.org:10002 [2024-06-25T03:50:45.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:50:45.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:50:45.538Z] Configure a credential helper to remove this warning. See [2024-06-25T03:50:45.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:50:45.538Z] [2024-06-25T03:50:45.538Z] Login Succeeded [2024-06-25T03:50:45.538Z] nexus3.edgexfoundry.org:10003 [2024-06-25T03:50:45.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:50:45.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:50:45.811Z] Configure a credential helper to remove this warning. See [2024-06-25T03:50:45.811Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:50:45.811Z] [2024-06-25T03:50:45.811Z] Login Succeeded [2024-06-25T03:50:45.811Z] nexus3.edgexfoundry.org:10004 [2024-06-25T03:50:46.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:50:46.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:50:46.088Z] Configure a credential helper to remove this warning. See [2024-06-25T03:50:46.088Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:50:46.088Z] [2024-06-25T03:50:46.088Z] Login Succeeded [2024-06-25T03:50:46.088Z] ****.io [2024-06-25T03:50:46.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T03:50:46.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T03:50:46.632Z] Configure a credential helper to remove this warning. See [2024-06-25T03:50:46.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T03:50:46.632Z] [2024-06-25T03:50:46.632Z] Login Succeeded [2024-06-25T03:50:46.632Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T03:50:46.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T03:50:47.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T03:50:47.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T03:50:47.036Z] ========================================================= [2024-06-25T03:50:47.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-25T03:50:47.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:50:47.415Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-06-25T03:50:48.002Z] Sending build context to Docker daemon 12.85MB [2024-06-25T03:50:48.002Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T03:50:48.002Z] Step 2/10 : FROM ${BASE} AS builder [2024-06-25T03:50:48.269Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-25T03:50:48.269Z] c6b39de5b339: Pulling fs layer [2024-06-25T03:50:48.269Z] a69c41024577: Pulling fs layer [2024-06-25T03:50:48.269Z] d6de4b400683: Pulling fs layer [2024-06-25T03:50:48.269Z] 35cb2a7552d0: Pulling fs layer [2024-06-25T03:50:48.269Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T03:50:48.269Z] 464afbd9ba4c: Pulling fs layer [2024-06-25T03:50:48.269Z] 00f215d4a9da: Pulling fs layer [2024-06-25T03:50:48.269Z] d496ad576159: Pulling fs layer [2024-06-25T03:50:48.269Z] 464afbd9ba4c: Waiting [2024-06-25T03:50:48.269Z] 00f215d4a9da: Waiting [2024-06-25T03:50:48.269Z] 35cb2a7552d0: Waiting [2024-06-25T03:50:48.269Z] 4f4fb700ef54: Waiting [2024-06-25T03:50:48.269Z] d496ad576159: Waiting [2024-06-25T03:50:48.269Z] a69c41024577: Download complete [2024-06-25T03:50:48.269Z] 35cb2a7552d0: Download complete [2024-06-25T03:50:48.269Z] 4f4fb700ef54: Download complete [2024-06-25T03:50:48.269Z] 464afbd9ba4c: Verifying Checksum [2024-06-25T03:50:48.269Z] 464afbd9ba4c: Download complete [2024-06-25T03:50:48.269Z] c6b39de5b339: Download complete [2024-06-25T03:50:48.862Z] d496ad576159: Verifying Checksum [2024-06-25T03:50:48.862Z] d496ad576159: Download complete [2024-06-25T03:50:49.449Z] c6b39de5b339: Pull complete [2024-06-25T03:50:50.037Z] a69c41024577: Pull complete [2024-06-25T03:50:50.309Z] d6de4b400683: Verifying Checksum [2024-06-25T03:50:50.309Z] d6de4b400683: Download complete [2024-06-25T03:50:51.734Z] 00f215d4a9da: Verifying Checksum [2024-06-25T03:50:51.734Z] 00f215d4a9da: Download complete [2024-06-25T03:51:04.067Z] d6de4b400683: Pull complete [2024-06-25T03:51:04.067Z] 35cb2a7552d0: Pull complete [2024-06-25T03:51:04.067Z] 4f4fb700ef54: Pull complete [2024-06-25T03:51:04.067Z] 464afbd9ba4c: Pull complete [2024-06-25T03:51:12.285Z] 00f215d4a9da: Pull complete [2024-06-25T03:51:12.526Z] Removing intermediate container 5359aa9182a3 [2024-06-25T03:51:12.526Z] ---> 137375486a56 [2024-06-25T03:51:12.526Z] Step 11/24 : FROM alpine:3.18 [2024-06-25T03:51:12.526Z] 3.18: Pulling from library/alpine [2024-06-25T03:51:12.526Z] 73baa7ef167e: Pulling fs layer [2024-06-25T03:51:12.526Z] 73baa7ef167e: Download complete [2024-06-25T03:51:12.526Z] 73baa7ef167e: Pull complete [2024-06-25T03:51:12.526Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T03:51:12.526Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T03:51:12.526Z] ---> 8fd7cac70a4a [2024-06-25T03:51:12.526Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-06-25T03:51:12.526Z] ---> Running in 5f49a2a0e1d0 [2024-06-25T03:51:12.526Z] Removing intermediate container 5f49a2a0e1d0 [2024-06-25T03:51:12.526Z] ---> c4a76aab009e [2024-06-25T03:51:12.526Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-06-25T03:51:12.526Z] ---> Running in 6166cedabd0f [2024-06-25T03:51:12.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T03:51:12.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T03:51:12.526Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T03:51:12.526Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T03:51:12.526Z] OK: 7 MiB in 16 packages [2024-06-25T03:51:12.526Z] Removing intermediate container 6166cedabd0f [2024-06-25T03:51:12.526Z] ---> 340038a3f473 [2024-06-25T03:51:12.526Z] Step 14/24 : RUN apk --no-cache upgrade [2024-06-25T03:51:12.526Z] ---> Running in ffbc464980c1 [2024-06-25T03:51:12.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T03:51:12.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T03:51:12.526Z] OK: 7 MiB in 16 packages [2024-06-25T03:51:12.788Z] Removing intermediate container ffbc464980c1 [2024-06-25T03:51:12.788Z] ---> c7edbc350b7b [2024-06-25T03:51:12.788Z] Step 15/24 : WORKDIR / [2024-06-25T03:51:12.788Z] ---> Running in 4a2d005bbe32 [2024-06-25T03:51:13.050Z] Removing intermediate container 4a2d005bbe32 [2024-06-25T03:51:13.050Z] ---> 702447ab95d8 [2024-06-25T03:51:13.050Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-06-25T03:51:13.050Z] ---> 79483592be56 [2024-06-25T03:51:13.050Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-06-25T03:51:13.702Z] d496ad576159: Pull complete [2024-06-25T03:51:13.702Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-25T03:51:13.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-25T03:51:13.702Z] ---> f246e2811388 [2024-06-25T03:51:13.702Z] Step 3/10 : ARG MAKE=make build [2024-06-25T03:51:14.429Z] ---> 6de8a49a35ca [2024-06-25T03:51:14.429Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-06-25T03:51:14.688Z] ---> c8a01adae099 [2024-06-25T03:51:14.688Z] Step 19/24 : EXPOSE 59999 [2024-06-25T03:51:14.688Z] ---> Running in 2a216e1274f1 [2024-06-25T03:51:14.688Z] Removing intermediate container 2a216e1274f1 [2024-06-25T03:51:14.688Z] ---> 71bdc4e2fece [2024-06-25T03:51:14.688Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-06-25T03:51:14.688Z] ---> Running in 5c99622973b0 [2024-06-25T03:51:14.946Z] Removing intermediate container 5c99622973b0 [2024-06-25T03:51:14.946Z] ---> bc979558436e [2024-06-25T03:51:14.946Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-06-25T03:51:14.946Z] ---> Running in 6f78c82e4acc [2024-06-25T03:51:14.946Z] Removing intermediate container 6f78c82e4acc [2024-06-25T03:51:14.946Z] ---> 3409976200ac [2024-06-25T03:51:14.946Z] Step 22/24 : LABEL arch=amd64 [2024-06-25T03:51:14.946Z] ---> Running in a0999662f745 [2024-06-25T03:51:14.946Z] Removing intermediate container a0999662f745 [2024-06-25T03:51:14.946Z] ---> b10105b274f1 [2024-06-25T03:51:14.946Z] Step 23/24 : LABEL git_sha=f5f74a473092f448edb5d022a206764aad0631ef [2024-06-25T03:51:14.946Z] ---> Running in 4e81e28bb93c [2024-06-25T03:51:15.204Z] Removing intermediate container 4e81e28bb93c [2024-06-25T03:51:15.204Z] ---> d182ebee2e11 [2024-06-25T03:51:15.204Z] Step 24/24 : LABEL version=3.2.0-dev.17 [2024-06-25T03:51:15.204Z] ---> Running in 241d4b4fcbc7 [2024-06-25T03:51:15.204Z] Removing intermediate container 241d4b4fcbc7 [2024-06-25T03:51:15.204Z] ---> 605e2f31d6ad [2024-06-25T03:51:15.204Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T03:51:15.204Z] Successfully built 605e2f31d6ad [2024-06-25T03:51:15.204Z] 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 [2024-06-25T03:51:15.656Z] ---> Running in ef3ad18fe6b8 [2024-06-25T03:51:15.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T03:51:15.688Z] [2024-06-25T03:51:15.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:51:15.936Z] Removing intermediate container ef3ad18fe6b8 [2024-06-25T03:51:15.937Z] ---> 4c3b7db25352 [2024-06-25T03:51:15.937Z] Step 4/10 : WORKDIR /device-sdk-go [2024-06-25T03:51:15.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T03:51:15.992Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-25T03:51:15.992Z] 5eb5b503b376: Pulling fs layer [2024-06-25T03:51:15.992Z] 5c69ac0246d0: Pulling fs layer [2024-06-25T03:51:15.992Z] ec43610c2a17: Pulling fs layer [2024-06-25T03:51:15.992Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-25T03:51:15.992Z] 33b1e0a273af: Pulling fs layer [2024-06-25T03:51:15.992Z] 5d3b04190fa2: Pulling fs layer [2024-06-25T03:51:15.992Z] 2f39f015ded8: Pulling fs layer [2024-06-25T03:51:15.992Z] 3a2ae6a8a46f: Waiting [2024-06-25T03:51:15.992Z] 5d3b04190fa2: Waiting [2024-06-25T03:51:15.992Z] 2f39f015ded8: Waiting [2024-06-25T03:51:15.992Z] 5c69ac0246d0: Download complete [2024-06-25T03:51:15.992Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-25T03:51:15.992Z] 3a2ae6a8a46f: Download complete [2024-06-25T03:51:15.992Z] 33b1e0a273af: Verifying Checksum [2024-06-25T03:51:15.992Z] 33b1e0a273af: Download complete [2024-06-25T03:51:15.992Z] 5d3b04190fa2: Verifying Checksum [2024-06-25T03:51:15.992Z] 5d3b04190fa2: Download complete [2024-06-25T03:51:15.992Z] ec43610c2a17: Verifying Checksum [2024-06-25T03:51:15.992Z] ec43610c2a17: Download complete [2024-06-25T03:51:16.212Z] ---> Running in 81f26e0aac27 [2024-06-25T03:51:16.257Z] 5eb5b503b376: Verifying Checksum [2024-06-25T03:51:16.257Z] 5eb5b503b376: Download complete [2024-06-25T03:51:16.488Z] Removing intermediate container 81f26e0aac27 [2024-06-25T03:51:16.488Z] ---> ca654465aaab [2024-06-25T03:51:16.488Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-25T03:51:16.488Z] ---> Running in 2505eb44f05b [2024-06-25T03:51:16.757Z] Removing intermediate container 2505eb44f05b [2024-06-25T03:51:16.757Z] ---> b6ce587c4e92 [2024-06-25T03:51:16.757Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-06-25T03:51:16.823Z] 2f39f015ded8: Download complete [2024-06-25T03:51:17.034Z] ---> Running in 51115ad2d1ec [2024-06-25T03:51:17.389Z] 5eb5b503b376: Pull complete [2024-06-25T03:51:17.389Z] 5c69ac0246d0: Pull complete [2024-06-25T03:51:17.957Z] ec43610c2a17: Pull complete [2024-06-25T03:51:17.957Z] 3a2ae6a8a46f: Pull complete [2024-06-25T03:51:17.957Z] 33b1e0a273af: Pull complete [2024-06-25T03:51:18.216Z] 5d3b04190fa2: Pull complete [2024-06-25T03:51:18.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T03:51:18.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T03:51:19.683Z] OK: 266 MiB in 52 packages [2024-06-25T03:51:20.649Z] Removing intermediate container 51115ad2d1ec [2024-06-25T03:51:20.649Z] ---> 6d042e22b0a7 [2024-06-25T03:51:20.649Z] Step 7/10 : COPY go.mod vendor* ./ [2024-06-25T03:51:21.239Z] ---> 01cc318a0cb3 [2024-06-25T03:51:21.239Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T03:51:21.239Z] ---> Running in ff97073df425 [2024-06-25T03:51:22.406Z] 2f39f015ded8: Pull complete [2024-06-25T03:51:22.406Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-25T03:51:22.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T03:51:22.406Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T03:51:22.507Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T03:51:22.547Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-25T03:51:25.776Z] $ docker top 48a47a5094dcf63e519b4546d3cc46148142a74db78f5ef6d7b30c9b4123a9e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T03:51:26.178Z] ---> job-cost.sh [2024-06-25T03:51:26.178Z] lf-activate-venv: SKIPPING [2024-06-25T03:51:26.178Z] INFO: No Stack... [2024-06-25T03:51:26.437Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T03:51:27.006Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T03:51:27.297Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-06-25T03:51:27.297Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T03:51:27.314Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [2024-06-25T03:51:27.321Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] did not exist. Created. [2024-06-25T03:51:27.328Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T03:51:27.636Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-25T03:51:27.675Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T03:51:27.684Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T03:51:27.716Z] $ docker stop --time=1 48a47a5094dcf63e519b4546d3cc46148142a74db78f5ef6d7b30c9b4123a9e8 [2024-06-25T03:51:28.875Z] $ docker rm -f --volumes 48a47a5094dcf63e519b4546d3cc46148142a74db78f5ef6d7b30c9b4123a9e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-25T03:53:12.915Z] Removing intermediate container ff97073df425 [2024-06-25T03:53:12.915Z] ---> 5ae663882cc4 [2024-06-25T03:53:12.915Z] Step 9/10 : COPY . . [2024-06-25T03:53:12.915Z] ---> 3966f1855af4 [2024-06-25T03:53:12.915Z] Step 10/10 : RUN ${MAKE} [2024-06-25T03:53:12.915Z] ---> Running in f445d28e5f2b [2024-06-25T03:53:12.915Z] noop [2024-06-25T03:53:12.915Z] Removing intermediate container f445d28e5f2b [2024-06-25T03:53:12.915Z] ---> 6ae2ee463c9b [2024-06-25T03:53:12.915Z] Successfully built 6ae2ee463c9b [2024-06-25T03:53:12.915Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:53:13.277Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T03:53:13.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T03:53:13.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container [2024-06-25T03:53:13.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/292 -v /w/workspace/device-sdk-go/292:/w/workspace/device-sdk-go/292:rw,z -v /w/workspace/device-sdk-go/292@tmp:/w/workspace/device-sdk-go/292@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 ******** ci-base-image-arm64 cat [2024-06-25T03:53:14.875Z] $ docker top 2116dfdb6eaaaccd279d73345541c3598d2fdc9b87e6d26a418db39c479f3d33 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T03:53:15.727Z] + go version [2024-06-25T03:53:15.727Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-25T03:53:15.755Z] $ docker stop --time=1 2116dfdb6eaaaccd279d73345541c3598d2fdc9b87e6d26a418db39c479f3d33 [2024-06-25T03:53:17.369Z] $ docker rm -f --volumes 2116dfdb6eaaaccd279d73345541c3598d2fdc9b87e6d26a418db39c479f3d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T03:53:17.925Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T03:53:17.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T03:53:18.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container [2024-06-25T03:53:18.204Z] $ 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/292 -v /w/workspace/device-sdk-go/292:/w/workspace/device-sdk-go/292:rw,z -v /w/workspace/device-sdk-go/292@tmp:/w/workspace/device-sdk-go/292@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 ******** ci-base-image-arm64 cat [2024-06-25T03:53:19.374Z] $ docker top f051b1bddee455f832e69c957fd5634bb1fe5c1cb0a15fc9f47fe220d735fc43 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T03:53:20.178Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/292 [Pipeline] fileExists [Pipeline] sh [2024-06-25T03:53:20.833Z] + make test [2024-06-25T03:53:20.833Z] go test -race -coverprofile=coverage.out ./... [2024-06-25T03:54:07.664Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-06-25T03:57:44.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-06-25T03:57:44.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-06-25T03:57:44.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-06-25T03:57:44.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-06-25T03:57:44.492Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-06-25T03:57:59.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.337s coverage: 27.6% of statements [2024-06-25T03:58:02.124Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.318s coverage: 80.0% of statements [2024-06-25T03:58:10.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-06-25T03:58:10.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-06-25T03:58:10.950Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.474s coverage: 86.0% of statements [2024-06-25T03:58:14.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-06-25T03:58:16.409Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.815s coverage: 71.8% of statements [2024-06-25T03:58:20.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements [2024-06-25T03:58:21.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-06-25T03:58:21.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-06-25T03:58:21.926Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.097s coverage: 44.6% of statements [2024-06-25T03:58:23.338Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.432s coverage: 68.5% of statements [2024-06-25T03:58:27.613Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.524s coverage: 89.2% of statements [2024-06-25T03:58:30.986Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-06-25T03:58:31.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.370s coverage: 5.5% of statements [2024-06-25T03:58:33.364Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-25T03:58:33.364Z] GO111MODULE=on go vet ./... [2024-06-25T04:02:55.227Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T04:02:55.227Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T04:02:55.227Z] ./bin/test-attribution-txt.sh [2024-06-25T04:02:55.227Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T04:02:55.227Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T04:02:55.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T04:02:55.279Z] $ docker stop --time=1 f051b1bddee455f832e69c957fd5634bb1fe5c1cb0a15fc9f47fe220d735fc43 [2024-06-25T04:02:57.290Z] $ docker rm -f --volumes f051b1bddee455f832e69c957fd5634bb1fe5c1cb0a15fc9f47fe220d735fc43 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T04:02:59.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T04:02:59.534Z] Warning: overwriting stash ‘coverage-report’ [2024-06-25T04:03:00.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T04:03:00.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T04:03:00.815Z] + ls -al . [2024-06-25T04:03:00.815Z] total 372 [2024-06-25T04:03:00.815Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 03:53 . [2024-06-25T04:03:00.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:50 .. [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 03:50 .dockerignore [2024-06-25T04:03:00.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 03:50 .git [2024-06-25T04:03:00.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:50 .github [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 137 Jun 25 03:50 .gitignore [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 25 03:50 .golangci.yml [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jun 25 03:50 CHANGELOG.md [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 03:50 GOVERNANCE.md [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 885 Jun 25 03:50 Jenkinsfile [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 03:50 LICENSE [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jun 25 03:50 Makefile [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 25 03:50 OWNERS.md [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jun 25 03:50 README.md [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 03:47 VERSION [2024-06-25T04:03:00.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 03:50 bin [2024-06-25T04:03:00.815Z] -rw-r--r-- 1 jenkins jenkins 122322 Jun 25 03:58 coverage.out [2024-06-25T04:03:00.815Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 03:50 example [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jun 25 03:50 go.mod [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 101331 Jun 25 03:50 go.sum [2024-06-25T04:03:00.815Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 03:50 internal [2024-06-25T04:03:00.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:50 openapi [2024-06-25T04:03:00.815Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 25 03:50 pkg [2024-06-25T04:03:00.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:50 snap [2024-06-25T04:03:00.815Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 03:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:03:01.157Z] + 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=f5f74a473092f448edb5d022a206764aad0631ef --label arch=arm64 --label version=3.2.0-dev.17 . [2024-06-25T04:03:01.751Z] Sending build context to Docker daemon 12.97MB [2024-06-25T04:03:01.751Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T04:03:01.751Z] Step 2/24 : FROM ${BASE} AS builder [2024-06-25T04:03:01.751Z] ---> 6ae2ee463c9b [2024-06-25T04:03:01.751Z] Step 3/24 : ARG MAKE=make build [2024-06-25T04:03:02.017Z] ---> Running in 63cdd9c09c54 [2024-06-25T04:03:02.282Z] Removing intermediate container 63cdd9c09c54 [2024-06-25T04:03:02.282Z] ---> de60f4b89296 [2024-06-25T04:03:02.282Z] Step 4/24 : WORKDIR /device-sdk-go [2024-06-25T04:03:02.282Z] ---> Running in 972836df7105 [2024-06-25T04:03:02.548Z] Removing intermediate container 972836df7105 [2024-06-25T04:03:02.548Z] ---> 6372a4f80656 [2024-06-25T04:03:02.548Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-25T04:03:02.548Z] ---> Running in 4c006cb2af9a [2024-06-25T04:03:02.814Z] Removing intermediate container 4c006cb2af9a [2024-06-25T04:03:02.814Z] ---> e6ac34be0761 [2024-06-25T04:03:02.814Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-06-25T04:03:03.080Z] ---> Running in d468090b60dc [2024-06-25T04:03:04.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T04:03:04.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T04:03:05.257Z] OK: 266 MiB in 52 packages [2024-06-25T04:03:06.220Z] Removing intermediate container d468090b60dc [2024-06-25T04:03:06.220Z] ---> 8962eea1946a [2024-06-25T04:03:06.220Z] Step 7/24 : COPY go.mod vendor* ./ [2024-06-25T04:03:06.487Z] ---> 308a3426205e [2024-06-25T04:03:06.487Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T04:03:06.487Z] ---> Running in cf23ff55ad9c [2024-06-25T04:03:09.065Z] Removing intermediate container cf23ff55ad9c [2024-06-25T04:03:09.065Z] ---> 58a297273299 [2024-06-25T04:03:09.065Z] Step 9/24 : COPY . . [2024-06-25T04:03:10.471Z] ---> f9b20a3ae309 [2024-06-25T04:03:10.471Z] Step 10/24 : RUN ${MAKE} [2024-06-25T04:03:10.471Z] ---> Running in 07bbf8bcc5e7 [2024-06-25T04:03:11.430Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-06-25T04:07:03.241Z] Removing intermediate container 07bbf8bcc5e7 [2024-06-25T04:07:03.241Z] ---> cf907103732c [2024-06-25T04:07:03.241Z] Step 11/24 : FROM alpine:3.18 [2024-06-25T04:07:03.241Z] 3.18: Pulling from library/alpine [2024-06-25T04:07:03.241Z] 5c905c7ebe2f: Pulling fs layer [2024-06-25T04:07:03.241Z] 5c905c7ebe2f: Verifying Checksum [2024-06-25T04:07:03.241Z] 5c905c7ebe2f: Download complete [2024-06-25T04:07:03.241Z] 5c905c7ebe2f: Pull complete [2024-06-25T04:07:03.241Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T04:07:03.241Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T04:07:03.241Z] ---> dec292d02e07 [2024-06-25T04:07:03.241Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-06-25T04:07:03.241Z] ---> Running in 9e12b198be86 [2024-06-25T04:07:03.241Z] Removing intermediate container 9e12b198be86 [2024-06-25T04:07:03.241Z] ---> d5d0b9e359b3 [2024-06-25T04:07:03.241Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-06-25T04:07:03.241Z] ---> Running in aaf36fd33977 [2024-06-25T04:07:03.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T04:07:03.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T04:07:03.241Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T04:07:03.241Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T04:07:03.241Z] OK: 8 MiB in 16 packages [2024-06-25T04:07:03.241Z] Removing intermediate container aaf36fd33977 [2024-06-25T04:07:03.241Z] ---> 6f125e0192e4 [2024-06-25T04:07:03.241Z] Step 14/24 : RUN apk --no-cache upgrade [2024-06-25T04:07:03.241Z] ---> Running in 6b75acdb8601 [2024-06-25T04:07:03.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T04:07:03.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T04:07:03.241Z] OK: 8 MiB in 16 packages [2024-06-25T04:07:03.241Z] Removing intermediate container 6b75acdb8601 [2024-06-25T04:07:03.241Z] ---> fab9eed2781b [2024-06-25T04:07:03.241Z] Step 15/24 : WORKDIR / [2024-06-25T04:07:03.241Z] ---> Running in 6c88e18f25b4 [2024-06-25T04:07:03.507Z] Removing intermediate container 6c88e18f25b4 [2024-06-25T04:07:03.507Z] ---> 58d79eb2e4a7 [2024-06-25T04:07:03.507Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-06-25T04:07:04.093Z] ---> b82f4f38cfcc [2024-06-25T04:07:04.093Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-06-25T04:07:06.034Z] ---> 65a036b62d2b [2024-06-25T04:07:06.034Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-06-25T04:07:06.617Z] ---> c9589746c694 [2024-06-25T04:07:06.617Z] Step 19/24 : EXPOSE 59999 [2024-06-25T04:07:06.883Z] ---> Running in d68e59c316e3 [2024-06-25T04:07:07.835Z] Removing intermediate container d68e59c316e3 [2024-06-25T04:07:07.835Z] ---> 005ebdbbb688 [2024-06-25T04:07:07.835Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-06-25T04:07:07.835Z] ---> Running in 4029a0241761 [2024-06-25T04:07:08.100Z] Removing intermediate container 4029a0241761 [2024-06-25T04:07:08.100Z] ---> d91161b717bb [2024-06-25T04:07:08.100Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-06-25T04:07:08.100Z] ---> Running in a25e8f5edc1a [2024-06-25T04:07:08.366Z] Removing intermediate container a25e8f5edc1a [2024-06-25T04:07:08.366Z] ---> 3e409bcd492a [2024-06-25T04:07:08.366Z] Step 22/24 : LABEL arch=arm64 [2024-06-25T04:07:08.366Z] ---> Running in 71b52d4556e5 [2024-06-25T04:07:08.632Z] Removing intermediate container 71b52d4556e5 [2024-06-25T04:07:08.632Z] ---> fdd7843dd1ce [2024-06-25T04:07:08.632Z] Step 23/24 : LABEL git_sha=f5f74a473092f448edb5d022a206764aad0631ef [2024-06-25T04:07:08.900Z] ---> Running in ccf15475c932 [2024-06-25T04:07:09.168Z] Removing intermediate container ccf15475c932 [2024-06-25T04:07:09.168Z] ---> 774ef6fe125a [2024-06-25T04:07:09.168Z] Step 24/24 : LABEL version=3.2.0-dev.17 [2024-06-25T04:07:09.168Z] ---> Running in 109423e28c33 [2024-06-25T04:07:09.434Z] Removing intermediate container 109423e28c33 [2024-06-25T04:07:09.434Z] ---> c6cfd42c0bdb [2024-06-25T04:07:09.434Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T04:07:09.700Z] Successfully built c6cfd42c0bdb [2024-06-25T04:07:09.700Z] 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 [2024-06-25T04:07:10.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T04:07:10.179Z] [2024-06-25T04:07:10.179Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:07:10.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T04:07:10.787Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-25T04:07:10.787Z] 8998bd30e6a1: Pulling fs layer [2024-06-25T04:07:10.787Z] 04944245beec: Pulling fs layer [2024-06-25T04:07:10.787Z] 699f458cf7ca: Pulling fs layer [2024-06-25T04:07:10.787Z] 765212b225bb: Pulling fs layer [2024-06-25T04:07:10.787Z] f23df028b6ca: Pulling fs layer [2024-06-25T04:07:10.787Z] d65c8cfc05b1: Pulling fs layer [2024-06-25T04:07:10.787Z] 2437ff75d9bd: Pulling fs layer [2024-06-25T04:07:10.787Z] 765212b225bb: Waiting [2024-06-25T04:07:10.787Z] f23df028b6ca: Waiting [2024-06-25T04:07:10.787Z] d65c8cfc05b1: Waiting [2024-06-25T04:07:10.787Z] 04944245beec: Verifying Checksum [2024-06-25T04:07:10.787Z] 04944245beec: Download complete [2024-06-25T04:07:10.787Z] 765212b225bb: Verifying Checksum [2024-06-25T04:07:10.787Z] f23df028b6ca: Download complete [2024-06-25T04:07:10.787Z] d65c8cfc05b1: Verifying Checksum [2024-06-25T04:07:10.787Z] d65c8cfc05b1: Download complete [2024-06-25T04:07:11.055Z] 699f458cf7ca: Download complete [2024-06-25T04:07:11.637Z] 8998bd30e6a1: Verifying Checksum [2024-06-25T04:07:11.637Z] 8998bd30e6a1: Download complete [2024-06-25T04:07:14.283Z] 2437ff75d9bd: Download complete [2024-06-25T04:07:16.257Z] 8998bd30e6a1: Pull complete [2024-06-25T04:07:16.840Z] 04944245beec: Pull complete [2024-06-25T04:07:18.241Z] 699f458cf7ca: Pull complete [2024-06-25T04:07:18.506Z] 765212b225bb: Pull complete [2024-06-25T04:07:19.462Z] f23df028b6ca: Pull complete [2024-06-25T04:07:19.727Z] d65c8cfc05b1: Pull complete [2024-06-25T04:07:37.928Z] 2437ff75d9bd: Pull complete [2024-06-25T04:07:37.928Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-25T04:07:37.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T04:07:37.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:07:38.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container [2024-06-25T04:07:38.381Z] $ 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/292 -v /w/workspace/device-sdk-go/292:/w/workspace/device-sdk-go/292:rw,z -v /w/workspace/device-sdk-go/292@tmp:/w/workspace/device-sdk-go/292@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-06-25T04:07:41.681Z] $ docker top 7e537ea74ec286031e58dae64b70d3937a8f6854c5f24b732de10aedd05963d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:07:42.592Z] ---> job-cost.sh [2024-06-25T04:07:42.593Z] lf-activate-venv: SKIPPING [2024-06-25T04:07:42.593Z] INFO: No Stack... [2024-06-25T04:07:43.191Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-25T04:07:43.827Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T04:07:44.474Z] + cat /w/workspace/device-sdk-go/292/archives/cost.csv [2024-06-25T04:07:44.474Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T04:07:44.532Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [2024-06-25T04:07:44.544Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] did not exist. Created. [2024-06-25T04:07:44.551Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T04:07:45.235Z] /w/workspace/device-sdk-go/292@tmp/durable-38ee2577/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-25T04:07:45.909Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-25T04:07:45.938Z] Warning: overwriting stash ‘stack-cost’ [2024-06-25T04:07:46.037Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T04:07:46.047Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T04:07:46.092Z] $ docker stop --time=1 7e537ea74ec286031e58dae64b70d3937a8f6854c5f24b732de10aedd05963d8 [2024-06-25T04:07:47.711Z] $ docker rm -f --volumes 7e537ea74ec286031e58dae64b70d3937a8f6854c5f24b732de10aedd05963d8 [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 [2024-06-25T04:07:48.198Z] provisioning config files... [2024-06-25T04:07:48.205Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8681618594523956604tmp [Pipeline] { [Pipeline] sh [2024-06-25T04:07:48.498Z] + set +x [2024-06-25T04:07:48.498Z] + bash -s -- [2024-06-25T04:07:48.498Z] + curl -s https://codecov.io/bash [2024-06-25T04:07:48.498Z] [2024-06-25T04:07:48.498Z] _____ _ [2024-06-25T04:07:48.498Z] / ____| | | [2024-06-25T04:07:48.498Z] | | ___ __| | ___ ___ _____ __ [2024-06-25T04:07:48.498Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-25T04:07:48.498Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-25T04:07:48.498Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-25T04:07:48.498Z] Bash-1.0.6 [2024-06-25T04:07:48.498Z] [2024-06-25T04:07:48.498Z] [2024-06-25T04:07:48.498Z] ==> git version 2.25.1 found [2024-06-25T04:07:48.498Z] ==> 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 [2024-06-25T04:07:48.498Z] Release-Date: 2020-01-08 [2024-06-25T04:07:48.498Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-06-25T04:07:48.498Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-25T04:07:48.498Z] ==> Jenkins CI detected. [2024-06-25T04:07:48.498Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-06-25T04:07:48.498Z] project root: . [2024-06-25T04:07:48.498Z] --> token set from env [2024-06-25T04:07:48.498Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-25T04:07:48.498Z] ==> Running gcov in . (disable via -X gcov) [2024-06-25T04:07:48.498Z] ==> Python coveragepy not found [2024-06-25T04:07:48.498Z] ==> Searching for coverage reports in: [2024-06-25T04:07:48.498Z] + . [2024-06-25T04:07:48.498Z] -> Found 1 reports [2024-06-25T04:07:48.498Z] ==> Detecting git/mercurial file structure [2024-06-25T04:07:48.498Z] ==> Reading reports [2024-06-25T04:07:48.498Z] + ./coverage.out bytes=122322 [2024-06-25T04:07:48.757Z] ==> Appending adjustments [2024-06-25T04:07:48.757Z] https://docs.codecov.io/docs/fixing-reports [2024-06-25T04:07:49.015Z] + Found adjustments [2024-06-25T04:07:49.015Z] ==> Gzipping contents [2024-06-25T04:07:49.015Z] 20K /tmp/codecov.euPYNo.gz [2024-06-25T04:07:49.015Z] ==> Uploading reports [2024-06-25T04:07:49.015Z] url: https://codecov.io [2024-06-25T04:07:49.016Z] query: branch=main&commit=f5f74a473092f448edb5d022a206764aad0631ef&build=292&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F292%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-06-25T04:07:49.016Z] -> Pinging Codecov [2024-06-25T04:07:49.016Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f5f74a473092f448edb5d022a206764aad0631ef&build=292&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F292%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-06-25T04:07:49.016Z] -> Uploading to [2024-06-25T04:07:49.016Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-25/7E55EF52A471D76F132DFD9A03CDDE97/f5f74a473092f448edb5d022a206764aad0631ef/22ae8720-fec2-43d0-8836-cb19e1642d6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T040748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fdb937c5001e49495046265aa1e8e17bc8cca9d65f49ad8c9e5e633b7a0721c [2024-06-25T04:07:49.016Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T04:07:49.016Z] Dload Upload Total Spent Left Speed [2024-06-25T04:07:49.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16739 0 0 100 16739 0 82458 --:--:-- --:--:-- --:--:-- 82053 100 16739 0 0 100 16739 0 74066 --:--:-- --:--:-- --:--:-- 73740 [2024-06-25T04:07:49.275Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] } [2024-06-25T04:07:49.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-06-25T04:07:49.512Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-06-25T04:07:49.527Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:07:49.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-25T04:07:49.837Z] [2024-06-25T04:07:49.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:07:50.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-25T04:07:50.162Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-06-25T04:07:50.162Z] 619be1103602: Already exists [2024-06-25T04:07:50.162Z] f8ea3408117e: Pulling fs layer [2024-06-25T04:07:50.162Z] 91320369b822: Pulling fs layer [2024-06-25T04:07:50.162Z] 0406650e8295: Pulling fs layer [2024-06-25T04:07:50.162Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T04:07:50.162Z] 96d80e3f36e1: Pulling fs layer [2024-06-25T04:07:50.162Z] bcf3aedb951c: Pulling fs layer [2024-06-25T04:07:50.162Z] 4f4fb700ef54: Waiting [2024-06-25T04:07:50.162Z] 96d80e3f36e1: Waiting [2024-06-25T04:07:50.162Z] bcf3aedb951c: Waiting [2024-06-25T04:07:50.162Z] 0406650e8295: Download complete [2024-06-25T04:07:50.162Z] f8ea3408117e: Download complete [2024-06-25T04:07:50.162Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T04:07:50.162Z] 4f4fb700ef54: Download complete [2024-06-25T04:07:50.422Z] f8ea3408117e: Pull complete [2024-06-25T04:07:50.422Z] 96d80e3f36e1: Verifying Checksum [2024-06-25T04:07:50.422Z] 96d80e3f36e1: Download complete [2024-06-25T04:07:50.679Z] 91320369b822: Verifying Checksum [2024-06-25T04:07:50.679Z] 91320369b822: Download complete [2024-06-25T04:07:51.248Z] bcf3aedb951c: Verifying Checksum [2024-06-25T04:07:51.249Z] bcf3aedb951c: Download complete [2024-06-25T04:07:53.769Z] 91320369b822: Pull complete [2024-06-25T04:07:53.769Z] 0406650e8295: Pull complete [2024-06-25T04:07:53.769Z] 4f4fb700ef54: Pull complete [2024-06-25T04:07:53.769Z] 96d80e3f36e1: Pull complete [2024-06-25T04:07:57.055Z] bcf3aedb951c: Pull complete [2024-06-25T04:07:57.055Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-06-25T04:07:57.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-25T04:07:57.055Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:07:57.151Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T04:07:57.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-06-25T04:08:00.425Z] $ docker top 88cfba943dad589b3e15e24a634ec81b259ef5d6246bd86e4914d428ef9dda98 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T04:08:00.792Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo [2024-06-25T04:08:00.800Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-06-25T04:08:01.078Z] + set -o pipefail [2024-06-25T04:08:01.078Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-06-25T04:08:07.646Z] [2024-06-25T04:08:07.646Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2024-06-25T04:08:07.646Z] [2024-06-25T04:08:07.646Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/f47e2fd7-2128-4b7e-8898-de28b6e317de [2024-06-25T04:08:07.646Z] [2024-06-25T04:08:07.646Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-06-25T04:08:07.646Z] [2024-06-25T04:08:07.646Z] [2024-06-25T04:08:07.646Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2024-06-25T04:08:07.646Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-06-25T04:08:07.645Z] $ docker stop --time=1 88cfba943dad589b3e15e24a634ec81b259ef5d6246bd86e4914d428ef9dda98 [2024-06-25T04:08:11.311Z] $ docker rm -f --volumes 88cfba943dad589b3e15e24a634ec81b259ef5d6246bd86e4914d428ef9dda98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] echo [2024-06-25T04:08:11.935Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T04:08:11.950Z] provisioning config files... [2024-06-25T04:08:11.958Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17248205304710383893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:12.283Z] --> edgex-publish-swagger.sh [2024-06-25T04:08:12.283Z] === Publish openapi/v3 API === [2024-06-25T04:08:12.283Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2024-06-25T04:08:12.283Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2024-06-25T04:08:12.283Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T04:08:12.283Z] Dload Upload Total Spent Left Speed [2024-06-25T04:08:12.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 312k --:--:-- --:--:-- --:--:-- 308k 100 23830 100 156 100 23674 238 36198 --:--:-- --:--:-- --:--:-- 36381 [2024-06-25T04:08:12.851Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-06-25T04:08:12.851Z] [Pipeline] } [2024-06-25T04:08:12.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T04:08:13.305Z] + git log --format=format:%s -1 f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] sh [2024-06-25T04:08:13.597Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T04:08:13.597Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:08:13.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T04:08:13.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:08:14.043Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T04:08:14.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-25T04:08:14.558Z] $ docker top 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T04:08:14.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T04:08:14.681Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T04:08:14.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T04:08:14.805Z] $ docker exec 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 ssh-agent [2024-06-25T04:08:14.927Z] SSH_AUTH_SOCK=/tmp/ssh-qCrqBP2ma3F8/agent.31 [2024-06-25T04:08:14.927Z] SSH_AGENT_PID=37 [2024-06-25T04:08:14.932Z] Running ssh-add (command line suppressed) [2024-06-25T04:08:15.026Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15528199731157484085.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15528199731157484085.key) [2024-06-25T04:08:15.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T04:08:15.345Z] + git semver tag [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,690 [run_tag] DEBUG tag force:False [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,691 [check_head_tag] DEBUG check head tag [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,692 [execute] INFO git cat-file --batch-check [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,697 [execute] INFO git cat-file --batch [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,725 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,725 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.17', '-m', 'v3.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-25T04:08:15.916Z] 2024-06-25 04:08:15,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:15.916Z] 3.2.0-dev.17 [Pipeline] } [2024-06-25T04:08:16.000Z] $ docker exec --env ******** --env ******** 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 ssh-agent -k [2024-06-25T04:08:16.111Z] unset SSH_AUTH_SOCK; [2024-06-25T04:08:16.112Z] unset SSH_AGENT_PID; [2024-06-25T04:08:16.112Z] echo Agent pid 37 killed; [2024-06-25T04:08:16.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T04:08:16.477Z] + git semver [Pipeline] } [2024-06-25T04:08:16.759Z] $ docker stop --time=1 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 [2024-06-25T04:08:18.040Z] $ docker rm -f --volumes 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:08:18.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-25T04:08:18.495Z] [2024-06-25T04:08:18.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:08:18.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-25T04:08:18.806Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-06-25T04:08:18.806Z] ab5ef0e58194: Pulling fs layer [2024-06-25T04:08:18.806Z] 9712f1f96733: Pulling fs layer [2024-06-25T04:08:18.806Z] 63f879dbbcfc: Pulling fs layer [2024-06-25T04:08:18.806Z] 0d9ebad4ef96: Pulling fs layer [2024-06-25T04:08:18.806Z] e9a5061849ea: Pulling fs layer [2024-06-25T04:08:18.806Z] d747dcd14b5f: Pulling fs layer [2024-06-25T04:08:18.806Z] 2de7ff778b66: Pulling fs layer [2024-06-25T04:08:18.806Z] e9a5061849ea: Waiting [2024-06-25T04:08:18.806Z] d747dcd14b5f: Waiting [2024-06-25T04:08:18.806Z] 2de7ff778b66: Waiting [2024-06-25T04:08:18.806Z] 0d9ebad4ef96: Waiting [2024-06-25T04:08:18.806Z] 9712f1f96733: Verifying Checksum [2024-06-25T04:08:18.806Z] 9712f1f96733: Download complete [2024-06-25T04:08:19.064Z] 63f879dbbcfc: Verifying Checksum [2024-06-25T04:08:19.064Z] 63f879dbbcfc: Download complete [2024-06-25T04:08:19.322Z] e9a5061849ea: Verifying Checksum [2024-06-25T04:08:19.322Z] e9a5061849ea: Download complete [2024-06-25T04:08:19.322Z] d747dcd14b5f: Verifying Checksum [2024-06-25T04:08:19.322Z] d747dcd14b5f: Download complete [2024-06-25T04:08:19.322Z] 0d9ebad4ef96: Verifying Checksum [2024-06-25T04:08:19.322Z] 0d9ebad4ef96: Download complete [2024-06-25T04:08:19.581Z] ab5ef0e58194: Verifying Checksum [2024-06-25T04:08:19.581Z] ab5ef0e58194: Download complete [2024-06-25T04:08:19.581Z] 2de7ff778b66: Verifying Checksum [2024-06-25T04:08:19.581Z] 2de7ff778b66: Download complete [2024-06-25T04:08:22.109Z] ab5ef0e58194: Pull complete [2024-06-25T04:08:22.109Z] 9712f1f96733: Pull complete [2024-06-25T04:08:23.043Z] 63f879dbbcfc: Pull complete [2024-06-25T04:08:26.326Z] 0d9ebad4ef96: Pull complete [2024-06-25T04:08:26.584Z] e9a5061849ea: Pull complete [2024-06-25T04:08:26.584Z] d747dcd14b5f: Pull complete [2024-06-25T04:08:27.517Z] 2de7ff778b66: Pull complete [2024-06-25T04:08:27.517Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-06-25T04:08:27.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-25T04:08:27.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:08:27.618Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T04:08:27.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-06-25T04:08:32.187Z] $ docker top c723720e25096155acd6e1b2224d3d065fa48e9500154657907a7923c8c18026 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-06-25T04:08:32.270Z] provisioning config files... [2024-06-25T04:08:32.276Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10494370335404651239tmp [2024-06-25T04:08:32.285Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12954779289644138665tmp [2024-06-25T04:08:32.293Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18440125702754769958tmp [Pipeline] { [Pipeline] echo [2024-06-25T04:08:32.382Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:32.676Z] ---> sigul-configuration.sh [2024-06-25T04:08:32.676Z] gpg: directory `/root/.gnupg' created [2024-06-25T04:08:32.676Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-06-25T04:08:32.676Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-06-25T04:08:32.676Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-06-25T04:08:32.676Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-06-25T04:08:32.676Z] gpg: CAST5 encrypted data [2024-06-25T04:08:32.676Z] gpg: encrypted with 1 passphrase [2024-06-25T04:08:32.676Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-06-25T04:08:32.970Z] + mkdir /home/jenkins [2024-06-25T04:08:32.970Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-06-25T04:08:33.272Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-06-25T04:08:33.289Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:33.582Z] ---> sigul-install.sh [2024-06-25T04:08:33.582Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-06-25T04:08:33.883Z] + git tag --list [2024-06-25T04:08:33.883Z] 0.7.1 [2024-06-25T04:08:33.883Z] delhi-tag [2024-06-25T04:08:33.883Z] v1.0.0 [2024-06-25T04:08:33.883Z] v1.1.0 [2024-06-25T04:08:33.883Z] v1.1.1 [2024-06-25T04:08:33.883Z] v1.1.2 [2024-06-25T04:08:33.883Z] v1.2.0 [2024-06-25T04:08:33.883Z] v1.2.1 [2024-06-25T04:08:33.883Z] v1.2.2 [2024-06-25T04:08:33.883Z] v1.2.3 [2024-06-25T04:08:33.883Z] v1.3.0 [2024-06-25T04:08:33.883Z] v1.4.0 [2024-06-25T04:08:33.883Z] v2.0.0 [2024-06-25T04:08:33.883Z] v2.1.0 [2024-06-25T04:08:33.883Z] v2.1.1 [2024-06-25T04:08:33.883Z] v2.2.0 [2024-06-25T04:08:33.883Z] v2.3.0 [2024-06-25T04:08:33.883Z] v2.3.1 [2024-06-25T04:08:33.883Z] v3.0 [2024-06-25T04:08:33.883Z] v3.0.0 [2024-06-25T04:08:33.883Z] v3.0.1-dev.1 [2024-06-25T04:08:33.883Z] v3.1 [2024-06-25T04:08:33.883Z] v3.1.0 [2024-06-25T04:08:33.883Z] v3.1.0-dev.1 [2024-06-25T04:08:33.883Z] v3.1.0-dev.10 [2024-06-25T04:08:33.883Z] v3.1.0-dev.11 [2024-06-25T04:08:33.883Z] v3.1.0-dev.12 [2024-06-25T04:08:33.883Z] v3.1.0-dev.13 [2024-06-25T04:08:33.883Z] v3.1.0-dev.14 [2024-06-25T04:08:33.883Z] v3.1.0-dev.15 [2024-06-25T04:08:33.883Z] v3.1.0-dev.16 [2024-06-25T04:08:33.883Z] v3.1.0-dev.17 [2024-06-25T04:08:33.883Z] v3.1.0-dev.18 [2024-06-25T04:08:33.883Z] v3.1.0-dev.19 [2024-06-25T04:08:33.883Z] v3.1.0-dev.2 [2024-06-25T04:08:33.883Z] v3.1.0-dev.20 [2024-06-25T04:08:33.883Z] v3.1.0-dev.21 [2024-06-25T04:08:33.883Z] v3.1.0-dev.22 [2024-06-25T04:08:33.883Z] v3.1.0-dev.23 [2024-06-25T04:08:33.883Z] v3.1.0-dev.24 [2024-06-25T04:08:33.883Z] v3.1.0-dev.25 [2024-06-25T04:08:33.883Z] v3.1.0-dev.26 [2024-06-25T04:08:33.883Z] v3.1.0-dev.27 [2024-06-25T04:08:33.883Z] v3.1.0-dev.28 [2024-06-25T04:08:33.883Z] v3.1.0-dev.29 [2024-06-25T04:08:33.883Z] v3.1.0-dev.3 [2024-06-25T04:08:33.883Z] v3.1.0-dev.30 [2024-06-25T04:08:33.883Z] v3.1.0-dev.31 [2024-06-25T04:08:33.883Z] v3.1.0-dev.32 [2024-06-25T04:08:33.883Z] v3.1.0-dev.33 [2024-06-25T04:08:33.883Z] v3.1.0-dev.34 [2024-06-25T04:08:33.883Z] v3.1.0-dev.35 [2024-06-25T04:08:33.883Z] v3.1.0-dev.36 [2024-06-25T04:08:33.883Z] v3.1.0-dev.37 [2024-06-25T04:08:33.883Z] v3.1.0-dev.38 [2024-06-25T04:08:33.883Z] v3.1.0-dev.39 [2024-06-25T04:08:33.883Z] v3.1.0-dev.4 [2024-06-25T04:08:33.883Z] v3.1.0-dev.40 [2024-06-25T04:08:33.883Z] v3.1.0-dev.41 [2024-06-25T04:08:33.883Z] v3.1.0-dev.5 [2024-06-25T04:08:33.883Z] v3.1.0-dev.6 [2024-06-25T04:08:33.883Z] v3.1.0-dev.7 [2024-06-25T04:08:33.883Z] v3.1.0-dev.8 [2024-06-25T04:08:33.883Z] v3.1.0-dev.9 [2024-06-25T04:08:33.883Z] v3.1.1 [2024-06-25T04:08:33.883Z] v3.1.1-dev.1 [2024-06-25T04:08:33.883Z] v3.2.0-dev.1 [2024-06-25T04:08:33.883Z] v3.2.0-dev.10 [2024-06-25T04:08:33.883Z] v3.2.0-dev.11 [2024-06-25T04:08:33.883Z] v3.2.0-dev.12 [2024-06-25T04:08:33.883Z] v3.2.0-dev.13 [2024-06-25T04:08:33.883Z] v3.2.0-dev.14 [2024-06-25T04:08:33.883Z] v3.2.0-dev.15 [2024-06-25T04:08:33.883Z] v3.2.0-dev.16 [2024-06-25T04:08:33.883Z] v3.2.0-dev.17 [2024-06-25T04:08:33.883Z] v3.2.0-dev.2 [2024-06-25T04:08:33.883Z] v3.2.0-dev.3 [2024-06-25T04:08:33.883Z] v3.2.0-dev.4 [2024-06-25T04:08:33.883Z] v3.2.0-dev.5 [2024-06-25T04:08:33.883Z] v3.2.0-dev.6 [2024-06-25T04:08:33.883Z] v3.2.0-dev.7 [2024-06-25T04:08:33.883Z] v3.2.0-dev.8 [2024-06-25T04:08:33.883Z] v3.2.0-dev.9 [Pipeline] sh [2024-06-25T04:08:34.180Z] + lftools sign git-tag v3.2.0-dev.17 [2024-06-25T04:08:34.748Z] Signing Git tag with Sigul... [2024-06-25T04:08:34.748Z] Signing v3.2.0-dev.17 [Pipeline] echo [2024-06-25T04:08:35.023Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:35.318Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-06-25T04:08:35.326Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-06-25T04:08:35.338Z] $ docker stop --time=1 c723720e25096155acd6e1b2224d3d065fa48e9500154657907a7923c8c18026 [2024-06-25T04:08:36.678Z] $ docker rm -f --volumes c723720e25096155acd6e1b2224d3d065fa48e9500154657907a7923c8c18026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-06-25T04:08:37.124Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T04:08:37.124Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:08:37.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T04:08:37.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:08:37.507Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T04:08:37.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-25T04:08:37.845Z] $ docker top b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 -eo pid,comm [2024-06-25T04:08:37.904Z] 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). [2024-06-25T04:08:37.904Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T04:08:37.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T04:08:37.956Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T04:08:38.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T04:08:38.044Z] $ docker exec b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 ssh-agent [2024-06-25T04:08:38.157Z] SSH_AUTH_SOCK=/tmp/ssh-HjGWh9xjeALW/agent.32 [2024-06-25T04:08:38.157Z] SSH_AGENT_PID=38 [2024-06-25T04:08:38.162Z] Running ssh-add (command line suppressed) [2024-06-25T04:08:38.247Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6150789764210544065.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6150789764210544065.key) [2024-06-25T04:08:38.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T04:08:38.567Z] + git semver bump pre [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,730 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,730 [bump_version] DEBUG bumped version:3.2.0-dev.18 [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,730 [write_version] DEBUG write version:3.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,730 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,732 [execute] INFO git cat-file --batch-check [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,737 [execute] INFO git cat-file --batch [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T04:08:38.827Z] 2024-06-25 04:08:38,742 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:38.827Z] 3.2.0-dev.18 [Pipeline] } [2024-06-25T04:08:38.823Z] $ docker exec --env ******** --env ******** b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 ssh-agent -k [2024-06-25T04:08:38.921Z] unset SSH_AUTH_SOCK; [2024-06-25T04:08:38.922Z] unset SSH_AGENT_PID; [2024-06-25T04:08:38.922Z] echo Agent pid 38 killed; [2024-06-25T04:08:38.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T04:08:39.270Z] + git semver [Pipeline] } [2024-06-25T04:08:39.530Z] $ docker stop --time=1 b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 [2024-06-25T04:08:40.859Z] $ docker rm -f --volumes b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T04:08:41.304Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T04:08:41.304Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:08:41.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T04:08:41.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:08:41.684Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T04:08:41.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-25T04:08:42.026Z] $ docker top 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 -eo pid,comm [2024-06-25T04:08:42.085Z] 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). [2024-06-25T04:08:42.085Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T04:08:42.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T04:08:42.169Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T04:08:42.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T04:08:42.268Z] $ docker exec 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 ssh-agent [2024-06-25T04:08:42.377Z] SSH_AUTH_SOCK=/tmp/ssh-ORIlGPDJJk2z/agent.32 [2024-06-25T04:08:42.377Z] SSH_AGENT_PID=38 [2024-06-25T04:08:42.383Z] Running ssh-add (command line suppressed) [2024-06-25T04:08:42.459Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8013605776142218221.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8013605776142218221.key) [2024-06-25T04:08:42.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T04:08:42.776Z] + git semver push [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,940 [run_push] DEBUG push [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,940 [execute] INFO git cat-file --batch-check [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,944 [execute] INFO git rev-list 4491761efa88458e8387161be010e06b194253c3 -- [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,944 [execute] DEBUG Popen(['git', 'rev-list', '4491761efa88458e8387161be010e06b194253c3', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,957 [execute] INFO git fetch -v origin [2024-06-25T04:08:43.035Z] 2024-06-25 04:08:42,958 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-06-25T04:08:43.603Z] 2024-06-25 04:08:43,411 [run_push] DEBUG no remote changes detected [2024-06-25T04:08:43.603Z] 2024-06-25 04:08:43,411 [execute] INFO git push origin semver [2024-06-25T04:08:43.603Z] 2024-06-25 04:08:43,411 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-06-25T04:08:44.170Z] 2024-06-25 04:08:44,151 [run_push] DEBUG push all version tags [2024-06-25T04:08:44.170Z] 2024-06-25 04:08:44,152 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-06-25T04:08:44.170Z] 2024-06-25 04:08:44,152 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-25T04:08:45.105Z] 2024-06-25 04:08:44,792 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-06-25T04:08:45.105Z] 3.2.0-dev.18 [Pipeline] } [2024-06-25T04:08:45.101Z] $ docker exec --env ******** --env ******** 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 ssh-agent -k [2024-06-25T04:08:45.198Z] unset SSH_AUTH_SOCK; [2024-06-25T04:08:45.199Z] unset SSH_AGENT_PID; [2024-06-25T04:08:45.199Z] echo Agent pid 38 killed; [2024-06-25T04:08:45.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T04:08:45.541Z] + git semver [Pipeline] } [2024-06-25T04:08:45.801Z] $ docker stop --time=1 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 [2024-06-25T04:08:47.259Z] $ docker rm -f --volumes 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2024-06-25T04:08:47.915Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-06-25T04:08:47.915Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-06-25T04:08:47.915Z] total 16 [2024-06-25T04:08:47.915Z] drwxr-xr-x 3 root root 4096 Jun 25 03:51 . [2024-06-25T04:08:47.915Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 04:08 .. [2024-06-25T04:08:47.915Z] drwxr-xr-x 2 root root 4096 Jun 25 03:51 cost [2024-06-25T04:08:47.915Z] -rw-r--r-- 1 root root 85 Jun 25 03:51 cost.csv [2024-06-25T04:08:47.915Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-06-25T04:08:47.915Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-06-25T04:08:47.915Z] total 16 [2024-06-25T04:08:47.915Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 03:51 . [2024-06-25T04:08:47.915Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 04:08 .. [2024-06-25T04:08:47.915Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 03:51 cost [2024-06-25T04:08:47.915Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 25 03:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:48.209Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:49.066Z] ---> package-listing.sh [2024-06-25T04:08:49.066Z] ++ facter osfamily [2024-06-25T04:08:49.066Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-25T04:08:49.327Z] + OS_FAMILY=debian [2024-06-25T04:08:49.327Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-06-25T04:08:49.327Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-25T04:08:49.327Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-25T04:08:49.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-25T04:08:49.327Z] + PACKAGES=/tmp/packages_start.txt [2024-06-25T04:08:49.327Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-06-25T04:08:49.327Z] + PACKAGES=/tmp/packages_end.txt [2024-06-25T04:08:49.327Z] + case "${OS_FAMILY}" in [2024-06-25T04:08:49.327Z] + dpkg -l [2024-06-25T04:08:49.327Z] + grep '^ii' [2024-06-25T04:08:49.327Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-25T04:08:49.327Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-25T04:08:49.327Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-25T04:08:49.327Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-06-25T04:08:49.327Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-06-25T04:08:49.327Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2024-06-25T04:08:49.337Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-25T04:08:49.615Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T04:08:50.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T04:08:50.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T04:08:50.263Z] prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container [2024-06-25T04:08:50.279Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-25T04:08:50.472Z] $ docker top 98d61555710722eeca897ac0e321fe3da4181bf9fb5aadaf082f28f297d822a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T04:08:50.838Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-25T04:08:51.122Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-25T04:08:51.408Z] + ls /var/log/sa-host [2024-06-25T04:08:51.408Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T04:08:51.579Z] provisioning config files... [2024-06-25T04:08:51.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13678818485404271160tmp [Pipeline] { [Pipeline] echo [2024-06-25T04:08:51.610Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:51.894Z] ---> create-netrc.sh [Pipeline] } [2024-06-25T04:08:51.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:52.249Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-25T04:08:52.259Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:52.540Z] ---> sudo-logs.sh [2024-06-25T04:08:52.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-25T04:08:52.563Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:52.848Z] ---> job-cost.sh [2024-06-25T04:08:52.848Z] lf-activate-venv: SKIPPING [2024-06-25T04:08:52.848Z] DEBUG: total: 0.2199999988079071 [2024-06-25T04:08:52.848Z] INFO: Retrieving Stack Cost... [2024-06-25T04:08:53.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T04:08:53.678Z] INFO: Archiving Costs [Pipeline] echo [2024-06-25T04:08:53.690Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T04:08:53.974Z] ---> logs-deploy.sh [2024-06-25T04:08:53.974Z] lf-activate-venv: SKIPPING [2024-06-25T04:08:53.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/292 [2024-06-25T04:08:53.974Z] INFO: archiving workspace using pattern(s): [2024-06-25T04:08:54.918Z] Archives upload complete. [2024-06-25T04:08:54.918Z] INFO: archiving logs to Nexus