Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d74039b1e75348ec690936aee1c1bcbaac678fee 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-ssh14467633335894014345.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15630042549886102262.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7645061742977426298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh5849153003890655983.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-ssh1693280208684128482.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1561 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 d74039b1e75348ec690936aee1c1bcbaac678fee (main) > 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 d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 Commit message: "test: Add URI test files (#1481)" > git rev-list --no-walk 1f24b0a1909b23f42318563b740559601ceacb70 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T18:41:41.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T18:41:41.132Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T18:41:41.150Z] ========================================================= [2023-07-19T18:41:41.150Z] EdgeX Global Pipelines Version Info [2023-07-19T18:41:41.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:41:41.924Z] ------------------- [2023-07-19T18:41:41.924Z] stable info: [2023-07-19T18:41:41.924Z] ------------------- [2023-07-19T18:41:41.924Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T18:41:41.924Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T18:41:41.924Z] Message: update stable to v1.0.250 [2023-07-19T18:41:42.494Z] ------------------- [2023-07-19T18:41:42.494Z] experimental info: [2023-07-19T18:41:42.494Z] ------------------- [2023-07-19T18:41:42.494Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T18:41:42.494Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T18:41:42.494Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T18:41:42.658Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-19T18:41:42.669Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-19T18:41:42.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T18:41:42.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T18:41:42.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T18:41:42.719Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T18:41:42.731Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T18:41:42.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-19T18:41:42.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T18:41:42.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T18:41:42.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T18:41:42.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-19T18:41:42.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T18:41:42.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T18:41:42.852Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T18:41:42.867Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:41:42.884Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:41:42.901Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:41:42.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T18:41:42.923Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T18:41:42.936Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-19T18:41:42.949Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-19T18:41:42.963Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T18:41:42.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T18:41:43.003Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T18:41:43.023Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T18:41:43.043Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T18:41:43.060Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-19T18:41:43.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-19T18:41:43.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-19T18:41:43.099Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo [2023-07-19T18:41:43.118Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74039b [Pipeline] echo [2023-07-19T18:41:43.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:41:43.184Z] provisioning config files... [2023-07-19T18:41:43.200Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5036978252056570026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:41:43.508Z] ---> docker-login.sh [2023-07-19T18:41:43.508Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:41:43.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:41:43.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:41:43.768Z] Configure a credential helper to remove this warning. See [2023-07-19T18:41:43.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:41:43.768Z] [2023-07-19T18:41:43.768Z] Login Succeeded [2023-07-19T18:41:43.768Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:41:43.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:41:44.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:41:44.028Z] Configure a credential helper to remove this warning. See [2023-07-19T18:41:44.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:41:44.028Z] [2023-07-19T18:41:44.028Z] Login Succeeded [2023-07-19T18:41:44.028Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:41:44.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:41:44.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:41:44.028Z] Configure a credential helper to remove this warning. See [2023-07-19T18:41:44.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:41:44.028Z] [2023-07-19T18:41:44.028Z] Login Succeeded [2023-07-19T18:41:44.028Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:41:44.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:41:44.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:41:44.291Z] Configure a credential helper to remove this warning. See [2023-07-19T18:41:44.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:41:44.291Z] [2023-07-19T18:41:44.291Z] Login Succeeded [2023-07-19T18:41:44.291Z] docker.io [2023-07-19T18:41:44.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:41:44.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:41:44.550Z] Configure a credential helper to remove this warning. See [2023-07-19T18:41:44.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:41:44.550Z] [2023-07-19T18:41:44.550Z] Login Succeeded [2023-07-19T18:41:44.550Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:41:44.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T18:41:44.921Z] + git rev-list -1 --merges d74039b1e75348ec690936aee1c1bcbaac678fee~1..d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo [2023-07-19T18:41:44.970Z] -----------> git rev-list -1 --merges d74039b1e75348ec690936aee1c1bcbaac678fee~1..d74039b1e75348ec690936aee1c1bcbaac678fee d74039b1e75348ec690936aee1c1bcbaac678fee [false] [Pipeline] sh [2023-07-19T18:41:45.280Z] + git log --format=format:%s -1 d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo [2023-07-19T18:41:45.296Z] ========================================================= [2023-07-19T18:41:45.296Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T18:41:45.296Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:41:45.637Z] + git log --format=format:%s -1 d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo [2023-07-19T18:41:45.648Z] [semverPrep] GIT_COMMIT: d74039b1e75348ec690936aee1c1bcbaac678fee, Commit Message: test: Add URI test files (#1481) [Pipeline] echo [2023-07-19T18:41:45.658Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T18:41:46.043Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T18:41:46.043Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T18:41:46.043Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T18:41:46.043Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T18:41:46.043Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T18:41:46.043Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T18:41:46.043Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:41:46.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:41:46.461Z] [2023-07-19T18:41:46.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:41:46.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:41:46.762Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T18:41:46.762Z] b85a868b505f: Pulling fs layer [2023-07-19T18:41:46.762Z] e2be974225ed: Pulling fs layer [2023-07-19T18:41:46.762Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T18:41:46.762Z] 988bab9f4d93: Pulling fs layer [2023-07-19T18:41:46.762Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T18:41:46.762Z] eaf3925da568: Pulling fs layer [2023-07-19T18:41:46.762Z] bab4dde63d76: Pulling fs layer [2023-07-19T18:41:46.762Z] bde34c3a00c8: Pulling fs layer [2023-07-19T18:41:46.762Z] b352a97aabf1: Pulling fs layer [2023-07-19T18:41:46.762Z] 4872d77fe225: Pulling fs layer [2023-07-19T18:41:46.762Z] 5851b861e8e6: Pulling fs layer [2023-07-19T18:41:46.762Z] b352a97aabf1: Waiting [2023-07-19T18:41:46.762Z] 1469e6f7b9e6: Waiting [2023-07-19T18:41:46.762Z] 4872d77fe225: Waiting [2023-07-19T18:41:46.762Z] 5851b861e8e6: Waiting [2023-07-19T18:41:46.762Z] eaf3925da568: Waiting [2023-07-19T18:41:46.762Z] bab4dde63d76: Waiting [2023-07-19T18:41:46.762Z] 988bab9f4d93: Waiting [2023-07-19T18:41:46.762Z] bde34c3a00c8: Waiting [2023-07-19T18:41:46.762Z] e2be974225ed: Download complete [2023-07-19T18:41:46.762Z] 988bab9f4d93: Download complete [2023-07-19T18:41:46.762Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T18:41:46.762Z] 1469e6f7b9e6: Download complete [2023-07-19T18:41:46.762Z] eaf3925da568: Download complete [2023-07-19T18:41:47.022Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T18:41:47.022Z] 339a4e72a1f5: Download complete [2023-07-19T18:41:47.022Z] bde34c3a00c8: Download complete [2023-07-19T18:41:47.022Z] b352a97aabf1: Verifying Checksum [2023-07-19T18:41:47.022Z] b352a97aabf1: Download complete [2023-07-19T18:41:47.022Z] 4872d77fe225: Download complete [2023-07-19T18:41:47.022Z] 5851b861e8e6: Verifying Checksum [2023-07-19T18:41:47.022Z] 5851b861e8e6: Download complete [2023-07-19T18:41:47.022Z] b85a868b505f: Download complete [2023-07-19T18:41:47.282Z] bab4dde63d76: Verifying Checksum [2023-07-19T18:41:47.282Z] bab4dde63d76: Download complete [2023-07-19T18:41:48.684Z] b85a868b505f: Pull complete [2023-07-19T18:41:48.684Z] e2be974225ed: Pull complete [2023-07-19T18:41:49.255Z] 339a4e72a1f5: Pull complete [2023-07-19T18:41:49.255Z] 988bab9f4d93: Pull complete [2023-07-19T18:41:49.516Z] 1469e6f7b9e6: Pull complete [2023-07-19T18:41:49.516Z] eaf3925da568: Pull complete [2023-07-19T18:41:51.423Z] bab4dde63d76: Pull complete [2023-07-19T18:41:51.423Z] bde34c3a00c8: Pull complete [2023-07-19T18:41:51.423Z] b352a97aabf1: Pull complete [2023-07-19T18:41:51.423Z] 4872d77fe225: Pull complete [2023-07-19T18:41:51.684Z] 5851b861e8e6: Pull complete [2023-07-19T18:41:51.684Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T18:41:51.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:41:51.684Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:41:51.781Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:41:51.814Z] $ 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 [2023-07-19T18:41:54.807Z] $ docker top 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db -eo pid,comm [2023-07-19T18:41:54.877Z] 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). [2023-07-19T18:41:54.877Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T18:41:54.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:41:54.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:41:55.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:41:55.044Z] $ docker exec 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent [2023-07-19T18:41:55.159Z] SSH_AUTH_SOCK=/tmp/ssh-yUhc8WHmmGRn/agent.32 [2023-07-19T18:41:55.159Z] SSH_AGENT_PID=38 [2023-07-19T18:41:55.166Z] Running ssh-add (command line suppressed) [2023-07-19T18:41:55.271Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14529140842587956935.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14529140842587956935.key) [2023-07-19T18:41:55.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:41:55.566Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T18:41:55.599Z] $ docker exec --env ******** --env ******** 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent -k [2023-07-19T18:41:55.705Z] unset SSH_AUTH_SOCK; [2023-07-19T18:41:55.705Z] unset SSH_AGENT_PID; [2023-07-19T18:41:55.705Z] echo Agent pid 38 killed; [2023-07-19T18:41:55.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T18:41:55.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:41:55.742Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:41:55.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:41:55.877Z] $ docker exec 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent [2023-07-19T18:41:56.005Z] SSH_AUTH_SOCK=/tmp/ssh-rFT5Eg4Dkww7/agent.70 [2023-07-19T18:41:56.005Z] SSH_AGENT_PID=76 [2023-07-19T18:41:56.008Z] Running ssh-add (command line suppressed) [2023-07-19T18:41:56.125Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14490288139127937513.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14490288139127937513.key) [2023-07-19T18:41:56.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:41:56.424Z] + git semver init [2023-07-19T18:41:56.684Z] 2023-07-19 18:41:56,621 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T18:41:56.684Z] 2023-07-19 18:41:56,621 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-19T18:41:56.684Z] 2023-07-19 18:41:56,622 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-19T18:41:56.684Z] 2023-07-19 18:41:56,622 [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) [2023-07-19T18:41:57.624Z] 2023-07-19 18:41:57,519 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-07-19T18:41:57.624Z] 2023-07-19 18:41:57,519 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-07-19T18:41:57.624Z] 2023-07-19 18:41:57,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:41:57.624Z] 2023-07-19 18:41:57,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:41:57.624Z] 3.1.0-dev.6 [Pipeline] } [2023-07-19T18:41:57.636Z] $ docker exec --env ******** --env ******** 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent -k [2023-07-19T18:41:57.733Z] unset SSH_AUTH_SOCK; [2023-07-19T18:41:57.733Z] unset SSH_AGENT_PID; [2023-07-19T18:41:57.733Z] echo Agent pid 76 killed; [2023-07-19T18:41:57.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T18:41:58.043Z] + git semver [Pipeline] } [2023-07-19T18:41:58.320Z] $ docker stop --time=1 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db [2023-07-19T18:41:59.681Z] $ docker rm -f --volumes 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:42:00.019Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T18:42:00.237Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T18:42:00.240Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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 [2023-07-19T18:42:00.401Z] provisioning config files... [2023-07-19T18:42:00.410Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5407986263911301326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:42:00.707Z] ---> docker-login.sh [2023-07-19T18:42:00.707Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:42:00.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:00.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:00.707Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:00.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:00.707Z] [2023-07-19T18:42:00.707Z] Login Succeeded [2023-07-19T18:42:00.707Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:42:00.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:00.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:00.707Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:00.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:00.707Z] [2023-07-19T18:42:00.707Z] Login Succeeded [2023-07-19T18:42:00.707Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:42:00.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:00.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:00.968Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:00.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:00.968Z] [2023-07-19T18:42:00.968Z] Login Succeeded [2023-07-19T18:42:00.968Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:42:00.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:00.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:00.968Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:00.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:00.968Z] [2023-07-19T18:42:00.968Z] Login Succeeded [2023-07-19T18:42:00.968Z] docker.io [2023-07-19T18:42:00.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:01.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:01.229Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:01.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:01.229Z] [2023-07-19T18:42:01.229Z] Login Succeeded [2023-07-19T18:42:01.229Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:42:01.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T18:42:01.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:42:01.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:42:01.333Z] ========================================================= [2023-07-19T18:42:01.333Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T18:42:01.333Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:42:01.654Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T18:42:01.654Z] Sending build context to Docker daemon 10.92MB [2023-07-19T18:42:01.654Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:42:01.654Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T18:42:01.654Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T18:42:01.654Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T18:42:01.654Z] 6911f1a30b25: Pulling fs layer [2023-07-19T18:42:01.654Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T18:42:01.654Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T18:42:01.654Z] ec0bb842ea78: Pulling fs layer [2023-07-19T18:42:01.654Z] 40a00589a448: Pulling fs layer [2023-07-19T18:42:01.654Z] 6c08303d61cc: Pulling fs layer [2023-07-19T18:42:01.654Z] 798269fcf238: Pulling fs layer [2023-07-19T18:42:01.654Z] 6863d3e3a2b1: Waiting [2023-07-19T18:42:01.654Z] 6c08303d61cc: Waiting [2023-07-19T18:42:01.654Z] 798269fcf238: Waiting [2023-07-19T18:42:01.654Z] ec0bb842ea78: Waiting [2023-07-19T18:42:01.913Z] 6911f1a30b25: Verifying Checksum [2023-07-19T18:42:01.913Z] 6911f1a30b25: Download complete [2023-07-19T18:42:01.913Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T18:42:01.913Z] 6863d3e3a2b1: Download complete [2023-07-19T18:42:01.913Z] ec0bb842ea78: Download complete [2023-07-19T18:42:01.913Z] 4db1b89c0bd1: Download complete [2023-07-19T18:42:01.913Z] 40a00589a448: Verifying Checksum [2023-07-19T18:42:01.913Z] 40a00589a448: Download complete [2023-07-19T18:42:02.174Z] 4db1b89c0bd1: Pull complete [2023-07-19T18:42:02.174Z] 6911f1a30b25: Pull complete [2023-07-19T18:42:02.434Z] 798269fcf238: Verifying Checksum [2023-07-19T18:42:02.434Z] 798269fcf238: Download complete [2023-07-19T18:42:02.692Z] e194b8c5c2a9: Download complete [2023-07-19T18:42:02.692Z] 6c08303d61cc: Download complete [2023-07-19T18:42:05.978Z] e194b8c5c2a9: Pull complete [2023-07-19T18:42:05.978Z] 6863d3e3a2b1: Pull complete [2023-07-19T18:42:05.978Z] ec0bb842ea78: Pull complete [2023-07-19T18:42:06.236Z] 40a00589a448: Pull complete [2023-07-19T18:42:08.768Z] 6c08303d61cc: Pull complete [2023-07-19T18:42:09.710Z] 798269fcf238: Pull complete [2023-07-19T18:42:09.710Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T18:42:09.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T18:42:09.710Z] ---> ec979cd7f677 [2023-07-19T18:42:09.710Z] Step 3/10 : ARG MAKE=make build [2023-07-19T18:42:15.355Z] Still waiting to schedule task [2023-07-19T18:42:15.355Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-19T18:42:17.843Z] ---> Running in 806f162c66da [2023-07-19T18:42:18.102Z] Removing intermediate container 806f162c66da [2023-07-19T18:42:18.103Z] ---> 8e34f1798ae6 [2023-07-19T18:42:18.103Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T18:42:18.103Z] ---> Running in e0041c8dc079 [2023-07-19T18:42:18.362Z] Removing intermediate container e0041c8dc079 [2023-07-19T18:42:18.362Z] ---> e1d78f403b51 [2023-07-19T18:42:18.362Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:42:18.362Z] ---> Running in 67376bca4bd7 [2023-07-19T18:42:18.362Z] Removing intermediate container 67376bca4bd7 [2023-07-19T18:42:18.362Z] ---> 1c4709baa724 [2023-07-19T18:42:18.362Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T18:42:18.362Z] ---> Running in cd2d08f91571 [2023-07-19T18:42:18.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:42:18.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:42:19.138Z] OK: 265 MiB in 53 packages [2023-07-19T18:42:19.396Z] Removing intermediate container cd2d08f91571 [2023-07-19T18:42:19.396Z] ---> 9f08114b949b [2023-07-19T18:42:19.396Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T18:42:19.655Z] ---> 4c7cf6eddf3a [2023-07-19T18:42:19.655Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:42:19.655Z] ---> Running in b934436bc37c [2023-07-19T18:43:15.983Z] Removing intermediate container b934436bc37c [2023-07-19T18:43:15.983Z] ---> 59e5611c4577 [2023-07-19T18:43:15.983Z] Step 9/10 : COPY . . [2023-07-19T18:43:15.983Z] ---> 26925f73acdd [2023-07-19T18:43:15.983Z] Step 10/10 : RUN ${MAKE} [2023-07-19T18:43:15.983Z] ---> Running in 26e2ea22ea12 [2023-07-19T18:43:15.983Z] noop [2023-07-19T18:43:15.983Z] Removing intermediate container 26e2ea22ea12 [2023-07-19T18:43:15.983Z] ---> 4c25055e07c9 [2023-07-19T18:43:15.983Z] Successfully built 4c25055e07c9 [2023-07-19T18:43:15.983Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:43:16.293Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T18:43:16.293Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:43:16.357Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:43:16.383Z] $ 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 [2023-07-19T18:43:16.708Z] $ docker top 521458fef90d7ecb05c01f2d21e33873bec7e8763c404e1099aef8b2aa1cc7bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:43:17.052Z] + go version [2023-07-19T18:43:17.052Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T18:43:17.064Z] $ docker stop --time=1 521458fef90d7ecb05c01f2d21e33873bec7e8763c404e1099aef8b2aa1cc7bf [2023-07-19T18:43:18.387Z] $ docker rm -f --volumes 521458fef90d7ecb05c01f2d21e33873bec7e8763c404e1099aef8b2aa1cc7bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:43:18.802Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T18:43:18.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:43:18.879Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:43:18.913Z] $ 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 [2023-07-19T18:43:19.238Z] $ docker top dc2e508e8d43c0e6d726bbffcb2d7842685af8e8dbeb790c3f8844653b9d7f47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:43:19.585Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-19T18:43:19.883Z] + make test [2023-07-19T18:43:19.883Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T18:43:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T18:43:40.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements [2023-07-19T18:43:40.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T18:43:40.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements [2023-07-19T18:43:40.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T18:43:40.496Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 70.6% of statements [2023-07-19T18:43:40.755Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-19T18:43:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T18:43:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T18:43:41.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T18:43:43.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.3% of statements [2023-07-19T18:43:43.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements [2023-07-19T18:43:43.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.109s coverage: 89.2% of statements [2023-07-19T18:43:43.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.6% of statements [2023-07-19T18:43:52.334Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1564 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-07-19T18:43:52.347Z] Running in /w/workspace/device-sdk-go/235 [Pipeline] { [Pipeline] checkout [2023-07-19T18:43:52.381Z] The recommended git tool is: git [2023-07-19T18:43:57.506Z] using credential edgex-jenkins-ssh [2023-07-19T18:43:57.522Z] Cloning the remote Git repository [2023-07-19T18:43:57.575Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:43:57.681Z] > git init /w/workspace/device-sdk-go/235 # timeout=10 [2023-07-19T18:43:57.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:43:57.831Z] > git --version # timeout=10 [2023-07-19T18:43:57.855Z] > git --version # 'git version 2.25.1' [2023-07-19T18:43:57.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:43:58.014Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T18:43:59.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T18:43:59.871Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T18:44:00.731Z] Avoid second fetch [2023-07-19T18:44:00.731Z] Checking out Revision d74039b1e75348ec690936aee1c1bcbaac678fee (main) [2023-07-19T18:44:00.748Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T18:44:00.812Z] > git checkout -f d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 [2023-07-19T18:44:01.307Z] Commit message: "test: Add URI test files (#1481)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:44:02.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T18:44:02.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:44:02.129Z] Dload Upload Total Spent Left Speed [2023-07-19T18:44:02.129Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2023-07-19T18:44:02.719Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T18:44:03.047Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-19T18:44:03.047Z] + sudo tee /etc/docker/daemon.new [2023-07-19T18:44:03.047Z] { [2023-07-19T18:44:03.047Z] "registry-mirrors": [ [2023-07-19T18:44:03.047Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T18:44:03.047Z] ], [2023-07-19T18:44:03.047Z] "bip": "10.250.0.254/24", [2023-07-19T18:44:03.047Z] "hosts": [ [2023-07-19T18:44:03.048Z] "tcp://0.0.0.0:5555", [2023-07-19T18:44:03.048Z] "unix:///var/run/docker.sock" [2023-07-19T18:44:03.048Z] ], [2023-07-19T18:44:03.048Z] "mtu": 1458, [2023-07-19T18:44:03.048Z] "selinux-enabled": true, [2023-07-19T18:44:03.048Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T18:44:03.048Z] } [Pipeline] sh [2023-07-19T18:44:03.383Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T18:44:03.729Z] + sudo service docker restart [2023-07-19T18:44:05.776Z] GO111MODULE=on go vet ./... [2023-07-19T18:44:06.709Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T18:44:06.709Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T18:44:06.967Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T18:44:06.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T18:44:06.992Z] $ docker stop --time=1 dc2e508e8d43c0e6d726bbffcb2d7842685af8e8dbeb790c3f8844653b9d7f47 [2023-07-19T18:44:10.549Z] $ docker rm -f --volumes dc2e508e8d43c0e6d726bbffcb2d7842685af8e8dbeb790c3f8844653b9d7f47 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:44:11.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T18:44:11.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-19T18:44:11.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T18:44:12.043Z] + ls -al . [2023-07-19T18:44:12.043Z] total 284 [2023-07-19T18:44:12.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 18:43 . [2023-07-19T18:44:12.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:41 .. [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:41 .dockerignore [2023-07-19T18:44:12.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:41 .git [2023-07-19T18:44:12.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:41 .github [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:41 .gitignore [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:41 .golangci.yml [2023-07-19T18:44:12.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:41 .semver [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:41 CHANGELOG.md [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:41 GOVERNANCE.md [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:41 Jenkinsfile [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:41 LICENSE [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:41 Makefile [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:41 OWNERS.md [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:41 README.md [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 18:42 VERSION [2023-07-19T18:44:12.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:41 bin [2023-07-19T18:44:12.043Z] -rw-r--r-- 1 jenkins jenkins 104689 Jul 19 18:43 coverage.out [2023-07-19T18:44:12.043Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:41 example [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:41 go.mod [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:41 go.sum [2023-07-19T18:44:12.043Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:41 internal [2023-07-19T18:44:12.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:41 openapi [2023-07-19T18:44:12.043Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:41 pkg [2023-07-19T18:44:12.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:41 snap [2023-07-19T18:44:12.043Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:44:12.362Z] + 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=d74039b1e75348ec690936aee1c1bcbaac678fee --label arch=amd64 --label version=3.1.0-dev.6 . [2023-07-19T18:44:12.362Z] Sending build context to Docker daemon 11.02MB [2023-07-19T18:44:12.362Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:44:12.362Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T18:44:12.362Z] ---> 4c25055e07c9 [2023-07-19T18:44:12.362Z] Step 3/23 : ARG MAKE=make build [2023-07-19T18:44:12.621Z] ---> Running in 52840440673c [2023-07-19T18:44:12.621Z] Removing intermediate container 52840440673c [2023-07-19T18:44:12.621Z] ---> 1d30a93f80fc [2023-07-19T18:44:12.621Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T18:44:12.621Z] ---> Running in 18c01d3a2707 [2023-07-19T18:44:12.621Z] Removing intermediate container 18c01d3a2707 [2023-07-19T18:44:12.621Z] ---> fe1eee6537c6 [2023-07-19T18:44:12.621Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:44:12.621Z] ---> Running in cae9b0cc106e [2023-07-19T18:44:12.621Z] Removing intermediate container cae9b0cc106e [2023-07-19T18:44:12.621Z] ---> ae87a2cd6276 [2023-07-19T18:44:12.621Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T18:44:12.879Z] ---> Running in 5a0042ddb612 [2023-07-19T18:44:13.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:44:13.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:44:13.395Z] OK: 265 MiB in 53 packages [2023-07-19T18:44:13.654Z] Removing intermediate container 5a0042ddb612 [2023-07-19T18:44:13.654Z] ---> 922eda89911e [2023-07-19T18:44:13.654Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T18:44:13.912Z] ---> 2aea610a60bc [2023-07-19T18:44:13.912Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:44:13.912Z] ---> Running in fde9eb34ef46 [2023-07-19T18:44:14.479Z] Removing intermediate container fde9eb34ef46 [2023-07-19T18:44:14.479Z] ---> 3165201e4afc [2023-07-19T18:44:14.479Z] Step 9/23 : COPY . . [2023-07-19T18:44:15.045Z] ---> a9204e44c02c [2023-07-19T18:44:15.045Z] Step 10/23 : RUN ${MAKE} [2023-07-19T18:44:15.045Z] ---> Running in cd78d83dab4e [2023-07-19T18:44:15.303Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:44:21.997Z] provisioning config files... [2023-07-19T18:44:22.026Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/235@tmp/config13788835867291433812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:44:22.384Z] ---> docker-login.sh [2023-07-19T18:44:22.384Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:44:22.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:44:22.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:44:22.970Z] Configure a credential helper to remove this warning. See [2023-07-19T18:44:22.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:44:22.970Z] [2023-07-19T18:44:22.970Z] Login Succeeded [2023-07-19T18:44:22.970Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:44:23.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:44:23.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:44:23.512Z] Configure a credential helper to remove this warning. See [2023-07-19T18:44:23.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:44:23.512Z] [2023-07-19T18:44:23.512Z] Login Succeeded [2023-07-19T18:44:23.512Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:44:23.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:44:23.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:44:23.785Z] Configure a credential helper to remove this warning. See [2023-07-19T18:44:23.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:44:23.785Z] [2023-07-19T18:44:23.785Z] Login Succeeded [2023-07-19T18:44:23.785Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:44:24.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:44:24.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:44:24.057Z] Configure a credential helper to remove this warning. See [2023-07-19T18:44:24.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:44:24.057Z] [2023-07-19T18:44:24.057Z] Login Succeeded [2023-07-19T18:44:24.057Z] docker.io [2023-07-19T18:44:24.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:44:24.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:44:24.595Z] Configure a credential helper to remove this warning. See [2023-07-19T18:44:24.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:44:24.595Z] [2023-07-19T18:44:24.595Z] Login Succeeded [2023-07-19T18:44:24.595Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:44:24.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T18:44:24.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:44:24.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:44:24.909Z] ========================================================= [2023-07-19T18:44:24.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T18:44:24.909Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:44:25.268Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T18:44:25.540Z] Sending build context to Docker daemon 5.809MB [2023-07-19T18:44:25.540Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:44:25.540Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T18:44:26.960Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T18:44:26.960Z] edb6bdbacee9: Pulling fs layer [2023-07-19T18:44:26.960Z] 5f9638ab2659: Pulling fs layer [2023-07-19T18:44:26.960Z] 8d51d6327a98: Pulling fs layer [2023-07-19T18:44:26.960Z] 8b374f2dd631: Pulling fs layer [2023-07-19T18:44:26.960Z] ec14aa9079de: Pulling fs layer [2023-07-19T18:44:26.960Z] 2f466654f4bb: Pulling fs layer [2023-07-19T18:44:26.960Z] 554e91adad29: Pulling fs layer [2023-07-19T18:44:26.960Z] ec14aa9079de: Waiting [2023-07-19T18:44:26.960Z] 2f466654f4bb: Waiting [2023-07-19T18:44:26.960Z] 554e91adad29: Waiting [2023-07-19T18:44:26.960Z] 8b374f2dd631: Waiting [2023-07-19T18:44:26.960Z] 5f9638ab2659: Download complete [2023-07-19T18:44:26.960Z] 8b374f2dd631: Verifying Checksum [2023-07-19T18:44:26.960Z] 8b374f2dd631: Download complete [2023-07-19T18:44:26.960Z] ec14aa9079de: Verifying Checksum [2023-07-19T18:44:26.960Z] ec14aa9079de: Download complete [2023-07-19T18:44:26.960Z] edb6bdbacee9: Verifying Checksum [2023-07-19T18:44:27.933Z] edb6bdbacee9: Pull complete [2023-07-19T18:44:28.205Z] 554e91adad29: Verifying Checksum [2023-07-19T18:44:28.206Z] 554e91adad29: Download complete [2023-07-19T18:44:28.476Z] 5f9638ab2659: Pull complete [2023-07-19T18:44:29.451Z] 8d51d6327a98: Verifying Checksum [2023-07-19T18:44:29.451Z] 8d51d6327a98: Download complete [2023-07-19T18:44:29.451Z] 2f466654f4bb: Verifying Checksum [2023-07-19T18:44:29.451Z] 2f466654f4bb: Download complete [2023-07-19T18:44:37.243Z] Removing intermediate container cd78d83dab4e [2023-07-19T18:44:37.244Z] ---> 1a6a89e752d0 [2023-07-19T18:44:37.244Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T18:44:37.244Z] 3.17: Pulling from library/alpine [2023-07-19T18:44:37.244Z] 4db1b89c0bd1: Already exists [2023-07-19T18:44:37.244Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T18:44:37.244Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T18:44:37.244Z] ---> 1f73a9d63274 [2023-07-19T18:44:37.244Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T18:44:37.244Z] ---> Running in 886a27f783f1 [2023-07-19T18:44:37.244Z] Removing intermediate container 886a27f783f1 [2023-07-19T18:44:37.244Z] ---> 335cc4910107 [2023-07-19T18:44:37.244Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T18:44:37.244Z] ---> Running in 20b90b38aad5 [2023-07-19T18:44:37.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:44:37.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:44:37.244Z] OK: 7 MiB in 15 packages [2023-07-19T18:44:37.244Z] Removing intermediate container 20b90b38aad5 [2023-07-19T18:44:37.244Z] ---> ee0feb5d6d94 [2023-07-19T18:44:37.244Z] Step 14/23 : WORKDIR / [2023-07-19T18:44:37.244Z] ---> Running in 192c05ce3ec0 [2023-07-19T18:44:37.244Z] Removing intermediate container 192c05ce3ec0 [2023-07-19T18:44:37.244Z] ---> 217e0c0554fe [2023-07-19T18:44:37.244Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T18:44:37.244Z] ---> 6bef347937e9 [2023-07-19T18:44:37.244Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T18:44:37.244Z] ---> 39cb71cd7f93 [2023-07-19T18:44:37.244Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T18:44:37.501Z] ---> 5bf05e7d8dbe [2023-07-19T18:44:37.501Z] Step 18/23 : EXPOSE 59999 [2023-07-19T18:44:37.501Z] ---> Running in c498265aad73 [2023-07-19T18:44:37.759Z] Removing intermediate container c498265aad73 [2023-07-19T18:44:37.759Z] ---> 4e167f21fd0b [2023-07-19T18:44:37.759Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T18:44:37.759Z] ---> Running in 0671f2ecd216 [2023-07-19T18:44:37.760Z] Removing intermediate container 0671f2ecd216 [2023-07-19T18:44:37.760Z] ---> 90cfda4ef33b [2023-07-19T18:44:37.760Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T18:44:37.760Z] ---> Running in de1ecc81c4f5 [2023-07-19T18:44:37.760Z] Removing intermediate container de1ecc81c4f5 [2023-07-19T18:44:37.760Z] ---> 85996132bb88 [2023-07-19T18:44:37.760Z] Step 21/23 : LABEL arch=amd64 [2023-07-19T18:44:37.760Z] ---> Running in 91c1fd780e3e [2023-07-19T18:44:38.019Z] Removing intermediate container 91c1fd780e3e [2023-07-19T18:44:38.019Z] ---> 48fd7d2122f4 [2023-07-19T18:44:38.019Z] Step 22/23 : LABEL git_sha=d74039b1e75348ec690936aee1c1bcbaac678fee [2023-07-19T18:44:38.019Z] ---> Running in 8018474296a4 [2023-07-19T18:44:38.019Z] Removing intermediate container 8018474296a4 [2023-07-19T18:44:38.019Z] ---> 31df51ed801e [2023-07-19T18:44:38.019Z] Step 23/23 : LABEL version=3.1.0-dev.6 [2023-07-19T18:44:38.019Z] ---> Running in 32e2185e2564 [2023-07-19T18:44:38.019Z] Removing intermediate container 32e2185e2564 [2023-07-19T18:44:38.019Z] ---> 8ecdd6fb8dc0 [2023-07-19T18:44:38.019Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T18:44:38.019Z] Successfully built 8ecdd6fb8dc0 [2023-07-19T18:44:38.019Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:44:38.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:44:38.418Z] [2023-07-19T18:44:38.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:44:38.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:44:38.722Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T18:44:38.722Z] 5eb5b503b376: Pulling fs layer [2023-07-19T18:44:38.722Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T18:44:38.722Z] ec43610c2a17: Pulling fs layer [2023-07-19T18:44:38.722Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T18:44:38.722Z] 33b1e0a273af: Pulling fs layer [2023-07-19T18:44:38.722Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T18:44:38.722Z] 2f39f015ded8: Pulling fs layer [2023-07-19T18:44:38.722Z] 3a2ae6a8a46f: Waiting [2023-07-19T18:44:38.722Z] 33b1e0a273af: Waiting [2023-07-19T18:44:38.722Z] 5d3b04190fa2: Waiting [2023-07-19T18:44:38.722Z] 2f39f015ded8: Waiting [2023-07-19T18:44:38.722Z] 5c69ac0246d0: Verifying Checksum [2023-07-19T18:44:38.722Z] 5c69ac0246d0: Download complete [2023-07-19T18:44:38.722Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T18:44:38.722Z] 3a2ae6a8a46f: Download complete [2023-07-19T18:44:38.722Z] 33b1e0a273af: Verifying Checksum [2023-07-19T18:44:38.722Z] 33b1e0a273af: Download complete [2023-07-19T18:44:38.722Z] 5d3b04190fa2: Verifying Checksum [2023-07-19T18:44:38.722Z] 5d3b04190fa2: Download complete [2023-07-19T18:44:38.722Z] ec43610c2a17: Download complete [2023-07-19T18:44:38.981Z] 5eb5b503b376: Verifying Checksum [2023-07-19T18:44:38.981Z] 5eb5b503b376: Download complete [2023-07-19T18:44:39.548Z] 2f39f015ded8: Download complete [2023-07-19T18:44:40.114Z] 5eb5b503b376: Pull complete [2023-07-19T18:44:40.372Z] 5c69ac0246d0: Pull complete [2023-07-19T18:44:40.630Z] ec43610c2a17: Pull complete [2023-07-19T18:44:40.630Z] 3a2ae6a8a46f: Pull complete [2023-07-19T18:44:40.887Z] 33b1e0a273af: Pull complete [2023-07-19T18:44:40.887Z] 5d3b04190fa2: Pull complete [2023-07-19T18:44:41.807Z] 8d51d6327a98: Pull complete [2023-07-19T18:44:41.807Z] 8b374f2dd631: Pull complete [2023-07-19T18:44:41.807Z] ec14aa9079de: Pull complete [2023-07-19T18:44:45.064Z] 2f39f015ded8: Pull complete [2023-07-19T18:44:45.064Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T18:44:45.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:44:45.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:44:45.151Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:44:45.182Z] $ 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 [2023-07-19T18:44:47.173Z] 2f466654f4bb: Pull complete [2023-07-19T18:44:49.868Z] 554e91adad29: Pull complete [2023-07-19T18:44:49.868Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T18:44:49.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T18:44:49.868Z] ---> 1e15ea492957 [2023-07-19T18:44:49.868Z] Step 3/10 : ARG MAKE=make build [2023-07-19T18:44:50.771Z] $ docker top 4fff45f0104760fafb2280a2fd48c84242f083c02d2357b4734cc10a7efbdaa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:44:51.145Z] ---> job-cost.sh [2023-07-19T18:44:51.145Z] lf-activate-venv: SKIPPING [2023-07-19T18:44:51.145Z] INFO: No Stack... [2023-07-19T18:44:51.285Z] ---> Running in bc0e1bd06b90 [2023-07-19T18:44:51.404Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T18:44:51.556Z] Removing intermediate container bc0e1bd06b90 [2023-07-19T18:44:51.556Z] ---> 5c8d463e9beb [2023-07-19T18:44:51.556Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T18:44:51.556Z] ---> Running in ffd43544cb21 [2023-07-19T18:44:51.664Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T18:44:51.948Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-07-19T18:44:51.948Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T18:44:51.961Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [2023-07-19T18:44:51.966Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] did not exist. Created. [2023-07-19T18:44:51.966Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T18:44:52.262Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T18:44:52.294Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T18:44:52.301Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T18:44:52.321Z] $ docker stop --time=1 4fff45f0104760fafb2280a2fd48c84242f083c02d2357b4734cc10a7efbdaa1 [2023-07-19T18:44:53.474Z] $ docker rm -f --volumes 4fff45f0104760fafb2280a2fd48c84242f083c02d2357b4734cc10a7efbdaa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T18:44:54.143Z] Removing intermediate container ffd43544cb21 [2023-07-19T18:44:54.143Z] ---> 4790ec8520b1 [2023-07-19T18:44:54.143Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:44:54.143Z] ---> Running in 9ffdfbf15760 [2023-07-19T18:44:54.411Z] Removing intermediate container 9ffdfbf15760 [2023-07-19T18:44:54.411Z] ---> f2fa567d47bc [2023-07-19T18:44:54.411Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T18:44:54.411Z] ---> Running in ced7fe34a936 [2023-07-19T18:44:55.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:44:56.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:44:57.309Z] OK: 263 MiB in 53 packages [2023-07-19T18:44:58.273Z] Removing intermediate container ced7fe34a936 [2023-07-19T18:44:58.273Z] ---> 5b964b01cae7 [2023-07-19T18:44:58.273Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T18:44:58.543Z] ---> c723b8909a94 [2023-07-19T18:44:58.543Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:44:58.812Z] ---> Running in e8628a2c50fd [2023-07-19T18:46:06.731Z] Removing intermediate container e8628a2c50fd [2023-07-19T18:46:06.731Z] ---> 96deb1d9633d [2023-07-19T18:46:06.731Z] Step 9/10 : COPY . . [2023-07-19T18:46:06.731Z] ---> 87ceab3c977b [2023-07-19T18:46:06.731Z] Step 10/10 : RUN ${MAKE} [2023-07-19T18:46:06.731Z] ---> Running in b052bc6d782d [2023-07-19T18:46:06.731Z] noop [2023-07-19T18:46:06.731Z] Removing intermediate container b052bc6d782d [2023-07-19T18:46:06.731Z] ---> 486561dbb842 [2023-07-19T18:46:06.731Z] Successfully built 486561dbb842 [2023-07-19T18:46:06.731Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:46:07.088Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T18:46:07.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:46:07.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container [2023-07-19T18:46:07.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/235 -v /w/workspace/device-sdk-go/235:/w/workspace/device-sdk-go/235:rw,z -v /w/workspace/device-sdk-go/235@tmp:/w/workspace/device-sdk-go/235@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 [2023-07-19T18:46:08.602Z] $ docker top 0d2b794521cbcd84a47bb4f34382178d4e9bea66b12f72e74db8fb86a2022081 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:46:09.468Z] + go version [2023-07-19T18:46:09.468Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T18:46:09.490Z] $ docker stop --time=1 0d2b794521cbcd84a47bb4f34382178d4e9bea66b12f72e74db8fb86a2022081 [2023-07-19T18:46:11.169Z] $ docker rm -f --volumes 0d2b794521cbcd84a47bb4f34382178d4e9bea66b12f72e74db8fb86a2022081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:46:11.728Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T18:46:11.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:46:11.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container [2023-07-19T18:46:11.977Z] $ 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/235 -v /w/workspace/device-sdk-go/235:/w/workspace/device-sdk-go/235:rw,z -v /w/workspace/device-sdk-go/235@tmp:/w/workspace/device-sdk-go/235@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 [2023-07-19T18:46:13.289Z] $ docker top 63e5378586a2b281b9e20eabaa39ce6eb31a627c1ca1a36d29a6b1186072ce3b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:46:14.126Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/235 [Pipeline] fileExists [Pipeline] sh [2023-07-19T18:46:14.783Z] + make test [2023-07-19T18:46:14.783Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T18:47:01.671Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T18:49:23.389Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T18:49:23.389Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T18:49:23.389Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T18:49:23.389Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T18:49:23.389Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T18:49:35.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements [2023-07-19T18:49:39.206Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.287s coverage: 80.2% of statements [2023-07-19T18:49:54.209Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T18:49:54.209Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T18:49:54.209Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.386s coverage: 86.0% of statements [2023-07-19T18:49:59.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T18:49:59.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.373s coverage: 70.6% of statements [2023-07-19T18:50:04.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-19T18:50:06.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T18:50:06.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T18:50:07.626Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.316s coverage: 14.3% of statements [2023-07-19T18:50:07.626Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.456s coverage: 68.5% of statements [2023-07-19T18:50:10.973Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.473s coverage: 89.2% of statements [2023-07-19T18:50:11.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T18:50:12.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.263s coverage: 5.6% of statements [2023-07-19T18:50:12.805Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T18:50:12.805Z] GO111MODULE=on go vet ./... [2023-07-19T18:52:49.562Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T18:52:49.562Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T18:52:49.562Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T18:52:49.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T18:52:49.861Z] $ docker stop --time=1 63e5378586a2b281b9e20eabaa39ce6eb31a627c1ca1a36d29a6b1186072ce3b [2023-07-19T18:52:51.823Z] $ docker rm -f --volumes 63e5378586a2b281b9e20eabaa39ce6eb31a627c1ca1a36d29a6b1186072ce3b [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:52:53.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T18:52:53.572Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T18:52:54.163Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:52:54.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T18:52:54.865Z] + ls -al . [2023-07-19T18:52:54.865Z] total 280 [2023-07-19T18:52:54.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:46 . [2023-07-19T18:52:54.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:43 .. [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:44 .dockerignore [2023-07-19T18:52:54.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:44 .git [2023-07-19T18:52:54.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:44 .github [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:44 .gitignore [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:44 .golangci.yml [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:44 CHANGELOG.md [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:44 GOVERNANCE.md [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:44 Jenkinsfile [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:44 LICENSE [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:44 Makefile [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:44 OWNERS.md [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:44 README.md [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 18:42 VERSION [2023-07-19T18:52:54.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:44 bin [2023-07-19T18:52:54.865Z] -rw-r--r-- 1 jenkins jenkins 104685 Jul 19 18:50 coverage.out [2023-07-19T18:52:54.865Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:44 example [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:44 go.mod [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:44 go.sum [2023-07-19T18:52:54.865Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:44 internal [2023-07-19T18:52:54.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:44 openapi [2023-07-19T18:52:54.865Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:44 pkg [2023-07-19T18:52:54.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:44 snap [2023-07-19T18:52:54.865Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:52:55.204Z] + 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=d74039b1e75348ec690936aee1c1bcbaac678fee --label arch=arm64 --label version=3.1.0-dev.6 . [2023-07-19T18:52:55.479Z] Sending build context to Docker daemon 5.915MB [2023-07-19T18:52:55.479Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:52:55.479Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T18:52:55.479Z] ---> 486561dbb842 [2023-07-19T18:52:55.479Z] Step 3/23 : ARG MAKE=make build [2023-07-19T18:52:55.754Z] ---> Running in fd2a24623eb6 [2023-07-19T18:52:56.034Z] Removing intermediate container fd2a24623eb6 [2023-07-19T18:52:56.034Z] ---> efebeb950093 [2023-07-19T18:52:56.034Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T18:52:56.034Z] ---> Running in 5f81425aac48 [2023-07-19T18:52:56.623Z] Removing intermediate container 5f81425aac48 [2023-07-19T18:52:56.623Z] ---> 51e3b40312ca [2023-07-19T18:52:56.623Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:52:56.623Z] ---> Running in aaf44f01b8a7 [2023-07-19T18:52:56.892Z] Removing intermediate container aaf44f01b8a7 [2023-07-19T18:52:56.892Z] ---> 3739328a910c [2023-07-19T18:52:56.892Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T18:52:56.892Z] ---> Running in cdeb49edd108 [2023-07-19T18:52:57.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:52:58.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:52:59.857Z] OK: 263 MiB in 53 packages [2023-07-19T18:53:01.804Z] Removing intermediate container cdeb49edd108 [2023-07-19T18:53:01.804Z] ---> 4a130031a2d4 [2023-07-19T18:53:01.804Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T18:53:02.398Z] ---> d03ed9f483d6 [2023-07-19T18:53:02.398Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:53:02.398Z] ---> Running in c353a9e2a1ae [2023-07-19T18:53:04.353Z] Removing intermediate container c353a9e2a1ae [2023-07-19T18:53:04.353Z] ---> e80795159d52 [2023-07-19T18:53:04.353Z] Step 9/23 : COPY . . [2023-07-19T18:53:05.317Z] ---> c4d702bf9ace [2023-07-19T18:53:05.318Z] Step 10/23 : RUN ${MAKE} [2023-07-19T18:53:05.585Z] ---> Running in 1b38ebaad86b [2023-07-19T18:53:06.626Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-19T18:55:43.492Z] Removing intermediate container 1b38ebaad86b [2023-07-19T18:55:43.492Z] ---> d78682c63bf6 [2023-07-19T18:55:43.492Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T18:55:43.492Z] 3.17: Pulling from library/alpine [2023-07-19T18:55:43.492Z] edb6bdbacee9: Already exists [2023-07-19T18:55:43.492Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T18:55:43.492Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T18:55:43.492Z] ---> 779605e5fbc0 [2023-07-19T18:55:43.492Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T18:55:43.492Z] ---> Running in 3d9334e1c097 [2023-07-19T18:55:43.492Z] Removing intermediate container 3d9334e1c097 [2023-07-19T18:55:43.492Z] ---> e177384659ec [2023-07-19T18:55:43.492Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T18:55:43.492Z] ---> Running in bf3a3815d96a [2023-07-19T18:55:43.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:55:43.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:55:43.492Z] OK: 7 MiB in 15 packages [2023-07-19T18:55:43.492Z] Removing intermediate container bf3a3815d96a [2023-07-19T18:55:43.492Z] ---> fe7fc49ebb5f [2023-07-19T18:55:43.492Z] Step 14/23 : WORKDIR / [2023-07-19T18:55:43.492Z] ---> Running in afb8a0fa65fd [2023-07-19T18:55:43.492Z] Removing intermediate container afb8a0fa65fd [2023-07-19T18:55:43.492Z] ---> 2f16a0b21860 [2023-07-19T18:55:43.493Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T18:55:43.493Z] ---> 1d55fc2c51e2 [2023-07-19T18:55:43.493Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T18:55:43.493Z] ---> 53f69f07f8e5 [2023-07-19T18:55:43.493Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T18:55:43.493Z] ---> 5a24bbec177d [2023-07-19T18:55:43.493Z] Step 18/23 : EXPOSE 59999 [2023-07-19T18:55:43.493Z] ---> Running in f430a6a35904 [2023-07-19T18:55:43.493Z] Removing intermediate container f430a6a35904 [2023-07-19T18:55:43.493Z] ---> 97a7f02f18fe [2023-07-19T18:55:43.493Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T18:55:43.493Z] ---> Running in fc701c575c59 [2023-07-19T18:55:43.493Z] Removing intermediate container fc701c575c59 [2023-07-19T18:55:43.493Z] ---> 866b340a81b5 [2023-07-19T18:55:43.493Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T18:55:43.493Z] ---> Running in 8111508b7082 [2023-07-19T18:55:43.493Z] Removing intermediate container 8111508b7082 [2023-07-19T18:55:43.493Z] ---> 23741898e758 [2023-07-19T18:55:43.493Z] Step 21/23 : LABEL arch=arm64 [2023-07-19T18:55:43.493Z] ---> Running in 5a4dddafaf1d [2023-07-19T18:55:43.493Z] Removing intermediate container 5a4dddafaf1d [2023-07-19T18:55:43.493Z] ---> f75467f1f6c8 [2023-07-19T18:55:43.493Z] Step 22/23 : LABEL git_sha=d74039b1e75348ec690936aee1c1bcbaac678fee [2023-07-19T18:55:43.493Z] ---> Running in 32f8bcb0dae8 [2023-07-19T18:55:43.493Z] Removing intermediate container 32f8bcb0dae8 [2023-07-19T18:55:43.493Z] ---> 627cc584e1c6 [2023-07-19T18:55:43.493Z] Step 23/23 : LABEL version=3.1.0-dev.6 [2023-07-19T18:55:43.493Z] ---> Running in 08ccc7def644 [2023-07-19T18:55:43.493Z] Removing intermediate container 08ccc7def644 [2023-07-19T18:55:43.493Z] ---> 4e1700bb4026 [2023-07-19T18:55:43.493Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T18:55:43.493Z] Successfully built 4e1700bb4026 [2023-07-19T18:55:43.493Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:55:43.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:55:43.931Z] [2023-07-19T18:55:43.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:55:44.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:55:44.267Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T18:55:44.267Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T18:55:44.267Z] 04944245beec: Pulling fs layer [2023-07-19T18:55:44.267Z] 699f458cf7ca: Pulling fs layer [2023-07-19T18:55:44.267Z] 765212b225bb: Pulling fs layer [2023-07-19T18:55:44.267Z] f23df028b6ca: Pulling fs layer [2023-07-19T18:55:44.267Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T18:55:44.267Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T18:55:44.267Z] f23df028b6ca: Waiting [2023-07-19T18:55:44.267Z] 2437ff75d9bd: Waiting [2023-07-19T18:55:44.267Z] 765212b225bb: Waiting [2023-07-19T18:55:44.535Z] 04944245beec: Verifying Checksum [2023-07-19T18:55:44.535Z] 04944245beec: Download complete [2023-07-19T18:55:44.535Z] 765212b225bb: Verifying Checksum [2023-07-19T18:55:44.535Z] 765212b225bb: Download complete [2023-07-19T18:55:44.535Z] f23df028b6ca: Download complete [2023-07-19T18:55:44.535Z] d65c8cfc05b1: Download complete [2023-07-19T18:55:44.803Z] 699f458cf7ca: Verifying Checksum [2023-07-19T18:55:45.071Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T18:55:45.071Z] 8998bd30e6a1: Download complete [2023-07-19T18:55:47.669Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T18:55:47.669Z] 2437ff75d9bd: Download complete [2023-07-19T18:55:49.075Z] 8998bd30e6a1: Pull complete [2023-07-19T18:55:49.341Z] 04944245beec: Pull complete [2023-07-19T18:55:50.751Z] 699f458cf7ca: Pull complete [2023-07-19T18:55:51.016Z] 765212b225bb: Pull complete [2023-07-19T18:55:51.600Z] f23df028b6ca: Pull complete [2023-07-19T18:55:51.865Z] d65c8cfc05b1: Pull complete [2023-07-19T18:56:06.864Z] 2437ff75d9bd: Pull complete [2023-07-19T18:56:06.864Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T18:56:06.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:56:06.864Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:56:07.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container [2023-07-19T18:56:07.141Z] $ 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/235 -v /w/workspace/device-sdk-go/235:/w/workspace/device-sdk-go/235:rw,z -v /w/workspace/device-sdk-go/235@tmp:/w/workspace/device-sdk-go/235@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 [2023-07-19T18:56:12.478Z] $ docker top 81c6fdbbee5a318a3d46ae7a4eff3fd82fdef417c65884b18094a7f33052c814 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:56:12.988Z] ---> job-cost.sh [2023-07-19T18:56:13.256Z] lf-activate-venv: SKIPPING [2023-07-19T18:56:13.256Z] INFO: No Stack... [2023-07-19T18:56:13.839Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T18:56:14.421Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T18:56:14.741Z] + cat /w/workspace/device-sdk-go/235/archives/cost.csv [2023-07-19T18:56:14.741Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T18:56:14.806Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [2023-07-19T18:56:14.815Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] did not exist. Created. [2023-07-19T18:56:14.815Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T18:56:15.159Z] /w/workspace/device-sdk-go/235@tmp/durable-647ab624/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T18:56:15.494Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T18:56:15.520Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T18:56:15.604Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T18:56:15.612Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T18:56:15.631Z] $ docker stop --time=1 81c6fdbbee5a318a3d46ae7a4eff3fd82fdef417c65884b18094a7f33052c814 [2023-07-19T18:56:17.117Z] $ docker rm -f --volumes 81c6fdbbee5a318a3d46ae7a4eff3fd82fdef417c65884b18094a7f33052c814 [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 [2023-07-19T18:56:17.595Z] provisioning config files... [2023-07-19T18:56:17.602Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18081143922178310095tmp [Pipeline] { [Pipeline] sh [2023-07-19T18:56:17.900Z] + set +x [2023-07-19T18:56:17.900Z] + curl -s https://codecov.io/bash [2023-07-19T18:56:17.900Z] + bash -s -- [2023-07-19T18:56:17.900Z] [2023-07-19T18:56:17.900Z] _____ _ [2023-07-19T18:56:17.900Z] / ____| | | [2023-07-19T18:56:17.900Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T18:56:17.900Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T18:56:17.900Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T18:56:17.900Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T18:56:17.900Z] Bash-1.0.6 [2023-07-19T18:56:17.900Z] [2023-07-19T18:56:17.900Z] [2023-07-19T18:56:17.900Z] ==> git version 2.25.1 found [2023-07-19T18:56:17.900Z] ==> 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 [2023-07-19T18:56:17.901Z] Release-Date: 2020-01-08 [2023-07-19T18:56:17.901Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-19T18:56:17.901Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T18:56:17.901Z] ==> Jenkins CI detected. [2023-07-19T18:56:17.901Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-07-19T18:56:17.901Z] project root: . [2023-07-19T18:56:17.901Z] --> token set from env [2023-07-19T18:56:17.901Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T18:56:17.901Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T18:56:17.901Z] ==> Python coveragepy not found [2023-07-19T18:56:17.901Z] ==> Searching for coverage reports in: [2023-07-19T18:56:17.901Z] + . [2023-07-19T18:56:17.901Z] -> Found 1 reports [2023-07-19T18:56:17.901Z] ==> Detecting git/mercurial file structure [2023-07-19T18:56:17.901Z] ==> Reading reports [2023-07-19T18:56:17.901Z] + ./coverage.out bytes=104685 [2023-07-19T18:56:17.901Z] ==> Appending adjustments [2023-07-19T18:56:17.901Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T18:56:18.160Z] + Found adjustments [2023-07-19T18:56:18.160Z] ==> Gzipping contents [2023-07-19T18:56:18.160Z] 16K /tmp/codecov.bOvPY8.gz [2023-07-19T18:56:18.160Z] ==> Uploading reports [2023-07-19T18:56:18.160Z] url: https://codecov.io [2023-07-19T18:56:18.160Z] query: branch=main&commit=d74039b1e75348ec690936aee1c1bcbaac678fee&build=235&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F235%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-19T18:56:18.160Z] -> Pinging Codecov [2023-07-19T18:56:18.160Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=d74039b1e75348ec690936aee1c1bcbaac678fee&build=235&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F235%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-19T18:56:18.420Z] -> Uploading to [2023-07-19T18:56:18.420Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/d74039b1e75348ec690936aee1c1bcbaac678fee/46a8c952-aaec-4654-9376-192cc5bcef5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T185618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58ae72d8714444133d7cefda75e1d620947af94951f70c05898d4c66a2f84b2e [2023-07-19T18:56:18.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:56:18.420Z] Dload Upload Total Spent Left Speed [2023-07-19T18:56:18.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14862 0 0 100 14862 0 77811 --:--:-- --:--:-- --:--:-- 77811 [2023-07-19T18:56:18.679Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] } [2023-07-19T18:56:18.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-19T18:56:18.891Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-19T18:56:18.903Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:56:19.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T18:56:19.205Z] [2023-07-19T18:56:19.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:56:19.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T18:56:19.511Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-19T18:56:19.511Z] df9b9388f04a: Pulling fs layer [2023-07-19T18:56:19.511Z] 52dc419b0ee2: Pulling fs layer [2023-07-19T18:56:19.511Z] 25bc292e5bac: Pulling fs layer [2023-07-19T18:56:19.511Z] 114826534d7a: Pulling fs layer [2023-07-19T18:56:19.511Z] 4657fd5d0bcf: Pulling fs layer [2023-07-19T18:56:19.511Z] 6ad1cebc031e: Pulling fs layer [2023-07-19T18:56:19.511Z] 8a3aa393b2d8: Pulling fs layer [2023-07-19T18:56:19.511Z] 6ad1cebc031e: Waiting [2023-07-19T18:56:19.511Z] 4657fd5d0bcf: Waiting [2023-07-19T18:56:19.511Z] 8a3aa393b2d8: Waiting [2023-07-19T18:56:19.511Z] 114826534d7a: Waiting [2023-07-19T18:56:19.511Z] 25bc292e5bac: Download complete [2023-07-19T18:56:19.511Z] 52dc419b0ee2: Verifying Checksum [2023-07-19T18:56:19.511Z] 52dc419b0ee2: Download complete [2023-07-19T18:56:19.511Z] 4657fd5d0bcf: Verifying Checksum [2023-07-19T18:56:19.511Z] 4657fd5d0bcf: Download complete [2023-07-19T18:56:19.511Z] df9b9388f04a: Verifying Checksum [2023-07-19T18:56:19.511Z] df9b9388f04a: Download complete [2023-07-19T18:56:19.769Z] df9b9388f04a: Pull complete [2023-07-19T18:56:19.769Z] 6ad1cebc031e: Download complete [2023-07-19T18:56:19.769Z] 52dc419b0ee2: Pull complete [2023-07-19T18:56:19.769Z] 25bc292e5bac: Pull complete [2023-07-19T18:56:20.367Z] 114826534d7a: Verifying Checksum [2023-07-19T18:56:20.367Z] 114826534d7a: Download complete [2023-07-19T18:56:20.625Z] 8a3aa393b2d8: Verifying Checksum [2023-07-19T18:56:20.625Z] 8a3aa393b2d8: Download complete [2023-07-19T18:56:23.154Z] 114826534d7a: Pull complete [2023-07-19T18:56:23.154Z] 4657fd5d0bcf: Pull complete [2023-07-19T18:56:23.719Z] 6ad1cebc031e: Pull complete [2023-07-19T18:56:26.250Z] 8a3aa393b2d8: Pull complete [2023-07-19T18:56:26.250Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-19T18:56:26.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T18:56:26.250Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:56:26.333Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:56:26.366Z] $ 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:1.410.4 cat [2023-07-19T18:56:29.976Z] $ docker top a9c6da8adc07f90c8f188616084753c7e96898c149c277994d3f9dff7bc3f5af -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-19T18:56:30.041Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-07-19T18:56:30.319Z] + set -o pipefail [2023-07-19T18:56:30.319Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-07-19T18:56:36.896Z] [2023-07-19T18:56:36.896Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-07-19T18:56:36.896Z] [2023-07-19T18:56:36.896Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4144bc57-5cbd-4ebe-bd0f-0d9717cac9e0 [2023-07-19T18:56:36.896Z] [2023-07-19T18:56:36.896Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-19T18:56:36.896Z] [2023-07-19T18:56:37.834Z] [2023-07-19T18:56:37.834Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-19T18:56:37.834Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-19T18:56:37.834Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-19T18:56:37.844Z] $ docker stop --time=1 a9c6da8adc07f90c8f188616084753c7e96898c149c277994d3f9dff7bc3f5af [2023-07-19T18:56:41.485Z] $ docker rm -f --volumes a9c6da8adc07f90c8f188616084753c7e96898c149c277994d3f9dff7bc3f5af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-07-19T18:56:41.846Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:56:41.855Z] provisioning config files... [2023-07-19T18:56:41.863Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config432259766291791570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:56:42.157Z] --> edgex-publish-swagger.sh [2023-07-19T18:56:42.157Z] === Publish openapi/v3 API === [2023-07-19T18:56:42.157Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-07-19T18:56:42.157Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-07-19T18:56:42.157Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:56:42.157Z] Dload Upload Total Spent Left Speed [2023-07-19T18:56:42.417Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 53440 --:--:-- --:--:-- --:--:-- 53319 100 23674 0 0 100 23674 0 53440 --:--:-- --:--:-- --:--:-- 53319 [2023-07-19T18:56:42.417Z] [2023-07-19T18:56:42.417Z] [Pipeline] } [2023-07-19T18:56:42.424Z] 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 [2023-07-19T18:56:42.799Z] + git log --format=format:%s -1 d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] sh [2023-07-19T18:56:43.089Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T18:56:43.089Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:56:43.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:56:43.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:56:43.471Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:56:43.499Z] $ 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 [2023-07-19T18:56:43.846Z] $ docker top 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 -eo pid,comm [2023-07-19T18:56:43.891Z] 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). [2023-07-19T18:56:43.891Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T18:56:43.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:56:43.927Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:56:44.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:56:44.033Z] $ docker exec 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 ssh-agent [2023-07-19T18:56:44.132Z] SSH_AUTH_SOCK=/tmp/ssh-ydmGRF0pK8tf/agent.33 [2023-07-19T18:56:44.132Z] SSH_AGENT_PID=39 [2023-07-19T18:56:44.137Z] Running ssh-add (command line suppressed) [2023-07-19T18:56:44.247Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17363169882317333540.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17363169882317333540.key) [2023-07-19T18:56:44.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:56:44.546Z] + git semver tag [2023-07-19T18:56:44.805Z] 2023-07-19 18:56:44,712 [run_tag] DEBUG tag force:False [2023-07-19T18:56:44.805Z] 2023-07-19 18:56:44,712 [check_head_tag] DEBUG check head tag [2023-07-19T18:56:44.805Z] 2023-07-19 18:56:44,713 [execute] INFO git cat-file --batch-check [2023-07-19T18:56:44.805Z] 2023-07-19 18:56:44,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-19T18:56:44.805Z] 2023-07-19 18:56:44,717 [execute] INFO git cat-file --batch [2023-07-19T18:56:44.805Z] 2023-07-19 18:56:44,718 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-19T18:56:44.806Z] 2023-07-19 18:56:44,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:56:44.806Z] 2023-07-19 18:56:44,728 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-07-19T18:56:44.806Z] 2023-07-19 18:56:44,728 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-19T18:56:44.806Z] 2023-07-19 18:56:44,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:56:44.806Z] 3.1.0-dev.6 [Pipeline] } [2023-07-19T18:56:44.815Z] $ docker exec --env ******** --env ******** 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 ssh-agent -k [2023-07-19T18:56:44.917Z] unset SSH_AUTH_SOCK; [2023-07-19T18:56:44.917Z] unset SSH_AGENT_PID; [2023-07-19T18:56:44.917Z] echo Agent pid 39 killed; [2023-07-19T18:56:44.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T18:56:45.235Z] + git semver [Pipeline] } [2023-07-19T18:56:45.508Z] $ docker stop --time=1 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 [2023-07-19T18:56:46.764Z] $ docker rm -f --volumes 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:56:47.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T18:56:47.150Z] [2023-07-19T18:56:47.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:56:47.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T18:56:47.440Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-19T18:56:47.440Z] ab5ef0e58194: Pulling fs layer [2023-07-19T18:56:47.440Z] 9712f1f96733: Pulling fs layer [2023-07-19T18:56:47.440Z] 63f879dbbcfc: Pulling fs layer [2023-07-19T18:56:47.440Z] 0d9ebad4ef96: Pulling fs layer [2023-07-19T18:56:47.440Z] e9a5061849ea: Pulling fs layer [2023-07-19T18:56:47.440Z] d747dcd14b5f: Pulling fs layer [2023-07-19T18:56:47.440Z] 2de7ff778b66: Pulling fs layer [2023-07-19T18:56:47.440Z] 2de7ff778b66: Waiting [2023-07-19T18:56:47.440Z] e9a5061849ea: Waiting [2023-07-19T18:56:47.440Z] d747dcd14b5f: Waiting [2023-07-19T18:56:47.440Z] 0d9ebad4ef96: Waiting [2023-07-19T18:56:47.440Z] 9712f1f96733: Verifying Checksum [2023-07-19T18:56:47.440Z] 9712f1f96733: Download complete [2023-07-19T18:56:47.699Z] 63f879dbbcfc: Verifying Checksum [2023-07-19T18:56:47.699Z] 63f879dbbcfc: Download complete [2023-07-19T18:56:47.958Z] e9a5061849ea: Verifying Checksum [2023-07-19T18:56:47.958Z] e9a5061849ea: Download complete [2023-07-19T18:56:47.958Z] d747dcd14b5f: Verifying Checksum [2023-07-19T18:56:47.958Z] d747dcd14b5f: Download complete [2023-07-19T18:56:47.958Z] ab5ef0e58194: Verifying Checksum [2023-07-19T18:56:47.958Z] ab5ef0e58194: Download complete [2023-07-19T18:56:47.958Z] 0d9ebad4ef96: Verifying Checksum [2023-07-19T18:56:47.958Z] 0d9ebad4ef96: Download complete [2023-07-19T18:56:47.958Z] 2de7ff778b66: Verifying Checksum [2023-07-19T18:56:47.958Z] 2de7ff778b66: Download complete [2023-07-19T18:56:50.485Z] ab5ef0e58194: Pull complete [2023-07-19T18:56:50.485Z] 9712f1f96733: Pull complete [2023-07-19T18:56:51.050Z] 63f879dbbcfc: Pull complete [2023-07-19T18:56:54.332Z] 0d9ebad4ef96: Pull complete [2023-07-19T18:56:54.591Z] e9a5061849ea: Pull complete [2023-07-19T18:56:54.591Z] d747dcd14b5f: Pull complete [2023-07-19T18:56:55.526Z] 2de7ff778b66: Pull complete [2023-07-19T18:56:55.526Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-19T18:56:55.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T18:56:55.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:56:55.613Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:56:55.647Z] $ 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 [2023-07-19T18:57:00.178Z] $ docker top 8efc05fa582c0ee02558e84515d655213194cd0fc7d2f75f6903f5e0d63f0dd8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:57:00.246Z] provisioning config files... [2023-07-19T18:57:00.251Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17332455135889575248tmp [2023-07-19T18:57:00.261Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1859170232246348985tmp [2023-07-19T18:57:00.270Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11011376161612208760tmp [Pipeline] { [Pipeline] echo [2023-07-19T18:57:00.285Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:00.566Z] ---> sigul-configuration.sh [2023-07-19T18:57:00.566Z] gpg: directory `/root/.gnupg' created [2023-07-19T18:57:00.566Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-19T18:57:00.566Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-19T18:57:00.566Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-19T18:57:00.566Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-19T18:57:00.566Z] gpg: CAST5 encrypted data [2023-07-19T18:57:00.566Z] gpg: encrypted with 1 passphrase [2023-07-19T18:57:00.566Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-19T18:57:00.856Z] + mkdir /home/jenkins [2023-07-19T18:57:00.856Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-19T18:57:01.144Z] + 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 [2023-07-19T18:57:01.153Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:01.434Z] ---> sigul-install.sh [2023-07-19T18:57:01.435Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-19T18:57:01.718Z] + git tag --list [2023-07-19T18:57:01.718Z] 0.7.1 [2023-07-19T18:57:01.718Z] delhi-tag [2023-07-19T18:57:01.718Z] v1.0.0 [2023-07-19T18:57:01.718Z] v1.1.0 [2023-07-19T18:57:01.718Z] v1.1.1 [2023-07-19T18:57:01.718Z] v1.1.2 [2023-07-19T18:57:01.718Z] v1.2.0 [2023-07-19T18:57:01.718Z] v1.2.1 [2023-07-19T18:57:01.718Z] v1.2.2 [2023-07-19T18:57:01.718Z] v1.2.3 [2023-07-19T18:57:01.718Z] v1.3.0 [2023-07-19T18:57:01.718Z] v1.4.0 [2023-07-19T18:57:01.718Z] v2.0.0 [2023-07-19T18:57:01.718Z] v2.1.0 [2023-07-19T18:57:01.718Z] v2.1.1 [2023-07-19T18:57:01.718Z] v2.2.0 [2023-07-19T18:57:01.718Z] v2.3.0 [2023-07-19T18:57:01.718Z] v2.3.1 [2023-07-19T18:57:01.718Z] v3.0 [2023-07-19T18:57:01.718Z] v3.0.0 [2023-07-19T18:57:01.718Z] v3.0.1-dev.1 [2023-07-19T18:57:01.718Z] v3.1.0-dev.1 [2023-07-19T18:57:01.718Z] v3.1.0-dev.2 [2023-07-19T18:57:01.718Z] v3.1.0-dev.3 [2023-07-19T18:57:01.718Z] v3.1.0-dev.4 [2023-07-19T18:57:01.718Z] v3.1.0-dev.5 [2023-07-19T18:57:01.718Z] v3.1.0-dev.6 [Pipeline] sh [2023-07-19T18:57:02.006Z] + lftools sign git-tag v3.1.0-dev.6 [2023-07-19T18:57:02.575Z] Signing Git tag with Sigul... [2023-07-19T18:57:02.575Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-07-19T18:57:02.843Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:03.125Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-19T18:57:03.132Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-19T18:57:03.149Z] $ docker stop --time=1 8efc05fa582c0ee02558e84515d655213194cd0fc7d2f75f6903f5e0d63f0dd8 [2023-07-19T18:57:04.453Z] $ docker rm -f --volumes 8efc05fa582c0ee02558e84515d655213194cd0fc7d2f75f6903f5e0d63f0dd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-19T18:57:04.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T18:57:04.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:57:05.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:57:05.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:57:05.238Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:57:05.265Z] $ 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 [2023-07-19T18:57:05.585Z] $ docker top ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb -eo pid,comm [2023-07-19T18:57:05.632Z] 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). [2023-07-19T18:57:05.632Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T18:57:05.669Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:57:05.669Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:57:05.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:57:05.783Z] $ docker exec ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb ssh-agent [2023-07-19T18:57:05.886Z] SSH_AUTH_SOCK=/tmp/ssh-JoAqkazHjRvo/agent.32 [2023-07-19T18:57:05.886Z] SSH_AGENT_PID=38 [2023-07-19T18:57:05.891Z] Running ssh-add (command line suppressed) [2023-07-19T18:57:05.989Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1816485964804463390.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1816485964804463390.key) [2023-07-19T18:57:06.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:57:06.290Z] + git semver bump pre [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,484 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,484 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,485 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,485 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,485 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,487 [execute] INFO git cat-file --batch-check [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,493 [execute] INFO git cat-file --batch [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:57:06.548Z] 2023-07-19 18:57:06,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:57:06.548Z] 3.1.0-dev.7 [Pipeline] } [2023-07-19T18:57:06.556Z] $ docker exec --env ******** --env ******** ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb ssh-agent -k [2023-07-19T18:57:06.667Z] unset SSH_AUTH_SOCK; [2023-07-19T18:57:06.667Z] unset SSH_AGENT_PID; [2023-07-19T18:57:06.667Z] echo Agent pid 38 killed; [2023-07-19T18:57:06.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T18:57:06.989Z] + git semver [Pipeline] } [2023-07-19T18:57:07.259Z] $ docker stop --time=1 ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb [2023-07-19T18:57:08.551Z] $ docker rm -f --volumes ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:57:08.894Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T18:57:08.894Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:57:09.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:57:09.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:57:09.270Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:57:09.299Z] $ 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 [2023-07-19T18:57:09.633Z] $ docker top 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 -eo pid,comm [2023-07-19T18:57:09.685Z] 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). [2023-07-19T18:57:09.685Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T18:57:09.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:57:09.722Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:57:09.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:57:09.854Z] $ docker exec 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 ssh-agent [2023-07-19T18:57:09.973Z] SSH_AUTH_SOCK=/tmp/ssh-cIVFLTCaMWr2/agent.32 [2023-07-19T18:57:09.973Z] SSH_AGENT_PID=38 [2023-07-19T18:57:09.978Z] Running ssh-add (command line suppressed) [2023-07-19T18:57:10.090Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4957579264902541101.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4957579264902541101.key) [2023-07-19T18:57:10.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:57:10.391Z] + git semver push [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,577 [run_push] DEBUG push [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,578 [execute] INFO git cat-file --batch-check [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,583 [execute] INFO git rev-list 80d1ba3a63b601aea75225d9a90430bcd4a0acaf -- [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,584 [execute] DEBUG Popen(['git', 'rev-list', '80d1ba3a63b601aea75225d9a90430bcd4a0acaf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,598 [execute] INFO git fetch -v origin [2023-07-19T18:57:10.651Z] 2023-07-19 18:57:10,598 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-19T18:57:11.220Z] 2023-07-19 18:57:11,062 [run_push] DEBUG no remote changes detected [2023-07-19T18:57:11.220Z] 2023-07-19 18:57:11,063 [execute] INFO git push origin semver [2023-07-19T18:57:11.220Z] 2023-07-19 18:57:11,063 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-19T18:57:12.158Z] 2023-07-19 18:57:11,826 [run_push] DEBUG push all version tags [2023-07-19T18:57:12.158Z] 2023-07-19 18:57:11,827 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-19T18:57:12.158Z] 2023-07-19 18:57:11,827 [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) [2023-07-19T18:57:13.098Z] 2023-07-19 18:57:12,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T18:57:13.098Z] 3.1.0-dev.7 [Pipeline] } [2023-07-19T18:57:13.107Z] $ docker exec --env ******** --env ******** 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 ssh-agent -k [2023-07-19T18:57:13.208Z] unset SSH_AUTH_SOCK; [2023-07-19T18:57:13.209Z] unset SSH_AGENT_PID; [2023-07-19T18:57:13.209Z] echo Agent pid 38 killed; [2023-07-19T18:57:13.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T18:57:13.538Z] + git semver [Pipeline] } [2023-07-19T18:57:13.810Z] $ docker stop --time=1 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 [2023-07-19T18:57:15.071Z] $ docker rm -f --volumes 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-19T18:57:15.701Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-07-19T18:57:15.701Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-19T18:57:15.701Z] total 16 [2023-07-19T18:57:15.701Z] drwxr-xr-x 3 root root 4096 Jul 19 18:44 . [2023-07-19T18:57:15.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:57 .. [2023-07-19T18:57:15.701Z] drwxr-xr-x 2 root root 4096 Jul 19 18:44 cost [2023-07-19T18:57:15.701Z] -rw-r--r-- 1 root root 85 Jul 19 18:44 cost.csv [2023-07-19T18:57:15.701Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-19T18:57:15.701Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-19T18:57:15.701Z] total 16 [2023-07-19T18:57:15.701Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:44 . [2023-07-19T18:57:15.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:57 .. [2023-07-19T18:57:15.701Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 18:44 cost [2023-07-19T18:57:15.701Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 19 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:15.989Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:16.844Z] ---> package-listing.sh [2023-07-19T18:57:16.845Z] ++ facter osfamily [2023-07-19T18:57:16.845Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T18:57:17.104Z] + OS_FAMILY=debian [2023-07-19T18:57:17.104Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-07-19T18:57:17.104Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T18:57:17.104Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T18:57:17.104Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T18:57:17.104Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T18:57:17.104Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-19T18:57:17.104Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T18:57:17.104Z] + case "${OS_FAMILY}" in [2023-07-19T18:57:17.104Z] + dpkg -l [2023-07-19T18:57:17.104Z] + grep '^ii' [2023-07-19T18:57:17.104Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T18:57:17.104Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T18:57:17.104Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T18:57:17.104Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-19T18:57:17.104Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-07-19T18:57:17.104Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-07-19T18:57:17.114Z] 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 [2023-07-19T18:57:17.389Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:57:17.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:57:17.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:57:18.024Z] prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container [2023-07-19T18:57:18.053Z] $ 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 [2023-07-19T18:57:18.272Z] $ docker top a12fe7e517a376318f22edce9114ea971dc850c9572214b98062e7e18f62305d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:57:18.607Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T18:57:18.890Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T18:57:19.170Z] + ls /var/log/sa-host [2023-07-19T18:57:19.170Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:57:19.310Z] provisioning config files... [2023-07-19T18:57:19.319Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18311426096378070731tmp [Pipeline] { [Pipeline] echo [2023-07-19T18:57:19.330Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:19.610Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T18:57:19.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:19.948Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T18:57:19.958Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:20.238Z] ---> sudo-logs.sh [2023-07-19T18:57:20.238Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T18:57:20.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:20.631Z] ---> job-cost.sh [2023-07-19T18:57:20.631Z] lf-activate-venv: SKIPPING [2023-07-19T18:57:20.631Z] DEBUG: total: 0.2199999988079071 [2023-07-19T18:57:20.631Z] INFO: Retrieving Stack Cost... [2023-07-19T18:57:20.908Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T18:57:21.179Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T18:57:21.470Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:57:21.770Z] ---> logs-deploy.sh [2023-07-19T18:57:21.770Z] lf-activate-venv: SKIPPING [2023-07-19T18:57:21.770Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/235 [2023-07-19T18:57:21.771Z] INFO: archiving workspace using pattern(s): [2023-07-19T18:57:22.709Z] Archives upload complete. [2023-07-19T18:57:22.709Z] INFO: archiving logs to Nexus