Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from abc21ca26102b759b02d11fb71eec9f0d2267cdf 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-ssh13429127423555483160.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-ssh8544495510331736944.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-ssh9688715208017621009.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-ssh15840264871068728416.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-ssh7132931547143676279.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11936 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision abc21ca26102b759b02d11fb71eec9f0d2267cdf (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1530)" > git config core.sparsecheckout # timeout=10 > git checkout -f abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 > git rev-list --no-walk ea75771316a3345bae478dacd5fb79870eb29e09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-26T16:14:03.014Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-26T16:14:03.081Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-26T16:14:03.096Z] ========================================================= [2023-10-26T16:14:03.096Z] EdgeX Global Pipelines Version Info [2023-10-26T16:14:03.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:14:03.810Z] ------------------- [2023-10-26T16:14:03.810Z] stable info: [2023-10-26T16:14:03.810Z] ------------------- [2023-10-26T16:14:03.810Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-26T16:14:03.810Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T16:14:03.810Z] Message: update stable to v1.0.254 [2023-10-26T16:14:04.379Z] ------------------- [2023-10-26T16:14:04.379Z] experimental info: [2023-10-26T16:14:04.379Z] ------------------- [2023-10-26T16:14:04.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-26T16:14:04.379Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T16:14:04.379Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-26T16:14:04.530Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-26T16:14:04.539Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-26T16:14:04.547Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-26T16:14:04.556Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-26T16:14:04.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-26T16:14:04.577Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-26T16:14:04.596Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-26T16:14:04.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-26T16:14:04.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-26T16:14:04.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-26T16:14:04.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-26T16:14:04.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-26T16:14:04.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-26T16:14:04.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-26T16:14:04.708Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-26T16:14:04.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T16:14:04.739Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T16:14:04.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T16:14:04.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-26T16:14:04.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-26T16:14:04.785Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-26T16:14:04.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-26T16:14:04.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-26T16:14:04.824Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-26T16:14:04.837Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-26T16:14:04.848Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-26T16:14:04.862Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-26T16:14:04.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-26T16:14:04.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-26T16:14:04.907Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-26T16:14:04.922Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo [2023-10-26T16:14:04.935Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abc21ca [Pipeline] echo [2023-10-26T16:14:04.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T16:14:04.993Z] provisioning config files... [2023-10-26T16:14:05.007Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16775233956594967668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:14:05.308Z] ---> docker-login.sh [2023-10-26T16:14:05.308Z] nexus3.edgexfoundry.org:10001 [2023-10-26T16:14:05.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:05.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:05.568Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:05.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:05.568Z] [2023-10-26T16:14:05.568Z] Login Succeeded [2023-10-26T16:14:05.568Z] nexus3.edgexfoundry.org:10002 [2023-10-26T16:14:05.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:05.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:05.568Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:05.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:05.568Z] [2023-10-26T16:14:05.568Z] Login Succeeded [2023-10-26T16:14:05.829Z] nexus3.edgexfoundry.org:10003 [2023-10-26T16:14:05.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:05.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:05.829Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:05.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:05.829Z] [2023-10-26T16:14:05.829Z] Login Succeeded [2023-10-26T16:14:05.829Z] nexus3.edgexfoundry.org:10004 [2023-10-26T16:14:05.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:05.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:05.829Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:05.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:05.829Z] [2023-10-26T16:14:05.829Z] Login Succeeded [2023-10-26T16:14:05.829Z] docker.io [2023-10-26T16:14:06.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:06.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:06.355Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:06.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:06.355Z] [2023-10-26T16:14:06.355Z] Login Succeeded [2023-10-26T16:14:06.355Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T16:14:06.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-26T16:14:06.721Z] + git rev-list -1 --merges abc21ca26102b759b02d11fb71eec9f0d2267cdf~1..abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo [2023-10-26T16:14:06.765Z] -----------> git rev-list -1 --merges abc21ca26102b759b02d11fb71eec9f0d2267cdf~1..abc21ca26102b759b02d11fb71eec9f0d2267cdf abc21ca26102b759b02d11fb71eec9f0d2267cdf [false] [Pipeline] sh [2023-10-26T16:14:07.056Z] + git log --format=format:%s -1 abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo [2023-10-26T16:14:07.095Z] ========================================================= [2023-10-26T16:14:07.095Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-26T16:14:07.095Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T16:14:07.436Z] + git log --format=format:%s -1 abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo [2023-10-26T16:14:07.446Z] [semverPrep] GIT_COMMIT: abc21ca26102b759b02d11fb71eec9f0d2267cdf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1530) [Pipeline] echo [2023-10-26T16:14:07.454Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-26T16:14:07.826Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T16:14:07.827Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-26T16:14:07.827Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-26T16:14:07.827Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-26T16:14:07.827Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-10-26T16:14:07.827Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-26T16:14:07.827Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:14:08.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T16:14:08.177Z] [2023-10-26T16:14:08.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:14:08.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T16:14:08.473Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-26T16:14:08.473Z] b85a868b505f: Pulling fs layer [2023-10-26T16:14:08.473Z] e2be974225ed: Pulling fs layer [2023-10-26T16:14:08.473Z] 339a4e72a1f5: Pulling fs layer [2023-10-26T16:14:08.473Z] 988bab9f4d93: Pulling fs layer [2023-10-26T16:14:08.473Z] 1469e6f7b9e6: Pulling fs layer [2023-10-26T16:14:08.473Z] eaf3925da568: Pulling fs layer [2023-10-26T16:14:08.473Z] bab4dde63d76: Pulling fs layer [2023-10-26T16:14:08.473Z] bde34c3a00c8: Pulling fs layer [2023-10-26T16:14:08.473Z] b352a97aabf1: Pulling fs layer [2023-10-26T16:14:08.473Z] 4872d77fe225: Pulling fs layer [2023-10-26T16:14:08.473Z] 5851b861e8e6: Pulling fs layer [2023-10-26T16:14:08.473Z] bab4dde63d76: Waiting [2023-10-26T16:14:08.473Z] 988bab9f4d93: Waiting [2023-10-26T16:14:08.473Z] 1469e6f7b9e6: Waiting [2023-10-26T16:14:08.473Z] bde34c3a00c8: Waiting [2023-10-26T16:14:08.473Z] eaf3925da568: Waiting [2023-10-26T16:14:08.473Z] b352a97aabf1: Waiting [2023-10-26T16:14:08.473Z] 4872d77fe225: Waiting [2023-10-26T16:14:08.473Z] 5851b861e8e6: Waiting [2023-10-26T16:14:08.473Z] e2be974225ed: Verifying Checksum [2023-10-26T16:14:08.473Z] e2be974225ed: Download complete [2023-10-26T16:14:08.473Z] 988bab9f4d93: Download complete [2023-10-26T16:14:08.473Z] 1469e6f7b9e6: Verifying Checksum [2023-10-26T16:14:08.473Z] 1469e6f7b9e6: Download complete [2023-10-26T16:14:08.473Z] 339a4e72a1f5: Verifying Checksum [2023-10-26T16:14:08.473Z] 339a4e72a1f5: Download complete [2023-10-26T16:14:08.473Z] eaf3925da568: Verifying Checksum [2023-10-26T16:14:08.473Z] eaf3925da568: Download complete [2023-10-26T16:14:08.735Z] bde34c3a00c8: Download complete [2023-10-26T16:14:08.735Z] b352a97aabf1: Verifying Checksum [2023-10-26T16:14:08.735Z] b352a97aabf1: Download complete [2023-10-26T16:14:08.735Z] 4872d77fe225: Verifying Checksum [2023-10-26T16:14:08.735Z] 4872d77fe225: Download complete [2023-10-26T16:14:08.735Z] 5851b861e8e6: Verifying Checksum [2023-10-26T16:14:08.735Z] 5851b861e8e6: Download complete [2023-10-26T16:14:08.735Z] b85a868b505f: Download complete [2023-10-26T16:14:08.994Z] bab4dde63d76: Verifying Checksum [2023-10-26T16:14:08.994Z] bab4dde63d76: Download complete [2023-10-26T16:14:10.371Z] b85a868b505f: Pull complete [2023-10-26T16:14:10.371Z] e2be974225ed: Pull complete [2023-10-26T16:14:10.940Z] 339a4e72a1f5: Pull complete [2023-10-26T16:14:10.940Z] 988bab9f4d93: Pull complete [2023-10-26T16:14:11.199Z] 1469e6f7b9e6: Pull complete [2023-10-26T16:14:11.199Z] eaf3925da568: Pull complete [2023-10-26T16:14:13.098Z] bab4dde63d76: Pull complete [2023-10-26T16:14:13.098Z] bde34c3a00c8: Pull complete [2023-10-26T16:14:13.356Z] b352a97aabf1: Pull complete [2023-10-26T16:14:13.356Z] 4872d77fe225: Pull complete [2023-10-26T16:14:13.356Z] 5851b861e8e6: Pull complete [2023-10-26T16:14:13.356Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-26T16:14:13.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T16:14:13.356Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:14:13.456Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:14:13.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T16:14:19.989Z] $ docker top 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca -eo pid,comm [2023-10-26T16:14:20.045Z] 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-10-26T16:14:20.045Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T16:14:20.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T16:14:20.079Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T16:14:20.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T16:14:20.219Z] $ docker exec 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent [2023-10-26T16:14:20.336Z] SSH_AUTH_SOCK=/tmp/ssh-jTCAHilnGQVM/agent.32 [2023-10-26T16:14:20.336Z] SSH_AGENT_PID=38 [2023-10-26T16:14:20.343Z] Running ssh-add (command line suppressed) [2023-10-26T16:14:20.449Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5649053875550002969.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5649053875550002969.key) [2023-10-26T16:14:20.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T16:14:20.751Z] + git tag --points-at HEAD [Pipeline] } [2023-10-26T16:14:20.767Z] $ docker exec --env ******** --env ******** 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent -k [2023-10-26T16:14:20.872Z] unset SSH_AUTH_SOCK; [2023-10-26T16:14:20.873Z] unset SSH_AGENT_PID; [2023-10-26T16:14:20.873Z] echo Agent pid 38 killed; [2023-10-26T16:14:20.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-26T16:14:20.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T16:14:20.904Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T16:14:21.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T16:14:21.023Z] $ docker exec 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent [2023-10-26T16:14:21.145Z] SSH_AUTH_SOCK=/tmp/ssh-QYYFs5GtKXIQ/agent.70 [2023-10-26T16:14:21.145Z] SSH_AGENT_PID=76 [2023-10-26T16:14:21.150Z] Running ssh-add (command line suppressed) [2023-10-26T16:14:21.262Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16335537029548099068.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16335537029548099068.key) [2023-10-26T16:14:21.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T16:14:21.554Z] + git semver init [2023-10-26T16:14:21.814Z] 2023-10-26 16:14:21,749 [run_init] DEBUG init version:0.0.0 force:False [2023-10-26T16:14:21.814Z] 2023-10-26 16:14:21,749 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-10-26T16:14:21.814Z] 2023-10-26 16:14:21,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-10-26T16:14:21.814Z] 2023-10-26 16:14:21,750 [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-10-26T16:14:23.192Z] 2023-10-26 16:14:22,986 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-10-26T16:14:23.192Z] 2023-10-26 16:14:22,987 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-10-26T16:14:23.192Z] 2023-10-26 16:14:22,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:14:23.192Z] 2023-10-26 16:14:22,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:14:23.192Z] 3.1.0-dev.37 [Pipeline] } [2023-10-26T16:14:23.206Z] $ docker exec --env ******** --env ******** 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent -k [2023-10-26T16:14:23.307Z] unset SSH_AUTH_SOCK; [2023-10-26T16:14:23.309Z] unset SSH_AGENT_PID; [2023-10-26T16:14:23.310Z] echo Agent pid 76 killed; [2023-10-26T16:14:23.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T16:14:23.627Z] + git semver [Pipeline] } [2023-10-26T16:14:23.902Z] $ docker stop --time=1 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca [2023-10-26T16:14:25.188Z] $ docker rm -f --volumes 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T16:14:25.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-26T16:14:25.711Z] Stashed 1 file(s) [Pipeline] echo [2023-10-26T16:14:25.714Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.37 [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-10-26T16:14:25.869Z] provisioning config files... [2023-10-26T16:14:25.877Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12314613400379282024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:14:26.170Z] ---> docker-login.sh [2023-10-26T16:14:26.170Z] nexus3.edgexfoundry.org:10001 [2023-10-26T16:14:26.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:26.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:26.170Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:26.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:26.170Z] [2023-10-26T16:14:26.170Z] Login Succeeded [2023-10-26T16:14:26.170Z] nexus3.edgexfoundry.org:10002 [2023-10-26T16:14:26.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:26.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:26.170Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:26.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:26.170Z] [2023-10-26T16:14:26.170Z] Login Succeeded [2023-10-26T16:14:26.170Z] nexus3.edgexfoundry.org:10003 [2023-10-26T16:14:26.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:26.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:26.428Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:26.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:26.428Z] [2023-10-26T16:14:26.428Z] Login Succeeded [2023-10-26T16:14:26.428Z] nexus3.edgexfoundry.org:10004 [2023-10-26T16:14:26.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:26.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:26.428Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:26.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:26.428Z] [2023-10-26T16:14:26.428Z] Login Succeeded [2023-10-26T16:14:26.428Z] docker.io [2023-10-26T16:14:26.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:14:26.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:14:26.687Z] Configure a credential helper to remove this warning. See [2023-10-26T16:14:26.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:14:26.687Z] [2023-10-26T16:14:26.687Z] Login Succeeded [2023-10-26T16:14:26.687Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T16:14:26.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-26T16:14:26.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T16:14:26.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T16:14:26.780Z] ========================================================= [2023-10-26T16:14:26.780Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-26T16:14:26.780Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:14:27.098Z] + 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-10-26T16:14:27.098Z] Sending build context to Docker daemon 11.24MB [2023-10-26T16:14:27.098Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T16:14:27.098Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-26T16:14:27.357Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-26T16:14:27.357Z] 7264a8db6415: Pulling fs layer [2023-10-26T16:14:27.357Z] c4d48a809fc2: Pulling fs layer [2023-10-26T16:14:27.357Z] 4f1c88b9dad5: Pulling fs layer [2023-10-26T16:14:27.357Z] ad3a456e5733: Pulling fs layer [2023-10-26T16:14:27.357Z] 33e27b845d1e: Pulling fs layer [2023-10-26T16:14:27.357Z] c68163c4e522: Pulling fs layer [2023-10-26T16:14:27.357Z] 50da416c3ac9: Pulling fs layer [2023-10-26T16:14:27.357Z] 23d2d4c4bb30: Pulling fs layer [2023-10-26T16:14:27.357Z] 50da416c3ac9: Waiting [2023-10-26T16:14:27.357Z] c68163c4e522: Waiting [2023-10-26T16:14:27.357Z] ad3a456e5733: Waiting [2023-10-26T16:14:27.357Z] 23d2d4c4bb30: Waiting [2023-10-26T16:14:27.357Z] 33e27b845d1e: Waiting [2023-10-26T16:14:27.357Z] c4d48a809fc2: Download complete [2023-10-26T16:14:27.357Z] ad3a456e5733: Verifying Checksum [2023-10-26T16:14:27.357Z] ad3a456e5733: Download complete [2023-10-26T16:14:27.357Z] 33e27b845d1e: Verifying Checksum [2023-10-26T16:14:27.357Z] 33e27b845d1e: Download complete [2023-10-26T16:14:27.357Z] 7264a8db6415: Verifying Checksum [2023-10-26T16:14:27.357Z] 7264a8db6415: Download complete [2023-10-26T16:14:27.357Z] c68163c4e522: Verifying Checksum [2023-10-26T16:14:27.357Z] c68163c4e522: Download complete [2023-10-26T16:14:27.618Z] 7264a8db6415: Pull complete [2023-10-26T16:14:27.618Z] 23d2d4c4bb30: Download complete [2023-10-26T16:14:27.618Z] c4d48a809fc2: Pull complete [2023-10-26T16:14:27.876Z] 4f1c88b9dad5: Verifying Checksum [2023-10-26T16:14:27.876Z] 4f1c88b9dad5: Download complete [2023-10-26T16:14:28.134Z] 50da416c3ac9: Verifying Checksum [2023-10-26T16:14:28.134Z] 50da416c3ac9: Download complete [2023-10-26T16:14:31.420Z] 4f1c88b9dad5: Pull complete [2023-10-26T16:14:31.420Z] ad3a456e5733: Pull complete [2023-10-26T16:14:31.420Z] 33e27b845d1e: Pull complete [2023-10-26T16:14:31.678Z] c68163c4e522: Pull complete [2023-10-26T16:14:34.971Z] 50da416c3ac9: Pull complete [2023-10-26T16:14:35.230Z] 23d2d4c4bb30: Pull complete [2023-10-26T16:14:35.230Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-26T16:14:35.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-26T16:14:35.230Z] ---> 0786185ac409 [2023-10-26T16:14:35.230Z] Step 3/10 : ARG MAKE=make build [2023-10-26T16:14:40.823Z] Still waiting to schedule task [2023-10-26T16:14:40.824Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-26T16:14:47.487Z] ---> Running in 0d6fc1088780 [2023-10-26T16:14:47.487Z] Removing intermediate container 0d6fc1088780 [2023-10-26T16:14:47.487Z] ---> d22ec0912066 [2023-10-26T16:14:47.487Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-26T16:14:47.487Z] ---> Running in da8e2418f8f9 [2023-10-26T16:14:47.487Z] Removing intermediate container da8e2418f8f9 [2023-10-26T16:14:47.487Z] ---> 015ba1abcb96 [2023-10-26T16:14:47.487Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T16:14:47.487Z] ---> Running in cab77bedc8bc [2023-10-26T16:14:47.487Z] Removing intermediate container cab77bedc8bc [2023-10-26T16:14:47.487Z] ---> 2f88846914b2 [2023-10-26T16:14:47.488Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-26T16:14:47.488Z] ---> Running in 8b5049517def [2023-10-26T16:14:47.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T16:14:47.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T16:14:47.488Z] OK: 264 MiB in 52 packages [2023-10-26T16:14:47.488Z] Removing intermediate container 8b5049517def [2023-10-26T16:14:47.488Z] ---> f3b767793bfa [2023-10-26T16:14:47.488Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-26T16:14:47.488Z] ---> 59483b62da03 [2023-10-26T16:14:47.488Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T16:14:47.488Z] ---> Running in c03a887eb8e0 [2023-10-26T16:16:09.007Z] Removing intermediate container c03a887eb8e0 [2023-10-26T16:16:09.007Z] ---> 7dcbee3e4b8a [2023-10-26T16:16:09.007Z] Step 9/10 : COPY . . [2023-10-26T16:16:09.007Z] ---> c62851c0e240 [2023-10-26T16:16:09.007Z] Step 10/10 : RUN ${MAKE} [2023-10-26T16:16:09.007Z] ---> Running in 4fde951c8bf1 [2023-10-26T16:16:09.007Z] noop [2023-10-26T16:16:09.007Z] Removing intermediate container 4fde951c8bf1 [2023-10-26T16:16:09.007Z] ---> d71d7b8ccfc5 [2023-10-26T16:16:09.007Z] Successfully built d71d7b8ccfc5 [2023-10-26T16:16:09.007Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:16:09.318Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-26T16:16:09.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:16:09.393Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:16:09.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-26T16:16:09.818Z] $ docker top 18a78b06d230881d27bf49d5c9423f8c852415c4870525c394ca2fea60b70a20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T16:16:10.158Z] + go version [2023-10-26T16:16:10.158Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-26T16:16:10.169Z] $ docker stop --time=1 18a78b06d230881d27bf49d5c9423f8c852415c4870525c394ca2fea60b70a20 [2023-10-26T16:16:11.453Z] $ docker rm -f --volumes 18a78b06d230881d27bf49d5c9423f8c852415c4870525c394ca2fea60b70a20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:16:11.846Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-26T16:16:11.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:16:11.917Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:16:11.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-26T16:16:12.338Z] $ docker top 4687c672ff4e6d90154bb8037e500beecbbe701fd61b3cc84f553df864c54f9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T16:16:12.680Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-26T16:16:12.969Z] + make test [2023-10-26T16:16:12.969Z] go test -race -coverprofile=coverage.out ./... [2023-10-26T16:16:21.099Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-26T16:16:33.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-26T16:16:33.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-26T16:16:34.115Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2023-10-26T16:16:34.374Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.064s coverage: 81.5% of statements [2023-10-26T16:16:34.374Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.072s coverage: 86.0% of statements [2023-10-26T16:16:34.632Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements [2023-10-26T16:16:34.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-26T16:16:34.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-26T16:16:35.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-26T16:16:39.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.060s coverage: 14.4% of statements [2023-10-26T16:16:39.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.984s coverage: 45.9% of statements [2023-10-26T16:16:39.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.066s coverage: 68.5% of statements [2023-10-26T16:16:39.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.101s coverage: 89.2% of statements [2023-10-26T16:16:39.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.054s coverage: 5.5% of statements [2023-10-26T16:17:05.714Z] GO111MODULE=on go vet ./... [2023-10-26T16:17:05.971Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-26T16:17:05.971Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-26T16:17:05.971Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-26T16:17:06.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-26T16:17:06.256Z] $ docker stop --time=1 4687c672ff4e6d90154bb8037e500beecbbe701fd61b3cc84f553df864c54f9c [2023-10-26T16:17:12.708Z] $ docker rm -f --volumes 4687c672ff4e6d90154bb8037e500beecbbe701fd61b3cc84f553df864c54f9c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T16:17:13.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-26T16:17:13.294Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-26T16:17:13.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-26T16:17:14.157Z] + ls -al . [2023-10-26T16:17:14.157Z] total 304 [2023-10-26T16:17:14.157Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 16:16 . [2023-10-26T16:17:14.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:14 .. [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 16:14 .dockerignore [2023-10-26T16:17:14.157Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:16 .git [2023-10-26T16:17:14.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:14 .github [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 26 16:14 .gitignore [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 16:14 .golangci.yml [2023-10-26T16:17:14.157Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:14 .semver [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 26 16:14 CHANGELOG.md [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:14 GOVERNANCE.md [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 26 16:14 Jenkinsfile [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 16:14 LICENSE [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 26 16:14 Makefile [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 16:14 OWNERS.md [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 26 16:14 README.md [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 16:14 VERSION [2023-10-26T16:17:14.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:14 bin [2023-10-26T16:17:14.157Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 26 16:16 coverage.out [2023-10-26T16:17:14.157Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 16:14 example [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 26 16:14 go.mod [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 26 16:14 go.sum [2023-10-26T16:17:14.157Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:14 internal [2023-10-26T16:17:14.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:14 openapi [2023-10-26T16:17:14.157Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 16:14 pkg [2023-10-26T16:17:14.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:14 snap [2023-10-26T16:17:14.157Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 16:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:17:14.557Z] + 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=abc21ca26102b759b02d11fb71eec9f0d2267cdf --label arch=amd64 --label version=3.1.0-dev.37 . [2023-10-26T16:17:14.557Z] Sending build context to Docker daemon 11.36MB [2023-10-26T16:17:14.557Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T16:17:14.557Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-26T16:17:14.557Z] ---> d71d7b8ccfc5 [2023-10-26T16:17:14.557Z] Step 3/23 : ARG MAKE=make build [2023-10-26T16:17:15.124Z] ---> Running in 0d37d4f9818d [2023-10-26T16:17:15.125Z] Removing intermediate container 0d37d4f9818d [2023-10-26T16:17:15.125Z] ---> 6ed44e7d3572 [2023-10-26T16:17:15.125Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-26T16:17:15.125Z] ---> Running in 649f154fa6ca [2023-10-26T16:17:15.382Z] Removing intermediate container 649f154fa6ca [2023-10-26T16:17:15.382Z] ---> cbd8b78bab0d [2023-10-26T16:17:15.382Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T16:17:15.382Z] ---> Running in 8df1bec70f05 [2023-10-26T16:17:15.382Z] Removing intermediate container 8df1bec70f05 [2023-10-26T16:17:15.382Z] ---> a76c769c4ff8 [2023-10-26T16:17:15.382Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-26T16:17:15.382Z] ---> Running in e0ff4bd51909 [2023-10-26T16:17:15.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T16:17:15.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T16:17:16.273Z] OK: 264 MiB in 52 packages [2023-10-26T16:17:16.551Z] Removing intermediate container e0ff4bd51909 [2023-10-26T16:17:16.551Z] ---> 3490a36ab9e2 [2023-10-26T16:17:16.551Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-26T16:17:16.551Z] ---> 1741e39de62d [2023-10-26T16:17:16.551Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T16:17:16.551Z] ---> Running in 7f948eca6b59 [2023-10-26T16:17:17.139Z] Removing intermediate container 7f948eca6b59 [2023-10-26T16:17:17.139Z] ---> 22153be3341c [2023-10-26T16:17:17.139Z] Step 9/23 : COPY . . [2023-10-26T16:17:17.705Z] ---> 7ad0a95c731c [2023-10-26T16:17:17.705Z] Step 10/23 : RUN ${MAKE} [2023-10-26T16:17:17.705Z] ---> Running in 098386db03b6 [2023-10-26T16:17:17.964Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.37 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.37" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-26T16:17:40.022Z] Removing intermediate container 098386db03b6 [2023-10-26T16:17:40.022Z] ---> fbd6bfbf10ad [2023-10-26T16:17:40.022Z] Step 11/23 : FROM alpine:3.18 [2023-10-26T16:17:40.022Z] 3.18: Pulling from library/alpine [2023-10-26T16:17:40.022Z] 96526aa774ef: Pulling fs layer [2023-10-26T16:17:40.022Z] 96526aa774ef: Verifying Checksum [2023-10-26T16:17:40.022Z] 96526aa774ef: Download complete [2023-10-26T16:17:40.022Z] 96526aa774ef: Pull complete [2023-10-26T16:17:40.022Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-26T16:17:40.022Z] Status: Downloaded newer image for alpine:3.18 [2023-10-26T16:17:40.022Z] ---> 8ca4688f4f35 [2023-10-26T16:17:40.022Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-26T16:17:40.022Z] ---> Running in 4853c029c268 [2023-10-26T16:17:40.022Z] Removing intermediate container 4853c029c268 [2023-10-26T16:17:40.022Z] ---> 8ebbecd93ef3 [2023-10-26T16:17:40.022Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-26T16:17:40.022Z] ---> Running in d163f5128e5b [2023-10-26T16:17:40.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T16:17:40.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T16:17:40.281Z] OK: 7 MiB in 15 packages [2023-10-26T16:17:40.848Z] Removing intermediate container d163f5128e5b [2023-10-26T16:17:40.848Z] ---> 0dba83e7156a [2023-10-26T16:17:40.848Z] Step 14/23 : WORKDIR / [2023-10-26T16:17:40.848Z] ---> Running in a6e4612bf5f8 [2023-10-26T16:17:40.848Z] Removing intermediate container a6e4612bf5f8 [2023-10-26T16:17:40.848Z] ---> 94323b7e5ac4 [2023-10-26T16:17:40.848Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-26T16:17:41.107Z] ---> 81f728c1a011 [2023-10-26T16:17:41.107Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-26T16:17:42.500Z] ---> dbe4e05e5169 [2023-10-26T16:17:42.500Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-26T16:17:42.500Z] ---> 829e071702f3 [2023-10-26T16:17:42.500Z] Step 18/23 : EXPOSE 59999 [2023-10-26T16:17:42.500Z] ---> Running in df321dc7bf82 [2023-10-26T16:17:42.500Z] Removing intermediate container df321dc7bf82 [2023-10-26T16:17:42.500Z] ---> 696e9a730d94 [2023-10-26T16:17:42.500Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-26T16:17:42.500Z] ---> Running in 552062b59147 [2023-10-26T16:17:42.500Z] Removing intermediate container 552062b59147 [2023-10-26T16:17:42.500Z] ---> cc454c6ec828 [2023-10-26T16:17:42.500Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-26T16:17:42.500Z] ---> Running in 0e37dee1d2f8 [2023-10-26T16:17:42.500Z] Removing intermediate container 0e37dee1d2f8 [2023-10-26T16:17:42.500Z] ---> 8cfb9e161cc0 [2023-10-26T16:17:42.500Z] Step 21/23 : LABEL arch=amd64 [2023-10-26T16:17:42.759Z] ---> Running in c124964d0fea [2023-10-26T16:17:42.759Z] Removing intermediate container c124964d0fea [2023-10-26T16:17:42.759Z] ---> 227bca1497fc [2023-10-26T16:17:42.759Z] Step 22/23 : LABEL git_sha=abc21ca26102b759b02d11fb71eec9f0d2267cdf [2023-10-26T16:17:42.759Z] ---> Running in 5cf9da7325ed [2023-10-26T16:17:42.759Z] Removing intermediate container 5cf9da7325ed [2023-10-26T16:17:42.759Z] ---> d76ccd994d54 [2023-10-26T16:17:42.759Z] Step 23/23 : LABEL version=3.1.0-dev.37 [2023-10-26T16:17:42.759Z] ---> Running in 057cf59a24b0 [2023-10-26T16:17:42.759Z] Removing intermediate container 057cf59a24b0 [2023-10-26T16:17:42.759Z] ---> 2625b44f7d4a [2023-10-26T16:17:42.759Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-26T16:17:43.020Z] Successfully built 2625b44f7d4a [2023-10-26T16:17:43.020Z] 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-10-26T16:17:43.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T16:17:43.438Z] [2023-10-26T16:17:43.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:17:43.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T16:17:43.733Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-26T16:17:43.733Z] 5eb5b503b376: Pulling fs layer [2023-10-26T16:17:43.733Z] 5c69ac0246d0: Pulling fs layer [2023-10-26T16:17:43.733Z] ec43610c2a17: Pulling fs layer [2023-10-26T16:17:43.733Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-26T16:17:43.733Z] 33b1e0a273af: Pulling fs layer [2023-10-26T16:17:43.733Z] 5d3b04190fa2: Pulling fs layer [2023-10-26T16:17:43.733Z] 2f39f015ded8: Pulling fs layer [2023-10-26T16:17:43.733Z] 33b1e0a273af: Waiting [2023-10-26T16:17:43.733Z] 2f39f015ded8: Waiting [2023-10-26T16:17:43.733Z] 5d3b04190fa2: Waiting [2023-10-26T16:17:43.733Z] 3a2ae6a8a46f: Waiting [2023-10-26T16:17:43.733Z] 5c69ac0246d0: Verifying Checksum [2023-10-26T16:17:43.733Z] 5c69ac0246d0: Download complete [2023-10-26T16:17:43.733Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-26T16:17:43.733Z] 3a2ae6a8a46f: Download complete [2023-10-26T16:17:43.733Z] 33b1e0a273af: Verifying Checksum [2023-10-26T16:17:43.733Z] 33b1e0a273af: Download complete [2023-10-26T16:17:43.733Z] 5d3b04190fa2: Verifying Checksum [2023-10-26T16:17:43.733Z] 5d3b04190fa2: Download complete [2023-10-26T16:17:43.733Z] ec43610c2a17: Verifying Checksum [2023-10-26T16:17:43.733Z] ec43610c2a17: Download complete [2023-10-26T16:17:43.991Z] 5eb5b503b376: Download complete [2023-10-26T16:17:44.558Z] 2f39f015ded8: Download complete [2023-10-26T16:17:45.560Z] 5eb5b503b376: Pull complete [2023-10-26T16:17:45.560Z] 5c69ac0246d0: Pull complete [2023-10-26T16:17:46.134Z] ec43610c2a17: Pull complete [2023-10-26T16:17:46.134Z] 3a2ae6a8a46f: Pull complete [2023-10-26T16:17:46.396Z] 33b1e0a273af: Pull complete [2023-10-26T16:17:46.653Z] 5d3b04190fa2: Pull complete [2023-10-26T16:17:51.918Z] 2f39f015ded8: Pull complete [2023-10-26T16:17:51.918Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-26T16:17:51.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T16:17:51.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:17:52.004Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:17:52.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-26T16:18:06.013Z] $ docker top a6eb563324c1ef9e95e06d41d3a4a0b05c5b1a37b68d2cb42572a594dea86183 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:18:06.390Z] ---> job-cost.sh [2023-10-26T16:18:06.390Z] lf-activate-venv: SKIPPING [2023-10-26T16:18:06.390Z] INFO: No Stack... [2023-10-26T16:18:06.648Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-26T16:18:06.905Z] INFO: Archiving Costs [Pipeline] sh [2023-10-26T16:18:07.189Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-10-26T16:18:07.190Z] + cut -d, -f6 [Pipeline] lock [2023-10-26T16:18:07.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [2023-10-26T16:18:07.207Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] did not exist. Created. [2023-10-26T16:18:07.207Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-26T16:18:07.503Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-26T16:18:07.539Z] Stashed 1 file(s) [Pipeline] } [2023-10-26T16:18:07.546Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-26T16:18:07.563Z] $ docker stop --time=1 a6eb563324c1ef9e95e06d41d3a4a0b05c5b1a37b68d2cb42572a594dea86183 [2023-10-26T16:18:08.707Z] $ docker rm -f --volumes a6eb563324c1ef9e95e06d41d3a4a0b05c5b1a37b68d2cb42572a594dea86183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-26T16:19:41.951Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11960 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-10-26T16:19:41.963Z] Running in /w/workspace/device-sdk-go/266 [Pipeline] { [Pipeline] checkout [2023-10-26T16:19:42.001Z] The recommended git tool is: git [2023-10-26T16:19:48.175Z] using credential edgex-jenkins-ssh [2023-10-26T16:19:48.198Z] Cloning the remote Git repository [2023-10-26T16:19:48.286Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-26T16:19:48.410Z] > git init /w/workspace/device-sdk-go/266 # timeout=10 [2023-10-26T16:19:48.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-26T16:19:48.626Z] > git --version # timeout=10 [2023-10-26T16:19:48.652Z] > git --version # 'git version 2.25.1' [2023-10-26T16:19:48.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-26T16:19:48.851Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-26T16:19:50.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-26T16:19:50.678Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-26T16:19:51.653Z] Avoid second fetch [2023-10-26T16:19:51.654Z] Checking out Revision abc21ca26102b759b02d11fb71eec9f0d2267cdf (main) [2023-10-26T16:19:51.676Z] > git config core.sparsecheckout # timeout=10 [2023-10-26T16:19:51.752Z] > git checkout -f abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 [2023-10-26T16:19:52.374Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1530)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T16:19:54.326Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-26T16:19:54.326Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T16:19:54.326Z] Dload Upload Total Spent Left Speed [2023-10-26T16:19:54.326Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-10-26T16:19:54.954Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-26T16:19:55.297Z] + sudo tee /etc/docker/daemon.new [2023-10-26T16:19:55.297Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-26T16:19:55.297Z] { [2023-10-26T16:19:55.297Z] "registry-mirrors": [ [2023-10-26T16:19:55.297Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-26T16:19:55.297Z] ], [2023-10-26T16:19:55.297Z] "bip": "10.250.0.254/24", [2023-10-26T16:19:55.297Z] "hosts": [ [2023-10-26T16:19:55.297Z] "tcp://0.0.0.0:5555", [2023-10-26T16:19:55.297Z] "unix:///var/run/docker.sock" [2023-10-26T16:19:55.297Z] ], [2023-10-26T16:19:55.297Z] "mtu": 1458, [2023-10-26T16:19:55.297Z] "selinux-enabled": true, [2023-10-26T16:19:55.297Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-26T16:19:55.297Z] } [Pipeline] sh [2023-10-26T16:19:55.640Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-26T16:19:55.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T16:20:14.281Z] provisioning config files... [2023-10-26T16:20:14.308Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/266@tmp/config4800435307195201649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:20:14.668Z] ---> docker-login.sh [2023-10-26T16:20:14.668Z] nexus3.edgexfoundry.org:10001 [2023-10-26T16:20:15.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:20:15.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:20:15.266Z] Configure a credential helper to remove this warning. See [2023-10-26T16:20:15.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:20:15.266Z] [2023-10-26T16:20:15.266Z] Login Succeeded [2023-10-26T16:20:15.266Z] nexus3.edgexfoundry.org:10002 [2023-10-26T16:20:15.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:20:15.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:20:15.814Z] Configure a credential helper to remove this warning. See [2023-10-26T16:20:15.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:20:15.814Z] [2023-10-26T16:20:15.814Z] Login Succeeded [2023-10-26T16:20:15.814Z] nexus3.edgexfoundry.org:10003 [2023-10-26T16:20:16.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:20:16.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:20:16.102Z] Configure a credential helper to remove this warning. See [2023-10-26T16:20:16.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:20:16.102Z] [2023-10-26T16:20:16.102Z] Login Succeeded [2023-10-26T16:20:16.102Z] nexus3.edgexfoundry.org:10004 [2023-10-26T16:20:16.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:20:16.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:20:16.648Z] Configure a credential helper to remove this warning. See [2023-10-26T16:20:16.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:20:16.648Z] [2023-10-26T16:20:16.648Z] Login Succeeded [2023-10-26T16:20:16.648Z] docker.io [2023-10-26T16:20:16.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T16:20:17.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T16:20:17.244Z] Configure a credential helper to remove this warning. See [2023-10-26T16:20:17.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T16:20:17.244Z] [2023-10-26T16:20:17.244Z] Login Succeeded [2023-10-26T16:20:17.244Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T16:20:17.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-26T16:20:17.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T16:20:17.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T16:20:17.591Z] ========================================================= [2023-10-26T16:20:17.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-26T16:20:17.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:20:17.952Z] + 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-10-26T16:20:18.222Z] Sending build context to Docker daemon 6.011MB [2023-10-26T16:20:18.495Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T16:20:18.495Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-26T16:20:18.495Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-26T16:20:18.495Z] 9fda8d8052c6: Pulling fs layer [2023-10-26T16:20:18.495Z] 5d54e960e981: Pulling fs layer [2023-10-26T16:20:18.495Z] c4a7e357bf2a: Pulling fs layer [2023-10-26T16:20:18.495Z] f0e02332f6b5: Pulling fs layer [2023-10-26T16:20:18.495Z] cefa15bbcfad: Pulling fs layer [2023-10-26T16:20:18.495Z] 17808c966233: Pulling fs layer [2023-10-26T16:20:18.495Z] f4c1fc716caa: Pulling fs layer [2023-10-26T16:20:18.495Z] f0e02332f6b5: Waiting [2023-10-26T16:20:18.495Z] cefa15bbcfad: Waiting [2023-10-26T16:20:18.495Z] 17808c966233: Waiting [2023-10-26T16:20:18.495Z] f4c1fc716caa: Waiting [2023-10-26T16:20:18.495Z] 5d54e960e981: Verifying Checksum [2023-10-26T16:20:18.495Z] 5d54e960e981: Download complete [2023-10-26T16:20:18.769Z] f0e02332f6b5: Download complete [2023-10-26T16:20:18.769Z] cefa15bbcfad: Verifying Checksum [2023-10-26T16:20:18.769Z] cefa15bbcfad: Download complete [2023-10-26T16:20:18.769Z] 9fda8d8052c6: Download complete [2023-10-26T16:20:19.041Z] f4c1fc716caa: Verifying Checksum [2023-10-26T16:20:19.041Z] f4c1fc716caa: Download complete [2023-10-26T16:20:19.643Z] 9fda8d8052c6: Pull complete [2023-10-26T16:20:20.249Z] 5d54e960e981: Pull complete [2023-10-26T16:20:20.521Z] c4a7e357bf2a: Verifying Checksum [2023-10-26T16:20:20.521Z] c4a7e357bf2a: Download complete [2023-10-26T16:20:21.504Z] 17808c966233: Verifying Checksum [2023-10-26T16:20:21.504Z] 17808c966233: Download complete [2023-10-26T16:20:33.858Z] c4a7e357bf2a: Pull complete [2023-10-26T16:20:33.858Z] f0e02332f6b5: Pull complete [2023-10-26T16:20:34.126Z] cefa15bbcfad: Pull complete [2023-10-26T16:20:42.390Z] 17808c966233: Pull complete [2023-10-26T16:20:44.357Z] f4c1fc716caa: Pull complete [2023-10-26T16:20:44.357Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-26T16:20:44.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-26T16:20:44.357Z] ---> ea914061e18c [2023-10-26T16:20:44.357Z] Step 3/10 : ARG MAKE=make build [2023-10-26T16:20:47.003Z] ---> Running in 312653c15d88 [2023-10-26T16:20:47.003Z] Removing intermediate container 312653c15d88 [2023-10-26T16:20:47.003Z] ---> 0db25d8f64be [2023-10-26T16:20:47.003Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-26T16:20:47.003Z] ---> Running in 12871a5cc789 [2023-10-26T16:20:47.603Z] Removing intermediate container 12871a5cc789 [2023-10-26T16:20:47.603Z] ---> 6742a74c1a32 [2023-10-26T16:20:47.603Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T16:20:47.603Z] ---> Running in 2037abe0ce29 [2023-10-26T16:20:47.969Z] Removing intermediate container 2037abe0ce29 [2023-10-26T16:20:47.969Z] ---> 8884d2b40aad [2023-10-26T16:20:47.969Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-26T16:20:47.969Z] ---> Running in 5f917b26da13 [2023-10-26T16:20:49.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T16:20:50.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T16:20:51.467Z] OK: 266 MiB in 52 packages [2023-10-26T16:20:52.908Z] Removing intermediate container 5f917b26da13 [2023-10-26T16:20:52.908Z] ---> 5bdd14e6756d [2023-10-26T16:20:52.908Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-26T16:20:53.503Z] ---> 396264f5e186 [2023-10-26T16:20:53.503Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T16:20:53.503Z] ---> Running in 9251ef96aeeb [2023-10-26T16:22:30.203Z] Removing intermediate container 9251ef96aeeb [2023-10-26T16:22:30.203Z] ---> d7f19296f8c7 [2023-10-26T16:22:30.203Z] Step 9/10 : COPY . . [2023-10-26T16:22:30.203Z] ---> 1510724d82d2 [2023-10-26T16:22:30.203Z] Step 10/10 : RUN ${MAKE} [2023-10-26T16:22:30.203Z] ---> Running in c4d8ab34e67d [2023-10-26T16:22:30.203Z] noop [2023-10-26T16:22:30.203Z] Removing intermediate container c4d8ab34e67d [2023-10-26T16:22:30.203Z] ---> fda9c1801ec1 [2023-10-26T16:22:30.203Z] Successfully built fda9c1801ec1 [2023-10-26T16:22:30.203Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:22:30.559Z] + docker inspect -f . ci-base-image-arm64 [2023-10-26T16:22:30.559Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:22:30.790Z] prd-ubuntu20.04-docker-arm64-4c-16g-11960 does not seem to be running inside a container [2023-10-26T16:22:30.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/266 -v /w/workspace/device-sdk-go/266:/w/workspace/device-sdk-go/266:rw,z -v /w/workspace/device-sdk-go/266@tmp:/w/workspace/device-sdk-go/266@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-10-26T16:22:32.299Z] $ docker top 8b1c089a37dbe2f5390fca87aa374f0bc300a2e73f24ac996b7b8e149114ad07 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T16:22:33.151Z] + go version [2023-10-26T16:22:33.151Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-26T16:22:33.172Z] $ docker stop --time=1 8b1c089a37dbe2f5390fca87aa374f0bc300a2e73f24ac996b7b8e149114ad07 [2023-10-26T16:22:34.872Z] $ docker rm -f --volumes 8b1c089a37dbe2f5390fca87aa374f0bc300a2e73f24ac996b7b8e149114ad07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:22:35.450Z] + docker inspect -f . ci-base-image-arm64 [2023-10-26T16:22:35.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:22:35.648Z] prd-ubuntu20.04-docker-arm64-4c-16g-11960 does not seem to be running inside a container [2023-10-26T16:22:35.719Z] $ 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/266 -v /w/workspace/device-sdk-go/266:/w/workspace/device-sdk-go/266:rw,z -v /w/workspace/device-sdk-go/266@tmp:/w/workspace/device-sdk-go/266@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-10-26T16:22:37.045Z] $ docker top 82bd86addd65830a95728aa2a85cde5f984ae6e51a1de5592d68eff1c201f4ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T16:22:37.909Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/266 [Pipeline] fileExists [Pipeline] sh [2023-10-26T16:22:38.562Z] + make test [2023-10-26T16:22:38.562Z] go test -race -coverprofile=coverage.out ./... [2023-10-26T16:23:17.459Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-26T16:25:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-26T16:25:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-26T16:25:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-26T16:25:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-26T16:25:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-26T16:25:45.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.314s coverage: 27.6% of statements [2023-10-26T16:25:55.974Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.273s coverage: 81.5% of statements [2023-10-26T16:26:06.090Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-26T16:26:06.090Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-26T16:26:06.681Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.435s coverage: 86.0% of statements [2023-10-26T16:26:13.373Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-26T16:26:13.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.425s coverage: 71.8% of statements [2023-10-26T16:26:17.013Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.265s coverage: 14.4% of statements [2023-10-26T16:26:17.013Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.870s coverage: 45.9% of statements [2023-10-26T16:26:18.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-26T16:26:18.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-26T16:26:19.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.466s coverage: 68.5% of statements [2023-10-26T16:26:22.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.562s coverage: 89.2% of statements [2023-10-26T16:26:24.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-26T16:26:25.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.251s coverage: 5.5% of statements [2023-10-26T16:26:26.468Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-26T16:26:26.468Z] GO111MODULE=on go vet ./... [2023-10-26T16:28:33.206Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-26T16:28:33.206Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-26T16:28:33.206Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-26T16:28:33.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-26T16:28:33.255Z] $ docker stop --time=1 82bd86addd65830a95728aa2a85cde5f984ae6e51a1de5592d68eff1c201f4ce [2023-10-26T16:28:35.304Z] $ docker rm -f --volumes 82bd86addd65830a95728aa2a85cde5f984ae6e51a1de5592d68eff1c201f4ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T16:28:37.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-26T16:28:37.116Z] Warning: overwriting stash ‘coverage-report’ [2023-10-26T16:28:37.948Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T16:28:38.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-26T16:28:38.690Z] + ls -al . [2023-10-26T16:28:38.690Z] total 300 [2023-10-26T16:28:38.690Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:22 . [2023-10-26T16:28:38.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:19 .. [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 16:19 .dockerignore [2023-10-26T16:28:38.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:19 .git [2023-10-26T16:28:38.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:19 .github [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 26 16:19 .gitignore [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 16:19 .golangci.yml [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 26 16:19 CHANGELOG.md [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:19 GOVERNANCE.md [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 26 16:19 Jenkinsfile [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 16:19 LICENSE [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 26 16:19 Makefile [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 16:19 OWNERS.md [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 26 16:19 README.md [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 16:14 VERSION [2023-10-26T16:28:38.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:19 bin [2023-10-26T16:28:38.690Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 26 16:26 coverage.out [2023-10-26T16:28:38.690Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 16:19 example [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 26 16:19 go.mod [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 26 16:19 go.sum [2023-10-26T16:28:38.690Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:19 internal [2023-10-26T16:28:38.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:19 openapi [2023-10-26T16:28:38.690Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 16:19 pkg [2023-10-26T16:28:38.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:19 snap [2023-10-26T16:28:38.690Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 16:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:28:39.041Z] + 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=abc21ca26102b759b02d11fb71eec9f0d2267cdf --label arch=arm64 --label version=3.1.0-dev.37 . [2023-10-26T16:28:39.629Z] Sending build context to Docker daemon 6.134MB [2023-10-26T16:28:39.629Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T16:28:39.629Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-26T16:28:39.629Z] ---> fda9c1801ec1 [2023-10-26T16:28:39.629Z] Step 3/23 : ARG MAKE=make build [2023-10-26T16:28:39.902Z] ---> Running in 542808d167ca [2023-10-26T16:28:40.188Z] Removing intermediate container 542808d167ca [2023-10-26T16:28:40.188Z] ---> 3084c4fdf934 [2023-10-26T16:28:40.188Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-26T16:28:40.188Z] ---> Running in 2ed63974f6fd [2023-10-26T16:28:40.776Z] Removing intermediate container 2ed63974f6fd [2023-10-26T16:28:40.776Z] ---> 1b6c99356e4e [2023-10-26T16:28:40.776Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T16:28:40.776Z] ---> Running in cb54057fd685 [2023-10-26T16:28:41.049Z] Removing intermediate container cb54057fd685 [2023-10-26T16:28:41.049Z] ---> b4b35de31649 [2023-10-26T16:28:41.049Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-26T16:28:41.049Z] ---> Running in c6700ff3d375 [2023-10-26T16:28:42.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T16:28:43.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T16:28:44.032Z] OK: 266 MiB in 52 packages [2023-10-26T16:28:44.997Z] Removing intermediate container c6700ff3d375 [2023-10-26T16:28:44.997Z] ---> 315b7c95a132 [2023-10-26T16:28:44.997Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-26T16:28:45.588Z] ---> ab380c27fea4 [2023-10-26T16:28:45.588Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T16:28:45.588Z] ---> Running in eea072925d4f [2023-10-26T16:28:48.187Z] Removing intermediate container eea072925d4f [2023-10-26T16:28:48.187Z] ---> 87ed242228ab [2023-10-26T16:28:48.187Z] Step 9/23 : COPY . . [2023-10-26T16:28:49.602Z] ---> db2ff926362e [2023-10-26T16:28:49.602Z] Step 10/23 : RUN ${MAKE} [2023-10-26T16:28:49.602Z] ---> Running in 5f39ccc2959b [2023-10-26T16:28:50.564Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.37 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.37" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-26T16:30:57.543Z] Removing intermediate container 5f39ccc2959b [2023-10-26T16:30:57.543Z] ---> 54fa46e3d949 [2023-10-26T16:30:57.543Z] Step 11/23 : FROM alpine:3.18 [2023-10-26T16:30:57.543Z] 3.18: Pulling from library/alpine [2023-10-26T16:30:57.543Z] 579b34f0a95b: Pulling fs layer [2023-10-26T16:30:57.543Z] 579b34f0a95b: Download complete [2023-10-26T16:30:57.543Z] 579b34f0a95b: Pull complete [2023-10-26T16:30:57.543Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-26T16:30:57.543Z] Status: Downloaded newer image for alpine:3.18 [2023-10-26T16:30:57.543Z] ---> 3cc203321400 [2023-10-26T16:30:57.543Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-26T16:30:57.543Z] ---> Running in c7bbfdc4b045 [2023-10-26T16:30:57.543Z] Removing intermediate container c7bbfdc4b045 [2023-10-26T16:30:57.543Z] ---> 439278b84dba [2023-10-26T16:30:57.543Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-26T16:30:57.543Z] ---> Running in d1f10f1f1baf [2023-10-26T16:30:57.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T16:30:57.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T16:30:57.543Z] OK: 8 MiB in 15 packages [2023-10-26T16:30:57.543Z] Removing intermediate container d1f10f1f1baf [2023-10-26T16:30:57.543Z] ---> 05e14598f507 [2023-10-26T16:30:57.543Z] Step 14/23 : WORKDIR / [2023-10-26T16:30:57.543Z] ---> Running in 5b05c4cf78f3 [2023-10-26T16:30:57.543Z] Removing intermediate container 5b05c4cf78f3 [2023-10-26T16:30:57.543Z] ---> 192879cbed02 [2023-10-26T16:30:57.543Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-26T16:30:57.543Z] ---> 6eb470349278 [2023-10-26T16:30:57.543Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-26T16:30:57.543Z] ---> b8f98967cd65 [2023-10-26T16:30:57.543Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-26T16:30:57.543Z] ---> 429da468648f [2023-10-26T16:30:57.543Z] Step 18/23 : EXPOSE 59999 [2023-10-26T16:30:57.543Z] ---> Running in ecbf536e88ec [2023-10-26T16:30:57.543Z] Removing intermediate container ecbf536e88ec [2023-10-26T16:30:57.543Z] ---> e0fedcc1caac [2023-10-26T16:30:57.543Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-26T16:30:57.543Z] ---> Running in 39c9a5acad1c [2023-10-26T16:30:57.814Z] Removing intermediate container 39c9a5acad1c [2023-10-26T16:30:57.814Z] ---> 61c0cfff3145 [2023-10-26T16:30:57.814Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-26T16:30:57.814Z] ---> Running in bf4aeabe32d7 [2023-10-26T16:30:58.084Z] Removing intermediate container bf4aeabe32d7 [2023-10-26T16:30:58.084Z] ---> 19cce556102b [2023-10-26T16:30:58.084Z] Step 21/23 : LABEL arch=arm64 [2023-10-26T16:30:58.084Z] ---> Running in a1bb369103d7 [2023-10-26T16:30:58.671Z] Removing intermediate container a1bb369103d7 [2023-10-26T16:30:58.671Z] ---> cd4f225b126c [2023-10-26T16:30:58.671Z] Step 22/23 : LABEL git_sha=abc21ca26102b759b02d11fb71eec9f0d2267cdf [2023-10-26T16:30:58.671Z] ---> Running in 6b674cad4558 [2023-10-26T16:30:58.943Z] Removing intermediate container 6b674cad4558 [2023-10-26T16:30:58.943Z] ---> b5fd27ca27dc [2023-10-26T16:30:58.943Z] Step 23/23 : LABEL version=3.1.0-dev.37 [2023-10-26T16:30:58.943Z] ---> Running in 8286f624c3f4 [2023-10-26T16:30:59.531Z] Removing intermediate container 8286f624c3f4 [2023-10-26T16:30:59.531Z] ---> 69c2a2cd42a2 [2023-10-26T16:30:59.531Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-26T16:30:59.531Z] Successfully built 69c2a2cd42a2 [2023-10-26T16:30:59.531Z] 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-10-26T16:30:59.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T16:30:59.969Z] [2023-10-26T16:30:59.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:31:00.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T16:31:00.582Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-26T16:31:00.582Z] 8998bd30e6a1: Pulling fs layer [2023-10-26T16:31:00.582Z] 04944245beec: Pulling fs layer [2023-10-26T16:31:00.582Z] 699f458cf7ca: Pulling fs layer [2023-10-26T16:31:00.582Z] 765212b225bb: Pulling fs layer [2023-10-26T16:31:00.582Z] f23df028b6ca: Pulling fs layer [2023-10-26T16:31:00.582Z] d65c8cfc05b1: Pulling fs layer [2023-10-26T16:31:00.582Z] 2437ff75d9bd: Pulling fs layer [2023-10-26T16:31:00.582Z] f23df028b6ca: Waiting [2023-10-26T16:31:00.582Z] d65c8cfc05b1: Waiting [2023-10-26T16:31:00.582Z] 2437ff75d9bd: Waiting [2023-10-26T16:31:00.582Z] 765212b225bb: Waiting [2023-10-26T16:31:00.582Z] 04944245beec: Verifying Checksum [2023-10-26T16:31:00.582Z] 04944245beec: Download complete [2023-10-26T16:31:00.582Z] 765212b225bb: Verifying Checksum [2023-10-26T16:31:00.582Z] 765212b225bb: Download complete [2023-10-26T16:31:00.582Z] f23df028b6ca: Verifying Checksum [2023-10-26T16:31:00.582Z] f23df028b6ca: Download complete [2023-10-26T16:31:00.856Z] d65c8cfc05b1: Verifying Checksum [2023-10-26T16:31:00.856Z] d65c8cfc05b1: Download complete [2023-10-26T16:31:00.856Z] 699f458cf7ca: Verifying Checksum [2023-10-26T16:31:00.856Z] 699f458cf7ca: Download complete [2023-10-26T16:31:01.447Z] 8998bd30e6a1: Verifying Checksum [2023-10-26T16:31:01.447Z] 8998bd30e6a1: Download complete [2023-10-26T16:31:04.040Z] 2437ff75d9bd: Verifying Checksum [2023-10-26T16:31:04.040Z] 2437ff75d9bd: Download complete [2023-10-26T16:31:08.298Z] 8998bd30e6a1: Pull complete [2023-10-26T16:31:08.884Z] 04944245beec: Pull complete [2023-10-26T16:31:10.294Z] 699f458cf7ca: Pull complete [2023-10-26T16:31:10.565Z] 765212b225bb: Pull complete [2023-10-26T16:31:11.535Z] f23df028b6ca: Pull complete [2023-10-26T16:31:11.535Z] d65c8cfc05b1: Pull complete [2023-10-26T16:31:29.744Z] 2437ff75d9bd: Pull complete [2023-10-26T16:31:29.744Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-26T16:31:29.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T16:31:29.744Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:31:29.939Z] prd-ubuntu20.04-docker-arm64-4c-16g-11960 does not seem to be running inside a container [2023-10-26T16:31:30.006Z] $ 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/266 -v /w/workspace/device-sdk-go/266:/w/workspace/device-sdk-go/266:rw,z -v /w/workspace/device-sdk-go/266@tmp:/w/workspace/device-sdk-go/266@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-10-26T16:31:36.168Z] $ docker top 2342705b2ff5c02095bf9f08d422a544348a3afde5c61eb3ce8bdfe16ad8669c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:31:37.019Z] ---> job-cost.sh [2023-10-26T16:31:37.019Z] lf-activate-venv: SKIPPING [2023-10-26T16:31:37.019Z] INFO: No Stack... [2023-10-26T16:31:37.285Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-26T16:31:38.240Z] INFO: Archiving Costs [Pipeline] sh [2023-10-26T16:31:38.871Z] + cat /w/workspace/device-sdk-go/266/archives/cost.csv [2023-10-26T16:31:38.871Z] + cut -d, -f6 [Pipeline] lock [2023-10-26T16:31:38.929Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [2023-10-26T16:31:38.934Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] did not exist. Created. [2023-10-26T16:31:38.934Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-26T16:31:39.585Z] /w/workspace/device-sdk-go/266@tmp/durable-b848198d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-26T16:31:40.235Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-26T16:31:40.254Z] Warning: overwriting stash ‘stack-cost’ [2023-10-26T16:31:40.360Z] Stashed 1 file(s) [Pipeline] } [2023-10-26T16:31:40.367Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-26T16:31:40.386Z] $ docker stop --time=1 2342705b2ff5c02095bf9f08d422a544348a3afde5c61eb3ce8bdfe16ad8669c [2023-10-26T16:31:41.923Z] $ docker rm -f --volumes 2342705b2ff5c02095bf9f08d422a544348a3afde5c61eb3ce8bdfe16ad8669c [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-10-26T16:31:42.337Z] provisioning config files... [2023-10-26T16:31:42.344Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3358819666717944222tmp [Pipeline] { [Pipeline] sh [2023-10-26T16:31:42.637Z] + set +x [2023-10-26T16:31:42.637Z] + curl -s https://codecov.io/bash [2023-10-26T16:31:42.637Z] + bash -s -- [2023-10-26T16:31:42.637Z] [2023-10-26T16:31:42.637Z] _____ _ [2023-10-26T16:31:42.637Z] / ____| | | [2023-10-26T16:31:42.637Z] | | ___ __| | ___ ___ _____ __ [2023-10-26T16:31:42.637Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-26T16:31:42.637Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-26T16:31:42.637Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-26T16:31:42.637Z] Bash-1.0.6 [2023-10-26T16:31:42.637Z] [2023-10-26T16:31:42.637Z] [2023-10-26T16:31:42.637Z] ==> git version 2.25.1 found [2023-10-26T16:31:42.637Z] ==> 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-10-26T16:31:42.637Z] Release-Date: 2020-01-08 [2023-10-26T16:31:42.637Z] 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-10-26T16:31:42.637Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-26T16:31:42.637Z] ==> Jenkins CI detected. [2023-10-26T16:31:42.637Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-10-26T16:31:42.637Z] project root: . [2023-10-26T16:31:42.637Z] --> token set from env [2023-10-26T16:31:42.637Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-26T16:31:42.895Z] ==> Running gcov in . (disable via -X gcov) [2023-10-26T16:31:42.895Z] ==> Python coveragepy not found [2023-10-26T16:31:42.895Z] ==> Searching for coverage reports in: [2023-10-26T16:31:42.895Z] + . [2023-10-26T16:31:42.895Z] -> Found 1 reports [2023-10-26T16:31:42.895Z] ==> Detecting git/mercurial file structure [2023-10-26T16:31:42.895Z] ==> Reading reports [2023-10-26T16:31:42.895Z] + ./coverage.out bytes=122155 [2023-10-26T16:31:42.895Z] ==> Appending adjustments [2023-10-26T16:31:42.895Z] https://docs.codecov.io/docs/fixing-reports [2023-10-26T16:31:43.154Z] + Found adjustments [2023-10-26T16:31:43.154Z] ==> Gzipping contents [2023-10-26T16:31:43.154Z] 20K /tmp/codecov.NAfHaI.gz [2023-10-26T16:31:43.154Z] ==> Uploading reports [2023-10-26T16:31:43.154Z] url: https://codecov.io [2023-10-26T16:31:43.154Z] query: branch=main&commit=abc21ca26102b759b02d11fb71eec9f0d2267cdf&build=266&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F266%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-26T16:31:43.154Z] -> Pinging Codecov [2023-10-26T16:31:43.154Z] 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=abc21ca26102b759b02d11fb71eec9f0d2267cdf&build=266&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F266%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-26T16:31:43.412Z] -> Uploading to [2023-10-26T16:31:43.412Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-26/7E55EF52A471D76F132DFD9A03CDDE97/abc21ca26102b759b02d11fb71eec9f0d2267cdf/56daffac-2896-4453-99ed-36067089f1ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T163143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d05c40dbbd7d333e4e7d69e3f1c84fdf19e0988e243d477d9be95fe43ef5970 [2023-10-26T16:31:43.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T16:31:43.412Z] Dload Upload Total Spent Left Speed [2023-10-26T16:31:43.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 50902 --:--:-- --:--:-- --:--:-- 50748 100 16747 0 0 100 16747 0 50902 --:--:-- --:--:-- --:--:-- 50748 [2023-10-26T16:31:43.671Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] } [2023-10-26T16:31:43.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-26T16:31:43.784Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-26T16:31:43.796Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:31:44.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-26T16:31:44.092Z] [2023-10-26T16:31:44.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:31:44.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-26T16:31:44.389Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-26T16:31:44.389Z] df9b9388f04a: Pulling fs layer [2023-10-26T16:31:44.389Z] 52dc419b0ee2: Pulling fs layer [2023-10-26T16:31:44.389Z] 25bc292e5bac: Pulling fs layer [2023-10-26T16:31:44.389Z] 114826534d7a: Pulling fs layer [2023-10-26T16:31:44.389Z] 4657fd5d0bcf: Pulling fs layer [2023-10-26T16:31:44.389Z] 6ad1cebc031e: Pulling fs layer [2023-10-26T16:31:44.389Z] 8a3aa393b2d8: Pulling fs layer [2023-10-26T16:31:44.389Z] 114826534d7a: Waiting [2023-10-26T16:31:44.389Z] 4657fd5d0bcf: Waiting [2023-10-26T16:31:44.389Z] 6ad1cebc031e: Waiting [2023-10-26T16:31:44.389Z] 8a3aa393b2d8: Waiting [2023-10-26T16:31:44.389Z] 25bc292e5bac: Verifying Checksum [2023-10-26T16:31:44.389Z] 25bc292e5bac: Download complete [2023-10-26T16:31:44.389Z] 52dc419b0ee2: Verifying Checksum [2023-10-26T16:31:44.389Z] 52dc419b0ee2: Download complete [2023-10-26T16:31:44.389Z] 4657fd5d0bcf: Download complete [2023-10-26T16:31:44.389Z] df9b9388f04a: Download complete [2023-10-26T16:31:44.655Z] 6ad1cebc031e: Verifying Checksum [2023-10-26T16:31:44.655Z] 6ad1cebc031e: Download complete [2023-10-26T16:31:44.655Z] df9b9388f04a: Pull complete [2023-10-26T16:31:44.655Z] 52dc419b0ee2: Pull complete [2023-10-26T16:31:44.655Z] 25bc292e5bac: Pull complete [2023-10-26T16:31:45.222Z] 114826534d7a: Verifying Checksum [2023-10-26T16:31:45.222Z] 114826534d7a: Download complete [2023-10-26T16:31:45.222Z] 8a3aa393b2d8: Verifying Checksum [2023-10-26T16:31:45.222Z] 8a3aa393b2d8: Download complete [2023-10-26T16:31:49.408Z] 114826534d7a: Pull complete [2023-10-26T16:31:49.408Z] 4657fd5d0bcf: Pull complete [2023-10-26T16:31:49.408Z] 6ad1cebc031e: Pull complete [2023-10-26T16:31:51.932Z] 8a3aa393b2d8: Pull complete [2023-10-26T16:31:51.932Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-26T16:31:51.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-26T16:31:51.932Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:31:52.006Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:31:52.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-26T16:32:02.251Z] $ docker top 146eaa916cedd244bc5db7a644a23abd1bbfb4b2e9bd6ddb336615b189c29bf5 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-26T16:32:02.322Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-10-26T16:32:02.599Z] + set -o pipefail [2023-10-26T16:32:02.599Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-10-26T16:32:09.209Z] [2023-10-26T16:32:09.209Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-10-26T16:32:09.209Z] [2023-10-26T16:32:09.209Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/8b72a797-53ea-4f6b-8bea-89f419415bd7 [2023-10-26T16:32:09.209Z] [2023-10-26T16:32:09.209Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-26T16:32:09.209Z] [2023-10-26T16:32:09.209Z] [2023-10-26T16:32:09.209Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-26T16:32:09.209Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-26T16:32:09.209Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-26T16:32:09.207Z] $ docker stop --time=1 146eaa916cedd244bc5db7a644a23abd1bbfb4b2e9bd6ddb336615b189c29bf5 [2023-10-26T16:32:15.991Z] $ docker rm -f --volumes 146eaa916cedd244bc5db7a644a23abd1bbfb4b2e9bd6ddb336615b189c29bf5 [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-10-26T16:32:16.392Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T16:32:16.404Z] provisioning config files... [2023-10-26T16:32:16.411Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10276308842384578156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:32:16.701Z] --> edgex-publish-swagger.sh [2023-10-26T16:32:16.701Z] === Publish openapi/v3 API === [2023-10-26T16:32:16.701Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-10-26T16:32:16.701Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-10-26T16:32:16.701Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T16:32:16.701Z] Dload Upload Total Spent Left Speed [2023-10-26T16:32:17.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 42124 --:--:-- --:--:-- --:--:-- 42049 [2023-10-26T16:32:17.268Z] [2023-10-26T16:32:17.268Z] [Pipeline] } [2023-10-26T16:32:17.275Z] 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-10-26T16:32:17.675Z] + git log --format=format:%s -1 abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] sh [2023-10-26T16:32:17.959Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T16:32:17.959Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:32:18.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T16:32:18.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:32:18.325Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:32:18.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T16:32:18.898Z] $ docker top 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f -eo pid,comm [2023-10-26T16:32:18.959Z] 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-10-26T16:32:18.959Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T16:32:18.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T16:32:18.999Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T16:32:19.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T16:32:19.112Z] $ docker exec 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f ssh-agent [2023-10-26T16:32:19.239Z] SSH_AUTH_SOCK=/tmp/ssh-jAoNIf3Dfaxr/agent.31 [2023-10-26T16:32:19.239Z] SSH_AGENT_PID=37 [2023-10-26T16:32:19.244Z] Running ssh-add (command line suppressed) [2023-10-26T16:32:19.347Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13709570059717826918.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13709570059717826918.key) [2023-10-26T16:32:19.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T16:32:19.655Z] + git semver tag [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,864 [run_tag] DEBUG tag force:False [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,864 [check_head_tag] DEBUG check head tag [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,865 [execute] INFO git cat-file --batch-check [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,870 [execute] INFO git cat-file --batch [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,893 [execute] INFO git tag -a v3.1.0-dev.37 -m v3.1.0-dev.37 [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,893 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.37', '-m', 'v3.1.0-dev.37'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-26T16:32:19.912Z] 2023-10-26 16:32:19,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:19.912Z] 3.1.0-dev.37 [Pipeline] } [2023-10-26T16:32:20.168Z] $ docker exec --env ******** --env ******** 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f ssh-agent -k [2023-10-26T16:32:20.263Z] unset SSH_AUTH_SOCK; [2023-10-26T16:32:20.264Z] unset SSH_AGENT_PID; [2023-10-26T16:32:20.264Z] echo Agent pid 37 killed; [2023-10-26T16:32:20.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T16:32:20.588Z] + git semver [Pipeline] } [2023-10-26T16:32:20.845Z] $ docker stop --time=1 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f [2023-10-26T16:32:22.186Z] $ docker rm -f --volumes 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:32:22.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-26T16:32:22.578Z] [2023-10-26T16:32:22.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:32:22.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-26T16:32:22.877Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-26T16:32:22.877Z] ab5ef0e58194: Pulling fs layer [2023-10-26T16:32:22.877Z] 9712f1f96733: Pulling fs layer [2023-10-26T16:32:22.877Z] 63f879dbbcfc: Pulling fs layer [2023-10-26T16:32:22.877Z] 0d9ebad4ef96: Pulling fs layer [2023-10-26T16:32:22.877Z] e9a5061849ea: Pulling fs layer [2023-10-26T16:32:22.877Z] d747dcd14b5f: Pulling fs layer [2023-10-26T16:32:22.877Z] e9a5061849ea: Waiting [2023-10-26T16:32:22.877Z] 0d9ebad4ef96: Waiting [2023-10-26T16:32:22.877Z] 2de7ff778b66: Pulling fs layer [2023-10-26T16:32:22.877Z] 2de7ff778b66: Waiting [2023-10-26T16:32:22.877Z] d747dcd14b5f: Waiting [2023-10-26T16:32:22.877Z] 9712f1f96733: Download complete [2023-10-26T16:32:23.137Z] 63f879dbbcfc: Verifying Checksum [2023-10-26T16:32:23.137Z] 63f879dbbcfc: Download complete [2023-10-26T16:32:23.394Z] e9a5061849ea: Verifying Checksum [2023-10-26T16:32:23.394Z] e9a5061849ea: Download complete [2023-10-26T16:32:23.394Z] d747dcd14b5f: Verifying Checksum [2023-10-26T16:32:23.394Z] d747dcd14b5f: Download complete [2023-10-26T16:32:23.394Z] ab5ef0e58194: Verifying Checksum [2023-10-26T16:32:23.394Z] ab5ef0e58194: Download complete [2023-10-26T16:32:23.394Z] 0d9ebad4ef96: Verifying Checksum [2023-10-26T16:32:23.394Z] 0d9ebad4ef96: Download complete [2023-10-26T16:32:23.394Z] 2de7ff778b66: Verifying Checksum [2023-10-26T16:32:23.394Z] 2de7ff778b66: Download complete [2023-10-26T16:32:25.921Z] ab5ef0e58194: Pull complete [2023-10-26T16:32:25.921Z] 9712f1f96733: Pull complete [2023-10-26T16:32:26.852Z] 63f879dbbcfc: Pull complete [2023-10-26T16:32:31.030Z] 0d9ebad4ef96: Pull complete [2023-10-26T16:32:31.030Z] e9a5061849ea: Pull complete [2023-10-26T16:32:31.030Z] d747dcd14b5f: Pull complete [2023-10-26T16:32:32.398Z] 2de7ff778b66: Pull complete [2023-10-26T16:32:32.398Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-26T16:32:32.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-26T16:32:32.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:32:32.470Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:32:32.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-26T16:32:45.232Z] $ docker top ad0dda9315643a19c20cd8a143ab6ed5f04ab0a5eba9ff035de5a9caa52d3b46 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-26T16:32:45.311Z] provisioning config files... [2023-10-26T16:32:45.317Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15335029153207894143tmp [2023-10-26T16:32:45.328Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7493664312365452477tmp [2023-10-26T16:32:45.337Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11181426470589757005tmp [Pipeline] { [Pipeline] echo [2023-10-26T16:32:45.348Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:32:45.626Z] ---> sigul-configuration.sh [2023-10-26T16:32:45.626Z] gpg: directory `/root/.gnupg' created [2023-10-26T16:32:45.626Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-26T16:32:45.626Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-26T16:32:45.626Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-26T16:32:45.626Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-26T16:32:45.626Z] gpg: CAST5 encrypted data [2023-10-26T16:32:45.626Z] gpg: encrypted with 1 passphrase [2023-10-26T16:32:45.626Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-26T16:32:45.909Z] + mkdir /home/jenkins [2023-10-26T16:32:45.909Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-26T16:32:46.244Z] + 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-10-26T16:32:46.252Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:32:46.533Z] ---> sigul-install.sh [2023-10-26T16:32:46.533Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-26T16:32:46.881Z] + git tag --list [2023-10-26T16:32:46.881Z] 0.7.1 [2023-10-26T16:32:46.881Z] delhi-tag [2023-10-26T16:32:46.881Z] v1.0.0 [2023-10-26T16:32:46.881Z] v1.1.0 [2023-10-26T16:32:46.881Z] v1.1.1 [2023-10-26T16:32:46.881Z] v1.1.2 [2023-10-26T16:32:46.881Z] v1.2.0 [2023-10-26T16:32:46.881Z] v1.2.1 [2023-10-26T16:32:46.881Z] v1.2.2 [2023-10-26T16:32:46.881Z] v1.2.3 [2023-10-26T16:32:46.881Z] v1.3.0 [2023-10-26T16:32:46.881Z] v1.4.0 [2023-10-26T16:32:46.881Z] v2.0.0 [2023-10-26T16:32:46.881Z] v2.1.0 [2023-10-26T16:32:46.881Z] v2.1.1 [2023-10-26T16:32:46.881Z] v2.2.0 [2023-10-26T16:32:46.881Z] v2.3.0 [2023-10-26T16:32:46.881Z] v2.3.1 [2023-10-26T16:32:46.881Z] v3.0 [2023-10-26T16:32:46.881Z] v3.0.0 [2023-10-26T16:32:46.881Z] v3.0.1-dev.1 [2023-10-26T16:32:46.881Z] v3.1.0-dev.1 [2023-10-26T16:32:46.881Z] v3.1.0-dev.10 [2023-10-26T16:32:46.881Z] v3.1.0-dev.11 [2023-10-26T16:32:46.881Z] v3.1.0-dev.12 [2023-10-26T16:32:46.881Z] v3.1.0-dev.13 [2023-10-26T16:32:46.881Z] v3.1.0-dev.14 [2023-10-26T16:32:46.881Z] v3.1.0-dev.15 [2023-10-26T16:32:46.881Z] v3.1.0-dev.16 [2023-10-26T16:32:46.881Z] v3.1.0-dev.17 [2023-10-26T16:32:46.881Z] v3.1.0-dev.18 [2023-10-26T16:32:46.881Z] v3.1.0-dev.19 [2023-10-26T16:32:46.881Z] v3.1.0-dev.2 [2023-10-26T16:32:46.881Z] v3.1.0-dev.20 [2023-10-26T16:32:46.881Z] v3.1.0-dev.21 [2023-10-26T16:32:46.881Z] v3.1.0-dev.22 [2023-10-26T16:32:46.881Z] v3.1.0-dev.23 [2023-10-26T16:32:46.881Z] v3.1.0-dev.24 [2023-10-26T16:32:46.881Z] v3.1.0-dev.25 [2023-10-26T16:32:46.881Z] v3.1.0-dev.26 [2023-10-26T16:32:46.881Z] v3.1.0-dev.27 [2023-10-26T16:32:46.881Z] v3.1.0-dev.28 [2023-10-26T16:32:46.881Z] v3.1.0-dev.29 [2023-10-26T16:32:46.881Z] v3.1.0-dev.3 [2023-10-26T16:32:46.881Z] v3.1.0-dev.30 [2023-10-26T16:32:46.881Z] v3.1.0-dev.31 [2023-10-26T16:32:46.881Z] v3.1.0-dev.32 [2023-10-26T16:32:46.881Z] v3.1.0-dev.33 [2023-10-26T16:32:46.881Z] v3.1.0-dev.34 [2023-10-26T16:32:46.881Z] v3.1.0-dev.35 [2023-10-26T16:32:46.881Z] v3.1.0-dev.36 [2023-10-26T16:32:46.881Z] v3.1.0-dev.37 [2023-10-26T16:32:46.881Z] v3.1.0-dev.4 [2023-10-26T16:32:46.881Z] v3.1.0-dev.5 [2023-10-26T16:32:46.881Z] v3.1.0-dev.6 [2023-10-26T16:32:46.881Z] v3.1.0-dev.7 [2023-10-26T16:32:46.881Z] v3.1.0-dev.8 [2023-10-26T16:32:46.881Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-26T16:32:47.163Z] + lftools sign git-tag v3.1.0-dev.37 [2023-10-26T16:32:47.729Z] Signing Git tag with Sigul... [2023-10-26T16:32:47.729Z] Signing v3.1.0-dev.37 [Pipeline] echo [2023-10-26T16:32:47.995Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:32:48.278Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-26T16:32:48.283Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-26T16:32:48.292Z] $ docker stop --time=1 ad0dda9315643a19c20cd8a143ab6ed5f04ab0a5eba9ff035de5a9caa52d3b46 [2023-10-26T16:32:49.559Z] $ docker rm -f --volumes ad0dda9315643a19c20cd8a143ab6ed5f04ab0a5eba9ff035de5a9caa52d3b46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-26T16:32:49.963Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T16:32:49.963Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:32:50.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T16:32:50.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:32:50.334Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:32:50.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T16:32:50.714Z] $ docker top 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T16:32:50.804Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T16:32:50.804Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T16:32:50.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T16:32:50.905Z] $ docker exec 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 ssh-agent [2023-10-26T16:32:51.025Z] SSH_AUTH_SOCK=/tmp/ssh-aj3jGjAszrKq/agent.32 [2023-10-26T16:32:51.025Z] SSH_AGENT_PID=38 [2023-10-26T16:32:51.029Z] Running ssh-add (command line suppressed) [2023-10-26T16:32:51.126Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17106006943545493867.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17106006943545493867.key) [2023-10-26T16:32:51.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T16:32:51.434Z] + git semver bump pre [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,576 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,576 [bump_version] DEBUG bumping version:3.1.0-dev.37 on axis:pre with prefix:dev [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,576 [bump_version] DEBUG bumped version:3.1.0-dev.38 [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,576 [write_version] DEBUG write version:3.1.0-dev.38 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,577 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,578 [execute] INFO git cat-file --batch-check [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,583 [execute] INFO git cat-file --batch [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T16:32:51.692Z] 2023-10-26 16:32:51,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:51.692Z] 3.1.0-dev.38 [Pipeline] } [2023-10-26T16:32:51.693Z] $ docker exec --env ******** --env ******** 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 ssh-agent -k [2023-10-26T16:32:51.795Z] unset SSH_AUTH_SOCK; [2023-10-26T16:32:51.795Z] unset SSH_AGENT_PID; [2023-10-26T16:32:51.795Z] echo Agent pid 38 killed; [2023-10-26T16:32:51.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T16:32:52.127Z] + git semver [Pipeline] } [2023-10-26T16:32:52.388Z] $ docker stop --time=1 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 [2023-10-26T16:32:53.695Z] $ docker rm -f --volumes 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T16:32:54.050Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T16:32:54.050Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:32:54.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T16:32:54.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:32:54.416Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:32:54.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T16:32:54.764Z] $ docker top 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c -eo pid,comm [2023-10-26T16:32:54.824Z] 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-10-26T16:32:54.824Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T16:32:54.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T16:32:54.864Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T16:32:54.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T16:32:54.975Z] $ docker exec 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c ssh-agent [2023-10-26T16:32:55.091Z] SSH_AUTH_SOCK=/tmp/ssh-hqOB2iy878JZ/agent.32 [2023-10-26T16:32:55.091Z] SSH_AGENT_PID=38 [2023-10-26T16:32:55.095Z] Running ssh-add (command line suppressed) [2023-10-26T16:32:55.187Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13164876538524778845.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13164876538524778845.key) [2023-10-26T16:32:55.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T16:32:55.492Z] + git semver push [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,663 [run_push] DEBUG push [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,664 [execute] INFO git cat-file --batch-check [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,667 [execute] INFO git rev-list 31f048e99a412f84b68561509f2eda028ca10580 -- [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,667 [execute] DEBUG Popen(['git', 'rev-list', '31f048e99a412f84b68561509f2eda028ca10580', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,678 [execute] INFO git fetch -v origin [2023-10-26T16:32:55.750Z] 2023-10-26 16:32:55,679 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-26T16:32:56.316Z] 2023-10-26 16:32:56,286 [run_push] DEBUG no remote changes detected [2023-10-26T16:32:56.316Z] 2023-10-26 16:32:56,286 [execute] INFO git push origin semver [2023-10-26T16:32:56.316Z] 2023-10-26 16:32:56,286 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-26T16:32:57.253Z] 2023-10-26 16:32:57,226 [run_push] DEBUG push all version tags [2023-10-26T16:32:57.253Z] 2023-10-26 16:32:57,226 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-26T16:32:57.253Z] 2023-10-26 16:32:57,227 [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-10-26T16:32:58.197Z] 2023-10-26 16:32:58,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-26T16:32:58.197Z] 3.1.0-dev.38 [Pipeline] } [2023-10-26T16:32:58.198Z] $ docker exec --env ******** --env ******** 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c ssh-agent -k [2023-10-26T16:32:58.292Z] unset SSH_AUTH_SOCK; [2023-10-26T16:32:58.292Z] unset SSH_AGENT_PID; [2023-10-26T16:32:58.292Z] echo Agent pid 38 killed; [2023-10-26T16:32:58.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T16:32:58.621Z] + git semver [Pipeline] } [2023-10-26T16:32:58.883Z] $ docker stop --time=1 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c [2023-10-26T16:33:00.497Z] $ docker rm -f --volumes 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c [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-10-26T16:33:01.040Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-10-26T16:33:01.040Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-10-26T16:33:01.040Z] total 16 [2023-10-26T16:33:01.040Z] drwxr-xr-x 3 root root 4096 Oct 26 16:18 . [2023-10-26T16:33:01.040Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:32 .. [2023-10-26T16:33:01.040Z] drwxr-xr-x 2 root root 4096 Oct 26 16:18 cost [2023-10-26T16:33:01.040Z] -rw-r--r-- 1 root root 85 Oct 26 16:18 cost.csv [2023-10-26T16:33:01.040Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-10-26T16:33:01.040Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-10-26T16:33:01.040Z] total 16 [2023-10-26T16:33:01.040Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:18 . [2023-10-26T16:33:01.040Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:32 .. [2023-10-26T16:33:01.040Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 16:18 cost [2023-10-26T16:33:01.040Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 26 16:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:01.325Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:02.180Z] ---> package-listing.sh [2023-10-26T16:33:02.180Z] ++ facter osfamily [2023-10-26T16:33:02.180Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-26T16:33:02.438Z] + OS_FAMILY=debian [2023-10-26T16:33:02.438Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-10-26T16:33:02.438Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-26T16:33:02.438Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-26T16:33:02.438Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-26T16:33:02.438Z] + PACKAGES=/tmp/packages_start.txt [2023-10-26T16:33:02.438Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-10-26T16:33:02.438Z] + PACKAGES=/tmp/packages_end.txt [2023-10-26T16:33:02.438Z] + case "${OS_FAMILY}" in [2023-10-26T16:33:02.438Z] + dpkg -l [2023-10-26T16:33:02.438Z] + grep '^ii' [2023-10-26T16:33:02.438Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-26T16:33:02.438Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-26T16:33:02.438Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-26T16:33:02.438Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-10-26T16:33:02.438Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-10-26T16:33:02.438Z] + 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-10-26T16:33:02.449Z] 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-10-26T16:33:02.724Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T16:33:03.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T16:33:03.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T16:33:03.526Z] prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container [2023-10-26T16:33:03.543Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-26T16:33:03.756Z] $ docker top a56669a80309be25dd9d22c441d114ee8559e42a74ad1983e52c4ca10a68c785 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T16:33:04.093Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-26T16:33:04.373Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-26T16:33:04.653Z] + ls /var/log/sa-host [2023-10-26T16:33:04.653Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T16:33:04.711Z] provisioning config files... [2023-10-26T16:33:04.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1421485656288004981tmp [Pipeline] { [Pipeline] echo [2023-10-26T16:33:04.730Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:05.009Z] ---> create-netrc.sh [Pipeline] } [2023-10-26T16:33:05.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:05.325Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-26T16:33:05.335Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:05.616Z] ---> sudo-logs.sh [2023-10-26T16:33:05.616Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-26T16:33:05.642Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:05.925Z] ---> job-cost.sh [2023-10-26T16:33:05.925Z] lf-activate-venv: SKIPPING [2023-10-26T16:33:05.925Z] DEBUG: total: 0.2199999988079071 [2023-10-26T16:33:05.925Z] INFO: Retrieving Stack Cost... [2023-10-26T16:33:06.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-26T16:33:06.751Z] INFO: Archiving Costs [Pipeline] echo [2023-10-26T16:33:06.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T16:33:07.037Z] ---> logs-deploy.sh [2023-10-26T16:33:07.038Z] lf-activate-venv: SKIPPING [2023-10-26T16:33:07.038Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/266 [2023-10-26T16:33:07.038Z] INFO: archiving workspace using pattern(s): [2023-10-26T16:33:07.971Z] Archives upload complete. [2023-10-26T16:33:07.971Z] INFO: archiving logs to Nexus