Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af8fd86a570d66ea1cfaede877fe074423b1d236 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-ssh4675197510892884763.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-ssh11476197308964224581.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-ssh586058455651444416.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-ssh5984583347760352959.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-ssh5452477320399260845.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 ‘prd-centos7-blackbox-4c-2g-5513’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5514’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5900’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5902 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 > 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 Avoid second fetch Checking out Revision af8fd86a570d66ea1cfaede877fe074423b1d236 (main) Commit message: "Merge pull request #1601 from dovholuknf/update-deps-jul18" > git config core.sparsecheckout # timeout=10 > git checkout -f af8fd86a570d66ea1cfaede877fe074423b1d236 # timeout=10 > git rev-list --no-walk 119f0d3508c34fcb2e951725a389e94afb6ed809 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-19T03:40:53.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-19T03:40:53.575Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-19T03:40:53.654Z] ========================================================= [2024-07-19T03:40:53.654Z] EdgeX Global Pipelines Version Info [2024-07-19T03:40:53.654Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-19T03:40:54.574Z] ------------------- [2024-07-19T03:40:54.574Z] stable info: [2024-07-19T03:40:54.574Z] ------------------- [2024-07-19T03:40:54.574Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T03:40:54.574Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T03:40:54.574Z] Message: update stable to v1.0.260 [2024-07-19T03:40:54.870Z] ------------------- [2024-07-19T03:40:54.870Z] experimental info: [2024-07-19T03:40:54.870Z] ------------------- [2024-07-19T03:40:54.870Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T03:40:54.870Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-19T03:40:54.870Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-19T03:40:55.032Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-19T03:40:55.078Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-19T03:40:55.160Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-19T03:40:55.256Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-19T03:40:55.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-19T03:40:55.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-19T03:40:55.348Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-19T03:40:55.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-19T03:40:55.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-19T03:40:55.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-19T03:40:55.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-19T03:40:55.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-19T03:40:55.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-19T03:40:55.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-19T03:40:55.732Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T03:40:55.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T03:40:55.828Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T03:40:55.906Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T03:40:55.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-19T03:40:55.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-19T03:40:56.036Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-19T03:40:56.102Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-19T03:40:56.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-19T03:40:56.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-19T03:40:56.239Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-19T03:40:56.256Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-19T03:40:56.339Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-19T03:40:56.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-19T03:40:56.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-19T03:40:56.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-19T03:40:56.479Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af8fd86a570d66ea1cfaede877fe074423b1d236 [Pipeline] echo [2024-07-19T03:40:56.517Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af8fd86 [Pipeline] echo [2024-07-19T03:40:56.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T03:40:56.678Z] provisioning config files... [2024-07-19T03:40:56.712Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config695242287022633785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T03:40:57.155Z] ---> ****-login.sh [2024-07-19T03:40:57.155Z] nexus3.edgexfoundry.org:10001 [2024-07-19T03:40:57.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:40:57.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:40:57.465Z] Configure a credential helper to remove this warning. See [2024-07-19T03:40:57.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:40:57.465Z] [2024-07-19T03:40:57.465Z] Login Succeeded [2024-07-19T03:40:57.465Z] nexus3.edgexfoundry.org:10002 [2024-07-19T03:40:57.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:40:57.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:40:57.465Z] Configure a credential helper to remove this warning. See [2024-07-19T03:40:57.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:40:57.465Z] [2024-07-19T03:40:57.465Z] Login Succeeded [2024-07-19T03:40:57.465Z] nexus3.edgexfoundry.org:10003 [2024-07-19T03:40:57.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:40:57.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:40:57.747Z] Configure a credential helper to remove this warning. See [2024-07-19T03:40:57.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:40:57.747Z] [2024-07-19T03:40:57.747Z] Login Succeeded [2024-07-19T03:40:57.747Z] nexus3.edgexfoundry.org:10004 [2024-07-19T03:40:57.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:40:57.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:40:57.747Z] Configure a credential helper to remove this warning. See [2024-07-19T03:40:57.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:40:57.747Z] [2024-07-19T03:40:57.747Z] Login Succeeded [2024-07-19T03:40:57.747Z] ****.io [2024-07-19T03:40:57.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:40:58.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:40:58.038Z] Configure a credential helper to remove this warning. See [2024-07-19T03:40:58.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:40:58.038Z] [2024-07-19T03:40:58.038Z] Login Succeeded [2024-07-19T03:40:58.038Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T03:40:58.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-19T03:40:58.707Z] + git rev-list -1 --merges af8fd86a570d66ea1cfaede877fe074423b1d236~1..af8fd86a570d66ea1cfaede877fe074423b1d236 [Pipeline] echo [2024-07-19T03:40:58.831Z] -----------> git rev-list -1 --merges af8fd86a570d66ea1cfaede877fe074423b1d236~1..af8fd86a570d66ea1cfaede877fe074423b1d236 af8fd86a570d66ea1cfaede877fe074423b1d236 [2024-07-19T03:40:58.831Z] af8fd86a570d66ea1cfaede877fe074423b1d236 [false] [Pipeline] sh [2024-07-19T03:40:59.220Z] + git log --format=format:%s -1 af8fd86a570d66ea1cfaede877fe074423b1d236 [Pipeline] echo [2024-07-19T03:40:59.253Z] ========================================================= [2024-07-19T03:40:59.253Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-19T03:40:59.253Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T03:40:59.750Z] + git log --format=format:%s -1 af8fd86a570d66ea1cfaede877fe074423b1d236 [Pipeline] echo [2024-07-19T03:40:59.841Z] [semverPrep] GIT_COMMIT: af8fd86a570d66ea1cfaede877fe074423b1d236, Commit Message: Merge pull request #1601 from dovholuknf/update-deps-jul18 [Pipeline] echo [2024-07-19T03:40:59.861Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-19T03:41:00.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T03:41:00.371Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-19T03:41:00.371Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-19T03:41:00.371Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-19T03:41:00.371Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-19T03:41:00.371Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-19T03:41:00.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:41:00.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T03:41:00.869Z] [2024-07-19T03:41:00.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:41:01.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T03:41:01.349Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-19T03:41:01.349Z] b85a868b505f: Pulling fs layer [2024-07-19T03:41:01.349Z] e2be974225ed: Pulling fs layer [2024-07-19T03:41:01.349Z] 339a4e72a1f5: Pulling fs layer [2024-07-19T03:41:01.349Z] 988bab9f4d93: Pulling fs layer [2024-07-19T03:41:01.349Z] 1469e6f7b9e6: Pulling fs layer [2024-07-19T03:41:01.349Z] eaf3925da568: Pulling fs layer [2024-07-19T03:41:01.349Z] bab4dde63d76: Pulling fs layer [2024-07-19T03:41:01.349Z] bde34c3a00c8: Pulling fs layer [2024-07-19T03:41:01.349Z] b352a97aabf1: Pulling fs layer [2024-07-19T03:41:01.349Z] 4872d77fe225: Pulling fs layer [2024-07-19T03:41:01.349Z] 5851b861e8e6: Pulling fs layer [2024-07-19T03:41:01.349Z] bab4dde63d76: Waiting [2024-07-19T03:41:01.349Z] bde34c3a00c8: Waiting [2024-07-19T03:41:01.349Z] 5851b861e8e6: Waiting [2024-07-19T03:41:01.349Z] 988bab9f4d93: Waiting [2024-07-19T03:41:01.349Z] b352a97aabf1: Waiting [2024-07-19T03:41:01.349Z] 1469e6f7b9e6: Waiting [2024-07-19T03:41:01.349Z] eaf3925da568: Waiting [2024-07-19T03:41:01.349Z] e2be974225ed: Verifying Checksum [2024-07-19T03:41:01.349Z] e2be974225ed: Download complete [2024-07-19T03:41:01.349Z] 988bab9f4d93: Verifying Checksum [2024-07-19T03:41:01.349Z] 988bab9f4d93: Download complete [2024-07-19T03:41:01.638Z] 339a4e72a1f5: Verifying Checksum [2024-07-19T03:41:01.638Z] 339a4e72a1f5: Download complete [2024-07-19T03:41:01.638Z] 1469e6f7b9e6: Verifying Checksum [2024-07-19T03:41:01.638Z] 1469e6f7b9e6: Download complete [2024-07-19T03:41:01.638Z] eaf3925da568: Download complete [2024-07-19T03:41:01.638Z] bde34c3a00c8: Verifying Checksum [2024-07-19T03:41:01.638Z] bde34c3a00c8: Download complete [2024-07-19T03:41:01.638Z] b352a97aabf1: Download complete [2024-07-19T03:41:01.638Z] 4872d77fe225: Verifying Checksum [2024-07-19T03:41:01.638Z] 4872d77fe225: Download complete [2024-07-19T03:41:01.638Z] 5851b861e8e6: Verifying Checksum [2024-07-19T03:41:01.638Z] 5851b861e8e6: Download complete [2024-07-19T03:41:01.638Z] b85a868b505f: Verifying Checksum [2024-07-19T03:41:01.638Z] b85a868b505f: Download complete [2024-07-19T03:41:01.959Z] bab4dde63d76: Verifying Checksum [2024-07-19T03:41:01.959Z] bab4dde63d76: Download complete [2024-07-19T03:41:03.013Z] b85a868b505f: Pull complete [2024-07-19T03:41:03.013Z] e2be974225ed: Pull complete [2024-07-19T03:41:03.301Z] 339a4e72a1f5: Pull complete [2024-07-19T03:41:03.301Z] 988bab9f4d93: Pull complete [2024-07-19T03:41:03.597Z] 1469e6f7b9e6: Pull complete [2024-07-19T03:41:03.597Z] eaf3925da568: Pull complete [2024-07-19T03:41:05.571Z] bab4dde63d76: Pull complete [2024-07-19T03:41:05.571Z] bde34c3a00c8: Pull complete [2024-07-19T03:41:05.571Z] b352a97aabf1: Pull complete [2024-07-19T03:41:05.571Z] 4872d77fe225: Pull complete [2024-07-19T03:41:05.571Z] 5851b861e8e6: Pull complete [2024-07-19T03:41:05.571Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-19T03:41:05.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T03:41:05.571Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T03:41:06.002Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T03:41:06.106Z] $ 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-07-19T03:41:10.876Z] $ docker top df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f -eo pid,comm [2024-07-19T03:41:10.960Z] 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-07-19T03:41:10.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T03:41:21.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T03:41:21.743Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T03:41:21.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T03:41:21.850Z] $ docker exec df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f ssh-agent [2024-07-19T03:41:21.958Z] SSH_AUTH_SOCK=/tmp/ssh-D87q5u4rCDW3/agent.32 [2024-07-19T03:41:21.958Z] SSH_AGENT_PID=38 [2024-07-19T03:41:21.972Z] Running ssh-add (command line suppressed) [2024-07-19T03:41:22.089Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4395438420262133886.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4395438420262133886.key) [2024-07-19T03:41:22.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T03:41:22.399Z] + git tag --points-at HEAD [Pipeline] } [2024-07-19T03:41:22.407Z] $ docker exec --env ******** --env ******** df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f ssh-agent -k [2024-07-19T03:41:22.507Z] unset SSH_AUTH_SOCK; [2024-07-19T03:41:22.508Z] unset SSH_AGENT_PID; [2024-07-19T03:41:22.508Z] echo Agent pid 38 killed; [2024-07-19T03:41:22.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-19T03:41:22.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T03:41:22.570Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T03:41:22.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T03:41:22.673Z] $ docker exec df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f ssh-agent [2024-07-19T03:41:22.787Z] SSH_AUTH_SOCK=/tmp/ssh-X6woHuqdfA7F/agent.72 [2024-07-19T03:41:22.787Z] SSH_AGENT_PID=78 [2024-07-19T03:41:22.791Z] Running ssh-add (command line suppressed) [2024-07-19T03:41:22.882Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2254406600384207802.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2254406600384207802.key) [2024-07-19T03:41:22.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T03:41:23.187Z] + git semver init [2024-07-19T03:41:23.452Z] 2024-07-19 03:41:23,371 [run_init] DEBUG init version:0.0.0 force:False [2024-07-19T03:41:23.452Z] 2024-07-19 03:41:23,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-19T03:41:23.452Z] 2024-07-19 03:41:23,373 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-19T03:41:23.452Z] 2024-07-19 03:41:23,373 [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-07-19T03:41:25.526Z] 2024-07-19 03:41:25,399 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-07-19T03:41:25.526Z] 2024-07-19 03:41:25,400 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-07-19T03:41:25.526Z] 2024-07-19 03:41:25,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T03:41:25.526Z] 2024-07-19 03:41:25,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T03:41:25.526Z] 3.2.0-dev.25 [Pipeline] } [2024-07-19T03:41:25.554Z] $ docker exec --env ******** --env ******** df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f ssh-agent -k [2024-07-19T03:41:25.651Z] unset SSH_AUTH_SOCK; [2024-07-19T03:41:25.652Z] unset SSH_AGENT_PID; [2024-07-19T03:41:25.652Z] echo Agent pid 78 killed; [2024-07-19T03:41:25.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T03:41:26.173Z] + git semver [Pipeline] } [2024-07-19T03:41:26.514Z] $ docker stop --time=1 df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f [2024-07-19T03:41:27.840Z] $ docker rm -f --volumes df73e9e2b85e2eabd8f398eae5aa3511ee0c825a4cfde0b4189c5c1972b3554f [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T03:41:28.382Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-19T03:41:29.074Z] Stashed 1 file(s) [Pipeline] echo [2024-07-19T03:41:29.077Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.25 [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-07-19T03:41:29.489Z] provisioning config files... [2024-07-19T03:41:29.514Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11481170350137558701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T03:41:30.043Z] ---> ****-login.sh [2024-07-19T03:41:30.044Z] nexus3.edgexfoundry.org:10001 [2024-07-19T03:41:30.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:41:30.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:41:30.044Z] Configure a credential helper to remove this warning. See [2024-07-19T03:41:30.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:41:30.044Z] [2024-07-19T03:41:30.044Z] Login Succeeded [2024-07-19T03:41:30.044Z] nexus3.edgexfoundry.org:10002 [2024-07-19T03:41:30.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:41:30.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:41:30.044Z] Configure a credential helper to remove this warning. See [2024-07-19T03:41:30.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:41:30.044Z] [2024-07-19T03:41:30.044Z] Login Succeeded [2024-07-19T03:41:30.044Z] nexus3.edgexfoundry.org:10003 [2024-07-19T03:41:30.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:41:30.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:41:30.044Z] Configure a credential helper to remove this warning. See [2024-07-19T03:41:30.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:41:30.044Z] [2024-07-19T03:41:30.044Z] Login Succeeded [2024-07-19T03:41:30.044Z] nexus3.edgexfoundry.org:10004 [2024-07-19T03:41:30.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:41:30.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:41:30.368Z] Configure a credential helper to remove this warning. See [2024-07-19T03:41:30.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:41:30.368Z] [2024-07-19T03:41:30.368Z] Login Succeeded [2024-07-19T03:41:30.368Z] ****.io [2024-07-19T03:41:30.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:41:30.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:41:30.368Z] Configure a credential helper to remove this warning. See [2024-07-19T03:41:30.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:41:30.368Z] [2024-07-19T03:41:30.368Z] Login Succeeded [2024-07-19T03:41:30.368Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T03:41:30.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T03:41:30.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T03:41:30.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T03:41:30.704Z] ========================================================= [2024-07-19T03:41:30.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-19T03:41:30.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:41:31.175Z] + 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-07-19T03:41:31.175Z] Sending build context to Docker daemon 25.02MB [2024-07-19T03:41:31.175Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T03:41:31.175Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-19T03:41:31.175Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-19T03:41:31.175Z] 619be1103602: Pulling fs layer [2024-07-19T03:41:31.175Z] 7862e08f4a3e: Pulling fs layer [2024-07-19T03:41:31.175Z] 5df492c9dc93: Pulling fs layer [2024-07-19T03:41:31.175Z] 7629e6793208: Pulling fs layer [2024-07-19T03:41:31.175Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T03:41:31.175Z] fb5054dd5b73: Pulling fs layer [2024-07-19T03:41:31.175Z] eeca6798cff9: Pulling fs layer [2024-07-19T03:41:31.175Z] aa269ceb94a6: Pulling fs layer [2024-07-19T03:41:31.175Z] ada007ff1a6a: Pulling fs layer [2024-07-19T03:41:31.175Z] 7629e6793208: Waiting [2024-07-19T03:41:31.175Z] 4f4fb700ef54: Waiting [2024-07-19T03:41:31.175Z] fb5054dd5b73: Waiting [2024-07-19T03:41:31.175Z] eeca6798cff9: Waiting [2024-07-19T03:41:31.175Z] aa269ceb94a6: Waiting [2024-07-19T03:41:31.478Z] 7862e08f4a3e: Verifying Checksum [2024-07-19T03:41:31.478Z] 7862e08f4a3e: Download complete [2024-07-19T03:41:31.478Z] 7629e6793208: Verifying Checksum [2024-07-19T03:41:31.478Z] 7629e6793208: Download complete [2024-07-19T03:41:31.478Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T03:41:31.478Z] 4f4fb700ef54: Download complete [2024-07-19T03:41:31.478Z] fb5054dd5b73: Verifying Checksum [2024-07-19T03:41:31.478Z] fb5054dd5b73: Download complete [2024-07-19T03:41:31.478Z] 619be1103602: Verifying Checksum [2024-07-19T03:41:31.478Z] 619be1103602: Download complete [2024-07-19T03:41:31.478Z] eeca6798cff9: Verifying Checksum [2024-07-19T03:41:31.478Z] eeca6798cff9: Download complete [2024-07-19T03:41:31.478Z] 619be1103602: Pull complete [2024-07-19T03:41:31.802Z] ada007ff1a6a: Verifying Checksum [2024-07-19T03:41:31.802Z] ada007ff1a6a: Download complete [2024-07-19T03:41:31.802Z] 7862e08f4a3e: Pull complete [2024-07-19T03:41:31.802Z] 5df492c9dc93: Verifying Checksum [2024-07-19T03:41:31.802Z] 5df492c9dc93: Download complete [2024-07-19T03:41:32.094Z] aa269ceb94a6: Verifying Checksum [2024-07-19T03:41:32.094Z] aa269ceb94a6: Download complete [2024-07-19T03:41:34.970Z] 5df492c9dc93: Pull complete [2024-07-19T03:41:34.970Z] 7629e6793208: Pull complete [2024-07-19T03:41:34.970Z] 4f4fb700ef54: Pull complete [2024-07-19T03:41:34.970Z] fb5054dd5b73: Pull complete [2024-07-19T03:41:34.970Z] eeca6798cff9: Pull complete [2024-07-19T03:41:37.120Z] aa269ceb94a6: Pull complete [2024-07-19T03:41:37.698Z] ada007ff1a6a: Pull complete [2024-07-19T03:41:37.698Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-19T03:41:37.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-19T03:41:37.698Z] ---> f489d0715acc [2024-07-19T03:41:37.698Z] Step 3/10 : ARG MAKE=make build [2024-07-19T03:41:44.339Z] ---> Running in 7d3907b57841 [2024-07-19T03:41:44.339Z] Removing intermediate container 7d3907b57841 [2024-07-19T03:41:44.339Z] ---> aa4662ce7b13 [2024-07-19T03:41:44.339Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-19T03:41:44.339Z] ---> Running in 1c6623a33b4d [2024-07-19T03:41:44.339Z] Removing intermediate container 1c6623a33b4d [2024-07-19T03:41:44.339Z] ---> 04e579cc8db2 [2024-07-19T03:41:44.339Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-19T03:41:44.339Z] ---> Running in 341199d83045 [2024-07-19T03:41:44.339Z] Removing intermediate container 341199d83045 [2024-07-19T03:41:44.339Z] ---> 6067571ee7bf [2024-07-19T03:41:44.339Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-19T03:41:44.339Z] ---> Running in 9c637ea72e74 [2024-07-19T03:41:44.339Z] Still waiting to schedule task [2024-07-19T03:41:44.347Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5904’ [2024-07-19T03:41:44.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T03:41:44.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T03:41:44.922Z] OK: 264 MiB in 52 packages [2024-07-19T03:41:45.608Z] Removing intermediate container 9c637ea72e74 [2024-07-19T03:41:45.608Z] ---> 980c4a3dada1 [2024-07-19T03:41:45.608Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-19T03:41:45.608Z] ---> 92314750ace1 [2024-07-19T03:41:45.608Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T03:41:45.608Z] ---> Running in 094cdb755141 [2024-07-19T03:42:42.493Z] Removing intermediate container 094cdb755141 [2024-07-19T03:42:42.493Z] ---> bc5cf89f988f [2024-07-19T03:42:42.493Z] Step 9/10 : COPY . . [2024-07-19T03:42:43.453Z] ---> 30c96bcbc465 [2024-07-19T03:42:43.453Z] Step 10/10 : RUN ${MAKE} [2024-07-19T03:42:43.453Z] ---> Running in 4ff7ef84488f [2024-07-19T03:42:43.453Z] noop [2024-07-19T03:42:44.029Z] Removing intermediate container 4ff7ef84488f [2024-07-19T03:42:44.029Z] ---> 6e82d8568313 [2024-07-19T03:42:44.029Z] Successfully built 6e82d8568313 [2024-07-19T03:42:44.029Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:42:44.340Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T03:42:44.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T03:42:44.436Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T03:42:44.462Z] $ 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-07-19T03:42:44.853Z] $ docker top d4c4dd662f9853ed95c12276ea710374ccefb0eb793c2d453126ab5bb44912bb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T03:42:45.267Z] + go version [2024-07-19T03:42:45.267Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-19T03:42:45.279Z] $ docker stop --time=1 d4c4dd662f9853ed95c12276ea710374ccefb0eb793c2d453126ab5bb44912bb [2024-07-19T03:42:46.558Z] $ docker rm -f --volumes d4c4dd662f9853ed95c12276ea710374ccefb0eb793c2d453126ab5bb44912bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:42:47.143Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T03:42:47.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T03:42:47.231Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T03:42:47.261Z] $ 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-07-19T03:42:47.591Z] $ docker top ad27c4025b10d43ce77b44a575998a2ade1c3342588c7430830ac02820c757fa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T03:42:47.937Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-19T03:42:48.232Z] + make test [2024-07-19T03:42:48.232Z] go test -race -coverprofile=coverage.out ./... [2024-07-19T03:42:54.855Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-19T03:43:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-19T03:43:27.350Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 27.0% of statements [2024-07-19T03:43:27.350Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 80.0% of statements [2024-07-19T03:43:27.350Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements [2024-07-19T03:43:28.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-19T03:43:28.303Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-19T03:43:28.303Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-19T03:43:28.959Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.086s coverage: 55.2% of statements [2024-07-19T03:43:29.583Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-19T03:43:31.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.029s coverage: 14.4% of statements [2024-07-19T03:43:31.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.911s coverage: 44.6% of statements [2024-07-19T03:43:31.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.040s coverage: 68.5% of statements [2024-07-19T03:43:31.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements [2024-07-19T03:43:31.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.4% of statements [2024-07-19T03:44:04.455Z] GO111MODULE=on go vet ./... [2024-07-19T03:44:08.841Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T03:44:08.841Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T03:44:08.841Z] ./bin/test-attribution-txt.sh [2024-07-19T03:44:08.841Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-19T03:44:08.841Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T03:44:08.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T03:44:08.929Z] $ docker stop --time=1 ad27c4025b10d43ce77b44a575998a2ade1c3342588c7430830ac02820c757fa [2024-07-19T03:44:17.035Z] $ docker rm -f --volumes ad27c4025b10d43ce77b44a575998a2ade1c3342588c7430830ac02820c757fa [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T03:44:17.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T03:44:17.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-19T03:44:18.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T03:44:18.938Z] + ls -al . [2024-07-19T03:44:18.938Z] total 380 [2024-07-19T03:44:18.938Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 03:42 . [2024-07-19T03:44:18.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 03:40 .. [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 03:40 .dockerignore [2024-07-19T03:44:18.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 03:43 .git [2024-07-19T03:44:18.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 03:40 .github [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 03:40 .gitignore [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 03:40 .golangci.yml [2024-07-19T03:44:18.938Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 03:41 .semver [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 19 03:40 CHANGELOG.md [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 03:40 GOVERNANCE.md [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 03:40 Jenkinsfile [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 03:40 LICENSE [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 03:40 Makefile [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 03:40 OWNERS.md [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 19 03:40 README.md [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 19 03:41 VERSION [2024-07-19T03:44:18.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:40 bin [2024-07-19T03:44:18.938Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 19 03:43 coverage.out [2024-07-19T03:44:18.938Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 03:40 example [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 6995 Jul 19 03:40 go.mod [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 101458 Jul 19 03:40 go.sum [2024-07-19T03:44:18.938Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 03:40 internal [2024-07-19T03:44:18.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 03:40 openapi [2024-07-19T03:44:18.938Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 03:40 pkg [2024-07-19T03:44:18.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 03:40 snap [2024-07-19T03:44:18.938Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 03:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:44:19.682Z] + 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=af8fd86a570d66ea1cfaede877fe074423b1d236 --label arch=amd64 --label version=3.2.0-dev.25 . [2024-07-19T03:44:19.682Z] Sending build context to Docker daemon 25.15MB [2024-07-19T03:44:19.682Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T03:44:19.682Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-19T03:44:19.682Z] ---> 6e82d8568313 [2024-07-19T03:44:19.682Z] Step 3/24 : ARG MAKE=make build [2024-07-19T03:44:19.964Z] ---> Running in 2819d13c8b1c [2024-07-19T03:44:19.964Z] Removing intermediate container 2819d13c8b1c [2024-07-19T03:44:19.964Z] ---> d75ee6be0797 [2024-07-19T03:44:19.964Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-19T03:44:19.964Z] ---> Running in 4ac56dc6b989 [2024-07-19T03:44:20.601Z] Removing intermediate container 4ac56dc6b989 [2024-07-19T03:44:20.601Z] ---> a0160a20587b [2024-07-19T03:44:20.601Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-19T03:44:21.302Z] ---> Running in b57b5f245535 [2024-07-19T03:44:21.302Z] Removing intermediate container b57b5f245535 [2024-07-19T03:44:21.302Z] ---> c80125a7776a [2024-07-19T03:44:21.302Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-19T03:44:21.988Z] ---> Running in 4b4f9b5d2af9 [2024-07-19T03:44:22.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T03:44:22.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T03:44:23.205Z] OK: 264 MiB in 52 packages [2024-07-19T03:44:23.870Z] Removing intermediate container 4b4f9b5d2af9 [2024-07-19T03:44:23.870Z] ---> d6d4c05b9695 [2024-07-19T03:44:23.870Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-19T03:44:24.158Z] ---> 097bd57e5d2f [2024-07-19T03:44:24.158Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T03:44:24.158Z] ---> Running in b10de7068771 [2024-07-19T03:44:25.190Z] Removing intermediate container b10de7068771 [2024-07-19T03:44:25.190Z] ---> b76caa4996cd [2024-07-19T03:44:25.190Z] Step 9/24 : COPY . . [2024-07-19T03:44:25.933Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5906 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-07-19T03:44:25.962Z] Running in /w/workspace/device-sdk-go/300 [Pipeline] { [Pipeline] checkout [2024-07-19T03:44:26.080Z] The recommended git tool is: git [2024-07-19T03:44:26.229Z] ---> d7b4d1254f99 [2024-07-19T03:44:26.229Z] Step 10/24 : RUN ${MAKE} [2024-07-19T03:44:26.229Z] ---> Running in 1e939f30842f [2024-07-19T03:44:26.848Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.25" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-19T03:44:37.688Z] using credential edgex-jenkins-ssh [2024-07-19T03:44:37.746Z] Cloning the remote Git repository [2024-07-19T03:44:37.866Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-19T03:44:38.066Z] > git init /w/workspace/device-sdk-go/300 # timeout=10 [2024-07-19T03:44:38.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-19T03:44:38.374Z] > git --version # timeout=10 [2024-07-19T03:44:38.418Z] > git --version # 'git version 2.25.1' [2024-07-19T03:44:38.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T03:44:38.703Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T03:44:42.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-19T03:44:42.574Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T03:44:44.324Z] Avoid second fetch [2024-07-19T03:44:44.324Z] Checking out Revision af8fd86a570d66ea1cfaede877fe074423b1d236 (main) [2024-07-19T03:44:44.351Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T03:44:44.450Z] > git checkout -f af8fd86a570d66ea1cfaede877fe074423b1d236 # timeout=10 [2024-07-19T03:44:45.338Z] Commit message: "Merge pull request #1601 from dovholuknf/update-deps-jul18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T03:44:50.657Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-19T03:44:50.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T03:44:50.658Z] Dload Upload Total Spent Left Speed [2024-07-19T03:44:50.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-07-19T03:44:51.104Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-19T03:44:51.547Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-19T03:44:51.547Z] + sudo tee /etc/docker/daemon.new [2024-07-19T03:44:51.547Z] { [2024-07-19T03:44:51.547Z] "registry-mirrors": [ [2024-07-19T03:44:51.547Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-19T03:44:51.547Z] ], [2024-07-19T03:44:51.547Z] "bip": "10.250.0.254/24", [2024-07-19T03:44:51.547Z] "hosts": [ [2024-07-19T03:44:51.547Z] "tcp://0.0.0.0:5555", [2024-07-19T03:44:51.547Z] "unix:///var/run/docker.sock" [2024-07-19T03:44:51.547Z] ], [2024-07-19T03:44:51.547Z] "mtu": 1458, [2024-07-19T03:44:51.547Z] "selinux-enabled": true, [2024-07-19T03:44:51.547Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-19T03:44:51.547Z] } [Pipeline] sh [2024-07-19T03:44:51.975Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-19T03:44:52.394Z] + sudo service docker restart [2024-07-19T03:44:59.496Z] Removing intermediate container 1e939f30842f [2024-07-19T03:44:59.496Z] ---> 9635cbe9fc9a [2024-07-19T03:44:59.496Z] Step 11/24 : FROM alpine:3.18 [2024-07-19T03:44:59.496Z] 3.18: Pulling from library/alpine [2024-07-19T03:44:59.496Z] 73baa7ef167e: Pulling fs layer [2024-07-19T03:44:59.496Z] 73baa7ef167e: Verifying Checksum [2024-07-19T03:44:59.496Z] 73baa7ef167e: Download complete [2024-07-19T03:44:59.496Z] 73baa7ef167e: Pull complete [2024-07-19T03:44:59.496Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T03:44:59.496Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T03:44:59.496Z] ---> 8fd7cac70a4a [2024-07-19T03:44:59.496Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-19T03:44:59.496Z] ---> Running in cf0de5048984 [2024-07-19T03:44:59.496Z] Removing intermediate container cf0de5048984 [2024-07-19T03:44:59.496Z] ---> 59c224c1222f [2024-07-19T03:44:59.496Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-19T03:44:59.496Z] ---> Running in 9b664b66d909 [2024-07-19T03:44:59.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T03:44:59.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T03:44:59.784Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T03:44:59.784Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T03:44:59.784Z] OK: 7 MiB in 16 packages [2024-07-19T03:45:00.417Z] Removing intermediate container 9b664b66d909 [2024-07-19T03:45:00.417Z] ---> b225796b89ff [2024-07-19T03:45:00.417Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-19T03:45:00.417Z] ---> Running in ac1e369cf0bc [2024-07-19T03:45:00.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T03:45:00.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T03:45:00.760Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T03:45:01.052Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T03:45:01.052Z] OK: 7 MiB in 16 packages [2024-07-19T03:45:02.088Z] Removing intermediate container ac1e369cf0bc [2024-07-19T03:45:02.088Z] ---> e3ce08cc042d [2024-07-19T03:45:02.088Z] Step 15/24 : WORKDIR / [2024-07-19T03:45:02.088Z] ---> Running in 98965531836b [2024-07-19T03:45:02.088Z] Removing intermediate container 98965531836b [2024-07-19T03:45:02.088Z] ---> f8399acec46d [2024-07-19T03:45:02.088Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-19T03:45:02.088Z] ---> c080527ee875 [2024-07-19T03:45:02.088Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-19T03:45:04.795Z] ---> 4f7dcae9bd2c [2024-07-19T03:45:04.795Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-19T03:45:04.795Z] ---> c26b3c83a771 [2024-07-19T03:45:04.795Z] Step 19/24 : EXPOSE 59999 [2024-07-19T03:45:04.795Z] ---> Running in e813ffea196c [2024-07-19T03:45:04.795Z] Removing intermediate container e813ffea196c [2024-07-19T03:45:04.795Z] ---> aa766bdd6811 [2024-07-19T03:45:04.795Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-19T03:45:04.795Z] ---> Running in 068f79957d08 [2024-07-19T03:45:05.080Z] Removing intermediate container 068f79957d08 [2024-07-19T03:45:05.080Z] ---> 1091f1f80dba [2024-07-19T03:45:05.080Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-19T03:45:05.080Z] ---> Running in daaba126a53d [2024-07-19T03:45:05.369Z] Removing intermediate container daaba126a53d [2024-07-19T03:45:05.369Z] ---> a6ba4ba94261 [2024-07-19T03:45:05.369Z] Step 22/24 : LABEL arch=amd64 [2024-07-19T03:45:05.369Z] ---> Running in 4318d229e270 [2024-07-19T03:45:05.965Z] Removing intermediate container 4318d229e270 [2024-07-19T03:45:05.965Z] ---> ee5a0303d067 [2024-07-19T03:45:05.965Z] Step 23/24 : LABEL git_sha=af8fd86a570d66ea1cfaede877fe074423b1d236 [2024-07-19T03:45:05.965Z] ---> Running in d2411dca5ed0 [2024-07-19T03:45:05.965Z] Removing intermediate container d2411dca5ed0 [2024-07-19T03:45:05.965Z] ---> 1046cd9cf28e [2024-07-19T03:45:05.965Z] Step 24/24 : LABEL version=3.2.0-dev.25 [2024-07-19T03:45:06.263Z] ---> Running in c94cf55487ff [2024-07-19T03:45:06.263Z] Removing intermediate container c94cf55487ff [2024-07-19T03:45:06.263Z] ---> 04ae0ae66710 [2024-07-19T03:45:06.263Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T03:45:06.263Z] Successfully built 04ae0ae66710 [2024-07-19T03:45:06.263Z] 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-07-19T03:45:07.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T03:45:07.081Z] [2024-07-19T03:45:07.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:45:07.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T03:45:07.528Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-19T03:45:07.528Z] 5eb5b503b376: Pulling fs layer [2024-07-19T03:45:07.528Z] 5c69ac0246d0: Pulling fs layer [2024-07-19T03:45:07.528Z] ec43610c2a17: Pulling fs layer [2024-07-19T03:45:07.528Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-19T03:45:07.528Z] 33b1e0a273af: Pulling fs layer [2024-07-19T03:45:07.528Z] 5d3b04190fa2: Pulling fs layer [2024-07-19T03:45:07.528Z] 2f39f015ded8: Pulling fs layer [2024-07-19T03:45:07.528Z] 33b1e0a273af: Waiting [2024-07-19T03:45:07.528Z] 5d3b04190fa2: Waiting [2024-07-19T03:45:07.528Z] 3a2ae6a8a46f: Waiting [2024-07-19T03:45:07.528Z] 2f39f015ded8: Waiting [2024-07-19T03:45:07.528Z] 5c69ac0246d0: Verifying Checksum [2024-07-19T03:45:07.528Z] 5c69ac0246d0: Download complete [2024-07-19T03:45:07.806Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-19T03:45:07.806Z] 3a2ae6a8a46f: Download complete [2024-07-19T03:45:07.806Z] 33b1e0a273af: Verifying Checksum [2024-07-19T03:45:07.806Z] 33b1e0a273af: Download complete [2024-07-19T03:45:07.806Z] ec43610c2a17: Verifying Checksum [2024-07-19T03:45:07.806Z] ec43610c2a17: Download complete [2024-07-19T03:45:07.806Z] 5d3b04190fa2: Verifying Checksum [2024-07-19T03:45:07.806Z] 5d3b04190fa2: Download complete [2024-07-19T03:45:07.806Z] 5eb5b503b376: Download complete [2024-07-19T03:45:08.798Z] 2f39f015ded8: Verifying Checksum [2024-07-19T03:45:08.798Z] 2f39f015ded8: Download complete [2024-07-19T03:45:09.879Z] 5eb5b503b376: Pull complete [2024-07-19T03:45:09.879Z] 5c69ac0246d0: Pull complete [2024-07-19T03:45:10.560Z] ec43610c2a17: Pull complete [2024-07-19T03:45:10.560Z] 3a2ae6a8a46f: Pull complete [2024-07-19T03:45:10.855Z] 33b1e0a273af: Pull complete [2024-07-19T03:45:10.855Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T03:45:11.359Z] provisioning config files... [2024-07-19T03:45:11.431Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/300@tmp/config14557315097217351053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T03:45:12.098Z] ---> ****-login.sh [2024-07-19T03:45:12.098Z] nexus3.edgexfoundry.org:10001 [2024-07-19T03:45:12.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:45:12.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:45:12.717Z] Configure a credential helper to remove this warning. See [2024-07-19T03:45:12.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:45:12.717Z] [2024-07-19T03:45:12.717Z] Login Succeeded [2024-07-19T03:45:12.717Z] nexus3.edgexfoundry.org:10002 [2024-07-19T03:45:13.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:45:13.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:45:13.028Z] Configure a credential helper to remove this warning. See [2024-07-19T03:45:13.028Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:45:13.028Z] [2024-07-19T03:45:13.028Z] Login Succeeded [2024-07-19T03:45:13.028Z] nexus3.edgexfoundry.org:10003 [2024-07-19T03:45:13.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:45:13.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:45:13.613Z] Configure a credential helper to remove this warning. See [2024-07-19T03:45:13.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:45:13.613Z] [2024-07-19T03:45:13.613Z] Login Succeeded [2024-07-19T03:45:13.613Z] nexus3.edgexfoundry.org:10004 [2024-07-19T03:45:13.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:45:13.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:45:13.910Z] Configure a credential helper to remove this warning. See [2024-07-19T03:45:13.910Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:45:13.910Z] [2024-07-19T03:45:13.910Z] Login Succeeded [2024-07-19T03:45:13.910Z] ****.io [2024-07-19T03:45:14.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T03:45:14.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T03:45:14.531Z] Configure a credential helper to remove this warning. See [2024-07-19T03:45:14.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T03:45:14.531Z] [2024-07-19T03:45:14.531Z] Login Succeeded [2024-07-19T03:45:14.531Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T03:45:14.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T03:45:15.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T03:45:15.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T03:45:15.271Z] ========================================================= [2024-07-19T03:45:15.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-19T03:45:15.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:45:15.789Z] + 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-07-19T03:45:16.362Z] 2f39f015ded8: Pull complete [2024-07-19T03:45:16.362Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-19T03:45:16.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T03:45:16.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-07-19T03:45:16.436Z] Sending build context to Docker daemon 12.94MB [2024-07-19T03:45:16.436Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T03:45:16.436Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-19T03:45:16.436Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-19T03:45:16.436Z] c6b39de5b339: Pulling fs layer [2024-07-19T03:45:16.436Z] a69c41024577: Pulling fs layer [2024-07-19T03:45:16.436Z] d6de4b400683: Pulling fs layer [2024-07-19T03:45:16.436Z] 35cb2a7552d0: Pulling fs layer [2024-07-19T03:45:16.436Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T03:45:16.436Z] 464afbd9ba4c: Pulling fs layer [2024-07-19T03:45:16.436Z] 00f215d4a9da: Pulling fs layer [2024-07-19T03:45:16.436Z] d496ad576159: Pulling fs layer [2024-07-19T03:45:16.436Z] 35cb2a7552d0: Waiting [2024-07-19T03:45:16.436Z] 4f4fb700ef54: Waiting [2024-07-19T03:45:16.436Z] 464afbd9ba4c: Waiting [2024-07-19T03:45:16.436Z] 00f215d4a9da: Waiting [2024-07-19T03:45:16.436Z] d496ad576159: Waiting [2024-07-19T03:45:16.436Z] a69c41024577: Verifying Checksum [2024-07-19T03:45:16.436Z] a69c41024577: Download complete [2024-07-19T03:45:16.436Z] 35cb2a7552d0: Verifying Checksum [2024-07-19T03:45:16.436Z] 35cb2a7552d0: Download complete [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T03:45:16.676Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T03:45:16.727Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T03:45:16.727Z] 4f4fb700ef54: Download complete [2024-07-19T03:45:16.727Z] c6b39de5b339: Verifying Checksum [2024-07-19T03:45:16.727Z] c6b39de5b339: Download complete [2024-07-19T03:45:16.727Z] 464afbd9ba4c: Verifying Checksum [2024-07-19T03:45:16.727Z] 464afbd9ba4c: Download complete [2024-07-19T03:45:16.757Z] $ 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-07-19T03:45:17.039Z] d496ad576159: Verifying Checksum [2024-07-19T03:45:17.039Z] d496ad576159: Download complete [2024-07-19T03:45:17.334Z] c6b39de5b339: Pull complete [2024-07-19T03:45:18.006Z] a69c41024577: Pull complete [2024-07-19T03:45:18.685Z] d6de4b400683: Verifying Checksum [2024-07-19T03:45:18.685Z] d6de4b400683: Download complete [2024-07-19T03:45:19.808Z] 00f215d4a9da: Verifying Checksum [2024-07-19T03:45:19.808Z] 00f215d4a9da: Download complete [2024-07-19T03:45:21.422Z] $ docker top 3b73ac383e36858fbb98dcea02642bd6f5389f345d3f7baa2ad58717154a7ef7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T03:45:21.946Z] ---> job-cost.sh [2024-07-19T03:45:21.946Z] lf-activate-venv: SKIPPING [2024-07-19T03:45:21.946Z] INFO: No Stack... [2024-07-19T03:45:22.254Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T03:45:22.556Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T03:45:22.926Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-07-19T03:45:22.926Z] + cut -d, -f6 [Pipeline] lock [2024-07-19T03:45:22.972Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] [2024-07-19T03:45:23.005Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] did not exist. Created. [2024-07-19T03:45:23.031Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T03:45:23.493Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-19T03:45:23.608Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T03:45:23.634Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T03:45:23.711Z] $ docker stop --time=1 3b73ac383e36858fbb98dcea02642bd6f5389f345d3f7baa2ad58717154a7ef7 [2024-07-19T03:45:25.923Z] $ docker rm -f --volumes 3b73ac383e36858fbb98dcea02642bd6f5389f345d3f7baa2ad58717154a7ef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-19T03:45:32.597Z] d6de4b400683: Pull complete [2024-07-19T03:45:32.597Z] 35cb2a7552d0: Pull complete [2024-07-19T03:45:32.597Z] 4f4fb700ef54: Pull complete [2024-07-19T03:45:32.597Z] 464afbd9ba4c: Pull complete [2024-07-19T03:45:41.255Z] 00f215d4a9da: Pull complete [2024-07-19T03:45:43.380Z] d496ad576159: Pull complete [2024-07-19T03:45:43.380Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-19T03:45:43.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-19T03:45:43.380Z] ---> f246e2811388 [2024-07-19T03:45:43.380Z] Step 3/10 : ARG MAKE=make build [2024-07-19T03:45:45.514Z] ---> Running in 2967348648b7 [2024-07-19T03:45:45.514Z] Removing intermediate container 2967348648b7 [2024-07-19T03:45:45.514Z] ---> c10f68336b2d [2024-07-19T03:45:45.514Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-19T03:45:45.810Z] ---> Running in e907e45b7e2a [2024-07-19T03:45:46.844Z] Removing intermediate container e907e45b7e2a [2024-07-19T03:45:46.844Z] ---> bf8f780df300 [2024-07-19T03:45:46.844Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-19T03:45:47.124Z] ---> Running in 3724b03caea7 [2024-07-19T03:45:47.124Z] Removing intermediate container 3724b03caea7 [2024-07-19T03:45:47.124Z] ---> 8eeb161c59c0 [2024-07-19T03:45:47.124Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-19T03:45:47.417Z] ---> Running in 2fec03450d2e [2024-07-19T03:45:48.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T03:45:48.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T03:45:49.830Z] OK: 266 MiB in 52 packages [2024-07-19T03:45:50.881Z] Removing intermediate container 2fec03450d2e [2024-07-19T03:45:50.881Z] ---> e274451167bd [2024-07-19T03:45:50.881Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-19T03:45:51.201Z] ---> 6e9a04e0d037 [2024-07-19T03:45:51.201Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T03:45:51.201Z] ---> Running in 646789941ca6 [2024-07-19T03:47:43.776Z] Removing intermediate container 646789941ca6 [2024-07-19T03:47:43.776Z] ---> 89f972f9b836 [2024-07-19T03:47:43.776Z] Step 9/10 : COPY . . [2024-07-19T03:47:43.776Z] ---> 774c969dc5fc [2024-07-19T03:47:43.776Z] Step 10/10 : RUN ${MAKE} [2024-07-19T03:47:43.776Z] ---> Running in 8e413da10b15 [2024-07-19T03:47:44.826Z] noop [2024-07-19T03:47:45.428Z] Removing intermediate container 8e413da10b15 [2024-07-19T03:47:45.428Z] ---> d771c8324154 [2024-07-19T03:47:45.428Z] Successfully built d771c8324154 [2024-07-19T03:47:45.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:47:45.992Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T03:47:45.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T03:47:46.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-5906 does not seem to be running inside a container [2024-07-19T03:47:46.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/300 -v /w/workspace/device-sdk-go/300:/w/workspace/device-sdk-go/300:rw,z -v /w/workspace/device-sdk-go/300@tmp:/w/workspace/device-sdk-go/300@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-07-19T03:47:47.919Z] $ docker top 090303b4dbb9a86709cc4bb720f5bfdd43b9617a58c149571d15e61eb2dfb6a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T03:47:48.926Z] + go version [2024-07-19T03:47:48.926Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-19T03:47:48.961Z] $ docker stop --time=1 090303b4dbb9a86709cc4bb720f5bfdd43b9617a58c149571d15e61eb2dfb6a6 [2024-07-19T03:47:50.627Z] $ docker rm -f --volumes 090303b4dbb9a86709cc4bb720f5bfdd43b9617a58c149571d15e61eb2dfb6a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:47:51.909Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T03:47:51.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T03:47:52.251Z] prd-ubuntu20.04-docker-arm64-4c-16g-5906 does not seem to be running inside a container [2024-07-19T03:47:52.402Z] $ 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/300 -v /w/workspace/device-sdk-go/300:/w/workspace/device-sdk-go/300:rw,z -v /w/workspace/device-sdk-go/300@tmp:/w/workspace/device-sdk-go/300@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-07-19T03:47:53.693Z] $ docker top 4004cb4d4846ab7934e439f4205017468ce6a4852aa8aa307ac3a81fd3f2ed95 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T03:47:54.855Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/300 [Pipeline] fileExists [Pipeline] sh [2024-07-19T03:47:55.778Z] + make test [2024-07-19T03:47:55.778Z] go test -race -coverprofile=coverage.out ./... [2024-07-19T03:48:43.216Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-19T03:52:20.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-19T03:52:20.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-19T03:52:20.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-19T03:52:20.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-19T03:52:20.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-19T03:52:33.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.121s coverage: 27.0% of statements [2024-07-19T03:52:37.596Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.208s coverage: 80.0% of statements [2024-07-19T03:52:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-19T03:52:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-19T03:52:45.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.328s coverage: 86.0% of statements [2024-07-19T03:52:49.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-19T03:52:50.973Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.551s coverage: 55.2% of statements [2024-07-19T03:52:55.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.141s coverage: 14.4% of statements [2024-07-19T03:52:56.224Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.841s coverage: 44.6% of statements [2024-07-19T03:52:56.494Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-19T03:52:56.494Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-19T03:52:57.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.321s coverage: 68.5% of statements [2024-07-19T03:53:02.179Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.395s coverage: 89.2% of statements [2024-07-19T03:53:05.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-19T03:53:06.640Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.262s coverage: 5.4% of statements [2024-07-19T03:53:08.109Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-19T03:53:08.109Z] GO111MODULE=on go vet ./... [2024-07-19T03:57:31.195Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T03:57:31.195Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T03:57:31.195Z] ./bin/test-attribution-txt.sh [2024-07-19T03:57:31.195Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-19T03:57:31.195Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T03:57:31.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T03:57:31.243Z] $ docker stop --time=1 4004cb4d4846ab7934e439f4205017468ce6a4852aa8aa307ac3a81fd3f2ed95 [2024-07-19T03:57:33.310Z] $ docker rm -f --volumes 4004cb4d4846ab7934e439f4205017468ce6a4852aa8aa307ac3a81fd3f2ed95 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T03:57:35.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T03:57:35.815Z] Warning: overwriting stash ‘coverage-report’ [2024-07-19T03:57:36.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T03:57:37.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T03:57:38.137Z] + ls -al . [2024-07-19T03:57:38.137Z] total 376 [2024-07-19T03:57:38.137Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 03:48 . [2024-07-19T03:57:38.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 03:44 .. [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 03:44 .dockerignore [2024-07-19T03:57:38.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 03:44 .git [2024-07-19T03:57:38.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 03:44 .github [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 03:44 .gitignore [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 03:44 .golangci.yml [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 19 03:44 CHANGELOG.md [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 03:44 GOVERNANCE.md [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 03:44 Jenkinsfile [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 03:44 LICENSE [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 03:44 Makefile [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 03:44 OWNERS.md [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 19 03:44 README.md [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 19 03:41 VERSION [2024-07-19T03:57:38.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:44 bin [2024-07-19T03:57:38.137Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 19 03:53 coverage.out [2024-07-19T03:57:38.137Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 03:44 example [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 6995 Jul 19 03:44 go.mod [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 101458 Jul 19 03:44 go.sum [2024-07-19T03:57:38.137Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 03:44 internal [2024-07-19T03:57:38.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 03:44 openapi [2024-07-19T03:57:38.137Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 03:44 pkg [2024-07-19T03:57:38.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 03:44 snap [2024-07-19T03:57:38.137Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 03:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T03:57:38.672Z] + 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=af8fd86a570d66ea1cfaede877fe074423b1d236 --label arch=arm64 --label version=3.2.0-dev.25 . [2024-07-19T03:57:39.312Z] Sending build context to Docker daemon 13.06MB [2024-07-19T03:57:39.312Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T03:57:39.312Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-19T03:57:39.312Z] ---> d771c8324154 [2024-07-19T03:57:39.312Z] Step 3/24 : ARG MAKE=make build [2024-07-19T03:57:39.312Z] ---> Running in 65b9c375753d [2024-07-19T03:57:39.615Z] Removing intermediate container 65b9c375753d [2024-07-19T03:57:39.615Z] ---> 242facfbe1ad [2024-07-19T03:57:39.615Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-19T03:57:39.615Z] ---> Running in ab93f5370c5d [2024-07-19T03:57:39.936Z] Removing intermediate container ab93f5370c5d [2024-07-19T03:57:39.936Z] ---> 39da328a7942 [2024-07-19T03:57:39.936Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-19T03:57:40.233Z] ---> Running in 8199f28a35cb [2024-07-19T03:57:40.563Z] Removing intermediate container 8199f28a35cb [2024-07-19T03:57:40.563Z] ---> bc1aeb741865 [2024-07-19T03:57:40.563Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-19T03:57:40.563Z] ---> Running in f7eb5cdda507 [2024-07-19T03:57:41.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T03:57:42.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T03:57:43.110Z] OK: 266 MiB in 52 packages [2024-07-19T03:57:43.758Z] Removing intermediate container f7eb5cdda507 [2024-07-19T03:57:43.758Z] ---> 464d05045409 [2024-07-19T03:57:43.758Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-19T03:57:44.421Z] ---> ac016d8c80ec [2024-07-19T03:57:44.421Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T03:57:44.421Z] ---> Running in a0a0bde4abb3 [2024-07-19T03:57:47.212Z] Removing intermediate container a0a0bde4abb3 [2024-07-19T03:57:47.212Z] ---> c013376878cd [2024-07-19T03:57:47.212Z] Step 9/24 : COPY . . [2024-07-19T03:57:48.343Z] ---> 47a2547d3d1b [2024-07-19T03:57:48.343Z] Step 10/24 : RUN ${MAKE} [2024-07-19T03:57:48.653Z] ---> Running in f6922a68af74 [2024-07-19T03:57:49.741Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.25" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-19T04:01:27.600Z] Removing intermediate container f6922a68af74 [2024-07-19T04:01:27.600Z] ---> 40891c15bae4 [2024-07-19T04:01:27.600Z] Step 11/24 : FROM alpine:3.18 [2024-07-19T04:01:27.600Z] 3.18: Pulling from library/alpine [2024-07-19T04:01:27.600Z] 5c905c7ebe2f: Pulling fs layer [2024-07-19T04:01:27.600Z] 5c905c7ebe2f: Download complete [2024-07-19T04:01:27.600Z] 5c905c7ebe2f: Pull complete [2024-07-19T04:01:27.600Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T04:01:27.600Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T04:01:27.600Z] ---> dec292d02e07 [2024-07-19T04:01:27.600Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-19T04:01:27.600Z] ---> Running in 38232231f6ac [2024-07-19T04:01:27.600Z] Removing intermediate container 38232231f6ac [2024-07-19T04:01:27.600Z] ---> 7166ee096d6d [2024-07-19T04:01:27.600Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-19T04:01:27.600Z] ---> Running in 06d0a704eafb [2024-07-19T04:01:27.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T04:01:27.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T04:01:27.600Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T04:01:27.600Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T04:01:27.600Z] OK: 8 MiB in 16 packages [2024-07-19T04:01:28.718Z] Removing intermediate container 06d0a704eafb [2024-07-19T04:01:28.718Z] ---> e2dab65d748e [2024-07-19T04:01:28.718Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-19T04:01:28.718Z] ---> Running in c823b260980c [2024-07-19T04:01:29.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T04:01:29.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T04:01:30.839Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T04:01:31.159Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T04:01:31.159Z] OK: 8 MiB in 16 packages [2024-07-19T04:01:32.247Z] Removing intermediate container c823b260980c [2024-07-19T04:01:32.247Z] ---> 810071026d8e [2024-07-19T04:01:32.247Z] Step 15/24 : WORKDIR / [2024-07-19T04:01:32.247Z] ---> Running in 616ccde1db33 [2024-07-19T04:01:32.522Z] Removing intermediate container 616ccde1db33 [2024-07-19T04:01:32.522Z] ---> 9ddaeb76c405 [2024-07-19T04:01:32.522Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-19T04:01:33.601Z] ---> cd5b2674e8a3 [2024-07-19T04:01:33.601Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-19T04:01:35.852Z] ---> 72d504870211 [2024-07-19T04:01:35.852Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-19T04:01:36.170Z] ---> 470b4f4e1063 [2024-07-19T04:01:36.170Z] Step 19/24 : EXPOSE 59999 [2024-07-19T04:01:36.500Z] ---> Running in 568f5f39230d [2024-07-19T04:01:36.500Z] Removing intermediate container 568f5f39230d [2024-07-19T04:01:36.500Z] ---> a6093320abd9 [2024-07-19T04:01:36.500Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-19T04:01:36.784Z] ---> Running in 72fd1c774265 [2024-07-19T04:01:37.109Z] Removing intermediate container 72fd1c774265 [2024-07-19T04:01:37.109Z] ---> 51ab45149110 [2024-07-19T04:01:37.109Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-19T04:01:37.109Z] ---> Running in 3c26d33c695d [2024-07-19T04:01:37.432Z] Removing intermediate container 3c26d33c695d [2024-07-19T04:01:37.432Z] ---> b32f913ab98a [2024-07-19T04:01:37.432Z] Step 22/24 : LABEL arch=arm64 [2024-07-19T04:01:37.432Z] ---> Running in 8b315e30d041 [2024-07-19T04:01:37.745Z] Removing intermediate container 8b315e30d041 [2024-07-19T04:01:37.745Z] ---> 43a3f20f2e23 [2024-07-19T04:01:37.745Z] Step 23/24 : LABEL git_sha=af8fd86a570d66ea1cfaede877fe074423b1d236 [2024-07-19T04:01:38.034Z] ---> Running in cca47b70ed7f [2024-07-19T04:01:38.315Z] Removing intermediate container cca47b70ed7f [2024-07-19T04:01:38.315Z] ---> c28ce0d1d201 [2024-07-19T04:01:38.315Z] Step 24/24 : LABEL version=3.2.0-dev.25 [2024-07-19T04:01:38.315Z] ---> Running in fc51eedb2b3b [2024-07-19T04:01:38.626Z] Removing intermediate container fc51eedb2b3b [2024-07-19T04:01:38.626Z] ---> 1b91aafe87ba [2024-07-19T04:01:38.626Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T04:01:38.626Z] Successfully built 1b91aafe87ba [2024-07-19T04:01:38.626Z] 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-07-19T04:01:39.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T04:01:39.414Z] [2024-07-19T04:01:39.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:01:39.911Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T04:01:39.911Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-19T04:01:39.911Z] 8998bd30e6a1: Pulling fs layer [2024-07-19T04:01:39.911Z] 04944245beec: Pulling fs layer [2024-07-19T04:01:39.911Z] 699f458cf7ca: Pulling fs layer [2024-07-19T04:01:39.911Z] 765212b225bb: Pulling fs layer [2024-07-19T04:01:39.911Z] f23df028b6ca: Pulling fs layer [2024-07-19T04:01:39.911Z] d65c8cfc05b1: Pulling fs layer [2024-07-19T04:01:39.911Z] 2437ff75d9bd: Pulling fs layer [2024-07-19T04:01:39.911Z] f23df028b6ca: Waiting [2024-07-19T04:01:39.911Z] d65c8cfc05b1: Waiting [2024-07-19T04:01:39.911Z] 2437ff75d9bd: Waiting [2024-07-19T04:01:39.911Z] 765212b225bb: Waiting [2024-07-19T04:01:40.201Z] 04944245beec: Verifying Checksum [2024-07-19T04:01:40.201Z] 04944245beec: Download complete [2024-07-19T04:01:40.201Z] 765212b225bb: Verifying Checksum [2024-07-19T04:01:40.201Z] 765212b225bb: Download complete [2024-07-19T04:01:40.201Z] f23df028b6ca: Verifying Checksum [2024-07-19T04:01:40.201Z] f23df028b6ca: Download complete [2024-07-19T04:01:40.201Z] d65c8cfc05b1: Verifying Checksum [2024-07-19T04:01:40.201Z] d65c8cfc05b1: Download complete [2024-07-19T04:01:40.201Z] 699f458cf7ca: Verifying Checksum [2024-07-19T04:01:40.201Z] 699f458cf7ca: Download complete [2024-07-19T04:01:40.858Z] 8998bd30e6a1: Verifying Checksum [2024-07-19T04:01:40.858Z] 8998bd30e6a1: Download complete [2024-07-19T04:01:43.033Z] 2437ff75d9bd: Verifying Checksum [2024-07-19T04:01:43.033Z] 2437ff75d9bd: Download complete [2024-07-19T04:01:45.188Z] 8998bd30e6a1: Pull complete [2024-07-19T04:01:45.838Z] 04944245beec: Pull complete [2024-07-19T04:01:47.396Z] 699f458cf7ca: Pull complete [2024-07-19T04:01:47.698Z] 765212b225bb: Pull complete [2024-07-19T04:01:48.717Z] f23df028b6ca: Pull complete [2024-07-19T04:01:48.717Z] d65c8cfc05b1: Pull complete [2024-07-19T04:02:07.526Z] 2437ff75d9bd: Pull complete [2024-07-19T04:02:07.526Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-19T04:02:07.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T04:02:07.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:02:07.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-5906 does not seem to be running inside a container [2024-07-19T04:02:08.153Z] $ 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/300 -v /w/workspace/device-sdk-go/300:/w/workspace/device-sdk-go/300:rw,z -v /w/workspace/device-sdk-go/300@tmp:/w/workspace/device-sdk-go/300@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-07-19T04:02:11.108Z] $ docker top 57ece35f5466875966c91d4d913f4efe33ca20953fcfd78ba2eb01b3f94ff04c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:02:12.223Z] ---> job-cost.sh [2024-07-19T04:02:12.223Z] lf-activate-venv: SKIPPING [2024-07-19T04:02:12.223Z] INFO: No Stack... [2024-07-19T04:02:12.537Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-19T04:02:13.591Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T04:02:14.069Z] + cat /w/workspace/device-sdk-go/300/archives/cost.csv [2024-07-19T04:02:14.069Z] + cut -d, -f6 [Pipeline] lock [2024-07-19T04:02:14.254Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] [2024-07-19T04:02:14.276Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] did not exist. Created. [2024-07-19T04:02:14.304Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T04:02:14.977Z] /w/workspace/device-sdk-go/300@tmp/durable-1d6b35c5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-19T04:02:15.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-19T04:02:15.509Z] Warning: overwriting stash ‘stack-cost’ [2024-07-19T04:02:15.598Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T04:02:15.618Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-300-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T04:02:15.697Z] $ docker stop --time=1 57ece35f5466875966c91d4d913f4efe33ca20953fcfd78ba2eb01b3f94ff04c [2024-07-19T04:02:17.260Z] $ docker rm -f --volumes 57ece35f5466875966c91d4d913f4efe33ca20953fcfd78ba2eb01b3f94ff04c [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-07-19T04:02:18.091Z] provisioning config files... [2024-07-19T04:02:18.141Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16557858317575584080tmp [Pipeline] { [Pipeline] sh [2024-07-19T04:02:18.578Z] + set +x [2024-07-19T04:02:18.578Z] + + curl -s https://codecov.io/bashbash [2024-07-19T04:02:18.578Z] -s -- [2024-07-19T04:02:18.578Z] [2024-07-19T04:02:18.578Z] _____ _ [2024-07-19T04:02:18.578Z] / ____| | | [2024-07-19T04:02:18.578Z] | | ___ __| | ___ ___ _____ __ [2024-07-19T04:02:18.578Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-19T04:02:18.578Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-19T04:02:18.578Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-19T04:02:18.578Z] Bash-1.0.6 [2024-07-19T04:02:18.578Z] [2024-07-19T04:02:18.578Z] [2024-07-19T04:02:18.578Z] ==> git version 2.25.1 found [2024-07-19T04:02:18.578Z] ==> 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-07-19T04:02:18.578Z] Release-Date: 2020-01-08 [2024-07-19T04:02:18.578Z] 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-07-19T04:02:18.578Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-19T04:02:18.578Z] ==> Jenkins CI detected. [2024-07-19T04:02:18.578Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-07-19T04:02:18.578Z] project root: . [2024-07-19T04:02:18.578Z] --> token set from env [2024-07-19T04:02:18.578Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-19T04:02:18.578Z] ==> Running gcov in . (disable via -X gcov) [2024-07-19T04:02:18.578Z] ==> Python coveragepy not found [2024-07-19T04:02:18.578Z] ==> Searching for coverage reports in: [2024-07-19T04:02:18.578Z] + . [2024-07-19T04:02:18.578Z] -> Found 1 reports [2024-07-19T04:02:18.578Z] ==> Detecting git/mercurial file structure [2024-07-19T04:02:18.578Z] ==> Reading reports [2024-07-19T04:02:18.578Z] + ./coverage.out bytes=125161 [2024-07-19T04:02:18.578Z] ==> Appending adjustments [2024-07-19T04:02:18.578Z] https://docs.codecov.io/docs/fixing-reports [2024-07-19T04:02:18.873Z] + Found adjustments [2024-07-19T04:02:18.873Z] ==> Gzipping contents [2024-07-19T04:02:18.873Z] 20K /tmp/codecov.XNffz5.gz [2024-07-19T04:02:18.873Z] ==> Uploading reports [2024-07-19T04:02:18.873Z] url: https://codecov.io [2024-07-19T04:02:18.873Z] query: branch=main&commit=af8fd86a570d66ea1cfaede877fe074423b1d236&build=300&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F300%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-19T04:02:18.873Z] -> Pinging Codecov [2024-07-19T04:02:18.873Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=af8fd86a570d66ea1cfaede877fe074423b1d236&build=300&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F300%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-19T04:02:19.150Z] -> Uploading to [2024-07-19T04:02:19.150Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-19/7E55EF52A471D76F132DFD9A03CDDE97/af8fd86a570d66ea1cfaede877fe074423b1d236/6a09fac1-f78d-4898-90ab-64da19ffb611.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T040218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02954d4722d4a15faf797c4bec4e2a5452c09d0ba58ec501e0b8932827696876 [2024-07-19T04:02:19.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T04:02:19.150Z] Dload Upload Total Spent Left Speed [2024-07-19T04:02:19.456Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17067 0 0 100 17067 0 64893 --:--:-- --:--:-- --:--:-- 64647 [2024-07-19T04:02:19.456Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/af8fd86a570d66ea1cfaede877fe074423b1d236 [Pipeline] } [2024-07-19T04:02:19.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-19T04:02:19.912Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-19T04:02:19.955Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:02:20.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-19T04:02:20.362Z] [2024-07-19T04:02:20.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:02:20.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-19T04:02:20.792Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-19T04:02:20.792Z] 619be1103602: Already exists [2024-07-19T04:02:20.792Z] f8ea3408117e: Pulling fs layer [2024-07-19T04:02:20.792Z] 91320369b822: Pulling fs layer [2024-07-19T04:02:20.792Z] 0406650e8295: Pulling fs layer [2024-07-19T04:02:20.792Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T04:02:20.792Z] 96d80e3f36e1: Pulling fs layer [2024-07-19T04:02:20.792Z] bcf3aedb951c: Pulling fs layer [2024-07-19T04:02:20.792Z] 96d80e3f36e1: Waiting [2024-07-19T04:02:20.792Z] 4f4fb700ef54: Waiting [2024-07-19T04:02:20.792Z] bcf3aedb951c: Waiting [2024-07-19T04:02:20.792Z] 0406650e8295: Download complete [2024-07-19T04:02:20.792Z] f8ea3408117e: Download complete [2024-07-19T04:02:20.792Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T04:02:20.792Z] 4f4fb700ef54: Download complete [2024-07-19T04:02:20.792Z] f8ea3408117e: Pull complete [2024-07-19T04:02:21.094Z] 96d80e3f36e1: Verifying Checksum [2024-07-19T04:02:21.094Z] 96d80e3f36e1: Download complete [2024-07-19T04:02:21.461Z] 91320369b822: Verifying Checksum [2024-07-19T04:02:21.461Z] 91320369b822: Download complete [2024-07-19T04:02:21.782Z] bcf3aedb951c: Verifying Checksum [2024-07-19T04:02:21.782Z] bcf3aedb951c: Download complete [2024-07-19T04:02:24.611Z] 91320369b822: Pull complete [2024-07-19T04:02:24.901Z] 0406650e8295: Pull complete [2024-07-19T04:02:24.901Z] 4f4fb700ef54: Pull complete [2024-07-19T04:02:25.166Z] 96d80e3f36e1: Pull complete [2024-07-19T04:02:27.904Z] bcf3aedb951c: Pull complete [2024-07-19T04:02:27.904Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-19T04:02:27.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-19T04:02:27.904Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:02:28.236Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T04:02:28.336Z] $ 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-07-19T04:02:32.087Z] $ docker top 40b68af622099376e91663fada426f7155b5966b3fad2e598383b0bd48679186 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T04:02:32.526Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo [2024-07-19T04:02:32.581Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-07-19T04:02:32.960Z] + set -o pipefail [2024-07-19T04:02:32.960Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-07-19T04:02:39.842Z] [2024-07-19T04:02:39.842Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2024-07-19T04:02:39.842Z] [2024-07-19T04:02:39.842Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/625e361e-bdcb-4d8c-b75e-1f7a476a740b [2024-07-19T04:02:39.842Z] [2024-07-19T04:02:39.842Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-19T04:02:39.842Z] [Pipeline] } [2024-07-19T04:02:39.892Z] $ docker stop --time=1 40b68af622099376e91663fada426f7155b5966b3fad2e598383b0bd48679186 [2024-07-19T04:02:44.180Z] $ docker rm -f --volumes 40b68af622099376e91663fada426f7155b5966b3fad2e598383b0bd48679186 [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-07-19T04:02:44.968Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T04:02:44.991Z] provisioning config files... [2024-07-19T04:02:45.023Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11620848044460470730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:02:45.447Z] --> edgex-publish-swagger.sh [2024-07-19T04:02:45.447Z] === Publish openapi/v3 API === [2024-07-19T04:02:45.447Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2024-07-19T04:02:45.447Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2024-07-19T04:02:45.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T04:02:45.447Z] Dload Upload Total Spent Left Speed [2024-07-19T04:02:46.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28585 100 156 100 28429 175 31978 --:--:-- --:--:-- --:--:-- 32117 100 28585 100 156 100 28429 175 31978 --:--:-- --:--:-- --:--:-- 32117 [2024-07-19T04:02:46.161Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-07-19T04:02:46.161Z] [Pipeline] } [2024-07-19T04:02:46.211Z] 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-07-19T04:02:46.930Z] + git log --format=format:%s -1 af8fd86a570d66ea1cfaede877fe074423b1d236 [Pipeline] sh [2024-07-19T04:02:47.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T04:02:47.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:02:47.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T04:02:47.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:02:48.529Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T04:02:48.739Z] $ 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-07-19T04:02:49.217Z] $ docker top fbab869963c14ecf305e8885f8227eda26fb0f482814a195d1b61a9b98c1b12f -eo pid,comm [2024-07-19T04:02:49.321Z] 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-07-19T04:02:49.321Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T04:02:49.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T04:02:49.485Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T04:02:49.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T04:02:49.606Z] $ docker exec fbab869963c14ecf305e8885f8227eda26fb0f482814a195d1b61a9b98c1b12f ssh-agent [2024-07-19T04:02:49.750Z] SSH_AUTH_SOCK=/tmp/ssh-dfGXKYApgkZt/agent.31 [2024-07-19T04:02:49.750Z] SSH_AGENT_PID=37 [2024-07-19T04:02:49.771Z] Running ssh-add (command line suppressed) [2024-07-19T04:02:49.868Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2867945026881387147.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2867945026881387147.key) [2024-07-19T04:02:49.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T04:02:50.308Z] + git semver tag [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,468 [run_tag] DEBUG tag force:False [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,468 [check_head_tag] DEBUG check head tag [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,469 [execute] INFO git cat-file --batch-check [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,473 [execute] INFO git cat-file --batch [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,499 [execute] INFO git tag -a v3.2.0-dev.25 -m v3.2.0-dev.25 [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,499 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.25', '-m', 'v3.2.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-19T04:02:50.623Z] 2024-07-19 04:02:50,504 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:02:50.623Z] 3.2.0-dev.25 [Pipeline] } [2024-07-19T04:02:50.658Z] $ docker exec --env ******** --env ******** fbab869963c14ecf305e8885f8227eda26fb0f482814a195d1b61a9b98c1b12f ssh-agent -k [2024-07-19T04:02:50.752Z] unset SSH_AUTH_SOCK; [2024-07-19T04:02:50.752Z] unset SSH_AGENT_PID; [2024-07-19T04:02:50.752Z] echo Agent pid 37 killed; [2024-07-19T04:02:50.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T04:02:51.221Z] + git semver [Pipeline] } [2024-07-19T04:02:51.592Z] $ docker stop --time=1 fbab869963c14ecf305e8885f8227eda26fb0f482814a195d1b61a9b98c1b12f [2024-07-19T04:02:52.926Z] $ docker rm -f --volumes fbab869963c14ecf305e8885f8227eda26fb0f482814a195d1b61a9b98c1b12f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:02:53.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-19T04:02:53.492Z] [2024-07-19T04:02:53.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:02:53.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-19T04:02:53.895Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-19T04:02:53.895Z] ab5ef0e58194: Pulling fs layer [2024-07-19T04:02:53.895Z] 9712f1f96733: Pulling fs layer [2024-07-19T04:02:53.895Z] 63f879dbbcfc: Pulling fs layer [2024-07-19T04:02:53.895Z] 0d9ebad4ef96: Pulling fs layer [2024-07-19T04:02:53.895Z] e9a5061849ea: Pulling fs layer [2024-07-19T04:02:53.895Z] 0d9ebad4ef96: Waiting [2024-07-19T04:02:53.895Z] d747dcd14b5f: Pulling fs layer [2024-07-19T04:02:53.895Z] 2de7ff778b66: Pulling fs layer [2024-07-19T04:02:53.895Z] e9a5061849ea: Waiting [2024-07-19T04:02:53.895Z] d747dcd14b5f: Waiting [2024-07-19T04:02:53.895Z] 2de7ff778b66: Waiting [2024-07-19T04:02:53.895Z] 9712f1f96733: Verifying Checksum [2024-07-19T04:02:53.895Z] 9712f1f96733: Download complete [2024-07-19T04:02:54.173Z] 63f879dbbcfc: Verifying Checksum [2024-07-19T04:02:54.173Z] 63f879dbbcfc: Download complete [2024-07-19T04:02:54.173Z] 0d9ebad4ef96: Download complete [2024-07-19T04:02:54.482Z] e9a5061849ea: Verifying Checksum [2024-07-19T04:02:54.482Z] e9a5061849ea: Download complete [2024-07-19T04:02:54.482Z] ab5ef0e58194: Verifying Checksum [2024-07-19T04:02:54.482Z] ab5ef0e58194: Download complete [2024-07-19T04:02:54.482Z] 2de7ff778b66: Verifying Checksum [2024-07-19T04:02:54.482Z] 2de7ff778b66: Download complete [2024-07-19T04:02:57.271Z] ab5ef0e58194: Pull complete [2024-07-19T04:02:57.271Z] 9712f1f96733: Pull complete [2024-07-19T04:02:57.877Z] 63f879dbbcfc: Pull complete [2024-07-19T04:03:01.457Z] 0d9ebad4ef96: Pull complete [2024-07-19T04:03:01.755Z] e9a5061849ea: Pull complete [2024-07-19T04:03:01.755Z] d747dcd14b5f: Pull complete [2024-07-19T04:03:02.808Z] 2de7ff778b66: Pull complete [2024-07-19T04:03:02.808Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-19T04:03:02.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-19T04:03:02.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:03:03.054Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T04:03:03.132Z] $ 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-07-19T04:03:08.993Z] $ docker top 903a24404541742324b15ca8b01710b056c5ad46cba3da78932251c005058c96 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-19T04:03:09.150Z] provisioning config files... [2024-07-19T04:03:09.192Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11694591576315400002tmp [2024-07-19T04:03:09.263Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12508142184359482807tmp [2024-07-19T04:03:09.319Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18240596420744681938tmp [Pipeline] { [Pipeline] echo [2024-07-19T04:03:09.373Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:09.764Z] ---> sigul-configuration.sh [2024-07-19T04:03:09.764Z] gpg: directory `/root/.gnupg' created [2024-07-19T04:03:09.764Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-19T04:03:09.764Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-19T04:03:09.764Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-19T04:03:09.764Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-19T04:03:09.764Z] gpg: CAST5 encrypted data [2024-07-19T04:03:09.764Z] gpg: encrypted with 1 passphrase [2024-07-19T04:03:09.764Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-19T04:03:10.163Z] + mkdir /home/jenkins [2024-07-19T04:03:10.163Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-19T04:03:10.553Z] + 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-07-19T04:03:10.574Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:10.952Z] ---> sigul-install.sh [2024-07-19T04:03:10.957Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-19T04:03:11.347Z] + git tag --list [2024-07-19T04:03:11.347Z] 0.7.1 [2024-07-19T04:03:11.347Z] delhi-tag [2024-07-19T04:03:11.347Z] v1.0.0 [2024-07-19T04:03:11.347Z] v1.1.0 [2024-07-19T04:03:11.347Z] v1.1.1 [2024-07-19T04:03:11.347Z] v1.1.2 [2024-07-19T04:03:11.347Z] v1.2.0 [2024-07-19T04:03:11.347Z] v1.2.1 [2024-07-19T04:03:11.347Z] v1.2.2 [2024-07-19T04:03:11.347Z] v1.2.3 [2024-07-19T04:03:11.347Z] v1.3.0 [2024-07-19T04:03:11.347Z] v1.4.0 [2024-07-19T04:03:11.347Z] v2.0.0 [2024-07-19T04:03:11.347Z] v2.1.0 [2024-07-19T04:03:11.347Z] v2.1.1 [2024-07-19T04:03:11.347Z] v2.2.0 [2024-07-19T04:03:11.347Z] v2.3.0 [2024-07-19T04:03:11.347Z] v2.3.1 [2024-07-19T04:03:11.347Z] v3.0 [2024-07-19T04:03:11.347Z] v3.0.0 [2024-07-19T04:03:11.347Z] v3.0.1-dev.1 [2024-07-19T04:03:11.347Z] v3.1 [2024-07-19T04:03:11.347Z] v3.1.0 [2024-07-19T04:03:11.347Z] v3.1.0-dev.1 [2024-07-19T04:03:11.347Z] v3.1.0-dev.10 [2024-07-19T04:03:11.347Z] v3.1.0-dev.11 [2024-07-19T04:03:11.347Z] v3.1.0-dev.12 [2024-07-19T04:03:11.347Z] v3.1.0-dev.13 [2024-07-19T04:03:11.347Z] v3.1.0-dev.14 [2024-07-19T04:03:11.347Z] v3.1.0-dev.15 [2024-07-19T04:03:11.347Z] v3.1.0-dev.16 [2024-07-19T04:03:11.347Z] v3.1.0-dev.17 [2024-07-19T04:03:11.347Z] v3.1.0-dev.18 [2024-07-19T04:03:11.347Z] v3.1.0-dev.19 [2024-07-19T04:03:11.347Z] v3.1.0-dev.2 [2024-07-19T04:03:11.347Z] v3.1.0-dev.20 [2024-07-19T04:03:11.347Z] v3.1.0-dev.21 [2024-07-19T04:03:11.347Z] v3.1.0-dev.22 [2024-07-19T04:03:11.347Z] v3.1.0-dev.23 [2024-07-19T04:03:11.347Z] v3.1.0-dev.24 [2024-07-19T04:03:11.347Z] v3.1.0-dev.25 [2024-07-19T04:03:11.347Z] v3.1.0-dev.26 [2024-07-19T04:03:11.347Z] v3.1.0-dev.27 [2024-07-19T04:03:11.347Z] v3.1.0-dev.28 [2024-07-19T04:03:11.347Z] v3.1.0-dev.29 [2024-07-19T04:03:11.347Z] v3.1.0-dev.3 [2024-07-19T04:03:11.347Z] v3.1.0-dev.30 [2024-07-19T04:03:11.347Z] v3.1.0-dev.31 [2024-07-19T04:03:11.347Z] v3.1.0-dev.32 [2024-07-19T04:03:11.347Z] v3.1.0-dev.33 [2024-07-19T04:03:11.347Z] v3.1.0-dev.34 [2024-07-19T04:03:11.347Z] v3.1.0-dev.35 [2024-07-19T04:03:11.347Z] v3.1.0-dev.36 [2024-07-19T04:03:11.347Z] v3.1.0-dev.37 [2024-07-19T04:03:11.347Z] v3.1.0-dev.38 [2024-07-19T04:03:11.347Z] v3.1.0-dev.39 [2024-07-19T04:03:11.347Z] v3.1.0-dev.4 [2024-07-19T04:03:11.347Z] v3.1.0-dev.40 [2024-07-19T04:03:11.347Z] v3.1.0-dev.41 [2024-07-19T04:03:11.347Z] v3.1.0-dev.5 [2024-07-19T04:03:11.347Z] v3.1.0-dev.6 [2024-07-19T04:03:11.347Z] v3.1.0-dev.7 [2024-07-19T04:03:11.347Z] v3.1.0-dev.8 [2024-07-19T04:03:11.347Z] v3.1.0-dev.9 [2024-07-19T04:03:11.347Z] v3.1.1 [2024-07-19T04:03:11.347Z] v3.1.1-dev.1 [2024-07-19T04:03:11.347Z] v3.2.0-dev.1 [2024-07-19T04:03:11.347Z] v3.2.0-dev.10 [2024-07-19T04:03:11.347Z] v3.2.0-dev.11 [2024-07-19T04:03:11.347Z] v3.2.0-dev.12 [2024-07-19T04:03:11.347Z] v3.2.0-dev.13 [2024-07-19T04:03:11.347Z] v3.2.0-dev.14 [2024-07-19T04:03:11.347Z] v3.2.0-dev.15 [2024-07-19T04:03:11.347Z] v3.2.0-dev.16 [2024-07-19T04:03:11.347Z] v3.2.0-dev.17 [2024-07-19T04:03:11.347Z] v3.2.0-dev.18 [2024-07-19T04:03:11.347Z] v3.2.0-dev.19 [2024-07-19T04:03:11.347Z] v3.2.0-dev.2 [2024-07-19T04:03:11.347Z] v3.2.0-dev.20 [2024-07-19T04:03:11.347Z] v3.2.0-dev.21 [2024-07-19T04:03:11.347Z] v3.2.0-dev.22 [2024-07-19T04:03:11.347Z] v3.2.0-dev.23 [2024-07-19T04:03:11.347Z] v3.2.0-dev.24 [2024-07-19T04:03:11.347Z] v3.2.0-dev.25 [2024-07-19T04:03:11.347Z] v3.2.0-dev.3 [2024-07-19T04:03:11.347Z] v3.2.0-dev.4 [2024-07-19T04:03:11.347Z] v3.2.0-dev.5 [2024-07-19T04:03:11.347Z] v3.2.0-dev.6 [2024-07-19T04:03:11.347Z] v3.2.0-dev.7 [2024-07-19T04:03:11.347Z] v3.2.0-dev.8 [2024-07-19T04:03:11.347Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-19T04:03:11.826Z] + lftools sign git-tag v3.2.0-dev.25 [2024-07-19T04:03:12.439Z] Signing Git tag with Sigul... [2024-07-19T04:03:12.439Z] Signing v3.2.0-dev.25 [Pipeline] echo [2024-07-19T04:03:12.770Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:13.200Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-19T04:03:13.217Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-19T04:03:13.329Z] $ docker stop --time=1 903a24404541742324b15ca8b01710b056c5ad46cba3da78932251c005058c96 [2024-07-19T04:03:14.677Z] $ docker rm -f --volumes 903a24404541742324b15ca8b01710b056c5ad46cba3da78932251c005058c96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-19T04:03:15.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T04:03:15.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:03:15.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T04:03:15.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:03:15.897Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T04:03:16.008Z] $ 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-07-19T04:03:16.367Z] $ docker top 636e02f39b5df995e7e370bb0712bedf7cecab598fa16efaf4b4cd921b24549e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T04:03:16.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T04:03:16.620Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T04:03:16.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T04:03:16.766Z] $ docker exec 636e02f39b5df995e7e370bb0712bedf7cecab598fa16efaf4b4cd921b24549e ssh-agent [2024-07-19T04:03:16.907Z] SSH_AUTH_SOCK=/tmp/ssh-KJtLXND0OZ6n/agent.32 [2024-07-19T04:03:16.907Z] SSH_AGENT_PID=38 [2024-07-19T04:03:16.985Z] Running ssh-add (command line suppressed) [2024-07-19T04:03:17.082Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17200771303142643700.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17200771303142643700.key) [2024-07-19T04:03:17.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T04:03:17.467Z] + git semver bump pre [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,646 [bump_version] DEBUG bumping version:3.2.0-dev.25 on axis:pre with prefix:dev [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,646 [bump_version] DEBUG bumped version:3.2.0-dev.26 [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,646 [write_version] DEBUG write version:3.2.0-dev.26 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,646 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,649 [execute] INFO git cat-file --batch-check [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,655 [execute] INFO git cat-file --batch [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T04:03:17.754Z] 2024-07-19 04:03:17,661 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:03:17.754Z] 3.2.0-dev.26 [Pipeline] } [2024-07-19T04:03:17.794Z] $ docker exec --env ******** --env ******** 636e02f39b5df995e7e370bb0712bedf7cecab598fa16efaf4b4cd921b24549e ssh-agent -k [2024-07-19T04:03:17.902Z] unset SSH_AUTH_SOCK; [2024-07-19T04:03:17.902Z] unset SSH_AGENT_PID; [2024-07-19T04:03:17.902Z] echo Agent pid 38 killed; [2024-07-19T04:03:17.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T04:03:18.398Z] + git semver [Pipeline] } [2024-07-19T04:03:18.755Z] $ docker stop --time=1 636e02f39b5df995e7e370bb0712bedf7cecab598fa16efaf4b4cd921b24549e [2024-07-19T04:03:20.031Z] $ docker rm -f --volumes 636e02f39b5df995e7e370bb0712bedf7cecab598fa16efaf4b4cd921b24549e [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T04:03:20.518Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T04:03:20.518Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:03:20.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T04:03:20.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:03:21.094Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T04:03:21.208Z] $ 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-07-19T04:03:21.630Z] $ docker top 54156e13d8559208fad7dbd968591dfee3266cd4a8116658b9dae4dd958982e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T04:03:21.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T04:03:21.850Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T04:03:21.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T04:03:21.988Z] $ docker exec 54156e13d8559208fad7dbd968591dfee3266cd4a8116658b9dae4dd958982e4 ssh-agent [2024-07-19T04:03:22.132Z] SSH_AUTH_SOCK=/tmp/ssh-CFZf3mOrPHVR/agent.32 [2024-07-19T04:03:22.132Z] SSH_AGENT_PID=38 [2024-07-19T04:03:22.161Z] Running ssh-add (command line suppressed) [2024-07-19T04:03:22.274Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14730785889270269572.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14730785889270269572.key) [2024-07-19T04:03:22.290Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T04:03:22.770Z] + git semver push [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,909 [run_push] DEBUG push [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,910 [execute] INFO git cat-file --batch-check [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,914 [execute] INFO git rev-list cfd8763aa06d213bee349607ef63c107ea110f5c -- [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,914 [execute] DEBUG Popen(['git', 'rev-list', 'cfd8763aa06d213bee349607ef63c107ea110f5c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,929 [execute] INFO git fetch -v origin [2024-07-19T04:03:23.069Z] 2024-07-19 04:03:22,929 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-19T04:03:23.756Z] 2024-07-19 04:03:23,450 [run_push] DEBUG no remote changes detected [2024-07-19T04:03:23.756Z] 2024-07-19 04:03:23,451 [execute] INFO git push origin semver [2024-07-19T04:03:23.756Z] 2024-07-19 04:03:23,451 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-19T04:03:24.394Z] 2024-07-19 04:03:24,328 [run_push] DEBUG push all version tags [2024-07-19T04:03:24.394Z] 2024-07-19 04:03:24,329 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-19T04:03:24.394Z] 2024-07-19 04:03:24,329 [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-07-19T04:03:25.065Z] 2024-07-19 04:03:25,033 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-19T04:03:25.065Z] 3.2.0-dev.26 [Pipeline] } [2024-07-19T04:03:25.104Z] $ docker exec --env ******** --env ******** 54156e13d8559208fad7dbd968591dfee3266cd4a8116658b9dae4dd958982e4 ssh-agent -k [2024-07-19T04:03:25.210Z] unset SSH_AUTH_SOCK; [2024-07-19T04:03:25.210Z] unset SSH_AGENT_PID; [2024-07-19T04:03:25.210Z] echo Agent pid 38 killed; [2024-07-19T04:03:25.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T04:03:25.727Z] + git semver [Pipeline] } [2024-07-19T04:03:26.057Z] $ docker stop --time=1 54156e13d8559208fad7dbd968591dfee3266cd4a8116658b9dae4dd958982e4 [2024-07-19T04:03:27.330Z] $ docker rm -f --volumes 54156e13d8559208fad7dbd968591dfee3266cd4a8116658b9dae4dd958982e4 [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-07-19T04:03:28.197Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-07-19T04:03:28.197Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-19T04:03:28.197Z] total 16 [2024-07-19T04:03:28.197Z] drwxr-xr-x 3 root root 4096 Jul 19 03:45 . [2024-07-19T04:03:28.197Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 04:03 .. [2024-07-19T04:03:28.197Z] drwxr-xr-x 2 root root 4096 Jul 19 03:45 cost [2024-07-19T04:03:28.197Z] -rw-r--r-- 1 root root 85 Jul 19 03:45 cost.csv [2024-07-19T04:03:28.197Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-19T04:03:28.197Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-19T04:03:28.197Z] total 16 [2024-07-19T04:03:28.197Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 03:45 . [2024-07-19T04:03:28.197Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 04:03 .. [2024-07-19T04:03:28.197Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 03:45 cost [2024-07-19T04:03:28.197Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 19 03:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:28.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:29.563Z] ---> package-listing.sh [2024-07-19T04:03:29.563Z] ++ facter osfamily [2024-07-19T04:03:29.563Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-19T04:03:29.563Z] + OS_FAMILY=debian [2024-07-19T04:03:29.563Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-07-19T04:03:29.563Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-19T04:03:29.563Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-19T04:03:29.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-19T04:03:29.563Z] + PACKAGES=/tmp/packages_start.txt [2024-07-19T04:03:29.563Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-19T04:03:29.563Z] + PACKAGES=/tmp/packages_end.txt [2024-07-19T04:03:29.563Z] + case "${OS_FAMILY}" in [2024-07-19T04:03:29.563Z] + dpkg -l [2024-07-19T04:03:29.563Z] + grep '^ii' [2024-07-19T04:03:29.563Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-19T04:03:29.563Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-19T04:03:29.563Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-19T04:03:29.563Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-19T04:03:29.563Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-07-19T04:03:29.563Z] + 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-07-19T04:03:29.601Z] 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-07-19T04:03:29.965Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T04:03:30.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T04:03:30.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T04:03:30.614Z] prd-ubuntu20.04-docker-8c-8g-5902 does not seem to be running inside a container [2024-07-19T04:03:30.714Z] $ 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-07-19T04:03:30.948Z] $ docker top 363c3e07c8186faa06ddb9f2498a8ba7039dc3eb046119ad0a0dd20f044dc4f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T04:03:31.498Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-19T04:03:31.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-19T04:03:32.270Z] + ls /var/log/sa-host [2024-07-19T04:03:32.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T04:03:32.371Z] provisioning config files... [2024-07-19T04:03:32.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9295537050188732842tmp [Pipeline] { [Pipeline] echo [2024-07-19T04:03:32.509Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:32.868Z] ---> create-netrc.sh [Pipeline] } [2024-07-19T04:03:32.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:33.330Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-19T04:03:33.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:33.674Z] ---> sudo-logs.sh [2024-07-19T04:03:33.674Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-19T04:03:33.790Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:34.114Z] ---> job-cost.sh [2024-07-19T04:03:34.114Z] lf-activate-venv: SKIPPING [2024-07-19T04:03:34.114Z] DEBUG: total: 0.2199999988079071 [2024-07-19T04:03:34.114Z] INFO: Retrieving Stack Cost... [2024-07-19T04:03:34.766Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T04:03:35.076Z] INFO: Archiving Costs [Pipeline] echo [2024-07-19T04:03:35.196Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T04:03:35.519Z] ---> logs-deploy.sh [2024-07-19T04:03:35.519Z] lf-activate-venv: SKIPPING [2024-07-19T04:03:35.519Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/300 [2024-07-19T04:03:35.519Z] INFO: archiving workspace using pattern(s): [2024-07-19T04:03:36.622Z] Archives upload complete. [2024-07-19T04:03:36.622Z] INFO: archiving logs to Nexus