Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bcb30427b801ff9ed3b105e71011a55aed1d51b 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-ssh7849986838526223111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8744644137323998698.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8188734664188147303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12466969448112101740.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-ssh11172109738907300201.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.20 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-3192 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 2bcb30427b801ff9ed3b105e71011a55aed1d51b (main) Commit message: "Merge pull request #1492 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.19" > git config core.sparsecheckout # timeout=10 > git checkout -f 2bcb30427b801ff9ed3b105e71011a55aed1d51b # timeout=10 > git rev-list --no-walk 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T09:23:19.744Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T09:23:19.810Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T09:23:19.828Z] ========================================================= [2023-08-09T09:23:19.828Z] EdgeX Global Pipelines Version Info [2023-08-09T09:23:19.828Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:23:20.543Z] ------------------- [2023-08-09T09:23:20.543Z] stable info: [2023-08-09T09:23:20.543Z] ------------------- [2023-08-09T09:23:20.543Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T09:23:20.543Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T09:23:20.543Z] Message: update stable to v1.0.250 [2023-08-09T09:23:21.112Z] ------------------- [2023-08-09T09:23:21.112Z] experimental info: [2023-08-09T09:23:21.112Z] ------------------- [2023-08-09T09:23:21.112Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T09:23:21.112Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T09:23:21.112Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T09:23:21.287Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-09T09:23:21.300Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-09T09:23:21.317Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T09:23:21.335Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T09:23:21.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T09:23:21.369Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T09:23:21.387Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T09:23:21.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-09T09:23:21.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T09:23:21.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T09:23:21.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T09:23:21.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-09T09:23:21.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T09:23:21.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T09:23:21.520Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T09:23:21.535Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T09:23:21.552Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T09:23:21.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T09:23:21.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T09:23:21.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T09:23:21.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-09T09:23:21.629Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-09T09:23:21.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T09:23:21.655Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T09:23:21.669Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T09:23:21.684Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T09:23:21.695Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T09:23:21.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T09:23:21.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T09:23:21.737Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T09:23:21.752Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo [2023-08-09T09:23:21.764Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bcb304 [Pipeline] echo [2023-08-09T09:23:21.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:23:21.821Z] provisioning config files... [2023-08-09T09:23:21.837Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18146529033442681622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:23:22.136Z] ---> docker-login.sh [2023-08-09T09:23:22.136Z] nexus3.edgexfoundry.org:10001 [2023-08-09T09:23:22.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:22.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:22.398Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:22.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:22.398Z] [2023-08-09T09:23:22.398Z] Login Succeeded [2023-08-09T09:23:22.398Z] nexus3.edgexfoundry.org:10002 [2023-08-09T09:23:22.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:22.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:22.658Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:22.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:22.658Z] [2023-08-09T09:23:22.658Z] Login Succeeded [2023-08-09T09:23:22.659Z] nexus3.edgexfoundry.org:10003 [2023-08-09T09:23:22.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:22.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:22.659Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:22.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:22.659Z] [2023-08-09T09:23:22.659Z] Login Succeeded [2023-08-09T09:23:22.659Z] nexus3.edgexfoundry.org:10004 [2023-08-09T09:23:22.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:22.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:22.919Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:22.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:22.919Z] [2023-08-09T09:23:22.919Z] Login Succeeded [2023-08-09T09:23:22.919Z] docker.io [2023-08-09T09:23:22.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:23.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:23.180Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:23.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:23.180Z] [2023-08-09T09:23:23.180Z] Login Succeeded [2023-08-09T09:23:23.180Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T09:23:23.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T09:23:23.565Z] + git rev-list -1 --merges 2bcb30427b801ff9ed3b105e71011a55aed1d51b~1..2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo [2023-08-09T09:23:23.611Z] -----------> git rev-list -1 --merges 2bcb30427b801ff9ed3b105e71011a55aed1d51b~1..2bcb30427b801ff9ed3b105e71011a55aed1d51b 2bcb30427b801ff9ed3b105e71011a55aed1d51b [2023-08-09T09:23:23.611Z] 2bcb30427b801ff9ed3b105e71011a55aed1d51b [false] [Pipeline] sh [2023-08-09T09:23:23.902Z] + git log --format=format:%s -1 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo [2023-08-09T09:23:23.920Z] ========================================================= [2023-08-09T09:23:23.920Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T09:23:23.920Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T09:23:24.276Z] + git log --format=format:%s -1 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo [2023-08-09T09:23:24.287Z] [semverPrep] GIT_COMMIT: 2bcb30427b801ff9ed3b105e71011a55aed1d51b, Commit Message: Merge pull request #1492 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.19 [Pipeline] echo [2023-08-09T09:23:24.296Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T09:23:24.668Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T09:23:24.668Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T09:23:24.668Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T09:23:24.668Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T09:23:24.668Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T09:23:24.668Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T09:23:24.668Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:23:25.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:23:25.078Z] [2023-08-09T09:23:25.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:23:25.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:23:25.384Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T09:23:25.384Z] b85a868b505f: Pulling fs layer [2023-08-09T09:23:25.384Z] e2be974225ed: Pulling fs layer [2023-08-09T09:23:25.384Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T09:23:25.384Z] 988bab9f4d93: Pulling fs layer [2023-08-09T09:23:25.384Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T09:23:25.384Z] eaf3925da568: Pulling fs layer [2023-08-09T09:23:25.384Z] bab4dde63d76: Pulling fs layer [2023-08-09T09:23:25.384Z] bde34c3a00c8: Pulling fs layer [2023-08-09T09:23:25.384Z] b352a97aabf1: Pulling fs layer [2023-08-09T09:23:25.384Z] 4872d77fe225: Pulling fs layer [2023-08-09T09:23:25.384Z] 5851b861e8e6: Pulling fs layer [2023-08-09T09:23:25.384Z] 988bab9f4d93: Waiting [2023-08-09T09:23:25.384Z] 1469e6f7b9e6: Waiting [2023-08-09T09:23:25.384Z] bde34c3a00c8: Waiting [2023-08-09T09:23:25.384Z] b352a97aabf1: Waiting [2023-08-09T09:23:25.384Z] 4872d77fe225: Waiting [2023-08-09T09:23:25.384Z] eaf3925da568: Waiting [2023-08-09T09:23:25.384Z] bab4dde63d76: Waiting [2023-08-09T09:23:25.384Z] 5851b861e8e6: Waiting [2023-08-09T09:23:25.384Z] 988bab9f4d93: Verifying Checksum [2023-08-09T09:23:25.384Z] 988bab9f4d93: Download complete [2023-08-09T09:23:25.643Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T09:23:25.643Z] 1469e6f7b9e6: Download complete [2023-08-09T09:23:25.643Z] eaf3925da568: Verifying Checksum [2023-08-09T09:23:25.643Z] eaf3925da568: Download complete [2023-08-09T09:23:25.643Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T09:23:25.643Z] 339a4e72a1f5: Download complete [2023-08-09T09:23:25.643Z] bde34c3a00c8: Verifying Checksum [2023-08-09T09:23:25.643Z] b352a97aabf1: Verifying Checksum [2023-08-09T09:23:25.643Z] 4872d77fe225: Verifying Checksum [2023-08-09T09:23:25.643Z] 4872d77fe225: Download complete [2023-08-09T09:23:25.643Z] 5851b861e8e6: Download complete [2023-08-09T09:23:25.643Z] b85a868b505f: Verifying Checksum [2023-08-09T09:23:25.643Z] b85a868b505f: Download complete [2023-08-09T09:23:25.901Z] bab4dde63d76: Verifying Checksum [2023-08-09T09:23:25.901Z] bab4dde63d76: Download complete [2023-08-09T09:23:27.284Z] b85a868b505f: Pull complete [2023-08-09T09:23:27.284Z] e2be974225ed: Pull complete [2023-08-09T09:23:27.895Z] 339a4e72a1f5: Pull complete [2023-08-09T09:23:27.895Z] 988bab9f4d93: Pull complete [2023-08-09T09:23:28.158Z] 1469e6f7b9e6: Pull complete [2023-08-09T09:23:28.158Z] eaf3925da568: Pull complete [2023-08-09T09:23:30.070Z] bab4dde63d76: Pull complete [2023-08-09T09:23:30.070Z] bde34c3a00c8: Pull complete [2023-08-09T09:23:30.070Z] b352a97aabf1: Pull complete [2023-08-09T09:23:30.329Z] 4872d77fe225: Pull complete [2023-08-09T09:23:30.329Z] 5851b861e8e6: Pull complete [2023-08-09T09:23:30.329Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T09:23:30.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:23:30.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:23:30.427Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:23:30.465Z] $ 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-08-09T09:23:33.182Z] $ docker top e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 -eo pid,comm [2023-08-09T09:23:33.242Z] 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-08-09T09:23:33.242Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T09:23:33.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:23:33.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:23:33.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:23:33.420Z] $ docker exec e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent [2023-08-09T09:23:33.523Z] SSH_AUTH_SOCK=/tmp/ssh-cz2tEMGzSuCo/agent.31 [2023-08-09T09:23:33.523Z] SSH_AGENT_PID=37 [2023-08-09T09:23:33.530Z] Running ssh-add (command line suppressed) [2023-08-09T09:23:33.632Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4687823105499875934.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4687823105499875934.key) [2023-08-09T09:23:33.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:23:33.936Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T09:23:33.956Z] $ docker exec --env ******** --env ******** e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent -k [2023-08-09T09:23:34.064Z] unset SSH_AUTH_SOCK; [2023-08-09T09:23:34.064Z] unset SSH_AGENT_PID; [2023-08-09T09:23:34.064Z] echo Agent pid 37 killed; [2023-08-09T09:23:34.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T09:23:34.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:23:34.092Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:23:34.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:23:34.210Z] $ docker exec e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent [2023-08-09T09:23:34.316Z] SSH_AUTH_SOCK=/tmp/ssh-rTwfy8jTYbD5/agent.71 [2023-08-09T09:23:34.316Z] SSH_AGENT_PID=77 [2023-08-09T09:23:34.321Z] Running ssh-add (command line suppressed) [2023-08-09T09:23:34.445Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11000266927430797623.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11000266927430797623.key) [2023-08-09T09:23:34.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:23:34.746Z] + git semver init [2023-08-09T09:23:35.005Z] 2023-08-09 09:23:34,940 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T09:23:35.005Z] 2023-08-09 09:23:34,940 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-09T09:23:35.005Z] 2023-08-09 09:23:34,941 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-09T09:23:35.006Z] 2023-08-09 09:23:34,941 [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-08-09T09:23:35.942Z] 2023-08-09 09:23:35,843 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-09T09:23:35.942Z] 2023-08-09 09:23:35,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-09T09:23:35.942Z] 2023-08-09 09:23:35,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:23:35.942Z] 2023-08-09 09:23:35,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:23:35.942Z] 3.1.0-dev.11 [Pipeline] } [2023-08-09T09:23:35.956Z] $ docker exec --env ******** --env ******** e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent -k [2023-08-09T09:23:36.056Z] unset SSH_AUTH_SOCK; [2023-08-09T09:23:36.056Z] unset SSH_AGENT_PID; [2023-08-09T09:23:36.056Z] echo Agent pid 77 killed; [2023-08-09T09:23:36.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T09:23:36.378Z] + git semver [Pipeline] } [2023-08-09T09:23:36.653Z] $ docker stop --time=1 e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 [2023-08-09T09:23:37.983Z] $ docker rm -f --volumes e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T09:23:38.318Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T09:23:38.553Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T09:23:38.556Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [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-08-09T09:23:38.707Z] provisioning config files... [2023-08-09T09:23:38.718Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18348652225183524963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:23:39.018Z] ---> docker-login.sh [2023-08-09T09:23:39.018Z] nexus3.edgexfoundry.org:10001 [2023-08-09T09:23:39.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:39.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:39.018Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:39.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:39.018Z] [2023-08-09T09:23:39.018Z] Login Succeeded [2023-08-09T09:23:39.018Z] nexus3.edgexfoundry.org:10002 [2023-08-09T09:23:39.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:39.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:39.018Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:39.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:39.018Z] [2023-08-09T09:23:39.018Z] Login Succeeded [2023-08-09T09:23:39.018Z] nexus3.edgexfoundry.org:10003 [2023-08-09T09:23:39.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:39.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:39.277Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:39.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:39.277Z] [2023-08-09T09:23:39.277Z] Login Succeeded [2023-08-09T09:23:39.277Z] nexus3.edgexfoundry.org:10004 [2023-08-09T09:23:39.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:39.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:39.277Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:39.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:39.277Z] [2023-08-09T09:23:39.277Z] Login Succeeded [2023-08-09T09:23:39.277Z] docker.io [2023-08-09T09:23:39.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:23:39.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:23:39.798Z] Configure a credential helper to remove this warning. See [2023-08-09T09:23:39.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:23:39.798Z] [2023-08-09T09:23:39.798Z] Login Succeeded [2023-08-09T09:23:39.798Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T09:23:39.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T09:23:39.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:23:39.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:23:39.880Z] ========================================================= [2023-08-09T09:23:39.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T09:23:39.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:23:40.183Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T09:23:40.183Z] Sending build context to Docker daemon 11.03MB [2023-08-09T09:23:40.183Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:23:40.183Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-09T09:23:40.183Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T09:23:40.183Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T09:23:40.183Z] 6911f1a30b25: Pulling fs layer [2023-08-09T09:23:40.183Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T09:23:40.183Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T09:23:40.183Z] ec0bb842ea78: Pulling fs layer [2023-08-09T09:23:40.183Z] 6863d3e3a2b1: Waiting [2023-08-09T09:23:40.183Z] 40a00589a448: Pulling fs layer [2023-08-09T09:23:40.183Z] 6c08303d61cc: Pulling fs layer [2023-08-09T09:23:40.183Z] 798269fcf238: Pulling fs layer [2023-08-09T09:23:40.183Z] ec0bb842ea78: Waiting [2023-08-09T09:23:40.183Z] 6c08303d61cc: Waiting [2023-08-09T09:23:40.183Z] 40a00589a448: Waiting [2023-08-09T09:23:40.183Z] 798269fcf238: Waiting [2023-08-09T09:23:40.443Z] 6911f1a30b25: Verifying Checksum [2023-08-09T09:23:40.443Z] 6911f1a30b25: Download complete [2023-08-09T09:23:40.443Z] 6863d3e3a2b1: Download complete [2023-08-09T09:23:40.443Z] ec0bb842ea78: Verifying Checksum [2023-08-09T09:23:40.443Z] ec0bb842ea78: Download complete [2023-08-09T09:23:40.443Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T09:23:40.443Z] 4db1b89c0bd1: Download complete [2023-08-09T09:23:40.443Z] 40a00589a448: Verifying Checksum [2023-08-09T09:23:40.443Z] 40a00589a448: Download complete [2023-08-09T09:23:40.443Z] 4db1b89c0bd1: Pull complete [2023-08-09T09:23:40.706Z] 6911f1a30b25: Pull complete [2023-08-09T09:23:40.965Z] 798269fcf238: Verifying Checksum [2023-08-09T09:23:40.966Z] 798269fcf238: Download complete [2023-08-09T09:23:40.966Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T09:23:40.966Z] e194b8c5c2a9: Download complete [2023-08-09T09:23:41.223Z] 6c08303d61cc: Verifying Checksum [2023-08-09T09:23:41.224Z] 6c08303d61cc: Download complete [2023-08-09T09:23:44.509Z] e194b8c5c2a9: Pull complete [2023-08-09T09:23:44.509Z] 6863d3e3a2b1: Pull complete [2023-08-09T09:23:44.767Z] ec0bb842ea78: Pull complete [2023-08-09T09:23:44.767Z] 40a00589a448: Pull complete [2023-08-09T09:23:47.294Z] 6c08303d61cc: Pull complete [2023-08-09T09:23:48.228Z] 798269fcf238: Pull complete [2023-08-09T09:23:48.228Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T09:23:48.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T09:23:48.228Z] ---> ec979cd7f677 [2023-08-09T09:23:48.228Z] Step 3/10 : ARG MAKE=make build [2023-08-09T09:23:52.524Z] ---> Running in f7f3d953dd1e [2023-08-09T09:23:52.524Z] Removing intermediate container f7f3d953dd1e [2023-08-09T09:23:52.524Z] ---> 3f3fb1bc53fa [2023-08-09T09:23:52.524Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-09T09:23:52.524Z] ---> Running in 2c3996a8313a [2023-08-09T09:23:52.524Z] Removing intermediate container 2c3996a8313a [2023-08-09T09:23:52.524Z] ---> f1ef927ecc17 [2023-08-09T09:23:52.524Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T09:23:52.524Z] ---> Running in 0c08a81846fe [2023-08-09T09:23:52.783Z] Removing intermediate container 0c08a81846fe [2023-08-09T09:23:52.783Z] ---> 546f67fb0545 [2023-08-09T09:23:52.783Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-09T09:23:52.783Z] ---> Running in 4ffcabba0945 [2023-08-09T09:23:53.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T09:23:53.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T09:23:53.561Z] OK: 265 MiB in 53 packages [2023-08-09T09:23:53.659Z] Still waiting to schedule task [2023-08-09T09:23:53.659Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-09T09:23:53.820Z] Removing intermediate container 4ffcabba0945 [2023-08-09T09:23:53.820Z] ---> 5bba3a4d2682 [2023-08-09T09:23:53.820Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-09T09:23:53.820Z] ---> 30dfe7f2c2d8 [2023-08-09T09:23:53.820Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:23:53.820Z] ---> Running in 8b07d1d01263 [2023-08-09T09:24:25.988Z] Removing intermediate container 8b07d1d01263 [2023-08-09T09:24:25.988Z] ---> d1b76f6c6829 [2023-08-09T09:24:25.988Z] Step 9/10 : COPY . . [2023-08-09T09:24:25.988Z] ---> 7ee7b0debad5 [2023-08-09T09:24:25.988Z] Step 10/10 : RUN ${MAKE} [2023-08-09T09:24:25.988Z] ---> Running in 786b558d254c [2023-08-09T09:24:26.248Z] noop [2023-08-09T09:24:26.506Z] Removing intermediate container 786b558d254c [2023-08-09T09:24:26.506Z] ---> 997a80224618 [2023-08-09T09:24:26.506Z] Successfully built 997a80224618 [2023-08-09T09:24:26.506Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:24:26.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T09:24:26.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:24:26.904Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:24:26.936Z] $ 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-08-09T09:24:27.256Z] $ docker top 36f733acc912f8eca8c55c1e43fb6235a77e453199110b7df889f1d5fd2a6ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:24:27.592Z] + go version [2023-08-09T09:24:27.592Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T09:24:27.605Z] $ docker stop --time=1 36f733acc912f8eca8c55c1e43fb6235a77e453199110b7df889f1d5fd2a6ae0 [2023-08-09T09:24:28.954Z] $ docker rm -f --volumes 36f733acc912f8eca8c55c1e43fb6235a77e453199110b7df889f1d5fd2a6ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:24:29.363Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T09:24:29.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:24:29.434Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:24:29.469Z] $ 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-08-09T09:24:29.799Z] $ docker top 035b8771aa1e10d582e12536ccbc29f9586d42af845bebb279dffed87910212f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:24:30.139Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T09:24:30.439Z] + make test [2023-08-09T09:24:30.439Z] go test -race -coverprofile=coverage.out ./... [2023-08-09T09:24:36.999Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-09T09:24:51.866Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.088s coverage: 27.6% of statements [2023-08-09T09:24:51.866Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-09T09:24:51.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-09T09:24:51.866Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.114s coverage: 86.0% of statements [2023-08-09T09:24:52.125Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-09T09:24:52.125Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 71.8% of statements [2023-08-09T09:24:53.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-09T09:24:53.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-09T09:24:53.319Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-09T09:24:55.222Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.103s coverage: 14.3% of statements [2023-08-09T09:24:56.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.065s coverage: 43.8% of statements [2023-08-09T09:24:56.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements [2023-08-09T09:24:56.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements [2023-08-09T09:24:56.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-08-09T09:25:18.128Z] GO111MODULE=on go vet ./... [2023-08-09T09:25:20.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T09:25:20.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T09:25:20.285Z] ./bin/test-attribution-txt.sh [2023-08-09T09:25:20.285Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T09:25:20.285Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T09:25:20.285Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T09:25:20.285Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T09:25:20.285Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T09:25:20.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T09:25:20.317Z] $ docker stop --time=1 035b8771aa1e10d582e12536ccbc29f9586d42af845bebb279dffed87910212f [2023-08-09T09:25:21.635Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3193 in /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-09T09:25:24.496Z] $ docker rm -f --volumes 035b8771aa1e10d582e12536ccbc29f9586d42af845bebb279dffed87910212f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-08-09T09:25:24.765Z] Running in /w/workspace/device-sdk-go/240 [Pipeline] { [Pipeline] checkout [2023-08-09T09:25:24.800Z] The recommended git tool is: git [2023-08-09T09:25:25.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T09:25:25.092Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T09:25:25.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T09:25:25.880Z] + ls -al . [2023-08-09T09:25:25.880Z] total 304 [2023-08-09T09:25:25.880Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 09:24 . [2023-08-09T09:25:25.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:23 .. [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 09:23 .dockerignore [2023-08-09T09:25:25.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:23 .git [2023-08-09T09:25:25.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:23 .github [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 09:23 .gitignore [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 09:23 .golangci.yml [2023-08-09T09:25:25.880Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 09:23 .semver [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 09:23 CHANGELOG.md [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 09:23 GOVERNANCE.md [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 09:23 Jenkinsfile [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 09:23 LICENSE [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 09:23 Makefile [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 09:23 OWNERS.md [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 09:23 README.md [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 9 09:23 VERSION [2023-08-09T09:25:25.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:23 bin [2023-08-09T09:25:25.880Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 9 09:24 coverage.out [2023-08-09T09:25:25.880Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 09:23 example [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 09:23 go.mod [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 09:23 go.sum [2023-08-09T09:25:25.880Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:23 internal [2023-08-09T09:25:25.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:23 openapi [2023-08-09T09:25:25.880Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 09:23 pkg [2023-08-09T09:25:25.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:23 snap [2023-08-09T09:25:25.880Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 09:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:25:26.198Z] + 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=2bcb30427b801ff9ed3b105e71011a55aed1d51b --label arch=amd64 --label version=3.1.0-dev.11 . [2023-08-09T09:25:26.198Z] Sending build context to Docker daemon 11.15MB [2023-08-09T09:25:26.198Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:25:26.198Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-09T09:25:26.198Z] ---> 997a80224618 [2023-08-09T09:25:26.198Z] Step 3/23 : ARG MAKE=make build [2023-08-09T09:25:26.460Z] ---> Running in 2b0938b78454 [2023-08-09T09:25:26.460Z] Removing intermediate container 2b0938b78454 [2023-08-09T09:25:26.460Z] ---> f560432359ce [2023-08-09T09:25:26.460Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-09T09:25:26.460Z] ---> Running in a1dc660ddbd0 [2023-08-09T09:25:26.728Z] Removing intermediate container a1dc660ddbd0 [2023-08-09T09:25:26.728Z] ---> 48e95b2f7465 [2023-08-09T09:25:26.728Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T09:25:26.728Z] ---> Running in d41e39af1bce [2023-08-09T09:25:26.728Z] Removing intermediate container d41e39af1bce [2023-08-09T09:25:26.728Z] ---> b66a5a1b7b19 [2023-08-09T09:25:26.728Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-09T09:25:26.728Z] ---> Running in 2eb09e06740a [2023-08-09T09:25:26.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T09:25:27.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T09:25:27.529Z] OK: 265 MiB in 53 packages [2023-08-09T09:25:27.797Z] Removing intermediate container 2eb09e06740a [2023-08-09T09:25:27.797Z] ---> c473b5425d67 [2023-08-09T09:25:27.797Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-09T09:25:28.083Z] ---> cc7f38fb4858 [2023-08-09T09:25:28.083Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:25:28.083Z] ---> Running in 73a644825502 [2023-08-09T09:25:28.694Z] Removing intermediate container 73a644825502 [2023-08-09T09:25:28.694Z] ---> 9bb1aa4d4c05 [2023-08-09T09:25:28.694Z] Step 9/23 : COPY . . [2023-08-09T09:25:29.260Z] ---> e3b4f0726c99 [2023-08-09T09:25:29.260Z] Step 10/23 : RUN ${MAKE} [2023-08-09T09:25:29.260Z] ---> Running in 2b8ef0cea295 [2023-08-09T09:25:29.490Z] using credential edgex-jenkins-ssh [2023-08-09T09:25:29.505Z] Cloning the remote Git repository [2023-08-09T09:25:29.517Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.11" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-09T09:25:29.543Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-09T09:25:29.629Z] > git init /w/workspace/device-sdk-go/240 # timeout=10 [2023-08-09T09:25:29.768Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-09T09:25:29.769Z] > git --version # timeout=10 [2023-08-09T09:25:29.792Z] > git --version # 'git version 2.25.1' [2023-08-09T09:25:29.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T09:25:29.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T09:25:31.437Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-09T09:25:31.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T09:25:32.236Z] Avoid second fetch [2023-08-09T09:25:32.236Z] Checking out Revision 2bcb30427b801ff9ed3b105e71011a55aed1d51b (main) [2023-08-09T09:25:32.775Z] Commit message: "Merge pull request #1492 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T09:25:32.252Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T09:25:32.322Z] > git checkout -f 2bcb30427b801ff9ed3b105e71011a55aed1d51b # timeout=10 [2023-08-09T09:25:33.733Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T09:25:33.733Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T09:25:33.733Z] Dload Upload Total Spent Left Speed [2023-08-09T09:25:33.733Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-08-09T09:25:34.279Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T09:25:34.608Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T09:25:34.609Z] + sudo tee /etc/docker/daemon.new [2023-08-09T09:25:34.609Z] { [2023-08-09T09:25:34.609Z] "registry-mirrors": [ [2023-08-09T09:25:34.609Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T09:25:34.609Z] ], [2023-08-09T09:25:34.609Z] "bip": "10.250.0.254/24", [2023-08-09T09:25:34.609Z] "hosts": [ [2023-08-09T09:25:34.609Z] "tcp://0.0.0.0:5555", [2023-08-09T09:25:34.609Z] "unix:///var/run/docker.sock" [2023-08-09T09:25:34.609Z] ], [2023-08-09T09:25:34.609Z] "mtu": 1458, [2023-08-09T09:25:34.609Z] "selinux-enabled": true, [2023-08-09T09:25:34.609Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T09:25:34.609Z] } [Pipeline] sh [2023-08-09T09:25:34.932Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T09:25:35.265Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:25:53.520Z] provisioning config files... [2023-08-09T09:25:53.545Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/240@tmp/config1037333856486391589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:25:53.889Z] ---> docker-login.sh [2023-08-09T09:25:53.889Z] nexus3.edgexfoundry.org:10001 [2023-08-09T09:25:54.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:25:54.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:25:54.430Z] Configure a credential helper to remove this warning. See [2023-08-09T09:25:54.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:25:54.430Z] [2023-08-09T09:25:54.430Z] Login Succeeded [2023-08-09T09:25:54.430Z] nexus3.edgexfoundry.org:10002 [2023-08-09T09:25:54.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:25:54.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:25:54.700Z] Configure a credential helper to remove this warning. See [2023-08-09T09:25:54.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:25:54.701Z] [2023-08-09T09:25:54.701Z] Login Succeeded [2023-08-09T09:25:54.701Z] nexus3.edgexfoundry.org:10003 [2023-08-09T09:25:54.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:25:55.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:25:55.244Z] Configure a credential helper to remove this warning. See [2023-08-09T09:25:55.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:25:55.244Z] [2023-08-09T09:25:55.244Z] Login Succeeded [2023-08-09T09:25:55.244Z] nexus3.edgexfoundry.org:10004 [2023-08-09T09:25:55.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:25:55.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:25:55.516Z] Configure a credential helper to remove this warning. See [2023-08-09T09:25:55.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:25:55.516Z] [2023-08-09T09:25:55.516Z] Login Succeeded [2023-08-09T09:25:55.516Z] docker.io [2023-08-09T09:25:55.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T09:25:56.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T09:25:56.053Z] Configure a credential helper to remove this warning. See [2023-08-09T09:25:56.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T09:25:56.053Z] [2023-08-09T09:25:56.053Z] Login Succeeded [2023-08-09T09:25:56.053Z] ---> docker-login.sh ends [2023-08-09T09:25:56.053Z] Removing intermediate container 2b8ef0cea295 [2023-08-09T09:25:56.053Z] ---> aff7667e9b4c [2023-08-09T09:25:56.053Z] Step 11/23 : FROM alpine:3.17 [2023-08-09T09:25:56.053Z] 3.17: Pulling from library/alpine [2023-08-09T09:25:56.053Z] 9398808236ff: Pulling fs layer [2023-08-09T09:25:56.053Z] 9398808236ff: Download complete [2023-08-09T09:25:56.053Z] 9398808236ff: Pull complete [2023-08-09T09:25:56.053Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T09:25:56.053Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T09:25:56.053Z] ---> 1e0b8b5322fc [2023-08-09T09:25:56.053Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T09:25:56.053Z] ---> Running in 4336c4a029e6 [2023-08-09T09:25:56.054Z] Removing intermediate container 4336c4a029e6 [2023-08-09T09:25:56.054Z] ---> 5ea5e63b0dec [2023-08-09T09:25:56.054Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-09T09:25:56.054Z] ---> Running in 9a0fa29ffa95 [2023-08-09T09:25:56.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T09:25:56.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T09:25:56.054Z] OK: 7 MiB in 15 packages [2023-08-09T09:25:56.054Z] Removing intermediate container 9a0fa29ffa95 [2023-08-09T09:25:56.054Z] ---> 463ea5f97e90 [2023-08-09T09:25:56.054Z] Step 14/23 : WORKDIR / [2023-08-09T09:25:56.054Z] ---> Running in 911c1ceaf0db [2023-08-09T09:25:56.054Z] Removing intermediate container 911c1ceaf0db [2023-08-09T09:25:56.054Z] ---> 3c020ecddcb7 [2023-08-09T09:25:56.054Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-09T09:25:56.054Z] ---> 9c75cc3b03b8 [2023-08-09T09:25:56.054Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-09T09:25:56.054Z] ---> 450e5c0509b8 [2023-08-09T09:25:56.054Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-09T09:25:56.054Z] ---> bd53ddb84ed8 [2023-08-09T09:25:56.054Z] Step 18/23 : EXPOSE 59999 [2023-08-09T09:25:56.054Z] ---> Running in 7d871ec87e4f [Pipeline] } [2023-08-09T09:25:56.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T09:25:56.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-08-09T09:25:56.312Z] Removing intermediate container 7d871ec87e4f [2023-08-09T09:25:56.312Z] ---> 7e2a11c33b21 [2023-08-09T09:25:56.312Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-09T09:25:56.312Z] ---> Running in 57234440d5af [2023-08-09T09:25:56.312Z] Removing intermediate container 57234440d5af [2023-08-09T09:25:56.312Z] ---> d9b01aa92636 [2023-08-09T09:25:56.312Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T09:25:56.312Z] ---> Running in 960cb43d92ee [2023-08-09T09:25:56.312Z] Removing intermediate container 960cb43d92ee [2023-08-09T09:25:56.312Z] ---> f5e5484e2e22 [2023-08-09T09:25:56.312Z] Step 21/23 : LABEL arch=amd64 [Pipeline] echo [2023-08-09T09:25:56.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T09:25:56.340Z] ========================================================= [2023-08-09T09:25:56.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T09:25:56.340Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:25:56.571Z] ---> Running in 5c11e3828285 [2023-08-09T09:25:56.571Z] Removing intermediate container 5c11e3828285 [2023-08-09T09:25:56.571Z] ---> 3aa16d5425d3 [2023-08-09T09:25:56.571Z] Step 22/23 : LABEL git_sha=2bcb30427b801ff9ed3b105e71011a55aed1d51b [2023-08-09T09:25:56.571Z] ---> Running in 4ce3827960ae [2023-08-09T09:25:56.571Z] Removing intermediate container 4ce3827960ae [2023-08-09T09:25:56.571Z] ---> 928c5cf3f29e [2023-08-09T09:25:56.571Z] Step 23/23 : LABEL version=3.1.0-dev.11 [2023-08-09T09:25:56.571Z] ---> Running in d8f83e53ba65 [2023-08-09T09:25:56.688Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T09:25:56.831Z] Removing intermediate container d8f83e53ba65 [2023-08-09T09:25:56.831Z] ---> 06cdff33fa52 [2023-08-09T09:25:56.831Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T09:25:56.831Z] Successfully built 06cdff33fa52 [2023-08-09T09:25:56.831Z] 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) [2023-08-09T09:25:56.958Z] Sending build context to Docker daemon 5.891MB [2023-08-09T09:25:56.958Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:25:56.958Z] Step 2/10 : FROM ${BASE} AS builder Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:25:57.237Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T09:25:57.237Z] edb6bdbacee9: Pulling fs layer [2023-08-09T09:25:57.237Z] 5f9638ab2659: Pulling fs layer [2023-08-09T09:25:57.237Z] 8d51d6327a98: Pulling fs layer [2023-08-09T09:25:57.237Z] 8b374f2dd631: Pulling fs layer [2023-08-09T09:25:57.237Z] ec14aa9079de: Pulling fs layer [2023-08-09T09:25:57.237Z] 2f466654f4bb: Pulling fs layer [2023-08-09T09:25:57.237Z] 554e91adad29: Pulling fs layer [2023-08-09T09:25:57.237Z] ec14aa9079de: Waiting [2023-08-09T09:25:57.237Z] 2f466654f4bb: Waiting [2023-08-09T09:25:57.237Z] 554e91adad29: Waiting [2023-08-09T09:25:57.237Z] 8b374f2dd631: Waiting [2023-08-09T09:25:57.237Z] 5f9638ab2659: Verifying Checksum [2023-08-09T09:25:57.237Z] 5f9638ab2659: Download complete [2023-08-09T09:25:57.237Z] 8b374f2dd631: Download complete [2023-08-09T09:25:57.237Z] ec14aa9079de: Verifying Checksum [2023-08-09T09:25:57.237Z] ec14aa9079de: Download complete [2023-08-09T09:25:57.237Z] edb6bdbacee9: Download complete [2023-08-09T09:25:57.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:25:57.283Z] [2023-08-09T09:25:57.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:25:57.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:25:57.585Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T09:25:57.585Z] 5eb5b503b376: Pulling fs layer [2023-08-09T09:25:57.585Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T09:25:57.585Z] ec43610c2a17: Pulling fs layer [2023-08-09T09:25:57.585Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T09:25:57.585Z] 33b1e0a273af: Pulling fs layer [2023-08-09T09:25:57.585Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T09:25:57.585Z] 2f39f015ded8: Pulling fs layer [2023-08-09T09:25:57.585Z] 5d3b04190fa2: Waiting [2023-08-09T09:25:57.585Z] 3a2ae6a8a46f: Waiting [2023-08-09T09:25:57.585Z] 2f39f015ded8: Waiting [2023-08-09T09:25:57.585Z] 5c69ac0246d0: Download complete [2023-08-09T09:25:57.585Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T09:25:57.585Z] 3a2ae6a8a46f: Download complete [2023-08-09T09:25:57.585Z] 33b1e0a273af: Verifying Checksum [2023-08-09T09:25:57.585Z] 33b1e0a273af: Download complete [2023-08-09T09:25:57.585Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T09:25:57.585Z] 5d3b04190fa2: Download complete [2023-08-09T09:25:57.845Z] ec43610c2a17: Verifying Checksum [2023-08-09T09:25:57.846Z] ec43610c2a17: Download complete [2023-08-09T09:25:58.105Z] 5eb5b503b376: Verifying Checksum [2023-08-09T09:25:58.105Z] 5eb5b503b376: Download complete [2023-08-09T09:25:58.657Z] edb6bdbacee9: Pull complete [2023-08-09T09:25:58.657Z] 554e91adad29: Verifying Checksum [2023-08-09T09:25:58.657Z] 554e91adad29: Download complete [2023-08-09T09:25:58.669Z] 2f39f015ded8: Download complete [2023-08-09T09:25:58.927Z] 5f9638ab2659: Pull complete [2023-08-09T09:25:59.236Z] 5eb5b503b376: Pull complete [2023-08-09T09:25:59.237Z] 5c69ac0246d0: Pull complete [2023-08-09T09:25:59.803Z] ec43610c2a17: Pull complete [2023-08-09T09:25:59.803Z] 3a2ae6a8a46f: Pull complete [2023-08-09T09:25:59.897Z] 8d51d6327a98: Verifying Checksum [2023-08-09T09:25:59.898Z] 8d51d6327a98: Download complete [2023-08-09T09:25:59.898Z] 2f466654f4bb: Verifying Checksum [2023-08-09T09:25:59.898Z] 2f466654f4bb: Download complete [2023-08-09T09:26:00.062Z] 33b1e0a273af: Pull complete [2023-08-09T09:26:00.063Z] 5d3b04190fa2: Pull complete [2023-08-09T09:26:04.242Z] 2f39f015ded8: Pull complete [2023-08-09T09:26:04.242Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T09:26:04.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:26:04.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:26:04.318Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:26:04.367Z] $ 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-08-09T09:26:09.467Z] $ docker top 92cd2b16a06870996e91f1a3e30711106eeaa27ab1f0a3ec7da9b8efb60b8481 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:26:09.865Z] ---> job-cost.sh [2023-08-09T09:26:09.866Z] lf-activate-venv: SKIPPING [2023-08-09T09:26:09.866Z] INFO: No Stack... [2023-08-09T09:26:10.124Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T09:26:10.691Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T09:26:10.977Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-09T09:26:10.977Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T09:26:10.990Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [2023-08-09T09:26:10.995Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] did not exist. Created. [2023-08-09T09:26:10.995Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T09:26:11.292Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T09:26:11.317Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T09:26:11.324Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T09:26:11.348Z] $ docker stop --time=1 92cd2b16a06870996e91f1a3e30711106eeaa27ab1f0a3ec7da9b8efb60b8481 [2023-08-09T09:26:12.238Z] 8d51d6327a98: Pull complete [2023-08-09T09:26:12.238Z] 8b374f2dd631: Pull complete [2023-08-09T09:26:12.238Z] ec14aa9079de: Pull complete [2023-08-09T09:26:12.497Z] $ docker rm -f --volumes 92cd2b16a06870996e91f1a3e30711106eeaa27ab1f0a3ec7da9b8efb60b8481 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T09:26:18.897Z] 2f466654f4bb: Pull complete [2023-08-09T09:26:21.496Z] 554e91adad29: Pull complete [2023-08-09T09:26:21.496Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T09:26:21.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T09:26:21.496Z] ---> 1e15ea492957 [2023-08-09T09:26:21.496Z] Step 3/10 : ARG MAKE=make build [2023-08-09T09:26:22.911Z] ---> Running in 59b2bcbc8a54 [2023-08-09T09:26:23.179Z] Removing intermediate container 59b2bcbc8a54 [2023-08-09T09:26:23.179Z] ---> 4be4d5dc5671 [2023-08-09T09:26:23.179Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-09T09:26:23.179Z] ---> Running in 4f57205f5def [2023-08-09T09:26:23.448Z] Removing intermediate container 4f57205f5def [2023-08-09T09:26:23.448Z] ---> 997f9b4b9f18 [2023-08-09T09:26:23.448Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T09:26:23.719Z] ---> Running in e0a2c31285ba [2023-08-09T09:26:23.986Z] Removing intermediate container e0a2c31285ba [2023-08-09T09:26:23.986Z] ---> 47568fbd1e72 [2023-08-09T09:26:23.986Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-09T09:26:23.986Z] ---> Running in f14fdccc745d [2023-08-09T09:26:24.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T09:26:25.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T09:26:26.491Z] OK: 263 MiB in 53 packages [2023-08-09T09:26:27.453Z] Removing intermediate container f14fdccc745d [2023-08-09T09:26:27.453Z] ---> 18ccde93caeb [2023-08-09T09:26:27.453Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-09T09:26:27.722Z] ---> 64c8c72c3e8b [2023-08-09T09:26:27.722Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:26:27.722Z] ---> Running in 8840911be7b2 [2023-08-09T09:27:35.705Z] Removing intermediate container 8840911be7b2 [2023-08-09T09:27:35.705Z] ---> 0c47aee0a728 [2023-08-09T09:27:35.705Z] Step 9/10 : COPY . . [2023-08-09T09:27:35.705Z] ---> 4b8bd5846da2 [2023-08-09T09:27:35.705Z] Step 10/10 : RUN ${MAKE} [2023-08-09T09:27:35.705Z] ---> Running in 33c0034fd257 [2023-08-09T09:27:35.705Z] noop [2023-08-09T09:27:35.705Z] Removing intermediate container 33c0034fd257 [2023-08-09T09:27:35.705Z] ---> d886785f4966 [2023-08-09T09:27:35.705Z] Successfully built d886785f4966 [2023-08-09T09:27:35.705Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:27:36.052Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T09:27:36.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:27:36.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-3193 does not seem to be running inside a container [2023-08-09T09:27:36.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/240 -v /w/workspace/device-sdk-go/240:/w/workspace/device-sdk-go/240:rw,z -v /w/workspace/device-sdk-go/240@tmp:/w/workspace/device-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T09:27:37.524Z] $ docker top 19a844e43c7d7c7e6940f9a268da69b2f0c1052e92c6a5bf02a65b73992f432c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:27:38.331Z] + go version [2023-08-09T09:27:38.331Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T09:27:38.357Z] $ docker stop --time=1 19a844e43c7d7c7e6940f9a268da69b2f0c1052e92c6a5bf02a65b73992f432c [2023-08-09T09:27:39.899Z] $ docker rm -f --volumes 19a844e43c7d7c7e6940f9a268da69b2f0c1052e92c6a5bf02a65b73992f432c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:27:40.460Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T09:27:40.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:27:40.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-3193 does not seem to be running inside a container [2023-08-09T09:27:40.697Z] $ 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/240 -v /w/workspace/device-sdk-go/240:/w/workspace/device-sdk-go/240:rw,z -v /w/workspace/device-sdk-go/240@tmp:/w/workspace/device-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T09:27:41.784Z] $ docker top 813c80310235671f8983fdd1d2bef4956db4e87d48554c5aa5b670aebe81278b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:27:42.272Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/240 [Pipeline] fileExists [Pipeline] sh [2023-08-09T09:27:42.609Z] + make test [2023-08-09T09:27:42.609Z] go test -race -coverprofile=coverage.out ./... [2023-08-09T09:28:21.453Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-09T09:30:28.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-09T09:30:28.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-09T09:30:28.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-09T09:30:28.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-09T09:30:28.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-09T09:30:32.387Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.216s coverage: 27.6% of statements [2023-08-09T09:30:37.725Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.257s coverage: 80.2% of statements [2023-08-09T09:30:50.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-09T09:30:50.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-09T09:30:50.019Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.334s coverage: 86.0% of statements [2023-08-09T09:30:55.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-09T09:30:55.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.409s coverage: 71.8% of statements [2023-08-09T09:30:58.752Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.266s coverage: 14.3% of statements [2023-08-09T09:31:01.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-09T09:31:01.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-09T09:31:01.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.745s coverage: 43.8% of statements [2023-08-09T09:31:01.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.419s coverage: 68.5% of statements [2023-08-09T09:31:05.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.423s coverage: 89.2% of statements [2023-08-09T09:31:06.693Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-09T09:31:06.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements [2023-08-09T09:31:07.651Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T09:31:07.651Z] GO111MODULE=on go vet ./... [2023-08-09T09:33:29.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T09:33:29.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T09:33:29.345Z] ./bin/test-attribution-txt.sh [2023-08-09T09:33:29.345Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T09:33:29.345Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T09:33:29.345Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T09:33:29.345Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T09:33:29.345Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T09:33:29.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T09:33:29.382Z] $ docker stop --time=1 813c80310235671f8983fdd1d2bef4956db4e87d48554c5aa5b670aebe81278b [2023-08-09T09:33:31.228Z] $ docker rm -f --volumes 813c80310235671f8983fdd1d2bef4956db4e87d48554c5aa5b670aebe81278b [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T09:33:32.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T09:33:32.773Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T09:33:33.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T09:33:33.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T09:33:33.955Z] + ls -al . [2023-08-09T09:33:33.955Z] total 300 [2023-08-09T09:33:33.955Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 09:27 . [2023-08-09T09:33:33.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:25 .. [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 09:25 .dockerignore [2023-08-09T09:33:33.955Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:25 .git [2023-08-09T09:33:33.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:25 .github [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 09:25 .gitignore [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 09:25 .golangci.yml [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 09:25 CHANGELOG.md [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 09:25 GOVERNANCE.md [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 09:25 Jenkinsfile [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 09:25 LICENSE [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 09:25 Makefile [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 09:25 OWNERS.md [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 09:25 README.md [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 9 09:23 VERSION [2023-08-09T09:33:33.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:25 bin [2023-08-09T09:33:33.955Z] -rw-r--r-- 1 jenkins jenkins 120272 Aug 9 09:31 coverage.out [2023-08-09T09:33:33.955Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 09:25 example [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 09:25 go.mod [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 09:25 go.sum [2023-08-09T09:33:33.955Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:25 internal [2023-08-09T09:33:33.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:25 openapi [2023-08-09T09:33:33.955Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 09:25 pkg [2023-08-09T09:33:33.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:25 snap [2023-08-09T09:33:33.955Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:33:34.285Z] + 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=2bcb30427b801ff9ed3b105e71011a55aed1d51b --label arch=arm64 --label version=3.1.0-dev.11 . [2023-08-09T09:33:34.552Z] Sending build context to Docker daemon 6.011MB [2023-08-09T09:33:34.552Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T09:33:34.552Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-09T09:33:34.552Z] ---> d886785f4966 [2023-08-09T09:33:34.552Z] Step 3/23 : ARG MAKE=make build [2023-08-09T09:33:34.818Z] ---> Running in 78c6dcb54889 [2023-08-09T09:33:35.085Z] Removing intermediate container 78c6dcb54889 [2023-08-09T09:33:35.085Z] ---> 874c37fd8693 [2023-08-09T09:33:35.085Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-09T09:33:35.085Z] ---> Running in f4cc475d96ef [2023-08-09T09:33:35.351Z] Removing intermediate container f4cc475d96ef [2023-08-09T09:33:35.351Z] ---> e9a94185d238 [2023-08-09T09:33:35.351Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T09:33:35.351Z] ---> Running in 8b39e1cfb86c [2023-08-09T09:33:35.619Z] Removing intermediate container 8b39e1cfb86c [2023-08-09T09:33:35.619Z] ---> 5d6b12a07b96 [2023-08-09T09:33:35.619Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-09T09:33:35.889Z] ---> Running in 3caaabb44121 [2023-08-09T09:33:36.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T09:33:37.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T09:33:38.385Z] OK: 263 MiB in 53 packages [2023-08-09T09:33:39.358Z] Removing intermediate container 3caaabb44121 [2023-08-09T09:33:39.358Z] ---> 0401f0bc5a41 [2023-08-09T09:33:39.358Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-09T09:33:41.302Z] ---> f6c0a60c896d [2023-08-09T09:33:41.302Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T09:33:41.302Z] ---> Running in 5b39a89ef9c6 [2023-08-09T09:33:43.244Z] Removing intermediate container 5b39a89ef9c6 [2023-08-09T09:33:43.244Z] ---> bd7e236fc476 [2023-08-09T09:33:43.244Z] Step 9/23 : COPY . . [2023-08-09T09:33:44.218Z] ---> 369ab9245336 [2023-08-09T09:33:44.218Z] Step 10/23 : RUN ${MAKE} [2023-08-09T09:33:44.218Z] ---> Running in 7c9c4ef7e8e8 [2023-08-09T09:33:45.176Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.11" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-09T09:35:51.833Z] Removing intermediate container 7c9c4ef7e8e8 [2023-08-09T09:35:51.833Z] ---> a9d5aafde662 [2023-08-09T09:35:51.833Z] Step 11/23 : FROM alpine:3.17 [2023-08-09T09:35:52.409Z] 3.17: Pulling from library/alpine [2023-08-09T09:35:52.409Z] 4060ece20d7a: Pulling fs layer [2023-08-09T09:35:52.677Z] 4060ece20d7a: Verifying Checksum [2023-08-09T09:35:52.677Z] 4060ece20d7a: Download complete [2023-08-09T09:35:53.259Z] 4060ece20d7a: Pull complete [2023-08-09T09:35:53.259Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T09:35:53.259Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T09:35:53.259Z] ---> 8650cd65339b [2023-08-09T09:35:53.259Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T09:35:53.259Z] ---> Running in 0bf6328b93f1 [2023-08-09T09:35:53.527Z] Removing intermediate container 0bf6328b93f1 [2023-08-09T09:35:53.527Z] ---> 62c4556093a2 [2023-08-09T09:35:53.527Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-09T09:35:53.794Z] ---> Running in da6e90b7c9b4 [2023-08-09T09:35:54.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T09:35:55.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T09:35:56.048Z] OK: 7 MiB in 15 packages [2023-08-09T09:35:59.386Z] Removing intermediate container da6e90b7c9b4 [2023-08-09T09:35:59.386Z] ---> d49bcebea47e [2023-08-09T09:35:59.386Z] Step 14/23 : WORKDIR / [2023-08-09T09:35:59.386Z] ---> Running in 5c2412ace238 [2023-08-09T09:35:59.386Z] Removing intermediate container 5c2412ace238 [2023-08-09T09:35:59.386Z] ---> d0bc59528cd0 [2023-08-09T09:35:59.386Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-09T09:35:59.969Z] ---> c9b84af31f9b [2023-08-09T09:35:59.969Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-09T09:36:01.458Z] ---> 17892855f283 [2023-08-09T09:36:01.458Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-09T09:36:02.046Z] ---> 851038c54fd9 [2023-08-09T09:36:02.046Z] Step 18/23 : EXPOSE 59999 [2023-08-09T09:36:02.046Z] ---> Running in a9b0695af4c9 [2023-08-09T09:36:02.322Z] Removing intermediate container a9b0695af4c9 [2023-08-09T09:36:02.322Z] ---> 2f039b6199bd [2023-08-09T09:36:02.322Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-09T09:36:02.322Z] ---> Running in 9b556f1c342d [2023-08-09T09:36:02.593Z] Removing intermediate container 9b556f1c342d [2023-08-09T09:36:02.593Z] ---> b4fca62b232c [2023-08-09T09:36:02.593Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T09:36:02.593Z] ---> Running in c1079c7d7187 [2023-08-09T09:36:02.876Z] Removing intermediate container c1079c7d7187 [2023-08-09T09:36:02.876Z] ---> b9ff1f670657 [2023-08-09T09:36:02.876Z] Step 21/23 : LABEL arch=arm64 [2023-08-09T09:36:03.145Z] ---> Running in 991ac37728f0 [2023-08-09T09:36:03.432Z] Removing intermediate container 991ac37728f0 [2023-08-09T09:36:03.432Z] ---> 8eb8bf03fab4 [2023-08-09T09:36:03.432Z] Step 22/23 : LABEL git_sha=2bcb30427b801ff9ed3b105e71011a55aed1d51b [2023-08-09T09:36:03.432Z] ---> Running in ea63f64eb194 [2023-08-09T09:36:03.701Z] Removing intermediate container ea63f64eb194 [2023-08-09T09:36:03.701Z] ---> 9e319f3814d1 [2023-08-09T09:36:03.701Z] Step 23/23 : LABEL version=3.1.0-dev.11 [2023-08-09T09:36:03.701Z] ---> Running in 94d63cb82df8 [2023-08-09T09:36:03.965Z] Removing intermediate container 94d63cb82df8 [2023-08-09T09:36:03.966Z] ---> 08d9c2ec436d [2023-08-09T09:36:03.966Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T09:36:03.966Z] Successfully built 08d9c2ec436d [2023-08-09T09:36:03.966Z] 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-08-09T09:36:04.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T09:36:04.383Z] [2023-08-09T09:36:04.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:36:04.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T09:36:04.718Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T09:36:04.718Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T09:36:04.718Z] 04944245beec: Pulling fs layer [2023-08-09T09:36:04.718Z] 699f458cf7ca: Pulling fs layer [2023-08-09T09:36:04.718Z] 765212b225bb: Pulling fs layer [2023-08-09T09:36:04.718Z] f23df028b6ca: Pulling fs layer [2023-08-09T09:36:04.718Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T09:36:04.718Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T09:36:04.718Z] f23df028b6ca: Waiting [2023-08-09T09:36:04.718Z] d65c8cfc05b1: Waiting [2023-08-09T09:36:04.718Z] 2437ff75d9bd: Waiting [2023-08-09T09:36:04.718Z] 765212b225bb: Waiting [2023-08-09T09:36:04.984Z] 04944245beec: Verifying Checksum [2023-08-09T09:36:04.984Z] 04944245beec: Download complete [2023-08-09T09:36:04.984Z] 765212b225bb: Verifying Checksum [2023-08-09T09:36:04.984Z] 765212b225bb: Download complete [2023-08-09T09:36:04.984Z] f23df028b6ca: Download complete [2023-08-09T09:36:04.984Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T09:36:04.984Z] d65c8cfc05b1: Download complete [2023-08-09T09:36:04.984Z] 699f458cf7ca: Verifying Checksum [2023-08-09T09:36:04.984Z] 699f458cf7ca: Download complete [2023-08-09T09:36:05.564Z] 8998bd30e6a1: Download complete [2023-08-09T09:36:07.501Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T09:36:07.501Z] 2437ff75d9bd: Download complete [2023-08-09T09:36:09.458Z] 8998bd30e6a1: Pull complete [2023-08-09T09:36:12.025Z] 04944245beec: Pull complete [2023-08-09T09:36:12.981Z] 699f458cf7ca: Pull complete [2023-08-09T09:36:13.247Z] 765212b225bb: Pull complete [2023-08-09T09:36:14.203Z] f23df028b6ca: Pull complete [2023-08-09T09:36:14.203Z] d65c8cfc05b1: Pull complete [2023-08-09T09:36:29.180Z] 2437ff75d9bd: Pull complete [2023-08-09T09:36:29.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T09:36:29.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T09:36:29.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:36:29.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-3193 does not seem to be running inside a container [2023-08-09T09:36:29.431Z] $ 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/240 -v /w/workspace/device-sdk-go/240:/w/workspace/device-sdk-go/240:rw,z -v /w/workspace/device-sdk-go/240@tmp:/w/workspace/device-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T09:36:31.816Z] $ docker top 383cf93da905a55be8b29da9423863447ef8aaca05ce09c506636f3cf3af8c8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:36:32.316Z] ---> job-cost.sh [2023-08-09T09:36:32.579Z] lf-activate-venv: SKIPPING [2023-08-09T09:36:32.579Z] INFO: No Stack... [2023-08-09T09:36:33.158Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T09:36:33.734Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T09:36:34.049Z] + cut -d, -f6 [2023-08-09T09:36:34.049Z] + cat /w/workspace/device-sdk-go/240/archives/cost.csv [Pipeline] lock [2023-08-09T09:36:34.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [2023-08-09T09:36:34.115Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] did not exist. Created. [2023-08-09T09:36:34.115Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T09:36:34.445Z] /w/workspace/device-sdk-go/240@tmp/durable-2ce37421/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T09:36:34.770Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T09:36:34.784Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T09:36:34.857Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T09:36:34.863Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T09:36:34.891Z] $ docker stop --time=1 383cf93da905a55be8b29da9423863447ef8aaca05ce09c506636f3cf3af8c8b [2023-08-09T09:36:36.329Z] $ docker rm -f --volumes 383cf93da905a55be8b29da9423863447ef8aaca05ce09c506636f3cf3af8c8b [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-08-09T09:36:37.962Z] provisioning config files... [2023-08-09T09:36:37.969Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13059916086841445026tmp [Pipeline] { [Pipeline] sh [2023-08-09T09:36:38.266Z] + set +x [2023-08-09T09:36:38.267Z] + bash -s -- [2023-08-09T09:36:38.267Z] + curl -s https://codecov.io/bash [2023-08-09T09:36:38.267Z] [2023-08-09T09:36:38.267Z] _____ _ [2023-08-09T09:36:38.267Z] / ____| | | [2023-08-09T09:36:38.267Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T09:36:38.267Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T09:36:38.267Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T09:36:38.267Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T09:36:38.267Z] Bash-1.0.6 [2023-08-09T09:36:38.267Z] [2023-08-09T09:36:38.267Z] [2023-08-09T09:36:38.267Z] ==> git version 2.25.1 found [2023-08-09T09:36:38.267Z] ==> 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-08-09T09:36:38.267Z] Release-Date: 2020-01-08 [2023-08-09T09:36:38.267Z] 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-08-09T09:36:38.267Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T09:36:38.267Z] ==> Jenkins CI detected. [2023-08-09T09:36:38.267Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-09T09:36:38.267Z] project root: . [2023-08-09T09:36:38.267Z] --> token set from env [2023-08-09T09:36:38.267Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T09:36:38.267Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T09:36:38.528Z] ==> Python coveragepy not found [2023-08-09T09:36:38.528Z] ==> Searching for coverage reports in: [2023-08-09T09:36:38.528Z] + . [2023-08-09T09:36:38.528Z] -> Found 1 reports [2023-08-09T09:36:38.528Z] ==> Detecting git/mercurial file structure [2023-08-09T09:36:38.528Z] ==> Reading reports [2023-08-09T09:36:38.528Z] + ./coverage.out bytes=120272 [2023-08-09T09:36:38.528Z] ==> Appending adjustments [2023-08-09T09:36:38.528Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T09:36:38.787Z] + Found adjustments [2023-08-09T09:36:38.787Z] ==> Gzipping contents [2023-08-09T09:36:38.787Z] 20K /tmp/codecov.85rhUI.gz [2023-08-09T09:36:38.787Z] ==> Uploading reports [2023-08-09T09:36:38.787Z] url: https://codecov.io [2023-08-09T09:36:38.787Z] query: branch=main&commit=2bcb30427b801ff9ed3b105e71011a55aed1d51b&build=240&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F240%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T09:36:38.787Z] -> Pinging Codecov [2023-08-09T09:36:38.787Z] 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=2bcb30427b801ff9ed3b105e71011a55aed1d51b&build=240&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F240%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T09:36:38.787Z] -> Uploading to [2023-08-09T09:36:38.787Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/7E55EF52A471D76F132DFD9A03CDDE97/2bcb30427b801ff9ed3b105e71011a55aed1d51b/cd8bd2f0-cfce-4a29-aa16-3dc8b9d4a474.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T093638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8060423e9b667a4a184f4fa09a561520ee789b0f50b0e69c4d4aac95d1db0309 [2023-08-09T09:36:38.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T09:36:38.787Z] Dload Upload Total Spent Left Speed [2023-08-09T09:36:39.051Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16436 0 0 100 16436 0 86505 --:--:-- --:--:-- --:--:-- 86505 [2023-08-09T09:36:39.051Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] } [2023-08-09T09:36:39.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T09:36:39.366Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T09:36:39.380Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:36:39.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T09:36:39.695Z] [2023-08-09T09:36:39.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:36:39.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T09:36:39.992Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T09:36:39.992Z] df9b9388f04a: Pulling fs layer [2023-08-09T09:36:39.992Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T09:36:39.992Z] 25bc292e5bac: Pulling fs layer [2023-08-09T09:36:39.992Z] 114826534d7a: Pulling fs layer [2023-08-09T09:36:39.992Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T09:36:39.992Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T09:36:39.992Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T09:36:39.992Z] 4657fd5d0bcf: Waiting [2023-08-09T09:36:39.992Z] 6ad1cebc031e: Waiting [2023-08-09T09:36:39.992Z] 8a3aa393b2d8: Waiting [2023-08-09T09:36:39.992Z] 114826534d7a: Waiting [2023-08-09T09:36:39.992Z] 25bc292e5bac: Download complete [2023-08-09T09:36:39.992Z] 52dc419b0ee2: Download complete [2023-08-09T09:36:39.992Z] 4657fd5d0bcf: Verifying Checksum [2023-08-09T09:36:39.992Z] 4657fd5d0bcf: Download complete [2023-08-09T09:36:39.992Z] df9b9388f04a: Download complete [2023-08-09T09:36:40.252Z] df9b9388f04a: Pull complete [2023-08-09T09:36:40.252Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T09:36:40.252Z] 6ad1cebc031e: Download complete [2023-08-09T09:36:40.252Z] 52dc419b0ee2: Pull complete [2023-08-09T09:36:40.514Z] 25bc292e5bac: Pull complete [2023-08-09T09:36:40.773Z] 114826534d7a: Download complete [2023-08-09T09:36:41.032Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T09:36:41.032Z] 8a3aa393b2d8: Download complete [2023-08-09T09:36:45.226Z] 114826534d7a: Pull complete [2023-08-09T09:36:45.227Z] 4657fd5d0bcf: Pull complete [2023-08-09T09:36:45.227Z] 6ad1cebc031e: Pull complete [2023-08-09T09:36:47.764Z] 8a3aa393b2d8: Pull complete [2023-08-09T09:36:47.764Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T09:36:47.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T09:36:47.764Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:36:47.861Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:36:47.893Z] $ 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-08-09T09:36:52.018Z] $ docker top 13a2b951cbe55858b20ee3ee7e156bd1c170ff6bed287a7e760a9bcce1215170 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T09:36:52.082Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-09T09:36:52.360Z] + set -o pipefail [2023-08-09T09:36:52.360Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-09T09:36:57.626Z] [2023-08-09T09:36:57.626Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-09T09:36:57.626Z] [2023-08-09T09:36:57.626Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/61eda03e-c557-4f57-b996-3128f41fdda6 [2023-08-09T09:36:57.626Z] [2023-08-09T09:36:57.626Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T09:36:57.626Z] [2023-08-09T09:36:57.626Z] [2023-08-09T09:36:57.626Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T09:36:57.626Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T09:36:57.626Z] More details here: https://snyk.co/ue1NS [2023-08-09T09:36:57.626Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T09:36:57.626Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T09:36:57.639Z] $ docker stop --time=1 13a2b951cbe55858b20ee3ee7e156bd1c170ff6bed287a7e760a9bcce1215170 [2023-08-09T09:37:01.688Z] $ docker rm -f --volumes 13a2b951cbe55858b20ee3ee7e156bd1c170ff6bed287a7e760a9bcce1215170 [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-08-09T09:37:02.107Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:37:02.118Z] provisioning config files... [2023-08-09T09:37:02.125Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17941320471261048588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:02.415Z] --> edgex-publish-swagger.sh [2023-08-09T09:37:02.415Z] === Publish openapi/v3 API === [2023-08-09T09:37:02.415Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-09T09:37:02.415Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-09T09:37:02.415Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T09:37:02.415Z] Dload Upload Total Spent Left Speed [2023-08-09T09:37:02.681Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 55572 --:--:-- --:--:-- --:--:-- 55703 [2023-08-09T09:37:02.681Z] [2023-08-09T09:37:02.681Z] [Pipeline] } [2023-08-09T09:37:02.689Z] 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-08-09T09:37:03.105Z] + git log --format=format:%s -1 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] sh [2023-08-09T09:37:03.396Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T09:37:03.396Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:37:03.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:37:03.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:37:03.758Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:37:03.788Z] $ 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-08-09T09:37:04.230Z] $ docker top 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 -eo pid,comm [2023-08-09T09:37:04.276Z] 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-08-09T09:37:04.276Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T09:37:04.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:37:04.317Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:37:04.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:37:04.432Z] $ docker exec 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 ssh-agent [2023-08-09T09:37:04.551Z] SSH_AUTH_SOCK=/tmp/ssh-DFoL166uxYQA/agent.32 [2023-08-09T09:37:04.551Z] SSH_AGENT_PID=38 [2023-08-09T09:37:04.569Z] Running ssh-add (command line suppressed) [2023-08-09T09:37:04.683Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16270545823376529421.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16270545823376529421.key) [2023-08-09T09:37:04.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:37:04.983Z] + git semver tag [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,177 [run_tag] DEBUG tag force:False [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,177 [check_head_tag] DEBUG check head tag [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,178 [execute] INFO git cat-file --batch-check [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,182 [execute] INFO git cat-file --batch [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,195 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,196 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T09:37:05.244Z] 2023-08-09 09:37:05,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:05.244Z] 3.1.0-dev.11 [Pipeline] } [2023-08-09T09:37:05.253Z] $ docker exec --env ******** --env ******** 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 ssh-agent -k [2023-08-09T09:37:05.365Z] unset SSH_AUTH_SOCK; [2023-08-09T09:37:05.366Z] unset SSH_AGENT_PID; [2023-08-09T09:37:05.366Z] echo Agent pid 38 killed; [2023-08-09T09:37:05.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T09:37:05.675Z] + git semver [Pipeline] } [2023-08-09T09:37:05.948Z] $ docker stop --time=1 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 [2023-08-09T09:37:07.187Z] $ docker rm -f --volumes 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:37:07.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T09:37:07.570Z] [2023-08-09T09:37:07.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:37:07.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T09:37:07.871Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T09:37:07.871Z] ab5ef0e58194: Pulling fs layer [2023-08-09T09:37:07.871Z] 9712f1f96733: Pulling fs layer [2023-08-09T09:37:07.871Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T09:37:07.871Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T09:37:07.871Z] e9a5061849ea: Pulling fs layer [2023-08-09T09:37:07.871Z] d747dcd14b5f: Pulling fs layer [2023-08-09T09:37:07.871Z] 2de7ff778b66: Pulling fs layer [2023-08-09T09:37:07.871Z] e9a5061849ea: Waiting [2023-08-09T09:37:07.871Z] 2de7ff778b66: Waiting [2023-08-09T09:37:07.871Z] d747dcd14b5f: Waiting [2023-08-09T09:37:07.871Z] 0d9ebad4ef96: Waiting [2023-08-09T09:37:07.871Z] 9712f1f96733: Verifying Checksum [2023-08-09T09:37:07.871Z] 9712f1f96733: Download complete [2023-08-09T09:37:08.132Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T09:37:08.132Z] 63f879dbbcfc: Download complete [2023-08-09T09:37:08.393Z] e9a5061849ea: Verifying Checksum [2023-08-09T09:37:08.393Z] e9a5061849ea: Download complete [2023-08-09T09:37:08.393Z] d747dcd14b5f: Download complete [2023-08-09T09:37:08.393Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T09:37:08.393Z] 0d9ebad4ef96: Download complete [2023-08-09T09:37:08.393Z] ab5ef0e58194: Download complete [2023-08-09T09:37:08.393Z] 2de7ff778b66: Verifying Checksum [2023-08-09T09:37:08.393Z] 2de7ff778b66: Download complete [2023-08-09T09:37:10.943Z] ab5ef0e58194: Pull complete [2023-08-09T09:37:11.203Z] 9712f1f96733: Pull complete [2023-08-09T09:37:11.767Z] 63f879dbbcfc: Pull complete [2023-08-09T09:37:15.951Z] 0d9ebad4ef96: Pull complete [2023-08-09T09:37:15.951Z] e9a5061849ea: Pull complete [2023-08-09T09:37:16.209Z] d747dcd14b5f: Pull complete [2023-08-09T09:37:17.146Z] 2de7ff778b66: Pull complete [2023-08-09T09:37:17.146Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T09:37:17.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T09:37:17.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:37:17.246Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:37:17.274Z] $ 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-08-09T09:37:22.734Z] $ docker top b68e009e2bdf83492986dd69455140b711ce0ec6fd33b8ba0ab9f0f1378d0d02 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:37:22.807Z] provisioning config files... [2023-08-09T09:37:22.812Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6650158449949566971tmp [2023-08-09T09:37:22.831Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12081051227872517867tmp [2023-08-09T09:37:22.858Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6930303732426515682tmp [Pipeline] { [Pipeline] echo [2023-08-09T09:37:22.875Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:23.158Z] ---> sigul-configuration.sh [2023-08-09T09:37:23.158Z] gpg: directory `/root/.gnupg' created [2023-08-09T09:37:23.158Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T09:37:23.158Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T09:37:23.158Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T09:37:23.158Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T09:37:23.159Z] gpg: CAST5 encrypted data [2023-08-09T09:37:23.159Z] gpg: encrypted with 1 passphrase [2023-08-09T09:37:23.159Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T09:37:23.449Z] + mkdir /home/jenkins [2023-08-09T09:37:23.449Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T09:37:23.737Z] + 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-08-09T09:37:23.746Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:24.035Z] ---> sigul-install.sh [2023-08-09T09:37:24.035Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T09:37:24.320Z] + git tag --list [2023-08-09T09:37:24.320Z] 0.7.1 [2023-08-09T09:37:24.320Z] delhi-tag [2023-08-09T09:37:24.320Z] v1.0.0 [2023-08-09T09:37:24.320Z] v1.1.0 [2023-08-09T09:37:24.320Z] v1.1.1 [2023-08-09T09:37:24.320Z] v1.1.2 [2023-08-09T09:37:24.320Z] v1.2.0 [2023-08-09T09:37:24.320Z] v1.2.1 [2023-08-09T09:37:24.320Z] v1.2.2 [2023-08-09T09:37:24.320Z] v1.2.3 [2023-08-09T09:37:24.320Z] v1.3.0 [2023-08-09T09:37:24.320Z] v1.4.0 [2023-08-09T09:37:24.320Z] v2.0.0 [2023-08-09T09:37:24.320Z] v2.1.0 [2023-08-09T09:37:24.320Z] v2.1.1 [2023-08-09T09:37:24.320Z] v2.2.0 [2023-08-09T09:37:24.320Z] v2.3.0 [2023-08-09T09:37:24.320Z] v2.3.1 [2023-08-09T09:37:24.320Z] v3.0 [2023-08-09T09:37:24.320Z] v3.0.0 [2023-08-09T09:37:24.320Z] v3.0.1-dev.1 [2023-08-09T09:37:24.320Z] v3.1.0-dev.1 [2023-08-09T09:37:24.320Z] v3.1.0-dev.10 [2023-08-09T09:37:24.320Z] v3.1.0-dev.11 [2023-08-09T09:37:24.320Z] v3.1.0-dev.2 [2023-08-09T09:37:24.320Z] v3.1.0-dev.3 [2023-08-09T09:37:24.320Z] v3.1.0-dev.4 [2023-08-09T09:37:24.320Z] v3.1.0-dev.5 [2023-08-09T09:37:24.320Z] v3.1.0-dev.6 [2023-08-09T09:37:24.320Z] v3.1.0-dev.7 [2023-08-09T09:37:24.320Z] v3.1.0-dev.8 [2023-08-09T09:37:24.320Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-09T09:37:24.607Z] + lftools sign git-tag v3.1.0-dev.11 [2023-08-09T09:37:25.183Z] Signing Git tag with Sigul... [2023-08-09T09:37:25.183Z] Signing v3.1.0-dev.11 [Pipeline] echo [2023-08-09T09:37:25.450Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:25.767Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T09:37:25.775Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T09:37:25.794Z] $ docker stop --time=1 b68e009e2bdf83492986dd69455140b711ce0ec6fd33b8ba0ab9f0f1378d0d02 [2023-08-09T09:37:27.073Z] $ docker rm -f --volumes b68e009e2bdf83492986dd69455140b711ce0ec6fd33b8ba0ab9f0f1378d0d02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T09:37:27.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T09:37:27.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:37:27.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:37:27.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:37:27.865Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:37:27.902Z] $ 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-08-09T09:37:28.306Z] $ docker top b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T09:37:28.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:37:28.395Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:37:28.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:37:28.515Z] $ docker exec b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 ssh-agent [2023-08-09T09:37:28.628Z] SSH_AUTH_SOCK=/tmp/ssh-Wa0z6booWfB3/agent.32 [2023-08-09T09:37:28.628Z] SSH_AGENT_PID=38 [2023-08-09T09:37:28.634Z] Running ssh-add (command line suppressed) [2023-08-09T09:37:28.744Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17753669270757882535.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17753669270757882535.key) [2023-08-09T09:37:28.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:37:29.044Z] + git semver bump pre [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,239 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,239 [bump_version] DEBUG bumped version:3.1.0-dev.12 [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,239 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,239 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,242 [execute] INFO git cat-file --batch-check [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,248 [execute] INFO git cat-file --batch [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T09:37:29.303Z] 2023-08-09 09:37:29,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:29.303Z] 3.1.0-dev.12 [Pipeline] } [2023-08-09T09:37:29.313Z] $ docker exec --env ******** --env ******** b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 ssh-agent -k [2023-08-09T09:37:29.422Z] unset SSH_AUTH_SOCK; [2023-08-09T09:37:29.422Z] unset SSH_AGENT_PID; [2023-08-09T09:37:29.422Z] echo Agent pid 38 killed; [2023-08-09T09:37:29.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T09:37:29.744Z] + git semver [Pipeline] } [2023-08-09T09:37:30.016Z] $ docker stop --time=1 b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 [2023-08-09T09:37:31.299Z] $ docker rm -f --volumes b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T09:37:31.649Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T09:37:31.649Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:37:31.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T09:37:31.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:37:32.028Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:37:32.061Z] $ 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-08-09T09:37:32.380Z] $ docker top add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T09:37:32.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T09:37:32.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T09:37:32.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T09:37:32.580Z] $ docker exec add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d ssh-agent [2023-08-09T09:37:32.685Z] SSH_AUTH_SOCK=/tmp/ssh-K2w1XrKYQIcL/agent.33 [2023-08-09T09:37:32.685Z] SSH_AGENT_PID=39 [2023-08-09T09:37:32.690Z] Running ssh-add (command line suppressed) [2023-08-09T09:37:32.799Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8455191626702449641.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8455191626702449641.key) [2023-08-09T09:37:32.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T09:37:33.095Z] + git semver push [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,272 [run_push] DEBUG push [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,272 [execute] INFO git cat-file --batch-check [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,276 [execute] INFO git rev-list f516461f3ce63d76aa845e68b02f8fbef90bf520 -- [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,277 [execute] DEBUG Popen(['git', 'rev-list', 'f516461f3ce63d76aa845e68b02f8fbef90bf520', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,288 [execute] INFO git fetch -v origin [2023-08-09T09:37:33.353Z] 2023-08-09 09:37:33,289 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-09T09:37:33.921Z] 2023-08-09 09:37:33,765 [run_push] DEBUG no remote changes detected [2023-08-09T09:37:33.921Z] 2023-08-09 09:37:33,766 [execute] INFO git push origin semver [2023-08-09T09:37:33.921Z] 2023-08-09 09:37:33,766 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T09:37:34.855Z] 2023-08-09 09:37:34,773 [run_push] DEBUG push all version tags [2023-08-09T09:37:34.855Z] 2023-08-09 09:37:34,774 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T09:37:34.855Z] 2023-08-09 09:37:34,775 [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-08-09T09:37:35.790Z] 2023-08-09 09:37:35,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-09T09:37:35.790Z] 3.1.0-dev.12 [Pipeline] } [2023-08-09T09:37:35.799Z] $ docker exec --env ******** --env ******** add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d ssh-agent -k [2023-08-09T09:37:35.887Z] unset SSH_AUTH_SOCK; [2023-08-09T09:37:35.888Z] unset SSH_AGENT_PID; [2023-08-09T09:37:35.888Z] echo Agent pid 39 killed; [2023-08-09T09:37:35.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T09:37:36.196Z] + git semver [Pipeline] } [2023-08-09T09:37:36.467Z] $ docker stop --time=1 add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d [2023-08-09T09:37:37.733Z] $ docker rm -f --volumes add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d [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-08-09T09:37:38.401Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-09T09:37:38.401Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-09T09:37:38.401Z] total 16 [2023-08-09T09:37:38.401Z] drwxr-xr-x 3 root root 4096 Aug 9 09:26 . [2023-08-09T09:37:38.401Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:37 .. [2023-08-09T09:37:38.401Z] drwxr-xr-x 2 root root 4096 Aug 9 09:26 cost [2023-08-09T09:37:38.401Z] -rw-r--r-- 1 root root 85 Aug 9 09:26 cost.csv [2023-08-09T09:37:38.401Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-09T09:37:38.401Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-09T09:37:38.401Z] total 16 [2023-08-09T09:37:38.401Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 09:26 . [2023-08-09T09:37:38.401Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:37 .. [2023-08-09T09:37:38.401Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 09:26 cost [2023-08-09T09:37:38.401Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 9 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:38.692Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:39.548Z] ---> package-listing.sh [2023-08-09T09:37:39.548Z] ++ facter osfamily [2023-08-09T09:37:39.548Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T09:37:39.807Z] + OS_FAMILY=debian [2023-08-09T09:37:39.807Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-09T09:37:39.807Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T09:37:39.807Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T09:37:39.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T09:37:39.807Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T09:37:39.807Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-09T09:37:39.807Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T09:37:39.807Z] + case "${OS_FAMILY}" in [2023-08-09T09:37:39.807Z] + dpkg -l [2023-08-09T09:37:39.807Z] + grep '^ii' [2023-08-09T09:37:39.807Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T09:37:39.807Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T09:37:39.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T09:37:39.807Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-09T09:37:39.807Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-09T09:37:39.807Z] + 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-08-09T09:37:39.817Z] 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-08-09T09:37:40.094Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T09:37:40.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T09:37:40.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T09:37:40.723Z] prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container [2023-08-09T09:37:40.754Z] $ 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-08-09T09:37:40.954Z] $ docker top 70b945f707e781a448bc542a2bdf89301fa8c89962e828c01b151eb2d44c0da2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T09:37:41.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T09:37:41.580Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T09:37:41.862Z] + ls /var/log/sa-host [2023-08-09T09:37:41.862Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T09:37:42.021Z] provisioning config files... [2023-08-09T09:37:42.029Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5746767554882022262tmp [Pipeline] { [Pipeline] echo [2023-08-09T09:37:42.042Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:42.408Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T09:37:42.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:42.809Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T09:37:42.827Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:43.109Z] ---> sudo-logs.sh [2023-08-09T09:37:43.109Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T09:37:43.137Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:43.419Z] ---> job-cost.sh [2023-08-09T09:37:43.419Z] lf-activate-venv: SKIPPING [2023-08-09T09:37:43.419Z] DEBUG: total: 0.2199999988079071 [2023-08-09T09:37:43.419Z] INFO: Retrieving Stack Cost... [2023-08-09T09:37:43.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T09:37:44.246Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T09:37:44.256Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T09:37:44.537Z] ---> logs-deploy.sh [2023-08-09T09:37:44.537Z] lf-activate-venv: SKIPPING [2023-08-09T09:37:44.537Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/240 [2023-08-09T09:37:44.537Z] INFO: archiving workspace using pattern(s): [2023-08-09T09:37:45.490Z] Archives upload complete. [2023-08-09T09:37:45.490Z] INFO: archiving logs to Nexus