Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from afe3ff62d3fd920c33d9e36f21752c88d9373351 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-ssh10392674001403687460.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-ssh8705311614488349449.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-ssh16061312487039317402.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-ssh9183549354003762101.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-ssh7268228025342809356.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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7638’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7640 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision afe3ff62d3fd920c33d9e36f21752c88d9373351 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1518)" > git checkout -f afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-list --no-walk 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-22T21:45:56.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-22T21:45:56.613Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-22T21:45:56.634Z] ========================================================= [2023-09-22T21:45:56.634Z] EdgeX Global Pipelines Version Info [2023-09-22T21:45:56.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:45:57.364Z] ------------------- [2023-09-22T21:45:57.364Z] stable info: [2023-09-22T21:45:57.364Z] ------------------- [2023-09-22T21:45:57.364Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-22T21:45:57.364Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-22T21:45:57.364Z] Message: update stable to v1.0.254 [2023-09-22T21:45:57.933Z] ------------------- [2023-09-22T21:45:57.933Z] experimental info: [2023-09-22T21:45:57.933Z] ------------------- [2023-09-22T21:45:57.933Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-22T21:45:57.933Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-22T21:45:57.933Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-22T21:45:58.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-22T21:45:58.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-22T21:45:58.135Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-22T21:45:58.153Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-22T21:45:58.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-22T21:45:58.188Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-22T21:45:58.198Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-22T21:45:58.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-22T21:45:58.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-22T21:45:58.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-22T21:45:58.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-22T21:45:58.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-22T21:45:58.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-22T21:45:58.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-22T21:45:58.321Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-22T21:45:58.336Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-22T21:45:58.350Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-22T21:45:58.363Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-22T21:45:58.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-22T21:45:58.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-22T21:45:58.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-22T21:45:58.420Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-22T21:45:58.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-22T21:45:58.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-22T21:45:58.463Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-22T21:45:58.476Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-22T21:45:58.487Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-22T21:45:58.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-22T21:45:58.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-22T21:45:58.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-22T21:45:58.533Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo [2023-09-22T21:45:58.545Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afe3ff6 [Pipeline] echo [2023-09-22T21:45:58.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:45:58.600Z] provisioning config files... [2023-09-22T21:45:58.612Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7318355491118264213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:45:58.922Z] ---> docker-login.sh [2023-09-22T21:45:58.922Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:45:59.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:59.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:59.184Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:59.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:59.184Z] [2023-09-22T21:45:59.184Z] Login Succeeded [2023-09-22T21:45:59.184Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:45:59.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:59.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:59.445Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:59.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:59.445Z] [2023-09-22T21:45:59.445Z] Login Succeeded [2023-09-22T21:45:59.445Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:45:59.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:59.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:59.445Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:59.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:59.445Z] [2023-09-22T21:45:59.445Z] Login Succeeded [2023-09-22T21:45:59.445Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:45:59.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:59.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:59.703Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:59.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:59.703Z] [2023-09-22T21:45:59.703Z] Login Succeeded [2023-09-22T21:45:59.703Z] docker.io [2023-09-22T21:45:59.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:45:59.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:45:59.962Z] Configure a credential helper to remove this warning. See [2023-09-22T21:45:59.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:45:59.962Z] [2023-09-22T21:45:59.962Z] Login Succeeded [2023-09-22T21:45:59.962Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:45:59.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-22T21:46:00.338Z] + git rev-list -1 --merges afe3ff62d3fd920c33d9e36f21752c88d9373351~1..afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo [2023-09-22T21:46:00.384Z] -----------> git rev-list -1 --merges afe3ff62d3fd920c33d9e36f21752c88d9373351~1..afe3ff62d3fd920c33d9e36f21752c88d9373351 afe3ff62d3fd920c33d9e36f21752c88d9373351 [false] [Pipeline] sh [2023-09-22T21:46:00.679Z] + git log --format=format:%s -1 afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo [2023-09-22T21:46:00.694Z] ========================================================= [2023-09-22T21:46:00.694Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-22T21:46:00.694Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-22T21:46:01.031Z] + git log --format=format:%s -1 afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo [2023-09-22T21:46:01.040Z] [semverPrep] GIT_COMMIT: afe3ff62d3fd920c33d9e36f21752c88d9373351, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1518) [Pipeline] echo [2023-09-22T21:46:01.046Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-22T21:46:01.385Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T21:46:01.385Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-22T21:46:01.385Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-22T21:46:01.385Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-22T21:46:01.385Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-22T21:46:01.385Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-22T21:46:01.385Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:01.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:46:01.730Z] [2023-09-22T21:46:01.730Z] 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-22T21:46:02.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:46:02.051Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-22T21:46:02.051Z] b85a868b505f: Pulling fs layer [2023-09-22T21:46:02.051Z] e2be974225ed: Pulling fs layer [2023-09-22T21:46:02.051Z] 339a4e72a1f5: Pulling fs layer [2023-09-22T21:46:02.051Z] 988bab9f4d93: Pulling fs layer [2023-09-22T21:46:02.051Z] 1469e6f7b9e6: Pulling fs layer [2023-09-22T21:46:02.051Z] eaf3925da568: Pulling fs layer [2023-09-22T21:46:02.051Z] bab4dde63d76: Pulling fs layer [2023-09-22T21:46:02.051Z] bde34c3a00c8: Pulling fs layer [2023-09-22T21:46:02.051Z] b352a97aabf1: Pulling fs layer [2023-09-22T21:46:02.051Z] 4872d77fe225: Pulling fs layer [2023-09-22T21:46:02.051Z] 5851b861e8e6: Pulling fs layer [2023-09-22T21:46:02.051Z] 988bab9f4d93: Waiting [2023-09-22T21:46:02.051Z] eaf3925da568: Waiting [2023-09-22T21:46:02.051Z] 1469e6f7b9e6: Waiting [2023-09-22T21:46:02.051Z] bab4dde63d76: Waiting [2023-09-22T21:46:02.051Z] 4872d77fe225: Waiting [2023-09-22T21:46:02.051Z] bde34c3a00c8: Waiting [2023-09-22T21:46:02.051Z] 5851b861e8e6: Waiting [2023-09-22T21:46:02.051Z] b352a97aabf1: Waiting [2023-09-22T21:46:02.051Z] e2be974225ed: Verifying Checksum [2023-09-22T21:46:02.051Z] e2be974225ed: Download complete [2023-09-22T21:46:02.051Z] 988bab9f4d93: Verifying Checksum [2023-09-22T21:46:02.051Z] 988bab9f4d93: Download complete [2023-09-22T21:46:02.330Z] 1469e6f7b9e6: Verifying Checksum [2023-09-22T21:46:02.330Z] 1469e6f7b9e6: Download complete [2023-09-22T21:46:02.330Z] 339a4e72a1f5: Verifying Checksum [2023-09-22T21:46:02.330Z] 339a4e72a1f5: Download complete [2023-09-22T21:46:02.330Z] eaf3925da568: Verifying Checksum [2023-09-22T21:46:02.330Z] eaf3925da568: Download complete [2023-09-22T21:46:02.330Z] bde34c3a00c8: Verifying Checksum [2023-09-22T21:46:02.330Z] bde34c3a00c8: Download complete [2023-09-22T21:46:02.330Z] b352a97aabf1: Verifying Checksum [2023-09-22T21:46:02.330Z] b352a97aabf1: Download complete [2023-09-22T21:46:02.330Z] 4872d77fe225: Download complete [2023-09-22T21:46:02.330Z] 5851b861e8e6: Download complete [2023-09-22T21:46:02.330Z] b85a868b505f: Download complete [2023-09-22T21:46:02.590Z] bab4dde63d76: Verifying Checksum [2023-09-22T21:46:02.590Z] bab4dde63d76: Download complete [2023-09-22T21:46:03.526Z] b85a868b505f: Pull complete [2023-09-22T21:46:03.786Z] e2be974225ed: Pull complete [2023-09-22T21:46:04.357Z] 339a4e72a1f5: Pull complete [2023-09-22T21:46:04.357Z] 988bab9f4d93: Pull complete [2023-09-22T21:46:04.618Z] 1469e6f7b9e6: Pull complete [2023-09-22T21:46:04.618Z] eaf3925da568: Pull complete [2023-09-22T21:46:06.522Z] bab4dde63d76: Pull complete [2023-09-22T21:46:06.522Z] bde34c3a00c8: Pull complete [2023-09-22T21:46:06.782Z] b352a97aabf1: Pull complete [2023-09-22T21:46:06.782Z] 4872d77fe225: Pull complete [2023-09-22T21:46:06.782Z] 5851b861e8e6: Pull complete [2023-09-22T21:46:06.782Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-22T21:46:06.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T21:46:06.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:46:06.891Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T21:46:06.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T21:46:08.088Z] $ docker top 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b -eo pid,comm [2023-09-22T21:46:08.140Z] 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-22T21:46:08.141Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T21:46:08.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:46:08.177Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:46:08.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:46:08.303Z] $ docker exec 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent [2023-09-22T21:46:08.408Z] SSH_AUTH_SOCK=/tmp/ssh-GmwPRCXxTqNv/agent.33 [2023-09-22T21:46:08.408Z] SSH_AGENT_PID=39 [2023-09-22T21:46:08.415Z] Running ssh-add (command line suppressed) [2023-09-22T21:46:08.526Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13590508346156646293.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13590508346156646293.key) [2023-09-22T21:46:08.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:46:08.818Z] + git tag --points-at HEAD [Pipeline] } [2023-09-22T21:46:08.836Z] $ docker exec --env ******** --env ******** 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent -k [2023-09-22T21:46:08.943Z] unset SSH_AUTH_SOCK; [2023-09-22T21:46:08.943Z] unset SSH_AGENT_PID; [2023-09-22T21:46:08.943Z] echo Agent pid 39 killed; [2023-09-22T21:46:08.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-22T21:46:08.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T21:46:08.979Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T21:46:09.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T21:46:09.106Z] $ docker exec 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent [2023-09-22T21:46:09.208Z] SSH_AUTH_SOCK=/tmp/ssh-NhN1qBtQLLL4/agent.71 [2023-09-22T21:46:09.208Z] SSH_AGENT_PID=77 [2023-09-22T21:46:09.213Z] Running ssh-add (command line suppressed) [2023-09-22T21:46:09.320Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2245418290285271687.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2245418290285271687.key) [2023-09-22T21:46:09.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T21:46:09.618Z] + git semver init [2023-09-22T21:46:09.878Z] 2023-09-22 21:46:09,802 [run_init] DEBUG init version:0.0.0 force:False [2023-09-22T21:46:09.878Z] 2023-09-22 21:46:09,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-22T21:46:09.878Z] 2023-09-22 21:46:09,803 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-22T21:46:09.878Z] 2023-09-22 21:46:09,804 [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-22T21:46:10.816Z] 2023-09-22 21:46:10,710 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-22T21:46:10.816Z] 2023-09-22 21:46:10,710 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-22T21:46:10.816Z] 2023-09-22 21:46:10,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T21:46:10.816Z] 2023-09-22 21:46:10,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T21:46:10.816Z] 3.1.0-dev.30 [Pipeline] } [2023-09-22T21:46:10.829Z] $ docker exec --env ******** --env ******** 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent -k [2023-09-22T21:46:10.941Z] unset SSH_AUTH_SOCK; [2023-09-22T21:46:10.943Z] unset SSH_AGENT_PID; [2023-09-22T21:46:10.943Z] echo Agent pid 77 killed; [2023-09-22T21:46:10.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T21:46:11.248Z] + git semver [Pipeline] } [2023-09-22T21:46:11.536Z] $ docker stop --time=1 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b [2023-09-22T21:46:12.851Z] $ docker rm -f --volumes 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:46:13.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-22T21:46:13.397Z] Stashed 1 file(s) [Pipeline] echo [2023-09-22T21:46:13.399Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.30 [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-22T21:46:13.563Z] provisioning config files... [2023-09-22T21:46:13.571Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13806174219784226158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:46:13.866Z] ---> docker-login.sh [2023-09-22T21:46:13.866Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:46:13.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:46:13.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:46:13.866Z] Configure a credential helper to remove this warning. See [2023-09-22T21:46:13.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:46:13.866Z] [2023-09-22T21:46:13.866Z] Login Succeeded [2023-09-22T21:46:13.866Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:46:13.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:46:13.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:46:13.866Z] Configure a credential helper to remove this warning. See [2023-09-22T21:46:13.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:46:13.866Z] [2023-09-22T21:46:13.866Z] Login Succeeded [2023-09-22T21:46:13.866Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:46:14.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:46:14.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:46:14.126Z] Configure a credential helper to remove this warning. See [2023-09-22T21:46:14.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:46:14.126Z] [2023-09-22T21:46:14.126Z] Login Succeeded [2023-09-22T21:46:14.126Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:46:14.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:46:14.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:46:14.126Z] Configure a credential helper to remove this warning. See [2023-09-22T21:46:14.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:46:14.126Z] [2023-09-22T21:46:14.126Z] Login Succeeded [2023-09-22T21:46:14.126Z] docker.io [2023-09-22T21:46:14.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:46:14.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:46:14.385Z] Configure a credential helper to remove this warning. See [2023-09-22T21:46:14.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:46:14.385Z] [2023-09-22T21:46:14.385Z] Login Succeeded [2023-09-22T21:46:14.385Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:46:14.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-22T21:46:14.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:46:14.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:46:14.477Z] ========================================================= [2023-09-22T21:46:14.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-22T21:46:14.477Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:14.791Z] + 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-22T21:46:14.791Z] Sending build context to Docker daemon 11.17MB [2023-09-22T21:46:14.791Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:46:14.791Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-22T21:46:14.791Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-22T21:46:15.051Z] 7264a8db6415: Pulling fs layer [2023-09-22T21:46:15.051Z] c4d48a809fc2: Pulling fs layer [2023-09-22T21:46:15.051Z] 4f1c88b9dad5: Pulling fs layer [2023-09-22T21:46:15.051Z] ad3a456e5733: Pulling fs layer [2023-09-22T21:46:15.051Z] 33e27b845d1e: Pulling fs layer [2023-09-22T21:46:15.051Z] c68163c4e522: Pulling fs layer [2023-09-22T21:46:15.051Z] 50da416c3ac9: Pulling fs layer [2023-09-22T21:46:15.051Z] 23d2d4c4bb30: Pulling fs layer [2023-09-22T21:46:15.051Z] 33e27b845d1e: Waiting [2023-09-22T21:46:15.051Z] c68163c4e522: Waiting [2023-09-22T21:46:15.051Z] 50da416c3ac9: Waiting [2023-09-22T21:46:15.051Z] 23d2d4c4bb30: Waiting [2023-09-22T21:46:15.051Z] ad3a456e5733: Waiting [2023-09-22T21:46:15.051Z] c4d48a809fc2: Verifying Checksum [2023-09-22T21:46:15.051Z] c4d48a809fc2: Download complete [2023-09-22T21:46:15.051Z] ad3a456e5733: Verifying Checksum [2023-09-22T21:46:15.051Z] ad3a456e5733: Download complete [2023-09-22T21:46:15.051Z] 33e27b845d1e: Verifying Checksum [2023-09-22T21:46:15.051Z] 33e27b845d1e: Download complete [2023-09-22T21:46:15.051Z] 7264a8db6415: Download complete [2023-09-22T21:46:15.051Z] c68163c4e522: Verifying Checksum [2023-09-22T21:46:15.051Z] c68163c4e522: Download complete [2023-09-22T21:46:15.051Z] 7264a8db6415: Pull complete [2023-09-22T21:46:15.309Z] 23d2d4c4bb30: Verifying Checksum [2023-09-22T21:46:15.309Z] 23d2d4c4bb30: Download complete [2023-09-22T21:46:15.309Z] c4d48a809fc2: Pull complete [2023-09-22T21:46:15.569Z] 4f1c88b9dad5: Verifying Checksum [2023-09-22T21:46:15.569Z] 4f1c88b9dad5: Download complete [2023-09-22T21:46:15.827Z] 50da416c3ac9: Verifying Checksum [2023-09-22T21:46:15.827Z] 50da416c3ac9: Download complete [2023-09-22T21:46:19.110Z] 4f1c88b9dad5: Pull complete [2023-09-22T21:46:19.110Z] ad3a456e5733: Pull complete [2023-09-22T21:46:19.110Z] 33e27b845d1e: Pull complete [2023-09-22T21:46:19.110Z] c68163c4e522: Pull complete [2023-09-22T21:46:21.131Z] 50da416c3ac9: Pull complete [2023-09-22T21:46:21.698Z] 23d2d4c4bb30: Pull complete [2023-09-22T21:46:21.698Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-22T21:46:21.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-22T21:46:21.698Z] ---> 0786185ac409 [2023-09-22T21:46:21.698Z] Step 3/10 : ARG MAKE=make build [2023-09-22T21:46:23.079Z] ---> Running in 8e63686744d9 [2023-09-22T21:46:23.338Z] Removing intermediate container 8e63686744d9 [2023-09-22T21:46:23.338Z] ---> 78a32c5ab4fe [2023-09-22T21:46:23.338Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-22T21:46:23.338Z] ---> Running in 34dad8997979 [2023-09-22T21:46:23.338Z] Removing intermediate container 34dad8997979 [2023-09-22T21:46:23.338Z] ---> 7c87efde5fb4 [2023-09-22T21:46:23.338Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-22T21:46:23.338Z] ---> Running in 6183ed9a2ee2 [2023-09-22T21:46:23.338Z] Removing intermediate container 6183ed9a2ee2 [2023-09-22T21:46:23.338Z] ---> e4bacd7445f0 [2023-09-22T21:46:23.338Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-22T21:46:23.597Z] ---> Running in 33a1bb0f1e96 [2023-09-22T21:46:23.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-22T21:46:23.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-22T21:46:24.119Z] OK: 264 MiB in 52 packages [2023-09-22T21:46:24.381Z] Removing intermediate container 33a1bb0f1e96 [2023-09-22T21:46:24.381Z] ---> fa2236ff1685 [2023-09-22T21:46:24.381Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-22T21:46:24.381Z] ---> 43208322a775 [2023-09-22T21:46:24.381Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:46:24.640Z] ---> Running in 43b6e1fa5d00 [2023-09-22T21:46:28.512Z] Still waiting to schedule task [2023-09-22T21:46:28.512Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-22T21:46:28.512Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-22T21:46:28.513Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7641’ is offline [2023-09-22T21:46:51.207Z] Removing intermediate container 43b6e1fa5d00 [2023-09-22T21:46:51.207Z] ---> bef114464c76 [2023-09-22T21:46:51.207Z] Step 9/10 : COPY . . [2023-09-22T21:46:51.207Z] ---> ad8a9d7c09a4 [2023-09-22T21:46:51.207Z] Step 10/10 : RUN ${MAKE} [2023-09-22T21:46:51.207Z] ---> Running in 1a320a2b8ec6 [2023-09-22T21:46:51.207Z] noop [2023-09-22T21:46:51.207Z] Removing intermediate container 1a320a2b8ec6 [2023-09-22T21:46:51.207Z] ---> 389a48c993f8 [2023-09-22T21:46:51.207Z] Successfully built 389a48c993f8 [2023-09-22T21:46:51.207Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:51.521Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-22T21:46:51.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:46:51.592Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T21:46:51.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-22T21:46:51.957Z] $ docker top b0f6b210e44ba45da38e7dd5ae876f5e8de6d6e5d628c772ea3c0f8c0aca19c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:46:52.294Z] + go version [2023-09-22T21:46:52.294Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-22T21:46:52.310Z] $ docker stop --time=1 b0f6b210e44ba45da38e7dd5ae876f5e8de6d6e5d628c772ea3c0f8c0aca19c7 [2023-09-22T21:46:53.598Z] $ docker rm -f --volumes b0f6b210e44ba45da38e7dd5ae876f5e8de6d6e5d628c772ea3c0f8c0aca19c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:46:54.006Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-22T21:46:54.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:46:54.074Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T21:46:54.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-22T21:46:54.444Z] $ docker top 5ee60976e3e9f8acd90ead4f95e456d5be2f868dacc019b77951391039cc513d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:46:54.789Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-22T21:46:55.084Z] + make test [2023-09-22T21:46:55.084Z] go test -race -coverprofile=coverage.out ./... [2023-09-22T21:47:03.206Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-22T21:47:18.080Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-22T21:47:18.080Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.053s coverage: 27.6% of statements [2023-09-22T21:47:18.080Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 80.2% of statements [2023-09-22T21:47:18.338Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements [2023-09-22T21:47:18.338Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-22T21:47:19.272Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-22T21:47:19.272Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-22T21:47:19.529Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.101s coverage: 71.8% of statements [2023-09-22T21:47:19.786Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-22T21:47:23.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements [2023-09-22T21:47:23.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.995s coverage: 45.9% of statements [2023-09-22T21:47:23.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements [2023-09-22T21:47:23.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.100s coverage: 89.2% of statements [2023-09-22T21:47:23.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-09-22T21:47:43.055Z] GO111MODULE=on go vet ./... [2023-09-22T21:47:44.955Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-22T21:47:44.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-22T21:47:44.955Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-22T21:47:44.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-22T21:47:45.037Z] $ docker stop --time=1 5ee60976e3e9f8acd90ead4f95e456d5be2f868dacc019b77951391039cc513d [2023-09-22T21:47:48.610Z] $ docker rm -f --volumes 5ee60976e3e9f8acd90ead4f95e456d5be2f868dacc019b77951391039cc513d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:47:49.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-22T21:47:49.256Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-22T21:47:49.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-22T21:47:50.104Z] + ls -al . [2023-09-22T21:47:50.104Z] total 304 [2023-09-22T21:47:50.104Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 21:46 . [2023-09-22T21:47:50.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:45 .. [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 21:45 .dockerignore [2023-09-22T21:47:50.104Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:47 .git [2023-09-22T21:47:50.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 .github [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 22 21:45 .gitignore [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 21:45 .golangci.yml [2023-09-22T21:47:50.104Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:46 .semver [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 22 21:45 CHANGELOG.md [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:45 GOVERNANCE.md [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 22 21:45 Jenkinsfile [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 21:45 LICENSE [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 22 21:45 Makefile [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 21:45 OWNERS.md [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 22 21:45 README.md [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:46 VERSION [2023-09-22T21:47:50.104Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:45 bin [2023-09-22T21:47:50.104Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 22 21:47 coverage.out [2023-09-22T21:47:50.104Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 21:45 example [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 22 21:45 go.mod [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 22 21:45 go.sum [2023-09-22T21:47:50.104Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 21:45 internal [2023-09-22T21:47:50.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 openapi [2023-09-22T21:47:50.104Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 21:45 pkg [2023-09-22T21:47:50.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:45 snap [2023-09-22T21:47:50.104Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 21:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:47:50.428Z] + 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=afe3ff62d3fd920c33d9e36f21752c88d9373351 --label arch=amd64 --label version=3.1.0-dev.30 . [2023-09-22T21:47:50.428Z] Sending build context to Docker daemon 11.29MB [2023-09-22T21:47:50.428Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:47:50.428Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-22T21:47:50.428Z] ---> 389a48c993f8 [2023-09-22T21:47:50.428Z] Step 3/23 : ARG MAKE=make build [2023-09-22T21:47:50.686Z] ---> Running in 2e7a802ebca5 [2023-09-22T21:47:50.686Z] Removing intermediate container 2e7a802ebca5 [2023-09-22T21:47:50.686Z] ---> 18287401d448 [2023-09-22T21:47:50.686Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-22T21:47:50.686Z] ---> Running in 499998755ae4 [2023-09-22T21:47:50.944Z] Removing intermediate container 499998755ae4 [2023-09-22T21:47:50.944Z] ---> 1765f2d65acf [2023-09-22T21:47:50.944Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-22T21:47:50.944Z] ---> Running in 16de57c8638d [2023-09-22T21:47:50.944Z] Removing intermediate container 16de57c8638d [2023-09-22T21:47:50.944Z] ---> a0e340065967 [2023-09-22T21:47:50.944Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-22T21:47:50.944Z] ---> Running in 3e3d01e24f58 [2023-09-22T21:47:51.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-22T21:47:51.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-22T21:47:51.720Z] OK: 264 MiB in 52 packages [2023-09-22T21:47:51.979Z] Removing intermediate container 3e3d01e24f58 [2023-09-22T21:47:51.979Z] ---> f652201d1199 [2023-09-22T21:47:51.979Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-22T21:47:52.238Z] ---> 7d54733e77f5 [2023-09-22T21:47:52.238Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:47:52.238Z] ---> Running in 029f333ddece [2023-09-22T21:47:52.805Z] Removing intermediate container 029f333ddece [2023-09-22T21:47:52.805Z] ---> a1307d83bb43 [2023-09-22T21:47:52.805Z] Step 9/23 : COPY . . [2023-09-22T21:47:53.371Z] ---> 20dae99e7b5d [2023-09-22T21:47:53.371Z] Step 10/23 : RUN ${MAKE} [2023-09-22T21:47:53.371Z] ---> Running in aa9ed382d811 [2023-09-22T21:47:53.629Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-22T21:48:15.578Z] Removing intermediate container aa9ed382d811 [2023-09-22T21:48:15.578Z] ---> cd4cc7953914 [2023-09-22T21:48:15.578Z] Step 11/23 : FROM alpine:3.18 [2023-09-22T21:48:15.578Z] 3.18: Pulling from library/alpine [2023-09-22T21:48:15.578Z] 7264a8db6415: Already exists [2023-09-22T21:48:15.578Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-22T21:48:15.578Z] Status: Downloaded newer image for alpine:3.18 [2023-09-22T21:48:15.578Z] ---> 7e01a0d0a1dc [2023-09-22T21:48:15.578Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-22T21:48:15.578Z] ---> Running in ece81c330e09 [2023-09-22T21:48:15.578Z] Removing intermediate container ece81c330e09 [2023-09-22T21:48:15.578Z] ---> 84b0bdc40cae [2023-09-22T21:48:15.578Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-22T21:48:15.578Z] ---> Running in d70bd4498e31 [2023-09-22T21:48:15.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-22T21:48:15.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-22T21:48:15.578Z] OK: 7 MiB in 15 packages [2023-09-22T21:48:16.147Z] Removing intermediate container d70bd4498e31 [2023-09-22T21:48:16.147Z] ---> 1a455021192d [2023-09-22T21:48:16.147Z] Step 14/23 : WORKDIR / [2023-09-22T21:48:16.147Z] ---> Running in 15b7d842e60c [2023-09-22T21:48:16.147Z] Removing intermediate container 15b7d842e60c [2023-09-22T21:48:16.147Z] ---> d10f42eae05e [2023-09-22T21:48:16.147Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-22T21:48:16.147Z] ---> f8eb9ac87d62 [2023-09-22T21:48:16.147Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-22T21:48:17.524Z] ---> 51698e3b06cc [2023-09-22T21:48:17.524Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-22T21:48:17.524Z] ---> 73fa8c7e6072 [2023-09-22T21:48:17.524Z] Step 18/23 : EXPOSE 59999 [2023-09-22T21:48:17.524Z] ---> Running in c855f4fc7c8d [2023-09-22T21:48:17.524Z] Removing intermediate container c855f4fc7c8d [2023-09-22T21:48:17.524Z] ---> c9d55bdf4e7e [2023-09-22T21:48:17.524Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-22T21:48:17.524Z] ---> Running in 3956ba15d3ce [2023-09-22T21:48:17.524Z] Removing intermediate container 3956ba15d3ce [2023-09-22T21:48:17.524Z] ---> 29f76e46bbf3 [2023-09-22T21:48:17.524Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-22T21:48:17.524Z] ---> Running in 14a7feb57dfe [2023-09-22T21:48:17.524Z] Removing intermediate container 14a7feb57dfe [2023-09-22T21:48:17.524Z] ---> ad8bb80bbdaa [2023-09-22T21:48:17.524Z] Step 21/23 : LABEL arch=amd64 [2023-09-22T21:48:17.783Z] ---> Running in c8d9f3c46144 [2023-09-22T21:48:17.783Z] Removing intermediate container c8d9f3c46144 [2023-09-22T21:48:17.783Z] ---> 917831c1d99d [2023-09-22T21:48:17.783Z] Step 22/23 : LABEL git_sha=afe3ff62d3fd920c33d9e36f21752c88d9373351 [2023-09-22T21:48:17.783Z] ---> Running in 7aa81a4932ba [2023-09-22T21:48:17.783Z] Removing intermediate container 7aa81a4932ba [2023-09-22T21:48:17.783Z] ---> ed026f33e6bd [2023-09-22T21:48:17.783Z] Step 23/23 : LABEL version=3.1.0-dev.30 [2023-09-22T21:48:17.783Z] ---> Running in 9a2e9873a503 [2023-09-22T21:48:18.043Z] Removing intermediate container 9a2e9873a503 [2023-09-22T21:48:18.043Z] ---> c64eddf9d917 [2023-09-22T21:48:18.043Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-22T21:48:18.043Z] Successfully built c64eddf9d917 [2023-09-22T21:48:18.043Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:48:18.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:48:18.465Z] [2023-09-22T21:48:18.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:48:18.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:48:18.757Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-22T21:48:18.757Z] 5eb5b503b376: Pulling fs layer [2023-09-22T21:48:18.757Z] 5c69ac0246d0: Pulling fs layer [2023-09-22T21:48:18.757Z] ec43610c2a17: Pulling fs layer [2023-09-22T21:48:18.757Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-22T21:48:18.757Z] 33b1e0a273af: Pulling fs layer [2023-09-22T21:48:18.757Z] 5d3b04190fa2: Pulling fs layer [2023-09-22T21:48:18.757Z] 2f39f015ded8: Pulling fs layer [2023-09-22T21:48:18.757Z] 3a2ae6a8a46f: Waiting [2023-09-22T21:48:18.757Z] 33b1e0a273af: Waiting [2023-09-22T21:48:18.757Z] 5d3b04190fa2: Waiting [2023-09-22T21:48:18.757Z] 2f39f015ded8: Waiting [2023-09-22T21:48:18.757Z] 5c69ac0246d0: Verifying Checksum [2023-09-22T21:48:18.757Z] 5c69ac0246d0: Download complete [2023-09-22T21:48:18.757Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-22T21:48:18.757Z] 3a2ae6a8a46f: Download complete [2023-09-22T21:48:18.757Z] 33b1e0a273af: Verifying Checksum [2023-09-22T21:48:18.757Z] 33b1e0a273af: Download complete [2023-09-22T21:48:18.757Z] 5d3b04190fa2: Download complete [2023-09-22T21:48:18.757Z] ec43610c2a17: Verifying Checksum [2023-09-22T21:48:18.757Z] ec43610c2a17: Download complete [2023-09-22T21:48:19.016Z] 5eb5b503b376: Verifying Checksum [2023-09-22T21:48:19.016Z] 5eb5b503b376: Download complete [2023-09-22T21:48:19.582Z] 2f39f015ded8: Download complete [2023-09-22T21:48:20.149Z] 5eb5b503b376: Pull complete [2023-09-22T21:48:20.407Z] 5c69ac0246d0: Pull complete [2023-09-22T21:48:20.666Z] ec43610c2a17: Pull complete [2023-09-22T21:48:20.666Z] 3a2ae6a8a46f: Pull complete [2023-09-22T21:48:20.924Z] 33b1e0a273af: Pull complete [2023-09-22T21:48:20.924Z] 5d3b04190fa2: Pull complete [2023-09-22T21:48:26.191Z] 2f39f015ded8: Pull complete [2023-09-22T21:48:26.191Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-22T21:48:26.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T21:48:26.191Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:48:26.285Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T21:48:26.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-22T21:48:31.176Z] $ docker top 29629a78b9afab07aaa08eefe961a2f90544702b7e824dd6f6055c64f85224b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:48:31.544Z] ---> job-cost.sh [2023-09-22T21:48:31.544Z] lf-activate-venv: SKIPPING [2023-09-22T21:48:31.544Z] INFO: No Stack... [2023-09-22T21:48:31.803Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-22T21:48:32.062Z] INFO: Archiving Costs [Pipeline] sh [2023-09-22T21:48:32.353Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-22T21:48:32.353Z] + cut -d, -f6 [Pipeline] lock [2023-09-22T21:48:32.367Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [2023-09-22T21:48:32.381Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] did not exist. Created. [2023-09-22T21:48:32.381Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-22T21:48:32.681Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-22T21:48:32.716Z] Stashed 1 file(s) [Pipeline] } [2023-09-22T21:48:32.724Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-22T21:48:32.745Z] $ docker stop --time=1 29629a78b9afab07aaa08eefe961a2f90544702b7e824dd6f6055c64f85224b8 [2023-09-22T21:48:33.918Z] $ docker rm -f --volumes 29629a78b9afab07aaa08eefe961a2f90544702b7e824dd6f6055c64f85224b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-22T21:49:02.897Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7645 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-22T21:49:02.910Z] Running in /w/workspace/device-sdk-go/259 [Pipeline] { [Pipeline] checkout [2023-09-22T21:49:02.948Z] The recommended git tool is: git [2023-09-22T21:49:09.428Z] using credential edgex-jenkins-ssh [2023-09-22T21:49:09.448Z] Cloning the remote Git repository [2023-09-22T21:49:09.505Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-22T21:49:09.653Z] > git init /w/workspace/device-sdk-go/259 # timeout=10 [2023-09-22T21:49:09.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-22T21:49:09.832Z] > git --version # timeout=10 [2023-09-22T21:49:09.861Z] > git --version # 'git version 2.25.1' [2023-09-22T21:49:09.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-22T21:49:10.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-22T21:49:11.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-22T21:49:11.779Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-22T21:49:12.794Z] Avoid second fetch [2023-09-22T21:49:12.795Z] Checking out Revision afe3ff62d3fd920c33d9e36f21752c88d9373351 (main) [2023-09-22T21:49:12.813Z] > git config core.sparsecheckout # timeout=10 [2023-09-22T21:49:12.890Z] > git checkout -f afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [2023-09-22T21:49:13.513Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1518)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-22T21:49:14.401Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-22T21:49:14.401Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-22T21:49:14.401Z] Dload Upload Total Spent Left Speed [2023-09-22T21:49:14.401Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-09-22T21:49:15.078Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-22T21:49:15.429Z] + sudo tee /etc/docker/daemon.new [2023-09-22T21:49:15.429Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-22T21:49:15.429Z] { [2023-09-22T21:49:15.429Z] "registry-mirrors": [ [2023-09-22T21:49:15.429Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-22T21:49:15.429Z] ], [2023-09-22T21:49:15.429Z] "bip": "10.250.0.254/24", [2023-09-22T21:49:15.429Z] "hosts": [ [2023-09-22T21:49:15.429Z] "tcp://0.0.0.0:5555", [2023-09-22T21:49:15.429Z] "unix:///var/run/docker.sock" [2023-09-22T21:49:15.429Z] ], [2023-09-22T21:49:15.429Z] "mtu": 1458, [2023-09-22T21:49:15.429Z] "selinux-enabled": true, [2023-09-22T21:49:15.429Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-22T21:49:15.429Z] } [Pipeline] sh [2023-09-22T21:49:15.774Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-22T21:49:16.121Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T21:49:34.425Z] provisioning config files... [2023-09-22T21:49:34.456Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/259@tmp/config14757069277081183446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T21:49:34.824Z] ---> docker-login.sh [2023-09-22T21:49:34.824Z] nexus3.edgexfoundry.org:10001 [2023-09-22T21:49:35.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:35.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:35.420Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:35.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:35.420Z] [2023-09-22T21:49:35.420Z] Login Succeeded [2023-09-22T21:49:35.420Z] nexus3.edgexfoundry.org:10002 [2023-09-22T21:49:35.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:35.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:35.968Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:35.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:35.968Z] [2023-09-22T21:49:35.968Z] Login Succeeded [2023-09-22T21:49:35.968Z] nexus3.edgexfoundry.org:10003 [2023-09-22T21:49:36.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:36.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:36.241Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:36.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:36.241Z] [2023-09-22T21:49:36.241Z] Login Succeeded [2023-09-22T21:49:36.241Z] nexus3.edgexfoundry.org:10004 [2023-09-22T21:49:36.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:36.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:36.788Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:36.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:36.788Z] [2023-09-22T21:49:36.788Z] Login Succeeded [2023-09-22T21:49:36.788Z] docker.io [2023-09-22T21:49:37.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-22T21:49:37.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-22T21:49:37.332Z] Configure a credential helper to remove this warning. See [2023-09-22T21:49:37.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-22T21:49:37.332Z] [2023-09-22T21:49:37.332Z] Login Succeeded [2023-09-22T21:49:37.332Z] ---> docker-login.sh ends [Pipeline] } [2023-09-22T21:49:37.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-22T21:49:37.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:49:37.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-22T21:49:37.721Z] ========================================================= [2023-09-22T21:49:37.721Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-22T21:49:37.721Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:49:38.101Z] + 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-22T21:49:38.372Z] Sending build context to Docker daemon 5.968MB [2023-09-22T21:49:38.643Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:49:38.643Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-22T21:49:40.607Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-22T21:49:40.607Z] 9fda8d8052c6: Pulling fs layer [2023-09-22T21:49:40.607Z] 5d54e960e981: Pulling fs layer [2023-09-22T21:49:40.607Z] c4a7e357bf2a: Pulling fs layer [2023-09-22T21:49:40.607Z] f0e02332f6b5: Pulling fs layer [2023-09-22T21:49:40.607Z] cefa15bbcfad: Pulling fs layer [2023-09-22T21:49:40.607Z] 17808c966233: Pulling fs layer [2023-09-22T21:49:40.607Z] f4c1fc716caa: Pulling fs layer [2023-09-22T21:49:40.607Z] cefa15bbcfad: Waiting [2023-09-22T21:49:40.607Z] 17808c966233: Waiting [2023-09-22T21:49:40.607Z] f4c1fc716caa: Waiting [2023-09-22T21:49:40.607Z] f0e02332f6b5: Waiting [2023-09-22T21:49:40.879Z] 5d54e960e981: Verifying Checksum [2023-09-22T21:49:40.879Z] 5d54e960e981: Download complete [2023-09-22T21:49:40.879Z] f0e02332f6b5: Verifying Checksum [2023-09-22T21:49:40.879Z] f0e02332f6b5: Download complete [2023-09-22T21:49:40.879Z] cefa15bbcfad: Verifying Checksum [2023-09-22T21:49:40.879Z] cefa15bbcfad: Download complete [2023-09-22T21:49:40.879Z] 9fda8d8052c6: Verifying Checksum [2023-09-22T21:49:40.879Z] 9fda8d8052c6: Download complete [2023-09-22T21:49:41.476Z] f4c1fc716caa: Verifying Checksum [2023-09-22T21:49:41.476Z] f4c1fc716caa: Download complete [2023-09-22T21:49:41.753Z] 9fda8d8052c6: Pull complete [2023-09-22T21:49:42.352Z] 5d54e960e981: Pull complete [2023-09-22T21:49:42.945Z] c4a7e357bf2a: Download complete [2023-09-22T21:49:43.920Z] 17808c966233: Verifying Checksum [2023-09-22T21:49:43.920Z] 17808c966233: Download complete [2023-09-22T21:49:54.036Z] c4a7e357bf2a: Pull complete [2023-09-22T21:49:54.036Z] f0e02332f6b5: Pull complete [2023-09-22T21:49:54.310Z] cefa15bbcfad: Pull complete [2023-09-22T21:50:01.153Z] 17808c966233: Pull complete [2023-09-22T21:50:02.140Z] f4c1fc716caa: Pull complete [2023-09-22T21:50:02.140Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-22T21:50:02.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-22T21:50:02.140Z] ---> ea914061e18c [2023-09-22T21:50:02.140Z] Step 3/10 : ARG MAKE=make build [2023-09-22T21:50:04.106Z] ---> Running in f0c799d8a2f5 [2023-09-22T21:50:04.106Z] Removing intermediate container f0c799d8a2f5 [2023-09-22T21:50:04.106Z] ---> 6976d090dfd6 [2023-09-22T21:50:04.106Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-22T21:50:04.375Z] ---> Running in 8505829c0bc9 [2023-09-22T21:50:04.644Z] Removing intermediate container 8505829c0bc9 [2023-09-22T21:50:04.644Z] ---> 1d46eac02a97 [2023-09-22T21:50:04.644Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-22T21:50:04.644Z] ---> Running in 528b85de906d [2023-09-22T21:50:04.914Z] Removing intermediate container 528b85de906d [2023-09-22T21:50:04.914Z] ---> 27e652515d3d [2023-09-22T21:50:04.914Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-22T21:50:05.187Z] ---> Running in 7aa8dd18b193 [2023-09-22T21:50:10.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-22T21:50:10.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-22T21:50:11.531Z] OK: 266 MiB in 52 packages [2023-09-22T21:50:12.503Z] Removing intermediate container 7aa8dd18b193 [2023-09-22T21:50:12.503Z] ---> d425a520c8ab [2023-09-22T21:50:12.503Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-22T21:50:12.959Z] ---> 15caec274c8d [2023-09-22T21:50:12.959Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:50:12.959Z] ---> Running in 0c024412fba5 [2023-09-22T21:51:34.675Z] Removing intermediate container 0c024412fba5 [2023-09-22T21:51:34.675Z] ---> 286f5a0abaea [2023-09-22T21:51:34.675Z] Step 9/10 : COPY . . [2023-09-22T21:51:34.675Z] ---> 03666443a7b5 [2023-09-22T21:51:34.675Z] Step 10/10 : RUN ${MAKE} [2023-09-22T21:51:34.675Z] ---> Running in a505286b13d9 [2023-09-22T21:51:34.675Z] noop [2023-09-22T21:51:34.675Z] Removing intermediate container a505286b13d9 [2023-09-22T21:51:34.675Z] ---> 969dd2be3929 [2023-09-22T21:51:34.675Z] Successfully built 969dd2be3929 [2023-09-22T21:51:34.675Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:51:35.049Z] + docker inspect -f . ci-base-image-arm64 [2023-09-22T21:51:35.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:51:35.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-7645 does not seem to be running inside a container [2023-09-22T21:51:35.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/259 -v /w/workspace/device-sdk-go/259:/w/workspace/device-sdk-go/259:rw,z -v /w/workspace/device-sdk-go/259@tmp:/w/workspace/device-sdk-go/259@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-arm64 cat [2023-09-22T21:51:36.747Z] $ docker top 9517058a852a877db6bc9f0ec660b4d9986617649f7c2e4d5e22118bbce9de0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:51:37.639Z] + go version [2023-09-22T21:51:37.639Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-22T21:51:37.659Z] $ docker stop --time=1 9517058a852a877db6bc9f0ec660b4d9986617649f7c2e4d5e22118bbce9de0a [2023-09-22T21:51:39.404Z] $ docker rm -f --volumes 9517058a852a877db6bc9f0ec660b4d9986617649f7c2e4d5e22118bbce9de0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:51:40.022Z] + docker inspect -f . ci-base-image-arm64 [2023-09-22T21:51:40.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T21:51:40.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-7645 does not seem to be running inside a container [2023-09-22T21:51:40.320Z] $ 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/259 -v /w/workspace/device-sdk-go/259:/w/workspace/device-sdk-go/259:rw,z -v /w/workspace/device-sdk-go/259@tmp:/w/workspace/device-sdk-go/259@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-arm64 cat [2023-09-22T21:51:41.604Z] $ docker top bd7d96dbc4c28269ee6ccfdf1a406dc5c9988be1ec23e45e93bd721ec3c805e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T21:51:42.489Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/259 [Pipeline] fileExists [Pipeline] sh [2023-09-22T21:51:43.180Z] + make test [2023-09-22T21:51:43.180Z] go test -race -coverprofile=coverage.out ./... [2023-09-22T21:52:30.097Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-22T21:54:51.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-22T21:54:51.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-22T21:54:51.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-22T21:54:51.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-22T21:54:51.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-22T21:54:58.727Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.225s coverage: 27.6% of statements [2023-09-22T21:55:04.086Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.256s coverage: 80.2% of statements [2023-09-22T21:55:16.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-22T21:55:16.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-22T21:55:16.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.335s coverage: 86.0% of statements [2023-09-22T21:55:21.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-22T21:55:22.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.537s coverage: 71.8% of statements [2023-09-22T21:55:26.122Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements [2023-09-22T21:55:26.122Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.741s coverage: 45.9% of statements [2023-09-22T21:55:26.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-22T21:55:26.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-22T21:55:28.128Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.426s coverage: 68.5% of statements [2023-09-22T21:55:30.721Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.474s coverage: 89.2% of statements [2023-09-22T21:55:32.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-22T21:55:33.099Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements [2023-09-22T21:55:34.062Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-22T21:55:34.062Z] GO111MODULE=on go vet ./... [2023-09-22T21:57:25.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-22T21:57:25.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-22T21:57:25.785Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-22T21:57:25.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-22T21:57:25.817Z] $ docker stop --time=1 bd7d96dbc4c28269ee6ccfdf1a406dc5c9988be1ec23e45e93bd721ec3c805e1 [2023-09-22T21:57:27.800Z] $ docker rm -f --volumes bd7d96dbc4c28269ee6ccfdf1a406dc5c9988be1ec23e45e93bd721ec3c805e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T21:57:29.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-22T21:57:29.645Z] Warning: overwriting stash ‘coverage-report’ [2023-09-22T21:57:30.247Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-22T21:57:30.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-22T21:57:30.993Z] + ls -al . [2023-09-22T21:57:30.993Z] total 300 [2023-09-22T21:57:30.993Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 21:51 . [2023-09-22T21:57:30.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:49 .. [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 21:49 .dockerignore [2023-09-22T21:57:30.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:49 .git [2023-09-22T21:57:30.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:49 .github [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 22 21:49 .gitignore [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 21:49 .golangci.yml [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 22 21:49 CHANGELOG.md [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:49 GOVERNANCE.md [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 22 21:49 Jenkinsfile [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 21:49 LICENSE [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 22 21:49 Makefile [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 21:49 OWNERS.md [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 22 21:49 README.md [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:46 VERSION [2023-09-22T21:57:30.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:49 bin [2023-09-22T21:57:30.993Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 22 21:55 coverage.out [2023-09-22T21:57:30.993Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 21:49 example [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 22 21:49 go.mod [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 22 21:49 go.sum [2023-09-22T21:57:30.993Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 21:49 internal [2023-09-22T21:57:30.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:49 openapi [2023-09-22T21:57:30.993Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 21:49 pkg [2023-09-22T21:57:30.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:49 snap [2023-09-22T21:57:30.993Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:57:31.340Z] + 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=afe3ff62d3fd920c33d9e36f21752c88d9373351 --label arch=arm64 --label version=3.1.0-dev.30 . [2023-09-22T21:57:31.926Z] Sending build context to Docker daemon 6.091MB [2023-09-22T21:57:31.926Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-22T21:57:31.926Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-22T21:57:31.926Z] ---> 969dd2be3929 [2023-09-22T21:57:31.926Z] Step 3/23 : ARG MAKE=make build [2023-09-22T21:57:31.926Z] ---> Running in a8ef5fe9abfd [2023-09-22T21:57:32.196Z] Removing intermediate container a8ef5fe9abfd [2023-09-22T21:57:32.196Z] ---> 7a4867367e6a [2023-09-22T21:57:32.196Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-22T21:57:32.468Z] ---> Running in 867e10daea40 [2023-09-22T21:57:32.736Z] Removing intermediate container 867e10daea40 [2023-09-22T21:57:32.736Z] ---> 11c9b49d979e [2023-09-22T21:57:32.736Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-22T21:57:32.736Z] ---> Running in a1612c2a205c [2023-09-22T21:57:33.323Z] Removing intermediate container a1612c2a205c [2023-09-22T21:57:33.323Z] ---> 42bb21033517 [2023-09-22T21:57:33.323Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-22T21:57:33.323Z] ---> Running in d278f7a24bee [2023-09-22T21:57:34.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-22T21:57:34.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-22T21:57:36.293Z] OK: 266 MiB in 52 packages [2023-09-22T21:57:36.880Z] Removing intermediate container d278f7a24bee [2023-09-22T21:57:36.880Z] ---> a56c0909ad86 [2023-09-22T21:57:36.880Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-22T21:57:37.475Z] ---> 5cb77920b9a3 [2023-09-22T21:57:37.475Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-22T21:57:37.475Z] ---> Running in 532fea66a440 [2023-09-22T21:57:40.060Z] Removing intermediate container 532fea66a440 [2023-09-22T21:57:40.060Z] ---> b9f31507abe1 [2023-09-22T21:57:40.060Z] Step 9/23 : COPY . . [2023-09-22T21:57:41.030Z] ---> ff23db82f2d1 [2023-09-22T21:57:41.030Z] Step 10/23 : RUN ${MAKE} [2023-09-22T21:57:41.030Z] ---> Running in fc24aaddb5cf [2023-09-22T21:57:41.992Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-22T21:59:33.959Z] Removing intermediate container fc24aaddb5cf [2023-09-22T21:59:33.959Z] ---> 54a8ce7c1f4c [2023-09-22T21:59:33.959Z] Step 11/23 : FROM alpine:3.18 [2023-09-22T21:59:33.959Z] 3.18: Pulling from library/alpine [2023-09-22T21:59:33.959Z] 9fda8d8052c6: Already exists [2023-09-22T21:59:33.959Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-22T21:59:33.959Z] Status: Downloaded newer image for alpine:3.18 [2023-09-22T21:59:33.959Z] ---> f6648c04cd6c [2023-09-22T21:59:33.959Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-22T21:59:33.959Z] ---> Running in 47b42593d4a4 [2023-09-22T21:59:33.959Z] Removing intermediate container 47b42593d4a4 [2023-09-22T21:59:33.959Z] ---> fb2a2e64dfab [2023-09-22T21:59:33.959Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-22T21:59:33.959Z] ---> Running in 4a418a2f6965 [2023-09-22T21:59:33.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-22T21:59:33.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-22T21:59:33.959Z] OK: 8 MiB in 15 packages [2023-09-22T21:59:33.959Z] Removing intermediate container 4a418a2f6965 [2023-09-22T21:59:33.959Z] ---> 6ddbbfe8c9c2 [2023-09-22T21:59:33.959Z] Step 14/23 : WORKDIR / [2023-09-22T21:59:33.959Z] ---> Running in d13748b8060d [2023-09-22T21:59:33.959Z] Removing intermediate container d13748b8060d [2023-09-22T21:59:33.959Z] ---> 64f3a5ce3067 [2023-09-22T21:59:33.959Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-22T21:59:34.227Z] ---> ab8453970e3b [2023-09-22T21:59:34.227Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-22T21:59:35.636Z] ---> b1190688fc72 [2023-09-22T21:59:35.636Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-22T21:59:36.218Z] ---> 220ab1faf8ac [2023-09-22T21:59:36.218Z] Step 18/23 : EXPOSE 59999 [2023-09-22T21:59:36.218Z] ---> Running in d9d2290208cc [2023-09-22T21:59:36.485Z] Removing intermediate container d9d2290208cc [2023-09-22T21:59:36.485Z] ---> 895ed1f9b54a [2023-09-22T21:59:36.485Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-22T21:59:36.485Z] ---> Running in ced7de9af9cc [2023-09-22T21:59:36.755Z] Removing intermediate container ced7de9af9cc [2023-09-22T21:59:36.755Z] ---> 45ad17bce0e3 [2023-09-22T21:59:36.755Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-22T21:59:37.021Z] ---> Running in bf5970480bcf [2023-09-22T21:59:37.288Z] Removing intermediate container bf5970480bcf [2023-09-22T21:59:37.288Z] ---> 7f67b9abc9d0 [2023-09-22T21:59:37.288Z] Step 21/23 : LABEL arch=arm64 [2023-09-22T21:59:37.288Z] ---> Running in 8edaa3ba9b3b [2023-09-22T21:59:37.556Z] Removing intermediate container 8edaa3ba9b3b [2023-09-22T21:59:37.556Z] ---> 4c44f96026bb [2023-09-22T21:59:37.556Z] Step 22/23 : LABEL git_sha=afe3ff62d3fd920c33d9e36f21752c88d9373351 [2023-09-22T21:59:37.556Z] ---> Running in e0b30da6480f [2023-09-22T21:59:37.825Z] Removing intermediate container e0b30da6480f [2023-09-22T21:59:37.825Z] ---> 6234febbdb20 [2023-09-22T21:59:37.825Z] Step 23/23 : LABEL version=3.1.0-dev.30 [2023-09-22T21:59:38.092Z] ---> Running in 842f273ef612 [2023-09-22T21:59:38.358Z] Removing intermediate container 842f273ef612 [2023-09-22T21:59:38.358Z] ---> 7dc49f37098b [2023-09-22T21:59:38.358Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-22T21:59:38.358Z] Successfully built 7dc49f37098b [2023-09-22T21:59:38.358Z] 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-22T21:59:38.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-22T21:59:38.807Z] [2023-09-22T21:59:38.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T21:59:39.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-22T21:59:39.135Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-22T21:59:39.135Z] 8998bd30e6a1: Pulling fs layer [2023-09-22T21:59:39.135Z] 04944245beec: Pulling fs layer [2023-09-22T21:59:39.135Z] 699f458cf7ca: Pulling fs layer [2023-09-22T21:59:39.135Z] 765212b225bb: Pulling fs layer [2023-09-22T21:59:39.135Z] f23df028b6ca: Pulling fs layer [2023-09-22T21:59:39.135Z] d65c8cfc05b1: Pulling fs layer [2023-09-22T21:59:39.135Z] 2437ff75d9bd: Pulling fs layer [2023-09-22T21:59:39.135Z] f23df028b6ca: Waiting [2023-09-22T21:59:39.135Z] d65c8cfc05b1: Waiting [2023-09-22T21:59:39.135Z] 2437ff75d9bd: Waiting [2023-09-22T21:59:39.135Z] 765212b225bb: Waiting [2023-09-22T21:59:39.406Z] 04944245beec: Verifying Checksum [2023-09-22T21:59:39.406Z] 04944245beec: Download complete [2023-09-22T21:59:39.406Z] 765212b225bb: Verifying Checksum [2023-09-22T21:59:39.406Z] 765212b225bb: Download complete [2023-09-22T21:59:39.406Z] f23df028b6ca: Verifying Checksum [2023-09-22T21:59:39.406Z] f23df028b6ca: Download complete [2023-09-22T21:59:39.406Z] d65c8cfc05b1: Verifying Checksum [2023-09-22T21:59:39.406Z] d65c8cfc05b1: Download complete [2023-09-22T21:59:39.674Z] 699f458cf7ca: Verifying Checksum [2023-09-22T21:59:39.674Z] 699f458cf7ca: Download complete [2023-09-22T21:59:39.941Z] 8998bd30e6a1: Verifying Checksum [2023-09-22T21:59:39.941Z] 8998bd30e6a1: Download complete [2023-09-22T21:59:42.532Z] 2437ff75d9bd: Verifying Checksum [2023-09-22T21:59:42.532Z] 2437ff75d9bd: Download complete [2023-09-22T21:59:43.947Z] 8998bd30e6a1: Pull complete [2023-09-22T21:59:44.529Z] 04944245beec: Pull complete [2023-09-22T21:59:45.935Z] 699f458cf7ca: Pull complete [2023-09-22T21:59:45.935Z] 765212b225bb: Pull complete [2023-09-22T21:59:46.894Z] f23df028b6ca: Pull complete [2023-09-22T21:59:46.894Z] d65c8cfc05b1: Pull complete [2023-09-22T22:00:01.876Z] 2437ff75d9bd: Pull complete [2023-09-22T22:00:01.876Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-22T22:00:01.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-22T22:00:01.876Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:00:02.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-7645 does not seem to be running inside a container [2023-09-22T22:00:02.122Z] $ 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/259 -v /w/workspace/device-sdk-go/259:/w/workspace/device-sdk-go/259:rw,z -v /w/workspace/device-sdk-go/259@tmp:/w/workspace/device-sdk-go/259@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:arm64 cat [2023-09-22T22:00:04.550Z] $ docker top d15667319b5b6668f674dd764206205b076b99133b7c773dfd26339e71e71ac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:00:05.054Z] ---> job-cost.sh [2023-09-22T22:00:05.321Z] lf-activate-venv: SKIPPING [2023-09-22T22:00:05.321Z] INFO: No Stack... [2023-09-22T22:00:05.902Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-22T22:00:06.482Z] INFO: Archiving Costs [Pipeline] sh [2023-09-22T22:00:06.800Z] + cat /w/workspace/device-sdk-go/259/archives/cost.csv [2023-09-22T22:00:06.800Z] + cut -d, -f6 [Pipeline] lock [2023-09-22T22:00:07.125Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [2023-09-22T22:00:07.134Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] did not exist. Created. [2023-09-22T22:00:07.134Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-22T22:00:07.470Z] /w/workspace/device-sdk-go/259@tmp/durable-39952c9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-22T22:00:07.797Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-22T22:00:07.816Z] Warning: overwriting stash ‘stack-cost’ [2023-09-22T22:00:07.891Z] Stashed 1 file(s) [Pipeline] } [2023-09-22T22:00:07.898Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-22T22:00:07.915Z] $ docker stop --time=1 d15667319b5b6668f674dd764206205b076b99133b7c773dfd26339e71e71ac7 [2023-09-22T22:00:09.397Z] $ docker rm -f --volumes d15667319b5b6668f674dd764206205b076b99133b7c773dfd26339e71e71ac7 [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-22T22:00:09.795Z] provisioning config files... [2023-09-22T22:00:09.802Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1437666190306718775tmp [Pipeline] { [Pipeline] sh [2023-09-22T22:00:10.118Z] + set +x [2023-09-22T22:00:10.118Z] + curl -s https://codecov.io/bash [2023-09-22T22:00:10.118Z] + bash -s -- [2023-09-22T22:00:10.118Z] [2023-09-22T22:00:10.118Z] _____ _ [2023-09-22T22:00:10.118Z] / ____| | | [2023-09-22T22:00:10.118Z] | | ___ __| | ___ ___ _____ __ [2023-09-22T22:00:10.118Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-22T22:00:10.118Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-22T22:00:10.118Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-22T22:00:10.118Z] Bash-1.0.6 [2023-09-22T22:00:10.118Z] [2023-09-22T22:00:10.118Z] [2023-09-22T22:00:10.118Z] ==> git version 2.25.1 found [2023-09-22T22:00:10.118Z] ==> 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-22T22:00:10.118Z] Release-Date: 2020-01-08 [2023-09-22T22:00:10.118Z] 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-22T22:00:10.118Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-22T22:00:10.118Z] ==> Jenkins CI detected. [2023-09-22T22:00:10.118Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-22T22:00:10.118Z] project root: . [2023-09-22T22:00:10.118Z] --> token set from env [2023-09-22T22:00:10.118Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-22T22:00:10.118Z] ==> Running gcov in . (disable via -X gcov) [2023-09-22T22:00:10.118Z] ==> Python coveragepy not found [2023-09-22T22:00:10.118Z] ==> Searching for coverage reports in: [2023-09-22T22:00:10.118Z] + . [2023-09-22T22:00:10.118Z] -> Found 1 reports [2023-09-22T22:00:10.118Z] ==> Detecting git/mercurial file structure [2023-09-22T22:00:10.118Z] ==> Reading reports [2023-09-22T22:00:10.118Z] + ./coverage.out bytes=121385 [2023-09-22T22:00:10.118Z] ==> Appending adjustments [2023-09-22T22:00:10.118Z] https://docs.codecov.io/docs/fixing-reports [2023-09-22T22:00:10.687Z] + Found adjustments [2023-09-22T22:00:10.687Z] ==> Gzipping contents [2023-09-22T22:00:10.687Z] 20K /tmp/codecov.uqg996.gz [2023-09-22T22:00:10.687Z] ==> Uploading reports [2023-09-22T22:00:10.687Z] url: https://codecov.io [2023-09-22T22:00:10.687Z] query: branch=main&commit=afe3ff62d3fd920c33d9e36f21752c88d9373351&build=259&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F259%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-22T22:00:10.687Z] -> Pinging Codecov [2023-09-22T22:00:10.688Z] 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=afe3ff62d3fd920c33d9e36f21752c88d9373351&build=259&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F259%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-22T22:00:10.688Z] -> Uploading to [2023-09-22T22:00:10.688Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-22/7E55EF52A471D76F132DFD9A03CDDE97/afe3ff62d3fd920c33d9e36f21752c88d9373351/de020040-652e-434d-a9c3-7a8faf51d2cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230922T220010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57c0412db9150a1933d87d726d6a278ae54f28804ce4d5a06f1d0aadf182e77d [2023-09-22T22:00:10.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-22T22:00:10.688Z] Dload Upload Total Spent Left Speed [2023-09-22T22:00:10.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16532 0 0 100 16532 0 87936 --:--:-- --:--:-- --:--:-- 87936 [2023-09-22T22:00:10.947Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] } [2023-09-22T22:00:10.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-22T22:00:11.060Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-22T22:00:11.072Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:00:11.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-22T22:00:11.370Z] [2023-09-22T22:00:11.370Z] 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-22T22:00:11.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-22T22:00:11.670Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-22T22:00:11.670Z] df9b9388f04a: Pulling fs layer [2023-09-22T22:00:11.670Z] 52dc419b0ee2: Pulling fs layer [2023-09-22T22:00:11.670Z] 25bc292e5bac: Pulling fs layer [2023-09-22T22:00:11.670Z] 114826534d7a: Pulling fs layer [2023-09-22T22:00:11.670Z] 4657fd5d0bcf: Pulling fs layer [2023-09-22T22:00:11.670Z] 6ad1cebc031e: Pulling fs layer [2023-09-22T22:00:11.670Z] 8a3aa393b2d8: Pulling fs layer [2023-09-22T22:00:11.670Z] 114826534d7a: Waiting [2023-09-22T22:00:11.670Z] 8a3aa393b2d8: Waiting [2023-09-22T22:00:11.670Z] 4657fd5d0bcf: Waiting [2023-09-22T22:00:11.670Z] 6ad1cebc031e: Waiting [2023-09-22T22:00:11.670Z] 25bc292e5bac: Verifying Checksum [2023-09-22T22:00:11.670Z] 25bc292e5bac: Download complete [2023-09-22T22:00:11.670Z] 52dc419b0ee2: Verifying Checksum [2023-09-22T22:00:11.670Z] 52dc419b0ee2: Download complete [2023-09-22T22:00:11.670Z] 4657fd5d0bcf: Download complete [2023-09-22T22:00:11.670Z] df9b9388f04a: Verifying Checksum [2023-09-22T22:00:11.670Z] df9b9388f04a: Download complete [2023-09-22T22:00:11.929Z] 6ad1cebc031e: Verifying Checksum [2023-09-22T22:00:11.929Z] 6ad1cebc031e: Download complete [2023-09-22T22:00:11.929Z] df9b9388f04a: Pull complete [2023-09-22T22:00:11.929Z] 52dc419b0ee2: Pull complete [2023-09-22T22:00:12.188Z] 25bc292e5bac: Pull complete [2023-09-22T22:00:12.445Z] 114826534d7a: Verifying Checksum [2023-09-22T22:00:12.446Z] 114826534d7a: Download complete [2023-09-22T22:00:12.704Z] 8a3aa393b2d8: Verifying Checksum [2023-09-22T22:00:12.704Z] 8a3aa393b2d8: Download complete [2023-09-22T22:00:15.993Z] 114826534d7a: Pull complete [2023-09-22T22:00:15.993Z] 4657fd5d0bcf: Pull complete [2023-09-22T22:00:16.252Z] 6ad1cebc031e: Pull complete [2023-09-22T22:00:19.535Z] 8a3aa393b2d8: Pull complete [2023-09-22T22:00:19.535Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-22T22:00:19.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-22T22:00:19.535Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:00:19.616Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T22:00:19.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-22T22:00:21.366Z] $ docker top c402499b9714a2bd5d9862dde867b46ca432b52c7ae4d81eeb17409b992488e5 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-22T22:00:21.433Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-22T22:00:21.710Z] + set -o pipefail [2023-09-22T22:00:21.711Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-22T22:00:26.981Z] [2023-09-22T22:00:26.981Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-22T22:00:26.981Z] [2023-09-22T22:00:26.981Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4e96aeb2-7ba5-41ec-89fa-709e550152d4 [2023-09-22T22:00:26.981Z] [2023-09-22T22:00:26.981Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-22T22:00:26.981Z] [2023-09-22T22:00:27.549Z] [2023-09-22T22:00:27.549Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-22T22:00:27.549Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-22T22:00:27.549Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-22T22:00:27.827Z] $ docker stop --time=1 c402499b9714a2bd5d9862dde867b46ca432b52c7ae4d81eeb17409b992488e5 [2023-09-22T22:00:29.686Z] $ docker rm -f --volumes c402499b9714a2bd5d9862dde867b46ca432b52c7ae4d81eeb17409b992488e5 [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-22T22:00:30.102Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T22:00:30.117Z] provisioning config files... [2023-09-22T22:00:30.125Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config519549932435586363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:00:30.417Z] --> edgex-publish-swagger.sh [2023-09-22T22:00:30.417Z] === Publish openapi/v3 API === [2023-09-22T22:00:30.417Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-22T22:00:30.417Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-22T22:00:30.417Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-22T22:00:30.417Z] Dload Upload Total Spent Left Speed [2023-09-22T22:00:30.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 49945 --:--:-- --:--:-- --:--:-- 49840 100 23674 0 0 100 23674 0 49945 --:--:-- --:--:-- --:--:-- 49840 [2023-09-22T22:00:30.677Z] [2023-09-22T22:00:30.677Z] [Pipeline] } [2023-09-22T22:00:30.684Z] 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-22T22:00:31.108Z] + git log --format=format:%s -1 afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] sh [2023-09-22T22:00:31.398Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T22:00:31.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:00:31.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T22:00:31.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:00:31.759Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T22:00:31.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T22:00:32.132Z] $ docker top 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T22:00:32.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T22:00:32.216Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T22:00:32.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T22:00:32.341Z] $ docker exec 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b ssh-agent [2023-09-22T22:00:32.439Z] SSH_AUTH_SOCK=/tmp/ssh-cizbQRCMiHyq/agent.32 [2023-09-22T22:00:32.439Z] SSH_AGENT_PID=38 [2023-09-22T22:00:32.445Z] Running ssh-add (command line suppressed) [2023-09-22T22:00:32.552Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4260777558722698832.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4260777558722698832.key) [2023-09-22T22:00:32.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T22:00:32.845Z] + git semver tag [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,025 [run_tag] DEBUG tag force:False [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,025 [check_head_tag] DEBUG check head tag [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,026 [execute] INFO git cat-file --batch-check [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,029 [execute] INFO git cat-file --batch [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,045 [execute] INFO git tag -a v3.1.0-dev.30 -m v3.1.0-dev.30 [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,045 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.30', '-m', 'v3.1.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-22T22:00:33.104Z] 2023-09-22 22:00:33,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:33.104Z] 3.1.0-dev.30 [Pipeline] } [2023-09-22T22:00:33.121Z] $ docker exec --env ******** --env ******** 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b ssh-agent -k [2023-09-22T22:00:33.212Z] unset SSH_AUTH_SOCK; [2023-09-22T22:00:33.213Z] unset SSH_AGENT_PID; [2023-09-22T22:00:33.213Z] echo Agent pid 38 killed; [2023-09-22T22:00:33.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T22:00:33.510Z] + git semver [Pipeline] } [2023-09-22T22:00:33.790Z] $ docker stop --time=1 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b [2023-09-22T22:00:35.046Z] $ docker rm -f --volumes 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:00:35.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-22T22:00:35.417Z] [2023-09-22T22:00:35.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:00:35.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-22T22:00:35.724Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-22T22:00:35.724Z] ab5ef0e58194: Pulling fs layer [2023-09-22T22:00:35.724Z] 9712f1f96733: Pulling fs layer [2023-09-22T22:00:35.724Z] 63f879dbbcfc: Pulling fs layer [2023-09-22T22:00:35.724Z] 0d9ebad4ef96: Pulling fs layer [2023-09-22T22:00:35.724Z] e9a5061849ea: Pulling fs layer [2023-09-22T22:00:35.724Z] d747dcd14b5f: Pulling fs layer [2023-09-22T22:00:35.724Z] 2de7ff778b66: Pulling fs layer [2023-09-22T22:00:35.724Z] 0d9ebad4ef96: Waiting [2023-09-22T22:00:35.724Z] e9a5061849ea: Waiting [2023-09-22T22:00:35.724Z] d747dcd14b5f: Waiting [2023-09-22T22:00:35.724Z] 9712f1f96733: Verifying Checksum [2023-09-22T22:00:35.724Z] 9712f1f96733: Download complete [2023-09-22T22:00:35.985Z] 63f879dbbcfc: Verifying Checksum [2023-09-22T22:00:35.985Z] 63f879dbbcfc: Download complete [2023-09-22T22:00:36.250Z] e9a5061849ea: Verifying Checksum [2023-09-22T22:00:36.250Z] e9a5061849ea: Download complete [2023-09-22T22:00:36.250Z] d747dcd14b5f: Verifying Checksum [2023-09-22T22:00:36.250Z] d747dcd14b5f: Download complete [2023-09-22T22:00:36.250Z] 0d9ebad4ef96: Verifying Checksum [2023-09-22T22:00:36.250Z] ab5ef0e58194: Download complete [2023-09-22T22:00:36.250Z] 2de7ff778b66: Verifying Checksum [2023-09-22T22:00:36.250Z] 2de7ff778b66: Download complete [2023-09-22T22:00:38.778Z] ab5ef0e58194: Pull complete [2023-09-22T22:00:38.778Z] 9712f1f96733: Pull complete [2023-09-22T22:00:39.343Z] 63f879dbbcfc: Pull complete [2023-09-22T22:00:43.527Z] 0d9ebad4ef96: Pull complete [2023-09-22T22:00:43.527Z] e9a5061849ea: Pull complete [2023-09-22T22:00:43.527Z] d747dcd14b5f: Pull complete [2023-09-22T22:00:44.094Z] 2de7ff778b66: Pull complete [2023-09-22T22:00:44.094Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-22T22:00:44.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-22T22:00:44.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:00:44.172Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T22:00:44.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-22T22:00:46.672Z] $ docker top aba05b0a72adee10f1bbe8b404b671d1484f92c9ebc2c56b694a44b037e5664f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-22T22:00:46.736Z] provisioning config files... [2023-09-22T22:00:46.743Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14691068696980409128tmp [2023-09-22T22:00:46.752Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3983631000653289436tmp [2023-09-22T22:00:46.762Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18394694477307625590tmp [Pipeline] { [Pipeline] echo [2023-09-22T22:00:46.776Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:00:47.058Z] ---> sigul-configuration.sh [2023-09-22T22:00:47.058Z] gpg: directory `/root/.gnupg' created [2023-09-22T22:00:47.058Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-22T22:00:47.058Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-22T22:00:47.058Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-22T22:00:47.058Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-22T22:00:47.058Z] gpg: CAST5 encrypted data [2023-09-22T22:00:47.058Z] gpg: encrypted with 1 passphrase [2023-09-22T22:00:47.058Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-22T22:00:47.341Z] + mkdir /home/jenkins [2023-09-22T22:00:47.341Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-22T22:00:47.625Z] + 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-22T22:00:47.635Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:00:47.918Z] ---> sigul-install.sh [2023-09-22T22:00:47.918Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-22T22:00:48.205Z] + git tag --list [2023-09-22T22:00:48.205Z] 0.7.1 [2023-09-22T22:00:48.205Z] delhi-tag [2023-09-22T22:00:48.205Z] v1.0.0 [2023-09-22T22:00:48.205Z] v1.1.0 [2023-09-22T22:00:48.205Z] v1.1.1 [2023-09-22T22:00:48.205Z] v1.1.2 [2023-09-22T22:00:48.205Z] v1.2.0 [2023-09-22T22:00:48.205Z] v1.2.1 [2023-09-22T22:00:48.205Z] v1.2.2 [2023-09-22T22:00:48.205Z] v1.2.3 [2023-09-22T22:00:48.205Z] v1.3.0 [2023-09-22T22:00:48.205Z] v1.4.0 [2023-09-22T22:00:48.205Z] v2.0.0 [2023-09-22T22:00:48.205Z] v2.1.0 [2023-09-22T22:00:48.205Z] v2.1.1 [2023-09-22T22:00:48.205Z] v2.2.0 [2023-09-22T22:00:48.205Z] v2.3.0 [2023-09-22T22:00:48.205Z] v2.3.1 [2023-09-22T22:00:48.205Z] v3.0 [2023-09-22T22:00:48.205Z] v3.0.0 [2023-09-22T22:00:48.205Z] v3.0.1-dev.1 [2023-09-22T22:00:48.205Z] v3.1.0-dev.1 [2023-09-22T22:00:48.205Z] v3.1.0-dev.10 [2023-09-22T22:00:48.205Z] v3.1.0-dev.11 [2023-09-22T22:00:48.205Z] v3.1.0-dev.12 [2023-09-22T22:00:48.205Z] v3.1.0-dev.13 [2023-09-22T22:00:48.205Z] v3.1.0-dev.14 [2023-09-22T22:00:48.205Z] v3.1.0-dev.15 [2023-09-22T22:00:48.205Z] v3.1.0-dev.16 [2023-09-22T22:00:48.205Z] v3.1.0-dev.17 [2023-09-22T22:00:48.205Z] v3.1.0-dev.18 [2023-09-22T22:00:48.205Z] v3.1.0-dev.19 [2023-09-22T22:00:48.205Z] v3.1.0-dev.2 [2023-09-22T22:00:48.205Z] v3.1.0-dev.20 [2023-09-22T22:00:48.205Z] v3.1.0-dev.21 [2023-09-22T22:00:48.205Z] v3.1.0-dev.22 [2023-09-22T22:00:48.205Z] v3.1.0-dev.23 [2023-09-22T22:00:48.205Z] v3.1.0-dev.24 [2023-09-22T22:00:48.205Z] v3.1.0-dev.25 [2023-09-22T22:00:48.205Z] v3.1.0-dev.26 [2023-09-22T22:00:48.205Z] v3.1.0-dev.27 [2023-09-22T22:00:48.205Z] v3.1.0-dev.28 [2023-09-22T22:00:48.205Z] v3.1.0-dev.29 [2023-09-22T22:00:48.205Z] v3.1.0-dev.3 [2023-09-22T22:00:48.205Z] v3.1.0-dev.30 [2023-09-22T22:00:48.205Z] v3.1.0-dev.4 [2023-09-22T22:00:48.205Z] v3.1.0-dev.5 [2023-09-22T22:00:48.205Z] v3.1.0-dev.6 [2023-09-22T22:00:48.205Z] v3.1.0-dev.7 [2023-09-22T22:00:48.205Z] v3.1.0-dev.8 [2023-09-22T22:00:48.205Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-22T22:00:48.491Z] + lftools sign git-tag v3.1.0-dev.30 [2023-09-22T22:00:49.060Z] Signing Git tag with Sigul... [2023-09-22T22:00:49.060Z] Signing v3.1.0-dev.30 [Pipeline] echo [2023-09-22T22:00:49.328Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:00:49.614Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-22T22:00:49.621Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-22T22:00:49.650Z] $ docker stop --time=1 aba05b0a72adee10f1bbe8b404b671d1484f92c9ebc2c56b694a44b037e5664f [2023-09-22T22:00:50.935Z] $ docker rm -f --volumes aba05b0a72adee10f1bbe8b404b671d1484f92c9ebc2c56b694a44b037e5664f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-22T22:00:51.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T22:00:51.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:00:51.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T22:00:51.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:00:51.689Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T22:00:51.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T22:00:52.054Z] $ docker top 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T22:00:52.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T22:00:52.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T22:00:52.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T22:00:52.255Z] $ docker exec 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 ssh-agent [2023-09-22T22:00:52.361Z] SSH_AUTH_SOCK=/tmp/ssh-vr5HoqWREUbs/agent.31 [2023-09-22T22:00:52.361Z] SSH_AGENT_PID=37 [2023-09-22T22:00:52.366Z] Running ssh-add (command line suppressed) [2023-09-22T22:00:52.481Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13185188063963275796.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13185188063963275796.key) [2023-09-22T22:00:52.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T22:00:52.773Z] + git semver bump pre [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,960 [bump_version] DEBUG bumping version:3.1.0-dev.30 on axis:pre with prefix:dev [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,960 [bump_version] DEBUG bumped version:3.1.0-dev.31 [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,960 [write_version] DEBUG write version:3.1.0-dev.31 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,960 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,962 [execute] INFO git cat-file --batch-check [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,962 [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-22T22:00:53.033Z] 2023-09-22 22:00:52,967 [execute] INFO git cat-file --batch [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-22T22:00:53.033Z] 2023-09-22 22:00:52,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:53.033Z] 3.1.0-dev.31 [Pipeline] } [2023-09-22T22:00:53.051Z] $ docker exec --env ******** --env ******** 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 ssh-agent -k [2023-09-22T22:00:53.154Z] unset SSH_AUTH_SOCK; [2023-09-22T22:00:53.154Z] unset SSH_AGENT_PID; [2023-09-22T22:00:53.154Z] echo Agent pid 37 killed; [2023-09-22T22:00:53.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T22:00:53.463Z] + git semver [Pipeline] } [2023-09-22T22:00:53.743Z] $ docker stop --time=1 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 [2023-09-22T22:00:54.999Z] $ docker rm -f --volumes 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-22T22:00:55.341Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-22T22:00:55.341Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:00:55.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-22T22:00:55.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:00:55.726Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T22:00:55.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-22T22:00:56.101Z] $ docker top 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 -eo pid,comm [2023-09-22T22:00:56.138Z] 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-22T22:00:56.138Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-22T22:00:56.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-22T22:00:56.177Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-22T22:00:56.287Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-22T22:00:56.298Z] $ docker exec 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 ssh-agent [2023-09-22T22:00:56.408Z] SSH_AUTH_SOCK=/tmp/ssh-9pQFz0z0iGe4/agent.31 [2023-09-22T22:00:56.408Z] SSH_AGENT_PID=37 [2023-09-22T22:00:56.412Z] Running ssh-add (command line suppressed) [2023-09-22T22:00:56.529Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13693145396456112054.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13693145396456112054.key) [2023-09-22T22:00:56.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-22T22:00:56.820Z] + git semver push [2023-09-22T22:00:57.079Z] 2023-09-22 22:00:57,012 [run_push] DEBUG push [2023-09-22T22:00:57.079Z] 2023-09-22 22:00:57,013 [execute] INFO git cat-file --batch-check [2023-09-22T22:00:57.079Z] 2023-09-22 22:00:57,013 [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-22T22:00:57.079Z] 2023-09-22 22:00:57,017 [execute] INFO git rev-list d6ee8933c279482d46323e5c05cdd5dd51c93489 -- [2023-09-22T22:00:57.079Z] 2023-09-22 22:00:57,017 [execute] DEBUG Popen(['git', 'rev-list', 'd6ee8933c279482d46323e5c05cdd5dd51c93489', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-22T22:00:57.079Z] 2023-09-22 22:00:57,030 [execute] INFO git fetch -v origin [2023-09-22T22:00:57.079Z] 2023-09-22 22:00:57,030 [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-22T22:00:57.647Z] 2023-09-22 22:00:57,519 [run_push] DEBUG no remote changes detected [2023-09-22T22:00:57.647Z] 2023-09-22 22:00:57,519 [execute] INFO git push origin semver [2023-09-22T22:00:57.647Z] 2023-09-22 22:00:57,520 [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-22T22:00:58.582Z] 2023-09-22 22:00:58,277 [run_push] DEBUG push all version tags [2023-09-22T22:00:58.582Z] 2023-09-22 22:00:58,277 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-22T22:00:58.582Z] 2023-09-22 22:00:58,278 [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-22T22:00:59.150Z] 2023-09-22 22:00:59,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-22T22:00:59.150Z] 3.1.0-dev.31 [Pipeline] } [2023-09-22T22:00:59.167Z] $ docker exec --env ******** --env ******** 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 ssh-agent -k [2023-09-22T22:00:59.265Z] unset SSH_AUTH_SOCK; [2023-09-22T22:00:59.265Z] unset SSH_AGENT_PID; [2023-09-22T22:00:59.265Z] echo Agent pid 37 killed; [2023-09-22T22:00:59.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-22T22:00:59.567Z] + git semver [Pipeline] } [2023-09-22T22:00:59.846Z] $ docker stop --time=1 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 [2023-09-22T22:01:01.144Z] $ docker rm -f --volumes 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 [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-22T22:01:01.672Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-22T22:01:01.672Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-22T22:01:01.672Z] total 16 [2023-09-22T22:01:01.672Z] drwxr-xr-x 3 root root 4096 Sep 22 21:48 . [2023-09-22T22:01:01.672Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 22:00 .. [2023-09-22T22:01:01.672Z] drwxr-xr-x 2 root root 4096 Sep 22 21:48 cost [2023-09-22T22:01:01.672Z] -rw-r--r-- 1 root root 85 Sep 22 21:48 cost.csv [2023-09-22T22:01:01.672Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-22T22:01:01.672Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-22T22:01:01.672Z] total 16 [2023-09-22T22:01:01.672Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:48 . [2023-09-22T22:01:01.672Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 22:00 .. [2023-09-22T22:01:01.672Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 21:48 cost [2023-09-22T22:01:01.672Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 22 21:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:01.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:02.814Z] ---> package-listing.sh [2023-09-22T22:01:02.814Z] ++ facter osfamily [2023-09-22T22:01:02.814Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-22T22:01:03.073Z] + OS_FAMILY=debian [2023-09-22T22:01:03.073Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-22T22:01:03.073Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-22T22:01:03.073Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-22T22:01:03.073Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-22T22:01:03.073Z] + PACKAGES=/tmp/packages_start.txt [2023-09-22T22:01:03.073Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-22T22:01:03.073Z] + PACKAGES=/tmp/packages_end.txt [2023-09-22T22:01:03.073Z] + case "${OS_FAMILY}" in [2023-09-22T22:01:03.073Z] + dpkg -l [2023-09-22T22:01:03.073Z] + grep '^ii' [2023-09-22T22:01:03.073Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-22T22:01:03.073Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-22T22:01:03.073Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-22T22:01:03.073Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-22T22:01:03.073Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-22T22:01:03.073Z] + 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-22T22:01:03.084Z] 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-22T22:01:03.362Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-22T22:01:03.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-22T22:01:03.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-22T22:01:03.983Z] prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container [2023-09-22T22:01:04.016Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-22T22:01:04.240Z] $ docker top 16bf441a97cbebf627e230fdce493c849140a1e879061fb739ab2d4a34f21493 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-22T22:01:04.576Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-22T22:01:04.858Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-22T22:01:05.143Z] + ls /var/log/sa-host [2023-09-22T22:01:05.143Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-22T22:01:05.210Z] provisioning config files... [2023-09-22T22:01:05.218Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12914881878201020181tmp [Pipeline] { [Pipeline] echo [2023-09-22T22:01:05.234Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:05.577Z] ---> create-netrc.sh [Pipeline] } [2023-09-22T22:01:05.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:05.937Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-22T22:01:05.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:06.251Z] ---> sudo-logs.sh [2023-09-22T22:01:06.251Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-22T22:01:06.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:06.564Z] ---> job-cost.sh [2023-09-22T22:01:06.564Z] lf-activate-venv: SKIPPING [2023-09-22T22:01:06.564Z] DEBUG: total: 0.2199999988079071 [2023-09-22T22:01:06.564Z] INFO: Retrieving Stack Cost... [2023-09-22T22:01:06.823Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-22T22:01:07.392Z] INFO: Archiving Costs [Pipeline] echo [2023-09-22T22:01:07.404Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-22T22:01:07.686Z] ---> logs-deploy.sh [2023-09-22T22:01:07.686Z] lf-activate-venv: SKIPPING [2023-09-22T22:01:07.686Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/259 [2023-09-22T22:01:07.686Z] INFO: archiving workspace using pattern(s): [2023-09-22T22:01:08.633Z] Archives upload complete. [2023-09-22T22:01:08.633Z] INFO: archiving logs to Nexus