Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d 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-ssh14851704542336176232.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-ssh6928854984171287276.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-ssh6394093489986057061.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-ssh18030175425097122184.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-ssh10659005901976024802.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6306 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d (main) Commit message: "Merge pull request #1602 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.48" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d # timeout=10 > git rev-list --no-walk af8fd86a570d66ea1cfaede877fe074423b1d236 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-24T07:13:55.072Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-24T07:13:55.158Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-24T07:13:55.186Z] ========================================================= [2024-07-24T07:13:55.186Z] EdgeX Global Pipelines Version Info [2024-07-24T07:13:55.186Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:13:55.919Z] ------------------- [2024-07-24T07:13:55.919Z] stable info: [2024-07-24T07:13:55.919Z] ------------------- [2024-07-24T07:13:55.919Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-24T07:13:55.919Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-24T07:13:55.919Z] Message: update stable to v1.0.260 [2024-07-24T07:13:56.490Z] ------------------- [2024-07-24T07:13:56.490Z] experimental info: [2024-07-24T07:13:56.490Z] ------------------- [2024-07-24T07:13:56.490Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-24T07:13:56.490Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-24T07:13:56.490Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-24T07:13:56.574Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-24T07:13:56.597Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-24T07:13:56.621Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-24T07:13:56.640Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-24T07:13:56.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-24T07:13:56.682Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-24T07:13:56.705Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-24T07:13:56.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-24T07:13:56.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-24T07:13:56.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-24T07:13:56.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-24T07:13:56.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-24T07:13:56.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-24T07:13:56.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-24T07:13:56.869Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-24T07:13:56.890Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-24T07:13:56.911Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-24T07:13:56.933Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-24T07:13:56.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-24T07:13:56.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-24T07:13:57.005Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-24T07:13:57.030Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-24T07:13:57.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-24T07:13:57.077Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-24T07:13:57.100Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-24T07:13:57.123Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-24T07:13:57.142Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-24T07:13:57.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-24T07:13:57.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-24T07:13:57.213Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-24T07:13:57.245Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [Pipeline] echo [2024-07-24T07:13:57.272Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14bbcd9 [Pipeline] echo [2024-07-24T07:13:57.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T07:13:57.372Z] provisioning config files... [2024-07-24T07:13:57.386Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12541335681874232326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:13:57.735Z] ---> ****-login.sh [2024-07-24T07:13:57.735Z] nexus3.edgexfoundry.org:10001 [2024-07-24T07:13:57.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:13:57.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:13:57.995Z] Configure a credential helper to remove this warning. See [2024-07-24T07:13:57.995Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:13:57.995Z] [2024-07-24T07:13:57.995Z] Login Succeeded [2024-07-24T07:13:57.995Z] nexus3.edgexfoundry.org:10002 [2024-07-24T07:13:57.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:13:58.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:13:58.256Z] Configure a credential helper to remove this warning. See [2024-07-24T07:13:58.256Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:13:58.256Z] [2024-07-24T07:13:58.256Z] Login Succeeded [2024-07-24T07:13:58.256Z] nexus3.edgexfoundry.org:10003 [2024-07-24T07:13:58.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:13:58.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:13:58.257Z] Configure a credential helper to remove this warning. See [2024-07-24T07:13:58.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:13:58.257Z] [2024-07-24T07:13:58.257Z] Login Succeeded [2024-07-24T07:13:58.257Z] nexus3.edgexfoundry.org:10004 [2024-07-24T07:13:58.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:13:58.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:13:58.517Z] Configure a credential helper to remove this warning. See [2024-07-24T07:13:58.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:13:58.517Z] [2024-07-24T07:13:58.517Z] Login Succeeded [2024-07-24T07:13:58.517Z] ****.io [2024-07-24T07:13:58.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:13:58.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:13:58.517Z] Configure a credential helper to remove this warning. See [2024-07-24T07:13:58.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:13:58.517Z] [2024-07-24T07:13:58.517Z] Login Succeeded [2024-07-24T07:13:58.517Z] ---> ****-login.sh ends [Pipeline] } [2024-07-24T07:13:58.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-24T07:13:58.940Z] + git rev-list -1 --merges 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d~1..14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [Pipeline] echo [2024-07-24T07:13:58.972Z] -----------> git rev-list -1 --merges 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d~1..14bbcd9f0286f5af5971c01a4e00ee25c9ded14d 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [2024-07-24T07:13:58.972Z] 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [false] [Pipeline] sh [2024-07-24T07:13:59.266Z] + git log --format=format:%s -1 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [Pipeline] echo [2024-07-24T07:13:59.282Z] ========================================================= [2024-07-24T07:13:59.282Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-24T07:13:59.282Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-24T07:13:59.638Z] + git log --format=format:%s -1 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [Pipeline] echo [2024-07-24T07:13:59.651Z] [semverPrep] GIT_COMMIT: 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d, Commit Message: Merge pull request #1602 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.48 [Pipeline] echo [2024-07-24T07:13:59.668Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-24T07:14:00.048Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-24T07:14:00.048Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-24T07:14:00.048Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-24T07:14:00.048Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-24T07:14:00.048Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-24T07:14:00.048Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-24T07:14:00.048Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:14:00.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T07:14:00.484Z] [2024-07-24T07:14:00.484Z] 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-24T07:14:00.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T07:14:00.788Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-24T07:14:00.788Z] b85a868b505f: Pulling fs layer [2024-07-24T07:14:00.788Z] e2be974225ed: Pulling fs layer [2024-07-24T07:14:00.788Z] 339a4e72a1f5: Pulling fs layer [2024-07-24T07:14:00.788Z] 988bab9f4d93: Pulling fs layer [2024-07-24T07:14:00.788Z] 1469e6f7b9e6: Pulling fs layer [2024-07-24T07:14:00.788Z] eaf3925da568: Pulling fs layer [2024-07-24T07:14:00.788Z] bab4dde63d76: Pulling fs layer [2024-07-24T07:14:00.788Z] bde34c3a00c8: Pulling fs layer [2024-07-24T07:14:00.788Z] b352a97aabf1: Pulling fs layer [2024-07-24T07:14:00.788Z] 4872d77fe225: Pulling fs layer [2024-07-24T07:14:00.788Z] 5851b861e8e6: Pulling fs layer [2024-07-24T07:14:00.788Z] bab4dde63d76: Waiting [2024-07-24T07:14:00.788Z] eaf3925da568: Waiting [2024-07-24T07:14:00.788Z] b352a97aabf1: Waiting [2024-07-24T07:14:00.788Z] 5851b861e8e6: Waiting [2024-07-24T07:14:00.788Z] 988bab9f4d93: Waiting [2024-07-24T07:14:00.788Z] e2be974225ed: Download complete [2024-07-24T07:14:00.788Z] 988bab9f4d93: Verifying Checksum [2024-07-24T07:14:00.788Z] 988bab9f4d93: Download complete [2024-07-24T07:14:00.788Z] 1469e6f7b9e6: Verifying Checksum [2024-07-24T07:14:00.788Z] 1469e6f7b9e6: Download complete [2024-07-24T07:14:01.048Z] eaf3925da568: Verifying Checksum [2024-07-24T07:14:01.048Z] eaf3925da568: Download complete [2024-07-24T07:14:01.048Z] 339a4e72a1f5: Verifying Checksum [2024-07-24T07:14:01.048Z] 339a4e72a1f5: Download complete [2024-07-24T07:14:01.048Z] bde34c3a00c8: Verifying Checksum [2024-07-24T07:14:01.048Z] bde34c3a00c8: Download complete [2024-07-24T07:14:01.048Z] b352a97aabf1: Download complete [2024-07-24T07:14:01.048Z] 4872d77fe225: Verifying Checksum [2024-07-24T07:14:01.048Z] 4872d77fe225: Download complete [2024-07-24T07:14:01.048Z] 5851b861e8e6: Verifying Checksum [2024-07-24T07:14:01.048Z] 5851b861e8e6: Download complete [2024-07-24T07:14:01.048Z] b85a868b505f: Verifying Checksum [2024-07-24T07:14:01.048Z] b85a868b505f: Download complete [2024-07-24T07:14:01.306Z] bab4dde63d76: Verifying Checksum [2024-07-24T07:14:01.306Z] bab4dde63d76: Download complete [2024-07-24T07:14:02.245Z] b85a868b505f: Pull complete [2024-07-24T07:14:02.245Z] e2be974225ed: Pull complete [2024-07-24T07:14:02.812Z] 339a4e72a1f5: Pull complete [2024-07-24T07:14:02.812Z] 988bab9f4d93: Pull complete [2024-07-24T07:14:03.070Z] 1469e6f7b9e6: Pull complete [2024-07-24T07:14:03.070Z] eaf3925da568: Pull complete [2024-07-24T07:14:04.974Z] bab4dde63d76: Pull complete [2024-07-24T07:14:04.974Z] bde34c3a00c8: Pull complete [2024-07-24T07:14:04.974Z] b352a97aabf1: Pull complete [2024-07-24T07:14:04.974Z] 4872d77fe225: Pull complete [2024-07-24T07:14:04.974Z] 5851b861e8e6: Pull complete [2024-07-24T07:14:04.974Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-24T07:14:04.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T07:14:04.974Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:14:05.105Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:14:05.129Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-24T07:14:08.455Z] $ docker top ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b -eo pid,comm [2024-07-24T07:14:08.506Z] 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-24T07:14:08.506Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-24T07:14:08.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T07:14:08.567Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T07:14:08.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T07:14:08.666Z] $ docker exec ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b ssh-agent [2024-07-24T07:14:08.758Z] SSH_AUTH_SOCK=/tmp/ssh-45mmWjJ9MBgU/agent.31 [2024-07-24T07:14:08.758Z] SSH_AGENT_PID=37 [2024-07-24T07:14:08.765Z] Running ssh-add (command line suppressed) [2024-07-24T07:14:08.867Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10485439218929014155.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10485439218929014155.key) [2024-07-24T07:14:08.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T07:14:09.170Z] + git tag --points-at HEAD [Pipeline] } [2024-07-24T07:14:09.179Z] $ docker exec --env ******** --env ******** ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b ssh-agent -k [2024-07-24T07:14:09.279Z] unset SSH_AUTH_SOCK; [2024-07-24T07:14:09.280Z] unset SSH_AGENT_PID; [2024-07-24T07:14:09.280Z] echo Agent pid 37 killed; [2024-07-24T07:14:09.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-24T07:14:09.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T07:14:09.326Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T07:14:09.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T07:14:09.435Z] $ docker exec ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b ssh-agent [2024-07-24T07:14:09.539Z] SSH_AUTH_SOCK=/tmp/ssh-DZCya32LUJGB/agent.70 [2024-07-24T07:14:09.539Z] SSH_AGENT_PID=76 [2024-07-24T07:14:09.543Z] Running ssh-add (command line suppressed) [2024-07-24T07:14:09.637Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17407030869812860329.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17407030869812860329.key) [2024-07-24T07:14:09.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T07:14:09.944Z] + git semver init [2024-07-24T07:14:10.203Z] 2024-07-24 07:14:10,101 [run_init] DEBUG init version:0.0.0 force:False [2024-07-24T07:14:10.203Z] 2024-07-24 07:14:10,102 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-24T07:14:10.203Z] 2024-07-24 07:14:10,103 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-24T07:14:10.203Z] 2024-07-24 07:14:10,103 [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-24T07:14:12.741Z] 2024-07-24 07:14:12,201 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-07-24T07:14:12.741Z] 2024-07-24 07:14:12,202 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-07-24T07:14:12.741Z] 2024-07-24 07:14:12,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:14:12.741Z] 2024-07-24 07:14:12,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:14:12.741Z] 3.2.0-dev.26 [Pipeline] } [2024-07-24T07:14:12.749Z] $ docker exec --env ******** --env ******** ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b ssh-agent -k [2024-07-24T07:14:12.854Z] unset SSH_AUTH_SOCK; [2024-07-24T07:14:12.854Z] unset SSH_AGENT_PID; [2024-07-24T07:14:12.854Z] echo Agent pid 76 killed; [2024-07-24T07:14:12.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-24T07:14:13.186Z] + git semver [Pipeline] } [2024-07-24T07:14:13.456Z] $ docker stop --time=1 ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b [2024-07-24T07:14:14.786Z] $ docker rm -f --volumes ea4cec6fb4c80024e183bf958ea2e61aab22339eaa7da826f9e2932bd20f541b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-24T07:14:15.131Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-24T07:14:15.354Z] Stashed 1 file(s) [Pipeline] echo [2024-07-24T07:14:15.357Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.26 [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-24T07:14:15.520Z] provisioning config files... [2024-07-24T07:14:15.529Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12742198026558241538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:14:15.839Z] ---> ****-login.sh [2024-07-24T07:14:15.839Z] nexus3.edgexfoundry.org:10001 [2024-07-24T07:14:15.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:14:15.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:14:15.839Z] Configure a credential helper to remove this warning. See [2024-07-24T07:14:15.839Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:14:15.839Z] [2024-07-24T07:14:15.839Z] Login Succeeded [2024-07-24T07:14:15.839Z] nexus3.edgexfoundry.org:10002 [2024-07-24T07:14:15.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:14:15.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:14:15.839Z] Configure a credential helper to remove this warning. See [2024-07-24T07:14:15.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:14:15.840Z] [2024-07-24T07:14:15.840Z] Login Succeeded [2024-07-24T07:14:15.840Z] nexus3.edgexfoundry.org:10003 [2024-07-24T07:14:16.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:14:16.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:14:16.100Z] Configure a credential helper to remove this warning. See [2024-07-24T07:14:16.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:14:16.100Z] [2024-07-24T07:14:16.100Z] Login Succeeded [2024-07-24T07:14:16.100Z] nexus3.edgexfoundry.org:10004 [2024-07-24T07:14:16.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:14:16.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:14:16.100Z] Configure a credential helper to remove this warning. See [2024-07-24T07:14:16.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:14:16.100Z] [2024-07-24T07:14:16.100Z] Login Succeeded [2024-07-24T07:14:16.100Z] ****.io [2024-07-24T07:14:16.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:14:16.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:14:16.360Z] Configure a credential helper to remove this warning. See [2024-07-24T07:14:16.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:14:16.360Z] [2024-07-24T07:14:16.360Z] Login Succeeded [2024-07-24T07:14:16.360Z] ---> ****-login.sh ends [Pipeline] } [2024-07-24T07:14:16.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-24T07:14:16.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T07:14:16.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T07:14:16.478Z] ========================================================= [2024-07-24T07:14:16.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-24T07:14:16.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:14:16.812Z] + 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-24T07:14:16.812Z] Sending build context to Docker daemon 25.1MB [2024-07-24T07:14:16.812Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T07:14:16.812Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-24T07:14:17.072Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-24T07:14:17.072Z] 619be1103602: Pulling fs layer [2024-07-24T07:14:17.072Z] 7862e08f4a3e: Pulling fs layer [2024-07-24T07:14:17.072Z] 5df492c9dc93: Pulling fs layer [2024-07-24T07:14:17.072Z] 7629e6793208: Pulling fs layer [2024-07-24T07:14:17.072Z] 4f4fb700ef54: Pulling fs layer [2024-07-24T07:14:17.072Z] fb5054dd5b73: Pulling fs layer [2024-07-24T07:14:17.072Z] eeca6798cff9: Pulling fs layer [2024-07-24T07:14:17.072Z] aa269ceb94a6: Pulling fs layer [2024-07-24T07:14:17.072Z] ada007ff1a6a: Pulling fs layer [2024-07-24T07:14:17.072Z] fb5054dd5b73: Waiting [2024-07-24T07:14:17.072Z] 7629e6793208: Waiting [2024-07-24T07:14:17.072Z] eeca6798cff9: Waiting [2024-07-24T07:14:17.072Z] ada007ff1a6a: Waiting [2024-07-24T07:14:17.072Z] 4f4fb700ef54: Waiting [2024-07-24T07:14:17.072Z] aa269ceb94a6: Waiting [2024-07-24T07:14:17.072Z] 7862e08f4a3e: Download complete [2024-07-24T07:14:17.072Z] 7629e6793208: Download complete [2024-07-24T07:14:17.072Z] 4f4fb700ef54: Verifying Checksum [2024-07-24T07:14:17.072Z] 4f4fb700ef54: Download complete [2024-07-24T07:14:17.072Z] fb5054dd5b73: Verifying Checksum [2024-07-24T07:14:17.072Z] fb5054dd5b73: Download complete [2024-07-24T07:14:17.072Z] 619be1103602: Verifying Checksum [2024-07-24T07:14:17.072Z] 619be1103602: Download complete [2024-07-24T07:14:17.072Z] eeca6798cff9: Verifying Checksum [2024-07-24T07:14:17.072Z] eeca6798cff9: Download complete [2024-07-24T07:14:17.331Z] 619be1103602: Pull complete [2024-07-24T07:14:17.331Z] ada007ff1a6a: Verifying Checksum [2024-07-24T07:14:17.331Z] ada007ff1a6a: Download complete [2024-07-24T07:14:17.331Z] 7862e08f4a3e: Pull complete [2024-07-24T07:14:17.331Z] 5df492c9dc93: Verifying Checksum [2024-07-24T07:14:17.331Z] 5df492c9dc93: Download complete [2024-07-24T07:14:17.898Z] aa269ceb94a6: Verifying Checksum [2024-07-24T07:14:17.898Z] aa269ceb94a6: Download complete [2024-07-24T07:14:21.183Z] 5df492c9dc93: Pull complete [2024-07-24T07:14:21.183Z] 7629e6793208: Pull complete [2024-07-24T07:14:21.183Z] 4f4fb700ef54: Pull complete [2024-07-24T07:14:21.183Z] fb5054dd5b73: Pull complete [2024-07-24T07:14:21.183Z] eeca6798cff9: Pull complete [2024-07-24T07:14:23.082Z] aa269ceb94a6: Pull complete [2024-07-24T07:14:23.669Z] ada007ff1a6a: Pull complete [2024-07-24T07:14:23.669Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-24T07:14:23.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-24T07:14:23.669Z] ---> f489d0715acc [2024-07-24T07:14:23.669Z] Step 3/10 : ARG MAKE=make build [2024-07-24T07:14:27.897Z] ---> Running in ed6e8a77019c [2024-07-24T07:14:27.897Z] Removing intermediate container ed6e8a77019c [2024-07-24T07:14:27.897Z] ---> 28fb611f2967 [2024-07-24T07:14:27.897Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-24T07:14:27.897Z] ---> Running in c0664000ad3f [2024-07-24T07:14:27.897Z] Removing intermediate container c0664000ad3f [2024-07-24T07:14:27.897Z] ---> 1e740ce540ab [2024-07-24T07:14:27.897Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-24T07:14:27.897Z] ---> Running in ba3d4d2e3b40 [2024-07-24T07:14:27.897Z] Removing intermediate container ba3d4d2e3b40 [2024-07-24T07:14:27.897Z] ---> 057ac142f722 [2024-07-24T07:14:27.897Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-24T07:14:27.897Z] ---> Running in 60f8eee61112 [2024-07-24T07:14:28.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T07:14:28.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T07:14:28.416Z] OK: 264 MiB in 52 packages [2024-07-24T07:14:28.985Z] Removing intermediate container 60f8eee61112 [2024-07-24T07:14:28.985Z] ---> 51635901b369 [2024-07-24T07:14:28.985Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-24T07:14:28.985Z] ---> fb00bedaded9 [2024-07-24T07:14:28.985Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T07:14:28.985Z] ---> Running in 6a35a4c9473f [2024-07-24T07:14:30.470Z] Still waiting to schedule task [2024-07-24T07:14:30.470Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-24T07:15:25.218Z] Removing intermediate container 6a35a4c9473f [2024-07-24T07:15:25.218Z] ---> d0926693daa6 [2024-07-24T07:15:25.218Z] Step 9/10 : COPY . . [2024-07-24T07:15:25.218Z] ---> 1172bf962ea0 [2024-07-24T07:15:25.218Z] Step 10/10 : RUN ${MAKE} [2024-07-24T07:15:25.218Z] ---> Running in 91151518b175 [2024-07-24T07:15:25.478Z] noop [2024-07-24T07:15:25.737Z] Removing intermediate container 91151518b175 [2024-07-24T07:15:25.737Z] ---> f5aef27dd5b9 [2024-07-24T07:15:25.737Z] Successfully built f5aef27dd5b9 [2024-07-24T07:15:25.737Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:15:26.069Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-24T07:15:26.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:15:26.147Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:15:26.176Z] $ 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 ******** ci-base-image-x86_64 cat [2024-07-24T07:15:26.503Z] $ docker top 50a4ecc25946fbfbef405ad448fcd6cf9cc9fcf4af597988fc74bf88b7817112 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T07:15:26.856Z] + go version [2024-07-24T07:15:26.857Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-24T07:15:26.865Z] $ docker stop --time=1 50a4ecc25946fbfbef405ad448fcd6cf9cc9fcf4af597988fc74bf88b7817112 [2024-07-24T07:15:28.122Z] $ docker rm -f --volumes 50a4ecc25946fbfbef405ad448fcd6cf9cc9fcf4af597988fc74bf88b7817112 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:15:28.576Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-24T07:15:28.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:15:28.666Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:15:28.697Z] $ 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 ******** ci-base-image-x86_64 cat [2024-07-24T07:15:29.015Z] $ docker top b6958ddf39b6d5adf977af319fc9c153566ea98fddb5cdf65fc77709ac69eb1f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T07:15:29.372Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-24T07:15:29.677Z] + make test [2024-07-24T07:15:29.677Z] go test -race -coverprofile=coverage.out ./... [2024-07-24T07:15:36.243Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-24T07:16:02.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.020s coverage: 27.0% of statements [2024-07-24T07:16:02.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 80.0% of statements [2024-07-24T07:16:02.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.050s coverage: 86.0% of statements [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-24T07:16:02.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-24T07:16:02.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.086s coverage: 55.2% of statements [2024-07-24T07:16:03.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-24T07:16:03.485Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6308 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-07-24T07:16:03.507Z] Running in /w/workspace/device-sdk-go/301 [Pipeline] { [Pipeline] checkout [2024-07-24T07:16:05.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.026s coverage: 14.4% of statements [2024-07-24T07:16:05.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.295s coverage: 44.6% of statements [2024-07-24T07:16:05.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.042s coverage: 68.5% of statements [2024-07-24T07:16:05.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements [2024-07-24T07:16:05.861Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.4% of statements [2024-07-24T07:16:06.557Z] The recommended git tool is: git [2024-07-24T07:16:11.084Z] using credential edgex-jenkins-ssh [2024-07-24T07:16:11.106Z] Cloning the remote Git repository [2024-07-24T07:16:11.133Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-24T07:16:11.231Z] > git init /w/workspace/device-sdk-go/301 # timeout=10 [2024-07-24T07:16:11.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-24T07:16:11.368Z] > git --version # timeout=10 [2024-07-24T07:16:11.392Z] > git --version # 'git version 2.25.1' [2024-07-24T07:16:11.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-24T07:16:11.532Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-24T07:16:14.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-24T07:16:14.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-24T07:16:15.667Z] Avoid second fetch [2024-07-24T07:16:15.668Z] Checking out Revision 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d (main) [2024-07-24T07:16:16.258Z] Commit message: "Merge pull request #1602 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.48" [2024-07-24T07:16:15.671Z] > git config core.sparsecheckout # timeout=10 [2024-07-24T07:16:15.723Z] > git checkout -f 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-24T07:16:20.828Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-24T07:16:20.828Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-24T07:16:20.828Z] Dload Upload Total Spent Left Speed [2024-07-24T07:16:20.828Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-07-24T07:16:21.164Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-24T07:16:21.494Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-24T07:16:21.494Z] + sudo tee /etc/docker/daemon.new [2024-07-24T07:16:21.494Z] { [2024-07-24T07:16:21.494Z] "registry-mirrors": [ [2024-07-24T07:16:21.494Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-24T07:16:21.494Z] ], [2024-07-24T07:16:21.494Z] "bip": "10.250.0.254/24", [2024-07-24T07:16:21.494Z] "hosts": [ [2024-07-24T07:16:21.494Z] "tcp://0.0.0.0:5555", [2024-07-24T07:16:21.494Z] "unix:///var/run/docker.sock" [2024-07-24T07:16:21.494Z] ], [2024-07-24T07:16:21.494Z] "mtu": 1458, [2024-07-24T07:16:21.494Z] "selinux-enabled": true, [2024-07-24T07:16:21.494Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-24T07:16:21.494Z] } [Pipeline] sh [2024-07-24T07:16:21.832Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-24T07:16:22.179Z] + sudo service docker restart [2024-07-24T07:16:38.188Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T07:16:40.458Z] provisioning config files... [2024-07-24T07:16:40.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/301@tmp/config3277149212623717695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:16:40.714Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-24T07:16:40.714Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-24T07:16:40.714Z] ./bin/test-attribution-txt.sh [2024-07-24T07:16:40.714Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-24T07:16:40.714Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-24T07:16:40.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-24T07:16:40.741Z] $ docker stop --time=1 b6958ddf39b6d5adf977af319fc9c153566ea98fddb5cdf65fc77709ac69eb1f [2024-07-24T07:16:40.928Z] ---> ****-login.sh [2024-07-24T07:16:40.928Z] nexus3.edgexfoundry.org:10001 [2024-07-24T07:16:41.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:16:41.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:16:41.467Z] Configure a credential helper to remove this warning. See [2024-07-24T07:16:41.467Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:16:41.467Z] [2024-07-24T07:16:41.467Z] Login Succeeded [2024-07-24T07:16:41.467Z] nexus3.edgexfoundry.org:10002 [2024-07-24T07:16:41.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:16:41.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:16:41.734Z] Configure a credential helper to remove this warning. See [2024-07-24T07:16:41.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:16:41.734Z] [2024-07-24T07:16:41.734Z] Login Succeeded [2024-07-24T07:16:42.005Z] nexus3.edgexfoundry.org:10003 [2024-07-24T07:16:42.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:16:42.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:16:42.274Z] Configure a credential helper to remove this warning. See [2024-07-24T07:16:42.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:16:42.274Z] [2024-07-24T07:16:42.274Z] Login Succeeded [2024-07-24T07:16:42.274Z] nexus3.edgexfoundry.org:10004 [2024-07-24T07:16:42.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:16:42.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:16:42.545Z] Configure a credential helper to remove this warning. See [2024-07-24T07:16:42.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:16:42.545Z] [2024-07-24T07:16:42.545Z] Login Succeeded [2024-07-24T07:16:42.545Z] ****.io [2024-07-24T07:16:42.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-24T07:16:43.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-24T07:16:43.080Z] Configure a credential helper to remove this warning. See [2024-07-24T07:16:43.080Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-24T07:16:43.080Z] [2024-07-24T07:16:43.080Z] Login Succeeded [2024-07-24T07:16:43.080Z] ---> ****-login.sh ends [2024-07-24T07:16:45.250Z] $ docker rm -f --volumes b6958ddf39b6d5adf977af319fc9c153566ea98fddb5cdf65fc77709ac69eb1f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2024-07-24T07:16:45.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-07-24T07:16:45.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2024-07-24T07:16:45.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-24T07:16:45.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-07-24T07:16:45.959Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2024-07-24T07:16:45.983Z] ========================================================= [2024-07-24T07:16:45.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-24T07:16:45.983Z] ========================================================= [Pipeline] fileExists [Pipeline] // stage [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-07-24T07:16:46.367Z] + 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-24T07:16:46.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-24T07:16:46.903Z] + ls -al . [2024-07-24T07:16:46.903Z] total 380 [2024-07-24T07:16:46.903Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 24 07:15 . [2024-07-24T07:16:46.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:13 .. [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 24 07:13 .dockerignore [2024-07-24T07:16:46.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 07:16 .git [2024-07-24T07:16:46.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:13 .github [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 24 07:13 .gitignore [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 24 07:13 .golangci.yml [2024-07-24T07:16:46.903Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 07:14 .semver [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 24 07:13 CHANGELOG.md [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 07:13 GOVERNANCE.md [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 24 07:13 Jenkinsfile [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 24 07:13 LICENSE [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 24 07:13 Makefile [2024-07-24T07:16:46.903Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 24 07:13 OWNERS.md [2024-07-24T07:16:46.904Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 24 07:13 README.md [2024-07-24T07:16:46.904Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 24 07:14 VERSION [2024-07-24T07:16:46.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:13 bin [2024-07-24T07:16:46.904Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 24 07:16 coverage.out [2024-07-24T07:16:46.904Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 24 07:13 example [2024-07-24T07:16:46.904Z] -rw-rw-r-- 1 jenkins jenkins 6996 Jul 24 07:13 go.mod [2024-07-24T07:16:46.904Z] -rw-rw-r-- 1 jenkins jenkins 101460 Jul 24 07:13 go.sum [2024-07-24T07:16:46.904Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 07:13 internal [2024-07-24T07:16:46.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:13 openapi [2024-07-24T07:16:46.904Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 24 07:13 pkg [2024-07-24T07:16:46.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:13 snap [2024-07-24T07:16:46.904Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 24 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:16:46.963Z] Sending build context to Docker daemon 12.98MB [2024-07-24T07:16:46.963Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T07:16:46.963Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-24T07:16:46.963Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-24T07:16:46.963Z] c6b39de5b339: Pulling fs layer [2024-07-24T07:16:46.963Z] a69c41024577: Pulling fs layer [2024-07-24T07:16:46.963Z] d6de4b400683: Pulling fs layer [2024-07-24T07:16:46.963Z] 35cb2a7552d0: Pulling fs layer [2024-07-24T07:16:46.963Z] 4f4fb700ef54: Pulling fs layer [2024-07-24T07:16:46.963Z] 464afbd9ba4c: Pulling fs layer [2024-07-24T07:16:46.963Z] 00f215d4a9da: Pulling fs layer [2024-07-24T07:16:46.963Z] d496ad576159: Pulling fs layer [2024-07-24T07:16:46.963Z] 35cb2a7552d0: Waiting [2024-07-24T07:16:46.963Z] 4f4fb700ef54: Waiting [2024-07-24T07:16:46.963Z] 464afbd9ba4c: Waiting [2024-07-24T07:16:46.963Z] 00f215d4a9da: Waiting [2024-07-24T07:16:46.963Z] d496ad576159: Waiting [2024-07-24T07:16:47.218Z] + 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=14bbcd9f0286f5af5971c01a4e00ee25c9ded14d --label arch=amd64 --label version=3.2.0-dev.26 . [2024-07-24T07:16:47.218Z] Sending build context to Docker daemon 25.23MB [2024-07-24T07:16:47.218Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T07:16:47.218Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-24T07:16:47.218Z] ---> f5aef27dd5b9 [2024-07-24T07:16:47.218Z] Step 3/24 : ARG MAKE=make build [2024-07-24T07:16:47.235Z] a69c41024577: Download complete [2024-07-24T07:16:47.235Z] 35cb2a7552d0: Verifying Checksum [2024-07-24T07:16:47.235Z] 35cb2a7552d0: Download complete [2024-07-24T07:16:47.235Z] 4f4fb700ef54: Verifying Checksum [2024-07-24T07:16:47.235Z] 4f4fb700ef54: Download complete [2024-07-24T07:16:47.235Z] 464afbd9ba4c: Verifying Checksum [2024-07-24T07:16:47.235Z] 464afbd9ba4c: Download complete [2024-07-24T07:16:47.235Z] c6b39de5b339: Verifying Checksum [2024-07-24T07:16:47.235Z] c6b39de5b339: Download complete [2024-07-24T07:16:47.787Z] ---> Running in 845f3466949f [2024-07-24T07:16:47.787Z] Removing intermediate container 845f3466949f [2024-07-24T07:16:47.787Z] ---> 2900010ff909 [2024-07-24T07:16:47.787Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-24T07:16:47.787Z] ---> Running in 7280d2a4050e [2024-07-24T07:16:47.787Z] Removing intermediate container 7280d2a4050e [2024-07-24T07:16:47.787Z] ---> 056aabd60efa [2024-07-24T07:16:47.787Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-24T07:16:47.787Z] ---> Running in f6b30f090533 [2024-07-24T07:16:47.822Z] d496ad576159: Verifying Checksum [2024-07-24T07:16:47.822Z] d496ad576159: Download complete [2024-07-24T07:16:48.046Z] Removing intermediate container f6b30f090533 [2024-07-24T07:16:48.046Z] ---> 04989602b0e0 [2024-07-24T07:16:48.046Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-24T07:16:48.046Z] ---> Running in 4cd29ace726f [2024-07-24T07:16:48.099Z] c6b39de5b339: Pull complete [2024-07-24T07:16:48.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T07:16:48.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T07:16:48.565Z] OK: 264 MiB in 52 packages [2024-07-24T07:16:48.691Z] a69c41024577: Pull complete [2024-07-24T07:16:48.824Z] Removing intermediate container 4cd29ace726f [2024-07-24T07:16:48.825Z] ---> 646cec05c0ec [2024-07-24T07:16:48.825Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-24T07:16:48.961Z] d6de4b400683: Download complete [2024-07-24T07:16:49.084Z] ---> c96ae31f4253 [2024-07-24T07:16:49.084Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T07:16:49.084Z] ---> Running in 74422d77453b [2024-07-24T07:16:49.653Z] Removing intermediate container 74422d77453b [2024-07-24T07:16:49.653Z] ---> 8399dfeb6107 [2024-07-24T07:16:49.653Z] Step 9/24 : COPY . . [2024-07-24T07:16:49.927Z] 00f215d4a9da: Verifying Checksum [2024-07-24T07:16:49.927Z] 00f215d4a9da: Download complete [2024-07-24T07:16:50.616Z] ---> 648d51868d4a [2024-07-24T07:16:50.616Z] Step 10/24 : RUN ${MAKE} [2024-07-24T07:16:50.616Z] ---> Running in 9825df1d0a13 [2024-07-24T07:16:50.616Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-24T07:17:02.267Z] d6de4b400683: Pull complete [2024-07-24T07:17:02.268Z] 35cb2a7552d0: Pull complete [2024-07-24T07:17:02.268Z] 4f4fb700ef54: Pull complete [2024-07-24T07:17:02.268Z] 464afbd9ba4c: Pull complete [2024-07-24T07:17:11.171Z] 00f215d4a9da: Pull complete [2024-07-24T07:17:13.120Z] d496ad576159: Pull complete [2024-07-24T07:17:13.120Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-24T07:17:13.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-24T07:17:13.120Z] ---> f246e2811388 [2024-07-24T07:17:13.120Z] Step 3/10 : ARG MAKE=make build [2024-07-24T07:17:14.081Z] ---> Running in b872b8811a98 [2024-07-24T07:17:14.081Z] Removing intermediate container b872b8811a98 [2024-07-24T07:17:14.081Z] ---> 15d6185ba04f [2024-07-24T07:17:14.081Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-24T07:17:14.350Z] ---> Running in 2e973e32a56b [2024-07-24T07:17:14.617Z] Removing intermediate container 2e973e32a56b [2024-07-24T07:17:14.617Z] ---> 31bc255ad24d [2024-07-24T07:17:14.617Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-24T07:17:14.617Z] ---> Running in 54b44221d02f [2024-07-24T07:17:14.884Z] Removing intermediate container 54b44221d02f [2024-07-24T07:17:14.884Z] ---> b6ce8df7a288 [2024-07-24T07:17:14.884Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-24T07:17:15.151Z] ---> Running in d3facffb1a74 [2024-07-24T07:17:16.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T07:17:16.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T07:17:17.647Z] OK: 266 MiB in 52 packages [2024-07-24T07:17:18.625Z] Removing intermediate container d3facffb1a74 [2024-07-24T07:17:18.625Z] ---> 0556e84589db [2024-07-24T07:17:18.625Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-24T07:17:19.213Z] ---> 3c84b789c6d3 [2024-07-24T07:17:19.213Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T07:17:19.213Z] ---> Running in 8db8473fef77 [2024-07-24T07:17:22.685Z] Removing intermediate container 9825df1d0a13 [2024-07-24T07:17:22.685Z] ---> 5e642f30b22c [2024-07-24T07:17:22.685Z] Step 11/24 : FROM alpine:3.18 [2024-07-24T07:17:22.685Z] 3.18: Pulling from library/alpine [2024-07-24T07:17:22.685Z] 930bdd4d222e: Pulling fs layer [2024-07-24T07:17:22.685Z] 930bdd4d222e: Verifying Checksum [2024-07-24T07:17:22.685Z] 930bdd4d222e: Download complete [2024-07-24T07:17:22.685Z] 930bdd4d222e: Pull complete [2024-07-24T07:17:22.685Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-24T07:17:22.685Z] Status: Downloaded newer image for alpine:3.18 [2024-07-24T07:17:22.685Z] ---> 18f865063206 [2024-07-24T07:17:22.685Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-24T07:17:22.685Z] ---> Running in 1f466f304fe9 [2024-07-24T07:17:22.685Z] Removing intermediate container 1f466f304fe9 [2024-07-24T07:17:22.685Z] ---> d7e5bf3a6d25 [2024-07-24T07:17:22.685Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-24T07:17:22.685Z] ---> Running in fe3eec910d86 [2024-07-24T07:17:22.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T07:17:22.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T07:17:22.685Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-24T07:17:22.685Z] Executing busybox-1.36.1-r7.trigger [2024-07-24T07:17:22.685Z] OK: 7 MiB in 16 packages [2024-07-24T07:17:22.685Z] Removing intermediate container fe3eec910d86 [2024-07-24T07:17:22.685Z] ---> d4a5f5fe0f38 [2024-07-24T07:17:22.685Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-24T07:17:22.685Z] ---> Running in 51600a3f2f6d [2024-07-24T07:17:22.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-24T07:17:22.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-24T07:17:22.944Z] OK: 7 MiB in 16 packages [2024-07-24T07:17:23.202Z] Removing intermediate container 51600a3f2f6d [2024-07-24T07:17:23.202Z] ---> 2d9d64b16d33 [2024-07-24T07:17:23.202Z] Step 15/24 : WORKDIR / [2024-07-24T07:17:23.202Z] ---> Running in e4fd6c754ce8 [2024-07-24T07:17:23.461Z] Removing intermediate container e4fd6c754ce8 [2024-07-24T07:17:23.461Z] ---> beb25554e074 [2024-07-24T07:17:23.461Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-24T07:17:23.461Z] ---> ff87115cd965 [2024-07-24T07:17:23.461Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-24T07:17:25.997Z] ---> a76b23fe8ec9 [2024-07-24T07:17:25.997Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-24T07:17:25.997Z] ---> 7d02006fffb0 [2024-07-24T07:17:25.997Z] Step 19/24 : EXPOSE 59999 [2024-07-24T07:17:25.997Z] ---> Running in 06e5cc367ee5 [2024-07-24T07:17:25.997Z] Removing intermediate container 06e5cc367ee5 [2024-07-24T07:17:25.997Z] ---> bb642d9eca7d [2024-07-24T07:17:25.997Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-24T07:17:25.997Z] ---> Running in 614e77a75957 [2024-07-24T07:17:25.997Z] Removing intermediate container 614e77a75957 [2024-07-24T07:17:25.997Z] ---> 190fa4cefe33 [2024-07-24T07:17:25.997Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-24T07:17:25.997Z] ---> Running in 1c0f3eea8a61 [2024-07-24T07:17:25.997Z] Removing intermediate container 1c0f3eea8a61 [2024-07-24T07:17:25.997Z] ---> f708891cd973 [2024-07-24T07:17:25.997Z] Step 22/24 : LABEL arch=amd64 [2024-07-24T07:17:25.997Z] ---> Running in ccd39ff1220f [2024-07-24T07:17:25.997Z] Removing intermediate container ccd39ff1220f [2024-07-24T07:17:25.997Z] ---> a37782969eff [2024-07-24T07:17:25.997Z] Step 23/24 : LABEL git_sha=14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [2024-07-24T07:17:25.997Z] ---> Running in ca3847ff9eff [2024-07-24T07:17:26.260Z] Removing intermediate container ca3847ff9eff [2024-07-24T07:17:26.260Z] ---> 4aea5fbfe8ae [2024-07-24T07:17:26.260Z] Step 24/24 : LABEL version=3.2.0-dev.26 [2024-07-24T07:17:26.260Z] ---> Running in b84043590220 [2024-07-24T07:17:26.260Z] Removing intermediate container b84043590220 [2024-07-24T07:17:26.260Z] ---> 51925710ec3e [2024-07-24T07:17:26.261Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-24T07:17:26.261Z] Successfully built 51925710ec3e [2024-07-24T07:17:26.261Z] 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-24T07:17:26.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T07:17:26.762Z] [2024-07-24T07:17:26.762Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:17:27.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T07:17:27.073Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-24T07:17:27.073Z] 5eb5b503b376: Pulling fs layer [2024-07-24T07:17:27.073Z] 5c69ac0246d0: Pulling fs layer [2024-07-24T07:17:27.073Z] ec43610c2a17: Pulling fs layer [2024-07-24T07:17:27.073Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-24T07:17:27.073Z] 33b1e0a273af: Pulling fs layer [2024-07-24T07:17:27.073Z] 5d3b04190fa2: Pulling fs layer [2024-07-24T07:17:27.073Z] 2f39f015ded8: Pulling fs layer [2024-07-24T07:17:27.073Z] 3a2ae6a8a46f: Waiting [2024-07-24T07:17:27.073Z] 33b1e0a273af: Waiting [2024-07-24T07:17:27.073Z] 2f39f015ded8: Waiting [2024-07-24T07:17:27.073Z] 5d3b04190fa2: Waiting [2024-07-24T07:17:27.073Z] 5c69ac0246d0: Download complete [2024-07-24T07:17:27.073Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-24T07:17:27.073Z] 3a2ae6a8a46f: Download complete [2024-07-24T07:17:27.073Z] 33b1e0a273af: Verifying Checksum [2024-07-24T07:17:27.073Z] 33b1e0a273af: Download complete [2024-07-24T07:17:27.073Z] 5d3b04190fa2: Verifying Checksum [2024-07-24T07:17:27.073Z] 5d3b04190fa2: Download complete [2024-07-24T07:17:27.073Z] ec43610c2a17: Verifying Checksum [2024-07-24T07:17:27.073Z] ec43610c2a17: Download complete [2024-07-24T07:17:27.331Z] 5eb5b503b376: Verifying Checksum [2024-07-24T07:17:27.331Z] 5eb5b503b376: Download complete [2024-07-24T07:17:27.897Z] 2f39f015ded8: Download complete [2024-07-24T07:17:28.833Z] 5eb5b503b376: Pull complete [2024-07-24T07:17:28.833Z] 5c69ac0246d0: Pull complete [2024-07-24T07:17:29.091Z] ec43610c2a17: Pull complete [2024-07-24T07:17:29.091Z] 3a2ae6a8a46f: Pull complete [2024-07-24T07:17:29.349Z] 33b1e0a273af: Pull complete [2024-07-24T07:17:29.349Z] 5d3b04190fa2: Pull complete [2024-07-24T07:17:33.532Z] 2f39f015ded8: Pull complete [2024-07-24T07:17:33.532Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-24T07:17:33.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T07:17:33.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:17:33.642Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:17:33.666Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-24T07:17:37.911Z] $ docker top f3988b95ef28badfc4086acf012e318ae382d2b2c876b1fd9fdf4acf8ebec249 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:17:38.322Z] ---> job-cost.sh [2024-07-24T07:17:38.322Z] lf-activate-venv: SKIPPING [2024-07-24T07:17:38.322Z] INFO: No Stack... [2024-07-24T07:17:38.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-24T07:17:38.841Z] INFO: Archiving Costs [Pipeline] sh [2024-07-24T07:17:39.132Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-07-24T07:17:39.132Z] + cut -d, -f6 [Pipeline] lock [2024-07-24T07:17:39.150Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] [2024-07-24T07:17:39.158Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] did not exist. Created. [2024-07-24T07:17:39.166Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-24T07:17:39.478Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-24T07:17:39.514Z] Stashed 1 file(s) [Pipeline] } [2024-07-24T07:17:39.523Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-24T07:17:39.545Z] $ docker stop --time=1 f3988b95ef28badfc4086acf012e318ae382d2b2c876b1fd9fdf4acf8ebec249 [2024-07-24T07:17:40.681Z] $ docker rm -f --volumes f3988b95ef28badfc4086acf012e318ae382d2b2c876b1fd9fdf4acf8ebec249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-24T07:19:25.893Z] Removing intermediate container 8db8473fef77 [2024-07-24T07:19:25.893Z] ---> 4b2100833384 [2024-07-24T07:19:25.893Z] Step 9/10 : COPY . . [2024-07-24T07:19:25.893Z] ---> 4e6c02a3598a [2024-07-24T07:19:25.893Z] Step 10/10 : RUN ${MAKE} [2024-07-24T07:19:25.893Z] ---> Running in 5834f2bd3118 [2024-07-24T07:19:25.893Z] noop [2024-07-24T07:19:25.893Z] Removing intermediate container 5834f2bd3118 [2024-07-24T07:19:25.893Z] ---> 9eea0ae20357 [2024-07-24T07:19:25.893Z] Successfully built 9eea0ae20357 [2024-07-24T07:19:25.893Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:19:26.257Z] + docker inspect -f . ci-base-image-arm64 [2024-07-24T07:19:26.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:19:26.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-6308 does not seem to be running inside a container [2024-07-24T07:19:26.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/301 -v /w/workspace/device-sdk-go/301:/w/workspace/device-sdk-go/301:rw,z -v /w/workspace/device-sdk-go/301@tmp:/w/workspace/device-sdk-go/301@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-24T07:19:27.843Z] $ docker top 37f1a100d5c21525b5fce73bf8402bec40fc0686feaeadf0409ba25e9252f566 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T07:19:28.683Z] + go version [2024-07-24T07:19:28.684Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-24T07:19:28.712Z] $ docker stop --time=1 37f1a100d5c21525b5fce73bf8402bec40fc0686feaeadf0409ba25e9252f566 [2024-07-24T07:19:30.477Z] $ docker rm -f --volumes 37f1a100d5c21525b5fce73bf8402bec40fc0686feaeadf0409ba25e9252f566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:19:31.063Z] + docker inspect -f . ci-base-image-arm64 [2024-07-24T07:19:31.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:19:31.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-6308 does not seem to be running inside a container [2024-07-24T07:19:31.354Z] $ 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/301 -v /w/workspace/device-sdk-go/301:/w/workspace/device-sdk-go/301:rw,z -v /w/workspace/device-sdk-go/301@tmp:/w/workspace/device-sdk-go/301@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-24T07:19:32.638Z] $ docker top 25e8c93d722dda40ce0fb147b758a8698c0ac7d4edc6d69fc55aa0981519adad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T07:19:33.493Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/301 [Pipeline] fileExists [Pipeline] sh [2024-07-24T07:19:34.149Z] + make test [2024-07-24T07:19:34.149Z] go test -race -coverprofile=coverage.out ./... [2024-07-24T07:20:21.013Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-24T07:24:12.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-24T07:24:12.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-24T07:24:12.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-24T07:24:12.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-24T07:24:12.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-24T07:24:18.209Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.118s coverage: 27.0% of statements [2024-07-24T07:24:23.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.175s coverage: 80.0% of statements [2024-07-24T07:24:28.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-24T07:24:28.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-24T07:24:30.326Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.268s coverage: 86.0% of statements [2024-07-24T07:24:34.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-24T07:24:36.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.475s coverage: 55.2% of statements [2024-07-24T07:24:40.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.167s coverage: 14.4% of statements [2024-07-24T07:24:40.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.706s coverage: 44.6% of statements [2024-07-24T07:24:41.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-24T07:24:41.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-24T07:24:42.674Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.290s coverage: 68.5% of statements [2024-07-24T07:24:46.056Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.439s coverage: 89.2% of statements [2024-07-24T07:24:51.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-24T07:24:51.990Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.248s coverage: 5.4% of statements [2024-07-24T07:24:53.405Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-24T07:24:53.405Z] GO111MODULE=on go vet ./... [2024-07-24T07:29:00.499Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-24T07:29:00.499Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-24T07:29:00.499Z] ./bin/test-attribution-txt.sh [2024-07-24T07:29:00.499Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-24T07:29:00.499Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-24T07:29:00.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-24T07:29:00.552Z] $ docker stop --time=1 25e8c93d722dda40ce0fb147b758a8698c0ac7d4edc6d69fc55aa0981519adad [2024-07-24T07:29:02.570Z] $ docker rm -f --volumes 25e8c93d722dda40ce0fb147b758a8698c0ac7d4edc6d69fc55aa0981519adad [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-24T07:29:05.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-24T07:29:05.041Z] Warning: overwriting stash ‘coverage-report’ [2024-07-24T07:29:05.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-24T07:29:06.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-24T07:29:06.357Z] + ls -al . [2024-07-24T07:29:06.357Z] total 376 [2024-07-24T07:29:06.357Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 07:19 . [2024-07-24T07:29:06.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:16 .. [2024-07-24T07:29:06.357Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 24 07:16 .dockerignore [2024-07-24T07:29:06.357Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 07:16 .git [2024-07-24T07:29:06.357Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:16 .github [2024-07-24T07:29:06.357Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 24 07:16 .gitignore [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 24 07:16 .golangci.yml [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 24 07:16 CHANGELOG.md [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 07:16 GOVERNANCE.md [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 24 07:16 Jenkinsfile [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 24 07:16 LICENSE [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 24 07:16 Makefile [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 24 07:16 OWNERS.md [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 24 07:16 README.md [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 24 07:14 VERSION [2024-07-24T07:29:06.358Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:16 bin [2024-07-24T07:29:06.358Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 24 07:24 coverage.out [2024-07-24T07:29:06.358Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 24 07:16 example [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 6996 Jul 24 07:16 go.mod [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 101460 Jul 24 07:16 go.sum [2024-07-24T07:29:06.358Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 07:16 internal [2024-07-24T07:29:06.358Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:16 openapi [2024-07-24T07:29:06.358Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 24 07:16 pkg [2024-07-24T07:29:06.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:16 snap [2024-07-24T07:29:06.358Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 24 07:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:29:06.724Z] + 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=14bbcd9f0286f5af5971c01a4e00ee25c9ded14d --label arch=arm64 --label version=3.2.0-dev.26 . [2024-07-24T07:29:07.316Z] Sending build context to Docker daemon 13.11MB [2024-07-24T07:29:07.316Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-24T07:29:07.316Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-24T07:29:07.316Z] ---> 9eea0ae20357 [2024-07-24T07:29:07.316Z] Step 3/24 : ARG MAKE=make build [2024-07-24T07:29:07.587Z] ---> Running in 63f1b4789f8c [2024-07-24T07:29:07.854Z] Removing intermediate container 63f1b4789f8c [2024-07-24T07:29:07.854Z] ---> 1ac6ad0638a1 [2024-07-24T07:29:07.854Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-24T07:29:07.854Z] ---> Running in bdf738ead769 [2024-07-24T07:29:08.127Z] Removing intermediate container bdf738ead769 [2024-07-24T07:29:08.127Z] ---> a10ed3dcf3e0 [2024-07-24T07:29:08.127Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-24T07:29:08.127Z] ---> Running in 4c4ba594f5d2 [2024-07-24T07:29:08.394Z] Removing intermediate container 4c4ba594f5d2 [2024-07-24T07:29:08.394Z] ---> 1001d03e530d [2024-07-24T07:29:08.394Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-24T07:29:08.681Z] ---> Running in c4c478802a21 [2024-07-24T07:29:09.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T07:29:09.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T07:29:10.859Z] OK: 266 MiB in 52 packages [2024-07-24T07:29:11.816Z] Removing intermediate container c4c478802a21 [2024-07-24T07:29:11.816Z] ---> 036c168ebee3 [2024-07-24T07:29:11.816Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-24T07:29:12.399Z] ---> 73331f9bd564 [2024-07-24T07:29:12.399Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-24T07:29:12.399Z] ---> Running in ecd6f1129591 [2024-07-24T07:29:14.973Z] Removing intermediate container ecd6f1129591 [2024-07-24T07:29:14.973Z] ---> 050779f5d0e7 [2024-07-24T07:29:14.973Z] Step 9/24 : COPY . . [2024-07-24T07:29:16.371Z] ---> 6aa3da240096 [2024-07-24T07:29:16.371Z] Step 10/24 : RUN ${MAKE} [2024-07-24T07:29:16.371Z] ---> Running in abbe712f5116 [2024-07-24T07:29:17.326Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-24T07:32:54.089Z] Removing intermediate container abbe712f5116 [2024-07-24T07:32:54.089Z] ---> aed14f61cf32 [2024-07-24T07:32:54.089Z] Step 11/24 : FROM alpine:3.18 [2024-07-24T07:32:54.089Z] 3.18: Pulling from library/alpine [2024-07-24T07:32:54.089Z] 4983c3fe2029: Pulling fs layer [2024-07-24T07:32:54.089Z] 4983c3fe2029: Verifying Checksum [2024-07-24T07:32:54.089Z] 4983c3fe2029: Download complete [2024-07-24T07:32:54.089Z] 4983c3fe2029: Pull complete [2024-07-24T07:32:54.089Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-24T07:32:54.089Z] Status: Downloaded newer image for alpine:3.18 [2024-07-24T07:32:54.089Z] ---> a0237000ae83 [2024-07-24T07:32:54.089Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-24T07:32:54.089Z] ---> Running in 829a1741f25e [2024-07-24T07:32:54.089Z] Removing intermediate container 829a1741f25e [2024-07-24T07:32:54.090Z] ---> edec7ee9457d [2024-07-24T07:32:54.090Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-24T07:32:54.090Z] ---> Running in d66c95a5600e [2024-07-24T07:32:54.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T07:32:54.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T07:32:54.090Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-24T07:32:54.090Z] Executing busybox-1.36.1-r7.trigger [2024-07-24T07:32:54.090Z] OK: 8 MiB in 16 packages [2024-07-24T07:32:54.090Z] Removing intermediate container d66c95a5600e [2024-07-24T07:32:54.090Z] ---> 8871f101a4e8 [2024-07-24T07:32:54.090Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-24T07:32:54.090Z] ---> Running in 4df16e742770 [2024-07-24T07:32:54.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-24T07:32:54.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-24T07:32:54.090Z] OK: 8 MiB in 16 packages [2024-07-24T07:32:54.090Z] Removing intermediate container 4df16e742770 [2024-07-24T07:32:54.090Z] ---> 614ba2fa26fc [2024-07-24T07:32:54.090Z] Step 15/24 : WORKDIR / [2024-07-24T07:32:54.090Z] ---> Running in 3e6681dc8286 [2024-07-24T07:32:54.090Z] Removing intermediate container 3e6681dc8286 [2024-07-24T07:32:54.090Z] ---> 18249bbd5185 [2024-07-24T07:32:54.090Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-24T07:32:54.090Z] ---> f8fb774dfc44 [2024-07-24T07:32:54.090Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-24T07:32:54.090Z] ---> 0470685dd108 [2024-07-24T07:32:54.090Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-24T07:32:54.090Z] ---> 242724543520 [2024-07-24T07:32:54.090Z] Step 19/24 : EXPOSE 59999 [2024-07-24T07:32:54.090Z] ---> Running in 9a96a15b72f6 [2024-07-24T07:32:54.090Z] Removing intermediate container 9a96a15b72f6 [2024-07-24T07:32:54.090Z] ---> 128fbe94add1 [2024-07-24T07:32:54.090Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-24T07:32:54.090Z] ---> Running in 67620e913135 [2024-07-24T07:32:54.090Z] Removing intermediate container 67620e913135 [2024-07-24T07:32:54.090Z] ---> 52042ee498eb [2024-07-24T07:32:54.090Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-24T07:32:54.090Z] ---> Running in b763b1349947 [2024-07-24T07:32:54.090Z] Removing intermediate container b763b1349947 [2024-07-24T07:32:54.090Z] ---> 6206e9f03c06 [2024-07-24T07:32:54.090Z] Step 22/24 : LABEL arch=arm64 [2024-07-24T07:32:54.090Z] ---> Running in c0feccf25a17 [2024-07-24T07:32:54.090Z] Removing intermediate container c0feccf25a17 [2024-07-24T07:32:54.090Z] ---> f384e3fd6d5a [2024-07-24T07:32:54.090Z] Step 23/24 : LABEL git_sha=14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [2024-07-24T07:32:54.090Z] ---> Running in 39bd827cd3a3 [2024-07-24T07:32:54.090Z] Removing intermediate container 39bd827cd3a3 [2024-07-24T07:32:54.090Z] ---> 219206a35b98 [2024-07-24T07:32:54.090Z] Step 24/24 : LABEL version=3.2.0-dev.26 [2024-07-24T07:32:54.090Z] ---> Running in 09b31c10630c [2024-07-24T07:32:54.090Z] Removing intermediate container 09b31c10630c [2024-07-24T07:32:54.090Z] ---> 1d2cdf740399 [2024-07-24T07:32:54.090Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-24T07:32:54.090Z] Successfully built 1d2cdf740399 [2024-07-24T07:32:54.090Z] 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-24T07:32:54.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-24T07:32:54.565Z] [2024-07-24T07:32:54.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:32:54.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-24T07:32:54.894Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-24T07:32:54.894Z] 8998bd30e6a1: Pulling fs layer [2024-07-24T07:32:54.894Z] 04944245beec: Pulling fs layer [2024-07-24T07:32:54.894Z] 699f458cf7ca: Pulling fs layer [2024-07-24T07:32:54.894Z] 765212b225bb: Pulling fs layer [2024-07-24T07:32:54.894Z] f23df028b6ca: Pulling fs layer [2024-07-24T07:32:54.894Z] d65c8cfc05b1: Pulling fs layer [2024-07-24T07:32:54.894Z] 2437ff75d9bd: Pulling fs layer [2024-07-24T07:32:54.894Z] f23df028b6ca: Waiting [2024-07-24T07:32:54.894Z] d65c8cfc05b1: Waiting [2024-07-24T07:32:54.894Z] 2437ff75d9bd: Waiting [2024-07-24T07:32:54.894Z] 765212b225bb: Waiting [2024-07-24T07:32:55.160Z] 04944245beec: Verifying Checksum [2024-07-24T07:32:55.160Z] 04944245beec: Download complete [2024-07-24T07:32:55.160Z] 765212b225bb: Verifying Checksum [2024-07-24T07:32:55.160Z] 765212b225bb: Download complete [2024-07-24T07:32:55.160Z] f23df028b6ca: Download complete [2024-07-24T07:32:55.160Z] d65c8cfc05b1: Verifying Checksum [2024-07-24T07:32:55.160Z] d65c8cfc05b1: Download complete [2024-07-24T07:32:55.426Z] 699f458cf7ca: Verifying Checksum [2024-07-24T07:32:55.426Z] 699f458cf7ca: Download complete [2024-07-24T07:32:55.692Z] 8998bd30e6a1: Download complete [2024-07-24T07:32:58.272Z] 2437ff75d9bd: Verifying Checksum [2024-07-24T07:32:58.272Z] 2437ff75d9bd: Download complete [2024-07-24T07:33:00.210Z] 8998bd30e6a1: Pull complete [2024-07-24T07:33:00.792Z] 04944245beec: Pull complete [2024-07-24T07:33:02.197Z] 699f458cf7ca: Pull complete [2024-07-24T07:33:02.463Z] 765212b225bb: Pull complete [2024-07-24T07:33:03.418Z] f23df028b6ca: Pull complete [2024-07-24T07:33:03.418Z] d65c8cfc05b1: Pull complete [2024-07-24T07:33:21.602Z] 2437ff75d9bd: Pull complete [2024-07-24T07:33:21.602Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-24T07:33:21.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-24T07:33:21.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:33:21.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-6308 does not seem to be running inside a container [2024-07-24T07:33:21.874Z] $ 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/301 -v /w/workspace/device-sdk-go/301:/w/workspace/device-sdk-go/301:rw,z -v /w/workspace/device-sdk-go/301@tmp:/w/workspace/device-sdk-go/301@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-24T07:33:24.468Z] $ docker top 1e6382b8dbe624fd897b4f903fd97932ea16c08402dabeeb2e5629d791744dbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:33:24.950Z] ---> job-cost.sh [2024-07-24T07:33:25.216Z] lf-activate-venv: SKIPPING [2024-07-24T07:33:25.216Z] INFO: No Stack... [2024-07-24T07:33:25.481Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-24T07:33:26.434Z] INFO: Archiving Costs [Pipeline] sh [2024-07-24T07:33:27.075Z] + cut -d, -f6 [2024-07-24T07:33:27.075Z] + cat /w/workspace/device-sdk-go/301/archives/cost.csv [Pipeline] lock [2024-07-24T07:33:27.131Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] [2024-07-24T07:33:27.142Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] did not exist. Created. [2024-07-24T07:33:27.150Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-24T07:33:27.495Z] /w/workspace/device-sdk-go/301@tmp/durable-aeb63ae3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-24T07:33:28.401Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-24T07:33:28.428Z] Warning: overwriting stash ‘stack-cost’ [2024-07-24T07:33:28.500Z] Stashed 1 file(s) [Pipeline] } [2024-07-24T07:33:28.512Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-301-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-24T07:33:28.560Z] $ docker stop --time=1 1e6382b8dbe624fd897b4f903fd97932ea16c08402dabeeb2e5629d791744dbf [2024-07-24T07:33:30.071Z] $ docker rm -f --volumes 1e6382b8dbe624fd897b4f903fd97932ea16c08402dabeeb2e5629d791744dbf [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-24T07:33:30.475Z] provisioning config files... [2024-07-24T07:33:30.482Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13819275463889110178tmp [Pipeline] { [Pipeline] sh [2024-07-24T07:33:30.787Z] + set +x [2024-07-24T07:33:30.787Z] + curl -s https://codecov.io/bash [2024-07-24T07:33:30.787Z] + bash -s -- [2024-07-24T07:33:30.787Z] [2024-07-24T07:33:30.787Z] _____ _ [2024-07-24T07:33:30.787Z] / ____| | | [2024-07-24T07:33:30.787Z] | | ___ __| | ___ ___ _____ __ [2024-07-24T07:33:30.787Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-24T07:33:30.787Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-24T07:33:30.787Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-24T07:33:30.787Z] Bash-1.0.6 [2024-07-24T07:33:30.787Z] [2024-07-24T07:33:30.787Z] [2024-07-24T07:33:30.787Z] ==> git version 2.25.1 found [2024-07-24T07:33:30.787Z] ==> 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-24T07:33:30.787Z] Release-Date: 2020-01-08 [2024-07-24T07:33:30.787Z] 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-24T07:33:30.787Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-24T07:33:30.787Z] ==> Jenkins CI detected. [2024-07-24T07:33:30.787Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-07-24T07:33:30.787Z] project root: . [2024-07-24T07:33:30.787Z] --> token set from env [2024-07-24T07:33:30.787Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-24T07:33:30.787Z] ==> Running gcov in . (disable via -X gcov) [2024-07-24T07:33:30.787Z] ==> Python coveragepy not found [2024-07-24T07:33:30.787Z] ==> Searching for coverage reports in: [2024-07-24T07:33:30.787Z] + . [2024-07-24T07:33:30.787Z] -> Found 1 reports [2024-07-24T07:33:30.787Z] ==> Detecting git/mercurial file structure [2024-07-24T07:33:30.787Z] ==> Reading reports [2024-07-24T07:33:30.787Z] + ./coverage.out bytes=125161 [2024-07-24T07:33:30.787Z] ==> Appending adjustments [2024-07-24T07:33:30.787Z] https://docs.codecov.io/docs/fixing-reports [2024-07-24T07:33:31.355Z] + Found adjustments [2024-07-24T07:33:31.355Z] ==> Gzipping contents [2024-07-24T07:33:31.355Z] 20K /tmp/codecov.xxktQ9.gz [2024-07-24T07:33:31.355Z] ==> Uploading reports [2024-07-24T07:33:31.355Z] url: https://codecov.io [2024-07-24T07:33:31.355Z] query: branch=main&commit=14bbcd9f0286f5af5971c01a4e00ee25c9ded14d&build=301&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F301%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-24T07:33:31.355Z] -> Pinging Codecov [2024-07-24T07:33:31.355Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=14bbcd9f0286f5af5971c01a4e00ee25c9ded14d&build=301&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F301%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-24T07:33:31.355Z] -> Uploading to [2024-07-24T07:33:31.355Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-24/7E55EF52A471D76F132DFD9A03CDDE97/14bbcd9f0286f5af5971c01a4e00ee25c9ded14d/b2393874-1c9f-4b54-b0b1-906ea7ef832c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240724%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240724T073331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cf12fbba1880d67af5365f230ca9d2601957f0c40f7a287a0f86decaa6f37b9 [2024-07-24T07:33:31.355Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-24T07:33:31.355Z] Dload Upload Total Spent Left Speed [2024-07-24T07:33:31.614Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17072 0 0 100 17072 0 273k --:--:-- --:--:-- --:--:-- 268k 100 17072 0 0 100 17072 0 67478 --:--:-- --:--:-- --:--:-- 67212 [2024-07-24T07:33:31.615Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [Pipeline] } [2024-07-24T07:33:31.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-24T07:33:31.771Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-24T07:33:31.786Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:33:32.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-24T07:33:32.098Z] [2024-07-24T07:33:32.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:33:32.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-24T07:33:32.401Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-24T07:33:32.401Z] 619be1103602: Already exists [2024-07-24T07:33:32.401Z] f8ea3408117e: Pulling fs layer [2024-07-24T07:33:32.401Z] 91320369b822: Pulling fs layer [2024-07-24T07:33:32.401Z] 0406650e8295: Pulling fs layer [2024-07-24T07:33:32.401Z] 4f4fb700ef54: Pulling fs layer [2024-07-24T07:33:32.401Z] 96d80e3f36e1: Pulling fs layer [2024-07-24T07:33:32.401Z] bcf3aedb951c: Pulling fs layer [2024-07-24T07:33:32.401Z] 4f4fb700ef54: Waiting [2024-07-24T07:33:32.401Z] 0406650e8295: Verifying Checksum [2024-07-24T07:33:32.401Z] 0406650e8295: Download complete [2024-07-24T07:33:32.401Z] f8ea3408117e: Verifying Checksum [2024-07-24T07:33:32.401Z] f8ea3408117e: Download complete [2024-07-24T07:33:32.401Z] 4f4fb700ef54: Verifying Checksum [2024-07-24T07:33:32.401Z] 4f4fb700ef54: Download complete [2024-07-24T07:33:32.660Z] f8ea3408117e: Pull complete [2024-07-24T07:33:32.660Z] 96d80e3f36e1: Verifying Checksum [2024-07-24T07:33:32.660Z] 96d80e3f36e1: Download complete [2024-07-24T07:33:32.918Z] 91320369b822: Verifying Checksum [2024-07-24T07:33:32.918Z] 91320369b822: Download complete [2024-07-24T07:33:33.482Z] bcf3aedb951c: Verifying Checksum [2024-07-24T07:33:33.482Z] bcf3aedb951c: Download complete [2024-07-24T07:33:36.006Z] 91320369b822: Pull complete [2024-07-24T07:33:36.006Z] 0406650e8295: Pull complete [2024-07-24T07:33:36.006Z] 4f4fb700ef54: Pull complete [2024-07-24T07:33:36.264Z] 96d80e3f36e1: Pull complete [2024-07-24T07:33:39.549Z] bcf3aedb951c: Pull complete [2024-07-24T07:33:39.549Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-24T07:33:39.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-24T07:33:39.549Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:33:39.657Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:33:39.658Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-07-24T07:33:43.773Z] $ docker top 7b90ddf6648421427358fa2b36eeb3000fde3cb851adfbdfa302bead5c36b669 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T07:33:44.176Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo [2024-07-24T07:33:44.187Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-07-24T07:33:44.467Z] + set -o pipefail [2024-07-24T07:33:44.467Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-07-24T07:33:51.028Z] [2024-07-24T07:33:51.028Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2024-07-24T07:33:51.028Z] [2024-07-24T07:33:51.028Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/0e98671b-55cf-4e68-94e6-6a940ce62adc [2024-07-24T07:33:51.028Z] [2024-07-24T07:33:51.028Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-24T07:33:51.028Z] [2024-07-24T07:33:51.028Z] [2024-07-24T07:33:51.028Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-24T07:33:51.029Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-24T07:33:51.009Z] $ docker stop --time=1 7b90ddf6648421427358fa2b36eeb3000fde3cb851adfbdfa302bead5c36b669 [2024-07-24T07:33:55.898Z] $ docker rm -f --volumes 7b90ddf6648421427358fa2b36eeb3000fde3cb851adfbdfa302bead5c36b669 [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-24T07:33:56.502Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T07:33:56.523Z] provisioning config files... [2024-07-24T07:33:56.540Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14255486523101648585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:33:56.890Z] --> edgex-publish-swagger.sh [2024-07-24T07:33:56.890Z] === Publish openapi/v3 API === [2024-07-24T07:33:56.890Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2024-07-24T07:33:56.890Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2024-07-24T07:33:56.890Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-24T07:33:56.890Z] Dload Upload Total Spent Left Speed [2024-07-24T07:33:57.493Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28585 100 156 100 28429 249 45413 --:--:-- --:--:-- --:--:-- 45662 [2024-07-24T07:33:57.493Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-07-24T07:33:57.493Z] [Pipeline] } [2024-07-24T07:33:57.505Z] 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-24T07:33:57.951Z] + git log --format=format:%s -1 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d [Pipeline] sh [2024-07-24T07:33:58.240Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-24T07:33:58.240Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:33:58.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T07:33:58.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:33:58.625Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:33:58.621Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-24T07:33:59.143Z] $ docker top aed088a6c459573502dfaf752540df9c7acc7035d5166540fb83b890950ec4b0 -eo pid,comm [2024-07-24T07:33:59.222Z] 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-24T07:33:59.222Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-24T07:33:59.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T07:33:59.283Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T07:33:59.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T07:33:59.363Z] $ docker exec aed088a6c459573502dfaf752540df9c7acc7035d5166540fb83b890950ec4b0 ssh-agent [2024-07-24T07:33:59.516Z] SSH_AUTH_SOCK=/tmp/ssh-JevRmWnAD7dz/agent.32 [2024-07-24T07:33:59.516Z] SSH_AGENT_PID=38 [2024-07-24T07:33:59.520Z] Running ssh-add (command line suppressed) [2024-07-24T07:33:59.584Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1490425348062466205.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1490425348062466205.key) [2024-07-24T07:33:59.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T07:33:59.922Z] + git semver tag [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,048 [run_tag] DEBUG tag force:False [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,048 [check_head_tag] DEBUG check head tag [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,049 [execute] INFO git cat-file --batch-check [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,053 [execute] INFO git cat-file --batch [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,074 [execute] INFO git tag -a v3.2.0-dev.26 -m v3.2.0-dev.26 [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,075 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.26', '-m', 'v3.2.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-24T07:34:00.182Z] 2024-07-24 07:34:00,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:00.182Z] 3.2.0-dev.26 [Pipeline] } [2024-07-24T07:34:00.161Z] $ docker exec --env ******** --env ******** aed088a6c459573502dfaf752540df9c7acc7035d5166540fb83b890950ec4b0 ssh-agent -k [2024-07-24T07:34:00.256Z] unset SSH_AUTH_SOCK; [2024-07-24T07:34:00.256Z] unset SSH_AGENT_PID; [2024-07-24T07:34:00.257Z] echo Agent pid 38 killed; [2024-07-24T07:34:00.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-24T07:34:00.625Z] + git semver [Pipeline] } [2024-07-24T07:34:00.867Z] $ docker stop --time=1 aed088a6c459573502dfaf752540df9c7acc7035d5166540fb83b890950ec4b0 [2024-07-24T07:34:02.148Z] $ docker rm -f --volumes aed088a6c459573502dfaf752540df9c7acc7035d5166540fb83b890950ec4b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:34:02.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-24T07:34:02.586Z] [2024-07-24T07:34:02.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:34:02.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-24T07:34:02.889Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-24T07:34:02.889Z] ab5ef0e58194: Pulling fs layer [2024-07-24T07:34:02.889Z] 9712f1f96733: Pulling fs layer [2024-07-24T07:34:02.889Z] 63f879dbbcfc: Pulling fs layer [2024-07-24T07:34:02.889Z] 0d9ebad4ef96: Pulling fs layer [2024-07-24T07:34:02.889Z] e9a5061849ea: Pulling fs layer [2024-07-24T07:34:02.889Z] d747dcd14b5f: Pulling fs layer [2024-07-24T07:34:02.889Z] 2de7ff778b66: Pulling fs layer [2024-07-24T07:34:02.889Z] e9a5061849ea: Waiting [2024-07-24T07:34:02.889Z] d747dcd14b5f: Waiting [2024-07-24T07:34:02.889Z] 0d9ebad4ef96: Waiting [2024-07-24T07:34:02.889Z] 2de7ff778b66: Waiting [2024-07-24T07:34:02.889Z] 9712f1f96733: Download complete [2024-07-24T07:34:03.148Z] 63f879dbbcfc: Verifying Checksum [2024-07-24T07:34:03.148Z] 63f879dbbcfc: Download complete [2024-07-24T07:34:03.407Z] 0d9ebad4ef96: Verifying Checksum [2024-07-24T07:34:03.407Z] 0d9ebad4ef96: Download complete [2024-07-24T07:34:03.407Z] d747dcd14b5f: Verifying Checksum [2024-07-24T07:34:03.407Z] d747dcd14b5f: Download complete [2024-07-24T07:34:03.407Z] e9a5061849ea: Verifying Checksum [2024-07-24T07:34:03.407Z] e9a5061849ea: Download complete [2024-07-24T07:34:03.407Z] ab5ef0e58194: Verifying Checksum [2024-07-24T07:34:03.407Z] ab5ef0e58194: Download complete [2024-07-24T07:34:03.407Z] 2de7ff778b66: Verifying Checksum [2024-07-24T07:34:03.407Z] 2de7ff778b66: Download complete [2024-07-24T07:34:06.691Z] ab5ef0e58194: Pull complete [2024-07-24T07:34:06.691Z] 9712f1f96733: Pull complete [2024-07-24T07:34:06.691Z] 63f879dbbcfc: Pull complete [2024-07-24T07:34:10.902Z] 0d9ebad4ef96: Pull complete [2024-07-24T07:34:10.902Z] e9a5061849ea: Pull complete [2024-07-24T07:34:10.902Z] d747dcd14b5f: Pull complete [2024-07-24T07:34:11.835Z] 2de7ff778b66: Pull complete [2024-07-24T07:34:11.835Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-24T07:34:11.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-24T07:34:11.835Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:34:11.936Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:34:11.929Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-24T07:34:18.576Z] $ docker top 630d752436e72107f4bf6c5bb58107397607a212c8ce42c7b78bd66d2de6f310 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-24T07:34:18.686Z] provisioning config files... [2024-07-24T07:34:18.692Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9596035951223219175tmp [2024-07-24T07:34:18.699Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13147890045430820337tmp [2024-07-24T07:34:18.707Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3462904902262118231tmp [Pipeline] { [Pipeline] echo [2024-07-24T07:34:18.743Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:19.035Z] ---> sigul-configuration.sh [2024-07-24T07:34:19.035Z] gpg: directory `/root/.gnupg' created [2024-07-24T07:34:19.035Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-24T07:34:19.035Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-24T07:34:19.035Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-24T07:34:19.035Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-24T07:34:19.035Z] gpg: CAST5 encrypted data [2024-07-24T07:34:19.035Z] gpg: encrypted with 1 passphrase [2024-07-24T07:34:19.035Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-24T07:34:19.339Z] + mkdir /home/jenkins [2024-07-24T07:34:19.340Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-24T07:34:19.636Z] + 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-24T07:34:19.656Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:19.945Z] ---> sigul-install.sh [2024-07-24T07:34:19.945Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-24T07:34:20.238Z] + git tag --list [2024-07-24T07:34:20.238Z] 0.7.1 [2024-07-24T07:34:20.238Z] delhi-tag [2024-07-24T07:34:20.238Z] v1.0.0 [2024-07-24T07:34:20.238Z] v1.1.0 [2024-07-24T07:34:20.238Z] v1.1.1 [2024-07-24T07:34:20.238Z] v1.1.2 [2024-07-24T07:34:20.238Z] v1.2.0 [2024-07-24T07:34:20.238Z] v1.2.1 [2024-07-24T07:34:20.238Z] v1.2.2 [2024-07-24T07:34:20.238Z] v1.2.3 [2024-07-24T07:34:20.238Z] v1.3.0 [2024-07-24T07:34:20.238Z] v1.4.0 [2024-07-24T07:34:20.238Z] v2.0.0 [2024-07-24T07:34:20.238Z] v2.1.0 [2024-07-24T07:34:20.238Z] v2.1.1 [2024-07-24T07:34:20.238Z] v2.2.0 [2024-07-24T07:34:20.238Z] v2.3.0 [2024-07-24T07:34:20.238Z] v2.3.1 [2024-07-24T07:34:20.238Z] v3.0 [2024-07-24T07:34:20.238Z] v3.0.0 [2024-07-24T07:34:20.238Z] v3.0.1-dev.1 [2024-07-24T07:34:20.238Z] v3.1 [2024-07-24T07:34:20.238Z] v3.1.0 [2024-07-24T07:34:20.238Z] v3.1.0-dev.1 [2024-07-24T07:34:20.238Z] v3.1.0-dev.10 [2024-07-24T07:34:20.238Z] v3.1.0-dev.11 [2024-07-24T07:34:20.238Z] v3.1.0-dev.12 [2024-07-24T07:34:20.238Z] v3.1.0-dev.13 [2024-07-24T07:34:20.238Z] v3.1.0-dev.14 [2024-07-24T07:34:20.238Z] v3.1.0-dev.15 [2024-07-24T07:34:20.238Z] v3.1.0-dev.16 [2024-07-24T07:34:20.238Z] v3.1.0-dev.17 [2024-07-24T07:34:20.238Z] v3.1.0-dev.18 [2024-07-24T07:34:20.238Z] v3.1.0-dev.19 [2024-07-24T07:34:20.238Z] v3.1.0-dev.2 [2024-07-24T07:34:20.238Z] v3.1.0-dev.20 [2024-07-24T07:34:20.238Z] v3.1.0-dev.21 [2024-07-24T07:34:20.238Z] v3.1.0-dev.22 [2024-07-24T07:34:20.238Z] v3.1.0-dev.23 [2024-07-24T07:34:20.238Z] v3.1.0-dev.24 [2024-07-24T07:34:20.238Z] v3.1.0-dev.25 [2024-07-24T07:34:20.238Z] v3.1.0-dev.26 [2024-07-24T07:34:20.238Z] v3.1.0-dev.27 [2024-07-24T07:34:20.238Z] v3.1.0-dev.28 [2024-07-24T07:34:20.238Z] v3.1.0-dev.29 [2024-07-24T07:34:20.238Z] v3.1.0-dev.3 [2024-07-24T07:34:20.238Z] v3.1.0-dev.30 [2024-07-24T07:34:20.238Z] v3.1.0-dev.31 [2024-07-24T07:34:20.238Z] v3.1.0-dev.32 [2024-07-24T07:34:20.238Z] v3.1.0-dev.33 [2024-07-24T07:34:20.238Z] v3.1.0-dev.34 [2024-07-24T07:34:20.238Z] v3.1.0-dev.35 [2024-07-24T07:34:20.238Z] v3.1.0-dev.36 [2024-07-24T07:34:20.238Z] v3.1.0-dev.37 [2024-07-24T07:34:20.238Z] v3.1.0-dev.38 [2024-07-24T07:34:20.238Z] v3.1.0-dev.39 [2024-07-24T07:34:20.238Z] v3.1.0-dev.4 [2024-07-24T07:34:20.238Z] v3.1.0-dev.40 [2024-07-24T07:34:20.238Z] v3.1.0-dev.41 [2024-07-24T07:34:20.238Z] v3.1.0-dev.5 [2024-07-24T07:34:20.238Z] v3.1.0-dev.6 [2024-07-24T07:34:20.238Z] v3.1.0-dev.7 [2024-07-24T07:34:20.238Z] v3.1.0-dev.8 [2024-07-24T07:34:20.238Z] v3.1.0-dev.9 [2024-07-24T07:34:20.238Z] v3.1.1 [2024-07-24T07:34:20.238Z] v3.1.1-dev.1 [2024-07-24T07:34:20.238Z] v3.2.0-dev.1 [2024-07-24T07:34:20.238Z] v3.2.0-dev.10 [2024-07-24T07:34:20.238Z] v3.2.0-dev.11 [2024-07-24T07:34:20.238Z] v3.2.0-dev.12 [2024-07-24T07:34:20.238Z] v3.2.0-dev.13 [2024-07-24T07:34:20.238Z] v3.2.0-dev.14 [2024-07-24T07:34:20.238Z] v3.2.0-dev.15 [2024-07-24T07:34:20.238Z] v3.2.0-dev.16 [2024-07-24T07:34:20.238Z] v3.2.0-dev.17 [2024-07-24T07:34:20.238Z] v3.2.0-dev.18 [2024-07-24T07:34:20.238Z] v3.2.0-dev.19 [2024-07-24T07:34:20.238Z] v3.2.0-dev.2 [2024-07-24T07:34:20.238Z] v3.2.0-dev.20 [2024-07-24T07:34:20.238Z] v3.2.0-dev.21 [2024-07-24T07:34:20.238Z] v3.2.0-dev.22 [2024-07-24T07:34:20.238Z] v3.2.0-dev.23 [2024-07-24T07:34:20.238Z] v3.2.0-dev.24 [2024-07-24T07:34:20.238Z] v3.2.0-dev.25 [2024-07-24T07:34:20.238Z] v3.2.0-dev.26 [2024-07-24T07:34:20.238Z] v3.2.0-dev.3 [2024-07-24T07:34:20.238Z] v3.2.0-dev.4 [2024-07-24T07:34:20.238Z] v3.2.0-dev.5 [2024-07-24T07:34:20.238Z] v3.2.0-dev.6 [2024-07-24T07:34:20.238Z] v3.2.0-dev.7 [2024-07-24T07:34:20.238Z] v3.2.0-dev.8 [2024-07-24T07:34:20.238Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-24T07:34:20.525Z] + lftools sign git-tag v3.2.0-dev.26 [2024-07-24T07:34:21.092Z] Signing Git tag with Sigul... [2024-07-24T07:34:21.092Z] Signing v3.2.0-dev.26 [Pipeline] echo [2024-07-24T07:34:21.368Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:21.664Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-24T07:34:21.682Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-24T07:34:21.684Z] $ docker stop --time=1 630d752436e72107f4bf6c5bb58107397607a212c8ce42c7b78bd66d2de6f310 [2024-07-24T07:34:22.936Z] $ docker rm -f --volumes 630d752436e72107f4bf6c5bb58107397607a212c8ce42c7b78bd66d2de6f310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-24T07:34:23.412Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-24T07:34:23.412Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:34:23.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T07:34:23.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:34:23.791Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:34:23.787Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-24T07:34:24.099Z] $ docker top 3493ee87e8e94c3161a40378e1be3006bbf244d47b386b775375e5b42d6ccf1d -eo pid,comm [2024-07-24T07:34:24.180Z] 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-24T07:34:24.180Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-24T07:34:24.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T07:34:24.244Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T07:34:24.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T07:34:24.330Z] $ docker exec 3493ee87e8e94c3161a40378e1be3006bbf244d47b386b775375e5b42d6ccf1d ssh-agent [2024-07-24T07:34:24.461Z] SSH_AUTH_SOCK=/tmp/ssh-qwSd7f2L1fdQ/agent.32 [2024-07-24T07:34:24.461Z] SSH_AGENT_PID=38 [2024-07-24T07:34:24.465Z] Running ssh-add (command line suppressed) [2024-07-24T07:34:24.512Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17565155888867414851.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17565155888867414851.key) [2024-07-24T07:34:24.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T07:34:24.846Z] + git semver bump pre [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,988 [bump_version] DEBUG bumping version:3.2.0-dev.26 on axis:pre with prefix:dev [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,988 [bump_version] DEBUG bumped version:3.2.0-dev.27 [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,988 [write_version] DEBUG write version:3.2.0-dev.27 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,988 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,990 [execute] INFO git cat-file --batch-check [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,991 [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-24T07:34:25.106Z] 2024-07-24 07:34:24,997 [execute] INFO git cat-file --batch [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:24,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-24T07:34:25.106Z] 2024-07-24 07:34:25,003 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:25.106Z] 3.2.0-dev.27 [Pipeline] } [2024-07-24T07:34:25.083Z] $ docker exec --env ******** --env ******** 3493ee87e8e94c3161a40378e1be3006bbf244d47b386b775375e5b42d6ccf1d ssh-agent -k [2024-07-24T07:34:25.189Z] unset SSH_AUTH_SOCK; [2024-07-24T07:34:25.189Z] unset SSH_AGENT_PID; [2024-07-24T07:34:25.189Z] echo Agent pid 38 killed; [2024-07-24T07:34:25.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-24T07:34:25.578Z] + git semver [Pipeline] } [2024-07-24T07:34:25.817Z] $ docker stop --time=1 3493ee87e8e94c3161a40378e1be3006bbf244d47b386b775375e5b42d6ccf1d [2024-07-24T07:34:27.097Z] $ docker rm -f --volumes 3493ee87e8e94c3161a40378e1be3006bbf244d47b386b775375e5b42d6ccf1d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-24T07:34:27.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-24T07:34:27.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:34:27.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-24T07:34:27.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:34:27.893Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:34:27.891Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-24T07:34:28.212Z] $ docker top 8d77726061afd4ac826e436bb6e1b5e23ac5f5c297be5c4bda1f43d34eccc709 -eo pid,comm [2024-07-24T07:34:28.294Z] 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-24T07:34:28.294Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-24T07:34:28.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-24T07:34:28.354Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-24T07:34:28.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-24T07:34:28.446Z] $ docker exec 8d77726061afd4ac826e436bb6e1b5e23ac5f5c297be5c4bda1f43d34eccc709 ssh-agent [2024-07-24T07:34:28.583Z] SSH_AUTH_SOCK=/tmp/ssh-GimHg0jWL2T6/agent.31 [2024-07-24T07:34:28.583Z] SSH_AGENT_PID=37 [2024-07-24T07:34:28.588Z] Running ssh-add (command line suppressed) [2024-07-24T07:34:28.655Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16425937864635555246.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16425937864635555246.key) [2024-07-24T07:34:28.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-24T07:34:28.996Z] + git semver push [2024-07-24T07:34:29.255Z] 2024-07-24 07:34:29,145 [run_push] DEBUG push [2024-07-24T07:34:29.255Z] 2024-07-24 07:34:29,145 [execute] INFO git cat-file --batch-check [2024-07-24T07:34:29.255Z] 2024-07-24 07:34:29,146 [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-24T07:34:29.255Z] 2024-07-24 07:34:29,150 [execute] INFO git rev-list 06826de3caf2d441480b3879c33d828b5fa7d18e -- [2024-07-24T07:34:29.255Z] 2024-07-24 07:34:29,150 [execute] DEBUG Popen(['git', 'rev-list', '06826de3caf2d441480b3879c33d828b5fa7d18e', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-24T07:34:29.255Z] 2024-07-24 07:34:29,166 [execute] INFO git fetch -v origin [2024-07-24T07:34:29.255Z] 2024-07-24 07:34:29,167 [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-24T07:34:29.823Z] 2024-07-24 07:34:29,633 [run_push] DEBUG no remote changes detected [2024-07-24T07:34:29.823Z] 2024-07-24 07:34:29,634 [execute] INFO git push origin semver [2024-07-24T07:34:29.823Z] 2024-07-24 07:34:29,634 [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-24T07:34:30.391Z] 2024-07-24 07:34:30,345 [run_push] DEBUG push all version tags [2024-07-24T07:34:30.391Z] 2024-07-24 07:34:30,346 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-24T07:34:30.391Z] 2024-07-24 07:34:30,346 [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-24T07:34:31.327Z] 2024-07-24 07:34:31,171 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-24T07:34:31.327Z] 3.2.0-dev.27 [Pipeline] } [2024-07-24T07:34:31.305Z] $ docker exec --env ******** --env ******** 8d77726061afd4ac826e436bb6e1b5e23ac5f5c297be5c4bda1f43d34eccc709 ssh-agent -k [2024-07-24T07:34:31.403Z] unset SSH_AUTH_SOCK; [2024-07-24T07:34:31.403Z] unset SSH_AGENT_PID; [2024-07-24T07:34:31.403Z] echo Agent pid 37 killed; [2024-07-24T07:34:31.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-24T07:34:31.766Z] + git semver [Pipeline] } [2024-07-24T07:34:32.004Z] $ docker stop --time=1 8d77726061afd4ac826e436bb6e1b5e23ac5f5c297be5c4bda1f43d34eccc709 [2024-07-24T07:34:33.273Z] $ docker rm -f --volumes 8d77726061afd4ac826e436bb6e1b5e23ac5f5c297be5c4bda1f43d34eccc709 [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-24T07:34:33.906Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-07-24T07:34:33.906Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-24T07:34:33.906Z] total 16 [2024-07-24T07:34:33.906Z] drwxr-xr-x 3 root root 4096 Jul 24 07:17 . [2024-07-24T07:34:33.906Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 07:34 .. [2024-07-24T07:34:33.906Z] drwxr-xr-x 2 root root 4096 Jul 24 07:17 cost [2024-07-24T07:34:33.906Z] -rw-r--r-- 1 root root 85 Jul 24 07:17 cost.csv [2024-07-24T07:34:33.906Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-24T07:34:33.906Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-24T07:34:33.906Z] total 16 [2024-07-24T07:34:33.906Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 07:17 . [2024-07-24T07:34:33.906Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 07:34 .. [2024-07-24T07:34:33.906Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 24 07:17 cost [2024-07-24T07:34:33.906Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 24 07:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:34.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:35.056Z] ---> package-listing.sh [2024-07-24T07:34:35.056Z] ++ facter osfamily [2024-07-24T07:34:35.056Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-24T07:34:35.315Z] + OS_FAMILY=debian [2024-07-24T07:34:35.315Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-07-24T07:34:35.315Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-24T07:34:35.315Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-24T07:34:35.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-24T07:34:35.315Z] + PACKAGES=/tmp/packages_start.txt [2024-07-24T07:34:35.315Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-24T07:34:35.315Z] + PACKAGES=/tmp/packages_end.txt [2024-07-24T07:34:35.315Z] + case "${OS_FAMILY}" in [2024-07-24T07:34:35.315Z] + dpkg -l [2024-07-24T07:34:35.315Z] + grep '^ii' [2024-07-24T07:34:35.315Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-24T07:34:35.315Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-24T07:34:35.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-24T07:34:35.315Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-24T07:34:35.315Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-07-24T07:34:35.315Z] + 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-24T07:34:35.325Z] 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-24T07:34:35.602Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-24T07:34:36.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-24T07:34:36.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-24T07:34:36.241Z] prd-ubuntu20.04-docker-8c-8g-6306 does not seem to be running inside a container [2024-07-24T07:34:36.234Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-24T07:34:36.451Z] $ docker top bf36c5cf044f4016bea2142489003605b3f1929d992fa28c64fa2b58591c88d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-24T07:34:36.840Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-24T07:34:37.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-24T07:34:37.420Z] + ls /var/log/sa-host [2024-07-24T07:34:37.420Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-24T07:34:37.503Z] provisioning config files... [2024-07-24T07:34:37.512Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14857076972096107476tmp [Pipeline] { [Pipeline] echo [2024-07-24T07:34:37.530Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:37.818Z] ---> create-netrc.sh [Pipeline] } [2024-07-24T07:34:37.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:38.169Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-24T07:34:38.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:38.461Z] ---> sudo-logs.sh [2024-07-24T07:34:38.462Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-24T07:34:38.486Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:38.768Z] ---> job-cost.sh [2024-07-24T07:34:38.768Z] lf-activate-venv: SKIPPING [2024-07-24T07:34:38.768Z] DEBUG: total: 0.2199999988079071 [2024-07-24T07:34:38.768Z] INFO: Retrieving Stack Cost... [2024-07-24T07:34:39.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-24T07:34:39.595Z] INFO: Archiving Costs [Pipeline] echo [2024-07-24T07:34:39.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-24T07:34:39.887Z] ---> logs-deploy.sh [2024-07-24T07:34:39.887Z] lf-activate-venv: SKIPPING [2024-07-24T07:34:39.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/301 [2024-07-24T07:34:39.887Z] INFO: archiving workspace using pattern(s): [2024-07-24T07:34:40.836Z] Archives upload complete. [2024-07-24T07:34:40.836Z] INFO: archiving logs to Nexus