Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 50dd63d392f370c86a33393d79501a04f0565adc 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-ssh15450218525481752044.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14389907623511224602.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13210884387444753622.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1176478827358153532.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-ssh16735066655144537296.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-216 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 50dd63d392f370c86a33393d79501a04f0565adc (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 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 Commit message: "refactor: Remove the version number in Init logs (#1541)" > git rev-list --no-walk 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-19T08:36:00.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-19T08:36:00.407Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-19T08:36:00.431Z] ========================================================= [2023-11-19T08:36:00.431Z] EdgeX Global Pipelines Version Info [2023-11-19T08:36:00.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:36:01.169Z] ------------------- [2023-11-19T08:36:01.169Z] stable info: [2023-11-19T08:36:01.169Z] ------------------- [2023-11-19T08:36:01.169Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-19T08:36:01.169Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T08:36:01.169Z] Message: update stable to v1.0.258 [2023-11-19T08:36:01.746Z] ------------------- [2023-11-19T08:36:01.746Z] experimental info: [2023-11-19T08:36:01.746Z] ------------------- [2023-11-19T08:36:01.746Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-19T08:36:01.746Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T08:36:01.746Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-19T08:36:01.825Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-19T08:36:01.850Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-19T08:36:01.871Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-19T08:36:01.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-19T08:36:01.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-19T08:36:01.951Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-19T08:36:01.970Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-19T08:36:01.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-19T08:36:02.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-19T08:36:02.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-19T08:36:02.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-19T08:36:02.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-19T08:36:02.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-19T08:36:02.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-19T08:36:02.194Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-19T08:36:02.232Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T08:36:02.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T08:36:02.292Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T08:36:02.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-19T08:36:02.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-19T08:36:02.392Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-19T08:36:02.427Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-19T08:36:02.461Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-19T08:36:02.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-19T08:36:02.528Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-19T08:36:02.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-19T08:36:02.609Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-19T08:36:02.648Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-19T08:36:02.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-19T08:36:02.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-19T08:36:02.753Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo [2023-11-19T08:36:02.792Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50dd63d [Pipeline] echo [2023-11-19T08:36:02.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T08:36:02.920Z] provisioning config files... [2023-11-19T08:36:02.937Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5148202424249258484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:36:03.276Z] ---> ****-login.sh [2023-11-19T08:36:03.276Z] nexus3.edgexfoundry.org:10001 [2023-11-19T08:36:03.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:03.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:03.537Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:03.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:03.537Z] [2023-11-19T08:36:03.537Z] Login Succeeded [2023-11-19T08:36:03.537Z] nexus3.edgexfoundry.org:10002 [2023-11-19T08:36:03.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:03.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:03.799Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:03.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:03.799Z] [2023-11-19T08:36:03.799Z] Login Succeeded [2023-11-19T08:36:03.799Z] nexus3.edgexfoundry.org:10003 [2023-11-19T08:36:03.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:03.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:03.799Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:03.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:03.799Z] [2023-11-19T08:36:03.799Z] Login Succeeded [2023-11-19T08:36:03.799Z] nexus3.edgexfoundry.org:10004 [2023-11-19T08:36:03.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:03.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:03.799Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:03.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:03.799Z] [2023-11-19T08:36:03.800Z] Login Succeeded [2023-11-19T08:36:04.060Z] ****.io [2023-11-19T08:36:04.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:04.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:04.322Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:04.322Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:04.322Z] [2023-11-19T08:36:04.322Z] Login Succeeded [2023-11-19T08:36:04.322Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T08:36:04.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-19T08:36:04.863Z] + git rev-list -1 --merges 50dd63d392f370c86a33393d79501a04f0565adc~1..50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo [2023-11-19T08:36:04.891Z] -----------> git rev-list -1 --merges 50dd63d392f370c86a33393d79501a04f0565adc~1..50dd63d392f370c86a33393d79501a04f0565adc 50dd63d392f370c86a33393d79501a04f0565adc [false] [Pipeline] sh [2023-11-19T08:36:05.190Z] + git log --format=format:%s -1 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo [2023-11-19T08:36:05.205Z] ========================================================= [2023-11-19T08:36:05.205Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-19T08:36:05.205Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T08:36:05.580Z] + git log --format=format:%s -1 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] echo [2023-11-19T08:36:05.591Z] [semverPrep] GIT_COMMIT: 50dd63d392f370c86a33393d79501a04f0565adc, Commit Message: refactor: Remove the version number in Init logs (#1541) [Pipeline] echo [2023-11-19T08:36:05.616Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-19T08:36:06.010Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T08:36:06.010Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-19T08:36:06.010Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-19T08:36:06.010Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-19T08:36:06.010Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-19T08:36:06.010Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-19T08:36:06.010Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:36:06.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T08:36:06.426Z] [2023-11-19T08:36:06.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:36:06.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T08:36:06.745Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-19T08:36:06.745Z] b85a868b505f: Pulling fs layer [2023-11-19T08:36:06.745Z] e2be974225ed: Pulling fs layer [2023-11-19T08:36:06.745Z] 339a4e72a1f5: Pulling fs layer [2023-11-19T08:36:06.745Z] 988bab9f4d93: Pulling fs layer [2023-11-19T08:36:06.745Z] 1469e6f7b9e6: Pulling fs layer [2023-11-19T08:36:06.745Z] eaf3925da568: Pulling fs layer [2023-11-19T08:36:06.745Z] bab4dde63d76: Pulling fs layer [2023-11-19T08:36:06.745Z] bde34c3a00c8: Pulling fs layer [2023-11-19T08:36:06.745Z] b352a97aabf1: Pulling fs layer [2023-11-19T08:36:06.745Z] 4872d77fe225: Pulling fs layer [2023-11-19T08:36:06.745Z] 5851b861e8e6: Pulling fs layer [2023-11-19T08:36:06.745Z] eaf3925da568: Waiting [2023-11-19T08:36:06.745Z] bde34c3a00c8: Waiting [2023-11-19T08:36:06.745Z] bab4dde63d76: Waiting [2023-11-19T08:36:06.745Z] b352a97aabf1: Waiting [2023-11-19T08:36:06.745Z] 988bab9f4d93: Waiting [2023-11-19T08:36:06.745Z] 1469e6f7b9e6: Waiting [2023-11-19T08:36:06.745Z] 4872d77fe225: Waiting [2023-11-19T08:36:06.745Z] 5851b861e8e6: Waiting [2023-11-19T08:36:06.745Z] e2be974225ed: Verifying Checksum [2023-11-19T08:36:06.745Z] e2be974225ed: Download complete [2023-11-19T08:36:06.745Z] 988bab9f4d93: Verifying Checksum [2023-11-19T08:36:06.745Z] 988bab9f4d93: Download complete [2023-11-19T08:36:07.050Z] 1469e6f7b9e6: Verifying Checksum [2023-11-19T08:36:07.050Z] 1469e6f7b9e6: Download complete [2023-11-19T08:36:07.050Z] eaf3925da568: Download complete [2023-11-19T08:36:07.050Z] 339a4e72a1f5: Verifying Checksum [2023-11-19T08:36:07.050Z] 339a4e72a1f5: Download complete [2023-11-19T08:36:07.050Z] bde34c3a00c8: Download complete [2023-11-19T08:36:07.050Z] b352a97aabf1: Verifying Checksum [2023-11-19T08:36:07.050Z] b352a97aabf1: Download complete [2023-11-19T08:36:07.050Z] 4872d77fe225: Download complete [2023-11-19T08:36:07.050Z] 5851b861e8e6: Verifying Checksum [2023-11-19T08:36:07.050Z] 5851b861e8e6: Download complete [2023-11-19T08:36:07.050Z] b85a868b505f: Download complete [2023-11-19T08:36:07.310Z] bab4dde63d76: Verifying Checksum [2023-11-19T08:36:07.310Z] bab4dde63d76: Download complete [2023-11-19T08:36:08.251Z] b85a868b505f: Pull complete [2023-11-19T08:36:08.251Z] e2be974225ed: Pull complete [2023-11-19T08:36:08.820Z] 339a4e72a1f5: Pull complete [2023-11-19T08:36:09.080Z] 988bab9f4d93: Pull complete [2023-11-19T08:36:09.339Z] 1469e6f7b9e6: Pull complete [2023-11-19T08:36:09.339Z] eaf3925da568: Pull complete [2023-11-19T08:36:10.734Z] bab4dde63d76: Pull complete [2023-11-19T08:36:10.996Z] bde34c3a00c8: Pull complete [2023-11-19T08:36:10.996Z] b352a97aabf1: Pull complete [2023-11-19T08:36:10.996Z] 4872d77fe225: Pull complete [2023-11-19T08:36:11.256Z] 5851b861e8e6: Pull complete [2023-11-19T08:36:11.256Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-19T08:36:11.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T08:36:11.256Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:36:11.458Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:36:11.500Z] $ 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-11-19T08:36:14.820Z] $ docker top 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 -eo pid,comm [2023-11-19T08:36:14.862Z] 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-11-19T08:36:14.862Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T08:36:14.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T08:36:14.962Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T08:36:15.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T08:36:15.082Z] $ docker exec 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent [2023-11-19T08:36:15.183Z] SSH_AUTH_SOCK=/tmp/ssh-IftDQUCJPtzr/agent.32 [2023-11-19T08:36:15.183Z] SSH_AGENT_PID=38 [2023-11-19T08:36:15.190Z] Running ssh-add (command line suppressed) [2023-11-19T08:36:15.297Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2182010779234368207.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2182010779234368207.key) [2023-11-19T08:36:15.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T08:36:15.612Z] + git tag --points-at HEAD [Pipeline] } [2023-11-19T08:36:15.635Z] $ docker exec --env ******** --env ******** 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent -k [2023-11-19T08:36:15.739Z] unset SSH_AUTH_SOCK; [2023-11-19T08:36:15.739Z] unset SSH_AGENT_PID; [2023-11-19T08:36:15.739Z] echo Agent pid 38 killed; [2023-11-19T08:36:15.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-19T08:36:15.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T08:36:15.802Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T08:36:15.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T08:36:15.922Z] $ docker exec 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent [2023-11-19T08:36:16.017Z] SSH_AUTH_SOCK=/tmp/ssh-lDIEpdoMDjSh/agent.71 [2023-11-19T08:36:16.017Z] SSH_AGENT_PID=77 [2023-11-19T08:36:16.022Z] Running ssh-add (command line suppressed) [2023-11-19T08:36:16.122Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8199871045839793857.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8199871045839793857.key) [2023-11-19T08:36:16.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T08:36:16.442Z] + git semver init [2023-11-19T08:36:16.703Z] 2023-11-19 08:36:16,633 [run_init] DEBUG init version:0.0.0 force:False [2023-11-19T08:36:16.703Z] 2023-11-19 08:36:16,634 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-19T08:36:16.703Z] 2023-11-19 08:36:16,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-19T08:36:16.703Z] 2023-11-19 08:36:16,635 [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-11-19T08:36:18.087Z] 2023-11-19 08:36:17,815 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-11-19T08:36:18.087Z] 2023-11-19 08:36:17,816 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-11-19T08:36:18.087Z] 2023-11-19 08:36:17,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:36:18.087Z] 2023-11-19 08:36:17,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:36:18.087Z] 3.1.0-dev.41 [Pipeline] } [2023-11-19T08:36:18.106Z] $ docker exec --env ******** --env ******** 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 ssh-agent -k [2023-11-19T08:36:18.213Z] unset SSH_AUTH_SOCK; [2023-11-19T08:36:18.214Z] unset SSH_AGENT_PID; [2023-11-19T08:36:18.215Z] echo Agent pid 77 killed; [2023-11-19T08:36:18.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T08:36:18.596Z] + git semver [Pipeline] } [2023-11-19T08:36:18.878Z] $ docker stop --time=1 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 [2023-11-19T08:36:20.173Z] $ docker rm -f --volumes 454dedab4487c663c87f6be6a05732aa7409808cd9ef8270366a5836134242d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T08:36:20.548Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-19T08:36:20.825Z] Stashed 1 file(s) [Pipeline] echo [2023-11-19T08:36:20.828Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.41 [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-11-19T08:36:21.173Z] provisioning config files... [2023-11-19T08:36:21.183Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8536790224664849495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:36:21.504Z] ---> ****-login.sh [2023-11-19T08:36:21.504Z] nexus3.edgexfoundry.org:10001 [2023-11-19T08:36:21.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:21.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:21.504Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:21.504Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:21.504Z] [2023-11-19T08:36:21.504Z] Login Succeeded [2023-11-19T08:36:21.504Z] nexus3.edgexfoundry.org:10002 [2023-11-19T08:36:21.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:21.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:21.504Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:21.504Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:21.504Z] [2023-11-19T08:36:21.504Z] Login Succeeded [2023-11-19T08:36:21.505Z] nexus3.edgexfoundry.org:10003 [2023-11-19T08:36:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:21.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:21.764Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:21.764Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:21.764Z] [2023-11-19T08:36:21.764Z] Login Succeeded [2023-11-19T08:36:21.764Z] nexus3.edgexfoundry.org:10004 [2023-11-19T08:36:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:21.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:21.764Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:21.764Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:21.764Z] [2023-11-19T08:36:21.764Z] Login Succeeded [2023-11-19T08:36:21.764Z] ****.io [2023-11-19T08:36:22.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:36:22.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:36:22.025Z] Configure a credential helper to remove this warning. See [2023-11-19T08:36:22.025Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:36:22.025Z] [2023-11-19T08:36:22.025Z] Login Succeeded [2023-11-19T08:36:22.025Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T08:36:22.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T08:36:22.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T08:36:22.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T08:36:22.241Z] ========================================================= [2023-11-19T08:36:22.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-19T08:36:22.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:36:22.631Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-19T08:36:22.631Z] Sending build context to Docker daemon 21.93MB [2023-11-19T08:36:22.631Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T08:36:22.631Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T08:36:22.908Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-19T08:36:22.908Z] 7264a8db6415: Pulling fs layer [2023-11-19T08:36:22.908Z] c4d48a809fc2: Pulling fs layer [2023-11-19T08:36:22.908Z] 4f1c88b9dad5: Pulling fs layer [2023-11-19T08:36:22.908Z] ad3a456e5733: Pulling fs layer [2023-11-19T08:36:22.908Z] 69c7f0334f64: Pulling fs layer [2023-11-19T08:36:22.908Z] 1f1c1a5573a3: Pulling fs layer [2023-11-19T08:36:22.908Z] ce7588e14bc9: Pulling fs layer [2023-11-19T08:36:22.908Z] b5e4710f87ac: Pulling fs layer [2023-11-19T08:36:22.908Z] ad3a456e5733: Waiting [2023-11-19T08:36:22.908Z] 69c7f0334f64: Waiting [2023-11-19T08:36:22.908Z] 1f1c1a5573a3: Waiting [2023-11-19T08:36:22.908Z] ce7588e14bc9: Waiting [2023-11-19T08:36:22.908Z] b5e4710f87ac: Waiting [2023-11-19T08:36:22.908Z] c4d48a809fc2: Download complete [2023-11-19T08:36:22.908Z] ad3a456e5733: Download complete [2023-11-19T08:36:22.908Z] 69c7f0334f64: Verifying Checksum [2023-11-19T08:36:22.908Z] 69c7f0334f64: Download complete [2023-11-19T08:36:22.908Z] 7264a8db6415: Verifying Checksum [2023-11-19T08:36:22.908Z] 7264a8db6415: Download complete [2023-11-19T08:36:22.908Z] 1f1c1a5573a3: Verifying Checksum [2023-11-19T08:36:22.908Z] 1f1c1a5573a3: Download complete [2023-11-19T08:36:23.165Z] 7264a8db6415: Pull complete [2023-11-19T08:36:23.165Z] b5e4710f87ac: Verifying Checksum [2023-11-19T08:36:23.165Z] b5e4710f87ac: Download complete [2023-11-19T08:36:23.165Z] c4d48a809fc2: Pull complete [2023-11-19T08:36:23.165Z] 4f1c88b9dad5: Verifying Checksum [2023-11-19T08:36:23.165Z] 4f1c88b9dad5: Download complete [2023-11-19T08:36:23.733Z] ce7588e14bc9: Verifying Checksum [2023-11-19T08:36:23.733Z] ce7588e14bc9: Download complete [2023-11-19T08:36:26.269Z] 4f1c88b9dad5: Pull complete [2023-11-19T08:36:26.269Z] ad3a456e5733: Pull complete [2023-11-19T08:36:26.269Z] 69c7f0334f64: Pull complete [2023-11-19T08:36:26.269Z] 1f1c1a5573a3: Pull complete [2023-11-19T08:36:28.810Z] ce7588e14bc9: Pull complete [2023-11-19T08:36:28.810Z] b5e4710f87ac: Pull complete [2023-11-19T08:36:28.810Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-19T08:36:28.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-19T08:36:28.810Z] ---> 88b5674ff536 [2023-11-19T08:36:28.810Z] Step 3/10 : ARG MAKE=make build [2023-11-19T08:36:33.008Z] ---> Running in f92cc430e503 [2023-11-19T08:36:33.008Z] Removing intermediate container f92cc430e503 [2023-11-19T08:36:33.008Z] ---> d9f31dc51483 [2023-11-19T08:36:33.008Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T08:36:33.008Z] ---> Running in 0949e14e7d97 [2023-11-19T08:36:33.269Z] Removing intermediate container 0949e14e7d97 [2023-11-19T08:36:33.269Z] ---> 0948be202e40 [2023-11-19T08:36:33.269Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T08:36:33.269Z] ---> Running in 08eed99f95b1 [2023-11-19T08:36:33.269Z] Removing intermediate container 08eed99f95b1 [2023-11-19T08:36:33.269Z] ---> 3c5b591ef3bd [2023-11-19T08:36:33.269Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T08:36:33.269Z] ---> Running in 37869dedc1b1 [2023-11-19T08:36:33.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T08:36:33.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T08:36:34.045Z] OK: 264 MiB in 52 packages [2023-11-19T08:36:34.303Z] Removing intermediate container 37869dedc1b1 [2023-11-19T08:36:34.303Z] ---> eedd3bc2c7e3 [2023-11-19T08:36:34.303Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T08:36:34.303Z] ---> 7ad7a0c5ab78 [2023-11-19T08:36:34.303Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T08:36:34.560Z] ---> Running in 123c45c37fe1 [2023-11-19T08:36:36.082Z] Still waiting to schedule task [2023-11-19T08:36:36.082Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-19T08:37:21.291Z] Removing intermediate container 123c45c37fe1 [2023-11-19T08:37:21.291Z] ---> 5e8d6f3cc3b6 [2023-11-19T08:37:21.291Z] Step 9/10 : COPY . . [2023-11-19T08:37:22.232Z] ---> 9b99714f59a1 [2023-11-19T08:37:22.232Z] Step 10/10 : RUN ${MAKE} [2023-11-19T08:37:22.232Z] ---> Running in 60937d7401c4 [2023-11-19T08:37:22.498Z] noop [2023-11-19T08:37:22.498Z] Removing intermediate container 60937d7401c4 [2023-11-19T08:37:22.498Z] ---> 374ec66d6bbe [2023-11-19T08:37:22.498Z] Successfully built 374ec66d6bbe [2023-11-19T08:37:22.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:37:23.118Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T08:37:23.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:37:23.224Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:37:23.257Z] $ 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-11-19T08:37:23.582Z] $ docker top 8e944515387e0e503871ce19d663cfd7dd77ceed055ebbbfb8680fe3f7d40d42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T08:37:23.961Z] + go version [2023-11-19T08:37:23.961Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-19T08:37:23.978Z] $ docker stop --time=1 8e944515387e0e503871ce19d663cfd7dd77ceed055ebbbfb8680fe3f7d40d42 [2023-11-19T08:37:25.242Z] $ docker rm -f --volumes 8e944515387e0e503871ce19d663cfd7dd77ceed055ebbbfb8680fe3f7d40d42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:37:25.821Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T08:37:25.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:37:25.937Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:37:25.970Z] $ 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-11-19T08:37:26.286Z] $ docker top 63731226c820b3dba9c61a251378f78f7948457e15600a232b5871b5f7a86cad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T08:37:26.706Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-19T08:37:27.028Z] + make test [2023-11-19T08:37:27.028Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T08:37:33.593Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T08:37:45.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T08:37:45.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T08:37:45.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T08:37:45.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T08:37:45.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T08:37:46.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T08:37:46.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T08:37:47.286Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements [2023-11-19T08:37:47.286Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T08:37:47.286Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements [2023-11-19T08:37:47.286Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements [2023-11-19T08:37:48.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T08:37:48.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T08:37:48.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements [2023-11-19T08:37:48.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T08:37:51.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements [2023-11-19T08:37:51.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.923s coverage: 45.9% of statements [2023-11-19T08:37:51.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2023-11-19T08:37:51.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.116s coverage: 89.2% of statements [2023-11-19T08:37:51.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.037s coverage: 5.5% of statements [2023-11-19T08:38:06.836Z] GO111MODULE=on go vet ./... [2023-11-19T08:38:10.116Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T08:38:10.116Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T08:38:10.116Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T08:38:10.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T08:38:10.167Z] $ docker stop --time=1 63731226c820b3dba9c61a251378f78f7948457e15600a232b5871b5f7a86cad [2023-11-19T08:38:14.284Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-217 in /w/workspace/edgexfoundry_device-sdk-go_main [2023-11-19T08:38:15.255Z] $ docker rm -f --volumes 63731226c820b3dba9c61a251378f78f7948457e15600a232b5871b5f7a86cad [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-11-19T08:38:15.581Z] Running in /w/workspace/device-sdk-go/270 [Pipeline] { [Pipeline] checkout [2023-11-19T08:38:15.808Z] + sudo chown -R jenkins:jenkins . [2023-11-19T08:38:18.648Z] The recommended git tool is: git [Pipeline] stash [2023-11-19T08:38:18.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-19T08:38:19.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T08:38:19.583Z] + ls -al . [2023-11-19T08:38:19.583Z] total 308 [2023-11-19T08:38:19.583Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 19 08:37 . [2023-11-19T08:38:19.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:35 .. [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 08:35 .dockerignore [2023-11-19T08:38:19.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:37 .git [2023-11-19T08:38:19.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:35 .github [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 08:35 .gitignore [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 08:35 .golangci.yml [2023-11-19T08:38:19.583Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 08:36 .semver [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 08:35 CHANGELOG.md [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 08:35 GOVERNANCE.md [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 08:35 Jenkinsfile [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 08:35 LICENSE [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 08:35 Makefile [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 08:35 OWNERS.md [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 08:35 README.md [2023-11-19T08:38:19.583Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 19 08:36 VERSION [2023-11-19T08:38:19.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 08:35 bin [2023-11-19T08:38:19.584Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 08:37 coverage.out [2023-11-19T08:38:19.584Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 08:35 example [2023-11-19T08:38:19.584Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 08:35 go.mod [2023-11-19T08:38:19.584Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 08:35 go.sum [2023-11-19T08:38:19.584Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:35 internal [2023-11-19T08:38:19.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:35 openapi [2023-11-19T08:38:19.584Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 08:35 pkg [2023-11-19T08:38:19.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:35 snap [2023-11-19T08:38:19.584Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:38:19.943Z] + 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=50dd63d392f370c86a33393d79501a04f0565adc --label arch=amd64 --label version=3.1.0-dev.41 . [2023-11-19T08:38:19.943Z] Sending build context to Docker daemon 22.05MB [2023-11-19T08:38:19.943Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T08:38:19.943Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-19T08:38:19.943Z] ---> 374ec66d6bbe [2023-11-19T08:38:19.943Z] Step 3/23 : ARG MAKE=make build [2023-11-19T08:38:20.509Z] ---> Running in 3830241aeb3d [2023-11-19T08:38:20.509Z] Removing intermediate container 3830241aeb3d [2023-11-19T08:38:20.509Z] ---> cb4e82bd4944 [2023-11-19T08:38:20.509Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-19T08:38:20.509Z] ---> Running in 9b3398720092 [2023-11-19T08:38:20.767Z] Removing intermediate container 9b3398720092 [2023-11-19T08:38:20.767Z] ---> f1ad301b48dd [2023-11-19T08:38:20.767Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T08:38:20.767Z] ---> Running in 05d5fea2a314 [2023-11-19T08:38:20.767Z] Removing intermediate container 05d5fea2a314 [2023-11-19T08:38:20.767Z] ---> 490063455235 [2023-11-19T08:38:20.767Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-19T08:38:20.767Z] ---> Running in 9ad2f95ec021 [2023-11-19T08:38:21.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T08:38:21.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T08:38:21.855Z] OK: 264 MiB in 52 packages [2023-11-19T08:38:22.113Z] Removing intermediate container 9ad2f95ec021 [2023-11-19T08:38:22.113Z] ---> 2dabf14eef32 [2023-11-19T08:38:22.113Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-19T08:38:22.113Z] ---> 73671da7240e [2023-11-19T08:38:22.113Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T08:38:22.113Z] ---> Running in 52b1c1596f5d [2023-11-19T08:38:22.678Z] Removing intermediate container 52b1c1596f5d [2023-11-19T08:38:22.678Z] ---> 98a2e8dfc214 [2023-11-19T08:38:22.678Z] Step 9/23 : COPY . . [2023-11-19T08:38:23.244Z] ---> b4931e77e2fe [2023-11-19T08:38:23.244Z] Step 10/23 : RUN ${MAKE} [2023-11-19T08:38:23.421Z] using credential edgex-jenkins-ssh [2023-11-19T08:38:23.440Z] Cloning the remote Git repository [2023-11-19T08:38:23.503Z] ---> Running in 1aa42f3dbaac [2023-11-19T08:38:23.504Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T08:38:23.761Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.41 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.41" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-19T08:38:23.597Z] > git init /w/workspace/device-sdk-go/270 # timeout=10 [2023-11-19T08:38:23.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T08:38:23.739Z] > git --version # timeout=10 [2023-11-19T08:38:23.758Z] > git --version # 'git version 2.25.1' [2023-11-19T08:38:23.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T08:38:23.903Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T08:38:27.239Z] Avoid second fetch [2023-11-19T08:38:27.239Z] Checking out Revision 50dd63d392f370c86a33393d79501a04f0565adc (main) [2023-11-19T08:38:26.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T08:38:26.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T08:38:27.260Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T08:38:27.326Z] > git checkout -f 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 [2023-11-19T08:38:27.842Z] Commit message: "refactor: Remove the version number in Init logs (#1541)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T08:38:28.797Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-19T08:38:28.797Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T08:38:28.797Z] Dload Upload Total Spent Left Speed [2023-11-19T08:38:28.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2023-11-19T08:38:29.138Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-19T08:38:29.470Z] + sudo tee /etc/docker/daemon.new [2023-11-19T08:38:29.470Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-19T08:38:29.470Z] { [2023-11-19T08:38:29.470Z] "registry-mirrors": [ [2023-11-19T08:38:29.470Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-19T08:38:29.470Z] ], [2023-11-19T08:38:29.470Z] "bip": "10.250.0.254/24", [2023-11-19T08:38:29.470Z] "hosts": [ [2023-11-19T08:38:29.470Z] "tcp://0.0.0.0:5555", [2023-11-19T08:38:29.470Z] "unix:///var/run/docker.sock" [2023-11-19T08:38:29.470Z] ], [2023-11-19T08:38:29.470Z] "mtu": 1458, [2023-11-19T08:38:29.470Z] "selinux-enabled": true, [2023-11-19T08:38:29.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-19T08:38:29.470Z] } [Pipeline] sh [2023-11-19T08:38:29.799Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-19T08:38:30.143Z] + sudo service docker restart [2023-11-19T08:38:45.687Z] Removing intermediate container 1aa42f3dbaac [2023-11-19T08:38:45.687Z] ---> 3d0cb41c988f [2023-11-19T08:38:45.687Z] Step 11/23 : FROM alpine:3.18 [2023-11-19T08:38:45.687Z] 3.18: Pulling from library/alpine [2023-11-19T08:38:45.687Z] 96526aa774ef: Pulling fs layer [2023-11-19T08:38:45.687Z] 96526aa774ef: Verifying Checksum [2023-11-19T08:38:45.687Z] 96526aa774ef: Download complete [2023-11-19T08:38:45.687Z] 96526aa774ef: Pull complete [2023-11-19T08:38:45.687Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T08:38:45.687Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T08:38:45.687Z] ---> 8ca4688f4f35 [2023-11-19T08:38:45.687Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T08:38:45.687Z] ---> Running in bdf6a954a4f2 [2023-11-19T08:38:45.687Z] Removing intermediate container bdf6a954a4f2 [2023-11-19T08:38:45.687Z] ---> 912bed00b305 [2023-11-19T08:38:45.687Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-19T08:38:45.687Z] ---> Running in 6662518b01e9 [2023-11-19T08:38:45.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T08:38:45.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T08:38:45.687Z] OK: 7 MiB in 15 packages [2023-11-19T08:38:45.687Z] Removing intermediate container 6662518b01e9 [2023-11-19T08:38:45.687Z] ---> a73147aa9eb8 [2023-11-19T08:38:45.687Z] Step 14/23 : WORKDIR / [2023-11-19T08:38:45.687Z] ---> Running in 6b515d91c337 [2023-11-19T08:38:45.687Z] Removing intermediate container 6b515d91c337 [2023-11-19T08:38:45.687Z] ---> afebbe702096 [2023-11-19T08:38:45.687Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T08:38:45.687Z] ---> 5495815ded54 [2023-11-19T08:38:45.687Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T08:38:45.946Z] ---> 547541b41134 [2023-11-19T08:38:45.946Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T08:38:46.204Z] ---> 389b6a088a6c [2023-11-19T08:38:46.204Z] Step 18/23 : EXPOSE 59999 [2023-11-19T08:38:46.204Z] ---> Running in 85b2c9720dd6 [2023-11-19T08:38:46.204Z] Removing intermediate container 85b2c9720dd6 [2023-11-19T08:38:46.204Z] ---> 12c0ca1e7c47 [2023-11-19T08:38:46.204Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-19T08:38:46.204Z] ---> Running in ebcbf95b1d1d [2023-11-19T08:38:46.204Z] Removing intermediate container ebcbf95b1d1d [2023-11-19T08:38:46.204Z] ---> b25d1ff86033 [2023-11-19T08:38:46.204Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T08:38:46.204Z] ---> Running in 804c706134fc [2023-11-19T08:38:46.463Z] Removing intermediate container 804c706134fc [2023-11-19T08:38:46.463Z] ---> 4ce90866ff86 [2023-11-19T08:38:46.463Z] Step 21/23 : LABEL arch=amd64 [2023-11-19T08:38:46.463Z] ---> Running in cec17cf0dca2 [2023-11-19T08:38:46.463Z] Removing intermediate container cec17cf0dca2 [2023-11-19T08:38:46.463Z] ---> 63c97e357770 [2023-11-19T08:38:46.463Z] Step 22/23 : LABEL git_sha=50dd63d392f370c86a33393d79501a04f0565adc [2023-11-19T08:38:46.463Z] ---> Running in 5471900e0fae [2023-11-19T08:38:46.463Z] Removing intermediate container 5471900e0fae [2023-11-19T08:38:46.463Z] ---> d56a6fac208b [2023-11-19T08:38:46.463Z] Step 23/23 : LABEL version=3.1.0-dev.41 [2023-11-19T08:38:46.463Z] ---> Running in bfc113feff86 [2023-11-19T08:38:46.722Z] Removing intermediate container bfc113feff86 [2023-11-19T08:38:46.722Z] ---> edceb25dcea7 [2023-11-19T08:38:46.722Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T08:38:46.722Z] Successfully built edceb25dcea7 [2023-11-19T08:38:46.722Z] 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-11-19T08:38:47.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T08:38:47.416Z] [2023-11-19T08:38:47.416Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:38:47.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T08:38:47.742Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-19T08:38:47.742Z] 5eb5b503b376: Pulling fs layer [2023-11-19T08:38:47.742Z] 5c69ac0246d0: Pulling fs layer [2023-11-19T08:38:47.742Z] ec43610c2a17: Pulling fs layer [2023-11-19T08:38:47.742Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-19T08:38:47.742Z] 33b1e0a273af: Pulling fs layer [2023-11-19T08:38:47.742Z] 5d3b04190fa2: Pulling fs layer [2023-11-19T08:38:47.742Z] 2f39f015ded8: Pulling fs layer [2023-11-19T08:38:47.742Z] 33b1e0a273af: Waiting [2023-11-19T08:38:47.742Z] 5d3b04190fa2: Waiting [2023-11-19T08:38:47.742Z] 2f39f015ded8: Waiting [2023-11-19T08:38:47.742Z] 3a2ae6a8a46f: Waiting [2023-11-19T08:38:47.742Z] 5c69ac0246d0: Verifying Checksum [2023-11-19T08:38:47.742Z] 5c69ac0246d0: Download complete [2023-11-19T08:38:47.742Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-19T08:38:47.742Z] 3a2ae6a8a46f: Download complete [2023-11-19T08:38:47.742Z] 33b1e0a273af: Verifying Checksum [2023-11-19T08:38:47.742Z] 33b1e0a273af: Download complete [2023-11-19T08:38:47.742Z] 5d3b04190fa2: Verifying Checksum [2023-11-19T08:38:47.742Z] 5d3b04190fa2: Download complete [2023-11-19T08:38:47.742Z] ec43610c2a17: Verifying Checksum [2023-11-19T08:38:47.742Z] ec43610c2a17: Download complete [2023-11-19T08:38:48.002Z] 5eb5b503b376: Verifying Checksum [2023-11-19T08:38:48.002Z] 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T08:38:48.432Z] provisioning config files... [2023-11-19T08:38:48.457Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/270@tmp/config7429374858640834244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:38:48.570Z] 2f39f015ded8: Download complete [2023-11-19T08:38:48.894Z] ---> ****-login.sh [2023-11-19T08:38:48.894Z] nexus3.edgexfoundry.org:10001 [2023-11-19T08:38:49.136Z] 5eb5b503b376: Pull complete [2023-11-19T08:38:49.136Z] 5c69ac0246d0: Pull complete [2023-11-19T08:38:49.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:38:49.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:38:49.435Z] Configure a credential helper to remove this warning. See [2023-11-19T08:38:49.435Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:38:49.435Z] [2023-11-19T08:38:49.435Z] Login Succeeded [2023-11-19T08:38:49.435Z] nexus3.edgexfoundry.org:10002 [2023-11-19T08:38:49.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:38:49.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:38:49.702Z] Configure a credential helper to remove this warning. See [2023-11-19T08:38:49.702Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:38:49.702Z] [2023-11-19T08:38:49.702Z] Login Succeeded [2023-11-19T08:38:49.704Z] ec43610c2a17: Pull complete [2023-11-19T08:38:49.704Z] 3a2ae6a8a46f: Pull complete [2023-11-19T08:38:49.961Z] 33b1e0a273af: Pull complete [2023-11-19T08:38:49.961Z] 5d3b04190fa2: Pull complete [2023-11-19T08:38:49.978Z] nexus3.edgexfoundry.org:10003 [2023-11-19T08:38:49.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:38:50.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:38:50.247Z] Configure a credential helper to remove this warning. See [2023-11-19T08:38:50.247Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:38:50.247Z] [2023-11-19T08:38:50.247Z] Login Succeeded [2023-11-19T08:38:50.247Z] nexus3.edgexfoundry.org:10004 [2023-11-19T08:38:50.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:38:50.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:38:50.518Z] Configure a credential helper to remove this warning. See [2023-11-19T08:38:50.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:38:50.518Z] [2023-11-19T08:38:50.518Z] Login Succeeded [2023-11-19T08:38:50.518Z] ****.io [2023-11-19T08:38:50.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T08:38:51.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T08:38:51.059Z] Configure a credential helper to remove this warning. See [2023-11-19T08:38:51.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T08:38:51.059Z] [2023-11-19T08:38:51.059Z] Login Succeeded [2023-11-19T08:38:51.059Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T08:38:51.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T08:38:51.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T08:38:51.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T08:38:51.537Z] ========================================================= [2023-11-19T08:38:51.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-19T08:38:51.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:38:51.992Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-19T08:38:52.582Z] Sending build context to Docker daemon 11.37MB [2023-11-19T08:38:52.582Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T08:38:52.582Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T08:38:52.582Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-19T08:38:52.582Z] 9fda8d8052c6: Pulling fs layer [2023-11-19T08:38:52.582Z] 5d54e960e981: Pulling fs layer [2023-11-19T08:38:52.582Z] c4a7e357bf2a: Pulling fs layer [2023-11-19T08:38:52.582Z] f0e02332f6b5: Pulling fs layer [2023-11-19T08:38:52.582Z] 872ee5b61b7b: Pulling fs layer [2023-11-19T08:38:52.582Z] 0c6a40ed1a82: Pulling fs layer [2023-11-19T08:38:52.582Z] 94ae7d8d031c: Pulling fs layer [2023-11-19T08:38:52.582Z] 94ae7d8d031c: Waiting [2023-11-19T08:38:52.582Z] f0e02332f6b5: Waiting [2023-11-19T08:38:52.582Z] 0c6a40ed1a82: Waiting [2023-11-19T08:38:52.582Z] 872ee5b61b7b: Waiting [2023-11-19T08:38:52.582Z] 5d54e960e981: Download complete [2023-11-19T08:38:52.582Z] f0e02332f6b5: Verifying Checksum [2023-11-19T08:38:52.582Z] f0e02332f6b5: Download complete [2023-11-19T08:38:52.855Z] 872ee5b61b7b: Verifying Checksum [2023-11-19T08:38:52.855Z] 872ee5b61b7b: Download complete [2023-11-19T08:38:52.855Z] 9fda8d8052c6: Verifying Checksum [2023-11-19T08:38:52.855Z] 9fda8d8052c6: Download complete [2023-11-19T08:38:53.124Z] 94ae7d8d031c: Verifying Checksum [2023-11-19T08:38:53.124Z] 94ae7d8d031c: Download complete [2023-11-19T08:38:53.712Z] 9fda8d8052c6: Pull complete [2023-11-19T08:38:54.145Z] 2f39f015ded8: Pull complete [2023-11-19T08:38:54.145Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-19T08:38:54.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T08:38:54.145Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:38:54.344Z] 5d54e960e981: Pull complete [2023-11-19T08:38:54.344Z] c4a7e357bf2a: Verifying Checksum [2023-11-19T08:38:54.344Z] c4a7e357bf2a: Download complete [2023-11-19T08:38:54.358Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:38:54.405Z] $ 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-11-19T08:38:55.760Z] 0c6a40ed1a82: Verifying Checksum [2023-11-19T08:38:55.760Z] 0c6a40ed1a82: Download complete [2023-11-19T08:39:00.443Z] $ docker top 349de6b023a3740d02935b222561268d4567e4113b4ceca36af841f893d6eafe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:39:00.885Z] ---> job-cost.sh [2023-11-19T08:39:00.885Z] lf-activate-venv: SKIPPING [2023-11-19T08:39:00.885Z] INFO: No Stack... [2023-11-19T08:39:01.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T08:39:01.403Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T08:39:01.692Z] + + catcut -d, -f6 [2023-11-19T08:39:01.692Z] /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock [2023-11-19T08:39:01.707Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [2023-11-19T08:39:01.712Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] did not exist. Created. [2023-11-19T08:39:01.712Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T08:39:02.069Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-19T08:39:02.097Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T08:39:02.129Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T08:39:02.210Z] $ docker stop --time=1 349de6b023a3740d02935b222561268d4567e4113b4ceca36af841f893d6eafe [2023-11-19T08:39:03.353Z] $ docker rm -f --volumes 349de6b023a3740d02935b222561268d4567e4113b4ceca36af841f893d6eafe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-19T08:39:08.085Z] c4a7e357bf2a: Pull complete [2023-11-19T08:39:08.085Z] f0e02332f6b5: Pull complete [2023-11-19T08:39:08.085Z] 872ee5b61b7b: Pull complete [2023-11-19T08:39:16.312Z] 0c6a40ed1a82: Pull complete [2023-11-19T08:39:19.658Z] 94ae7d8d031c: Pull complete [2023-11-19T08:39:19.658Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-19T08:39:19.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-19T08:39:19.658Z] ---> 86de565de09d [2023-11-19T08:39:19.658Z] Step 3/10 : ARG MAKE=make build [2023-11-19T08:39:21.068Z] ---> Running in 63613c12c20a [2023-11-19T08:39:21.336Z] Removing intermediate container 63613c12c20a [2023-11-19T08:39:21.336Z] ---> e87f5b9be064 [2023-11-19T08:39:21.336Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T08:39:21.605Z] ---> Running in a7f8f58b58af [2023-11-19T08:39:21.878Z] Removing intermediate container a7f8f58b58af [2023-11-19T08:39:21.878Z] ---> e62e1881ae75 [2023-11-19T08:39:21.878Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T08:39:21.878Z] ---> Running in c0570e6cf77f [2023-11-19T08:39:22.150Z] Removing intermediate container c0570e6cf77f [2023-11-19T08:39:22.150Z] ---> edf742fe8af0 [2023-11-19T08:39:22.150Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T08:39:22.150Z] ---> Running in 7ba542db1b27 [2023-11-19T08:39:23.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T08:39:23.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T08:39:24.794Z] OK: 266 MiB in 52 packages [2023-11-19T08:39:25.762Z] Removing intermediate container 7ba542db1b27 [2023-11-19T08:39:25.762Z] ---> dae0bc3ef535 [2023-11-19T08:39:25.762Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T08:39:26.345Z] ---> 65744922cb2b [2023-11-19T08:39:26.345Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T08:39:26.345Z] ---> Running in 19c7d0e14d9b [2023-11-19T08:40:49.309Z] Removing intermediate container 19c7d0e14d9b [2023-11-19T08:40:49.309Z] ---> 287e377ab471 [2023-11-19T08:40:49.309Z] Step 9/10 : COPY . . [2023-11-19T08:40:49.309Z] ---> 541bdc206cd7 [2023-11-19T08:40:49.309Z] Step 10/10 : RUN ${MAKE} [2023-11-19T08:40:49.309Z] ---> Running in 48fc2d8e4ba6 [2023-11-19T08:40:50.279Z] noop [2023-11-19T08:40:50.865Z] Removing intermediate container 48fc2d8e4ba6 [2023-11-19T08:40:50.865Z] ---> 552c8b4df2b9 [2023-11-19T08:40:50.865Z] Successfully built 552c8b4df2b9 [2023-11-19T08:40:50.865Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:40:51.316Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T08:40:51.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:40:51.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-217 does not seem to be running inside a container [2023-11-19T08:40:51.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/270 -v /w/workspace/device-sdk-go/270:/w/workspace/device-sdk-go/270:rw,z -v /w/workspace/device-sdk-go/270@tmp:/w/workspace/device-sdk-go/270@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-11-19T08:40:52.768Z] $ docker top b64e311c4f3981aad565283675807e5c82b66ed109ff8ed8a06ee0d281f5095e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T08:40:53.647Z] + go version [2023-11-19T08:40:53.647Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-19T08:40:53.669Z] $ docker stop --time=1 b64e311c4f3981aad565283675807e5c82b66ed109ff8ed8a06ee0d281f5095e [2023-11-19T08:40:55.295Z] $ docker rm -f --volumes b64e311c4f3981aad565283675807e5c82b66ed109ff8ed8a06ee0d281f5095e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:40:56.101Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T08:40:56.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:40:56.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-217 does not seem to be running inside a container [2023-11-19T08:40:56.399Z] $ 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/270 -v /w/workspace/device-sdk-go/270:/w/workspace/device-sdk-go/270:rw,z -v /w/workspace/device-sdk-go/270@tmp:/w/workspace/device-sdk-go/270@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-11-19T08:40:57.495Z] $ docker top 9cdf3e39c6ee6674acb242ebb4bb4c4aa3219595d0a26c475676ca9268cbbee6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T08:40:58.394Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/270 [Pipeline] fileExists [Pipeline] sh [2023-11-19T08:40:58.758Z] + make test [2023-11-19T08:40:59.028Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T08:41:37.878Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T08:43:14.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T08:43:14.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T08:43:14.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T08:43:14.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T08:43:14.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T08:43:15.434Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.213s coverage: 27.6% of statements [2023-11-19T08:43:23.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.245s coverage: 81.5% of statements [2023-11-19T08:43:31.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T08:43:31.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T08:43:31.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.297s coverage: 86.0% of statements [2023-11-19T08:43:36.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T08:43:37.509Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.398s coverage: 71.8% of statements [2023-11-19T08:43:40.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.256s coverage: 14.4% of statements [2023-11-19T08:43:41.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T08:43:41.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T08:43:42.064Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.684s coverage: 45.9% of statements [2023-11-19T08:43:42.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.380s coverage: 68.5% of statements [2023-11-19T08:43:45.665Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.410s coverage: 89.2% of statements [2023-11-19T08:43:45.665Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T08:43:47.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements [2023-11-19T08:43:47.652Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-19T08:43:47.652Z] GO111MODULE=on go vet ./... [2023-11-19T08:45:24.285Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T08:45:24.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T08:45:24.285Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T08:45:24.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T08:45:24.356Z] $ docker stop --time=1 9cdf3e39c6ee6674acb242ebb4bb4c4aa3219595d0a26c475676ca9268cbbee6 [2023-11-19T08:45:26.218Z] $ docker rm -f --volumes 9cdf3e39c6ee6674acb242ebb4bb4c4aa3219595d0a26c475676ca9268cbbee6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T08:45:27.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-19T08:45:27.878Z] Warning: overwriting stash ‘coverage-report’ [2023-11-19T08:45:28.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T08:45:28.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T08:45:29.295Z] + ls -al . [2023-11-19T08:45:29.295Z] total 304 [2023-11-19T08:45:29.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 08:41 . [2023-11-19T08:45:29.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:38 .. [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 08:38 .dockerignore [2023-11-19T08:45:29.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 08:38 .git [2023-11-19T08:45:29.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:38 .github [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 08:38 .gitignore [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 08:38 .golangci.yml [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 08:38 CHANGELOG.md [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 08:38 GOVERNANCE.md [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 08:38 Jenkinsfile [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 08:38 LICENSE [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 08:38 Makefile [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 08:38 OWNERS.md [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 08:38 README.md [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 19 08:36 VERSION [2023-11-19T08:45:29.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 08:38 bin [2023-11-19T08:45:29.295Z] -rw-r--r-- 1 jenkins jenkins 122154 Nov 19 08:43 coverage.out [2023-11-19T08:45:29.295Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 08:38 example [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 08:38 go.mod [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 08:38 go.sum [2023-11-19T08:45:29.295Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:38 internal [2023-11-19T08:45:29.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 08:38 openapi [2023-11-19T08:45:29.295Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 08:38 pkg [2023-11-19T08:45:29.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 08:38 snap [2023-11-19T08:45:29.295Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 08:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:45:29.707Z] + 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=50dd63d392f370c86a33393d79501a04f0565adc --label arch=arm64 --label version=3.1.0-dev.41 . [2023-11-19T08:45:30.290Z] Sending build context to Docker daemon 11.49MB [2023-11-19T08:45:30.290Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T08:45:30.290Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-19T08:45:30.290Z] ---> 552c8b4df2b9 [2023-11-19T08:45:30.290Z] Step 3/23 : ARG MAKE=make build [2023-11-19T08:45:30.290Z] ---> Running in edaffd2083c4 [2023-11-19T08:45:30.560Z] Removing intermediate container edaffd2083c4 [2023-11-19T08:45:30.560Z] ---> ff39ef93afd3 [2023-11-19T08:45:30.560Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-19T08:45:30.832Z] ---> Running in 7c98956920ed [2023-11-19T08:45:31.100Z] Removing intermediate container 7c98956920ed [2023-11-19T08:45:31.100Z] ---> a16b76446ff3 [2023-11-19T08:45:31.100Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T08:45:31.100Z] ---> Running in 933e4b214ab3 [2023-11-19T08:45:31.375Z] Removing intermediate container 933e4b214ab3 [2023-11-19T08:45:31.375Z] ---> 0356f6a6d48b [2023-11-19T08:45:31.375Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-19T08:45:31.375Z] ---> Running in 7fe8284ecfed [2023-11-19T08:45:32.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T08:45:32.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T08:45:34.175Z] OK: 266 MiB in 52 packages [2023-11-19T08:45:34.769Z] Removing intermediate container 7fe8284ecfed [2023-11-19T08:45:34.769Z] ---> 12eaa3a5f8e9 [2023-11-19T08:45:34.769Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-19T08:45:38.123Z] ---> e2a87f9639e1 [2023-11-19T08:45:38.123Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T08:45:38.123Z] ---> Running in fc948956bac3 [2023-11-19T08:45:40.068Z] Removing intermediate container fc948956bac3 [2023-11-19T08:45:40.068Z] ---> 53fec43ffb67 [2023-11-19T08:45:40.068Z] Step 9/23 : COPY . . [2023-11-19T08:45:42.009Z] ---> 82029da84aaf [2023-11-19T08:45:42.009Z] Step 10/23 : RUN ${MAKE} [2023-11-19T08:45:42.009Z] ---> Running in cde410429606 [2023-11-19T08:45:42.589Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.41 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.41" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-19T08:47:34.241Z] Removing intermediate container cde410429606 [2023-11-19T08:47:34.241Z] ---> 3b7496eafae5 [2023-11-19T08:47:34.241Z] Step 11/23 : FROM alpine:3.18 [2023-11-19T08:47:34.241Z] 3.18: Pulling from library/alpine [2023-11-19T08:47:34.241Z] 579b34f0a95b: Pulling fs layer [2023-11-19T08:47:34.241Z] 579b34f0a95b: Verifying Checksum [2023-11-19T08:47:34.241Z] 579b34f0a95b: Download complete [2023-11-19T08:47:34.241Z] 579b34f0a95b: Pull complete [2023-11-19T08:47:34.241Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T08:47:34.241Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T08:47:34.241Z] ---> 3cc203321400 [2023-11-19T08:47:34.241Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T08:47:34.241Z] ---> Running in 16a86b17bcea [2023-11-19T08:47:34.241Z] Removing intermediate container 16a86b17bcea [2023-11-19T08:47:34.241Z] ---> bda0491d3d52 [2023-11-19T08:47:34.241Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-19T08:47:34.241Z] ---> Running in 3e808dd58f23 [2023-11-19T08:47:34.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T08:47:34.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T08:47:34.241Z] OK: 8 MiB in 15 packages [2023-11-19T08:47:34.241Z] Removing intermediate container 3e808dd58f23 [2023-11-19T08:47:34.241Z] ---> b1792e3ebab1 [2023-11-19T08:47:34.241Z] Step 14/23 : WORKDIR / [2023-11-19T08:47:34.241Z] ---> Running in ac25148f4786 [2023-11-19T08:47:34.241Z] Removing intermediate container ac25148f4786 [2023-11-19T08:47:34.241Z] ---> 0745ecae1800 [2023-11-19T08:47:34.241Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T08:47:34.241Z] ---> c9eb85bba671 [2023-11-19T08:47:34.241Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T08:47:34.241Z] ---> 11450ec185c9 [2023-11-19T08:47:34.241Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T08:47:34.241Z] ---> e3c2c154fb49 [2023-11-19T08:47:34.241Z] Step 18/23 : EXPOSE 59999 [2023-11-19T08:47:34.241Z] ---> Running in 5d30ce9b2192 [2023-11-19T08:47:34.241Z] Removing intermediate container 5d30ce9b2192 [2023-11-19T08:47:34.241Z] ---> c9cb23337203 [2023-11-19T08:47:34.241Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-19T08:47:34.241Z] ---> Running in f26672201992 [2023-11-19T08:47:34.241Z] Removing intermediate container f26672201992 [2023-11-19T08:47:34.241Z] ---> 645cd2a12b6d [2023-11-19T08:47:34.241Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T08:47:34.241Z] ---> Running in 7b781025ec07 [2023-11-19T08:47:34.509Z] Removing intermediate container 7b781025ec07 [2023-11-19T08:47:34.509Z] ---> 54e5c3e79ac5 [2023-11-19T08:47:34.509Z] Step 21/23 : LABEL arch=arm64 [2023-11-19T08:47:34.509Z] ---> Running in 6915753d5ce8 [2023-11-19T08:47:34.775Z] Removing intermediate container 6915753d5ce8 [2023-11-19T08:47:34.775Z] ---> 407b189a678a [2023-11-19T08:47:34.775Z] Step 22/23 : LABEL git_sha=50dd63d392f370c86a33393d79501a04f0565adc [2023-11-19T08:47:34.775Z] ---> Running in 0736add0f75e [2023-11-19T08:47:35.043Z] Removing intermediate container 0736add0f75e [2023-11-19T08:47:35.043Z] ---> 8faa7b6996ca [2023-11-19T08:47:35.043Z] Step 23/23 : LABEL version=3.1.0-dev.41 [2023-11-19T08:47:35.043Z] ---> Running in 12c8ea0a7b6c [2023-11-19T08:47:35.318Z] Removing intermediate container 12c8ea0a7b6c [2023-11-19T08:47:35.318Z] ---> 8cdec09470c5 [2023-11-19T08:47:35.318Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T08:47:35.585Z] Successfully built 8cdec09470c5 [2023-11-19T08:47:35.585Z] 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-11-19T08:47:36.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T08:47:36.389Z] [2023-11-19T08:47:36.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:47:36.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T08:47:36.766Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-19T08:47:36.766Z] 8998bd30e6a1: Pulling fs layer [2023-11-19T08:47:36.766Z] 04944245beec: Pulling fs layer [2023-11-19T08:47:36.766Z] 699f458cf7ca: Pulling fs layer [2023-11-19T08:47:36.766Z] 765212b225bb: Pulling fs layer [2023-11-19T08:47:36.766Z] f23df028b6ca: Pulling fs layer [2023-11-19T08:47:36.766Z] 765212b225bb: Waiting [2023-11-19T08:47:36.766Z] d65c8cfc05b1: Pulling fs layer [2023-11-19T08:47:36.766Z] f23df028b6ca: Waiting [2023-11-19T08:47:36.766Z] d65c8cfc05b1: Waiting [2023-11-19T08:47:36.766Z] 2437ff75d9bd: Pulling fs layer [2023-11-19T08:47:36.766Z] 2437ff75d9bd: Waiting [2023-11-19T08:47:37.035Z] 04944245beec: Verifying Checksum [2023-11-19T08:47:37.035Z] 04944245beec: Download complete [2023-11-19T08:47:37.035Z] 765212b225bb: Verifying Checksum [2023-11-19T08:47:37.035Z] 765212b225bb: Download complete [2023-11-19T08:47:37.035Z] f23df028b6ca: Verifying Checksum [2023-11-19T08:47:37.035Z] f23df028b6ca: Download complete [2023-11-19T08:47:37.035Z] d65c8cfc05b1: Verifying Checksum [2023-11-19T08:47:37.036Z] d65c8cfc05b1: Download complete [2023-11-19T08:47:37.304Z] 699f458cf7ca: Verifying Checksum [2023-11-19T08:47:37.304Z] 699f458cf7ca: Download complete [2023-11-19T08:47:37.571Z] 8998bd30e6a1: Verifying Checksum [2023-11-19T08:47:37.571Z] 8998bd30e6a1: Download complete [2023-11-19T08:47:40.165Z] 2437ff75d9bd: Verifying Checksum [2023-11-19T08:47:40.165Z] 2437ff75d9bd: Download complete [2023-11-19T08:47:42.117Z] 8998bd30e6a1: Pull complete [2023-11-19T08:47:44.058Z] 04944245beec: Pull complete [2023-11-19T08:47:45.466Z] 699f458cf7ca: Pull complete [2023-11-19T08:47:45.466Z] 765212b225bb: Pull complete [2023-11-19T08:47:46.424Z] f23df028b6ca: Pull complete [2023-11-19T08:47:46.689Z] d65c8cfc05b1: Pull complete [2023-11-19T08:48:04.892Z] 2437ff75d9bd: Pull complete [2023-11-19T08:48:04.892Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-19T08:48:04.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T08:48:04.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:48:05.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-217 does not seem to be running inside a container [2023-11-19T08:48:05.287Z] $ 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/270 -v /w/workspace/device-sdk-go/270:/w/workspace/device-sdk-go/270:rw,z -v /w/workspace/device-sdk-go/270@tmp:/w/workspace/device-sdk-go/270@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-11-19T08:48:07.854Z] $ docker top 068725e3a04e670ce55960c3e3b12bd761befcee9e9caddcba69b15951eb29d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:48:08.743Z] ---> job-cost.sh [2023-11-19T08:48:08.743Z] lf-activate-venv: SKIPPING [2023-11-19T08:48:08.743Z] INFO: No Stack... [2023-11-19T08:48:09.325Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-19T08:48:09.907Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T08:48:10.537Z] + cat /w/workspace/device-sdk-go/270/archives/cost.csv [2023-11-19T08:48:10.537Z] + cut -d, -f6 [Pipeline] lock [2023-11-19T08:48:10.573Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [2023-11-19T08:48:10.579Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] did not exist. Created. [2023-11-19T08:48:10.579Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T08:48:11.302Z] /w/workspace/device-sdk-go/270@tmp/durable-72af9d27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-19T08:48:11.941Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-19T08:48:11.956Z] Warning: overwriting stash ‘stack-cost’ [2023-11-19T08:48:12.032Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T08:48:12.042Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-270-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T08:48:12.138Z] $ docker stop --time=1 068725e3a04e670ce55960c3e3b12bd761befcee9e9caddcba69b15951eb29d6 [2023-11-19T08:48:13.632Z] $ docker rm -f --volumes 068725e3a04e670ce55960c3e3b12bd761befcee9e9caddcba69b15951eb29d6 [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-11-19T08:48:14.941Z] provisioning config files... [2023-11-19T08:48:14.949Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6681142185113744137tmp [Pipeline] { [Pipeline] sh [2023-11-19T08:48:15.314Z] + set +x [2023-11-19T08:48:15.314Z] + curl -s https://codecov.io/bash [2023-11-19T08:48:15.314Z] + bash -s -- [2023-11-19T08:48:15.314Z] [2023-11-19T08:48:15.314Z] _____ _ [2023-11-19T08:48:15.314Z] / ____| | | [2023-11-19T08:48:15.314Z] | | ___ __| | ___ ___ _____ __ [2023-11-19T08:48:15.314Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-19T08:48:15.314Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-19T08:48:15.314Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-19T08:48:15.314Z] Bash-1.0.6 [2023-11-19T08:48:15.314Z] [2023-11-19T08:48:15.314Z] [2023-11-19T08:48:15.314Z] ==> git version 2.25.1 found [2023-11-19T08:48:15.314Z] ==> 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-11-19T08:48:15.314Z] Release-Date: 2020-01-08 [2023-11-19T08:48:15.314Z] 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-11-19T08:48:15.314Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-19T08:48:15.314Z] ==> Jenkins CI detected. [2023-11-19T08:48:15.314Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-11-19T08:48:15.314Z] project root: . [2023-11-19T08:48:15.314Z] --> token set from env [2023-11-19T08:48:15.314Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-19T08:48:15.314Z] ==> Running gcov in . (disable via -X gcov) [2023-11-19T08:48:15.573Z] ==> Python coveragepy not found [2023-11-19T08:48:15.573Z] ==> Searching for coverage reports in: [2023-11-19T08:48:15.573Z] + . [2023-11-19T08:48:15.573Z] -> Found 1 reports [2023-11-19T08:48:15.573Z] ==> Detecting git/mercurial file structure [2023-11-19T08:48:15.573Z] ==> Reading reports [2023-11-19T08:48:15.573Z] + ./coverage.out bytes=122154 [2023-11-19T08:48:15.573Z] ==> Appending adjustments [2023-11-19T08:48:15.573Z] https://docs.codecov.io/docs/fixing-reports [2023-11-19T08:48:15.833Z] + Found adjustments [2023-11-19T08:48:15.833Z] ==> Gzipping contents [2023-11-19T08:48:15.833Z] 20K /tmp/codecov.JPesCY.gz [2023-11-19T08:48:15.833Z] ==> Uploading reports [2023-11-19T08:48:15.833Z] url: https://codecov.io [2023-11-19T08:48:15.833Z] query: branch=main&commit=50dd63d392f370c86a33393d79501a04f0565adc&build=270&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F270%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-19T08:48:15.833Z] -> Pinging Codecov [2023-11-19T08:48:15.833Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=50dd63d392f370c86a33393d79501a04f0565adc&build=270&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F270%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-19T08:48:15.833Z] -> Uploading to [2023-11-19T08:48:15.833Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-19/7E55EF52A471D76F132DFD9A03CDDE97/50dd63d392f370c86a33393d79501a04f0565adc/609dfdf0-bca1-4698-b84c-6048f2e7e8ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231119T084815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e09328fa8601407536505fdda30c7949e78281086637d1401f213b5ced1b4c91 [2023-11-19T08:48:16.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T08:48:16.092Z] Dload Upload Total Spent Left Speed [2023-11-19T08:48:16.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16720 0 0 100 16720 0 49910 --:--:-- --:--:-- --:--:-- 50059 [2023-11-19T08:48:16.351Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] } [2023-11-19T08:48:16.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-19T08:48:17.233Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-19T08:48:17.282Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:48:17.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-19T08:48:17.695Z] [2023-11-19T08:48:17.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:48:18.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-19T08:48:18.025Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-19T08:48:18.025Z] df9b9388f04a: Pulling fs layer [2023-11-19T08:48:18.025Z] 52dc419b0ee2: Pulling fs layer [2023-11-19T08:48:18.025Z] 25bc292e5bac: Pulling fs layer [2023-11-19T08:48:18.025Z] 114826534d7a: Pulling fs layer [2023-11-19T08:48:18.025Z] 4657fd5d0bcf: Pulling fs layer [2023-11-19T08:48:18.025Z] 6ad1cebc031e: Pulling fs layer [2023-11-19T08:48:18.025Z] 8a3aa393b2d8: Pulling fs layer [2023-11-19T08:48:18.025Z] 114826534d7a: Waiting [2023-11-19T08:48:18.025Z] 4657fd5d0bcf: Waiting [2023-11-19T08:48:18.025Z] 6ad1cebc031e: Waiting [2023-11-19T08:48:18.025Z] 8a3aa393b2d8: Waiting [2023-11-19T08:48:18.025Z] 52dc419b0ee2: Verifying Checksum [2023-11-19T08:48:18.025Z] 52dc419b0ee2: Download complete [2023-11-19T08:48:18.025Z] 25bc292e5bac: Verifying Checksum [2023-11-19T08:48:18.025Z] 25bc292e5bac: Download complete [2023-11-19T08:48:18.025Z] 4657fd5d0bcf: Verifying Checksum [2023-11-19T08:48:18.025Z] 4657fd5d0bcf: Download complete [2023-11-19T08:48:18.025Z] df9b9388f04a: Download complete [2023-11-19T08:48:18.284Z] df9b9388f04a: Pull complete [2023-11-19T08:48:18.284Z] 6ad1cebc031e: Download complete [2023-11-19T08:48:18.284Z] 52dc419b0ee2: Pull complete [2023-11-19T08:48:18.549Z] 25bc292e5bac: Pull complete [2023-11-19T08:48:18.809Z] 114826534d7a: Verifying Checksum [2023-11-19T08:48:18.809Z] 114826534d7a: Download complete [2023-11-19T08:48:19.374Z] 8a3aa393b2d8: Verifying Checksum [2023-11-19T08:48:19.374Z] 8a3aa393b2d8: Download complete [2023-11-19T08:48:22.653Z] 114826534d7a: Pull complete [2023-11-19T08:48:22.653Z] 4657fd5d0bcf: Pull complete [2023-11-19T08:48:22.653Z] 6ad1cebc031e: Pull complete [2023-11-19T08:48:25.184Z] 8a3aa393b2d8: Pull complete [2023-11-19T08:48:25.184Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-19T08:48:25.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-19T08:48:25.184Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:48:25.422Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:48:25.449Z] $ 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-11-19T08:48:31.466Z] $ docker top cc3b343637e440994c2732d0479ff896a9bf380be742a06021c158270482d3a2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-19T08:48:31.592Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-11-19T08:48:31.871Z] + set -o pipefail [2023-11-19T08:48:31.871Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-11-19T08:48:37.155Z] [2023-11-19T08:48:37.155Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-11-19T08:48:37.155Z] [2023-11-19T08:48:37.155Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/accf3b46-1dbe-4468-af3e-764f97917436 [2023-11-19T08:48:37.155Z] [2023-11-19T08:48:37.155Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-19T08:48:37.155Z] [2023-11-19T08:48:37.417Z] [2023-11-19T08:48:37.417Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-19T08:48:37.417Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-19T08:48:37.417Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-11-19T08:48:37.428Z] $ docker stop --time=1 cc3b343637e440994c2732d0479ff896a9bf380be742a06021c158270482d3a2 [2023-11-19T08:48:42.290Z] $ docker rm -f --volumes cc3b343637e440994c2732d0479ff896a9bf380be742a06021c158270482d3a2 [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-11-19T08:48:43.026Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T08:48:43.078Z] provisioning config files... [2023-11-19T08:48:43.086Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13508282531908151735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:48:43.451Z] --> edgex-publish-swagger.sh [2023-11-19T08:48:43.451Z] === Publish openapi/v3 API === [2023-11-19T08:48:43.451Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-11-19T08:48:43.451Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-11-19T08:48:43.451Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T08:48:43.451Z] Dload Upload Total Spent Left Speed [2023-11-19T08:48:44.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 38683 --:--:-- --:--:-- --:--:-- 38619 100 23674 0 0 100 23674 0 38683 --:--:-- --:--:-- --:--:-- 38619 [2023-11-19T08:48:44.022Z] [2023-11-19T08:48:44.022Z] [Pipeline] } [2023-11-19T08:48:44.030Z] 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-11-19T08:48:44.820Z] + git log --format=format:%s -1 50dd63d392f370c86a33393d79501a04f0565adc [Pipeline] sh [2023-11-19T08:48:45.110Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T08:48:45.110Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:48:45.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T08:48:45.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:48:45.606Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:48:45.640Z] $ 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-11-19T08:48:46.126Z] $ docker top ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c -eo pid,comm [2023-11-19T08:48:46.180Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-19T08:48:46.180Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T08:48:46.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T08:48:46.361Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T08:48:46.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T08:48:46.474Z] $ docker exec ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c ssh-agent [2023-11-19T08:48:46.595Z] SSH_AUTH_SOCK=/tmp/ssh-n16BZGbS3M9P/agent.31 [2023-11-19T08:48:46.595Z] SSH_AGENT_PID=37 [2023-11-19T08:48:46.600Z] Running ssh-add (command line suppressed) [2023-11-19T08:48:46.709Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10558238436434102775.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10558238436434102775.key) [2023-11-19T08:48:46.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T08:48:47.053Z] + git semver tag [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,216 [run_tag] DEBUG tag force:False [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,216 [check_head_tag] DEBUG check head tag [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,218 [execute] INFO git cat-file --batch-check [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,222 [execute] INFO git cat-file --batch [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,241 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,241 [execute] INFO git tag -a v3.1.0-dev.41 -m v3.1.0-dev.41 [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,241 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.41', '-m', 'v3.1.0-dev.41'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-19T08:48:47.313Z] 2023-11-19 08:48:47,245 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:48:47.313Z] 3.1.0-dev.41 [Pipeline] } [2023-11-19T08:48:47.321Z] $ docker exec --env ******** --env ******** ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c ssh-agent -k [2023-11-19T08:48:47.415Z] unset SSH_AUTH_SOCK; [2023-11-19T08:48:47.415Z] unset SSH_AGENT_PID; [2023-11-19T08:48:47.415Z] echo Agent pid 37 killed; [2023-11-19T08:48:47.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T08:48:47.892Z] + git semver [Pipeline] } [2023-11-19T08:48:48.159Z] $ docker stop --time=1 ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c [2023-11-19T08:48:49.423Z] $ docker rm -f --volumes ef2c8c55e9cf7a119a912a5084d1358f53aa6670bc400fe6fad6ebcfcebf7a4c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:48:50.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-19T08:48:50.000Z] [2023-11-19T08:48:50.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:48:50.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-19T08:48:50.626Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-19T08:48:50.626Z] ab5ef0e58194: Pulling fs layer [2023-11-19T08:48:50.626Z] 9712f1f96733: Pulling fs layer [2023-11-19T08:48:50.626Z] 63f879dbbcfc: Pulling fs layer [2023-11-19T08:48:50.626Z] 0d9ebad4ef96: Pulling fs layer [2023-11-19T08:48:50.626Z] e9a5061849ea: Pulling fs layer [2023-11-19T08:48:50.626Z] d747dcd14b5f: Pulling fs layer [2023-11-19T08:48:50.626Z] 2de7ff778b66: Pulling fs layer [2023-11-19T08:48:50.626Z] 0d9ebad4ef96: Waiting [2023-11-19T08:48:50.626Z] e9a5061849ea: Waiting [2023-11-19T08:48:50.626Z] d747dcd14b5f: Waiting [2023-11-19T08:48:50.626Z] 2de7ff778b66: Waiting [2023-11-19T08:48:50.626Z] 9712f1f96733: Verifying Checksum [2023-11-19T08:48:50.626Z] 9712f1f96733: Download complete [2023-11-19T08:48:51.195Z] 63f879dbbcfc: Verifying Checksum [2023-11-19T08:48:51.195Z] 63f879dbbcfc: Download complete [2023-11-19T08:48:51.195Z] e9a5061849ea: Verifying Checksum [2023-11-19T08:48:51.195Z] e9a5061849ea: Download complete [2023-11-19T08:48:51.195Z] ab5ef0e58194: Verifying Checksum [2023-11-19T08:48:51.195Z] ab5ef0e58194: Download complete [2023-11-19T08:48:51.195Z] d747dcd14b5f: Download complete [2023-11-19T08:48:51.456Z] 0d9ebad4ef96: Verifying Checksum [2023-11-19T08:48:51.456Z] 0d9ebad4ef96: Download complete [2023-11-19T08:48:51.456Z] 2de7ff778b66: Verifying Checksum [2023-11-19T08:48:51.456Z] 2de7ff778b66: Download complete [2023-11-19T08:48:53.981Z] ab5ef0e58194: Pull complete [2023-11-19T08:48:53.981Z] 9712f1f96733: Pull complete [2023-11-19T08:48:54.238Z] 63f879dbbcfc: Pull complete [2023-11-19T08:48:58.424Z] 0d9ebad4ef96: Pull complete [2023-11-19T08:48:58.424Z] e9a5061849ea: Pull complete [2023-11-19T08:48:58.424Z] d747dcd14b5f: Pull complete [2023-11-19T08:48:59.381Z] 2de7ff778b66: Pull complete [2023-11-19T08:48:59.381Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-19T08:48:59.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-19T08:48:59.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:48:59.627Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:48:59.656Z] $ 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-11-19T08:49:06.567Z] $ docker top 33db25a30f98fb91a015fc697906492f2ab2bc8dde81f5e5aafd0af507f17310 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-19T08:49:06.732Z] provisioning config files... [2023-11-19T08:49:06.740Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17948443905212403101tmp [2023-11-19T08:49:06.749Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1139335918851878689tmp [2023-11-19T08:49:06.757Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config801647590503576592tmp [Pipeline] { [Pipeline] echo [2023-11-19T08:49:06.840Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:07.137Z] ---> sigul-configuration.sh [2023-11-19T08:49:07.137Z] gpg: directory `/root/.gnupg' created [2023-11-19T08:49:07.137Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-19T08:49:07.137Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-19T08:49:07.137Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-19T08:49:07.137Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-19T08:49:07.137Z] gpg: CAST5 encrypted data [2023-11-19T08:49:07.137Z] gpg: encrypted with 1 passphrase [2023-11-19T08:49:07.137Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-19T08:49:07.431Z] + mkdir /home/jenkins [2023-11-19T08:49:07.431Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-19T08:49:07.726Z] + 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-11-19T08:49:07.738Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:08.030Z] ---> sigul-install.sh [2023-11-19T08:49:08.031Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-19T08:49:08.326Z] + git tag --list [2023-11-19T08:49:08.326Z] 0.7.1 [2023-11-19T08:49:08.326Z] delhi-tag [2023-11-19T08:49:08.326Z] v1.0.0 [2023-11-19T08:49:08.326Z] v1.1.0 [2023-11-19T08:49:08.326Z] v1.1.1 [2023-11-19T08:49:08.326Z] v1.1.2 [2023-11-19T08:49:08.326Z] v1.2.0 [2023-11-19T08:49:08.326Z] v1.2.1 [2023-11-19T08:49:08.326Z] v1.2.2 [2023-11-19T08:49:08.326Z] v1.2.3 [2023-11-19T08:49:08.326Z] v1.3.0 [2023-11-19T08:49:08.326Z] v1.4.0 [2023-11-19T08:49:08.326Z] v2.0.0 [2023-11-19T08:49:08.326Z] v2.1.0 [2023-11-19T08:49:08.326Z] v2.1.1 [2023-11-19T08:49:08.326Z] v2.2.0 [2023-11-19T08:49:08.326Z] v2.3.0 [2023-11-19T08:49:08.326Z] v2.3.1 [2023-11-19T08:49:08.326Z] v3.0 [2023-11-19T08:49:08.326Z] v3.0.0 [2023-11-19T08:49:08.326Z] v3.0.1-dev.1 [2023-11-19T08:49:08.326Z] v3.1 [2023-11-19T08:49:08.326Z] v3.1.0 [2023-11-19T08:49:08.326Z] v3.1.0-dev.1 [2023-11-19T08:49:08.326Z] v3.1.0-dev.10 [2023-11-19T08:49:08.326Z] v3.1.0-dev.11 [2023-11-19T08:49:08.326Z] v3.1.0-dev.12 [2023-11-19T08:49:08.326Z] v3.1.0-dev.13 [2023-11-19T08:49:08.326Z] v3.1.0-dev.14 [2023-11-19T08:49:08.326Z] v3.1.0-dev.15 [2023-11-19T08:49:08.326Z] v3.1.0-dev.16 [2023-11-19T08:49:08.326Z] v3.1.0-dev.17 [2023-11-19T08:49:08.326Z] v3.1.0-dev.18 [2023-11-19T08:49:08.326Z] v3.1.0-dev.19 [2023-11-19T08:49:08.326Z] v3.1.0-dev.2 [2023-11-19T08:49:08.326Z] v3.1.0-dev.20 [2023-11-19T08:49:08.326Z] v3.1.0-dev.21 [2023-11-19T08:49:08.326Z] v3.1.0-dev.22 [2023-11-19T08:49:08.326Z] v3.1.0-dev.23 [2023-11-19T08:49:08.326Z] v3.1.0-dev.24 [2023-11-19T08:49:08.326Z] v3.1.0-dev.25 [2023-11-19T08:49:08.326Z] v3.1.0-dev.26 [2023-11-19T08:49:08.326Z] v3.1.0-dev.27 [2023-11-19T08:49:08.326Z] v3.1.0-dev.28 [2023-11-19T08:49:08.326Z] v3.1.0-dev.29 [2023-11-19T08:49:08.326Z] v3.1.0-dev.3 [2023-11-19T08:49:08.326Z] v3.1.0-dev.30 [2023-11-19T08:49:08.326Z] v3.1.0-dev.31 [2023-11-19T08:49:08.326Z] v3.1.0-dev.32 [2023-11-19T08:49:08.326Z] v3.1.0-dev.33 [2023-11-19T08:49:08.326Z] v3.1.0-dev.34 [2023-11-19T08:49:08.326Z] v3.1.0-dev.35 [2023-11-19T08:49:08.326Z] v3.1.0-dev.36 [2023-11-19T08:49:08.326Z] v3.1.0-dev.37 [2023-11-19T08:49:08.326Z] v3.1.0-dev.38 [2023-11-19T08:49:08.326Z] v3.1.0-dev.39 [2023-11-19T08:49:08.326Z] v3.1.0-dev.4 [2023-11-19T08:49:08.326Z] v3.1.0-dev.40 [2023-11-19T08:49:08.326Z] v3.1.0-dev.41 [2023-11-19T08:49:08.326Z] v3.1.0-dev.5 [2023-11-19T08:49:08.326Z] v3.1.0-dev.6 [2023-11-19T08:49:08.326Z] v3.1.0-dev.7 [2023-11-19T08:49:08.326Z] v3.1.0-dev.8 [2023-11-19T08:49:08.326Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-19T08:49:08.617Z] + lftools sign git-tag v3.1.0-dev.41 [2023-11-19T08:49:09.187Z] Signing Git tag with Sigul... [2023-11-19T08:49:09.187Z] Signing v3.1.0-dev.41 [Pipeline] echo [2023-11-19T08:49:09.458Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:09.751Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-19T08:49:09.759Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-19T08:49:09.861Z] $ docker stop --time=1 33db25a30f98fb91a015fc697906492f2ab2bc8dde81f5e5aafd0af507f17310 [2023-11-19T08:49:11.143Z] $ docker rm -f --volumes 33db25a30f98fb91a015fc697906492f2ab2bc8dde81f5e5aafd0af507f17310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-19T08:49:11.929Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T08:49:11.929Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:49:12.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T08:49:12.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:49:12.425Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:49:12.452Z] $ 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-11-19T08:49:12.801Z] $ docker top 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 -eo pid,comm [2023-11-19T08:49:12.850Z] 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-11-19T08:49:12.850Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T08:49:13.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T08:49:13.031Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T08:49:13.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T08:49:13.146Z] $ docker exec 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 ssh-agent [2023-11-19T08:49:13.249Z] SSH_AUTH_SOCK=/tmp/ssh-06X0T4BeGk6p/agent.32 [2023-11-19T08:49:13.249Z] SSH_AGENT_PID=38 [2023-11-19T08:49:13.253Z] Running ssh-add (command line suppressed) [2023-11-19T08:49:13.357Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1120902143977165802.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1120902143977165802.key) [2023-11-19T08:49:13.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T08:49:13.706Z] + git semver bump pre [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,878 [bump_version] DEBUG bumping version:3.1.0-dev.41 on axis:pre with prefix:dev [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,878 [bump_version] DEBUG bumped version:3.1.0-dev.42 [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,878 [write_version] DEBUG write version:3.1.0-dev.42 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,878 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,880 [execute] INFO git cat-file --batch-check [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,885 [execute] INFO git cat-file --batch [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T08:49:13.967Z] 2023-11-19 08:49:13,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:49:13.967Z] 3.1.0-dev.42 [Pipeline] } [2023-11-19T08:49:13.973Z] $ docker exec --env ******** --env ******** 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 ssh-agent -k [2023-11-19T08:49:14.073Z] unset SSH_AUTH_SOCK; [2023-11-19T08:49:14.073Z] unset SSH_AGENT_PID; [2023-11-19T08:49:14.073Z] echo Agent pid 38 killed; [2023-11-19T08:49:14.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T08:49:14.567Z] + git semver [Pipeline] } [2023-11-19T08:49:14.838Z] $ docker stop --time=1 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 [2023-11-19T08:49:16.124Z] $ docker rm -f --volumes 7c2d03fac2954a97bfbc13512a26f6d592480a1e2f5742737c853452f17eecf6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T08:49:16.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T08:49:16.838Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:49:17.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T08:49:17.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:49:17.409Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:49:17.442Z] $ 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-11-19T08:49:17.747Z] $ docker top b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a -eo pid,comm [2023-11-19T08:49:17.794Z] 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-11-19T08:49:17.794Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T08:49:17.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T08:49:17.975Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T08:49:18.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T08:49:18.083Z] $ docker exec b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a ssh-agent [2023-11-19T08:49:18.186Z] SSH_AUTH_SOCK=/tmp/ssh-ow0Fa5w26G9g/agent.33 [2023-11-19T08:49:18.186Z] SSH_AGENT_PID=39 [2023-11-19T08:49:18.191Z] Running ssh-add (command line suppressed) [2023-11-19T08:49:18.284Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9160090787882983140.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9160090787882983140.key) [2023-11-19T08:49:18.299Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T08:49:18.628Z] + git semver push [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,787 [run_push] DEBUG push [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,788 [execute] INFO git cat-file --batch-check [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,791 [execute] INFO git rev-list a1f730fa2a5b6eb0c47cf8e2f9473c93448c2a6b -- [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,791 [execute] DEBUG Popen(['git', 'rev-list', 'a1f730fa2a5b6eb0c47cf8e2f9473c93448c2a6b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,802 [execute] INFO git fetch -v origin [2023-11-19T08:49:18.888Z] 2023-11-19 08:49:18,803 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-19T08:49:19.457Z] 2023-11-19 08:49:19,284 [run_push] DEBUG no remote changes detected [2023-11-19T08:49:19.457Z] 2023-11-19 08:49:19,285 [execute] INFO git push origin semver [2023-11-19T08:49:19.457Z] 2023-11-19 08:49:19,285 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-19T08:49:20.398Z] 2023-11-19 08:49:20,104 [run_push] DEBUG push all version tags [2023-11-19T08:49:20.398Z] 2023-11-19 08:49:20,105 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-19T08:49:20.398Z] 2023-11-19 08:49:20,105 [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-11-19T08:49:20.968Z] 2023-11-19 08:49:20,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-19T08:49:20.968Z] 3.1.0-dev.42 [Pipeline] } [2023-11-19T08:49:20.976Z] $ docker exec --env ******** --env ******** b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a ssh-agent -k [2023-11-19T08:49:21.062Z] unset SSH_AUTH_SOCK; [2023-11-19T08:49:21.062Z] unset SSH_AGENT_PID; [2023-11-19T08:49:21.063Z] echo Agent pid 39 killed; [2023-11-19T08:49:21.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T08:49:21.587Z] + git semver [Pipeline] } [2023-11-19T08:49:21.856Z] $ docker stop --time=1 b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a [2023-11-19T08:49:23.127Z] $ docker rm -f --volumes b709f005b2552bc076e2cb3cd2b4894fca75f3be46d87818630b171f3ac9ea6a [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-11-19T08:49:24.537Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-11-19T08:49:24.537Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-19T08:49:24.537Z] total 16 [2023-11-19T08:49:24.537Z] drwxr-xr-x 3 root root 4096 Nov 19 08:39 . [2023-11-19T08:49:24.537Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:49 .. [2023-11-19T08:49:24.537Z] drwxr-xr-x 2 root root 4096 Nov 19 08:39 cost [2023-11-19T08:49:24.537Z] -rw-r--r-- 1 root root 85 Nov 19 08:39 cost.csv [2023-11-19T08:49:24.537Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-19T08:49:24.537Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-19T08:49:24.537Z] total 16 [2023-11-19T08:49:24.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 08:39 . [2023-11-19T08:49:24.537Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 08:49 .. [2023-11-19T08:49:24.537Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 08:39 cost [2023-11-19T08:49:24.537Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 19 08:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:24.829Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:25.692Z] ---> package-listing.sh [2023-11-19T08:49:25.692Z] ++ facter osfamily [2023-11-19T08:49:25.692Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-19T08:49:25.952Z] + OS_FAMILY=debian [2023-11-19T08:49:25.952Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-11-19T08:49:25.952Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-19T08:49:25.952Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-19T08:49:25.952Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-19T08:49:25.952Z] + PACKAGES=/tmp/packages_start.txt [2023-11-19T08:49:25.952Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-19T08:49:25.952Z] + PACKAGES=/tmp/packages_end.txt [2023-11-19T08:49:25.952Z] + case "${OS_FAMILY}" in [2023-11-19T08:49:25.952Z] + dpkg -l [2023-11-19T08:49:25.952Z] + grep '^ii' [2023-11-19T08:49:25.952Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-19T08:49:25.952Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-19T08:49:25.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-19T08:49:25.952Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-19T08:49:25.952Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-11-19T08:49:25.952Z] + 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-11-19T08:49:25.962Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-19T08:49:26.240Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T08:49:26.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T08:49:26.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T08:49:27.009Z] prd-ubuntu20.04-docker-8c-8g-216 does not seem to be running inside a container [2023-11-19T08:49:27.038Z] $ 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-11-19T08:49:27.222Z] $ docker top 1c48f876a9007735246f809dfbb70c46bfb174f6d2cc6872421919c84fcf0497 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T08:49:27.659Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-19T08:49:27.942Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-19T08:49:28.224Z] + ls /var/log/sa-host [2023-11-19T08:49:28.224Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T08:49:28.423Z] provisioning config files... [2023-11-19T08:49:28.432Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15536933328060590680tmp [Pipeline] { [Pipeline] echo [2023-11-19T08:49:28.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:28.820Z] ---> create-netrc.sh [Pipeline] } [2023-11-19T08:49:28.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:29.255Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-19T08:49:29.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:29.538Z] ---> sudo-logs.sh [2023-11-19T08:49:29.538Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-19T08:49:29.607Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:29.888Z] ---> job-cost.sh [2023-11-19T08:49:29.888Z] lf-activate-venv: SKIPPING [2023-11-19T08:49:29.888Z] DEBUG: total: 0.2199999988079071 [2023-11-19T08:49:29.888Z] INFO: Retrieving Stack Cost... [2023-11-19T08:49:30.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T08:49:30.714Z] INFO: Archiving Costs [Pipeline] echo [2023-11-19T08:49:30.725Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T08:49:31.009Z] ---> logs-deploy.sh [2023-11-19T08:49:31.009Z] lf-activate-venv: SKIPPING [2023-11-19T08:49:31.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/270 [2023-11-19T08:49:31.009Z] INFO: archiving workspace using pattern(s): [2023-11-19T08:49:31.946Z] Archives upload complete. [2023-11-19T08:49:31.946Z] INFO: archiving logs to Nexus