Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fda9b37df1b1ddb72445924cae920f416e370c84 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-ssh14517590226381269788.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-ssh8575847958992775295.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-ssh16229112095093133178.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-ssh12491755271332718392.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-ssh10539185828284686888.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-ubuntu20.04-docker-8c-8g-5959’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5960 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 fda9b37df1b1ddb72445924cae920f416e370c84 (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 Commit message: "build: Consume latest go-mod-bootstrap with RemoveHosts flag (#1510)" > git config core.sparsecheckout # timeout=10 > git checkout -f fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 > git rev-list --no-walk 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T19:06:51.839Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T19:06:51.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T19:06:51.897Z] ========================================================= [2023-09-12T19:06:51.898Z] EdgeX Global Pipelines Version Info [2023-09-12T19:06:51.898Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:06:53.950Z] ------------------- [2023-09-12T19:06:53.950Z] stable info: [2023-09-12T19:06:53.950Z] ------------------- [2023-09-12T19:06:53.950Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T19:06:53.950Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T19:06:53.950Z] Message: update stable to v1.0.254 [2023-09-12T19:06:54.210Z] ------------------- [2023-09-12T19:06:54.210Z] experimental info: [2023-09-12T19:06:54.210Z] ------------------- [2023-09-12T19:06:54.210Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T19:06:54.210Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T19:06:54.210Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T19:06:54.411Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T19:06:54.425Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T19:06:54.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T19:06:54.456Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T19:06:54.469Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T19:06:54.482Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T19:06:54.496Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T19:06:54.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T19:06:54.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T19:06:54.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T19:06:54.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T19:06:54.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T19:06:54.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T19:06:54.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T19:06:54.618Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T19:06:54.632Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T19:06:54.647Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T19:06:54.662Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T19:06:54.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T19:06:54.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T19:06:54.706Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T19:06:54.726Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T19:06:54.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T19:06:54.758Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T19:06:54.779Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T19:06:54.796Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T19:06:54.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T19:06:54.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T19:06:54.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T19:06:54.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T19:06:54.853Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo [2023-09-12T19:06:54.863Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fda9b37 [Pipeline] echo [2023-09-12T19:06:54.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T19:06:54.925Z] provisioning config files... [2023-09-12T19:06:54.938Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8085482832002915745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:06:55.240Z] ---> docker-login.sh [2023-09-12T19:06:55.240Z] nexus3.edgexfoundry.org:10001 [2023-09-12T19:06:55.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:06:55.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:06:55.505Z] Configure a credential helper to remove this warning. See [2023-09-12T19:06:55.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:06:55.505Z] [2023-09-12T19:06:55.505Z] Login Succeeded [2023-09-12T19:06:55.505Z] nexus3.edgexfoundry.org:10002 [2023-09-12T19:06:55.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:06:55.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:06:55.505Z] Configure a credential helper to remove this warning. See [2023-09-12T19:06:55.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:06:55.505Z] [2023-09-12T19:06:55.505Z] Login Succeeded [2023-09-12T19:06:55.505Z] nexus3.edgexfoundry.org:10003 [2023-09-12T19:06:55.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:06:55.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:06:55.766Z] Configure a credential helper to remove this warning. See [2023-09-12T19:06:55.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:06:55.766Z] [2023-09-12T19:06:55.766Z] Login Succeeded [2023-09-12T19:06:55.766Z] nexus3.edgexfoundry.org:10004 [2023-09-12T19:06:55.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:06:55.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:06:55.766Z] Configure a credential helper to remove this warning. See [2023-09-12T19:06:55.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:06:55.766Z] [2023-09-12T19:06:55.766Z] Login Succeeded [2023-09-12T19:06:55.766Z] docker.io [2023-09-12T19:06:56.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:06:56.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:06:56.288Z] Configure a credential helper to remove this warning. See [2023-09-12T19:06:56.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:06:56.288Z] [2023-09-12T19:06:56.288Z] Login Succeeded [2023-09-12T19:06:56.288Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T19:06:56.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T19:06:56.658Z] + git rev-list -1 --merges fda9b37df1b1ddb72445924cae920f416e370c84~1..fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo [2023-09-12T19:06:56.711Z] -----------> git rev-list -1 --merges fda9b37df1b1ddb72445924cae920f416e370c84~1..fda9b37df1b1ddb72445924cae920f416e370c84 fda9b37df1b1ddb72445924cae920f416e370c84 [false] [Pipeline] sh [2023-09-12T19:06:57.001Z] + git log --format=format:%s -1 fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo [2023-09-12T19:06:57.017Z] ========================================================= [2023-09-12T19:06:57.017Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T19:06:57.017Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T19:06:57.336Z] + git log --format=format:%s -1 fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo [2023-09-12T19:06:57.346Z] [semverPrep] GIT_COMMIT: fda9b37df1b1ddb72445924cae920f416e370c84, Commit Message: build: Consume latest go-mod-bootstrap with RemoveHosts flag (#1510) [Pipeline] echo [2023-09-12T19:06:57.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T19:06:57.710Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T19:06:57.710Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T19:06:57.710Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T19:06:57.710Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T19:06:57.710Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T19:06:57.710Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T19:06:57.710Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:06:58.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T19:06:58.061Z] [2023-09-12T19:06:58.061Z] 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-12T19:06:58.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T19:06:58.357Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T19:06:58.357Z] b85a868b505f: Pulling fs layer [2023-09-12T19:06:58.357Z] e2be974225ed: Pulling fs layer [2023-09-12T19:06:58.357Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T19:06:58.357Z] 988bab9f4d93: Pulling fs layer [2023-09-12T19:06:58.357Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T19:06:58.357Z] eaf3925da568: Pulling fs layer [2023-09-12T19:06:58.357Z] bab4dde63d76: Pulling fs layer [2023-09-12T19:06:58.357Z] bde34c3a00c8: Pulling fs layer [2023-09-12T19:06:58.357Z] b352a97aabf1: Pulling fs layer [2023-09-12T19:06:58.357Z] 4872d77fe225: Pulling fs layer [2023-09-12T19:06:58.357Z] 5851b861e8e6: Pulling fs layer [2023-09-12T19:06:58.357Z] 988bab9f4d93: Waiting [2023-09-12T19:06:58.357Z] 1469e6f7b9e6: Waiting [2023-09-12T19:06:58.357Z] eaf3925da568: Waiting [2023-09-12T19:06:58.357Z] bab4dde63d76: Waiting [2023-09-12T19:06:58.357Z] bde34c3a00c8: Waiting [2023-09-12T19:06:58.357Z] b352a97aabf1: Waiting [2023-09-12T19:06:58.357Z] 4872d77fe225: Waiting [2023-09-12T19:06:58.357Z] 5851b861e8e6: Waiting [2023-09-12T19:06:58.357Z] e2be974225ed: Download complete [2023-09-12T19:06:58.357Z] 988bab9f4d93: Verifying Checksum [2023-09-12T19:06:58.357Z] 988bab9f4d93: Download complete [2023-09-12T19:06:58.357Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T19:06:58.357Z] 1469e6f7b9e6: Download complete [2023-09-12T19:06:58.357Z] eaf3925da568: Verifying Checksum [2023-09-12T19:06:58.357Z] eaf3925da568: Download complete [2023-09-12T19:06:58.357Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T19:06:58.357Z] 339a4e72a1f5: Download complete [2023-09-12T19:06:58.618Z] bde34c3a00c8: Download complete [2023-09-12T19:06:58.618Z] b352a97aabf1: Verifying Checksum [2023-09-12T19:06:58.618Z] b352a97aabf1: Download complete [2023-09-12T19:06:58.618Z] 4872d77fe225: Download complete [2023-09-12T19:06:58.618Z] 5851b861e8e6: Verifying Checksum [2023-09-12T19:06:58.618Z] 5851b861e8e6: Download complete [2023-09-12T19:06:58.618Z] b85a868b505f: Verifying Checksum [2023-09-12T19:06:58.618Z] b85a868b505f: Download complete [2023-09-12T19:06:58.877Z] bab4dde63d76: Verifying Checksum [2023-09-12T19:06:58.877Z] bab4dde63d76: Download complete [2023-09-12T19:06:59.822Z] b85a868b505f: Pull complete [2023-09-12T19:07:00.081Z] e2be974225ed: Pull complete [2023-09-12T19:07:00.649Z] 339a4e72a1f5: Pull complete [2023-09-12T19:07:00.649Z] 988bab9f4d93: Pull complete [2023-09-12T19:07:00.908Z] 1469e6f7b9e6: Pull complete [2023-09-12T19:07:00.908Z] eaf3925da568: Pull complete [2023-09-12T19:07:02.813Z] bab4dde63d76: Pull complete [2023-09-12T19:07:02.813Z] bde34c3a00c8: Pull complete [2023-09-12T19:07:02.813Z] b352a97aabf1: Pull complete [2023-09-12T19:07:02.813Z] 4872d77fe225: Pull complete [2023-09-12T19:07:02.813Z] 5851b861e8e6: Pull complete [2023-09-12T19:07:02.813Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T19:07:02.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T19:07:02.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:07:02.912Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:07:02.921Z] $ 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-12T19:07:05.772Z] $ docker top b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 -eo pid,comm [2023-09-12T19:07:05.848Z] 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-12T19:07:05.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T19:07:05.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T19:07:05.896Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T19:07:06.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T19:07:05.995Z] $ docker exec b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent [2023-09-12T19:07:06.120Z] SSH_AUTH_SOCK=/tmp/ssh-LZUzcWQwV8Ey/agent.32 [2023-09-12T19:07:06.120Z] SSH_AGENT_PID=37 [2023-09-12T19:07:06.127Z] Running ssh-add (command line suppressed) [2023-09-12T19:07:06.220Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16135304187371744646.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16135304187371744646.key) [2023-09-12T19:07:06.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T19:07:06.543Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T19:07:06.531Z] $ docker exec --env ******** --env ******** b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent -k [2023-09-12T19:07:06.643Z] unset SSH_AUTH_SOCK; [2023-09-12T19:07:06.644Z] unset SSH_AGENT_PID; [2023-09-12T19:07:06.644Z] echo Agent pid 37 killed; [2023-09-12T19:07:06.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T19:07:06.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T19:07:06.699Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T19:07:06.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T19:07:06.794Z] $ docker exec b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent [2023-09-12T19:07:06.937Z] SSH_AUTH_SOCK=/tmp/ssh-W437xLMZp70Z/agent.69 [2023-09-12T19:07:06.937Z] SSH_AGENT_PID=75 [2023-09-12T19:07:06.942Z] Running ssh-add (command line suppressed) [2023-09-12T19:07:07.028Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2432899683701259438.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2432899683701259438.key) [2023-09-12T19:07:07.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T19:07:07.361Z] + git semver init [2023-09-12T19:07:07.622Z] 2023-09-12 19:07:07,551 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T19:07:07.622Z] 2023-09-12 19:07:07,552 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-12T19:07:07.622Z] 2023-09-12 19:07:07,552 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-12T19:07:07.622Z] 2023-09-12 19:07:07,552 [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-12T19:07:08.563Z] 2023-09-12 19:07:08,525 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-12T19:07:08.563Z] 2023-09-12 19:07:08,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-12T19:07:08.563Z] 2023-09-12 19:07:08,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:07:08.563Z] 2023-09-12 19:07:08,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:07:08.563Z] 3.1.0-dev.22 [Pipeline] } [2023-09-12T19:07:08.817Z] $ docker exec --env ******** --env ******** b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent -k [2023-09-12T19:07:08.933Z] unset SSH_AUTH_SOCK; [2023-09-12T19:07:08.933Z] unset SSH_AGENT_PID; [2023-09-12T19:07:08.934Z] echo Agent pid 75 killed; [2023-09-12T19:07:08.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T19:07:09.272Z] + git semver [Pipeline] } [2023-09-12T19:07:09.528Z] $ docker stop --time=1 b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 [2023-09-12T19:07:10.833Z] $ docker rm -f --volumes b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T19:07:11.192Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T19:07:11.417Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T19:07:11.420Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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-12T19:07:11.570Z] provisioning config files... [2023-09-12T19:07:11.580Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2128457822599544158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:07:11.877Z] ---> docker-login.sh [2023-09-12T19:07:11.877Z] nexus3.edgexfoundry.org:10001 [2023-09-12T19:07:11.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:07:11.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:07:11.877Z] Configure a credential helper to remove this warning. See [2023-09-12T19:07:11.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:07:11.877Z] [2023-09-12T19:07:11.877Z] Login Succeeded [2023-09-12T19:07:11.877Z] nexus3.edgexfoundry.org:10002 [2023-09-12T19:07:11.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:07:11.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:07:11.877Z] Configure a credential helper to remove this warning. See [2023-09-12T19:07:11.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:07:11.877Z] [2023-09-12T19:07:11.877Z] Login Succeeded [2023-09-12T19:07:11.877Z] nexus3.edgexfoundry.org:10003 [2023-09-12T19:07:12.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:07:12.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:07:12.136Z] Configure a credential helper to remove this warning. See [2023-09-12T19:07:12.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:07:12.136Z] [2023-09-12T19:07:12.136Z] Login Succeeded [2023-09-12T19:07:12.136Z] nexus3.edgexfoundry.org:10004 [2023-09-12T19:07:12.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:07:12.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:07:12.136Z] Configure a credential helper to remove this warning. See [2023-09-12T19:07:12.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:07:12.136Z] [2023-09-12T19:07:12.136Z] Login Succeeded [2023-09-12T19:07:12.136Z] docker.io [2023-09-12T19:07:12.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:07:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:07:12.406Z] Configure a credential helper to remove this warning. See [2023-09-12T19:07:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:07:12.406Z] [2023-09-12T19:07:12.406Z] Login Succeeded [2023-09-12T19:07:12.406Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T19:07:12.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T19:07:12.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T19:07:12.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T19:07:12.495Z] ========================================================= [2023-09-12T19:07:12.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T19:07:12.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:07:12.796Z] + 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-12T19:07:12.796Z] Sending build context to Docker daemon 11.09MB [2023-09-12T19:07:12.796Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T19:07:12.796Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T19:07:12.796Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T19:07:12.796Z] 7264a8db6415: Pulling fs layer [2023-09-12T19:07:12.796Z] c4d48a809fc2: Pulling fs layer [2023-09-12T19:07:12.796Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T19:07:12.796Z] ad3a456e5733: Pulling fs layer [2023-09-12T19:07:12.796Z] 9e4f439ed901: Pulling fs layer [2023-09-12T19:07:12.796Z] feaf6a47b606: Pulling fs layer [2023-09-12T19:07:12.796Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T19:07:12.796Z] 8ac70367396e: Pulling fs layer [2023-09-12T19:07:12.796Z] 6db16350a2e2: Pulling fs layer [2023-09-12T19:07:12.796Z] 9250d5d63582: Pulling fs layer [2023-09-12T19:07:12.796Z] feaf6a47b606: Waiting [2023-09-12T19:07:12.796Z] 9e4f439ed901: Waiting [2023-09-12T19:07:12.796Z] 5e8b037d7d82: Waiting [2023-09-12T19:07:12.796Z] 6db16350a2e2: Waiting [2023-09-12T19:07:12.796Z] 9250d5d63582: Waiting [2023-09-12T19:07:12.796Z] ad3a456e5733: Waiting [2023-09-12T19:07:12.796Z] 8ac70367396e: Waiting [2023-09-12T19:07:13.055Z] c4d48a809fc2: Download complete [2023-09-12T19:07:13.055Z] ad3a456e5733: Verifying Checksum [2023-09-12T19:07:13.055Z] ad3a456e5733: Download complete [2023-09-12T19:07:13.055Z] 9e4f439ed901: Verifying Checksum [2023-09-12T19:07:13.055Z] 9e4f439ed901: Download complete [2023-09-12T19:07:13.055Z] 7264a8db6415: Verifying Checksum [2023-09-12T19:07:13.055Z] 7264a8db6415: Download complete [2023-09-12T19:07:13.055Z] feaf6a47b606: Verifying Checksum [2023-09-12T19:07:13.055Z] feaf6a47b606: Download complete [2023-09-12T19:07:13.055Z] 7264a8db6415: Pull complete [2023-09-12T19:07:13.319Z] 8ac70367396e: Verifying Checksum [2023-09-12T19:07:13.319Z] 8ac70367396e: Download complete [2023-09-12T19:07:13.319Z] c4d48a809fc2: Pull complete [2023-09-12T19:07:13.319Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T19:07:13.319Z] 4f1c88b9dad5: Download complete [2023-09-12T19:07:13.578Z] 6db16350a2e2: Verifying Checksum [2023-09-12T19:07:13.578Z] 6db16350a2e2: Download complete [2023-09-12T19:07:13.838Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T19:07:13.838Z] 5e8b037d7d82: Download complete [2023-09-12T19:07:13.838Z] 9250d5d63582: Verifying Checksum [2023-09-12T19:07:13.838Z] 9250d5d63582: Download complete [2023-09-12T19:07:16.370Z] 4f1c88b9dad5: Pull complete [2023-09-12T19:07:16.370Z] ad3a456e5733: Pull complete [2023-09-12T19:07:16.370Z] 9e4f439ed901: Pull complete [2023-09-12T19:07:16.628Z] feaf6a47b606: Pull complete [2023-09-12T19:07:18.529Z] 5e8b037d7d82: Pull complete [2023-09-12T19:07:19.098Z] 8ac70367396e: Pull complete [2023-09-12T19:07:19.664Z] 6db16350a2e2: Pull complete [2023-09-12T19:07:20.231Z] 9250d5d63582: Pull complete [2023-09-12T19:07:20.231Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T19:07:20.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T19:07:20.231Z] ---> fa269f55d9b9 [2023-09-12T19:07:20.231Z] Step 3/10 : ARG MAKE=make build [2023-09-12T19:07:25.504Z] ---> Running in 2aff439cbb78 [2023-09-12T19:07:25.504Z] Removing intermediate container 2aff439cbb78 [2023-09-12T19:07:25.504Z] ---> 79f1247ab947 [2023-09-12T19:07:25.504Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T19:07:25.504Z] ---> Running in 12d7b3a46670 [2023-09-12T19:07:25.504Z] Removing intermediate container 12d7b3a46670 [2023-09-12T19:07:25.504Z] ---> 0c4b620b1f14 [2023-09-12T19:07:25.504Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T19:07:25.504Z] ---> Running in f2bc1b67aa90 [2023-09-12T19:07:25.504Z] Removing intermediate container f2bc1b67aa90 [2023-09-12T19:07:25.504Z] ---> 01d0f1ec6b8e [2023-09-12T19:07:25.504Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T19:07:25.504Z] ---> Running in fd91f94d2466 [2023-09-12T19:07:25.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T19:07:25.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T19:07:26.023Z] OK: 265 MiB in 56 packages [2023-09-12T19:07:26.281Z] Removing intermediate container fd91f94d2466 [2023-09-12T19:07:26.281Z] ---> 42b46e226bd0 [2023-09-12T19:07:26.281Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T19:07:26.538Z] Still waiting to schedule task [2023-09-12T19:07:26.538Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5961’ is offline [2023-09-12T19:07:26.544Z] ---> 81a89e17b80c [2023-09-12T19:07:26.544Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T19:07:26.544Z] ---> Running in 3bcc694cbccc [2023-09-12T19:07:58.630Z] Removing intermediate container 3bcc694cbccc [2023-09-12T19:07:58.630Z] ---> e67ec0f35bbc [2023-09-12T19:07:58.630Z] Step 9/10 : COPY . . [2023-09-12T19:07:58.630Z] ---> 61ca4544acec [2023-09-12T19:07:58.630Z] Step 10/10 : RUN ${MAKE} [2023-09-12T19:07:58.630Z] ---> Running in b9fa04c6d17c [2023-09-12T19:07:58.630Z] noop [2023-09-12T19:07:58.630Z] Removing intermediate container b9fa04c6d17c [2023-09-12T19:07:58.630Z] ---> ae832f35c491 [2023-09-12T19:07:58.630Z] Successfully built ae832f35c491 [2023-09-12T19:07:58.630Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:07:58.946Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T19:07:58.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:07:59.016Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:07:59.042Z] $ 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-12T19:07:59.399Z] $ docker top 77b0cab40dad7ac21239eba04b63867601b36b9c55d1f92ffa8051bc8f8ccafb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T19:07:59.735Z] + go version [2023-09-12T19:07:59.735Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T19:07:59.747Z] $ docker stop --time=1 77b0cab40dad7ac21239eba04b63867601b36b9c55d1f92ffa8051bc8f8ccafb [2023-09-12T19:08:01.009Z] $ docker rm -f --volumes 77b0cab40dad7ac21239eba04b63867601b36b9c55d1f92ffa8051bc8f8ccafb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:08:01.417Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T19:08:01.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:08:01.482Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:08:01.509Z] $ 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-12T19:08:01.822Z] $ docker top c37bd8673122fb5a65a71379e13dee2a8cd481f1fb21a3d56d65b81f3ce0e6ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T19:08:02.150Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T19:08:02.449Z] + make test [2023-09-12T19:08:02.449Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T19:08:09.005Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T19:08:23.869Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T19:08:24.435Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.050s coverage: 27.6% of statements [2023-09-12T19:08:24.435Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 80.2% of statements [2023-09-12T19:08:24.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2023-09-12T19:08:24.693Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T19:08:25.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2023-09-12T19:08:25.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T19:08:25.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T19:08:25.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T19:08:29.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.1% of statements [2023-09-12T19:08:29.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.907s coverage: 44.2% of statements [2023-09-12T19:08:29.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.087s coverage: 68.5% of statements [2023-09-12T19:08:29.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.111s coverage: 89.2% of statements [2023-09-12T19:08:29.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-09-12T19:08:47.251Z] GO111MODULE=on go vet ./... [2023-09-12T19:08:49.777Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T19:08:49.777Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T19:08:49.777Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T19:08:49.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T19:08:49.805Z] $ docker stop --time=1 c37bd8673122fb5a65a71379e13dee2a8cd481f1fb21a3d56d65b81f3ce0e6ea [2023-09-12T19:08:53.929Z] $ docker rm -f --volumes c37bd8673122fb5a65a71379e13dee2a8cd481f1fb21a3d56d65b81f3ce0e6ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T19:08:54.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T19:08:54.503Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T19:08:55.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T19:08:55.417Z] + ls -al . [2023-09-12T19:08:55.417Z] total 304 [2023-09-12T19:08:55.417Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 19:08 . [2023-09-12T19:08:55.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:06 .. [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 19:06 .dockerignore [2023-09-12T19:08:55.417Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 19:08 .git [2023-09-12T19:08:55.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:06 .github [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 19:06 .gitignore [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 19:06 .golangci.yml [2023-09-12T19:08:55.417Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 19:07 .semver [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 19:06 CHANGELOG.md [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 19:06 GOVERNANCE.md [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 19:06 Jenkinsfile [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 19:06 LICENSE [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 19:06 Makefile [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 19:06 OWNERS.md [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 19:06 README.md [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 19:07 VERSION [2023-09-12T19:08:55.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:06 bin [2023-09-12T19:08:55.417Z] -rw-r--r-- 1 jenkins jenkins 120470 Sep 12 19:08 coverage.out [2023-09-12T19:08:55.417Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 19:06 example [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 19:06 go.mod [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 19:06 go.sum [2023-09-12T19:08:55.417Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:06 internal [2023-09-12T19:08:55.417Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 19:06 openapi [2023-09-12T19:08:55.417Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 19:06 pkg [2023-09-12T19:08:55.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:06 snap [2023-09-12T19:08:55.417Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 19:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:08:55.956Z] + 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=fda9b37df1b1ddb72445924cae920f416e370c84 --label arch=amd64 --label version=3.1.0-dev.22 . [2023-09-12T19:08:55.956Z] Sending build context to Docker daemon 11.22MB [2023-09-12T19:08:55.956Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T19:08:55.956Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T19:08:55.956Z] ---> ae832f35c491 [2023-09-12T19:08:55.956Z] Step 3/23 : ARG MAKE=make build [2023-09-12T19:08:56.215Z] ---> Running in 9428a838928e [2023-09-12T19:08:56.215Z] Removing intermediate container 9428a838928e [2023-09-12T19:08:56.215Z] ---> af763f480f84 [2023-09-12T19:08:56.215Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T19:08:56.215Z] ---> Running in 83259e742b07 [2023-09-12T19:08:56.215Z] Removing intermediate container 83259e742b07 [2023-09-12T19:08:56.215Z] ---> aac17145864c [2023-09-12T19:08:56.215Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T19:08:56.215Z] ---> Running in 2ccee519c352 [2023-09-12T19:08:56.474Z] Removing intermediate container 2ccee519c352 [2023-09-12T19:08:56.474Z] ---> 518b4bc46df2 [2023-09-12T19:08:56.474Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T19:08:56.474Z] ---> Running in 73b7c79369e9 [2023-09-12T19:08:56.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T19:08:56.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T19:08:56.992Z] OK: 265 MiB in 56 packages [2023-09-12T19:08:57.558Z] Removing intermediate container 73b7c79369e9 [2023-09-12T19:08:57.558Z] ---> 3550c1e97b0f [2023-09-12T19:08:57.558Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T19:08:57.558Z] ---> 4a17f466b11b [2023-09-12T19:08:57.558Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T19:08:57.558Z] ---> Running in 1aa2d16cab2f [2023-09-12T19:08:58.125Z] Removing intermediate container 1aa2d16cab2f [2023-09-12T19:08:58.125Z] ---> 7f7c64a86000 [2023-09-12T19:08:58.125Z] Step 9/23 : COPY . . [2023-09-12T19:08:58.762Z] ---> e19602bff925 [2023-09-12T19:08:58.762Z] Step 10/23 : RUN ${MAKE} [2023-09-12T19:08:58.762Z] ---> Running in 1a73615ebc35 [2023-09-12T19:08:59.020Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.22" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T19:09:21.021Z] Removing intermediate container 1a73615ebc35 [2023-09-12T19:09:21.021Z] ---> bc6d7da72d49 [2023-09-12T19:09:21.021Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T19:09:21.021Z] 3.17: Pulling from library/alpine [2023-09-12T19:09:21.021Z] 9398808236ff: Pulling fs layer [2023-09-12T19:09:21.021Z] 9398808236ff: Verifying Checksum [2023-09-12T19:09:21.021Z] 9398808236ff: Download complete [2023-09-12T19:09:21.021Z] 9398808236ff: Pull complete [2023-09-12T19:09:21.021Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T19:09:21.021Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T19:09:21.021Z] ---> 1e0b8b5322fc [2023-09-12T19:09:21.021Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T19:09:21.021Z] ---> Running in 08b98b09b1cf [2023-09-12T19:09:21.021Z] Removing intermediate container 08b98b09b1cf [2023-09-12T19:09:21.021Z] ---> 6ec0c606735c [2023-09-12T19:09:21.021Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T19:09:21.021Z] ---> Running in 096f990138a2 [2023-09-12T19:09:21.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T19:09:21.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T19:09:21.021Z] OK: 7 MiB in 15 packages [2023-09-12T19:09:21.021Z] Removing intermediate container 096f990138a2 [2023-09-12T19:09:21.021Z] ---> 7a10cae80796 [2023-09-12T19:09:21.021Z] Step 14/23 : WORKDIR / [2023-09-12T19:09:21.021Z] ---> Running in 9d7f9302478f [2023-09-12T19:09:21.021Z] Removing intermediate container 9d7f9302478f [2023-09-12T19:09:21.021Z] ---> 912c7d0948ba [2023-09-12T19:09:21.021Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T19:09:21.021Z] ---> deb54d1f1460 [2023-09-12T19:09:21.021Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T19:09:22.026Z] ---> 6c7892f81774 [2023-09-12T19:09:22.026Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T19:09:22.026Z] ---> c1269bc42946 [2023-09-12T19:09:22.026Z] Step 18/23 : EXPOSE 59999 [2023-09-12T19:09:22.026Z] ---> Running in a9d7d02f42fd [2023-09-12T19:09:22.284Z] Removing intermediate container a9d7d02f42fd [2023-09-12T19:09:22.285Z] ---> be140e2446ab [2023-09-12T19:09:22.285Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T19:09:22.285Z] ---> Running in 99ca491440e3 [2023-09-12T19:09:22.285Z] Removing intermediate container 99ca491440e3 [2023-09-12T19:09:22.285Z] ---> 984023500f4b [2023-09-12T19:09:22.285Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T19:09:22.285Z] ---> Running in 871301f8ebf9 [2023-09-12T19:09:22.285Z] Removing intermediate container 871301f8ebf9 [2023-09-12T19:09:22.285Z] ---> 443b4f0750a3 [2023-09-12T19:09:22.285Z] Step 21/23 : LABEL arch=amd64 [2023-09-12T19:09:22.285Z] ---> Running in c893ce4c3349 [2023-09-12T19:09:22.544Z] Removing intermediate container c893ce4c3349 [2023-09-12T19:09:22.544Z] ---> 8a193e0fd586 [2023-09-12T19:09:22.544Z] Step 22/23 : LABEL git_sha=fda9b37df1b1ddb72445924cae920f416e370c84 [2023-09-12T19:09:22.544Z] ---> Running in 4d521a30d406 [2023-09-12T19:09:22.544Z] Removing intermediate container 4d521a30d406 [2023-09-12T19:09:22.544Z] ---> fc39a42fccc2 [2023-09-12T19:09:22.544Z] Step 23/23 : LABEL version=3.1.0-dev.22 [2023-09-12T19:09:22.544Z] ---> Running in bc51b0b09b91 [2023-09-12T19:09:22.544Z] Removing intermediate container bc51b0b09b91 [2023-09-12T19:09:22.544Z] ---> 439af1e2c2b8 [2023-09-12T19:09:22.544Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T19:09:22.544Z] Successfully built 439af1e2c2b8 [2023-09-12T19:09:22.544Z] 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-12T19:09:22.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T19:09:22.949Z] [2023-09-12T19:09:22.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:09:23.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T19:09:23.244Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T19:09:23.244Z] 5eb5b503b376: Pulling fs layer [2023-09-12T19:09:23.244Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T19:09:23.244Z] ec43610c2a17: Pulling fs layer [2023-09-12T19:09:23.244Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T19:09:23.244Z] 33b1e0a273af: Pulling fs layer [2023-09-12T19:09:23.244Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T19:09:23.244Z] 2f39f015ded8: Pulling fs layer [2023-09-12T19:09:23.244Z] 3a2ae6a8a46f: Waiting [2023-09-12T19:09:23.244Z] 33b1e0a273af: Waiting [2023-09-12T19:09:23.244Z] 5d3b04190fa2: Waiting [2023-09-12T19:09:23.244Z] 2f39f015ded8: Waiting [2023-09-12T19:09:23.244Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T19:09:23.244Z] 5c69ac0246d0: Download complete [2023-09-12T19:09:23.244Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T19:09:23.244Z] 3a2ae6a8a46f: Download complete [2023-09-12T19:09:23.244Z] 33b1e0a273af: Verifying Checksum [2023-09-12T19:09:23.244Z] 33b1e0a273af: Download complete [2023-09-12T19:09:23.244Z] ec43610c2a17: Verifying Checksum [2023-09-12T19:09:23.244Z] ec43610c2a17: Download complete [2023-09-12T19:09:23.244Z] 5d3b04190fa2: Download complete [2023-09-12T19:09:23.503Z] 5eb5b503b376: Verifying Checksum [2023-09-12T19:09:23.503Z] 5eb5b503b376: Download complete [2023-09-12T19:09:24.069Z] 2f39f015ded8: Download complete [2023-09-12T19:09:24.634Z] 5eb5b503b376: Pull complete [2023-09-12T19:09:24.892Z] 5c69ac0246d0: Pull complete [2023-09-12T19:09:25.150Z] ec43610c2a17: Pull complete [2023-09-12T19:09:25.409Z] 3a2ae6a8a46f: Pull complete [2023-09-12T19:09:25.667Z] 33b1e0a273af: Pull complete [2023-09-12T19:09:25.667Z] 5d3b04190fa2: Pull complete [2023-09-12T19:09:29.850Z] 2f39f015ded8: Pull complete [2023-09-12T19:09:29.850Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T19:09:29.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T19:09:29.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:09:29.941Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:09:29.975Z] $ 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-12T19:09:33.851Z] $ docker top 4f08e4bcefe883c81186cc882e88cc90cb4c9fd147e6a41c8a71157d7b52b97d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:09:34.234Z] ---> job-cost.sh [2023-09-12T19:09:34.234Z] lf-activate-venv: SKIPPING [2023-09-12T19:09:34.234Z] INFO: No Stack... [2023-09-12T19:09:34.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T19:09:34.754Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T19:09:35.299Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-12T19:09:35.300Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T19:09:35.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [2023-09-12T19:09:35.321Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] did not exist. Created. [2023-09-12T19:09:35.321Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T19:09:35.621Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T19:09:35.653Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T19:09:35.661Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T19:09:35.680Z] $ docker stop --time=1 4f08e4bcefe883c81186cc882e88cc90cb4c9fd147e6a41c8a71157d7b52b97d [2023-09-12T19:09:36.845Z] $ docker rm -f --volumes 4f08e4bcefe883c81186cc882e88cc90cb4c9fd147e6a41c8a71157d7b52b97d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T19:09:44.541Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5962 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-12T19:09:44.555Z] Running in /w/workspace/device-sdk-go/251 [Pipeline] { [Pipeline] checkout [2023-09-12T19:09:44.595Z] The recommended git tool is: git [2023-09-12T19:09:49.889Z] using credential edgex-jenkins-ssh [2023-09-12T19:09:49.905Z] Cloning the remote Git repository [2023-09-12T19:09:49.944Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T19:09:50.037Z] > git init /w/workspace/device-sdk-go/251 # timeout=10 [2023-09-12T19:09:50.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T19:09:50.196Z] > git --version # timeout=10 [2023-09-12T19:09:50.217Z] > git --version # 'git version 2.25.1' [2023-09-12T19:09:50.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T19:09:50.378Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T19:09:51.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T19:09:51.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T19:09:52.764Z] Avoid second fetch [2023-09-12T19:09:52.765Z] Checking out Revision fda9b37df1b1ddb72445924cae920f416e370c84 (main) [2023-09-12T19:09:53.324Z] Commit message: "build: Consume latest go-mod-bootstrap with RemoveHosts flag (#1510)" [2023-09-12T19:09:52.777Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T19:09:52.844Z] > git checkout -f fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T19:09:54.208Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T19:09:54.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T19:09:54.208Z] Dload Upload Total Spent Left Speed [2023-09-12T19:09:54.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2023-09-12T19:09:54.881Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T19:09:55.214Z] + + sudo tee /etc/docker/daemon.new [2023-09-12T19:09:55.214Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T19:09:55.214Z] { [2023-09-12T19:09:55.214Z] "registry-mirrors": [ [2023-09-12T19:09:55.214Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T19:09:55.214Z] ], [2023-09-12T19:09:55.214Z] "bip": "10.250.0.254/24", [2023-09-12T19:09:55.214Z] "hosts": [ [2023-09-12T19:09:55.214Z] "tcp://0.0.0.0:5555", [2023-09-12T19:09:55.214Z] "unix:///var/run/docker.sock" [2023-09-12T19:09:55.214Z] ], [2023-09-12T19:09:55.214Z] "mtu": 1458, [2023-09-12T19:09:55.214Z] "selinux-enabled": true, [2023-09-12T19:09:55.214Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T19:09:55.214Z] } [Pipeline] sh [2023-09-12T19:09:55.539Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T19:09:55.879Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T19:10:14.159Z] provisioning config files... [2023-09-12T19:10:14.183Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/251@tmp/config3577025331883221169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:10:14.529Z] ---> docker-login.sh [2023-09-12T19:10:14.529Z] nexus3.edgexfoundry.org:10001 [2023-09-12T19:10:14.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:10:15.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:10:15.070Z] Configure a credential helper to remove this warning. See [2023-09-12T19:10:15.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:10:15.070Z] [2023-09-12T19:10:15.070Z] Login Succeeded [2023-09-12T19:10:15.070Z] nexus3.edgexfoundry.org:10002 [2023-09-12T19:10:15.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:10:15.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:10:15.341Z] Configure a credential helper to remove this warning. See [2023-09-12T19:10:15.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:10:15.341Z] [2023-09-12T19:10:15.341Z] Login Succeeded [2023-09-12T19:10:15.341Z] nexus3.edgexfoundry.org:10003 [2023-09-12T19:10:15.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:10:15.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:10:15.891Z] Configure a credential helper to remove this warning. See [2023-09-12T19:10:15.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:10:15.891Z] [2023-09-12T19:10:15.891Z] Login Succeeded [2023-09-12T19:10:15.891Z] nexus3.edgexfoundry.org:10004 [2023-09-12T19:10:15.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:10:16.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:10:16.159Z] Configure a credential helper to remove this warning. See [2023-09-12T19:10:16.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:10:16.159Z] [2023-09-12T19:10:16.159Z] Login Succeeded [2023-09-12T19:10:16.159Z] docker.io [2023-09-12T19:10:16.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T19:10:16.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T19:10:16.696Z] Configure a credential helper to remove this warning. See [2023-09-12T19:10:16.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T19:10:16.696Z] [2023-09-12T19:10:16.696Z] Login Succeeded [2023-09-12T19:10:16.696Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T19:10:16.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T19:10:16.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T19:10:16.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T19:10:16.992Z] ========================================================= [2023-09-12T19:10:16.992Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T19:10:16.992Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:10:17.335Z] + 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-12T19:10:17.604Z] Sending build context to Docker daemon 5.929MB [2023-09-12T19:10:17.604Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T19:10:17.604Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T19:10:17.887Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T19:10:17.887Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T19:10:17.887Z] 5d54e960e981: Pulling fs layer [2023-09-12T19:10:17.887Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T19:10:17.887Z] f0e02332f6b5: Pulling fs layer [2023-09-12T19:10:17.887Z] 66412af1f25a: Pulling fs layer [2023-09-12T19:10:17.887Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T19:10:17.887Z] 9a37bb91b891: Pulling fs layer [2023-09-12T19:10:17.887Z] a29adfc67d43: Pulling fs layer [2023-09-12T19:10:17.887Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T19:10:17.887Z] f0e02332f6b5: Waiting [2023-09-12T19:10:17.887Z] 66412af1f25a: Waiting [2023-09-12T19:10:17.887Z] 1baf3a5c0e64: Waiting [2023-09-12T19:10:17.887Z] 9a37bb91b891: Waiting [2023-09-12T19:10:17.887Z] a29adfc67d43: Waiting [2023-09-12T19:10:17.887Z] d5de9f91c1a4: Waiting [2023-09-12T19:10:17.887Z] 5d54e960e981: Verifying Checksum [2023-09-12T19:10:17.887Z] 5d54e960e981: Download complete [2023-09-12T19:10:17.887Z] f0e02332f6b5: Verifying Checksum [2023-09-12T19:10:17.887Z] f0e02332f6b5: Download complete [2023-09-12T19:10:17.887Z] 66412af1f25a: Verifying Checksum [2023-09-12T19:10:17.887Z] 66412af1f25a: Download complete [2023-09-12T19:10:17.887Z] 9fda8d8052c6: Download complete [2023-09-12T19:10:18.479Z] 9a37bb91b891: Verifying Checksum [2023-09-12T19:10:18.479Z] 9a37bb91b891: Download complete [2023-09-12T19:10:19.070Z] a29adfc67d43: Verifying Checksum [2023-09-12T19:10:19.071Z] a29adfc67d43: Download complete [2023-09-12T19:10:19.071Z] 9fda8d8052c6: Pull complete [2023-09-12T19:10:19.667Z] 5d54e960e981: Pull complete [2023-09-12T19:10:19.667Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T19:10:19.667Z] d5de9f91c1a4: Download complete [2023-09-12T19:10:19.667Z] c4a7e357bf2a: Download complete [2023-09-12T19:10:20.633Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T19:10:20.633Z] 1baf3a5c0e64: Download complete [2023-09-12T19:10:30.725Z] c4a7e357bf2a: Pull complete [2023-09-12T19:10:30.725Z] f0e02332f6b5: Pull complete [2023-09-12T19:10:30.725Z] 66412af1f25a: Pull complete [2023-09-12T19:10:38.954Z] 1baf3a5c0e64: Pull complete [2023-09-12T19:10:38.954Z] 9a37bb91b891: Pull complete [2023-09-12T19:10:40.383Z] a29adfc67d43: Pull complete [2023-09-12T19:10:41.813Z] d5de9f91c1a4: Pull complete [2023-09-12T19:10:41.813Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T19:10:41.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T19:10:41.814Z] ---> 746ca1b523b5 [2023-09-12T19:10:41.814Z] Step 3/10 : ARG MAKE=make build [2023-09-12T19:10:43.763Z] ---> Running in fdf5d5f7e09b [2023-09-12T19:10:44.031Z] Removing intermediate container fdf5d5f7e09b [2023-09-12T19:10:44.031Z] ---> 8e1c36eaa6eb [2023-09-12T19:10:44.031Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T19:10:44.031Z] ---> Running in a3b3447e71af [2023-09-12T19:10:44.300Z] Removing intermediate container a3b3447e71af [2023-09-12T19:10:44.300Z] ---> 800e6e946f54 [2023-09-12T19:10:44.300Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T19:10:44.568Z] ---> Running in c1a1d63a55e9 [2023-09-12T19:10:44.837Z] Removing intermediate container c1a1d63a55e9 [2023-09-12T19:10:44.837Z] ---> 6dcbe08d2147 [2023-09-12T19:10:44.837Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T19:10:44.837Z] ---> Running in b2b2ba0a0f18 [2023-09-12T19:10:45.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T19:10:46.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T19:10:47.454Z] OK: 267 MiB in 56 packages [2023-09-12T19:10:50.800Z] Removing intermediate container b2b2ba0a0f18 [2023-09-12T19:10:50.800Z] ---> 11c032980ef9 [2023-09-12T19:10:50.800Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T19:10:50.800Z] ---> 67952ef7170a [2023-09-12T19:10:50.800Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T19:10:51.077Z] ---> Running in 8ee7f41f4bc6 [2023-09-12T19:11:58.948Z] Removing intermediate container 8ee7f41f4bc6 [2023-09-12T19:11:58.948Z] ---> 250245d90c25 [2023-09-12T19:11:58.948Z] Step 9/10 : COPY . . [2023-09-12T19:11:58.948Z] ---> 41e6cf171a07 [2023-09-12T19:11:58.948Z] Step 10/10 : RUN ${MAKE} [2023-09-12T19:11:58.948Z] ---> Running in 14bea0e66d06 [2023-09-12T19:11:58.948Z] noop [2023-09-12T19:11:58.948Z] Removing intermediate container 14bea0e66d06 [2023-09-12T19:11:58.948Z] ---> ba72c10c69d1 [2023-09-12T19:11:58.948Z] Successfully built ba72c10c69d1 [2023-09-12T19:11:58.948Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:11:59.302Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T19:11:59.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:11:59.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container [2023-09-12T19:11:59.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/251 -v /w/workspace/device-sdk-go/251:/w/workspace/device-sdk-go/251:rw,z -v /w/workspace/device-sdk-go/251@tmp:/w/workspace/device-sdk-go/251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T19:12:00.714Z] $ docker top a5e6c8ce393b002f83c4218e014c4b4e52cbf6085321c14f19e93eff39e8affe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T19:12:01.536Z] + go version [2023-09-12T19:12:01.536Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T19:12:01.554Z] $ docker stop --time=1 a5e6c8ce393b002f83c4218e014c4b4e52cbf6085321c14f19e93eff39e8affe [2023-09-12T19:12:03.182Z] $ docker rm -f --volumes a5e6c8ce393b002f83c4218e014c4b4e52cbf6085321c14f19e93eff39e8affe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:12:03.739Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T19:12:03.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:12:03.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container [2023-09-12T19:12:03.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/251 -v /w/workspace/device-sdk-go/251:/w/workspace/device-sdk-go/251:rw,z -v /w/workspace/device-sdk-go/251@tmp:/w/workspace/device-sdk-go/251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T19:12:05.136Z] $ docker top a90a373c525c0cc0ab370ad5b78d67db49a6cff464cc36426c9e45deb21ad132 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T19:12:05.964Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/251 [Pipeline] fileExists [Pipeline] sh [2023-09-12T19:12:06.309Z] + make test [2023-09-12T19:12:06.309Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T19:12:45.188Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T19:14:21.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T19:14:21.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T19:14:21.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T19:14:21.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T19:14:21.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T19:14:28.453Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.216s coverage: 27.6% of statements [2023-09-12T19:14:32.695Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.231s coverage: 80.2% of statements [2023-09-12T19:14:42.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T19:14:42.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T19:14:43.715Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.302s coverage: 86.0% of statements [2023-09-12T19:14:49.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T19:14:49.658Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.386s coverage: 71.8% of statements [2023-09-12T19:14:53.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.241s coverage: 14.1% of statements [2023-09-12T19:14:53.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.837s coverage: 44.2% of statements [2023-09-12T19:14:54.407Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T19:14:54.407Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T19:14:55.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.383s coverage: 68.5% of statements [2023-09-12T19:14:57.795Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.477s coverage: 89.2% of statements [2023-09-12T19:14:58.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T19:15:00.169Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.234s coverage: 5.5% of statements [2023-09-12T19:15:00.754Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T19:15:00.754Z] GO111MODULE=on go vet ./... [2023-09-12T19:16:37.468Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T19:16:37.468Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T19:16:37.468Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T19:16:37.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T19:16:37.493Z] $ docker stop --time=1 a90a373c525c0cc0ab370ad5b78d67db49a6cff464cc36426c9e45deb21ad132 [2023-09-12T19:16:39.415Z] $ docker rm -f --volumes a90a373c525c0cc0ab370ad5b78d67db49a6cff464cc36426c9e45deb21ad132 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T19:16:41.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T19:16:41.055Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T19:16:41.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T19:16:42.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T19:16:42.349Z] + ls -al . [2023-09-12T19:16:42.349Z] total 300 [2023-09-12T19:16:42.349Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 19:12 . [2023-09-12T19:16:42.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:09 .. [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 19:09 .dockerignore [2023-09-12T19:16:42.349Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 19:09 .git [2023-09-12T19:16:42.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:09 .github [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 19:09 .gitignore [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 19:09 .golangci.yml [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 19:09 CHANGELOG.md [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 19:09 GOVERNANCE.md [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 19:09 Jenkinsfile [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 19:09 LICENSE [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 19:09 Makefile [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 19:09 OWNERS.md [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 19:09 README.md [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 19:07 VERSION [2023-09-12T19:16:42.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:09 bin [2023-09-12T19:16:42.349Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 19:14 coverage.out [2023-09-12T19:16:42.349Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 19:09 example [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 19:09 go.mod [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 19:09 go.sum [2023-09-12T19:16:42.349Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:09 internal [2023-09-12T19:16:42.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 19:09 openapi [2023-09-12T19:16:42.349Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 19:09 pkg [2023-09-12T19:16:42.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:09 snap [2023-09-12T19:16:42.349Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:16:42.697Z] + 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=fda9b37df1b1ddb72445924cae920f416e370c84 --label arch=arm64 --label version=3.1.0-dev.22 . [2023-09-12T19:16:42.964Z] Sending build context to Docker daemon 6.051MB [2023-09-12T19:16:42.964Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T19:16:42.964Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T19:16:42.964Z] ---> ba72c10c69d1 [2023-09-12T19:16:42.964Z] Step 3/23 : ARG MAKE=make build [2023-09-12T19:16:43.231Z] ---> Running in 71ecd00467c6 [2023-09-12T19:16:43.499Z] Removing intermediate container 71ecd00467c6 [2023-09-12T19:16:43.499Z] ---> d1eaad39b623 [2023-09-12T19:16:43.499Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T19:16:43.499Z] ---> Running in 8d0a8f9cb251 [2023-09-12T19:16:44.090Z] Removing intermediate container 8d0a8f9cb251 [2023-09-12T19:16:44.090Z] ---> ac825f70ed35 [2023-09-12T19:16:44.090Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T19:16:44.090Z] ---> Running in da660aec805e [2023-09-12T19:16:44.359Z] Removing intermediate container da660aec805e [2023-09-12T19:16:44.359Z] ---> 23c6bbba6417 [2023-09-12T19:16:44.359Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T19:16:44.359Z] ---> Running in cec597c4e57d [2023-09-12T19:16:45.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T19:16:45.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T19:16:46.996Z] OK: 267 MiB in 56 packages [2023-09-12T19:16:47.581Z] Removing intermediate container cec597c4e57d [2023-09-12T19:16:47.581Z] ---> af7da39e2384 [2023-09-12T19:16:47.581Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T19:16:48.165Z] ---> 7bd970b921fc [2023-09-12T19:16:48.165Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T19:16:48.165Z] ---> Running in 009c03c2a708 [2023-09-12T19:16:51.528Z] Removing intermediate container 009c03c2a708 [2023-09-12T19:16:51.528Z] ---> 90ab3d71dded [2023-09-12T19:16:51.528Z] Step 9/23 : COPY . . [2023-09-12T19:16:52.940Z] ---> a6566cc738f6 [2023-09-12T19:16:52.940Z] Step 10/23 : RUN ${MAKE} [2023-09-12T19:16:52.940Z] ---> Running in 6321376a6b79 [2023-09-12T19:16:53.904Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.22" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T19:18:45.542Z] Removing intermediate container 6321376a6b79 [2023-09-12T19:18:45.542Z] ---> 743aeb57837a [2023-09-12T19:18:45.542Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T19:18:45.542Z] 3.17: Pulling from library/alpine [2023-09-12T19:18:45.542Z] 4060ece20d7a: Pulling fs layer [2023-09-12T19:18:45.542Z] 4060ece20d7a: Verifying Checksum [2023-09-12T19:18:45.542Z] 4060ece20d7a: Download complete [2023-09-12T19:18:45.542Z] 4060ece20d7a: Pull complete [2023-09-12T19:18:45.542Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T19:18:45.542Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T19:18:45.542Z] ---> 8650cd65339b [2023-09-12T19:18:45.542Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T19:18:45.542Z] ---> Running in 169026da7dfa [2023-09-12T19:18:45.542Z] Removing intermediate container 169026da7dfa [2023-09-12T19:18:45.542Z] ---> a5fb80c34aef [2023-09-12T19:18:45.542Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T19:18:45.542Z] ---> Running in b678be313631 [2023-09-12T19:18:45.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T19:18:45.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T19:18:45.542Z] OK: 7 MiB in 15 packages [2023-09-12T19:18:45.542Z] Removing intermediate container b678be313631 [2023-09-12T19:18:45.542Z] ---> c4ca01461e39 [2023-09-12T19:18:45.542Z] Step 14/23 : WORKDIR / [2023-09-12T19:18:45.542Z] ---> Running in 0f3723476546 [2023-09-12T19:18:45.542Z] Removing intermediate container 0f3723476546 [2023-09-12T19:18:45.542Z] ---> 193aa340f26e [2023-09-12T19:18:45.542Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T19:18:45.542Z] ---> 390214c39af4 [2023-09-12T19:18:45.542Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T19:18:45.542Z] ---> 5ff7e79d938b [2023-09-12T19:18:45.542Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T19:18:45.542Z] ---> 1c360a0af02e [2023-09-12T19:18:45.542Z] Step 18/23 : EXPOSE 59999 [2023-09-12T19:18:45.542Z] ---> Running in 8597c400fefc [2023-09-12T19:18:45.542Z] Removing intermediate container 8597c400fefc [2023-09-12T19:18:45.542Z] ---> eb54a665e141 [2023-09-12T19:18:45.542Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T19:18:45.542Z] ---> Running in eda9caa90749 [2023-09-12T19:18:45.542Z] Removing intermediate container eda9caa90749 [2023-09-12T19:18:45.542Z] ---> 32bb5d8d2b00 [2023-09-12T19:18:45.542Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T19:18:45.542Z] ---> Running in 237adeaebabf [2023-09-12T19:18:45.542Z] Removing intermediate container 237adeaebabf [2023-09-12T19:18:45.542Z] ---> a24bdc45bb68 [2023-09-12T19:18:45.542Z] Step 21/23 : LABEL arch=arm64 [2023-09-12T19:18:45.542Z] ---> Running in b330a816af75 [2023-09-12T19:18:45.542Z] Removing intermediate container b330a816af75 [2023-09-12T19:18:45.542Z] ---> 7fea1224e22e [2023-09-12T19:18:45.542Z] Step 22/23 : LABEL git_sha=fda9b37df1b1ddb72445924cae920f416e370c84 [2023-09-12T19:18:45.542Z] ---> Running in eb6b674ea990 [2023-09-12T19:18:45.542Z] Removing intermediate container eb6b674ea990 [2023-09-12T19:18:45.542Z] ---> 2d63b4ea2067 [2023-09-12T19:18:45.542Z] Step 23/23 : LABEL version=3.1.0-dev.22 [2023-09-12T19:18:45.542Z] ---> Running in 99d4a5a00097 [2023-09-12T19:18:45.542Z] Removing intermediate container 99d4a5a00097 [2023-09-12T19:18:45.542Z] ---> e7da626c09ab [2023-09-12T19:18:45.542Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T19:18:45.542Z] Successfully built e7da626c09ab [2023-09-12T19:18:45.543Z] 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-12T19:18:45.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T19:18:45.984Z] [2023-09-12T19:18:45.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:18:46.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T19:18:46.792Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T19:18:46.792Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T19:18:46.792Z] 04944245beec: Pulling fs layer [2023-09-12T19:18:46.792Z] 699f458cf7ca: Pulling fs layer [2023-09-12T19:18:46.792Z] 765212b225bb: Pulling fs layer [2023-09-12T19:18:46.792Z] f23df028b6ca: Pulling fs layer [2023-09-12T19:18:46.792Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T19:18:46.792Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T19:18:46.792Z] f23df028b6ca: Waiting [2023-09-12T19:18:46.792Z] d65c8cfc05b1: Waiting [2023-09-12T19:18:46.792Z] 2437ff75d9bd: Waiting [2023-09-12T19:18:46.792Z] 765212b225bb: Waiting [2023-09-12T19:18:46.792Z] 04944245beec: Verifying Checksum [2023-09-12T19:18:46.792Z] 04944245beec: Download complete [2023-09-12T19:18:46.792Z] 765212b225bb: Verifying Checksum [2023-09-12T19:18:46.792Z] 765212b225bb: Download complete [2023-09-12T19:18:47.074Z] f23df028b6ca: Verifying Checksum [2023-09-12T19:18:47.074Z] f23df028b6ca: Download complete [2023-09-12T19:18:47.074Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T19:18:47.074Z] d65c8cfc05b1: Download complete [2023-09-12T19:18:47.074Z] 699f458cf7ca: Verifying Checksum [2023-09-12T19:18:47.074Z] 699f458cf7ca: Download complete [2023-09-12T19:18:47.356Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T19:18:47.356Z] 8998bd30e6a1: Download complete [2023-09-12T19:18:49.987Z] 2437ff75d9bd: Download complete [2023-09-12T19:18:51.394Z] 8998bd30e6a1: Pull complete [2023-09-12T19:18:52.353Z] 04944245beec: Pull complete [2023-09-12T19:18:53.760Z] 699f458cf7ca: Pull complete [2023-09-12T19:18:53.760Z] 765212b225bb: Pull complete [2023-09-12T19:18:54.346Z] f23df028b6ca: Pull complete [2023-09-12T19:18:54.613Z] d65c8cfc05b1: Pull complete [2023-09-12T19:19:09.601Z] 2437ff75d9bd: Pull complete [2023-09-12T19:19:09.601Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T19:19:09.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T19:19:09.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:19:09.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container [2023-09-12T19:19:09.833Z] $ 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/251 -v /w/workspace/device-sdk-go/251:/w/workspace/device-sdk-go/251:rw,z -v /w/workspace/device-sdk-go/251@tmp:/w/workspace/device-sdk-go/251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T19:19:12.243Z] $ docker top 34e3b446de1564579243fb6ee88cbe9551d0fe0a715567259f63260b3b25728c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:19:13.071Z] ---> job-cost.sh [2023-09-12T19:19:13.071Z] lf-activate-venv: SKIPPING [2023-09-12T19:19:13.071Z] INFO: No Stack... [2023-09-12T19:19:13.649Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T19:19:14.227Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T19:19:14.547Z] + cat /w/workspace/device-sdk-go/251/archives/cost.csv [2023-09-12T19:19:14.547Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T19:19:14.608Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [2023-09-12T19:19:14.615Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] did not exist. Created. [2023-09-12T19:19:14.615Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T19:19:14.947Z] /w/workspace/device-sdk-go/251@tmp/durable-1a907827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T19:19:15.278Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T19:19:15.298Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T19:19:15.373Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T19:19:15.379Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T19:19:15.396Z] $ docker stop --time=1 34e3b446de1564579243fb6ee88cbe9551d0fe0a715567259f63260b3b25728c [2023-09-12T19:19:16.872Z] $ docker rm -f --volumes 34e3b446de1564579243fb6ee88cbe9551d0fe0a715567259f63260b3b25728c [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-12T19:19:17.251Z] provisioning config files... [2023-09-12T19:19:17.260Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8082669084238266577tmp [Pipeline] { [Pipeline] sh [2023-09-12T19:19:17.552Z] + set +x [2023-09-12T19:19:17.552Z] + curl -s https://codecov.io/bash [2023-09-12T19:19:17.552Z] + bash -s -- [2023-09-12T19:19:17.552Z] [2023-09-12T19:19:17.552Z] _____ _ [2023-09-12T19:19:17.552Z] / ____| | | [2023-09-12T19:19:17.552Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T19:19:17.552Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T19:19:17.552Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T19:19:17.552Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T19:19:17.552Z] Bash-1.0.6 [2023-09-12T19:19:17.552Z] [2023-09-12T19:19:17.552Z] [2023-09-12T19:19:17.552Z] ==> git version 2.25.1 found [2023-09-12T19:19:17.552Z] ==> 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-12T19:19:17.552Z] Release-Date: 2020-01-08 [2023-09-12T19:19:17.552Z] 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-12T19:19:17.552Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T19:19:17.552Z] ==> Jenkins CI detected. [2023-09-12T19:19:17.552Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T19:19:17.552Z] project root: . [2023-09-12T19:19:17.552Z] --> token set from env [2023-09-12T19:19:17.552Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T19:19:17.552Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T19:19:17.552Z] ==> Python coveragepy not found [2023-09-12T19:19:17.552Z] ==> Searching for coverage reports in: [2023-09-12T19:19:17.552Z] + . [2023-09-12T19:19:17.552Z] -> Found 1 reports [2023-09-12T19:19:17.552Z] ==> Detecting git/mercurial file structure [2023-09-12T19:19:17.552Z] ==> Reading reports [2023-09-12T19:19:17.552Z] + ./coverage.out bytes=120468 [2023-09-12T19:19:17.552Z] ==> Appending adjustments [2023-09-12T19:19:17.552Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T19:19:17.811Z] + Found adjustments [2023-09-12T19:19:17.811Z] ==> Gzipping contents [2023-09-12T19:19:18.071Z] 20K /tmp/codecov.U3eiwc.gz [2023-09-12T19:19:18.071Z] ==> Uploading reports [2023-09-12T19:19:18.071Z] url: https://codecov.io [2023-09-12T19:19:18.071Z] query: branch=main&commit=fda9b37df1b1ddb72445924cae920f416e370c84&build=251&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F251%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T19:19:18.071Z] -> Pinging Codecov [2023-09-12T19:19:18.072Z] 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=fda9b37df1b1ddb72445924cae920f416e370c84&build=251&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F251%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T19:19:18.331Z] -> Uploading to [2023-09-12T19:19:18.331Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/fda9b37df1b1ddb72445924cae920f416e370c84/ae3822e2-7537-41b7-82a3-6924c86c792d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T191917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0294047fe63a61192314b9290a9acd1a511e294b4ed77c2addb4915983b7cc0 [2023-09-12T19:19:18.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T19:19:18.331Z] Dload Upload Total Spent Left Speed [2023-09-12T19:19:18.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 88333 --:--:-- --:--:-- --:--:-- 88333 [2023-09-12T19:19:18.331Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] } [2023-09-12T19:19:18.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T19:19:18.459Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T19:19:18.468Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:19:18.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T19:19:18.762Z] [2023-09-12T19:19:18.762Z] 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-12T19:19:19.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T19:19:19.062Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T19:19:19.062Z] df9b9388f04a: Pulling fs layer [2023-09-12T19:19:19.062Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T19:19:19.062Z] 25bc292e5bac: Pulling fs layer [2023-09-12T19:19:19.062Z] 114826534d7a: Pulling fs layer [2023-09-12T19:19:19.062Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T19:19:19.062Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T19:19:19.062Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T19:19:19.062Z] 6ad1cebc031e: Waiting [2023-09-12T19:19:19.062Z] 114826534d7a: Waiting [2023-09-12T19:19:19.062Z] 4657fd5d0bcf: Waiting [2023-09-12T19:19:19.062Z] 8a3aa393b2d8: Waiting [2023-09-12T19:19:19.062Z] 25bc292e5bac: Verifying Checksum [2023-09-12T19:19:19.062Z] 25bc292e5bac: Download complete [2023-09-12T19:19:19.062Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T19:19:19.062Z] 52dc419b0ee2: Download complete [2023-09-12T19:19:19.062Z] 4657fd5d0bcf: Verifying Checksum [2023-09-12T19:19:19.062Z] 4657fd5d0bcf: Download complete [2023-09-12T19:19:19.062Z] df9b9388f04a: Download complete [2023-09-12T19:19:19.322Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T19:19:19.322Z] 6ad1cebc031e: Download complete [2023-09-12T19:19:19.322Z] df9b9388f04a: Pull complete [2023-09-12T19:19:19.322Z] 52dc419b0ee2: Pull complete [2023-09-12T19:19:19.322Z] 25bc292e5bac: Pull complete [2023-09-12T19:19:19.891Z] 114826534d7a: Verifying Checksum [2023-09-12T19:19:19.891Z] 114826534d7a: Download complete [2023-09-12T19:19:19.891Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T19:19:19.891Z] 8a3aa393b2d8: Download complete [2023-09-12T19:19:23.171Z] 114826534d7a: Pull complete [2023-09-12T19:19:23.171Z] 4657fd5d0bcf: Pull complete [2023-09-12T19:19:23.735Z] 6ad1cebc031e: Pull complete [2023-09-12T19:19:26.263Z] 8a3aa393b2d8: Pull complete [2023-09-12T19:19:26.263Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T19:19:26.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T19:19:26.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:19:26.350Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:19:26.356Z] $ 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-12T19:19:32.032Z] $ docker top 688f2c773b8c9ec05a8db31de9160340b6c8e814ca3b40df706142d27533248c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T19:19:32.118Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-12T19:19:32.391Z] + set -o pipefail [2023-09-12T19:19:32.391Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-12T19:19:36.580Z] [2023-09-12T19:19:36.580Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-12T19:19:36.580Z] [2023-09-12T19:19:36.580Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a1a2ceb0-2ce1-45e5-92ad-08b68abe7a25 [2023-09-12T19:19:36.580Z] [2023-09-12T19:19:36.580Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T19:19:36.580Z] [2023-09-12T19:19:36.839Z] [2023-09-12T19:19:36.839Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T19:19:36.839Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T19:19:36.839Z] More details here: https://snyk.co/ue1NS [2023-09-12T19:19:36.839Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T19:19:36.839Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T19:19:36.824Z] $ docker stop --time=1 688f2c773b8c9ec05a8db31de9160340b6c8e814ca3b40df706142d27533248c [2023-09-12T19:19:40.769Z] $ docker rm -f --volumes 688f2c773b8c9ec05a8db31de9160340b6c8e814ca3b40df706142d27533248c [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-12T19:19:41.149Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T19:19:41.160Z] provisioning config files... [2023-09-12T19:19:41.167Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18222649587438170459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:19:41.459Z] --> edgex-publish-swagger.sh [2023-09-12T19:19:41.459Z] === Publish openapi/v3 API === [2023-09-12T19:19:41.459Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-12T19:19:41.459Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-12T19:19:41.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T19:19:41.459Z] Dload Upload Total Spent Left Speed [2023-09-12T19:19:41.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 110k --:--:-- --:--:-- --:--:-- 110k 100 23674 0 0 100 23674 0 52726 --:--:-- --:--:-- --:--:-- 52608 [2023-09-12T19:19:41.718Z] [2023-09-12T19:19:41.718Z] [Pipeline] } [2023-09-12T19:19:41.726Z] 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-12T19:19:42.107Z] + git log --format=format:%s -1 fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] sh [2023-09-12T19:19:42.393Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T19:19:42.393Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:19:42.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T19:19:42.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:19:42.755Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:19:42.754Z] $ 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-12T19:19:43.192Z] $ docker top 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b -eo pid,comm [2023-09-12T19:19:43.263Z] 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-12T19:19:43.263Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T19:19:43.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T19:19:43.298Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T19:19:43.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T19:19:43.395Z] $ docker exec 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b ssh-agent [2023-09-12T19:19:43.527Z] SSH_AUTH_SOCK=/tmp/ssh-PQ4ONjNXsfjf/agent.32 [2023-09-12T19:19:43.527Z] SSH_AGENT_PID=38 [2023-09-12T19:19:43.532Z] Running ssh-add (command line suppressed) [2023-09-12T19:19:43.602Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6292083903469470040.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6292083903469470040.key) [2023-09-12T19:19:43.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T19:19:43.925Z] + git semver tag [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,066 [run_tag] DEBUG tag force:False [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,066 [check_head_tag] DEBUG check head tag [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,067 [execute] INFO git cat-file --batch-check [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,071 [execute] INFO git cat-file --batch [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,085 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,085 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T19:19:44.185Z] 2023-09-12 19:19:44,091 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:19:44.185Z] 3.1.0-dev.22 [Pipeline] } [2023-09-12T19:19:44.166Z] $ docker exec --env ******** --env ******** 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b ssh-agent -k [2023-09-12T19:19:44.256Z] unset SSH_AUTH_SOCK; [2023-09-12T19:19:44.256Z] unset SSH_AGENT_PID; [2023-09-12T19:19:44.256Z] echo Agent pid 38 killed; [2023-09-12T19:19:44.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T19:19:44.606Z] + git semver [Pipeline] } [2023-09-12T19:19:44.848Z] $ docker stop --time=1 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b [2023-09-12T19:19:46.121Z] $ docker rm -f --volumes 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:19:46.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T19:19:46.521Z] [2023-09-12T19:19:46.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:19:46.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T19:19:46.811Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T19:19:46.811Z] ab5ef0e58194: Pulling fs layer [2023-09-12T19:19:46.811Z] 9712f1f96733: Pulling fs layer [2023-09-12T19:19:46.811Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T19:19:46.811Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T19:19:46.811Z] e9a5061849ea: Pulling fs layer [2023-09-12T19:19:46.811Z] d747dcd14b5f: Pulling fs layer [2023-09-12T19:19:46.811Z] 2de7ff778b66: Pulling fs layer [2023-09-12T19:19:46.811Z] e9a5061849ea: Waiting [2023-09-12T19:19:46.811Z] d747dcd14b5f: Waiting [2023-09-12T19:19:46.811Z] 2de7ff778b66: Waiting [2023-09-12T19:19:46.811Z] 0d9ebad4ef96: Waiting [2023-09-12T19:19:46.811Z] 9712f1f96733: Verifying Checksum [2023-09-12T19:19:46.811Z] 9712f1f96733: Download complete [2023-09-12T19:19:47.070Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T19:19:47.070Z] 63f879dbbcfc: Download complete [2023-09-12T19:19:47.328Z] e9a5061849ea: Verifying Checksum [2023-09-12T19:19:47.328Z] e9a5061849ea: Download complete [2023-09-12T19:19:47.328Z] d747dcd14b5f: Verifying Checksum [2023-09-12T19:19:47.328Z] d747dcd14b5f: Download complete [2023-09-12T19:19:47.328Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T19:19:47.328Z] 0d9ebad4ef96: Download complete [2023-09-12T19:19:47.328Z] ab5ef0e58194: Verifying Checksum [2023-09-12T19:19:47.328Z] ab5ef0e58194: Download complete [2023-09-12T19:19:47.328Z] 2de7ff778b66: Verifying Checksum [2023-09-12T19:19:47.328Z] 2de7ff778b66: Download complete [2023-09-12T19:19:49.855Z] ab5ef0e58194: Pull complete [2023-09-12T19:19:49.855Z] 9712f1f96733: Pull complete [2023-09-12T19:19:50.421Z] 63f879dbbcfc: Pull complete [2023-09-12T19:19:54.599Z] 0d9ebad4ef96: Pull complete [2023-09-12T19:19:54.599Z] e9a5061849ea: Pull complete [2023-09-12T19:19:54.599Z] d747dcd14b5f: Pull complete [2023-09-12T19:19:55.534Z] 2de7ff778b66: Pull complete [2023-09-12T19:19:55.534Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T19:19:55.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T19:19:55.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:19:55.609Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:19:55.607Z] $ 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-12T19:20:01.769Z] $ docker top 2100ae5e4170a362fe7c2dcefa18abf9093ce3c658478f2308cc9be63862b3e4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T19:20:01.861Z] provisioning config files... [2023-09-12T19:20:01.869Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6481676820697371142tmp [2023-09-12T19:20:01.878Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10763290825887267619tmp [2023-09-12T19:20:01.885Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18411881695610963961tmp [Pipeline] { [Pipeline] echo [2023-09-12T19:20:01.899Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:02.181Z] ---> sigul-configuration.sh [2023-09-12T19:20:02.181Z] gpg: directory `/root/.gnupg' created [2023-09-12T19:20:02.181Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T19:20:02.181Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T19:20:02.181Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T19:20:02.181Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T19:20:02.181Z] gpg: CAST5 encrypted data [2023-09-12T19:20:02.181Z] gpg: encrypted with 1 passphrase [2023-09-12T19:20:02.181Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T19:20:02.463Z] + mkdir /home/jenkins [2023-09-12T19:20:02.463Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T19:20:02.755Z] + 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-12T19:20:02.763Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:03.046Z] ---> sigul-install.sh [2023-09-12T19:20:03.046Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T19:20:03.331Z] + git tag --list [2023-09-12T19:20:03.331Z] 0.7.1 [2023-09-12T19:20:03.331Z] delhi-tag [2023-09-12T19:20:03.331Z] v1.0.0 [2023-09-12T19:20:03.331Z] v1.1.0 [2023-09-12T19:20:03.331Z] v1.1.1 [2023-09-12T19:20:03.331Z] v1.1.2 [2023-09-12T19:20:03.331Z] v1.2.0 [2023-09-12T19:20:03.331Z] v1.2.1 [2023-09-12T19:20:03.331Z] v1.2.2 [2023-09-12T19:20:03.331Z] v1.2.3 [2023-09-12T19:20:03.331Z] v1.3.0 [2023-09-12T19:20:03.331Z] v1.4.0 [2023-09-12T19:20:03.331Z] v2.0.0 [2023-09-12T19:20:03.331Z] v2.1.0 [2023-09-12T19:20:03.331Z] v2.1.1 [2023-09-12T19:20:03.331Z] v2.2.0 [2023-09-12T19:20:03.331Z] v2.3.0 [2023-09-12T19:20:03.331Z] v2.3.1 [2023-09-12T19:20:03.331Z] v3.0 [2023-09-12T19:20:03.331Z] v3.0.0 [2023-09-12T19:20:03.331Z] v3.0.1-dev.1 [2023-09-12T19:20:03.331Z] v3.1.0-dev.1 [2023-09-12T19:20:03.331Z] v3.1.0-dev.10 [2023-09-12T19:20:03.332Z] v3.1.0-dev.11 [2023-09-12T19:20:03.332Z] v3.1.0-dev.12 [2023-09-12T19:20:03.332Z] v3.1.0-dev.13 [2023-09-12T19:20:03.332Z] v3.1.0-dev.14 [2023-09-12T19:20:03.332Z] v3.1.0-dev.15 [2023-09-12T19:20:03.332Z] v3.1.0-dev.16 [2023-09-12T19:20:03.332Z] v3.1.0-dev.17 [2023-09-12T19:20:03.332Z] v3.1.0-dev.18 [2023-09-12T19:20:03.332Z] v3.1.0-dev.19 [2023-09-12T19:20:03.332Z] v3.1.0-dev.2 [2023-09-12T19:20:03.332Z] v3.1.0-dev.20 [2023-09-12T19:20:03.332Z] v3.1.0-dev.21 [2023-09-12T19:20:03.332Z] v3.1.0-dev.22 [2023-09-12T19:20:03.332Z] v3.1.0-dev.3 [2023-09-12T19:20:03.332Z] v3.1.0-dev.4 [2023-09-12T19:20:03.332Z] v3.1.0-dev.5 [2023-09-12T19:20:03.332Z] v3.1.0-dev.6 [2023-09-12T19:20:03.332Z] v3.1.0-dev.7 [2023-09-12T19:20:03.332Z] v3.1.0-dev.8 [2023-09-12T19:20:03.332Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-12T19:20:03.616Z] + lftools sign git-tag v3.1.0-dev.22 [2023-09-12T19:20:04.183Z] Signing Git tag with Sigul... [2023-09-12T19:20:04.183Z] Signing v3.1.0-dev.22 [Pipeline] echo [2023-09-12T19:20:04.449Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:04.732Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T19:20:04.738Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T19:20:04.727Z] $ docker stop --time=1 2100ae5e4170a362fe7c2dcefa18abf9093ce3c658478f2308cc9be63862b3e4 [2023-09-12T19:20:06.014Z] $ docker rm -f --volumes 2100ae5e4170a362fe7c2dcefa18abf9093ce3c658478f2308cc9be63862b3e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T19:20:06.451Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T19:20:06.451Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:20:06.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T19:20:06.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:20:06.807Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:20:06.809Z] $ 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-12T19:20:07.139Z] $ docker top 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T19:20:07.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T19:20:07.244Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T19:20:07.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T19:20:07.327Z] $ docker exec 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 ssh-agent [2023-09-12T19:20:07.464Z] SSH_AUTH_SOCK=/tmp/ssh-8xWVBKTaAHO0/agent.32 [2023-09-12T19:20:07.464Z] SSH_AGENT_PID=38 [2023-09-12T19:20:07.469Z] Running ssh-add (command line suppressed) [2023-09-12T19:20:07.536Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4804749441022607528.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4804749441022607528.key) [2023-09-12T19:20:07.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T19:20:07.863Z] + git semver bump pre [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:07,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:07,998 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:07,998 [bump_version] DEBUG bumped version:3.1.0-dev.23 [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:07,998 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:07,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:07,999 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:08,000 [execute] INFO git cat-file --batch-check [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:08,000 [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-12T19:20:08.123Z] 2023-09-12 19:20:08,006 [execute] INFO git cat-file --batch [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:08,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T19:20:08.123Z] 2023-09-12 19:20:08,012 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:20:08.123Z] 3.1.0-dev.23 [Pipeline] } [2023-09-12T19:20:08.104Z] $ docker exec --env ******** --env ******** 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 ssh-agent -k [2023-09-12T19:20:08.202Z] unset SSH_AUTH_SOCK; [2023-09-12T19:20:08.202Z] unset SSH_AGENT_PID; [2023-09-12T19:20:08.202Z] echo Agent pid 38 killed; [2023-09-12T19:20:08.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T19:20:08.555Z] + git semver [Pipeline] } [2023-09-12T19:20:08.797Z] $ docker stop --time=1 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 [2023-09-12T19:20:10.041Z] $ docker rm -f --volumes 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T19:20:10.412Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T19:20:10.412Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:20:10.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T19:20:10.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:20:10.774Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:20:10.775Z] $ 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-12T19:20:11.092Z] $ docker top 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T19:20:11.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T19:20:11.208Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T19:20:11.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T19:20:11.288Z] $ docker exec 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac ssh-agent [2023-09-12T19:20:11.421Z] SSH_AUTH_SOCK=/tmp/ssh-TfctVFDxbrVI/agent.32 [2023-09-12T19:20:11.421Z] SSH_AGENT_PID=38 [2023-09-12T19:20:11.425Z] Running ssh-add (command line suppressed) [2023-09-12T19:20:11.495Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852157187695858928.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852157187695858928.key) [2023-09-12T19:20:11.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T19:20:11.824Z] + git semver push [2023-09-12T19:20:12.083Z] 2023-09-12 19:20:11,965 [run_push] DEBUG push [2023-09-12T19:20:12.083Z] 2023-09-12 19:20:11,966 [execute] INFO git cat-file --batch-check [2023-09-12T19:20:12.083Z] 2023-09-12 19:20:11,966 [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-12T19:20:12.083Z] 2023-09-12 19:20:11,970 [execute] INFO git rev-list 02b2b16e228efde7fe60904d38af080f0815cdb9 -- [2023-09-12T19:20:12.083Z] 2023-09-12 19:20:11,970 [execute] DEBUG Popen(['git', 'rev-list', '02b2b16e228efde7fe60904d38af080f0815cdb9', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T19:20:12.083Z] 2023-09-12 19:20:11,985 [execute] INFO git fetch -v origin [2023-09-12T19:20:12.083Z] 2023-09-12 19:20:11,985 [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-12T19:20:12.652Z] 2023-09-12 19:20:12,465 [run_push] DEBUG no remote changes detected [2023-09-12T19:20:12.652Z] 2023-09-12 19:20:12,466 [execute] INFO git push origin semver [2023-09-12T19:20:12.652Z] 2023-09-12 19:20:12,466 [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-12T19:20:14.031Z] 2023-09-12 19:20:13,825 [run_push] DEBUG push all version tags [2023-09-12T19:20:14.031Z] 2023-09-12 19:20:13,826 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T19:20:14.031Z] 2023-09-12 19:20:13,826 [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-12T19:20:14.967Z] 2023-09-12 19:20:14,615 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T19:20:14.967Z] 3.1.0-dev.23 [Pipeline] } [2023-09-12T19:20:14.945Z] $ docker exec --env ******** --env ******** 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac ssh-agent -k [2023-09-12T19:20:15.030Z] unset SSH_AUTH_SOCK; [2023-09-12T19:20:15.030Z] unset SSH_AGENT_PID; [2023-09-12T19:20:15.030Z] echo Agent pid 38 killed; [2023-09-12T19:20:15.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T19:20:15.373Z] + git semver [Pipeline] } [2023-09-12T19:20:15.616Z] $ docker stop --time=1 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac [2023-09-12T19:20:16.887Z] $ docker rm -f --volumes 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac [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-12T19:20:17.511Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-12T19:20:17.511Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T19:20:17.511Z] total 16 [2023-09-12T19:20:17.511Z] drwxr-xr-x 3 root root 4096 Sep 12 19:09 . [2023-09-12T19:20:17.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:20 .. [2023-09-12T19:20:17.511Z] drwxr-xr-x 2 root root 4096 Sep 12 19:09 cost [2023-09-12T19:20:17.511Z] -rw-r--r-- 1 root root 85 Sep 12 19:09 cost.csv [2023-09-12T19:20:17.511Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T19:20:17.511Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T19:20:17.511Z] total 16 [2023-09-12T19:20:17.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 19:09 . [2023-09-12T19:20:17.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:20 .. [2023-09-12T19:20:17.511Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 19:09 cost [2023-09-12T19:20:17.511Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 12 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:17.803Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:18.659Z] ---> package-listing.sh [2023-09-12T19:20:18.659Z] ++ facter osfamily [2023-09-12T19:20:18.659Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T19:20:18.918Z] + OS_FAMILY=debian [2023-09-12T19:20:18.918Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T19:20:18.918Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T19:20:18.918Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T19:20:18.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T19:20:18.918Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T19:20:18.918Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-12T19:20:18.918Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T19:20:18.918Z] + case "${OS_FAMILY}" in [2023-09-12T19:20:18.918Z] + dpkg -l [2023-09-12T19:20:18.918Z] + grep '^ii' [2023-09-12T19:20:18.918Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T19:20:18.918Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T19:20:18.918Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T19:20:18.918Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-12T19:20:18.918Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-12T19:20:18.918Z] + 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-12T19:20:18.928Z] 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-12T19:20:19.201Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T19:20:19.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T19:20:19.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T19:20:19.822Z] prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container [2023-09-12T19:20:19.818Z] $ 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-12T19:20:20.071Z] $ docker top ab2cd3ad75f0da4ac4eea6ddfb4cfe89130a72e717cdbc5cbc400dc47e11f5a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T19:20:20.450Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T19:20:20.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T19:20:21.168Z] + ls /var/log/sa-host [2023-09-12T19:20:21.169Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T19:20:21.243Z] provisioning config files... [2023-09-12T19:20:21.250Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13703721994724740380tmp [Pipeline] { [Pipeline] echo [2023-09-12T19:20:21.264Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:21.548Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T19:20:21.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:21.872Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T19:20:21.881Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:22.166Z] ---> sudo-logs.sh [2023-09-12T19:20:22.166Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T19:20:22.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:22.481Z] ---> job-cost.sh [2023-09-12T19:20:22.481Z] lf-activate-venv: SKIPPING [2023-09-12T19:20:22.481Z] DEBUG: total: 0.2199999988079071 [2023-09-12T19:20:22.481Z] INFO: Retrieving Stack Cost... [2023-09-12T19:20:23.049Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T19:20:23.308Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T19:20:23.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T19:20:23.601Z] ---> logs-deploy.sh [2023-09-12T19:20:23.601Z] lf-activate-venv: SKIPPING [2023-09-12T19:20:23.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/251 [2023-09-12T19:20:23.601Z] INFO: archiving workspace using pattern(s): [2023-09-12T19:20:24.537Z] Archives upload complete. [2023-09-12T19:20:24.796Z] INFO: archiving logs to Nexus