Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f885853b7afeee748945214d1e34d19c3162505 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-ssh3729056430483641715.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10609689512732207621.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15514933396332871203.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9911394953044076799.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-ssh14681939447664900017.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-8038 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1f885853b7afeee748945214d1e34d19c3162505 (main) Commit message: "feat: Add device last connected metrics (#1515)" > git config core.sparsecheckout # timeout=10 > git checkout -f 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 > git rev-list --no-walk b107614ee9e0a121be0cc16184ca73267025663e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T15:23:24.087Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T15:23:24.133Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T15:23:24.149Z] ========================================================= [2023-09-27T15:23:24.149Z] EdgeX Global Pipelines Version Info [2023-09-27T15:23:24.149Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:23:25.228Z] ------------------- [2023-09-27T15:23:25.228Z] stable info: [2023-09-27T15:23:25.228Z] ------------------- [2023-09-27T15:23:25.228Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T15:23:25.228Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T15:23:25.228Z] Message: update stable to v1.0.254 [2023-09-27T15:23:26.168Z] ------------------- [2023-09-27T15:23:26.168Z] experimental info: [2023-09-27T15:23:26.168Z] ------------------- [2023-09-27T15:23:26.168Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T15:23:26.168Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T15:23:26.168Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T15:23:26.323Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-27T15:23:26.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-27T15:23:26.346Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T15:23:26.354Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T15:23:26.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T15:23:26.372Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T15:23:26.393Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T15:23:26.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-27T15:23:26.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T15:23:26.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T15:23:26.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T15:23:26.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-27T15:23:26.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T15:23:26.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T15:23:26.518Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T15:23:26.533Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T15:23:26.547Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T15:23:26.563Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T15:23:26.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T15:23:26.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T15:23:26.601Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-27T15:23:26.616Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-27T15:23:26.629Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T15:23:26.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T15:23:26.663Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T15:23:26.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T15:23:26.699Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T15:23:26.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-27T15:23:26.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-27T15:23:26.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-27T15:23:26.766Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo [2023-09-27T15:23:26.779Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f88585 [Pipeline] echo [2023-09-27T15:23:26.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:23:26.833Z] provisioning config files... [2023-09-27T15:23:26.846Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2477882445446254812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:23:27.146Z] ---> docker-login.sh [2023-09-27T15:23:27.146Z] nexus3.edgexfoundry.org:10001 [2023-09-27T15:23:27.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:27.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:27.666Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:27.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:27.666Z] [2023-09-27T15:23:27.666Z] Login Succeeded [2023-09-27T15:23:27.666Z] nexus3.edgexfoundry.org:10002 [2023-09-27T15:23:27.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:27.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:27.666Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:27.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:27.666Z] [2023-09-27T15:23:27.666Z] Login Succeeded [2023-09-27T15:23:27.666Z] nexus3.edgexfoundry.org:10003 [2023-09-27T15:23:27.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:27.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:27.927Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:27.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:27.927Z] [2023-09-27T15:23:27.927Z] Login Succeeded [2023-09-27T15:23:27.927Z] nexus3.edgexfoundry.org:10004 [2023-09-27T15:23:27.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:27.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:27.927Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:27.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:27.927Z] [2023-09-27T15:23:27.927Z] Login Succeeded [2023-09-27T15:23:27.927Z] docker.io [2023-09-27T15:23:27.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:28.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:28.188Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:28.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:28.188Z] [2023-09-27T15:23:28.188Z] Login Succeeded [2023-09-27T15:23:28.188Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T15:23:28.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T15:23:28.584Z] + git rev-list -1 --merges 1f885853b7afeee748945214d1e34d19c3162505~1..1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo [2023-09-27T15:23:28.635Z] -----------> git rev-list -1 --merges 1f885853b7afeee748945214d1e34d19c3162505~1..1f885853b7afeee748945214d1e34d19c3162505 1f885853b7afeee748945214d1e34d19c3162505 [false] [Pipeline] sh [2023-09-27T15:23:28.927Z] + git log --format=format:%s -1 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo [2023-09-27T15:23:28.942Z] ========================================================= [2023-09-27T15:23:28.942Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T15:23:28.942Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T15:23:29.271Z] + git log --format=format:%s -1 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo [2023-09-27T15:23:29.282Z] [semverPrep] GIT_COMMIT: 1f885853b7afeee748945214d1e34d19c3162505, Commit Message: feat: Add device last connected metrics (#1515) [Pipeline] echo [2023-09-27T15:23:29.290Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T15:23:29.695Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T15:23:29.695Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T15:23:29.695Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T15:23:29.695Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T15:23:29.695Z] + sudo+ tee -a /etc/ssh/ssh_known_hosts [2023-09-27T15:23:29.695Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T15:23:29.695Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:23:30.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:23:30.145Z] [2023-09-27T15:23:30.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:23:30.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:23:30.444Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T15:23:30.444Z] b85a868b505f: Pulling fs layer [2023-09-27T15:23:30.444Z] e2be974225ed: Pulling fs layer [2023-09-27T15:23:30.444Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T15:23:30.444Z] 988bab9f4d93: Pulling fs layer [2023-09-27T15:23:30.444Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T15:23:30.444Z] eaf3925da568: Pulling fs layer [2023-09-27T15:23:30.444Z] bab4dde63d76: Pulling fs layer [2023-09-27T15:23:30.444Z] bde34c3a00c8: Pulling fs layer [2023-09-27T15:23:30.444Z] b352a97aabf1: Pulling fs layer [2023-09-27T15:23:30.444Z] 4872d77fe225: Pulling fs layer [2023-09-27T15:23:30.444Z] 5851b861e8e6: Pulling fs layer [2023-09-27T15:23:30.444Z] 988bab9f4d93: Waiting [2023-09-27T15:23:30.444Z] bde34c3a00c8: Waiting [2023-09-27T15:23:30.444Z] 1469e6f7b9e6: Waiting [2023-09-27T15:23:30.444Z] bab4dde63d76: Waiting [2023-09-27T15:23:30.444Z] 5851b861e8e6: Waiting [2023-09-27T15:23:30.444Z] eaf3925da568: Waiting [2023-09-27T15:23:30.444Z] e2be974225ed: Verifying Checksum [2023-09-27T15:23:30.444Z] e2be974225ed: Download complete [2023-09-27T15:23:30.444Z] 988bab9f4d93: Verifying Checksum [2023-09-27T15:23:30.444Z] 988bab9f4d93: Download complete [2023-09-27T15:23:30.444Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T15:23:30.444Z] 1469e6f7b9e6: Download complete [2023-09-27T15:23:30.828Z] eaf3925da568: Verifying Checksum [2023-09-27T15:23:30.829Z] eaf3925da568: Download complete [2023-09-27T15:23:30.829Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T15:23:30.829Z] 339a4e72a1f5: Download complete [2023-09-27T15:23:30.829Z] bde34c3a00c8: Verifying Checksum [2023-09-27T15:23:30.829Z] bde34c3a00c8: Download complete [2023-09-27T15:23:30.829Z] b352a97aabf1: Download complete [2023-09-27T15:23:30.829Z] 4872d77fe225: Verifying Checksum [2023-09-27T15:23:30.829Z] 4872d77fe225: Download complete [2023-09-27T15:23:30.829Z] 5851b861e8e6: Verifying Checksum [2023-09-27T15:23:30.829Z] 5851b861e8e6: Download complete [2023-09-27T15:23:30.829Z] b85a868b505f: Verifying Checksum [2023-09-27T15:23:30.829Z] b85a868b505f: Download complete [2023-09-27T15:23:31.087Z] bab4dde63d76: Verifying Checksum [2023-09-27T15:23:31.087Z] bab4dde63d76: Download complete [2023-09-27T15:23:32.031Z] b85a868b505f: Pull complete [2023-09-27T15:23:32.295Z] e2be974225ed: Pull complete [2023-09-27T15:23:32.580Z] 339a4e72a1f5: Pull complete [2023-09-27T15:23:32.840Z] 988bab9f4d93: Pull complete [2023-09-27T15:23:33.101Z] 1469e6f7b9e6: Pull complete [2023-09-27T15:23:33.101Z] eaf3925da568: Pull complete [2023-09-27T15:23:35.009Z] bab4dde63d76: Pull complete [2023-09-27T15:23:35.009Z] bde34c3a00c8: Pull complete [2023-09-27T15:23:35.009Z] b352a97aabf1: Pull complete [2023-09-27T15:23:35.269Z] 4872d77fe225: Pull complete [2023-09-27T15:23:35.269Z] 5851b861e8e6: Pull complete [2023-09-27T15:23:35.269Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T15:23:35.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:23:35.269Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:23:35.376Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:23:35.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T15:23:37.989Z] $ docker top ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb -eo pid,comm [2023-09-27T15:23:38.046Z] 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-09-27T15:23:38.046Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T15:23:38.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:23:38.082Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:23:38.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:23:38.203Z] $ docker exec ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent [2023-09-27T15:23:38.317Z] SSH_AUTH_SOCK=/tmp/ssh-DqaaUscvZeOn/agent.31 [2023-09-27T15:23:38.317Z] SSH_AGENT_PID=37 [2023-09-27T15:23:38.325Z] Running ssh-add (command line suppressed) [2023-09-27T15:23:38.438Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12309774414679629945.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12309774414679629945.key) [2023-09-27T15:23:38.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:23:38.744Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T15:23:38.755Z] $ docker exec --env ******** --env ******** ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent -k [2023-09-27T15:23:38.844Z] unset SSH_AUTH_SOCK; [2023-09-27T15:23:38.845Z] unset SSH_AGENT_PID; [2023-09-27T15:23:38.845Z] echo Agent pid 37 killed; [2023-09-27T15:23:38.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T15:23:38.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:23:38.881Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:23:38.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:23:39.000Z] $ docker exec ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent [2023-09-27T15:23:39.131Z] SSH_AUTH_SOCK=/tmp/ssh-ko5SLuLzufgV/agent.69 [2023-09-27T15:23:39.131Z] SSH_AGENT_PID=75 [2023-09-27T15:23:39.136Z] Running ssh-add (command line suppressed) [2023-09-27T15:23:39.248Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_832699485904481374.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_832699485904481374.key) [2023-09-27T15:23:39.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:23:39.550Z] + git semver init [2023-09-27T15:23:39.810Z] 2023-09-27 15:23:39,755 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T15:23:39.810Z] 2023-09-27 15:23:39,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-27T15:23:39.810Z] 2023-09-27 15:23:39,756 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-27T15:23:39.810Z] 2023-09-27 15:23:39,756 [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-09-27T15:23:41.184Z] 2023-09-27 15:23:40,868 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-27T15:23:41.184Z] 2023-09-27 15:23:40,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-27T15:23:41.184Z] 2023-09-27 15:23:40,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:23:41.185Z] 2023-09-27 15:23:40,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:23:41.185Z] 3.1.0-dev.32 [Pipeline] } [2023-09-27T15:23:41.194Z] $ docker exec --env ******** --env ******** ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent -k [2023-09-27T15:23:41.293Z] unset SSH_AUTH_SOCK; [2023-09-27T15:23:41.293Z] unset SSH_AGENT_PID; [2023-09-27T15:23:41.293Z] echo Agent pid 75 killed; [2023-09-27T15:23:41.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T15:23:41.602Z] + git semver [Pipeline] } [2023-09-27T15:23:41.875Z] $ docker stop --time=1 ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb [2023-09-27T15:23:43.259Z] $ docker rm -f --volumes ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T15:23:43.601Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T15:23:43.814Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T15:23:43.817Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.32 [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-09-27T15:23:43.955Z] provisioning config files... [2023-09-27T15:23:43.965Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4607678982548540290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:23:44.268Z] ---> docker-login.sh [2023-09-27T15:23:44.268Z] nexus3.edgexfoundry.org:10001 [2023-09-27T15:23:44.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:44.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:44.268Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:44.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:44.268Z] [2023-09-27T15:23:44.268Z] Login Succeeded [2023-09-27T15:23:44.268Z] nexus3.edgexfoundry.org:10002 [2023-09-27T15:23:44.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:44.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:44.268Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:44.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:44.268Z] [2023-09-27T15:23:44.268Z] Login Succeeded [2023-09-27T15:23:44.268Z] nexus3.edgexfoundry.org:10003 [2023-09-27T15:23:44.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:44.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:44.527Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:44.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:44.527Z] [2023-09-27T15:23:44.527Z] Login Succeeded [2023-09-27T15:23:44.527Z] nexus3.edgexfoundry.org:10004 [2023-09-27T15:23:44.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:44.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:44.527Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:44.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:44.527Z] [2023-09-27T15:23:44.527Z] Login Succeeded [2023-09-27T15:23:44.527Z] docker.io [2023-09-27T15:23:44.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:23:45.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:23:45.097Z] Configure a credential helper to remove this warning. See [2023-09-27T15:23:45.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:23:45.097Z] [2023-09-27T15:23:45.097Z] Login Succeeded [2023-09-27T15:23:45.097Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T15:23:45.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T15:23:45.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:23:45.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:23:45.196Z] ========================================================= [2023-09-27T15:23:45.196Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T15:23:45.196Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:23:45.514Z] + 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-09-27T15:23:45.514Z] Sending build context to Docker daemon 11.2MB [2023-09-27T15:23:45.514Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T15:23:45.514Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T15:23:45.514Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T15:23:45.514Z] 7264a8db6415: Pulling fs layer [2023-09-27T15:23:45.514Z] c4d48a809fc2: Pulling fs layer [2023-09-27T15:23:45.514Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T15:23:45.514Z] ad3a456e5733: Pulling fs layer [2023-09-27T15:23:45.514Z] 33e27b845d1e: Pulling fs layer [2023-09-27T15:23:45.514Z] c68163c4e522: Pulling fs layer [2023-09-27T15:23:45.514Z] 50da416c3ac9: Pulling fs layer [2023-09-27T15:23:45.514Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T15:23:45.514Z] ad3a456e5733: Waiting [2023-09-27T15:23:45.514Z] 33e27b845d1e: Waiting [2023-09-27T15:23:45.514Z] 50da416c3ac9: Waiting [2023-09-27T15:23:45.514Z] c68163c4e522: Waiting [2023-09-27T15:23:45.514Z] 23d2d4c4bb30: Waiting [2023-09-27T15:23:45.776Z] c4d48a809fc2: Download complete [2023-09-27T15:23:45.776Z] ad3a456e5733: Verifying Checksum [2023-09-27T15:23:45.776Z] ad3a456e5733: Download complete [2023-09-27T15:23:45.776Z] 33e27b845d1e: Download complete [2023-09-27T15:23:45.776Z] 7264a8db6415: Verifying Checksum [2023-09-27T15:23:45.776Z] 7264a8db6415: Download complete [2023-09-27T15:23:45.776Z] c68163c4e522: Verifying Checksum [2023-09-27T15:23:45.776Z] c68163c4e522: Download complete [2023-09-27T15:23:45.776Z] 7264a8db6415: Pull complete [2023-09-27T15:23:46.034Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T15:23:46.034Z] 23d2d4c4bb30: Download complete [2023-09-27T15:23:46.034Z] c4d48a809fc2: Pull complete [2023-09-27T15:23:46.034Z] 4f1c88b9dad5: Verifying Checksum [2023-09-27T15:23:46.034Z] 4f1c88b9dad5: Download complete [2023-09-27T15:23:46.610Z] 50da416c3ac9: Verifying Checksum [2023-09-27T15:23:46.610Z] 50da416c3ac9: Download complete [2023-09-27T15:23:49.892Z] 4f1c88b9dad5: Pull complete [2023-09-27T15:23:49.892Z] ad3a456e5733: Pull complete [2023-09-27T15:23:49.892Z] 33e27b845d1e: Pull complete [2023-09-27T15:23:49.892Z] c68163c4e522: Pull complete [2023-09-27T15:23:51.790Z] 50da416c3ac9: Pull complete [2023-09-27T15:23:52.358Z] 23d2d4c4bb30: Pull complete [2023-09-27T15:23:52.358Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T15:23:52.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T15:23:52.358Z] ---> 0786185ac409 [2023-09-27T15:23:52.358Z] Step 3/10 : ARG MAKE=make build [2023-09-27T15:23:56.550Z] ---> Running in 14d4519da328 [2023-09-27T15:23:56.550Z] Removing intermediate container 14d4519da328 [2023-09-27T15:23:56.550Z] ---> 0277f7e1b170 [2023-09-27T15:23:56.550Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T15:23:56.550Z] ---> Running in 91594c743da3 [2023-09-27T15:23:56.550Z] Removing intermediate container 91594c743da3 [2023-09-27T15:23:56.550Z] ---> 2bc1e6da6c32 [2023-09-27T15:23:56.550Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T15:23:56.550Z] ---> Running in c69eb0e2c601 [2023-09-27T15:23:56.550Z] Removing intermediate container c69eb0e2c601 [2023-09-27T15:23:56.550Z] ---> b48ed1dd1670 [2023-09-27T15:23:56.550Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T15:23:56.550Z] ---> Running in 1a1c4933acda [2023-09-27T15:23:56.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:23:57.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T15:23:57.328Z] OK: 264 MiB in 52 packages [2023-09-27T15:23:57.588Z] Removing intermediate container 1a1c4933acda [2023-09-27T15:23:57.588Z] ---> 0c5668416838 [2023-09-27T15:23:57.588Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T15:23:57.588Z] ---> 5ed764040bbe [2023-09-27T15:23:57.588Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T15:23:57.588Z] ---> Running in 3685a5f08b02 [2023-09-27T15:23:58.922Z] Still waiting to schedule task [2023-09-27T15:23:58.923Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-27T15:24:36.332Z] Removing intermediate container 3685a5f08b02 [2023-09-27T15:24:36.332Z] ---> f28f2170a1c7 [2023-09-27T15:24:36.332Z] Step 9/10 : COPY . . [2023-09-27T15:24:36.332Z] ---> 9aa2acb2e94a [2023-09-27T15:24:36.332Z] Step 10/10 : RUN ${MAKE} [2023-09-27T15:24:36.332Z] ---> Running in 8e0c687b3c5f [2023-09-27T15:24:36.332Z] noop [2023-09-27T15:24:36.332Z] Removing intermediate container 8e0c687b3c5f [2023-09-27T15:24:36.332Z] ---> 3022a5500d4d [2023-09-27T15:24:36.332Z] Successfully built 3022a5500d4d [2023-09-27T15:24:36.332Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:24:36.637Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T15:24:36.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:24:36.703Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:24:36.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T15:24:37.038Z] $ docker top 422c3ff45d3f42c3493191284e479a07c5773bb2820036bc699811779263fece -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:24:37.377Z] + go version [2023-09-27T15:24:37.377Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T15:24:37.387Z] $ docker stop --time=1 422c3ff45d3f42c3493191284e479a07c5773bb2820036bc699811779263fece [2023-09-27T15:24:38.746Z] $ docker rm -f --volumes 422c3ff45d3f42c3493191284e479a07c5773bb2820036bc699811779263fece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:24:39.130Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T15:24:39.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:24:39.196Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:24:39.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T15:24:39.563Z] $ docker top cf3aba98e030830d3c3ce81dc3c789c476184ec1cbeb31f6c1be2b57b0df9f0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:24:39.902Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-27T15:24:40.193Z] + make test [2023-09-27T15:24:40.194Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T15:24:46.757Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T15:24:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T15:24:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T15:24:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T15:24:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T15:24:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T15:25:00.321Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T15:25:00.321Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T15:25:00.886Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.056s coverage: 27.6% of statements [2023-09-27T15:25:01.144Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T15:25:01.144Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements [2023-09-27T15:25:01.144Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements [2023-09-27T15:25:02.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.087s coverage: 71.8% of statements [2023-09-27T15:25:02.081Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T15:25:02.081Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T15:25:02.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T15:25:05.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements [2023-09-27T15:25:06.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.170s coverage: 45.9% of statements [2023-09-27T15:25:06.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements [2023-09-27T15:25:06.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements [2023-09-27T15:25:06.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-09-27T15:25:24.281Z] GO111MODULE=on go vet ./... [2023-09-27T15:25:25.363Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8039 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-27T15:25:25.376Z] Running in /w/workspace/device-sdk-go/261 [Pipeline] { [Pipeline] checkout [2023-09-27T15:25:25.416Z] The recommended git tool is: git [2023-09-27T15:25:27.556Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T15:25:27.557Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T15:25:27.557Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T15:25:27.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T15:25:27.842Z] $ docker stop --time=1 cf3aba98e030830d3c3ce81dc3c789c476184ec1cbeb31f6c1be2b57b0df9f0f [2023-09-27T15:25:30.406Z] using credential edgex-jenkins-ssh [2023-09-27T15:25:30.420Z] Cloning the remote Git repository [2023-09-27T15:25:31.431Z] $ docker rm -f --volumes cf3aba98e030830d3c3ce81dc3c789c476184ec1cbeb31f6c1be2b57b0df9f0f [2023-09-27T15:25:30.460Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T15:25:30.549Z] > git init /w/workspace/device-sdk-go/261 # timeout=10 [2023-09-27T15:25:30.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T15:25:30.683Z] > git --version # timeout=10 [2023-09-27T15:25:30.703Z] > git --version # 'git version 2.25.1' [2023-09-27T15:25:30.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T15:25:30.843Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T15:25:31.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T15:25:32.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T15:25:32.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T15:25:32.983Z] + ls -al . [2023-09-27T15:25:32.983Z] total 304 [2023-09-27T15:25:32.983Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 15:24 . [2023-09-27T15:25:32.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:23 .. [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 15:23 .dockerignore [2023-09-27T15:25:32.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:25 .git [2023-09-27T15:25:32.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:23 .github [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 15:23 .gitignore [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 15:23 .golangci.yml [2023-09-27T15:25:32.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:23 .semver [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 15:23 CHANGELOG.md [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:23 GOVERNANCE.md [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 15:23 Jenkinsfile [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 15:23 LICENSE [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 15:23 Makefile [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 15:23 OWNERS.md [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 15:23 README.md [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 15:23 VERSION [2023-09-27T15:25:32.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:23 bin [2023-09-27T15:25:32.983Z] -rw-r--r-- 1 jenkins jenkins 122153 Sep 27 15:25 coverage.out [2023-09-27T15:25:32.983Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 15:23 example [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 15:23 go.mod [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 15:23 go.sum [2023-09-27T15:25:32.983Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:23 internal [2023-09-27T15:25:32.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:23 openapi [2023-09-27T15:25:32.983Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 15:23 pkg [2023-09-27T15:25:32.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:23 snap [2023-09-27T15:25:32.983Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 15:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:25:33.301Z] + 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=1f885853b7afeee748945214d1e34d19c3162505 --label arch=amd64 --label version=3.1.0-dev.32 . [2023-09-27T15:25:33.301Z] Sending build context to Docker daemon 11.32MB [2023-09-27T15:25:33.301Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T15:25:33.301Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T15:25:33.301Z] ---> 3022a5500d4d [2023-09-27T15:25:33.301Z] Step 3/23 : ARG MAKE=make build [2023-09-27T15:25:33.560Z] ---> Running in 6075c5c0baab [2023-09-27T15:25:33.560Z] Removing intermediate container 6075c5c0baab [2023-09-27T15:25:33.560Z] ---> 6f24e6d63075 [2023-09-27T15:25:33.560Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T15:25:33.560Z] ---> Running in 1927035c2f5d [2023-09-27T15:25:33.818Z] Removing intermediate container 1927035c2f5d [2023-09-27T15:25:33.818Z] ---> a49a8d7ec00c [2023-09-27T15:25:33.818Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T15:25:33.818Z] ---> Running in 0a40eac96620 [2023-09-27T15:25:33.818Z] Removing intermediate container 0a40eac96620 [2023-09-27T15:25:33.818Z] ---> 27641e43f368 [2023-09-27T15:25:33.818Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T15:25:33.818Z] ---> Running in f38698962881 [2023-09-27T15:25:34.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:25:34.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T15:25:34.593Z] OK: 264 MiB in 52 packages [2023-09-27T15:25:34.852Z] Removing intermediate container f38698962881 [2023-09-27T15:25:34.852Z] ---> e92fe64086db [2023-09-27T15:25:34.852Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T15:25:35.110Z] ---> 9e6c2327dd74 [2023-09-27T15:25:35.110Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T15:25:35.110Z] ---> Running in 1d672edfb770 [2023-09-27T15:25:34.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-27T15:25:34.838Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T15:25:35.619Z] Avoid second fetch [2023-09-27T15:25:35.620Z] Checking out Revision 1f885853b7afeee748945214d1e34d19c3162505 (main) [2023-09-27T15:25:35.675Z] Removing intermediate container 1d672edfb770 [2023-09-27T15:25:35.675Z] ---> ec3af90e06dc [2023-09-27T15:25:35.675Z] Step 9/23 : COPY . . [2023-09-27T15:25:36.197Z] Commit message: "feat: Add device last connected metrics (#1515)" [2023-09-27T15:25:36.241Z] ---> 139e4b31ccd7 [2023-09-27T15:25:36.241Z] Step 10/23 : RUN ${MAKE} [2023-09-27T15:25:36.241Z] ---> Running in 12a7b96f1da0 [2023-09-27T15:25:36.499Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T15:25:35.636Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T15:25:35.713Z] > git checkout -f 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 [2023-09-27T15:25:37.048Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T15:25:37.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T15:25:37.048Z] Dload Upload Total Spent Left Speed [2023-09-27T15:25:37.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-09-27T15:25:37.715Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-27T15:25:38.050Z] + sudo tee /etc/docker/daemon.new [2023-09-27T15:25:38.050Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-27T15:25:38.050Z] { [2023-09-27T15:25:38.050Z] "registry-mirrors": [ [2023-09-27T15:25:38.050Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T15:25:38.050Z] ], [2023-09-27T15:25:38.050Z] "bip": "10.250.0.254/24", [2023-09-27T15:25:38.050Z] "hosts": [ [2023-09-27T15:25:38.050Z] "tcp://0.0.0.0:5555", [2023-09-27T15:25:38.050Z] "unix:///var/run/docker.sock" [2023-09-27T15:25:38.050Z] ], [2023-09-27T15:25:38.050Z] "mtu": 1458, [2023-09-27T15:25:38.050Z] "selinux-enabled": true, [2023-09-27T15:25:38.050Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T15:25:38.050Z] } [Pipeline] sh [2023-09-27T15:25:38.390Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T15:25:38.718Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:25:56.972Z] provisioning config files... [2023-09-27T15:25:56.996Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/261@tmp/config5029458489627074327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:25:57.341Z] ---> docker-login.sh [2023-09-27T15:25:57.341Z] nexus3.edgexfoundry.org:10001 [2023-09-27T15:25:57.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:25:57.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:25:57.887Z] Configure a credential helper to remove this warning. See [2023-09-27T15:25:57.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:25:57.887Z] [2023-09-27T15:25:57.887Z] Login Succeeded [2023-09-27T15:25:57.887Z] nexus3.edgexfoundry.org:10002 [2023-09-27T15:25:58.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:25:58.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:25:58.157Z] Configure a credential helper to remove this warning. See [2023-09-27T15:25:58.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:25:58.157Z] [2023-09-27T15:25:58.157Z] Login Succeeded [2023-09-27T15:25:58.157Z] nexus3.edgexfoundry.org:10003 [2023-09-27T15:25:58.417Z] Removing intermediate container 12a7b96f1da0 [2023-09-27T15:25:58.417Z] ---> e9994827b825 [2023-09-27T15:25:58.417Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T15:25:58.417Z] 3.18: Pulling from library/alpine [2023-09-27T15:25:58.417Z] 7264a8db6415: Already exists [2023-09-27T15:25:58.417Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T15:25:58.417Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T15:25:58.417Z] ---> 7e01a0d0a1dc [2023-09-27T15:25:58.417Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T15:25:58.417Z] ---> Running in 83b8ba6f308d [2023-09-27T15:25:58.417Z] Removing intermediate container 83b8ba6f308d [2023-09-27T15:25:58.417Z] ---> 20ebeb3a0899 [2023-09-27T15:25:58.417Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T15:25:58.417Z] ---> Running in d3d8170a3af5 [2023-09-27T15:25:58.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:25:58.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T15:25:58.417Z] OK: 7 MiB in 15 packages [2023-09-27T15:25:58.417Z] Removing intermediate container d3d8170a3af5 [2023-09-27T15:25:58.417Z] ---> 2d2bd5493fc6 [2023-09-27T15:25:58.417Z] Step 14/23 : WORKDIR / [2023-09-27T15:25:58.417Z] ---> Running in f287059c51b7 [2023-09-27T15:25:58.417Z] Removing intermediate container f287059c51b7 [2023-09-27T15:25:58.417Z] ---> 2a51e0b47f10 [2023-09-27T15:25:58.417Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T15:25:58.417Z] ---> 0fee41632fad [2023-09-27T15:25:58.417Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T15:25:58.417Z] ---> 88e059952d78 [2023-09-27T15:25:58.417Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T15:25:58.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:25:58.676Z] ---> 78eebb413583 [2023-09-27T15:25:58.677Z] Step 18/23 : EXPOSE 59999 [2023-09-27T15:25:58.677Z] ---> Running in f4458028b499 [2023-09-27T15:25:58.677Z] Removing intermediate container f4458028b499 [2023-09-27T15:25:58.677Z] ---> 133902aac3eb [2023-09-27T15:25:58.677Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T15:25:58.677Z] ---> Running in f5ded1eae4ee [2023-09-27T15:25:58.677Z] Removing intermediate container f5ded1eae4ee [2023-09-27T15:25:58.677Z] ---> 4f911c0f3829 [2023-09-27T15:25:58.677Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T15:25:58.677Z] ---> Running in 33498c8cec74 [2023-09-27T15:25:58.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:25:58.705Z] Configure a credential helper to remove this warning. See [2023-09-27T15:25:58.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:25:58.705Z] [2023-09-27T15:25:58.705Z] Login Succeeded [2023-09-27T15:25:58.705Z] nexus3.edgexfoundry.org:10004 [2023-09-27T15:25:58.936Z] Removing intermediate container 33498c8cec74 [2023-09-27T15:25:58.936Z] ---> 7216c0070c7d [2023-09-27T15:25:58.936Z] Step 21/23 : LABEL arch=amd64 [2023-09-27T15:25:58.936Z] ---> Running in 888f5442d354 [2023-09-27T15:25:58.936Z] Removing intermediate container 888f5442d354 [2023-09-27T15:25:58.936Z] ---> 86190ca1bc4c [2023-09-27T15:25:58.936Z] Step 22/23 : LABEL git_sha=1f885853b7afeee748945214d1e34d19c3162505 [2023-09-27T15:25:58.936Z] ---> Running in 55bd3c0a73dd [2023-09-27T15:25:58.936Z] Removing intermediate container 55bd3c0a73dd [2023-09-27T15:25:58.936Z] ---> b5b01e4aaa0e [2023-09-27T15:25:58.936Z] Step 23/23 : LABEL version=3.1.0-dev.32 [2023-09-27T15:25:58.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:25:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:25:58.973Z] Configure a credential helper to remove this warning. See [2023-09-27T15:25:58.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:25:58.973Z] [2023-09-27T15:25:58.973Z] Login Succeeded [2023-09-27T15:25:58.973Z] docker.io [2023-09-27T15:25:59.194Z] ---> Running in 50124b16769d [2023-09-27T15:25:59.194Z] Removing intermediate container 50124b16769d [2023-09-27T15:25:59.194Z] ---> 6e2f0b1083f0 [2023-09-27T15:25:59.194Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T15:25:59.194Z] Successfully built 6e2f0b1083f0 [2023-09-27T15:25:59.194Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-09-27T15:25:59.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. 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-09-27T15:25:59.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:25:59.511Z] Configure a credential helper to remove this warning. See [2023-09-27T15:25:59.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:25:59.511Z] [2023-09-27T15:25:59.511Z] Login Succeeded [2023-09-27T15:25:59.511Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T15:25:59.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-27T15:25:59.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:25:59.641Z] [2023-09-27T15:25:59.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-09-27T15:25:59.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:25:59.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:25:59.798Z] ========================================================= [2023-09-27T15:25:59.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T15:25:59.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:25:59.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:25:59.937Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T15:25:59.937Z] 5eb5b503b376: Pulling fs layer [2023-09-27T15:25:59.937Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T15:25:59.937Z] ec43610c2a17: Pulling fs layer [2023-09-27T15:25:59.937Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T15:25:59.937Z] 33b1e0a273af: Pulling fs layer [2023-09-27T15:25:59.937Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T15:25:59.937Z] 2f39f015ded8: Pulling fs layer [2023-09-27T15:25:59.937Z] 33b1e0a273af: Waiting [2023-09-27T15:25:59.937Z] 5d3b04190fa2: Waiting [2023-09-27T15:25:59.937Z] 2f39f015ded8: Waiting [2023-09-27T15:25:59.937Z] 3a2ae6a8a46f: Waiting [2023-09-27T15:25:59.937Z] 5c69ac0246d0: Download complete [2023-09-27T15:25:59.937Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-27T15:25:59.937Z] 3a2ae6a8a46f: Download complete [2023-09-27T15:25:59.937Z] 33b1e0a273af: Verifying Checksum [2023-09-27T15:25:59.937Z] 33b1e0a273af: Download complete [2023-09-27T15:25:59.937Z] 5d3b04190fa2: Verifying Checksum [2023-09-27T15:25:59.937Z] 5d3b04190fa2: Download complete [2023-09-27T15:25:59.937Z] ec43610c2a17: Verifying Checksum [2023-09-27T15:25:59.937Z] ec43610c2a17: Download complete [2023-09-27T15:26:00.143Z] + 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-09-27T15:26:00.198Z] 5eb5b503b376: Verifying Checksum [2023-09-27T15:26:00.198Z] 5eb5b503b376: Download complete [2023-09-27T15:26:00.412Z] Sending build context to Docker daemon 5.988MB [2023-09-27T15:26:00.412Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T15:26:00.412Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T15:26:00.764Z] 2f39f015ded8: Download complete [2023-09-27T15:26:01.329Z] 5eb5b503b376: Pull complete [2023-09-27T15:26:01.586Z] 5c69ac0246d0: Pull complete [2023-09-27T15:26:01.844Z] ec43610c2a17: Pull complete [2023-09-27T15:26:02.104Z] 3a2ae6a8a46f: Pull complete [2023-09-27T15:26:02.104Z] 33b1e0a273af: Pull complete [2023-09-27T15:26:02.104Z] 5d3b04190fa2: Pull complete [2023-09-27T15:26:02.364Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T15:26:02.364Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T15:26:02.364Z] 5d54e960e981: Pulling fs layer [2023-09-27T15:26:02.364Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T15:26:02.364Z] f0e02332f6b5: Pulling fs layer [2023-09-27T15:26:02.364Z] cefa15bbcfad: Pulling fs layer [2023-09-27T15:26:02.364Z] 17808c966233: Pulling fs layer [2023-09-27T15:26:02.364Z] f4c1fc716caa: Pulling fs layer [2023-09-27T15:26:02.364Z] cefa15bbcfad: Waiting [2023-09-27T15:26:02.364Z] 17808c966233: Waiting [2023-09-27T15:26:02.364Z] f4c1fc716caa: Waiting [2023-09-27T15:26:02.364Z] f0e02332f6b5: Waiting [2023-09-27T15:26:02.364Z] 5d54e960e981: Verifying Checksum [2023-09-27T15:26:02.364Z] 5d54e960e981: Download complete [2023-09-27T15:26:02.364Z] f0e02332f6b5: Verifying Checksum [2023-09-27T15:26:02.364Z] f0e02332f6b5: Download complete [2023-09-27T15:26:02.364Z] cefa15bbcfad: Verifying Checksum [2023-09-27T15:26:02.364Z] cefa15bbcfad: Download complete [2023-09-27T15:26:02.364Z] 9fda8d8052c6: Download complete [2023-09-27T15:26:02.635Z] f4c1fc716caa: Verifying Checksum [2023-09-27T15:26:02.635Z] f4c1fc716caa: Download complete [2023-09-27T15:26:03.233Z] 9fda8d8052c6: Pull complete [2023-09-27T15:26:03.824Z] 5d54e960e981: Pull complete [2023-09-27T15:26:04.096Z] c4a7e357bf2a: Verifying Checksum [2023-09-27T15:26:04.096Z] c4a7e357bf2a: Download complete [2023-09-27T15:26:05.056Z] 17808c966233: Verifying Checksum [2023-09-27T15:26:05.056Z] 17808c966233: Download complete [2023-09-27T15:26:06.287Z] 2f39f015ded8: Pull complete [2023-09-27T15:26:06.287Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T15:26:06.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:26:06.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:26:06.365Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:26:06.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T15:26:10.132Z] $ docker top 783bfd0949ae1b3506e725a0367bff422f6d708a28a141c7086ffde9a3290d15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:26:10.541Z] ---> job-cost.sh [2023-09-27T15:26:10.541Z] lf-activate-venv: SKIPPING [2023-09-27T15:26:10.541Z] INFO: No Stack... [2023-09-27T15:26:10.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T15:26:11.059Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T15:26:11.345Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-27T15:26:11.345Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T15:26:11.359Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [2023-09-27T15:26:11.365Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] did not exist. Created. [2023-09-27T15:26:11.365Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T15:26:11.670Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T15:26:11.705Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T15:26:11.764Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T15:26:11.785Z] $ docker stop --time=1 783bfd0949ae1b3506e725a0367bff422f6d708a28a141c7086ffde9a3290d15 [2023-09-27T15:26:12.930Z] $ docker rm -f --volumes 783bfd0949ae1b3506e725a0367bff422f6d708a28a141c7086ffde9a3290d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T15:26:15.159Z] c4a7e357bf2a: Pull complete [2023-09-27T15:26:15.427Z] f0e02332f6b5: Pull complete [2023-09-27T15:26:15.696Z] cefa15bbcfad: Pull complete [2023-09-27T15:26:22.372Z] 17808c966233: Pull complete [2023-09-27T15:26:23.791Z] f4c1fc716caa: Pull complete [2023-09-27T15:26:23.791Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T15:26:23.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T15:26:23.791Z] ---> ea914061e18c [2023-09-27T15:26:23.791Z] Step 3/10 : ARG MAKE=make build [2023-09-27T15:26:25.204Z] ---> Running in bcefbc009933 [2023-09-27T15:26:25.473Z] Removing intermediate container bcefbc009933 [2023-09-27T15:26:25.473Z] ---> c65dcd001349 [2023-09-27T15:26:25.473Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T15:26:25.473Z] ---> Running in 511b0fad072d [2023-09-27T15:26:26.061Z] Removing intermediate container 511b0fad072d [2023-09-27T15:26:26.061Z] ---> 85eaeb87ab97 [2023-09-27T15:26:26.061Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T15:26:26.061Z] ---> Running in f09b75800cdd [2023-09-27T15:26:26.330Z] Removing intermediate container f09b75800cdd [2023-09-27T15:26:26.330Z] ---> f217e7632b84 [2023-09-27T15:26:26.330Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T15:26:26.330Z] ---> Running in 87e6805f2fe9 [2023-09-27T15:26:27.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:26:27.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T15:26:29.378Z] OK: 266 MiB in 52 packages [2023-09-27T15:26:29.964Z] Removing intermediate container 87e6805f2fe9 [2023-09-27T15:26:29.964Z] ---> cf21e5dd4ea5 [2023-09-27T15:26:29.964Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T15:26:30.549Z] ---> f2e4ee490457 [2023-09-27T15:26:30.549Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T15:26:30.549Z] ---> Running in fe434f228c77 [2023-09-27T15:27:38.435Z] Removing intermediate container fe434f228c77 [2023-09-27T15:27:38.435Z] ---> 14b5684cf301 [2023-09-27T15:27:38.435Z] Step 9/10 : COPY . . [2023-09-27T15:27:39.397Z] ---> 29cefc06f3f7 [2023-09-27T15:27:39.397Z] Step 10/10 : RUN ${MAKE} [2023-09-27T15:27:39.397Z] ---> Running in 0c35cf88efd8 [2023-09-27T15:27:40.355Z] noop [2023-09-27T15:27:40.938Z] Removing intermediate container 0c35cf88efd8 [2023-09-27T15:27:40.938Z] ---> 20d47b673a3a [2023-09-27T15:27:40.938Z] Successfully built 20d47b673a3a [2023-09-27T15:27:40.938Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:27:41.285Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T15:27:41.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:27:41.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2023-09-27T15:27:41.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/261 -v /w/workspace/device-sdk-go/261:/w/workspace/device-sdk-go/261:rw,z -v /w/workspace/device-sdk-go/261@tmp:/w/workspace/device-sdk-go/261@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-09-27T15:27:42.765Z] $ docker top 37d371332c4756e4f87c6d76566ca08a6ec79e9ba3362de1f3b841c8210a3834 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:27:43.597Z] + go version [2023-09-27T15:27:43.597Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T15:27:43.607Z] $ docker stop --time=1 37d371332c4756e4f87c6d76566ca08a6ec79e9ba3362de1f3b841c8210a3834 [2023-09-27T15:27:45.199Z] $ docker rm -f --volumes 37d371332c4756e4f87c6d76566ca08a6ec79e9ba3362de1f3b841c8210a3834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:27:45.757Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T15:27:45.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:27:45.937Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2023-09-27T15:27:45.990Z] $ 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/261 -v /w/workspace/device-sdk-go/261:/w/workspace/device-sdk-go/261:rw,z -v /w/workspace/device-sdk-go/261@tmp:/w/workspace/device-sdk-go/261@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-09-27T15:27:47.138Z] $ docker top 0e86fbf5e5db839ad1977a111ab73ce9355fdad127cb140034c4a628af4dd787 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:27:47.976Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/261 [Pipeline] fileExists [Pipeline] sh [2023-09-27T15:27:48.619Z] + make test [2023-09-27T15:27:48.619Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T15:28:20.823Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T15:29:57.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T15:29:57.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T15:29:57.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T15:29:57.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T15:29:57.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T15:29:57.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 27.6% of statements [2023-09-27T15:30:05.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.454s coverage: 81.5% of statements [2023-09-27T15:30:15.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T15:30:15.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T15:30:15.748Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.370s coverage: 86.0% of statements [2023-09-27T15:30:21.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T15:30:22.048Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.488s coverage: 71.8% of statements [2023-09-27T15:30:25.392Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.321s coverage: 14.4% of statements [2023-09-27T15:30:25.662Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.933s coverage: 45.9% of statements [2023-09-27T15:30:25.930Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T15:30:25.930Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T15:30:27.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.521s coverage: 68.5% of statements [2023-09-27T15:30:32.127Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.690s coverage: 89.2% of statements [2023-09-27T15:30:32.127Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T15:30:33.090Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.228s coverage: 5.5% of statements [2023-09-27T15:30:34.050Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T15:30:34.050Z] GO111MODULE=on go vet ./... [2023-09-27T15:32:25.697Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T15:32:25.697Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T15:32:25.697Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T15:32:25.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T15:32:25.703Z] $ docker stop --time=1 0e86fbf5e5db839ad1977a111ab73ce9355fdad127cb140034c4a628af4dd787 [2023-09-27T15:32:27.605Z] $ docker rm -f --volumes 0e86fbf5e5db839ad1977a111ab73ce9355fdad127cb140034c4a628af4dd787 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T15:32:29.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T15:32:29.234Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T15:32:29.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T15:32:30.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T15:32:30.446Z] + ls -al . [2023-09-27T15:32:30.446Z] total 300 [2023-09-27T15:32:30.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 15:27 . [2023-09-27T15:32:30.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:25 .. [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 15:25 .dockerignore [2023-09-27T15:32:30.446Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:25 .git [2023-09-27T15:32:30.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:25 .github [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 15:25 .gitignore [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 15:25 .golangci.yml [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 15:25 CHANGELOG.md [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:25 GOVERNANCE.md [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 15:25 Jenkinsfile [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 15:25 LICENSE [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 15:25 Makefile [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 15:25 OWNERS.md [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 15:25 README.md [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 15:23 VERSION [2023-09-27T15:32:30.446Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:25 bin [2023-09-27T15:32:30.446Z] -rw-r--r-- 1 jenkins jenkins 122153 Sep 27 15:30 coverage.out [2023-09-27T15:32:30.446Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 15:25 example [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 15:25 go.mod [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 15:25 go.sum [2023-09-27T15:32:30.446Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:25 internal [2023-09-27T15:32:30.446Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:25 openapi [2023-09-27T15:32:30.446Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 15:25 pkg [2023-09-27T15:32:30.446Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:25 snap [2023-09-27T15:32:30.446Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:32:30.783Z] + 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=1f885853b7afeee748945214d1e34d19c3162505 --label arch=arm64 --label version=3.1.0-dev.32 . [2023-09-27T15:32:31.052Z] Sending build context to Docker daemon 6.111MB [2023-09-27T15:32:31.052Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T15:32:31.052Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T15:32:31.052Z] ---> 20d47b673a3a [2023-09-27T15:32:31.052Z] Step 3/23 : ARG MAKE=make build [2023-09-27T15:32:31.320Z] ---> Running in e18cae1baf96 [2023-09-27T15:32:31.586Z] Removing intermediate container e18cae1baf96 [2023-09-27T15:32:31.586Z] ---> 65582d0060c1 [2023-09-27T15:32:31.586Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T15:32:31.586Z] ---> Running in 4b51a33880a0 [2023-09-27T15:32:31.856Z] Removing intermediate container 4b51a33880a0 [2023-09-27T15:32:31.856Z] ---> 9160f9e388bb [2023-09-27T15:32:31.856Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T15:32:32.123Z] ---> Running in 204352256e4f [2023-09-27T15:32:32.389Z] Removing intermediate container 204352256e4f [2023-09-27T15:32:32.389Z] ---> e8b5bc6641cb [2023-09-27T15:32:32.389Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T15:32:32.389Z] ---> Running in 3921fe076f04 [2023-09-27T15:32:33.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:32:33.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T15:32:34.572Z] OK: 266 MiB in 52 packages [2023-09-27T15:32:35.979Z] Removing intermediate container 3921fe076f04 [2023-09-27T15:32:35.979Z] ---> 475079954090 [2023-09-27T15:32:35.979Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T15:32:36.246Z] ---> 044917e95eec [2023-09-27T15:32:36.246Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T15:32:36.246Z] ---> Running in 8c379a5677b5 [2023-09-27T15:32:38.198Z] Removing intermediate container 8c379a5677b5 [2023-09-27T15:32:38.198Z] ---> d9b161439507 [2023-09-27T15:32:38.198Z] Step 9/23 : COPY . . [2023-09-27T15:32:39.607Z] ---> 91d496d40217 [2023-09-27T15:32:39.607Z] Step 10/23 : RUN ${MAKE} [2023-09-27T15:32:39.607Z] ---> Running in 888427dd4930 [2023-09-27T15:32:40.570Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-27T15:34:32.212Z] Removing intermediate container 888427dd4930 [2023-09-27T15:34:32.212Z] ---> eaec3ba5e697 [2023-09-27T15:34:32.212Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T15:34:32.212Z] 3.18: Pulling from library/alpine [2023-09-27T15:34:32.212Z] 9fda8d8052c6: Already exists [2023-09-27T15:34:32.212Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T15:34:32.212Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T15:34:32.212Z] ---> f6648c04cd6c [2023-09-27T15:34:32.212Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T15:34:32.212Z] ---> Running in e47bcd7a0e0f [2023-09-27T15:34:32.212Z] Removing intermediate container e47bcd7a0e0f [2023-09-27T15:34:32.212Z] ---> d2a63f188444 [2023-09-27T15:34:32.212Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T15:34:32.212Z] ---> Running in 9f9700de0bcc [2023-09-27T15:34:32.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:34:32.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T15:34:32.212Z] OK: 8 MiB in 15 packages [2023-09-27T15:34:32.212Z] Removing intermediate container 9f9700de0bcc [2023-09-27T15:34:32.212Z] ---> 90b899cf84e8 [2023-09-27T15:34:32.212Z] Step 14/23 : WORKDIR / [2023-09-27T15:34:32.212Z] ---> Running in 0cbc2dc46e17 [2023-09-27T15:34:32.212Z] Removing intermediate container 0cbc2dc46e17 [2023-09-27T15:34:32.212Z] ---> b1ad26e1d257 [2023-09-27T15:34:32.212Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T15:34:32.212Z] ---> 4094bab3082e [2023-09-27T15:34:32.212Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T15:34:32.212Z] ---> 160f23f51e26 [2023-09-27T15:34:32.212Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T15:34:32.212Z] ---> 560e9b581c38 [2023-09-27T15:34:32.212Z] Step 18/23 : EXPOSE 59999 [2023-09-27T15:34:32.212Z] ---> Running in 190d42d74ba5 [2023-09-27T15:34:32.212Z] Removing intermediate container 190d42d74ba5 [2023-09-27T15:34:32.212Z] ---> 9140fd148a49 [2023-09-27T15:34:32.212Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T15:34:32.212Z] ---> Running in 5dce7928d655 [2023-09-27T15:34:32.212Z] Removing intermediate container 5dce7928d655 [2023-09-27T15:34:32.212Z] ---> f67bc0e2d4b9 [2023-09-27T15:34:32.212Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T15:34:32.212Z] ---> Running in 9668e5a173d7 [2023-09-27T15:34:32.212Z] Removing intermediate container 9668e5a173d7 [2023-09-27T15:34:32.212Z] ---> 62c62cc6bf4e [2023-09-27T15:34:32.212Z] Step 21/23 : LABEL arch=arm64 [2023-09-27T15:34:32.212Z] ---> Running in 44ce33145587 [2023-09-27T15:34:32.212Z] Removing intermediate container 44ce33145587 [2023-09-27T15:34:32.212Z] ---> 49c15188f116 [2023-09-27T15:34:32.212Z] Step 22/23 : LABEL git_sha=1f885853b7afeee748945214d1e34d19c3162505 [2023-09-27T15:34:32.212Z] ---> Running in 6325fa5b5008 [2023-09-27T15:34:32.212Z] Removing intermediate container 6325fa5b5008 [2023-09-27T15:34:32.212Z] ---> 5a26f85f80a3 [2023-09-27T15:34:32.212Z] Step 23/23 : LABEL version=3.1.0-dev.32 [2023-09-27T15:34:32.212Z] ---> Running in b3699f7ed378 [2023-09-27T15:34:32.212Z] Removing intermediate container b3699f7ed378 [2023-09-27T15:34:32.212Z] ---> 681c98c10c98 [2023-09-27T15:34:32.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T15:34:32.212Z] Successfully built 681c98c10c98 [2023-09-27T15:34:32.212Z] 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-09-27T15:34:32.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T15:34:32.622Z] [2023-09-27T15:34:32.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:34:33.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T15:34:33.014Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T15:34:33.014Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T15:34:33.014Z] 04944245beec: Pulling fs layer [2023-09-27T15:34:33.014Z] 699f458cf7ca: Pulling fs layer [2023-09-27T15:34:33.014Z] 765212b225bb: Pulling fs layer [2023-09-27T15:34:33.014Z] f23df028b6ca: Pulling fs layer [2023-09-27T15:34:33.014Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T15:34:33.014Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T15:34:33.014Z] 2437ff75d9bd: Waiting [2023-09-27T15:34:33.014Z] f23df028b6ca: Waiting [2023-09-27T15:34:33.014Z] d65c8cfc05b1: Waiting [2023-09-27T15:34:33.014Z] 765212b225bb: Waiting [2023-09-27T15:34:33.290Z] 04944245beec: Verifying Checksum [2023-09-27T15:34:33.290Z] 04944245beec: Download complete [2023-09-27T15:34:33.290Z] 765212b225bb: Verifying Checksum [2023-09-27T15:34:33.290Z] 765212b225bb: Download complete [2023-09-27T15:34:33.290Z] f23df028b6ca: Verifying Checksum [2023-09-27T15:34:33.290Z] f23df028b6ca: Download complete [2023-09-27T15:34:33.290Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T15:34:33.290Z] d65c8cfc05b1: Download complete [2023-09-27T15:34:33.290Z] 699f458cf7ca: Verifying Checksum [2023-09-27T15:34:33.290Z] 699f458cf7ca: Download complete [2023-09-27T15:34:33.910Z] 8998bd30e6a1: Download complete [2023-09-27T15:34:36.558Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T15:34:36.558Z] 2437ff75d9bd: Download complete [2023-09-27T15:34:37.968Z] 8998bd30e6a1: Pull complete [2023-09-27T15:34:38.237Z] 04944245beec: Pull complete [2023-09-27T15:34:39.644Z] 699f458cf7ca: Pull complete [2023-09-27T15:34:39.910Z] 765212b225bb: Pull complete [2023-09-27T15:34:40.493Z] f23df028b6ca: Pull complete [2023-09-27T15:34:40.760Z] d65c8cfc05b1: Pull complete [2023-09-27T15:34:55.782Z] 2437ff75d9bd: Pull complete [2023-09-27T15:34:55.782Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T15:34:55.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T15:34:55.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:34:55.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2023-09-27T15:34:56.008Z] $ 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/261 -v /w/workspace/device-sdk-go/261:/w/workspace/device-sdk-go/261:rw,z -v /w/workspace/device-sdk-go/261@tmp:/w/workspace/device-sdk-go/261@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-09-27T15:34:58.491Z] $ docker top 1f8300e97fa56aa80e852c731f1f1cad09fc37086aed2deec66c193a558423db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:34:58.999Z] ---> job-cost.sh [2023-09-27T15:34:59.264Z] lf-activate-venv: SKIPPING [2023-09-27T15:34:59.264Z] INFO: No Stack... [2023-09-27T15:34:59.529Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T15:35:00.480Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T15:35:00.798Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/261/archives/cost.csv [2023-09-27T15:35:00.798Z] [Pipeline] lock [2023-09-27T15:35:01.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [2023-09-27T15:35:01.128Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] did not exist. Created. [2023-09-27T15:35:01.128Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T15:35:01.464Z] /w/workspace/device-sdk-go/261@tmp/durable-2db6ebf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T15:35:02.123Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T15:35:02.143Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T15:35:02.218Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T15:35:02.224Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T15:35:02.225Z] $ docker stop --time=1 1f8300e97fa56aa80e852c731f1f1cad09fc37086aed2deec66c193a558423db [2023-09-27T15:35:03.749Z] $ docker rm -f --volumes 1f8300e97fa56aa80e852c731f1f1cad09fc37086aed2deec66c193a558423db [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-09-27T15:35:04.168Z] provisioning config files... [2023-09-27T15:35:04.174Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12647688812681398894tmp [Pipeline] { [Pipeline] sh [2023-09-27T15:35:04.459Z] + set +x [2023-09-27T15:35:04.459Z] + + curl -s https://codecov.io/bash [2023-09-27T15:35:04.459Z] bash -s -- [2023-09-27T15:35:04.459Z] [2023-09-27T15:35:04.459Z] _____ _ [2023-09-27T15:35:04.459Z] / ____| | | [2023-09-27T15:35:04.459Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T15:35:04.459Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T15:35:04.459Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T15:35:04.459Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T15:35:04.459Z] Bash-1.0.6 [2023-09-27T15:35:04.459Z] [2023-09-27T15:35:04.459Z] [2023-09-27T15:35:04.459Z] ==> git version 2.25.1 found [2023-09-27T15:35:04.459Z] ==> 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-09-27T15:35:04.459Z] Release-Date: 2020-01-08 [2023-09-27T15:35:04.459Z] 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-09-27T15:35:04.459Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T15:35:04.459Z] ==> Jenkins CI detected. [2023-09-27T15:35:04.459Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-27T15:35:04.459Z] project root: . [2023-09-27T15:35:04.459Z] --> token set from env [2023-09-27T15:35:04.459Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T15:35:04.459Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T15:35:04.459Z] ==> Python coveragepy not found [2023-09-27T15:35:04.459Z] ==> Searching for coverage reports in: [2023-09-27T15:35:04.459Z] + . [2023-09-27T15:35:04.459Z] -> Found 1 reports [2023-09-27T15:35:04.459Z] ==> Detecting git/mercurial file structure [2023-09-27T15:35:04.718Z] ==> Reading reports [2023-09-27T15:35:04.718Z] + ./coverage.out bytes=122153 [2023-09-27T15:35:04.718Z] ==> Appending adjustments [2023-09-27T15:35:04.718Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T15:35:04.978Z] + Found adjustments [2023-09-27T15:35:04.978Z] ==> Gzipping contents [2023-09-27T15:35:04.978Z] 20K /tmp/codecov.PQnsax.gz [2023-09-27T15:35:04.978Z] ==> Uploading reports [2023-09-27T15:35:04.978Z] url: https://codecov.io [2023-09-27T15:35:04.978Z] query: branch=main&commit=1f885853b7afeee748945214d1e34d19c3162505&build=261&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F261%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T15:35:04.978Z] -> Pinging Codecov [2023-09-27T15:35:04.978Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=1f885853b7afeee748945214d1e34d19c3162505&build=261&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F261%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-27T15:35:04.978Z] -> Uploading to [2023-09-27T15:35:04.978Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/7E55EF52A471D76F132DFD9A03CDDE97/1f885853b7afeee748945214d1e34d19c3162505/013e2ac2-3d69-4d18-a6f2-08e555e65246.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T153504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9b285583edf069b35df8c6285a25d386a1ed4e83e50ebb57b5c66e3d8b1b236 [2023-09-27T15:35:04.978Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T15:35:04.978Z] Dload Upload Total Spent Left Speed [2023-09-27T15:35:05.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 74288 --:--:-- --:--:-- --:--:-- 73960 100 16715 0 0 100 16715 0 58240 --:--:-- --:--:-- --:--:-- 58038 [2023-09-27T15:35:05.499Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] } [2023-09-27T15:35:05.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-27T15:35:05.725Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-27T15:35:05.738Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:35:06.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T15:35:06.035Z] [2023-09-27T15:35:06.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:35:06.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T15:35:06.328Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-27T15:35:06.328Z] df9b9388f04a: Pulling fs layer [2023-09-27T15:35:06.328Z] 52dc419b0ee2: Pulling fs layer [2023-09-27T15:35:06.328Z] 25bc292e5bac: Pulling fs layer [2023-09-27T15:35:06.328Z] 114826534d7a: Pulling fs layer [2023-09-27T15:35:06.328Z] 4657fd5d0bcf: Pulling fs layer [2023-09-27T15:35:06.328Z] 6ad1cebc031e: Pulling fs layer [2023-09-27T15:35:06.328Z] 8a3aa393b2d8: Pulling fs layer [2023-09-27T15:35:06.328Z] 114826534d7a: Waiting [2023-09-27T15:35:06.328Z] 4657fd5d0bcf: Waiting [2023-09-27T15:35:06.328Z] 6ad1cebc031e: Waiting [2023-09-27T15:35:06.328Z] 8a3aa393b2d8: Waiting [2023-09-27T15:35:06.328Z] 25bc292e5bac: Verifying Checksum [2023-09-27T15:35:06.328Z] 25bc292e5bac: Download complete [2023-09-27T15:35:06.328Z] 52dc419b0ee2: Download complete [2023-09-27T15:35:06.328Z] 4657fd5d0bcf: Verifying Checksum [2023-09-27T15:35:06.328Z] 4657fd5d0bcf: Download complete [2023-09-27T15:35:06.328Z] df9b9388f04a: Download complete [2023-09-27T15:35:06.328Z] df9b9388f04a: Pull complete [2023-09-27T15:35:06.588Z] 6ad1cebc031e: Verifying Checksum [2023-09-27T15:35:06.588Z] 52dc419b0ee2: Pull complete [2023-09-27T15:35:06.588Z] 25bc292e5bac: Pull complete [2023-09-27T15:35:07.158Z] 114826534d7a: Verifying Checksum [2023-09-27T15:35:07.158Z] 114826534d7a: Download complete [2023-09-27T15:35:07.158Z] 8a3aa393b2d8: Verifying Checksum [2023-09-27T15:35:07.158Z] 8a3aa393b2d8: Download complete [2023-09-27T15:35:10.433Z] 114826534d7a: Pull complete [2023-09-27T15:35:10.433Z] 4657fd5d0bcf: Pull complete [2023-09-27T15:35:10.690Z] 6ad1cebc031e: Pull complete [2023-09-27T15:35:13.214Z] 8a3aa393b2d8: Pull complete [2023-09-27T15:35:13.214Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-27T15:35:13.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-27T15:35:13.214Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:35:13.289Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:35:13.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-27T15:35:17.306Z] $ docker top 3a72e412b041125ac67d55f6be90fc93a64fb8242f8d897fadb299b82082d054 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-27T15:35:17.379Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-27T15:35:17.672Z] + set -o pipefail [2023-09-27T15:35:17.672Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-27T15:35:29.887Z] [2023-09-27T15:35:29.887Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-27T15:35:29.887Z] [2023-09-27T15:35:29.887Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/6a5fd91c-0a33-4df9-9419-6af7ef8cf2d8 [2023-09-27T15:35:29.887Z] [2023-09-27T15:35:29.887Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-27T15:35:29.887Z] [2023-09-27T15:35:29.887Z] [2023-09-27T15:35:29.887Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-27T15:35:29.887Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-27T15:35:29.887Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-27T15:35:29.895Z] $ docker stop --time=1 3a72e412b041125ac67d55f6be90fc93a64fb8242f8d897fadb299b82082d054 [2023-09-27T15:35:33.733Z] $ docker rm -f --volumes 3a72e412b041125ac67d55f6be90fc93a64fb8242f8d897fadb299b82082d054 [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-09-27T15:35:34.121Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:35:34.135Z] provisioning config files... [2023-09-27T15:35:34.142Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6824543079733321839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:35:34.439Z] --> edgex-publish-swagger.sh [2023-09-27T15:35:34.439Z] === Publish openapi/v3 API === [2023-09-27T15:35:34.439Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-27T15:35:34.439Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-27T15:35:34.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T15:35:34.439Z] Dload Upload Total Spent Left Speed [2023-09-27T15:35:35.007Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 45879 --:--:-- --:--:-- --:--:-- 45879 [2023-09-27T15:35:35.007Z] [2023-09-27T15:35:35.007Z] [Pipeline] } [2023-09-27T15:35:35.013Z] 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-09-27T15:35:35.413Z] + git log --format=format:%s -1 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] sh [2023-09-27T15:35:35.700Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T15:35:35.700Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:35:36.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:35:36.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:35:36.068Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:35:36.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T15:35:36.476Z] $ docker top 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e -eo pid,comm [2023-09-27T15:35:36.523Z] 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-09-27T15:35:36.523Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T15:35:36.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:35:36.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:35:36.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:35:36.670Z] $ docker exec 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e ssh-agent [2023-09-27T15:35:36.775Z] SSH_AUTH_SOCK=/tmp/ssh-1BnWMAggC6Za/agent.32 [2023-09-27T15:35:36.775Z] SSH_AGENT_PID=38 [2023-09-27T15:35:36.779Z] Running ssh-add (command line suppressed) [2023-09-27T15:35:36.872Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12615955338440603061.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12615955338440603061.key) [2023-09-27T15:35:36.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:35:37.175Z] + git semver tag [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,331 [run_tag] DEBUG tag force:False [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,331 [check_head_tag] DEBUG check head tag [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,332 [execute] INFO git cat-file --batch-check [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,336 [execute] INFO git cat-file --batch [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:35:37.433Z] 2023-09-27 15:35:37,350 [execute] INFO git tag -a v3.1.0-dev.32 -m v3.1.0-dev.32 [2023-09-27T15:35:37.434Z] 2023-09-27 15:35:37,351 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.32', '-m', 'v3.1.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-27T15:35:37.434Z] 2023-09-27 15:35:37,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:35:37.434Z] 3.1.0-dev.32 [Pipeline] } [2023-09-27T15:35:37.439Z] $ docker exec --env ******** --env ******** 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e ssh-agent -k [2023-09-27T15:35:37.540Z] unset SSH_AUTH_SOCK; [2023-09-27T15:35:37.540Z] unset SSH_AGENT_PID; [2023-09-27T15:35:37.541Z] echo Agent pid 38 killed; [2023-09-27T15:35:37.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T15:35:37.864Z] + git semver [Pipeline] } [2023-09-27T15:35:38.130Z] $ docker stop --time=1 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e [2023-09-27T15:35:39.401Z] $ docker rm -f --volumes 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:35:39.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T15:35:39.777Z] [2023-09-27T15:35:39.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:35:40.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T15:35:40.075Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-27T15:35:40.075Z] ab5ef0e58194: Pulling fs layer [2023-09-27T15:35:40.075Z] 9712f1f96733: Pulling fs layer [2023-09-27T15:35:40.075Z] 63f879dbbcfc: Pulling fs layer [2023-09-27T15:35:40.075Z] 0d9ebad4ef96: Pulling fs layer [2023-09-27T15:35:40.075Z] e9a5061849ea: Pulling fs layer [2023-09-27T15:35:40.075Z] d747dcd14b5f: Pulling fs layer [2023-09-27T15:35:40.075Z] 2de7ff778b66: Pulling fs layer [2023-09-27T15:35:40.075Z] e9a5061849ea: Waiting [2023-09-27T15:35:40.075Z] 0d9ebad4ef96: Waiting [2023-09-27T15:35:40.075Z] 2de7ff778b66: Waiting [2023-09-27T15:35:40.075Z] 9712f1f96733: Verifying Checksum [2023-09-27T15:35:40.075Z] 9712f1f96733: Download complete [2023-09-27T15:35:40.333Z] 63f879dbbcfc: Verifying Checksum [2023-09-27T15:35:40.333Z] 63f879dbbcfc: Download complete [2023-09-27T15:35:40.592Z] e9a5061849ea: Verifying Checksum [2023-09-27T15:35:40.592Z] e9a5061849ea: Download complete [2023-09-27T15:35:40.592Z] d747dcd14b5f: Verifying Checksum [2023-09-27T15:35:40.592Z] d747dcd14b5f: Download complete [2023-09-27T15:35:40.592Z] ab5ef0e58194: Verifying Checksum [2023-09-27T15:35:40.592Z] ab5ef0e58194: Download complete [2023-09-27T15:35:40.850Z] 2de7ff778b66: Verifying Checksum [2023-09-27T15:35:40.850Z] 2de7ff778b66: Download complete [2023-09-27T15:35:40.850Z] 0d9ebad4ef96: Verifying Checksum [2023-09-27T15:35:40.850Z] 0d9ebad4ef96: Download complete [2023-09-27T15:35:43.378Z] ab5ef0e58194: Pull complete [2023-09-27T15:35:43.378Z] 9712f1f96733: Pull complete [2023-09-27T15:35:43.943Z] 63f879dbbcfc: Pull complete [2023-09-27T15:35:47.218Z] 0d9ebad4ef96: Pull complete [2023-09-27T15:35:47.475Z] e9a5061849ea: Pull complete [2023-09-27T15:35:47.733Z] d747dcd14b5f: Pull complete [2023-09-27T15:35:48.666Z] 2de7ff778b66: Pull complete [2023-09-27T15:35:48.666Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-27T15:35:48.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-27T15:35:48.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:35:48.751Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:35:48.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-27T15:35:53.780Z] $ docker top c14faba25f25ba3b9f44919b607a24fe60e1834415c08f2ecdce25f55f73f286 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:35:53.854Z] provisioning config files... [2023-09-27T15:35:53.860Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14648843868893500841tmp [2023-09-27T15:35:53.870Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6057018661189719459tmp [2023-09-27T15:35:53.878Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3054941793300009280tmp [Pipeline] { [Pipeline] echo [2023-09-27T15:35:53.893Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:35:54.175Z] ---> sigul-configuration.sh [2023-09-27T15:35:54.175Z] gpg: directory `/root/.gnupg' created [2023-09-27T15:35:54.175Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-27T15:35:54.175Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-27T15:35:54.175Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-27T15:35:54.175Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-27T15:35:54.175Z] gpg: CAST5 encrypted data [2023-09-27T15:35:54.175Z] gpg: encrypted with 1 passphrase [2023-09-27T15:35:54.175Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-27T15:35:54.458Z] + mkdir /home/jenkins [2023-09-27T15:35:54.458Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-27T15:35:54.741Z] + 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-09-27T15:35:54.750Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:35:55.031Z] ---> sigul-install.sh [2023-09-27T15:35:55.031Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-27T15:35:55.316Z] + git tag --list [2023-09-27T15:35:55.316Z] 0.7.1 [2023-09-27T15:35:55.316Z] delhi-tag [2023-09-27T15:35:55.316Z] v1.0.0 [2023-09-27T15:35:55.316Z] v1.1.0 [2023-09-27T15:35:55.316Z] v1.1.1 [2023-09-27T15:35:55.316Z] v1.1.2 [2023-09-27T15:35:55.316Z] v1.2.0 [2023-09-27T15:35:55.316Z] v1.2.1 [2023-09-27T15:35:55.316Z] v1.2.2 [2023-09-27T15:35:55.316Z] v1.2.3 [2023-09-27T15:35:55.316Z] v1.3.0 [2023-09-27T15:35:55.316Z] v1.4.0 [2023-09-27T15:35:55.316Z] v2.0.0 [2023-09-27T15:35:55.316Z] v2.1.0 [2023-09-27T15:35:55.316Z] v2.1.1 [2023-09-27T15:35:55.316Z] v2.2.0 [2023-09-27T15:35:55.316Z] v2.3.0 [2023-09-27T15:35:55.316Z] v2.3.1 [2023-09-27T15:35:55.316Z] v3.0 [2023-09-27T15:35:55.316Z] v3.0.0 [2023-09-27T15:35:55.316Z] v3.0.1-dev.1 [2023-09-27T15:35:55.316Z] v3.1.0-dev.1 [2023-09-27T15:35:55.316Z] v3.1.0-dev.10 [2023-09-27T15:35:55.316Z] v3.1.0-dev.11 [2023-09-27T15:35:55.316Z] v3.1.0-dev.12 [2023-09-27T15:35:55.316Z] v3.1.0-dev.13 [2023-09-27T15:35:55.316Z] v3.1.0-dev.14 [2023-09-27T15:35:55.316Z] v3.1.0-dev.15 [2023-09-27T15:35:55.316Z] v3.1.0-dev.16 [2023-09-27T15:35:55.316Z] v3.1.0-dev.17 [2023-09-27T15:35:55.316Z] v3.1.0-dev.18 [2023-09-27T15:35:55.316Z] v3.1.0-dev.19 [2023-09-27T15:35:55.316Z] v3.1.0-dev.2 [2023-09-27T15:35:55.316Z] v3.1.0-dev.20 [2023-09-27T15:35:55.316Z] v3.1.0-dev.21 [2023-09-27T15:35:55.316Z] v3.1.0-dev.22 [2023-09-27T15:35:55.316Z] v3.1.0-dev.23 [2023-09-27T15:35:55.316Z] v3.1.0-dev.24 [2023-09-27T15:35:55.316Z] v3.1.0-dev.25 [2023-09-27T15:35:55.316Z] v3.1.0-dev.26 [2023-09-27T15:35:55.316Z] v3.1.0-dev.27 [2023-09-27T15:35:55.316Z] v3.1.0-dev.28 [2023-09-27T15:35:55.316Z] v3.1.0-dev.29 [2023-09-27T15:35:55.316Z] v3.1.0-dev.3 [2023-09-27T15:35:55.316Z] v3.1.0-dev.30 [2023-09-27T15:35:55.316Z] v3.1.0-dev.31 [2023-09-27T15:35:55.316Z] v3.1.0-dev.32 [2023-09-27T15:35:55.316Z] v3.1.0-dev.4 [2023-09-27T15:35:55.316Z] v3.1.0-dev.5 [2023-09-27T15:35:55.316Z] v3.1.0-dev.6 [2023-09-27T15:35:55.316Z] v3.1.0-dev.7 [2023-09-27T15:35:55.316Z] v3.1.0-dev.8 [2023-09-27T15:35:55.316Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-27T15:35:55.602Z] + lftools sign git-tag v3.1.0-dev.32 [2023-09-27T15:35:56.171Z] Signing Git tag with Sigul... [2023-09-27T15:35:56.171Z] Signing v3.1.0-dev.32 [Pipeline] echo [2023-09-27T15:35:56.437Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:35:56.718Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-27T15:35:56.725Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-27T15:35:56.739Z] $ docker stop --time=1 c14faba25f25ba3b9f44919b607a24fe60e1834415c08f2ecdce25f55f73f286 [2023-09-27T15:35:58.009Z] $ docker rm -f --volumes c14faba25f25ba3b9f44919b607a24fe60e1834415c08f2ecdce25f55f73f286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-27T15:35:58.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T15:35:58.431Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:35:58.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:35:58.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:35:58.800Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:35:58.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T15:35:59.134Z] $ docker top c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c -eo pid,comm [2023-09-27T15:35:59.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-09-27T15:35:59.180Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T15:35:59.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:35:59.220Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:35:59.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:35:59.329Z] $ docker exec c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c ssh-agent [2023-09-27T15:35:59.433Z] SSH_AUTH_SOCK=/tmp/ssh-c9SGmDCRUgau/agent.32 [2023-09-27T15:35:59.433Z] SSH_AGENT_PID=38 [2023-09-27T15:35:59.438Z] Running ssh-add (command line suppressed) [2023-09-27T15:35:59.517Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8484118284198277770.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8484118284198277770.key) [2023-09-27T15:35:59.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:35:59.817Z] + git semver bump pre [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,981 [bump_version] DEBUG bumping version:3.1.0-dev.32 on axis:pre with prefix:dev [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,981 [bump_version] DEBUG bumped version:3.1.0-dev.33 [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,981 [write_version] DEBUG write version:3.1.0-dev.33 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,982 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,983 [execute] INFO git cat-file --batch-check [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,988 [execute] INFO git cat-file --batch [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T15:36:00.076Z] 2023-09-27 15:35:59,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:36:00.076Z] 3.1.0-dev.33 [Pipeline] } [2023-09-27T15:36:00.081Z] $ docker exec --env ******** --env ******** c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c ssh-agent -k [2023-09-27T15:36:00.182Z] unset SSH_AUTH_SOCK; [2023-09-27T15:36:00.182Z] unset SSH_AGENT_PID; [2023-09-27T15:36:00.182Z] echo Agent pid 38 killed; [2023-09-27T15:36:00.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T15:36:00.509Z] + git semver [Pipeline] } [2023-09-27T15:36:00.774Z] $ docker stop --time=1 c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c [2023-09-27T15:36:02.084Z] $ docker rm -f --volumes c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T15:36:02.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T15:36:02.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:36:02.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:36:02.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:36:02.786Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:36:02.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T15:36:03.121Z] $ docker top fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 -eo pid,comm [2023-09-27T15:36:03.170Z] 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-09-27T15:36:03.170Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T15:36:03.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:36:03.202Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:36:03.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:36:03.309Z] $ docker exec fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 ssh-agent [2023-09-27T15:36:03.413Z] SSH_AUTH_SOCK=/tmp/ssh-omS3HjV2lLfW/agent.31 [2023-09-27T15:36:03.413Z] SSH_AGENT_PID=37 [2023-09-27T15:36:03.417Z] Running ssh-add (command line suppressed) [2023-09-27T15:36:03.520Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7066713072844249523.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7066713072844249523.key) [2023-09-27T15:36:03.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:36:03.814Z] + git semver push [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:03,988 [run_push] DEBUG push [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:03,988 [execute] INFO git cat-file --batch-check [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:03,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:03,992 [execute] INFO git rev-list eb9356f746ddda0d868d7e1df98d311274e321df -- [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:03,992 [execute] DEBUG Popen(['git', 'rev-list', 'eb9356f746ddda0d868d7e1df98d311274e321df', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:04,005 [execute] INFO git fetch -v origin [2023-09-27T15:36:04.072Z] 2023-09-27 15:36:04,005 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-27T15:36:04.639Z] 2023-09-27 15:36:04,543 [run_push] DEBUG no remote changes detected [2023-09-27T15:36:04.639Z] 2023-09-27 15:36:04,543 [execute] INFO git push origin semver [2023-09-27T15:36:04.639Z] 2023-09-27 15:36:04,544 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-27T15:36:05.576Z] 2023-09-27 15:36:05,415 [run_push] DEBUG push all version tags [2023-09-27T15:36:05.576Z] 2023-09-27 15:36:05,415 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-27T15:36:05.576Z] 2023-09-27 15:36:05,416 [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-09-27T15:36:06.514Z] 2023-09-27 15:36:06,456 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-27T15:36:06.514Z] 3.1.0-dev.33 [Pipeline] } [2023-09-27T15:36:06.518Z] $ docker exec --env ******** --env ******** fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 ssh-agent -k [2023-09-27T15:36:06.614Z] unset SSH_AUTH_SOCK; [2023-09-27T15:36:06.614Z] unset SSH_AGENT_PID; [2023-09-27T15:36:06.614Z] echo Agent pid 37 killed; [2023-09-27T15:36:06.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T15:36:06.932Z] + git semver [Pipeline] } [2023-09-27T15:36:07.198Z] $ docker stop --time=1 fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 [2023-09-27T15:36:08.489Z] $ docker rm -f --volumes fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 [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-09-27T15:36:09.108Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-27T15:36:09.108Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-27T15:36:09.108Z] total 16 [2023-09-27T15:36:09.108Z] drwxr-xr-x 3 root root 4096 Sep 27 15:26 . [2023-09-27T15:36:09.108Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:35 .. [2023-09-27T15:36:09.108Z] drwxr-xr-x 2 root root 4096 Sep 27 15:26 cost [2023-09-27T15:36:09.108Z] -rw-r--r-- 1 root root 85 Sep 27 15:26 cost.csv [2023-09-27T15:36:09.108Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-27T15:36:09.108Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-27T15:36:09.108Z] total 16 [2023-09-27T15:36:09.108Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:26 . [2023-09-27T15:36:09.108Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:35 .. [2023-09-27T15:36:09.108Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 15:26 cost [2023-09-27T15:36:09.108Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 27 15:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:09.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:10.256Z] ---> package-listing.sh [2023-09-27T15:36:10.256Z] ++ facter osfamily [2023-09-27T15:36:10.256Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T15:36:10.516Z] + OS_FAMILY=debian [2023-09-27T15:36:10.516Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-27T15:36:10.516Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T15:36:10.516Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T15:36:10.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T15:36:10.516Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T15:36:10.516Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-27T15:36:10.516Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T15:36:10.516Z] + case "${OS_FAMILY}" in [2023-09-27T15:36:10.516Z] + dpkg -l [2023-09-27T15:36:10.516Z] + grep '^ii' [2023-09-27T15:36:10.516Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T15:36:10.516Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T15:36:10.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T15:36:10.516Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-27T15:36:10.516Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-27T15:36:10.516Z] + 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-09-27T15:36:10.526Z] 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-09-27T15:36:10.804Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:36:11.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:36:11.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:36:11.444Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-09-27T15:36:11.470Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T15:36:11.668Z] $ docker top 0aabd597b713f6403662456f13e5d921fdf8f58ff3b67b4a08701c3f40b20194 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:36:12.067Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T15:36:12.492Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T15:36:12.838Z] + ls /var/log/sa-host [2023-09-27T15:36:12.838Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:36:12.973Z] provisioning config files... [2023-09-27T15:36:12.981Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14421240565326931552tmp [Pipeline] { [Pipeline] echo [2023-09-27T15:36:12.995Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:13.274Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T15:36:13.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:13.600Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T15:36:13.608Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:13.890Z] ---> sudo-logs.sh [2023-09-27T15:36:13.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T15:36:13.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:14.192Z] ---> job-cost.sh [2023-09-27T15:36:14.192Z] lf-activate-venv: SKIPPING [2023-09-27T15:36:14.192Z] DEBUG: total: 0.2199999988079071 [2023-09-27T15:36:14.192Z] INFO: Retrieving Stack Cost... [2023-09-27T15:36:14.758Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T15:36:15.020Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T15:36:15.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:36:15.309Z] ---> logs-deploy.sh [2023-09-27T15:36:15.309Z] lf-activate-venv: SKIPPING [2023-09-27T15:36:15.310Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/261 [2023-09-27T15:36:15.310Z] INFO: archiving workspace using pattern(s): [2023-09-27T15:36:16.248Z] Archives upload complete. [2023-09-27T15:36:16.248Z] INFO: archiving logs to Nexus