Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 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-ssh5667984266688809703.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-ssh12133615769944163335.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-ssh14433892115643960738.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-ssh11586326448981280851.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-ssh6368829784525190803.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-6412 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 fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 (main) Commit message: "Merge pull request #1603 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.49" > 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 fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 # timeout=10 > git rev-list --no-walk 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-25T04:50:47.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-25T04:50:47.724Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-25T04:50:47.754Z] ========================================================= [2024-07-25T04:50:47.754Z] EdgeX Global Pipelines Version Info [2024-07-25T04:50:47.754Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-25T04:50:48.475Z] ------------------- [2024-07-25T04:50:48.475Z] stable info: [2024-07-25T04:50:48.475Z] ------------------- [2024-07-25T04:50:48.475Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T04:50:48.475Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T04:50:48.475Z] Message: update stable to v1.0.260 [2024-07-25T04:50:49.047Z] ------------------- [2024-07-25T04:50:49.047Z] experimental info: [2024-07-25T04:50:49.047Z] ------------------- [2024-07-25T04:50:49.047Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T04:50:49.047Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-25T04:50:49.047Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-25T04:50:49.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-25T04:50:49.146Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-25T04:50:49.166Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-25T04:50:49.188Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-25T04:50:49.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-25T04:50:49.231Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-25T04:50:49.251Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-25T04:50:49.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-25T04:50:49.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-25T04:50:49.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-25T04:50:49.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-25T04:50:49.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-25T04:50:49.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-25T04:50:49.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-25T04:50:49.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T04:50:49.527Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T04:50:49.553Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T04:50:49.579Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T04:50:49.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-25T04:50:49.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-25T04:50:49.656Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-25T04:50:49.679Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-25T04:50:49.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-25T04:50:49.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-25T04:50:49.753Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-25T04:50:49.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-25T04:50:49.806Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-25T04:50:49.834Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-25T04:50:49.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-25T04:50:49.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-25T04:50:49.907Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [Pipeline] echo [2024-07-25T04:50:49.932Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fce9cd2 [Pipeline] echo [2024-07-25T04:50:49.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T04:50:50.016Z] provisioning config files... [2024-07-25T04:50:50.033Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16638692231922907180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T04:50:50.376Z] ---> ****-login.sh [2024-07-25T04:50:50.376Z] nexus3.edgexfoundry.org:10001 [2024-07-25T04:50:50.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:50:50.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:50:50.637Z] Configure a credential helper to remove this warning. See [2024-07-25T04:50:50.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:50:50.637Z] [2024-07-25T04:50:50.637Z] Login Succeeded [2024-07-25T04:50:50.637Z] nexus3.edgexfoundry.org:10002 [2024-07-25T04:50:50.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:50:50.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:50:50.637Z] Configure a credential helper to remove this warning. See [2024-07-25T04:50:50.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:50:50.637Z] [2024-07-25T04:50:50.637Z] Login Succeeded [2024-07-25T04:50:50.637Z] nexus3.edgexfoundry.org:10003 [2024-07-25T04:50:50.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:50:50.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:50:50.898Z] Configure a credential helper to remove this warning. See [2024-07-25T04:50:50.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:50:50.898Z] [2024-07-25T04:50:50.898Z] Login Succeeded [2024-07-25T04:50:50.898Z] nexus3.edgexfoundry.org:10004 [2024-07-25T04:50:50.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:50:50.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:50:50.898Z] Configure a credential helper to remove this warning. See [2024-07-25T04:50:50.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:50:50.898Z] [2024-07-25T04:50:50.898Z] Login Succeeded [2024-07-25T04:50:50.898Z] ****.io [2024-07-25T04:50:50.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:50:51.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:50:51.159Z] Configure a credential helper to remove this warning. See [2024-07-25T04:50:51.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:50:51.159Z] [2024-07-25T04:50:51.159Z] Login Succeeded [2024-07-25T04:50:51.159Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T04:50:51.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-25T04:50:51.575Z] + git rev-list -1 --merges fce9cd2fc4ac40e381905aab8d946eeb523fa2a4~1..fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [Pipeline] echo [2024-07-25T04:50:51.601Z] -----------> git rev-list -1 --merges fce9cd2fc4ac40e381905aab8d946eeb523fa2a4~1..fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [2024-07-25T04:50:51.601Z] fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [false] [Pipeline] sh [2024-07-25T04:50:51.892Z] + git log --format=format:%s -1 fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [Pipeline] echo [2024-07-25T04:50:51.910Z] ========================================================= [2024-07-25T04:50:51.910Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-25T04:50:51.910Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T04:50:52.253Z] + git log --format=format:%s -1 fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [Pipeline] echo [2024-07-25T04:50:52.265Z] [semverPrep] GIT_COMMIT: fce9cd2fc4ac40e381905aab8d946eeb523fa2a4, Commit Message: Merge pull request #1603 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.49 [Pipeline] echo [2024-07-25T04:50:52.283Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-25T04:50:52.637Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T04:50:52.637Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-25T04:50:52.637Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-25T04:50:52.637Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-25T04:50:52.637Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-25T04:50:52.637Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-25T04:50:52.637Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:50:52.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T04:50:52.996Z] [2024-07-25T04:50:52.996Z] 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-25T04:50:53.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T04:50:53.296Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-25T04:50:53.296Z] b85a868b505f: Pulling fs layer [2024-07-25T04:50:53.296Z] e2be974225ed: Pulling fs layer [2024-07-25T04:50:53.296Z] 339a4e72a1f5: Pulling fs layer [2024-07-25T04:50:53.296Z] 988bab9f4d93: Pulling fs layer [2024-07-25T04:50:53.296Z] 1469e6f7b9e6: Pulling fs layer [2024-07-25T04:50:53.296Z] eaf3925da568: Pulling fs layer [2024-07-25T04:50:53.296Z] bab4dde63d76: Pulling fs layer [2024-07-25T04:50:53.296Z] bde34c3a00c8: Pulling fs layer [2024-07-25T04:50:53.296Z] b352a97aabf1: Pulling fs layer [2024-07-25T04:50:53.296Z] 4872d77fe225: Pulling fs layer [2024-07-25T04:50:53.296Z] 5851b861e8e6: Pulling fs layer [2024-07-25T04:50:53.296Z] eaf3925da568: Waiting [2024-07-25T04:50:53.296Z] bab4dde63d76: Waiting [2024-07-25T04:50:53.296Z] bde34c3a00c8: Waiting [2024-07-25T04:50:53.296Z] b352a97aabf1: Waiting [2024-07-25T04:50:53.296Z] 1469e6f7b9e6: Waiting [2024-07-25T04:50:53.296Z] 4872d77fe225: Waiting [2024-07-25T04:50:53.296Z] 988bab9f4d93: Waiting [2024-07-25T04:50:53.296Z] 5851b861e8e6: Waiting [2024-07-25T04:50:53.296Z] e2be974225ed: Download complete [2024-07-25T04:50:53.296Z] 988bab9f4d93: Verifying Checksum [2024-07-25T04:50:53.296Z] 988bab9f4d93: Download complete [2024-07-25T04:50:53.296Z] 1469e6f7b9e6: Verifying Checksum [2024-07-25T04:50:53.296Z] 1469e6f7b9e6: Download complete [2024-07-25T04:50:53.296Z] 339a4e72a1f5: Verifying Checksum [2024-07-25T04:50:53.296Z] 339a4e72a1f5: Download complete [2024-07-25T04:50:53.296Z] eaf3925da568: Download complete [2024-07-25T04:50:53.555Z] bde34c3a00c8: Verifying Checksum [2024-07-25T04:50:53.555Z] bde34c3a00c8: Download complete [2024-07-25T04:50:53.555Z] b352a97aabf1: Download complete [2024-07-25T04:50:53.555Z] 4872d77fe225: Verifying Checksum [2024-07-25T04:50:53.555Z] 4872d77fe225: Download complete [2024-07-25T04:50:53.555Z] 5851b861e8e6: Download complete [2024-07-25T04:50:53.555Z] b85a868b505f: Verifying Checksum [2024-07-25T04:50:53.555Z] b85a868b505f: Download complete [2024-07-25T04:50:53.813Z] bab4dde63d76: Verifying Checksum [2024-07-25T04:50:53.813Z] bab4dde63d76: Download complete [2024-07-25T04:50:54.749Z] b85a868b505f: Pull complete [2024-07-25T04:50:54.749Z] e2be974225ed: Pull complete [2024-07-25T04:50:55.315Z] 339a4e72a1f5: Pull complete [2024-07-25T04:50:55.315Z] 988bab9f4d93: Pull complete [2024-07-25T04:50:55.574Z] 1469e6f7b9e6: Pull complete [2024-07-25T04:50:55.574Z] eaf3925da568: Pull complete [2024-07-25T04:50:57.478Z] bab4dde63d76: Pull complete [2024-07-25T04:50:57.478Z] bde34c3a00c8: Pull complete [2024-07-25T04:50:57.478Z] b352a97aabf1: Pull complete [2024-07-25T04:50:57.478Z] 4872d77fe225: Pull complete [2024-07-25T04:50:57.738Z] 5851b861e8e6: Pull complete [2024-07-25T04:50:57.738Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-25T04:50:57.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T04:50:57.738Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T04:50:57.883Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T04:50:57.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-25T04:51:01.151Z] $ docker top ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 -eo pid,comm [2024-07-25T04:51:01.207Z] 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-25T04:51:01.207Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T04:51:01.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T04:51:01.267Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T04:51:01.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T04:51:01.386Z] $ docker exec ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 ssh-agent [2024-07-25T04:51:01.496Z] SSH_AUTH_SOCK=/tmp/ssh-dHaTbh0wwZjo/agent.31 [2024-07-25T04:51:01.496Z] SSH_AGENT_PID=37 [2024-07-25T04:51:01.504Z] Running ssh-add (command line suppressed) [2024-07-25T04:51:01.606Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13915449754487841102.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13915449754487841102.key) [2024-07-25T04:51:01.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T04:51:01.915Z] + git tag --points-at HEAD [Pipeline] } [2024-07-25T04:51:01.927Z] $ docker exec --env ******** --env ******** ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 ssh-agent -k [2024-07-25T04:51:02.026Z] unset SSH_AUTH_SOCK; [2024-07-25T04:51:02.027Z] unset SSH_AGENT_PID; [2024-07-25T04:51:02.027Z] echo Agent pid 37 killed; [2024-07-25T04:51:02.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-25T04:51:02.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T04:51:02.075Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T04:51:02.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T04:51:02.194Z] $ docker exec ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 ssh-agent [2024-07-25T04:51:02.301Z] SSH_AUTH_SOCK=/tmp/ssh-xQpe8u0ZN5nc/agent.70 [2024-07-25T04:51:02.301Z] SSH_AGENT_PID=76 [2024-07-25T04:51:02.305Z] Running ssh-add (command line suppressed) [2024-07-25T04:51:02.397Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11257877716540123027.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11257877716540123027.key) [2024-07-25T04:51:02.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T04:51:02.707Z] + git semver init [2024-07-25T04:51:02.967Z] 2024-07-25 04:51:02,936 [run_init] DEBUG init version:0.0.0 force:False [2024-07-25T04:51:02.967Z] 2024-07-25 04:51:02,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-25T04:51:02.967Z] 2024-07-25 04:51:02,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-25T04:51:02.967Z] 2024-07-25 04:51:02,938 [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-25T04:51:05.505Z] 2024-07-25 04:51:04,941 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-07-25T04:51:05.505Z] 2024-07-25 04:51:04,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-07-25T04:51:05.505Z] 2024-07-25 04:51:04,942 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T04:51:05.505Z] 2024-07-25 04:51:04,942 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T04:51:05.505Z] 3.2.0-dev.27 [Pipeline] } [2024-07-25T04:51:05.515Z] $ docker exec --env ******** --env ******** ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 ssh-agent -k [2024-07-25T04:51:05.610Z] unset SSH_AUTH_SOCK; [2024-07-25T04:51:05.611Z] unset SSH_AGENT_PID; [2024-07-25T04:51:05.611Z] echo Agent pid 76 killed; [2024-07-25T04:51:05.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T04:51:05.940Z] + git semver [Pipeline] } [2024-07-25T04:51:06.212Z] $ docker stop --time=1 ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 [2024-07-25T04:51:07.475Z] $ docker rm -f --volumes ec7f685605614c6bc12195f9d085fd0d4d108957c6c2faedb51bab6ecbd38692 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T04:51:07.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-25T04:51:08.218Z] Stashed 1 file(s) [Pipeline] echo [2024-07-25T04:51:08.223Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.27 [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-25T04:51:08.428Z] provisioning config files... [2024-07-25T04:51:08.440Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12240130764977786110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T04:51:08.743Z] ---> ****-login.sh [2024-07-25T04:51:08.743Z] nexus3.edgexfoundry.org:10001 [2024-07-25T04:51:08.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:51:08.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:51:08.743Z] Configure a credential helper to remove this warning. See [2024-07-25T04:51:08.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:51:08.743Z] [2024-07-25T04:51:08.743Z] Login Succeeded [2024-07-25T04:51:08.743Z] nexus3.edgexfoundry.org:10002 [2024-07-25T04:51:08.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:51:08.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:51:08.743Z] Configure a credential helper to remove this warning. See [2024-07-25T04:51:08.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:51:08.743Z] [2024-07-25T04:51:08.743Z] Login Succeeded [2024-07-25T04:51:08.743Z] nexus3.edgexfoundry.org:10003 [2024-07-25T04:51:09.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:51:09.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:51:09.002Z] Configure a credential helper to remove this warning. See [2024-07-25T04:51:09.002Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:51:09.002Z] [2024-07-25T04:51:09.002Z] Login Succeeded [2024-07-25T04:51:09.002Z] nexus3.edgexfoundry.org:10004 [2024-07-25T04:51:09.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:51:09.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:51:09.002Z] Configure a credential helper to remove this warning. See [2024-07-25T04:51:09.002Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:51:09.002Z] [2024-07-25T04:51:09.002Z] Login Succeeded [2024-07-25T04:51:09.002Z] ****.io [2024-07-25T04:51:09.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:51:09.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:51:09.262Z] Configure a credential helper to remove this warning. See [2024-07-25T04:51:09.262Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:51:09.262Z] [2024-07-25T04:51:09.262Z] Login Succeeded [2024-07-25T04:51:09.262Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T04:51:09.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T04:51:09.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T04:51:09.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T04:51:09.416Z] ========================================================= [2024-07-25T04:51:09.416Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-25T04:51:09.416Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:51:09.774Z] + 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-25T04:51:09.775Z] Sending build context to Docker daemon 25.11MB [2024-07-25T04:51:09.775Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T04:51:09.775Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-25T04:51:10.035Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-25T04:51:10.035Z] 619be1103602: Pulling fs layer [2024-07-25T04:51:10.035Z] 7862e08f4a3e: Pulling fs layer [2024-07-25T04:51:10.035Z] 5df492c9dc93: Pulling fs layer [2024-07-25T04:51:10.035Z] 7629e6793208: Pulling fs layer [2024-07-25T04:51:10.035Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T04:51:10.036Z] fb5054dd5b73: Pulling fs layer [2024-07-25T04:51:10.036Z] eeca6798cff9: Pulling fs layer [2024-07-25T04:51:10.036Z] aa269ceb94a6: Pulling fs layer [2024-07-25T04:51:10.036Z] 7629e6793208: Waiting [2024-07-25T04:51:10.036Z] eeca6798cff9: Waiting [2024-07-25T04:51:10.036Z] 4f4fb700ef54: Waiting [2024-07-25T04:51:10.036Z] fb5054dd5b73: Waiting [2024-07-25T04:51:10.036Z] aa269ceb94a6: Waiting [2024-07-25T04:51:10.036Z] ada007ff1a6a: Pulling fs layer [2024-07-25T04:51:10.036Z] ada007ff1a6a: Waiting [2024-07-25T04:51:10.036Z] 7862e08f4a3e: Download complete [2024-07-25T04:51:10.036Z] 7629e6793208: Verifying Checksum [2024-07-25T04:51:10.036Z] 7629e6793208: Download complete [2024-07-25T04:51:10.036Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T04:51:10.036Z] 4f4fb700ef54: Download complete [2024-07-25T04:51:10.036Z] fb5054dd5b73: Verifying Checksum [2024-07-25T04:51:10.036Z] fb5054dd5b73: Download complete [2024-07-25T04:51:10.036Z] 619be1103602: Verifying Checksum [2024-07-25T04:51:10.036Z] 619be1103602: Download complete [2024-07-25T04:51:10.036Z] eeca6798cff9: Verifying Checksum [2024-07-25T04:51:10.036Z] eeca6798cff9: Download complete [2024-07-25T04:51:10.302Z] ada007ff1a6a: Verifying Checksum [2024-07-25T04:51:10.302Z] ada007ff1a6a: Download complete [2024-07-25T04:51:10.302Z] 619be1103602: Pull complete [2024-07-25T04:51:10.302Z] 7862e08f4a3e: Pull complete [2024-07-25T04:51:10.302Z] 5df492c9dc93: Verifying Checksum [2024-07-25T04:51:10.302Z] 5df492c9dc93: Download complete [2024-07-25T04:51:10.870Z] aa269ceb94a6: Verifying Checksum [2024-07-25T04:51:10.870Z] aa269ceb94a6: Download complete [2024-07-25T04:51:13.399Z] 5df492c9dc93: Pull complete [2024-07-25T04:51:13.399Z] 7629e6793208: Pull complete [2024-07-25T04:51:13.399Z] 4f4fb700ef54: Pull complete [2024-07-25T04:51:13.399Z] fb5054dd5b73: Pull complete [2024-07-25T04:51:13.657Z] eeca6798cff9: Pull complete [2024-07-25T04:51:16.183Z] aa269ceb94a6: Pull complete [2024-07-25T04:51:16.449Z] ada007ff1a6a: Pull complete [2024-07-25T04:51:16.449Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-25T04:51:16.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-25T04:51:16.449Z] ---> f489d0715acc [2024-07-25T04:51:16.449Z] Step 3/10 : ARG MAKE=make build [2024-07-25T04:51:20.681Z] ---> Running in 487e9b45b12e [2024-07-25T04:51:20.681Z] Removing intermediate container 487e9b45b12e [2024-07-25T04:51:20.681Z] ---> 4a5fcd9c765d [2024-07-25T04:51:20.681Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-25T04:51:20.681Z] ---> Running in ec79ea301590 [2024-07-25T04:51:20.940Z] Removing intermediate container ec79ea301590 [2024-07-25T04:51:20.940Z] ---> 8de2b67af053 [2024-07-25T04:51:20.940Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-25T04:51:20.940Z] ---> Running in 1068ec9523c1 [2024-07-25T04:51:20.940Z] Removing intermediate container 1068ec9523c1 [2024-07-25T04:51:20.940Z] ---> ad6cc184f6b4 [2024-07-25T04:51:20.940Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-25T04:51:20.940Z] ---> Running in da6869c96cb6 [2024-07-25T04:51:21.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T04:51:21.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T04:51:21.719Z] OK: 264 MiB in 52 packages [2024-07-25T04:51:21.981Z] Removing intermediate container da6869c96cb6 [2024-07-25T04:51:21.982Z] ---> 7311861b1d8a [2024-07-25T04:51:21.982Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-25T04:51:21.982Z] ---> ff8387f91848 [2024-07-25T04:51:21.982Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T04:51:22.240Z] ---> Running in 1c4a7ecd4ec8 [2024-07-25T04:51:23.374Z] Still waiting to schedule task [2024-07-25T04:51:23.375Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-25T04:52:29.924Z] Removing intermediate container 1c4a7ecd4ec8 [2024-07-25T04:52:29.924Z] ---> 67550c8a6a96 [2024-07-25T04:52:29.924Z] Step 9/10 : COPY . . [2024-07-25T04:52:29.924Z] ---> c3feb89b4d18 [2024-07-25T04:52:29.924Z] Step 10/10 : RUN ${MAKE} [2024-07-25T04:52:29.924Z] ---> Running in 999d39979fa6 [2024-07-25T04:52:29.924Z] noop [2024-07-25T04:52:29.924Z] Removing intermediate container 999d39979fa6 [2024-07-25T04:52:29.924Z] ---> 06f9579b5d62 [2024-07-25T04:52:29.924Z] Successfully built 06f9579b5d62 [2024-07-25T04:52:29.924Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:52:30.259Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T04:52:30.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T04:52:30.337Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T04:52:30.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-25T04:52:30.687Z] $ docker top 0237a62e9858d7e1bfff957549022771f401a2a716db9e10360ba05be443711b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T04:52:31.028Z] + go version [2024-07-25T04:52:31.028Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-25T04:52:31.037Z] $ docker stop --time=1 0237a62e9858d7e1bfff957549022771f401a2a716db9e10360ba05be443711b [2024-07-25T04:52:32.269Z] $ docker rm -f --volumes 0237a62e9858d7e1bfff957549022771f401a2a716db9e10360ba05be443711b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:52:32.720Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T04:52:32.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T04:52:32.804Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T04:52:32.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-25T04:52:33.129Z] $ docker top e068ed7343b959917ca7ab5e5979601a8fc5674f4a64b16ab6b64052448a44e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T04:52:33.482Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-25T04:52:33.787Z] + make test [2024-07-25T04:52:33.787Z] go test -race -coverprofile=coverage.out ./... [2024-07-25T04:52:41.898Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-25T04:53:09.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.027s coverage: 27.0% of statements [2024-07-25T04:53:09.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.035s coverage: 80.0% of statements [2024-07-25T04:53:09.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-25T04:53:09.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-25T04:53:09.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 55.2% of statements [2024-07-25T04:53:09.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-25T04:53:11.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements [2024-07-25T04:53:11.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.479s coverage: 44.6% of statements [2024-07-25T04:53:11.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements [2024-07-25T04:53:11.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.080s coverage: 89.2% of statements [2024-07-25T04:53:11.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.4% of statements [2024-07-25T04:53:38.449Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6415 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-07-25T04:53:38.472Z] Running in /w/workspace/device-sdk-go/302 [Pipeline] { [Pipeline] checkout [2024-07-25T04:53:41.553Z] The recommended git tool is: git [2024-07-25T04:53:44.486Z] GO111MODULE=on go vet ./... [2024-07-25T04:53:45.862Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T04:53:45.862Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T04:53:45.862Z] ./bin/test-attribution-txt.sh [2024-07-25T04:53:45.862Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-25T04:53:45.862Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-25T04:53:46.121Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T04:53:46.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T04:53:46.156Z] $ docker stop --time=1 e068ed7343b959917ca7ab5e5979601a8fc5674f4a64b16ab6b64052448a44e8 [2024-07-25T04:53:49.950Z] using credential edgex-jenkins-ssh [2024-07-25T04:53:49.992Z] Cloning the remote Git repository [2024-07-25T04:53:50.045Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-25T04:53:50.181Z] > git init /w/workspace/device-sdk-go/302 # timeout=10 [2024-07-25T04:53:50.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-25T04:53:50.665Z] > git --version # timeout=10 [2024-07-25T04:53:50.716Z] > git --version # 'git version 2.25.1' [2024-07-25T04:53:50.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T04:53:51.205Z] $ docker rm -f --volumes e068ed7343b959917ca7ab5e5979601a8fc5674f4a64b16ab6b64052448a44e8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T04:53:51.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T04:53:51.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-07-25T04:53:50.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2024-07-25T04:53:52.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T04:53:52.758Z] + ls -al . [2024-07-25T04:53:52.759Z] total 380 [2024-07-25T04:53:52.759Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 04:52 . [2024-07-25T04:53:52.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:50 .. [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 04:50 .dockerignore [2024-07-25T04:53:52.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 04:53 .git [2024-07-25T04:53:52.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:50 .github [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 25 04:50 .gitignore [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 25 04:50 .golangci.yml [2024-07-25T04:53:52.759Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 04:51 .semver [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 25 04:50 CHANGELOG.md [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 04:50 GOVERNANCE.md [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 25 04:50 Jenkinsfile [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 25 04:50 LICENSE [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 25 04:50 Makefile [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 25 04:50 OWNERS.md [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 25 04:50 README.md [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 25 04:51 VERSION [2024-07-25T04:53:52.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 04:50 bin [2024-07-25T04:53:52.759Z] -rw-r--r-- 1 jenkins jenkins 125162 Jul 25 04:53 coverage.out [2024-07-25T04:53:52.759Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 25 04:50 example [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 6996 Jul 25 04:50 go.mod [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 101460 Jul 25 04:50 go.sum [2024-07-25T04:53:52.759Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 04:50 internal [2024-07-25T04:53:52.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:50 openapi [2024-07-25T04:53:52.759Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 25 04:50 pkg [2024-07-25T04:53:52.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:50 snap [2024-07-25T04:53:52.759Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 25 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:53:53.082Z] + 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=fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 --label arch=amd64 --label version=3.2.0-dev.27 . [2024-07-25T04:53:53.082Z] Sending build context to Docker daemon 25.24MB [2024-07-25T04:53:53.082Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T04:53:53.082Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-25T04:53:53.082Z] ---> 06f9579b5d62 [2024-07-25T04:53:53.082Z] Step 3/24 : ARG MAKE=make build [2024-07-25T04:53:53.652Z] ---> Running in 53487e26312d [2024-07-25T04:53:53.652Z] Removing intermediate container 53487e26312d [2024-07-25T04:53:53.652Z] ---> c54425d9ff5f [2024-07-25T04:53:53.652Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-25T04:53:53.652Z] ---> Running in a53d0aa9c982 [2024-07-25T04:53:53.652Z] Removing intermediate container a53d0aa9c982 [2024-07-25T04:53:53.652Z] ---> 7c027d93e4b9 [2024-07-25T04:53:53.652Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-25T04:53:53.652Z] ---> Running in b51c02f60ba9 [2024-07-25T04:53:53.652Z] Removing intermediate container b51c02f60ba9 [2024-07-25T04:53:53.652Z] ---> 276827439db1 [2024-07-25T04:53:53.652Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-25T04:53:53.652Z] ---> Running in 848fe319838a [2024-07-25T04:53:53.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T04:53:54.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T04:53:54.431Z] OK: 264 MiB in 52 packages [2024-07-25T04:53:54.690Z] Removing intermediate container 848fe319838a [2024-07-25T04:53:54.691Z] ---> d5f8dd51f006 [2024-07-25T04:53:54.691Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-25T04:53:54.950Z] ---> 854a7b5569cd [2024-07-25T04:53:54.950Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T04:53:54.950Z] ---> Running in bf759c710478 [2024-07-25T04:53:54.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-25T04:53:55.005Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T04:53:55.518Z] Removing intermediate container bf759c710478 [2024-07-25T04:53:55.518Z] ---> b7fe64d5f3fd [2024-07-25T04:53:55.518Z] Step 9/24 : COPY . . [2024-07-25T04:53:56.217Z] Avoid second fetch [2024-07-25T04:53:56.217Z] Checking out Revision fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 (main) [2024-07-25T04:53:56.468Z] ---> e3b1557ccd87 [2024-07-25T04:53:56.468Z] Step 10/24 : RUN ${MAKE} [2024-07-25T04:53:56.468Z] ---> Running in 77ab61372778 [2024-07-25T04:53:56.727Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-25T04:53:56.234Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T04:53:56.314Z] > git checkout -f fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 # timeout=10 [2024-07-25T04:53:56.945Z] Commit message: "Merge pull request #1603 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.49" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T04:54:01.784Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-25T04:54:01.784Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T04:54:01.784Z] Dload Upload Total Spent Left Speed [2024-07-25T04:54:01.784Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2024-07-25T04:54:02.130Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-25T04:54:02.465Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2024-07-25T04:54:02.465Z] [2024-07-25T04:54:02.466Z] { [2024-07-25T04:54:02.466Z] "registry-mirrors": [ [2024-07-25T04:54:02.466Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-25T04:54:02.466Z] ], [2024-07-25T04:54:02.466Z] "bip": "10.250.0.254/24", [2024-07-25T04:54:02.466Z] "hosts": [ [2024-07-25T04:54:02.466Z] "tcp://0.0.0.0:5555", [2024-07-25T04:54:02.466Z] "unix:///var/run/docker.sock" [2024-07-25T04:54:02.466Z] ], [2024-07-25T04:54:02.466Z] "mtu": 1458, [2024-07-25T04:54:02.466Z] "selinux-enabled": true, [2024-07-25T04:54:02.466Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-25T04:54:02.466Z] } [Pipeline] sh [2024-07-25T04:54:02.811Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-25T04:54:03.155Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T04:54:21.472Z] provisioning config files... [2024-07-25T04:54:21.502Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/302@tmp/config9838660243520190195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T04:54:21.970Z] ---> ****-login.sh [2024-07-25T04:54:21.970Z] nexus3.edgexfoundry.org:10001 [2024-07-25T04:54:22.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:54:22.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:54:22.567Z] Configure a credential helper to remove this warning. See [2024-07-25T04:54:22.567Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:54:22.567Z] [2024-07-25T04:54:22.567Z] Login Succeeded [2024-07-25T04:54:22.567Z] nexus3.edgexfoundry.org:10002 [2024-07-25T04:54:22.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:54:23.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:54:23.111Z] Configure a credential helper to remove this warning. See [2024-07-25T04:54:23.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:54:23.111Z] [2024-07-25T04:54:23.111Z] Login Succeeded [2024-07-25T04:54:23.111Z] nexus3.edgexfoundry.org:10003 [2024-07-25T04:54:23.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:54:23.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:54:23.382Z] Configure a credential helper to remove this warning. See [2024-07-25T04:54:23.382Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:54:23.382Z] [2024-07-25T04:54:23.382Z] Login Succeeded [2024-07-25T04:54:23.383Z] nexus3.edgexfoundry.org:10004 [2024-07-25T04:54:23.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:54:23.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:54:23.927Z] Configure a credential helper to remove this warning. See [2024-07-25T04:54:23.927Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:54:23.927Z] [2024-07-25T04:54:23.927Z] Login Succeeded [2024-07-25T04:54:23.927Z] ****.io [2024-07-25T04:54:24.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T04:54:24.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T04:54:24.468Z] Configure a credential helper to remove this warning. See [2024-07-25T04:54:24.468Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T04:54:24.468Z] [2024-07-25T04:54:24.468Z] Login Succeeded [2024-07-25T04:54:24.468Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T04:54:24.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T04:54:24.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T04:54:24.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T04:54:24.946Z] ========================================================= [2024-07-25T04:54:24.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-25T04:54:24.947Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:54:25.330Z] + 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-25T04:54:25.925Z] Sending build context to Docker daemon 12.98MB [2024-07-25T04:54:25.925Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T04:54:25.925Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-25T04:54:26.199Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-25T04:54:26.199Z] c6b39de5b339: Pulling fs layer [2024-07-25T04:54:26.199Z] a69c41024577: Pulling fs layer [2024-07-25T04:54:26.199Z] d6de4b400683: Pulling fs layer [2024-07-25T04:54:26.199Z] 35cb2a7552d0: Pulling fs layer [2024-07-25T04:54:26.199Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T04:54:26.199Z] 464afbd9ba4c: Pulling fs layer [2024-07-25T04:54:26.199Z] 00f215d4a9da: Pulling fs layer [2024-07-25T04:54:26.199Z] d496ad576159: Pulling fs layer [2024-07-25T04:54:26.199Z] 35cb2a7552d0: Waiting [2024-07-25T04:54:26.199Z] 4f4fb700ef54: Waiting [2024-07-25T04:54:26.199Z] 464afbd9ba4c: Waiting [2024-07-25T04:54:26.199Z] 00f215d4a9da: Waiting [2024-07-25T04:54:26.199Z] d496ad576159: Waiting [2024-07-25T04:54:26.199Z] a69c41024577: Verifying Checksum [2024-07-25T04:54:26.199Z] a69c41024577: Download complete [2024-07-25T04:54:26.199Z] 35cb2a7552d0: Verifying Checksum [2024-07-25T04:54:26.199Z] 35cb2a7552d0: Download complete [2024-07-25T04:54:26.199Z] 4f4fb700ef54: Download complete [2024-07-25T04:54:26.199Z] 464afbd9ba4c: Verifying Checksum [2024-07-25T04:54:26.199Z] 464afbd9ba4c: Download complete [2024-07-25T04:54:26.199Z] c6b39de5b339: Verifying Checksum [2024-07-25T04:54:26.199Z] c6b39de5b339: Download complete [2024-07-25T04:54:26.797Z] d496ad576159: Verifying Checksum [2024-07-25T04:54:26.797Z] d496ad576159: Download complete [2024-07-25T04:54:27.760Z] c6b39de5b339: Pull complete [2024-07-25T04:54:28.346Z] a69c41024577: Pull complete [2024-07-25T04:54:28.346Z] d6de4b400683: Verifying Checksum [2024-07-25T04:54:28.346Z] d6de4b400683: Download complete [2024-07-25T04:54:29.761Z] 00f215d4a9da: Verifying Checksum [2024-07-25T04:54:29.761Z] 00f215d4a9da: Download complete [2024-07-25T04:54:35.433Z] Removing intermediate container 77ab61372778 [2024-07-25T04:54:35.433Z] ---> 6efa7f2f4147 [2024-07-25T04:54:35.433Z] Step 11/24 : FROM alpine:3.18 [2024-07-25T04:54:35.433Z] 3.18: Pulling from library/alpine [2024-07-25T04:54:35.433Z] 930bdd4d222e: Pulling fs layer [2024-07-25T04:54:35.433Z] 930bdd4d222e: Verifying Checksum [2024-07-25T04:54:35.433Z] 930bdd4d222e: Download complete [2024-07-25T04:54:35.433Z] 930bdd4d222e: Pull complete [2024-07-25T04:54:35.433Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T04:54:35.433Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T04:54:35.433Z] ---> 18f865063206 [2024-07-25T04:54:35.433Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-25T04:54:35.433Z] ---> Running in 0d07df16f00b [2024-07-25T04:54:35.433Z] Removing intermediate container 0d07df16f00b [2024-07-25T04:54:35.433Z] ---> 4e064be6d8e7 [2024-07-25T04:54:35.433Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-25T04:54:35.433Z] ---> Running in 18ff48956422 [2024-07-25T04:54:35.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T04:54:35.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T04:54:35.433Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T04:54:35.434Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T04:54:35.434Z] OK: 7 MiB in 16 packages [2024-07-25T04:54:35.434Z] Removing intermediate container 18ff48956422 [2024-07-25T04:54:35.434Z] ---> 6db89919e0c7 [2024-07-25T04:54:35.434Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-25T04:54:35.434Z] ---> Running in fb82ef517969 [2024-07-25T04:54:35.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T04:54:35.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T04:54:35.434Z] OK: 7 MiB in 16 packages [2024-07-25T04:54:35.434Z] Removing intermediate container fb82ef517969 [2024-07-25T04:54:35.434Z] ---> 762bd12dc19e [2024-07-25T04:54:35.434Z] Step 15/24 : WORKDIR / [2024-07-25T04:54:35.434Z] ---> Running in 782e7c497d8c [2024-07-25T04:54:35.434Z] Removing intermediate container 782e7c497d8c [2024-07-25T04:54:35.434Z] ---> 0178bfa1cb04 [2024-07-25T04:54:35.434Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-25T04:54:35.434Z] ---> 8dc6ba32dff2 [2024-07-25T04:54:35.434Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-25T04:54:35.434Z] ---> 7d1f56662170 [2024-07-25T04:54:35.434Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-25T04:54:35.434Z] ---> 67e16d61b992 [2024-07-25T04:54:35.434Z] Step 19/24 : EXPOSE 59999 [2024-07-25T04:54:35.434Z] ---> Running in 1da1429b2320 [2024-07-25T04:54:35.434Z] Removing intermediate container 1da1429b2320 [2024-07-25T04:54:35.434Z] ---> d5f604aa2093 [2024-07-25T04:54:35.434Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-25T04:54:35.434Z] ---> Running in 1e550a3a288e [2024-07-25T04:54:35.434Z] Removing intermediate container 1e550a3a288e [2024-07-25T04:54:35.434Z] ---> 4553414d986b [2024-07-25T04:54:35.434Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-25T04:54:35.434Z] ---> Running in 664f48086fba [2024-07-25T04:54:35.434Z] Removing intermediate container 664f48086fba [2024-07-25T04:54:35.434Z] ---> fe98e2bedbcb [2024-07-25T04:54:35.434Z] Step 22/24 : LABEL arch=amd64 [2024-07-25T04:54:35.434Z] ---> Running in 22f6237a85ce [2024-07-25T04:54:35.434Z] Removing intermediate container 22f6237a85ce [2024-07-25T04:54:35.434Z] ---> d85a080a63cd [2024-07-25T04:54:35.434Z] Step 23/24 : LABEL git_sha=fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [2024-07-25T04:54:35.434Z] ---> Running in 65578a24d15a [2024-07-25T04:54:35.434Z] Removing intermediate container 65578a24d15a [2024-07-25T04:54:35.434Z] ---> 8704a67720cb [2024-07-25T04:54:35.434Z] Step 24/24 : LABEL version=3.2.0-dev.27 [2024-07-25T04:54:35.434Z] ---> Running in 069ad98f18dd [2024-07-25T04:54:35.434Z] Removing intermediate container 069ad98f18dd [2024-07-25T04:54:35.434Z] ---> 1beccfe1520b [2024-07-25T04:54:35.434Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T04:54:35.434Z] Successfully built 1beccfe1520b [2024-07-25T04:54:35.434Z] 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-25T04:54:35.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T04:54:35.932Z] [2024-07-25T04:54:35.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:54:36.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T04:54:36.246Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-25T04:54:36.246Z] 5eb5b503b376: Pulling fs layer [2024-07-25T04:54:36.246Z] 5c69ac0246d0: Pulling fs layer [2024-07-25T04:54:36.246Z] ec43610c2a17: Pulling fs layer [2024-07-25T04:54:36.246Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-25T04:54:36.246Z] 33b1e0a273af: Pulling fs layer [2024-07-25T04:54:36.246Z] 5d3b04190fa2: Pulling fs layer [2024-07-25T04:54:36.246Z] 2f39f015ded8: Pulling fs layer [2024-07-25T04:54:36.246Z] 5d3b04190fa2: Waiting [2024-07-25T04:54:36.246Z] 3a2ae6a8a46f: Waiting [2024-07-25T04:54:36.246Z] 5c69ac0246d0: Verifying Checksum [2024-07-25T04:54:36.246Z] 5c69ac0246d0: Download complete [2024-07-25T04:54:36.246Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-25T04:54:36.246Z] 3a2ae6a8a46f: Download complete [2024-07-25T04:54:36.246Z] 33b1e0a273af: Verifying Checksum [2024-07-25T04:54:36.247Z] 33b1e0a273af: Download complete [2024-07-25T04:54:36.247Z] 5d3b04190fa2: Download complete [2024-07-25T04:54:36.247Z] ec43610c2a17: Verifying Checksum [2024-07-25T04:54:36.247Z] ec43610c2a17: Download complete [2024-07-25T04:54:36.503Z] 5eb5b503b376: Verifying Checksum [2024-07-25T04:54:36.503Z] 5eb5b503b376: Download complete [2024-07-25T04:54:37.066Z] 2f39f015ded8: Download complete [2024-07-25T04:54:37.634Z] 5eb5b503b376: Pull complete [2024-07-25T04:54:37.892Z] 5c69ac0246d0: Pull complete [2024-07-25T04:54:38.151Z] ec43610c2a17: Pull complete [2024-07-25T04:54:38.151Z] 3a2ae6a8a46f: Pull complete [2024-07-25T04:54:38.410Z] 33b1e0a273af: Pull complete [2024-07-25T04:54:38.410Z] 5d3b04190fa2: Pull complete [2024-07-25T04:54:42.180Z] d6de4b400683: Pull complete [2024-07-25T04:54:42.180Z] 35cb2a7552d0: Pull complete [2024-07-25T04:54:42.180Z] 4f4fb700ef54: Pull complete [2024-07-25T04:54:42.180Z] 464afbd9ba4c: Pull complete [2024-07-25T04:54:42.590Z] 2f39f015ded8: Pull complete [2024-07-25T04:54:42.591Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-25T04:54:42.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T04:54:42.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T04:54:42.687Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T04:54:42.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-25T04:54:46.867Z] $ docker top 2982a62fca5e58c864631bc51c4ecfcccb6c16bafb448eb3e0d597ec75ce39d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T04:54:47.256Z] ---> job-cost.sh [2024-07-25T04:54:47.256Z] lf-activate-venv: SKIPPING [2024-07-25T04:54:47.256Z] INFO: No Stack... [2024-07-25T04:54:47.516Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T04:54:47.775Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T04:54:48.066Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-07-25T04:54:48.066Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T04:54:48.080Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] [2024-07-25T04:54:48.096Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] did not exist. Created. [2024-07-25T04:54:48.103Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T04:54:48.405Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-25T04:54:48.444Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T04:54:48.451Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T04:54:48.477Z] $ docker stop --time=1 2982a62fca5e58c864631bc51c4ecfcccb6c16bafb448eb3e0d597ec75ce39d5 [2024-07-25T04:54:49.619Z] $ docker rm -f --volumes 2982a62fca5e58c864631bc51c4ecfcccb6c16bafb448eb3e0d597ec75ce39d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-25T04:54:50.399Z] 00f215d4a9da: Pull complete [2024-07-25T04:54:52.340Z] d496ad576159: Pull complete [2024-07-25T04:54:52.340Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-25T04:54:52.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-25T04:54:52.340Z] ---> f246e2811388 [2024-07-25T04:54:52.340Z] Step 3/10 : ARG MAKE=make build [2024-07-25T04:54:53.304Z] ---> Running in e3fcc345dfb5 [2024-07-25T04:54:53.304Z] Removing intermediate container e3fcc345dfb5 [2024-07-25T04:54:53.304Z] ---> acb2cba0c370 [2024-07-25T04:54:53.304Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-25T04:54:53.572Z] ---> Running in 1a6e2626a12c [2024-07-25T04:54:53.844Z] Removing intermediate container 1a6e2626a12c [2024-07-25T04:54:53.844Z] ---> 51956013126a [2024-07-25T04:54:53.844Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-25T04:54:53.844Z] ---> Running in ebbbb7459545 [2024-07-25T04:54:54.114Z] Removing intermediate container ebbbb7459545 [2024-07-25T04:54:54.114Z] ---> 215430d3c52b [2024-07-25T04:54:54.114Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-25T04:54:54.387Z] ---> Running in 7680f1f05555 [2024-07-25T04:54:55.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T04:54:55.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T04:54:57.374Z] OK: 266 MiB in 52 packages [2024-07-25T04:54:58.020Z] Removing intermediate container 7680f1f05555 [2024-07-25T04:54:58.020Z] ---> d0095d015ae6 [2024-07-25T04:54:58.020Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-25T04:54:58.761Z] ---> 84441028db7d [2024-07-25T04:54:58.761Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T04:54:58.761Z] ---> Running in a00c3e7ba422 [2024-07-25T04:56:50.499Z] Removing intermediate container a00c3e7ba422 [2024-07-25T04:56:50.499Z] ---> 39a1e46e3787 [2024-07-25T04:56:50.499Z] Step 9/10 : COPY . . [2024-07-25T04:56:50.499Z] ---> 69e1df4c816c [2024-07-25T04:56:50.499Z] Step 10/10 : RUN ${MAKE} [2024-07-25T04:56:50.499Z] ---> Running in 9be2cf2ac85a [2024-07-25T04:56:50.499Z] noop [2024-07-25T04:56:50.499Z] Removing intermediate container 9be2cf2ac85a [2024-07-25T04:56:50.499Z] ---> 30b2b0886ec8 [2024-07-25T04:56:50.499Z] Successfully built 30b2b0886ec8 [2024-07-25T04:56:50.499Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:56:50.868Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T04:56:50.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T04:56:51.083Z] prd-ubuntu20.04-docker-arm64-4c-16g-6415 does not seem to be running inside a container [2024-07-25T04:56:51.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/302 -v /w/workspace/device-sdk-go/302:/w/workspace/device-sdk-go/302:rw,z -v /w/workspace/device-sdk-go/302@tmp:/w/workspace/device-sdk-go/302@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-25T04:56:52.381Z] $ docker top 908f1b29702bd5e80a24720b8c7655298f5a24066960a5fae0367685911655fc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T04:56:53.220Z] + go version [2024-07-25T04:56:53.220Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-25T04:56:53.237Z] $ docker stop --time=1 908f1b29702bd5e80a24720b8c7655298f5a24066960a5fae0367685911655fc [2024-07-25T04:56:54.868Z] $ docker rm -f --volumes 908f1b29702bd5e80a24720b8c7655298f5a24066960a5fae0367685911655fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T04:56:55.494Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T04:56:55.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T04:56:55.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-6415 does not seem to be running inside a container [2024-07-25T04:56:55.773Z] $ 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/302 -v /w/workspace/device-sdk-go/302:/w/workspace/device-sdk-go/302:rw,z -v /w/workspace/device-sdk-go/302@tmp:/w/workspace/device-sdk-go/302@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-25T04:56:57.066Z] $ docker top 4a190d56fd9705b32c1325fc62abb0767b2a610690e385452554bffa3ee1805e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T04:56:57.622Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/302 [Pipeline] fileExists [Pipeline] sh [2024-07-25T04:56:58.249Z] + make test [2024-07-25T04:56:58.518Z] go test -race -coverprofile=coverage.out ./... [2024-07-25T04:57:45.379Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-25T05:01:24.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-25T05:01:24.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-25T05:01:24.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-25T05:01:24.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-25T05:01:24.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-25T05:01:27.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.121s coverage: 27.0% of statements [2024-07-25T05:01:32.894Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.177s coverage: 80.0% of statements [2024-07-25T05:01:39.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-25T05:01:39.572Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-25T05:01:41.012Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.270s coverage: 86.0% of statements [2024-07-25T05:01:44.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-25T05:01:45.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.435s coverage: 55.2% of statements [2024-07-25T05:01:50.041Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.147s coverage: 14.4% of statements [2024-07-25T05:01:50.998Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.945s coverage: 44.6% of statements [2024-07-25T05:01:51.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-25T05:01:51.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-25T05:01:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.312s coverage: 68.5% of statements [2024-07-25T05:01:56.957Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.391s coverage: 89.2% of statements [2024-07-25T05:02:01.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-25T05:02:02.876Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.269s coverage: 5.4% of statements [2024-07-25T05:02:04.316Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-25T05:02:04.316Z] GO111MODULE=on go vet ./... [2024-07-25T05:06:26.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T05:06:26.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T05:06:26.455Z] ./bin/test-attribution-txt.sh [2024-07-25T05:06:26.455Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-25T05:06:26.455Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T05:06:26.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T05:06:26.503Z] $ docker stop --time=1 4a190d56fd9705b32c1325fc62abb0767b2a610690e385452554bffa3ee1805e [2024-07-25T05:06:28.522Z] $ docker rm -f --volumes 4a190d56fd9705b32c1325fc62abb0767b2a610690e385452554bffa3ee1805e [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T05:06:30.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T05:06:31.004Z] Warning: overwriting stash ‘coverage-report’ [2024-07-25T05:06:31.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T05:06:32.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T05:06:32.490Z] + ls -al . [2024-07-25T05:06:32.491Z] total 376 [2024-07-25T05:06:32.491Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 04:57 . [2024-07-25T05:06:32.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:53 .. [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 04:53 .dockerignore [2024-07-25T05:06:32.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 04:54 .git [2024-07-25T05:06:32.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:53 .github [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 25 04:53 .gitignore [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 25 04:53 .golangci.yml [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 25 04:53 CHANGELOG.md [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 04:53 GOVERNANCE.md [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 25 04:53 Jenkinsfile [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 25 04:53 LICENSE [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 25 04:53 Makefile [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 25 04:53 OWNERS.md [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 25 04:53 README.md [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 25 04:51 VERSION [2024-07-25T05:06:32.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 04:53 bin [2024-07-25T05:06:32.491Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 25 05:02 coverage.out [2024-07-25T05:06:32.491Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 25 04:53 example [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 6996 Jul 25 04:53 go.mod [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 101460 Jul 25 04:53 go.sum [2024-07-25T05:06:32.491Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 04:53 internal [2024-07-25T05:06:32.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:53 openapi [2024-07-25T05:06:32.491Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 25 04:53 pkg [2024-07-25T05:06:32.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:53 snap [2024-07-25T05:06:32.491Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 25 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:06:32.857Z] + 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=fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 --label arch=arm64 --label version=3.2.0-dev.27 . [2024-07-25T05:06:33.444Z] Sending build context to Docker daemon 13.11MB [2024-07-25T05:06:33.444Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T05:06:33.444Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-25T05:06:33.444Z] ---> 30b2b0886ec8 [2024-07-25T05:06:33.444Z] Step 3/24 : ARG MAKE=make build [2024-07-25T05:06:33.710Z] ---> Running in f210578522ed [2024-07-25T05:06:33.977Z] Removing intermediate container f210578522ed [2024-07-25T05:06:33.977Z] ---> 23ed2b90d647 [2024-07-25T05:06:33.977Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-25T05:06:33.977Z] ---> Running in 751261e43d1b [2024-07-25T05:06:34.557Z] Removing intermediate container 751261e43d1b [2024-07-25T05:06:34.557Z] ---> 6101e4a2e722 [2024-07-25T05:06:34.557Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-25T05:06:34.557Z] ---> Running in 2299a95a43d9 [2024-07-25T05:06:34.827Z] Removing intermediate container 2299a95a43d9 [2024-07-25T05:06:34.827Z] ---> 872222a3f69e [2024-07-25T05:06:34.827Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-25T05:06:34.827Z] ---> Running in 000d3cd3b1d4 [2024-07-25T05:06:36.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:06:36.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:06:37.557Z] OK: 266 MiB in 52 packages [2024-07-25T05:06:38.517Z] Removing intermediate container 000d3cd3b1d4 [2024-07-25T05:06:38.517Z] ---> 7a39c233af4c [2024-07-25T05:06:38.517Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-25T05:06:39.105Z] ---> 42f4e0509c01 [2024-07-25T05:06:39.105Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T05:06:39.105Z] ---> Running in 3d97b21a66a0 [2024-07-25T05:06:41.697Z] Removing intermediate container 3d97b21a66a0 [2024-07-25T05:06:41.697Z] ---> 74c4a6ef3a9e [2024-07-25T05:06:41.697Z] Step 9/24 : COPY . . [2024-07-25T05:06:43.103Z] ---> 3026fdd04cd4 [2024-07-25T05:06:43.103Z] Step 10/24 : RUN ${MAKE} [2024-07-25T05:06:43.103Z] ---> Running in e4cfa739faac [2024-07-25T05:06:44.062Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-25T05:10:35.989Z] Removing intermediate container e4cfa739faac [2024-07-25T05:10:35.989Z] ---> 7a4655b384ff [2024-07-25T05:10:35.989Z] Step 11/24 : FROM alpine:3.18 [2024-07-25T05:10:35.989Z] 3.18: Pulling from library/alpine [2024-07-25T05:10:35.989Z] 4983c3fe2029: Pulling fs layer [2024-07-25T05:10:35.989Z] 4983c3fe2029: Verifying Checksum [2024-07-25T05:10:35.989Z] 4983c3fe2029: Download complete [2024-07-25T05:10:35.989Z] 4983c3fe2029: Pull complete [2024-07-25T05:10:35.989Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T05:10:35.989Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T05:10:35.989Z] ---> a0237000ae83 [2024-07-25T05:10:35.989Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-25T05:10:35.989Z] ---> Running in a9f42467443c [2024-07-25T05:10:35.989Z] Removing intermediate container a9f42467443c [2024-07-25T05:10:35.989Z] ---> f4b53e40da2d [2024-07-25T05:10:35.989Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-25T05:10:35.989Z] ---> Running in a04f6af89de2 [2024-07-25T05:10:35.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:10:35.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:10:35.989Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T05:10:35.989Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T05:10:35.989Z] OK: 8 MiB in 16 packages [2024-07-25T05:10:35.989Z] Removing intermediate container a04f6af89de2 [2024-07-25T05:10:35.989Z] ---> 144f0dbbfd46 [2024-07-25T05:10:35.989Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-25T05:10:35.989Z] ---> Running in e8f6cac1e4ff [2024-07-25T05:10:35.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:10:35.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:10:35.989Z] OK: 8 MiB in 16 packages [2024-07-25T05:10:35.989Z] Removing intermediate container e8f6cac1e4ff [2024-07-25T05:10:35.989Z] ---> d7644f22d5a8 [2024-07-25T05:10:35.989Z] Step 15/24 : WORKDIR / [2024-07-25T05:10:35.989Z] ---> Running in a2aa82842379 [2024-07-25T05:10:35.989Z] Removing intermediate container a2aa82842379 [2024-07-25T05:10:35.989Z] ---> 23f090dc1b2f [2024-07-25T05:10:35.989Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-25T05:10:35.989Z] ---> 774e46326899 [2024-07-25T05:10:35.989Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-25T05:10:36.572Z] ---> c0e0f59a3e08 [2024-07-25T05:10:36.572Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-25T05:10:37.158Z] ---> 0f4e01f9596f [2024-07-25T05:10:37.158Z] Step 19/24 : EXPOSE 59999 [2024-07-25T05:10:37.427Z] ---> Running in 022198467f9a [2024-07-25T05:10:37.755Z] Removing intermediate container 022198467f9a [2024-07-25T05:10:37.755Z] ---> 8154647de5fc [2024-07-25T05:10:37.755Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-25T05:10:37.755Z] ---> Running in 76f520c4fc4a [2024-07-25T05:10:38.038Z] Removing intermediate container 76f520c4fc4a [2024-07-25T05:10:38.038Z] ---> 554ba2837110 [2024-07-25T05:10:38.038Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-25T05:10:38.038Z] ---> Running in 0aee1cad0789 [2024-07-25T05:10:38.332Z] Removing intermediate container 0aee1cad0789 [2024-07-25T05:10:38.332Z] ---> 640d9a1f5774 [2024-07-25T05:10:38.332Z] Step 22/24 : LABEL arch=arm64 [2024-07-25T05:10:38.601Z] ---> Running in 8a9eab6c0f08 [2024-07-25T05:10:38.882Z] Removing intermediate container 8a9eab6c0f08 [2024-07-25T05:10:38.882Z] ---> c54212a9f643 [2024-07-25T05:10:38.882Z] Step 23/24 : LABEL git_sha=fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [2024-07-25T05:10:38.882Z] ---> Running in 1693b02a0e08 [2024-07-25T05:10:39.157Z] Removing intermediate container 1693b02a0e08 [2024-07-25T05:10:39.157Z] ---> 27974a10b7d3 [2024-07-25T05:10:39.157Z] Step 24/24 : LABEL version=3.2.0-dev.27 [2024-07-25T05:10:39.422Z] ---> Running in d59335255ee3 [2024-07-25T05:10:39.688Z] Removing intermediate container d59335255ee3 [2024-07-25T05:10:39.688Z] ---> 9e77f334b5fd [2024-07-25T05:10:39.688Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T05:10:39.688Z] Successfully built 9e77f334b5fd [2024-07-25T05:10:39.688Z] 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-25T05:10:40.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T05:10:40.200Z] [2024-07-25T05:10:40.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:10:40.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T05:10:40.805Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-25T05:10:40.805Z] 8998bd30e6a1: Pulling fs layer [2024-07-25T05:10:40.805Z] 04944245beec: Pulling fs layer [2024-07-25T05:10:40.805Z] 699f458cf7ca: Pulling fs layer [2024-07-25T05:10:40.805Z] 765212b225bb: Pulling fs layer [2024-07-25T05:10:40.805Z] f23df028b6ca: Pulling fs layer [2024-07-25T05:10:40.805Z] d65c8cfc05b1: Pulling fs layer [2024-07-25T05:10:40.805Z] 2437ff75d9bd: Pulling fs layer [2024-07-25T05:10:40.805Z] 765212b225bb: Waiting [2024-07-25T05:10:40.805Z] d65c8cfc05b1: Waiting [2024-07-25T05:10:40.805Z] 2437ff75d9bd: Waiting [2024-07-25T05:10:40.805Z] 04944245beec: Verifying Checksum [2024-07-25T05:10:40.805Z] 04944245beec: Download complete [2024-07-25T05:10:40.805Z] 765212b225bb: Verifying Checksum [2024-07-25T05:10:40.805Z] 765212b225bb: Download complete [2024-07-25T05:10:40.805Z] f23df028b6ca: Verifying Checksum [2024-07-25T05:10:40.805Z] f23df028b6ca: Download complete [2024-07-25T05:10:40.805Z] d65c8cfc05b1: Verifying Checksum [2024-07-25T05:10:40.805Z] d65c8cfc05b1: Download complete [2024-07-25T05:10:41.071Z] 699f458cf7ca: Download complete [2024-07-25T05:10:41.336Z] 8998bd30e6a1: Verifying Checksum [2024-07-25T05:10:41.336Z] 8998bd30e6a1: Download complete [2024-07-25T05:10:43.919Z] 2437ff75d9bd: Verifying Checksum [2024-07-25T05:10:43.919Z] 2437ff75d9bd: Download complete [2024-07-25T05:10:46.498Z] 8998bd30e6a1: Pull complete [2024-07-25T05:10:46.764Z] 04944245beec: Pull complete [2024-07-25T05:10:48.710Z] 699f458cf7ca: Pull complete [2024-07-25T05:10:48.710Z] 765212b225bb: Pull complete [2024-07-25T05:10:49.674Z] f23df028b6ca: Pull complete [2024-07-25T05:10:49.674Z] d65c8cfc05b1: Pull complete [2024-07-25T05:11:07.881Z] 2437ff75d9bd: Pull complete [2024-07-25T05:11:07.881Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-25T05:11:07.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T05:11:07.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:11:08.097Z] prd-ubuntu20.04-docker-arm64-4c-16g-6415 does not seem to be running inside a container [2024-07-25T05:11:08.159Z] $ 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/302 -v /w/workspace/device-sdk-go/302:/w/workspace/device-sdk-go/302:rw,z -v /w/workspace/device-sdk-go/302@tmp:/w/workspace/device-sdk-go/302@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-25T05:11:11.113Z] $ docker top 085be26605a030905727597327fdaeea0fa2a565e56fd0f5d7956960454f4663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:11:11.953Z] ---> job-cost.sh [2024-07-25T05:11:11.953Z] lf-activate-venv: SKIPPING [2024-07-25T05:11:11.953Z] INFO: No Stack... [2024-07-25T05:11:12.221Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-25T05:11:13.181Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T05:11:13.811Z] + cat /w/workspace/device-sdk-go/302/archives/cost.csv [2024-07-25T05:11:13.811Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T05:11:13.844Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] [2024-07-25T05:11:13.852Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] did not exist. Created. [2024-07-25T05:11:13.858Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T05:11:14.532Z] /w/workspace/device-sdk-go/302@tmp/durable-9161112c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-25T05:11:14.851Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-25T05:11:14.870Z] Warning: overwriting stash ‘stack-cost’ [2024-07-25T05:11:14.956Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T05:11:14.968Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-302-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T05:11:14.992Z] $ docker stop --time=1 085be26605a030905727597327fdaeea0fa2a565e56fd0f5d7956960454f4663 [2024-07-25T05:11:16.531Z] $ docker rm -f --volumes 085be26605a030905727597327fdaeea0fa2a565e56fd0f5d7956960454f4663 [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-25T05:11:17.069Z] provisioning config files... [2024-07-25T05:11:17.077Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9235607820786793262tmp [Pipeline] { [Pipeline] sh [2024-07-25T05:11:17.385Z] + set +x [2024-07-25T05:11:17.385Z] + bash -s -- [2024-07-25T05:11:17.385Z] + curl -s https://codecov.io/bash [2024-07-25T05:11:17.385Z] [2024-07-25T05:11:17.385Z] _____ _ [2024-07-25T05:11:17.385Z] / ____| | | [2024-07-25T05:11:17.385Z] | | ___ __| | ___ ___ _____ __ [2024-07-25T05:11:17.385Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-25T05:11:17.385Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-25T05:11:17.385Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-25T05:11:17.385Z] Bash-1.0.6 [2024-07-25T05:11:17.385Z] [2024-07-25T05:11:17.385Z] [2024-07-25T05:11:17.385Z] ==> git version 2.25.1 found [2024-07-25T05:11:17.385Z] ==> 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-25T05:11:17.385Z] Release-Date: 2020-01-08 [2024-07-25T05:11:17.385Z] 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-25T05:11:17.385Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-25T05:11:17.385Z] ==> Jenkins CI detected. [2024-07-25T05:11:17.385Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-07-25T05:11:17.385Z] project root: . [2024-07-25T05:11:17.385Z] --> token set from env [2024-07-25T05:11:17.385Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-25T05:11:17.385Z] ==> Running gcov in . (disable via -X gcov) [2024-07-25T05:11:17.385Z] ==> Python coveragepy not found [2024-07-25T05:11:17.385Z] ==> Searching for coverage reports in: [2024-07-25T05:11:17.385Z] + . [2024-07-25T05:11:17.644Z] -> Found 1 reports [2024-07-25T05:11:17.644Z] ==> Detecting git/mercurial file structure [2024-07-25T05:11:17.644Z] ==> Reading reports [2024-07-25T05:11:17.644Z] + ./coverage.out bytes=125161 [2024-07-25T05:11:17.644Z] ==> Appending adjustments [2024-07-25T05:11:17.644Z] https://docs.codecov.io/docs/fixing-reports [2024-07-25T05:11:17.924Z] + Found adjustments [2024-07-25T05:11:17.924Z] ==> Gzipping contents [2024-07-25T05:11:17.924Z] 20K /tmp/codecov.LxJWfA.gz [2024-07-25T05:11:17.924Z] ==> Uploading reports [2024-07-25T05:11:17.924Z] url: https://codecov.io [2024-07-25T05:11:17.924Z] query: branch=main&commit=fce9cd2fc4ac40e381905aab8d946eeb523fa2a4&build=302&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F302%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-25T05:11:17.924Z] -> Pinging Codecov [2024-07-25T05:11:17.925Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=fce9cd2fc4ac40e381905aab8d946eeb523fa2a4&build=302&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F302%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-25T05:11:17.925Z] -> Uploading to [2024-07-25T05:11:17.925Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-25/7E55EF52A471D76F132DFD9A03CDDE97/fce9cd2fc4ac40e381905aab8d946eeb523fa2a4/cca423b8-a805-4ee3-8e08-4777e919f9ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T051117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a3a9e6938e69891857aeaf72fb34d8dfec364978b33091dc28a767856224706 [2024-07-25T05:11:17.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T05:11:17.925Z] Dload Upload Total Spent Left Speed [2024-07-25T05:11:18.185Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17073 0 0 100 17073 0 51736 --:--:-- --:--:-- --:--:-- 51736 [2024-07-25T05:11:18.444Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [Pipeline] } [2024-07-25T05:11:18.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-25T05:11:18.679Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-25T05:11:18.697Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:11:19.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-25T05:11:19.007Z] [2024-07-25T05:11:19.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:11:19.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-25T05:11:19.374Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-25T05:11:19.374Z] 619be1103602: Already exists [2024-07-25T05:11:19.374Z] f8ea3408117e: Pulling fs layer [2024-07-25T05:11:19.374Z] 91320369b822: Pulling fs layer [2024-07-25T05:11:19.374Z] 0406650e8295: Pulling fs layer [2024-07-25T05:11:19.374Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T05:11:19.374Z] 96d80e3f36e1: Pulling fs layer [2024-07-25T05:11:19.374Z] bcf3aedb951c: Pulling fs layer [2024-07-25T05:11:19.374Z] 4f4fb700ef54: Waiting [2024-07-25T05:11:19.374Z] 96d80e3f36e1: Waiting [2024-07-25T05:11:19.374Z] bcf3aedb951c: Waiting [2024-07-25T05:11:19.374Z] 0406650e8295: Verifying Checksum [2024-07-25T05:11:19.374Z] 0406650e8295: Download complete [2024-07-25T05:11:19.374Z] f8ea3408117e: Verifying Checksum [2024-07-25T05:11:19.374Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T05:11:19.374Z] 4f4fb700ef54: Download complete [2024-07-25T05:11:19.374Z] f8ea3408117e: Pull complete [2024-07-25T05:11:19.638Z] 96d80e3f36e1: Verifying Checksum [2024-07-25T05:11:19.638Z] 96d80e3f36e1: Download complete [2024-07-25T05:11:19.898Z] 91320369b822: Verifying Checksum [2024-07-25T05:11:19.898Z] 91320369b822: Download complete [2024-07-25T05:11:20.162Z] bcf3aedb951c: Verifying Checksum [2024-07-25T05:11:20.162Z] bcf3aedb951c: Download complete [2024-07-25T05:11:23.555Z] 91320369b822: Pull complete [2024-07-25T05:11:23.555Z] 0406650e8295: Pull complete [2024-07-25T05:11:23.555Z] 4f4fb700ef54: Pull complete [2024-07-25T05:11:23.555Z] 96d80e3f36e1: Pull complete [2024-07-25T05:11:28.826Z] bcf3aedb951c: Pull complete [2024-07-25T05:11:29.087Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-25T05:11:29.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-25T05:11:29.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:11:29.451Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T05:11:29.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-07-25T05:11:33.741Z] $ docker top 66ffe52580b62b76798d0c3efa5ad68b82b05990d67b6f192034be0800d02ded -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:11:34.101Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo [2024-07-25T05:11:34.111Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-07-25T05:11:34.389Z] + set -o pipefail [2024-07-25T05:11:34.389Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-07-25T05:11:42.500Z] [2024-07-25T05:11:42.500Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2024-07-25T05:11:42.500Z] [2024-07-25T05:11:42.500Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/497c72ee-df8e-49b3-ae9e-0f8fa5898f2b [2024-07-25T05:11:42.500Z] [2024-07-25T05:11:42.500Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-25T05:11:42.500Z] [2024-07-25T05:11:42.500Z] [2024-07-25T05:11:42.500Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-25T05:11:42.500Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-25T05:11:42.503Z] $ docker stop --time=1 66ffe52580b62b76798d0c3efa5ad68b82b05990d67b6f192034be0800d02ded [2024-07-25T05:11:46.921Z] $ docker rm -f --volumes 66ffe52580b62b76798d0c3efa5ad68b82b05990d67b6f192034be0800d02ded [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-25T05:11:47.509Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:11:47.527Z] provisioning config files... [2024-07-25T05:11:47.535Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13136371362607972831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:11:47.832Z] --> edgex-publish-swagger.sh [2024-07-25T05:11:47.832Z] === Publish openapi/v3 API === [2024-07-25T05:11:47.832Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2024-07-25T05:11:47.832Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2024-07-25T05:11:47.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T05:11:47.832Z] Dload Upload Total Spent Left Speed [2024-07-25T05:11:48.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28585 100 156 100 28429 255 46528 --:--:-- --:--:-- --:--:-- 46783 [2024-07-25T05:11:48.403Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-07-25T05:11:48.403Z] [Pipeline] } [2024-07-25T05:11:48.409Z] 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-25T05:11:48.829Z] + git log --format=format:%s -1 fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 [Pipeline] sh [2024-07-25T05:11:49.123Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T05:11:49.123Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:11:49.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T05:11:49.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:11:49.498Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T05:11:49.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-25T05:11:50.073Z] $ docker top 3410189689bb1fcb0fc74c0d3b320d16578f7397f4c09383c554d03f7e7b0647 -eo pid,comm [2024-07-25T05:11:50.125Z] 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-25T05:11:50.125Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T05:11:50.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T05:11:50.193Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T05:11:50.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T05:11:50.288Z] $ docker exec 3410189689bb1fcb0fc74c0d3b320d16578f7397f4c09383c554d03f7e7b0647 ssh-agent [2024-07-25T05:11:50.391Z] SSH_AUTH_SOCK=/tmp/ssh-x5UDTycoSLYt/agent.32 [2024-07-25T05:11:50.391Z] SSH_AGENT_PID=38 [2024-07-25T05:11:50.395Z] Running ssh-add (command line suppressed) [2024-07-25T05:11:50.485Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10888750391947473466.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10888750391947473466.key) [2024-07-25T05:11:50.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T05:11:50.799Z] + git semver tag [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,966 [run_tag] DEBUG tag force:False [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,966 [check_head_tag] DEBUG check head tag [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,967 [execute] INFO git cat-file --batch-check [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,971 [execute] INFO git cat-file --batch [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,998 [execute] INFO git tag -a v3.2.0-dev.27 -m v3.2.0-dev.27 [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:50,999 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.27', '-m', 'v3.2.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-25T05:11:51.058Z] 2024-07-25 05:11:51,003 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:11:51.058Z] 3.2.0-dev.27 [Pipeline] } [2024-07-25T05:11:51.056Z] $ docker exec --env ******** --env ******** 3410189689bb1fcb0fc74c0d3b320d16578f7397f4c09383c554d03f7e7b0647 ssh-agent -k [2024-07-25T05:11:51.158Z] unset SSH_AUTH_SOCK; [2024-07-25T05:11:51.159Z] unset SSH_AGENT_PID; [2024-07-25T05:11:51.159Z] echo Agent pid 38 killed; [2024-07-25T05:11:51.179Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T05:11:51.510Z] + git semver [Pipeline] } [2024-07-25T05:11:51.768Z] $ docker stop --time=1 3410189689bb1fcb0fc74c0d3b320d16578f7397f4c09383c554d03f7e7b0647 [2024-07-25T05:11:53.057Z] $ docker rm -f --volumes 3410189689bb1fcb0fc74c0d3b320d16578f7397f4c09383c554d03f7e7b0647 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:11:53.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-25T05:11:53.488Z] [2024-07-25T05:11:53.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:11:53.793Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-25T05:11:53.793Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-25T05:11:53.793Z] ab5ef0e58194: Pulling fs layer [2024-07-25T05:11:53.793Z] 9712f1f96733: Pulling fs layer [2024-07-25T05:11:53.793Z] 63f879dbbcfc: Pulling fs layer [2024-07-25T05:11:53.793Z] 0d9ebad4ef96: Pulling fs layer [2024-07-25T05:11:53.793Z] e9a5061849ea: Pulling fs layer [2024-07-25T05:11:53.793Z] d747dcd14b5f: Pulling fs layer [2024-07-25T05:11:53.793Z] 2de7ff778b66: Pulling fs layer [2024-07-25T05:11:53.793Z] 0d9ebad4ef96: Waiting [2024-07-25T05:11:53.793Z] e9a5061849ea: Waiting [2024-07-25T05:11:53.793Z] d747dcd14b5f: Waiting [2024-07-25T05:11:53.793Z] 2de7ff778b66: Waiting [2024-07-25T05:11:53.793Z] 9712f1f96733: Verifying Checksum [2024-07-25T05:11:53.793Z] 9712f1f96733: Download complete [2024-07-25T05:11:54.050Z] 63f879dbbcfc: Verifying Checksum [2024-07-25T05:11:54.051Z] 63f879dbbcfc: Download complete [2024-07-25T05:11:54.313Z] e9a5061849ea: Verifying Checksum [2024-07-25T05:11:54.313Z] e9a5061849ea: Download complete [2024-07-25T05:11:54.313Z] d747dcd14b5f: Verifying Checksum [2024-07-25T05:11:54.313Z] d747dcd14b5f: Download complete [2024-07-25T05:11:54.313Z] 0d9ebad4ef96: Verifying Checksum [2024-07-25T05:11:54.313Z] 0d9ebad4ef96: Download complete [2024-07-25T05:11:54.313Z] ab5ef0e58194: Download complete [2024-07-25T05:11:54.313Z] 2de7ff778b66: Verifying Checksum [2024-07-25T05:11:54.313Z] 2de7ff778b66: Download complete [2024-07-25T05:11:56.846Z] ab5ef0e58194: Pull complete [2024-07-25T05:11:57.105Z] 9712f1f96733: Pull complete [2024-07-25T05:11:57.677Z] 63f879dbbcfc: Pull complete [2024-07-25T05:12:00.959Z] 0d9ebad4ef96: Pull complete [2024-07-25T05:12:01.530Z] e9a5061849ea: Pull complete [2024-07-25T05:12:01.531Z] d747dcd14b5f: Pull complete [2024-07-25T05:12:02.465Z] 2de7ff778b66: Pull complete [2024-07-25T05:12:02.465Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-25T05:12:02.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-25T05:12:02.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:12:02.579Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T05:12:02.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-25T05:12:07.229Z] $ docker top ec2c52a0f7fa046f5ae0ed127ec590def509494c73c355f8f3128b302b1a3f21 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:12:07.318Z] provisioning config files... [2024-07-25T05:12:07.324Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8487997532337353570tmp [2024-07-25T05:12:07.333Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5835476110688924997tmp [2024-07-25T05:12:07.341Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9087216913774442345tmp [Pipeline] { [Pipeline] echo [2024-07-25T05:12:07.374Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:07.676Z] ---> sigul-configuration.sh [2024-07-25T05:12:07.676Z] gpg: directory `/root/.gnupg' created [2024-07-25T05:12:07.676Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-25T05:12:07.676Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-25T05:12:07.676Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-25T05:12:07.676Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-25T05:12:07.676Z] gpg: CAST5 encrypted data [2024-07-25T05:12:07.676Z] gpg: encrypted with 1 passphrase [2024-07-25T05:12:07.676Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-25T05:12:07.967Z] + mkdir /home/jenkins [2024-07-25T05:12:07.967Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-25T05:12:08.262Z] + 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-25T05:12:08.277Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:08.572Z] ---> sigul-install.sh [2024-07-25T05:12:08.572Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-25T05:12:08.869Z] + git tag --list [2024-07-25T05:12:08.869Z] 0.7.1 [2024-07-25T05:12:08.869Z] delhi-tag [2024-07-25T05:12:08.869Z] v1.0.0 [2024-07-25T05:12:08.869Z] v1.1.0 [2024-07-25T05:12:08.869Z] v1.1.1 [2024-07-25T05:12:08.869Z] v1.1.2 [2024-07-25T05:12:08.869Z] v1.2.0 [2024-07-25T05:12:08.869Z] v1.2.1 [2024-07-25T05:12:08.869Z] v1.2.2 [2024-07-25T05:12:08.869Z] v1.2.3 [2024-07-25T05:12:08.869Z] v1.3.0 [2024-07-25T05:12:08.869Z] v1.4.0 [2024-07-25T05:12:08.869Z] v2.0.0 [2024-07-25T05:12:08.869Z] v2.1.0 [2024-07-25T05:12:08.869Z] v2.1.1 [2024-07-25T05:12:08.869Z] v2.2.0 [2024-07-25T05:12:08.869Z] v2.3.0 [2024-07-25T05:12:08.869Z] v2.3.1 [2024-07-25T05:12:08.869Z] v3.0 [2024-07-25T05:12:08.869Z] v3.0.0 [2024-07-25T05:12:08.869Z] v3.0.1-dev.1 [2024-07-25T05:12:08.869Z] v3.1 [2024-07-25T05:12:08.869Z] v3.1.0 [2024-07-25T05:12:08.869Z] v3.1.0-dev.1 [2024-07-25T05:12:08.869Z] v3.1.0-dev.10 [2024-07-25T05:12:08.869Z] v3.1.0-dev.11 [2024-07-25T05:12:08.869Z] v3.1.0-dev.12 [2024-07-25T05:12:08.869Z] v3.1.0-dev.13 [2024-07-25T05:12:08.869Z] v3.1.0-dev.14 [2024-07-25T05:12:08.869Z] v3.1.0-dev.15 [2024-07-25T05:12:08.869Z] v3.1.0-dev.16 [2024-07-25T05:12:08.869Z] v3.1.0-dev.17 [2024-07-25T05:12:08.869Z] v3.1.0-dev.18 [2024-07-25T05:12:08.869Z] v3.1.0-dev.19 [2024-07-25T05:12:08.869Z] v3.1.0-dev.2 [2024-07-25T05:12:08.869Z] v3.1.0-dev.20 [2024-07-25T05:12:08.869Z] v3.1.0-dev.21 [2024-07-25T05:12:08.869Z] v3.1.0-dev.22 [2024-07-25T05:12:08.869Z] v3.1.0-dev.23 [2024-07-25T05:12:08.869Z] v3.1.0-dev.24 [2024-07-25T05:12:08.869Z] v3.1.0-dev.25 [2024-07-25T05:12:08.869Z] v3.1.0-dev.26 [2024-07-25T05:12:08.869Z] v3.1.0-dev.27 [2024-07-25T05:12:08.869Z] v3.1.0-dev.28 [2024-07-25T05:12:08.869Z] v3.1.0-dev.29 [2024-07-25T05:12:08.869Z] v3.1.0-dev.3 [2024-07-25T05:12:08.869Z] v3.1.0-dev.30 [2024-07-25T05:12:08.869Z] v3.1.0-dev.31 [2024-07-25T05:12:08.869Z] v3.1.0-dev.32 [2024-07-25T05:12:08.869Z] v3.1.0-dev.33 [2024-07-25T05:12:08.869Z] v3.1.0-dev.34 [2024-07-25T05:12:08.869Z] v3.1.0-dev.35 [2024-07-25T05:12:08.869Z] v3.1.0-dev.36 [2024-07-25T05:12:08.869Z] v3.1.0-dev.37 [2024-07-25T05:12:08.869Z] v3.1.0-dev.38 [2024-07-25T05:12:08.870Z] v3.1.0-dev.39 [2024-07-25T05:12:08.870Z] v3.1.0-dev.4 [2024-07-25T05:12:08.870Z] v3.1.0-dev.40 [2024-07-25T05:12:08.870Z] v3.1.0-dev.41 [2024-07-25T05:12:08.870Z] v3.1.0-dev.5 [2024-07-25T05:12:08.870Z] v3.1.0-dev.6 [2024-07-25T05:12:08.870Z] v3.1.0-dev.7 [2024-07-25T05:12:08.870Z] v3.1.0-dev.8 [2024-07-25T05:12:08.870Z] v3.1.0-dev.9 [2024-07-25T05:12:08.870Z] v3.1.1 [2024-07-25T05:12:08.870Z] v3.1.1-dev.1 [2024-07-25T05:12:08.870Z] v3.2.0-dev.1 [2024-07-25T05:12:08.870Z] v3.2.0-dev.10 [2024-07-25T05:12:08.870Z] v3.2.0-dev.11 [2024-07-25T05:12:08.870Z] v3.2.0-dev.12 [2024-07-25T05:12:08.870Z] v3.2.0-dev.13 [2024-07-25T05:12:08.870Z] v3.2.0-dev.14 [2024-07-25T05:12:08.870Z] v3.2.0-dev.15 [2024-07-25T05:12:08.870Z] v3.2.0-dev.16 [2024-07-25T05:12:08.870Z] v3.2.0-dev.17 [2024-07-25T05:12:08.870Z] v3.2.0-dev.18 [2024-07-25T05:12:08.870Z] v3.2.0-dev.19 [2024-07-25T05:12:08.870Z] v3.2.0-dev.2 [2024-07-25T05:12:08.870Z] v3.2.0-dev.20 [2024-07-25T05:12:08.870Z] v3.2.0-dev.21 [2024-07-25T05:12:08.870Z] v3.2.0-dev.22 [2024-07-25T05:12:08.870Z] v3.2.0-dev.23 [2024-07-25T05:12:08.870Z] v3.2.0-dev.24 [2024-07-25T05:12:08.870Z] v3.2.0-dev.25 [2024-07-25T05:12:08.870Z] v3.2.0-dev.26 [2024-07-25T05:12:08.870Z] v3.2.0-dev.27 [2024-07-25T05:12:08.870Z] v3.2.0-dev.3 [2024-07-25T05:12:08.870Z] v3.2.0-dev.4 [2024-07-25T05:12:08.870Z] v3.2.0-dev.5 [2024-07-25T05:12:08.870Z] v3.2.0-dev.6 [2024-07-25T05:12:08.870Z] v3.2.0-dev.7 [2024-07-25T05:12:08.870Z] v3.2.0-dev.8 [2024-07-25T05:12:08.870Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-25T05:12:09.161Z] + lftools sign git-tag v3.2.0-dev.27 [2024-07-25T05:12:09.729Z] Signing Git tag with Sigul... [2024-07-25T05:12:09.729Z] Signing v3.2.0-dev.27 [Pipeline] echo [2024-07-25T05:12:10.003Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:10.299Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-25T05:12:10.306Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-25T05:12:10.327Z] $ docker stop --time=1 ec2c52a0f7fa046f5ae0ed127ec590def509494c73c355f8f3128b302b1a3f21 [2024-07-25T05:12:11.638Z] $ docker rm -f --volumes ec2c52a0f7fa046f5ae0ed127ec590def509494c73c355f8f3128b302b1a3f21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-25T05:12:12.079Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T05:12:12.079Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:12:12.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T05:12:12.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:12:12.459Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T05:12:12.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-25T05:12:12.789Z] $ docker top 3226b1e87d87380b2e720b96a79d0a4b8aaa7581e3ed3224b4cb23e413b47070 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T05:12:12.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T05:12:12.903Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T05:12:13.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T05:12:13.015Z] $ docker exec 3226b1e87d87380b2e720b96a79d0a4b8aaa7581e3ed3224b4cb23e413b47070 ssh-agent [2024-07-25T05:12:13.128Z] SSH_AUTH_SOCK=/tmp/ssh-lRYPUHnZgPLv/agent.33 [2024-07-25T05:12:13.128Z] SSH_AGENT_PID=39 [2024-07-25T05:12:13.132Z] Running ssh-add (command line suppressed) [2024-07-25T05:12:13.217Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10619111490134400330.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10619111490134400330.key) [2024-07-25T05:12:13.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T05:12:13.536Z] + git semver bump pre [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,706 [bump_version] DEBUG bumping version:3.2.0-dev.27 on axis:pre with prefix:dev [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,706 [bump_version] DEBUG bumped version:3.2.0-dev.28 [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,706 [write_version] DEBUG write version:3.2.0-dev.28 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,706 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,708 [execute] INFO git cat-file --batch-check [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,708 [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-25T05:12:13.796Z] 2024-07-25 05:12:13,713 [execute] INFO git cat-file --batch [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T05:12:13.796Z] 2024-07-25 05:12:13,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:12:13.796Z] 3.2.0-dev.28 [Pipeline] } [2024-07-25T05:12:13.796Z] $ docker exec --env ******** --env ******** 3226b1e87d87380b2e720b96a79d0a4b8aaa7581e3ed3224b4cb23e413b47070 ssh-agent -k [2024-07-25T05:12:13.886Z] unset SSH_AUTH_SOCK; [2024-07-25T05:12:13.886Z] unset SSH_AGENT_PID; [2024-07-25T05:12:13.886Z] echo Agent pid 39 killed; [2024-07-25T05:12:13.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T05:12:14.229Z] + git semver [Pipeline] } [2024-07-25T05:12:14.489Z] $ docker stop --time=1 3226b1e87d87380b2e720b96a79d0a4b8aaa7581e3ed3224b4cb23e413b47070 [2024-07-25T05:12:15.741Z] $ docker rm -f --volumes 3226b1e87d87380b2e720b96a79d0a4b8aaa7581e3ed3224b4cb23e413b47070 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T05:12:16.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T05:12:16.099Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:12:16.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T05:12:16.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:12:16.477Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T05:12:16.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-25T05:12:16.823Z] $ docker top a6b355522562852ba8699b5317f061b5b3e86d7d0f922c91bf972ad6038b6112 -eo pid,comm [2024-07-25T05:12:16.876Z] 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-25T05:12:16.876Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T05:12:16.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T05:12:16.944Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T05:12:17.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T05:12:17.048Z] $ docker exec a6b355522562852ba8699b5317f061b5b3e86d7d0f922c91bf972ad6038b6112 ssh-agent [2024-07-25T05:12:17.156Z] SSH_AUTH_SOCK=/tmp/ssh-Y8zs3mF8a2ih/agent.32 [2024-07-25T05:12:17.156Z] SSH_AGENT_PID=38 [2024-07-25T05:12:17.160Z] Running ssh-add (command line suppressed) [2024-07-25T05:12:17.241Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6808342856965833012.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6808342856965833012.key) [2024-07-25T05:12:17.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T05:12:17.556Z] + git semver push [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,731 [run_push] DEBUG push [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,732 [execute] INFO git cat-file --batch-check [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,735 [execute] INFO git rev-list afb45f9aefdb53e3a68ea65895278ea9a9f782c4 -- [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,736 [execute] DEBUG Popen(['git', 'rev-list', 'afb45f9aefdb53e3a68ea65895278ea9a9f782c4', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,751 [execute] INFO git fetch -v origin [2024-07-25T05:12:17.816Z] 2024-07-25 05:12:17,751 [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-25T05:12:18.383Z] 2024-07-25 05:12:18,190 [run_push] DEBUG no remote changes detected [2024-07-25T05:12:18.383Z] 2024-07-25 05:12:18,190 [execute] INFO git push origin semver [2024-07-25T05:12:18.383Z] 2024-07-25 05:12:18,191 [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-25T05:12:19.034Z] 2024-07-25 05:12:18,902 [run_push] DEBUG push all version tags [2024-07-25T05:12:19.034Z] 2024-07-25 05:12:18,903 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-25T05:12:19.034Z] 2024-07-25 05:12:18,903 [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-25T05:12:19.971Z] 2024-07-25 05:12:19,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-25T05:12:19.971Z] 3.2.0-dev.28 [Pipeline] } [2024-07-25T05:12:19.974Z] $ docker exec --env ******** --env ******** a6b355522562852ba8699b5317f061b5b3e86d7d0f922c91bf972ad6038b6112 ssh-agent -k [2024-07-25T05:12:20.075Z] unset SSH_AUTH_SOCK; [2024-07-25T05:12:20.075Z] unset SSH_AGENT_PID; [2024-07-25T05:12:20.075Z] echo Agent pid 38 killed; [2024-07-25T05:12:20.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T05:12:20.416Z] + git semver [Pipeline] } [2024-07-25T05:12:20.678Z] $ docker stop --time=1 a6b355522562852ba8699b5317f061b5b3e86d7d0f922c91bf972ad6038b6112 [2024-07-25T05:12:21.936Z] $ docker rm -f --volumes a6b355522562852ba8699b5317f061b5b3e86d7d0f922c91bf972ad6038b6112 [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-25T05:12:22.540Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-07-25T05:12:22.540Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-25T05:12:22.540Z] total 16 [2024-07-25T05:12:22.540Z] drwxr-xr-x 3 root root 4096 Jul 25 04:54 . [2024-07-25T05:12:22.540Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 05:12 .. [2024-07-25T05:12:22.540Z] drwxr-xr-x 2 root root 4096 Jul 25 04:54 cost [2024-07-25T05:12:22.540Z] -rw-r--r-- 1 root root 85 Jul 25 04:54 cost.csv [2024-07-25T05:12:22.540Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-25T05:12:22.540Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-25T05:12:22.540Z] total 16 [2024-07-25T05:12:22.540Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 04:54 . [2024-07-25T05:12:22.540Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 05:12 .. [2024-07-25T05:12:22.540Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 04:54 cost [2024-07-25T05:12:22.540Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 25 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:22.832Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:23.692Z] ---> package-listing.sh [2024-07-25T05:12:23.692Z] ++ facter osfamily [2024-07-25T05:12:23.692Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-25T05:12:23.951Z] + OS_FAMILY=debian [2024-07-25T05:12:23.951Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-07-25T05:12:23.951Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-25T05:12:23.951Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-25T05:12:23.951Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-25T05:12:23.951Z] + PACKAGES=/tmp/packages_start.txt [2024-07-25T05:12:23.951Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-25T05:12:23.951Z] + PACKAGES=/tmp/packages_end.txt [2024-07-25T05:12:23.951Z] + case "${OS_FAMILY}" in [2024-07-25T05:12:23.951Z] + dpkg -l [2024-07-25T05:12:23.951Z] + grep '^ii' [2024-07-25T05:12:23.951Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-25T05:12:23.951Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-25T05:12:23.951Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-25T05:12:23.951Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-25T05:12:23.951Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-07-25T05:12:23.951Z] + 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-25T05:12:23.962Z] 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-25T05:12:24.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:12:24.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T05:12:24.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:12:24.877Z] prd-ubuntu20.04-docker-8c-8g-6412 does not seem to be running inside a container [2024-07-25T05:12:24.893Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-25T05:12:25.077Z] $ docker top 66d47dd6b6477ad7da80d2e59170aa680fa86a52d9023b965d7ef781ae381502 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:12:25.432Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-25T05:12:25.717Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-25T05:12:26.001Z] + ls /var/log/sa-host [2024-07-25T05:12:26.001Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:12:26.077Z] provisioning config files... [2024-07-25T05:12:26.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9977198864130341670tmp [Pipeline] { [Pipeline] echo [2024-07-25T05:12:26.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:26.385Z] ---> create-netrc.sh [Pipeline] } [2024-07-25T05:12:26.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:26.732Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-25T05:12:26.742Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:27.029Z] ---> sudo-logs.sh [2024-07-25T05:12:27.030Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-25T05:12:27.063Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:27.347Z] ---> job-cost.sh [2024-07-25T05:12:27.347Z] lf-activate-venv: SKIPPING [2024-07-25T05:12:27.347Z] DEBUG: total: 0.2199999988079071 [2024-07-25T05:12:27.347Z] INFO: Retrieving Stack Cost... [2024-07-25T05:12:27.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T05:12:28.169Z] INFO: Archiving Costs [Pipeline] echo [2024-07-25T05:12:28.180Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:12:28.463Z] ---> logs-deploy.sh [2024-07-25T05:12:28.464Z] lf-activate-venv: SKIPPING [2024-07-25T05:12:28.464Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/302 [2024-07-25T05:12:28.464Z] INFO: archiving workspace using pattern(s): [2024-07-25T05:12:29.399Z] Archives upload complete. [2024-07-25T05:12:29.399Z] INFO: archiving logs to Nexus